Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix/issue 4 predict incorrect channels #16

Merged
merged 9 commits into from
Jul 23, 2024

Conversation

Andrea-Papaleo
Copy link
Contributor

  1. Updates image upload to handle files of images containing a dissimilar number of channels.
  • Uses a context provider to wrap app at top level, and a hook to use the upload function.
  • The file upload state is contained within the context provider, as is the image shape dialog component.
  • Components only need to import and use the function provided by the hook to upload images.
  1. Fixes dicom loading with the caveat that some multi-plane images throw errors
  • Updates the list of acceptable dicom file extensions
  • Can handle multiplane images, though throws error when parsing dicom files with a TransferSyntaxUID = 1.2.840.10008.1.2.4.51 which corresponds to a JPEG baseline encoding
  1. Sets project channels when images or projects are loaded
  2. Checks agains project channels when selecting segmentation model, disabling incompatible options

 - creates FileUploadProvider which wraps app
 - performs checking of images for acceptable channel number
 - sets project channel when importing example image and project
 - simplifies CustonNumberTextField component
 - creates FileUploadProvider which wraps app
 - performs checking of images for acceptable channel number
 - sets project channel when importing example image and project
 - simplifies CustonNumberTextField component
 - adds more detsil to store loading errors
@Andrea-Papaleo Andrea-Papaleo merged commit ec5b7b8 into master Jul 23, 2024
1 check passed
@Andrea-Papaleo Andrea-Papaleo deleted the bugfix/issue-4-predict-incorrect-channels branch July 23, 2024 16:41
Andrea-Papaleo pushed a commit that referenced this pull request Jul 23, 2024
…hannels

Bugfix/issue 4 predict incorrect channels ec5b7b8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant