PANDORE Version 6 | GREYC-IMAGE |
pmedianvalue returns the median value of the input image im_in.
To calculate the median value, the pixel are sorted in increasing order. If the number of pixels is odd then the median value is the middle value. If the number of pixels is even then the median value is the mean value between the two pixel values around the center.
The median values for each band are stored in the collection col_out.
Returns the median value (for the first band only). This value can be get using operator pstatus.
Measures the median the tangram.pan (Unix version):
pmedianvalue tangram.pan col.pan var=`pstatus` echo "Median = $val"
Measures the median of the tangram.pan (MsDos version):
pmedianvalue tangram.pan col.pan call pstatus call pset var echo Median = %val%
Recherche de la valeur médiane d'une image.
Author: Jalal Fadili