for loop for read different band of image and apply the calcilation on it.

1 回表示 (過去 30 日間)
mahesh chathuranga
mahesh chathuranga 2014 年 7 月 8 日
編集済み: mahesh chathuranga 2014 年 7 月 8 日
I have large data set of satellite images. seven bands of a one location(tile) are stored in separate tif images. I have the data from 2000 to 2014. for one year there are 46*7 images.all the data are in same folder. following is the format of the data files. 2000_49_band_1, 2000_49_band_2, 2000_49_band_3, 2000_49_band_4, 2000_49_band_5, 2000_49_band_6, 2000_49_band_7,
.................... 2000_57_band_1, 2000_57_band_2, .................... 2000_65_band_1, 2000_65_band_2, .................. 2001_49_band_1, 2001_49_band_2, .................... I Want to do this NDVI_2000_49=((2000_49_band1)-(2000_49_band_2))./((2000_49_band1)-(2000_49_band_2)); NDVI_2000_57=((2000_57_band1)-(2000_57_band_2))./((2000_57_band1)-(2000_57_band_2)); NDVI_2001_49=((2001_49_band1)-(2001_49_band_2))./((2001_49_band1)-(2001_49_band_2)); ................................ I want to automate the procedure. can any one knoe the procedure.

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by