Hi,
I tried to resample an xray image which has a monochrome2 type photometric interpretation (data type: uint16). I couldn’t create an image. By using pydicom, I managed to visualize with pixel array functionality.
xray_img=pydicom.dcmread(path+file)
img=xray_img.pixel_array
I couldn’t find anything about this issue. How can I use simpleITK for opening a monochrome2 type xray file(dicom)? I could not understand clearly why the values of my array is 0,1 when I use sitk.ReadImage() and sitk.GetArrayFromImage()? Any help would be appreciated.
Thanks in advance
Gokce