Difficulty displaying canopy height data from a .tif file

조회 수: 2 (최근 30일)
Laura
Laura 2011년 7월 25일
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

채택된 답변

Sukuchha
Sukuchha 2011년 7월 25일
when dispalying the matrix, use imshow ( A,[]) ; where A is your matrix which has your tif data !
  댓글 수: 2
Laura
Laura 2011년 7월 25일
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 2011년 7월 25일
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!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by