-
Notifications
You must be signed in to change notification settings - Fork 21
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
Common Image/Array Interface #62
Comments
These would be nice additions for processing the data. The Regarding the metadata, we can address that issue at the source by using symbols as fieldnames in DICOM.jl. I opened a PR that does this. |
DICOM is already a beast of a format to maintain, so I understand wanting to keep this package as simple as possible. Do you have a vision for how/where this sort of thing should be. Should it be in a package like DICOMImages.jl?
This sounds great! Initially, I anticipated this being the most difficult to resolve. |
You will have a better idea of whether the function(s) should be in a new package or if they can be included in AxisIndices.jl/NeuroCore.jl. What are the plans for NIfTI.jl? Will it eventually return *AxisArrays or stay with NIVolume? |
NIfTI will definitely use a different array type in the future. The only reason I haven't pushed all my changes to github is because I need it to be compatible with JuliaImages and electrophysiology stuff (mostly generic time series stuff). I feel like I'm 99% of the way there; but you can see from this thread on discourse and the aforementioned issue to Images.jl that I'm going to have to work with some potentially hairy breaking changes and disagreements. |
Major breaking changes are something I would prefer to avoid, but at the same time, it would be great if DICOM.jl was integrated with the rest of the imaging ecosystem. One area we could work on is by defining all the subfunctions in |
I've been working on revamping a lot of the underlying components of JuliaImages for quite some time now (this rambling issue) and I'd like to see if I could assist with some things in DICOM.jl along the way.
I've put together some of this already in the docs for NeuroCore here, but there are basically four components:
(:sagittal, :coronal)
.I was hoping to get a minimal working example for this but I got a bit stuck on some of the details and I'm sure that depending on the modality the tags used to compose each part of this would be different, so here's an example where I fudged certain details with obnoxiously long method names.
There are some other things we can do to make it easy to convert to color types also, but this is the basic idea. Also, if this ends up gaining some traction I have figured out ways to encode spatial information that should be compatible with JuliaImges, so rotation and linear transforms should be possible to include.
The ugliest part of this seems to be handling metadata. The metadata doesn't necessarily have to use
Symbol
keys, but 1) it allows doingimage.kept_name
and 2) it follows the norm in Julia of referring to dictionaries of labeled data usingSymbol
.The text was updated successfully, but these errors were encountered: