-
Notifications
You must be signed in to change notification settings - Fork 5
Feature/modify image #37
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
base: main
Are you sure you want to change the base?
Conversation
- Added frequency dimension to the ImageData
…imensions between MRD and ISMRMRD format
model/mrd_image.yml
Outdated
|
|
||
| # EDIT: Image Type. Used flags to allow requests for multiple types with one command. Added 'quantitative' types | ||
| ImageType: !enum | ||
| base: uint64 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose this should be a !flags instead of !enum
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was an old comment, which will be fixed with the commit below, but we chose to set back to enum over flags.
We initially had flags as we assumed both the data type (e.g. real, imag, complex, etc.) and its interpretation types (e.g. T1map, T2map, etc.) had to be specified to recognize the image data. However, we discussed in the weekly meeting that the data types can be checked against the ImageData<T> data type. We can set a single enum of interpretation types as mutually exclusive.
…e misleading comment of flags
36ad9e4 to
23415a6
Compare
… of ImageData - add NMR frequency label to ImageHeader as optional list
This is a PR to suggest an image schema change that affects the current compatibility of the Image field with the ISMRMRD format.
ImageData: Increasedatadimension to 5d, (channel, z, y, x, frequency) to store spectroscopy dataImageHeader: AddimageTypeoptions to describe the meaning of the image, such as T1map, T2map. The current ImageType can conflict with the data type of ImageData, and we can discuss whether to isolate the data type and semantic type of image as fields. We considered putting the imagetype field as flags, so that data type of image and semantic type of image can be selected.ImageHeader: AddmeasurementFrequencyas an optional list of uint andmeasurementFrequencyLabelas an optional list of string to describe the frequency of each entries in the frequency dimension ofdata