Difficulty displaying canopy height data from a .tif file

7 visualizzazioni (ultimi 30 giorni)
Hi,
I have created a canopy height model which is in .tif format. In ArcMap this displays fine as I stretch the image using stretch type: standard deviations.
I have read the image into Matlab using imread and it is displaying the unstretched values. I was wondering if there is a way of calculating and displaying the stretched values, as in Arc?
Thanks in advance for any help,
Laura

Risposta accettata

Sukuchha
Sukuchha il 25 Lug 2011
when dispalying the matrix, use imshow ( A,[]) ; where A is your matrix which has your tif data !
  2 Commenti
Laura
Laura il 25 Lug 2011
Thanks for this, it looks like it's displaying the values I was expecting now...
Just another quick question, do you know if it's possible to put these stretched values in another array as well as displaying them? I have another binary mask which I want to multiply the height values by using immultiply.
Thanks for your help!
Laura
Laura il 25 Lug 2011
Hi,
I've just realised the mistake I've made... the values are going to stay the same regardless and the standard deviation stretch is just how it's displayed so please ignore my last comment!

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by