rii-mango / Daikon

A JavaScript DICOM reader.
Other
220 stars 54 forks source link

Stacks and Frames #1

Closed fnndsc-bot closed 9 years ago

fnndsc-bot commented 9 years ago

Hello, do you plan to add "stacks" and "frames" objects similarly to series and images?

I like very much your approach and was planning on implementing a similar solution using: series > images > stacks > frames.

My gold standard would be the new Enhanced MRI DICOM format

Does it make sense to include the stacks and frames concepts?

rii-mango commented 9 years ago

It should already support "enhanced" SOP classes. I know for sure it should support the Enhanced MRI format (two others I've tested are PET and SC). It does make some assumptions, such as assuming the image data within a file is contiguous and in order. I think it might be possible to put the data out of order, but then use the header information to reorder the multiple frames within a file -- it can't handle data like that yet.

But I think for most enhanced SOP classes, it should be able to read them. Here is an example of an Enhanced MRI image (single file, multiple slices): https://www.dropbox.com/s/lywbg4evw4gvwsr/sample_image.dcm?dl=0

If you find any images that it doesn't like, please let me know (or better yet send a link to test with).