Store image in struct then intensity value is changed.

I have an image with the range of the intensity from -2000 to 8000. once when I store image on the form of struct in matlab and recall it back to organize. The value of the intensity is changed to 0 - 2700. How to fix the value of the intensity in struct?

4 件のコメント

Walter Roberson
Walter Roberson 2019 年 8 月 29 日
How do you store it into a struct, and how do you call it back?
AniCnx
AniCnx 2019 年 8 月 29 日
like,
File.IM= image; %range intensity -2000 to 8000
image=File.IM; %range intensity 0 to 2700
Walter Roberson
Walter Roberson 2019 年 8 月 29 日
Is the variable name you are using exactly image ? And are you using R2014a or earlier?
AniCnx
AniCnx 2019 年 8 月 29 日
Sorry for my mistake. I just misunderstood.
yes, I uses r2014a.

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

回答 (0 件)

カテゴリ

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

質問済み:

2019 年 8 月 29 日

コメント済み:

2019 年 8 月 29 日

Community Treasure Hunt

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

Start Hunting!

Translated by