Problem with dicomwrite pixel values

I've been working on a project where I use the DICOM write function to save my files after procesing, values of my matrix go from -1024 to 3072, however, after writing, scale changes and now they're between -2048:2048. My code is as follows:
M=int16(M);
dicomwrite(M,filename,info);
Any help would be truly apreciated.

Respuestas (0)

Categorías

Más información sobre Software Development Tools en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 20 de Sept. de 2016

Editada:

el 20 de Sept. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by