필터 지우기
필터 지우기

How to write int16 image data into Tiff or any other image format?

조회 수: 8 (최근 30일)
Mrin San
Mrin San 2018년 5월 8일
댓글: Naramon 2024년 1월 10일
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
How to deal with int16 image data and obtain a clear reconstruction? .
  댓글 수: 2
Yuvaraj Venkataswamy
Yuvaraj Venkataswamy 2018년 5월 8일
Images must be uint8, uint16, single, or double format.
Mrin San
Mrin San 2018년 5월 8일
Yes..thats right. So i tried to convert to double.

댓글을 달려면 로그인하십시오.

답변 (1개)

Sihem Nour El Houda
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 CenterFile Exchange에서 Import, Export, and Conversion에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by