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

Home » Public Forums » archive » Re: Object Graphics + Convolution with Point Spread Function
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Object Graphics + Convolution with Point Spread Function [message #37804 is a reply to message #37797] Sat, 24 January 2004 07:09 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Neil writes:

> Simulation of shapes viewed with optical systems normally culminates
> with the final image being convoluted with the point spread function
> of the optical equipment. This just blurrs the image, according to the
> laws of diffraction, thus accurately representing real effects in
> nature. This convolution is of course a one line operation in IDL and
> easy to implement in Direct Graphics.
>
> Does anyone know if there an equivalant equally effective way to do
> the convolution in Object Graphics?
>
> If this is possible it would significantly enhance scene simulation
> software for optical systems.

I guess I could be missing something here, but if this is
a one line solution in direct graphics, then it can't
possibly be more than a three line solution in object graphics.

In pseudo code:

1. Get the data out of the object. (GetProperty)
2. Apply the convolution. (Convol)
3. Put the data back into the object. (SetProperty)

Cheers,

David

P.S. The three to one ratio is a bonus. The typical ratio
of object graphics code to direct graphics code is ten to one. :-)

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Need help passing string data using CALL_EXTERNAL.
Next Topic: Array indexing problem

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

Current Time: Sun Oct 12 13:02:28 PDT 2025

Total time taken to generate the page: 1.11781 seconds