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 commentaires

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

Connectez-vous pour commenter.

Réponses (0)

Question posée :

le 29 Août 2019

Commenté :

le 29 Août 2019

Community Treasure Hunt

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

Start Hunting!

Translated by