dicomwrite function and grayscale image
1 view (last 30 days)
Show older comments
Hi guys, I got a .mat image file in MATLAB and transferred it to .dcm file by dicomwrite function. this image is rewritten to a grayscale file. when I use dicomread function to get back the image, all the pixel number has changed. I don't know how to get back to original image. dose anybody have the solution? thanks.
the process I did is
dicomwrite(I,'DICOM.dcm','WritePrivate',true,'ObjectType','CT Image Storage');
X=dicomread('DICOM.dcm');
Y=dicominfo('DICOM.dcm');
also I dont find the RescaleSlope and RescaleIntercept data in Y.
thanks. Julien
0 Comments
Answers (1)
See Also
Categories
Find more on Geometric Transformation and Image Registration in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!