[GRASS-user] calculate 99.9th percentile

Hamish hamish_b at yahoo.com
Wed Jan 16 23:29:24 EST 2008


andrew haywood wrote:
> I have calculated a band ratio for a aerial photograph and would like
> to trim the results to remove some outliers. In particular I would
> like to remove the highest and lowest 0.1% pixel values. How can I
> calculate the 0.1% and 99.9% percentiles. r.univar only allows
> integer values for percentiles.

see discussion here, 2007-10-21:
  "Subject: Re: [GRASS-user] Need for a custom color map"
  http://article.gmane.org/gmane.comp.gis.grass.user/20744/


You can edit the code to allow floating point values, but I don't know
the solution to problems in that earlier email, especially #2.


Hamish



      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs



More information about the grass-user mailing list