Rick, Ziad:
Thanks for bringing up 3dcalc's orstat function, but frankly the docs on what it's supposed to do are clear as... mud
Looking at the docs there's no clear indication of either what it does or even the structure of what it returns.
Does it return a vector(generating multiple volumes) or a single value... I'm guessing a single value?
Assuming single value, what is an "N-th order statistic" in this context? Does it mean:
-- "sort the list of values in order of magnitude, then return the Nth *value*.
.... or....
-- "sort the list of values in order of magnitude, then return N" (ie: the *index* of the value)
... and several examples would help clarify.
Thanks, Graham