values changing in imread and imwrite

I simply want to read a tiff and then write it back out using the imread and imwrite. I am working with 16 bit images. Whenever I write the tiff and load it into arcmap these tiffs show different max values. Is there something happening in the reading and writing process that would affect this?
Thank you

3 件のコメント

Walter Roberson
Walter Roberson 2018 年 5 月 22 日
What is class() of the data read in by imread() ? And do you use exactly the same array for imwrite() or do you have any operations at all on the data before you imwrite() it?
Jorge Delariva
Jorge Delariva 2018 年 5 月 22 日
The data is all 16 bit tiffs. I would like to do operations within, but first I want to sort out this business of them changing in between read and write.
Walter Roberson
Walter Roberson 2018 年 5 月 22 日
16 bit does not tell us the data type. Is it uint16, int16, double ?
What is max(OriginalImage(:)), min(OriginalImage(:)) ?
If you use MATLAB to imread() the image written out by imwrite() then what are max() and min() of the values returned?

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeConvert Image Type についてさらに検索

タグ

質問済み:

2018 年 5 月 22 日

コメント済み:

2018 年 5 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by