how can i perform gray scale dicom image of 16bits normalization ?

조회 수: 4 (최근 30일)
agatte
agatte 2016년 7월 15일
편집: Walter Roberson 2016년 7월 15일
Hello,
I need to normalize dicom Image of 16bits to the range of 0 65535. How can I do it ?
I would appreciate for any help please :)
  댓글 수: 2
Walter Roberson
Walter Roberson 2016년 7월 15일
What is the input range of the data? What is class() of the data?
agatte
agatte 2016년 7월 15일
편집: Walter Roberson 2016년 7월 15일
im = dicomread(image);
im1 = im2uint16(im);
im2= imadjust(im1);

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2016년 7월 15일
maxv = double( max(YourImage(:)) );
minv = double( min(YourImage(:)) );
scaled_Image = uint16( (double(YourImage) - minv) ./ (maxv - minv) * 65535 );
... or you could just click the appropriate button on the imcontrast tool to match the data range.

카테고리

Help CenterFile Exchange에서 DICOM Format에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by