Hi,<div>We did both statistics calculation using QGis because ERDAS couldn't calculate statistics for Grass output (or we couldn't do it). I'm sure that Grass output is floating point map but I'll check Erdas one.</div>
<div>Thanks<br><br><div class="gmail_quote">2013/1/14 Angelos Tzotsos <span dir="ltr"><<a href="mailto:gcpp.kalxas@gmail.com" target="_blank">gcpp.kalxas@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><div><div class="h5">
<div>On 01/14/2013 01:03 AM, Gökçen Güner
wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<pre>Hi,
This will not be a specific GRASS question. My friend and I tried to
calculate NDVIs of same data set and results seem same to us. But checking
statistics of each output we saw that statistics are very different. I
mean, median, mean, std.dev values of Grass output and Erdas output are
different. We couldn't find an explanation for this situation. What can be
the reason for this?
PS:
For NDVI, we used this formula: (NIR_Band - RED_Band) / (NIR_Band +
RED_Band)
</pre>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
grass-user mailing list
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a>
</pre>
</blockquote>
<br>
Hi,<br>
<br>
Please make sure that the output images are of the same type in both
cases and that your statistic calculation method is the same.<br>
NDVI is a float (or double) result if your initial data are integers
(usually they are).<br>
Perhaps one of your images is automatically converted to 8 bit
integer type?<br>
<br>
Cheers,<br>
Angelos<span class="HOEnZb"><font color="#888888"><br>
<pre cols="72">--
Angelos Tzotsos
Remote Sensing Laboratory
National Technical University of Athens
<a href="http://users.ntua.gr/tzotsos" target="_blank">http://users.ntua.gr/tzotsos</a></pre>
</font></span></div>
</blockquote></div><br></div>