how can i perform gray scale dicom image of 16bits normalization ?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Walter Roberson
el 15 de Jul. de 2016
What is the input range of the data? What is class() of the data?
Respuestas (1)
Walter Roberson
el 15 de Jul. de 2016
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.
0 comentarios
Ver también
Categorías
Más información sobre DICOM Format en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!