필터 지우기
필터 지우기

How to save output into tiff?

조회 수: 141 (최근 30일)
Tze Huey Tam
Tze Huey Tam 2018년 10월 5일
답변: ANKUR KUMAR 2018년 10월 5일
Hi,
I want to save my output (I performed morphology to my image), the output in int16. So I tried to convert it into double but my output became white. Please someone teach me how to save my output in this case..
Thanks advanced for your guidance.
  댓글 수: 1
Rik
Rik 2018년 10월 5일
Your output didn't become white. Unless you specify otherwise, Matlab will assume that all double images are scaled from 0 to 1. If you want to keep using double, just divide your image by double(int16(inf)).

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

답변 (1개)

ANKUR KUMAR
ANKUR KUMAR 2018년 10월 5일
Sample image is attached.
file=imread('sample.png');
imwrite(file,'sample2.tiff','tiff');

카테고리

Help CenterFile Exchange에서 Image Data에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by