My RGB ultrasound image has strange colours #1577
Replies: 2 comments 13 replies
-
Can you show how the real image looks (in Weasis), or post an anonymized version of the image? I'm not sure what you mean by "noise". |
Beta Was this translation helpful? Give feedback.
-
Hi, guys. I was going to report a similar issue when I got here. code to read and save jpg image: from pydicom import dcmread
from PIL import Image
filename = "output.dcm"
ds = dcmread(filename)
# ds.PhotometricInterpretation = "YUV"
Image.fromarray(ds.pixel_array).save(f"output.pydicom.{pydicom.__version__}.jpg")
@Dharanikanna Could you also try pydicom 2.1.2? |
Beta Was this translation helpful? Give feedback.
-
I'm trying to read medical images from the Dicom file using the python language and pydicom library. I can able to read the file but the image has some noise. If I read the same file using weasis(Dicom reader) it looks fine.
Please suggest an idea to resolve this problem.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions