<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 01/14/2013 01:03 AM, Gökçen Güner
wrote:<br>
</div>
<blockquote
cite="mid:CAPwJqLemrZ2P4zOXwUTp3TBUomsg+rCxaivgS_E1nHYWuWZ_4Q@mail.gmail.com"
type="cite">
<pre wrap="">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 class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
grass-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/grass-user">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<br>
<pre class="moz-signature" cols="72">--
Angelos Tzotsos
Remote Sensing Laboratory
National Technical University of Athens
<a class="moz-txt-link-freetext" href="http://users.ntua.gr/tzotsos">http://users.ntua.gr/tzotsos</a></pre>
</body>
</html>