i.vi gari wrong formula?
|Reported by:||kristinah||Owned by:|
The formula for GARI in the manual (http://grass.osgeo.org/grass70/manuals/i.vi.html) seems to be wrong. As it is now, the result would always be 1.
It is " GARI = ( nirchan - (greenchan-(bluechan - redchan))) / ( nirchan- (greenchan-(bluechan - redchan))) "
It should be (e.g. according to http://www.indexdatabase.de/db/i-single.php?id=363) " GARI = ( nirchan - (greenchan-(bluechan - redchan))) / ( nirchan- (greenchan+(bluechan - redchan))) "
As the formula in the manual seems to be taken from code, the code might be wrong as well. I did not test the function, only read the manual online.
Change History (5)
comment:2 by , 10 years ago
|Component:||Default → Imagery|
|Milestone:||6.4.4 → 7.0.0|
|Version:||unspecified → svn-trunk|