Re: Statistics on an image? [message #70418] |
Fri, 16 April 2010 05:26 |
Mark Shephard
Messages: 13 Registered: July 1999
|
Junior Member |
|
|
On Apr 15, 9:24 pm, "ben.bighair" <ben.bigh...@gmail.com> wrote:
> On Apr 15, 5:11 pm, Mark Shephard <mark.w.sheph...@gmail.com> wrote:
>
>> Hi all,
>
>> I like the way the IDL SMOOTH function calculates the boxcar mean and
>> handles the edges on a 2D image. I would like to just modify the
>> SMOOTH function to output additional statistics (standard deviation,
>> min/max, etc), but it does not appear to be in the standard IDL
>> library.
>
>> Does anyone know where I can locate the source code for the IDL SMOOTH
>> function, or has anyone already developed a nice 2D statistical
>> routine for image processing?
>
> Hi,
>
> Do you mean something like IMAGE_STATISTICS perhaps?
>
> http://idlastro.gsfc.nasa.gov/idl_html_help/IMAGE_STATISTICS .html
>
> Cheers,
> Ben
Hi Ben,
Thanks for the response.
I can definitely embed IMAGE_STATISTICS into some code that steps
through the image with a 2-D sliding boxcar that can also deal with
the edges of the image. I just noticed that the IDL SMOOTH function
already had this sliding boxcar with "edge_truncate" and "NaN" coding,
and if the SMOOTH function was available to modify it would save me
some reinventing of the wheel.
Thanks,
Mark
|
|
|
Re: Statistics on an image? [message #70426 is a reply to message #70418] |
Thu, 15 April 2010 18:24  |
ben.bighair
Messages: 221 Registered: April 2007
|
Senior Member |
|
|
On Apr 15, 5:11 pm, Mark Shephard <mark.w.sheph...@gmail.com> wrote:
> Hi all,
>
> I like the way the IDL SMOOTH function calculates the boxcar mean and
> handles the edges on a 2D image. I would like to just modify the
> SMOOTH function to output additional statistics (standard deviation,
> min/max, etc), but it does not appear to be in the standard IDL
> library.
>
> Does anyone know where I can locate the source code for the IDL SMOOTH
> function, or has anyone already developed a nice 2D statistical
> routine for image processing?
Hi,
Do you mean something like IMAGE_STATISTICS perhaps?
http://idlastro.gsfc.nasa.gov/idl_html_help/IMAGE_STATISTICS .html
Cheers,
Ben
|
|
|