comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Statistics on an image?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Statistics on an image? [message #70418] Fri, 16 April 2010 05:26
Mark Shephard is currently offline  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 Go to previous message
ben.bighair is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Contour Colors on Maps
Next Topic: Re: mandelbrot

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:21:05 PDT 2025

Total time taken to generate the page: 0.00569 seconds