フィルターのクリア

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 Center および File ExchangeImage Data についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by