フィルターのクリア

How to find the global mean(average)of the entire scene of a hyperion hyperspectral data.

1 回表示 (過去 30 日間)
ALINA
ALINA 2014 年 1 月 2 日
回答済み: Image Analyst 2014 年 1 月 2 日
Hyperion Hyperspectral data is a satellite imagewhich contains 242 bands.Each band has 1300columns and 4000 rows of pixels.These pixels give reflectance values.I would like to calculate the global mean of the entire scene.Can you please help me with the matlab code for the same.

回答 (2 件)

Amit
Amit 2014 年 1 月 2 日
If by global mean, you mean the mean value of the reflectance values throughout the whole bands, then you can do something like this.
mean_band = zeros(242,1);
for i = 1:242 %Loop for each band
mean_band(i,1) = mean(mean(_data_from_ith_band_);
end
global_mean = mean(mean_band);
How do you have band data stored?

Image Analyst
Image Analyst 2014 年 1 月 2 日
Define global mean. It sounds ambiguous. Do you want the mean of each spectral band? If so use mean2() in the Image Processing Toolbox. After that you can do some kind of weighted average of all the means if you want.

カテゴリ

Help Center および File ExchangeHyperspectral Image Processing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by