[GRASS-stats] How to calculate the Bhattacharyya distance/index?
Nikos Alexandris
nikos.alexandris at felis.uni-freiburg.de
Sat Feb 14 09:01:12 EST 2009
On Sat, 2009-02-14 at 14:27 +0100, Nikos Alexandris wrote:
[...]
> I have 42 samples (number of
> pixel varies and is not really too big) extracted from:
>
> (1) a 3x3 matrix with columns MODIS prefire.band2, prefire.band 6 and
> prefire.band7
>
> (2) a 3x3 matrix with columns MODIS postfire.band2, postfire.band 6
> and
> postfire.band 7
[...]
Sorry, the above is unclear!
I have 42 vector *boxes* (not all of them are rectangulars, manually
digitised samples) which I used to extract pixels from MODIS, prefire
and postfire (bands 2, 6 and 7 respectively).
I hat put the prefire samples in a matrix "xxx rows by 3 columns" and
the same for the postfire samples. Then I try to run the function.
I see that my mistake is that I put them all-together!? I should compare
them band-wise probably.
Nikos
More information about the grass-stats
mailing list