Problem display correctly dicom image in "image()" function

1 view (last 30 days)
Hello,
I have a problem to display correctly dicom image in image() function. I always receive wrong image
im = dicomread('image1.dcm'); im2 = im2uint16(im); im3 = imadjust(im2); image(im3); %%% ????
Could someone help me please ? I would appreciate for any help please :)
  1 Comment
Robert Fennis
Robert Fennis on 12 Jul 2016
What kind of data does the dicomread function produce? You cast it to a uint16 but is that necessary? Does it help you change the order of im2uint16 and imadjust maybe?

Sign in to comment.

Answers (0)

Categories

Find more on Convert Image Type in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!