1) using dataset and findAndGetUint16Array(DCM_PixelData,buffer) and then printing buffer directly
2) using DicomImage->getInterData()->getData(), casting to a (Uint16*) and printing directly
3) using same method as above, but setting the flag to ignore modality transformation
4) using DicomImage->getOutputData(bitsAllocated) - I did this just to compare to the other methods
In the end, all the methods produced the exact same results using the same image. Values ranged from 0 to about 65000. Regarding the image, it is a CT scan with BitsAllocated = BitsStored = 16 (US) and is 512x512.
My question: Is it possible that all my methods produced the same results, and do any of the results make sense? If not, perhaps someone can offer a suggestion? Thank you so much and sorry for the long read
![Smile :)](./images/smilies/icon_e_smile.gif)
________
Ca175