I modified XTK's lesson 13 to load DICOM images from my desktop and do volume rendering.
Although it is working fine, I noticed that the X.volume object is holding nearly 4 times the total size of pixel data in the DICOM images. Is it an expected behavior, and if not then what is the correct method to do this?
double
as representation for the pixel type instead of the originalshort
pixel type (or maybe your DICOM dataset is compressed) – malat