How to write int16 image data into Tiff or any other image format?
8 次查看(过去 30 天)
显示 更早的评论
Hi, I have 512*512 int16 image data which I want to save as an image. However it can't be saved as a jpeg by imwrite. I tried Tiff instead using im2double,
con=im2double(image_data)
filename=['C:\Users\student\Desktop\brain\images\pituitary', '.tiff'];
imwrite(con,filename);
Result is a noisy picture due to the conversion
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/190396/image.jpeg)
How to deal with int16 image data and obtain a clear reconstruction? .
2 个评论
回答(1 个)
Sihem Nour El Houda
2020-11-6
I am facing the same problem right now ! I tried changing my int16 dicom image to uint8 , uint16 , double before converting them into a tiff format. The resulting images always appear noisy with lowcontract and unsimilar to the original image ! help , please
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Import, Export, and Conversion 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!