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

4 次查看(过去 30 天)
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 :)

回答(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