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

Home » Public Forums » archive » particle detection - a way to speed up things?
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: particle detection - a way to speed up things? [message #57067 is a reply to message #56944] Fri, 30 November 2007 08:02 Go to previous messageGo to previous message
dcleon@gmail.com is currently offline  dcleon@gmail.com
Messages: 12
Registered: November 2007
Junior Member
>> In order to calculate the absolute position of a particle, I need to
>> know where on an image it resides. I think I'll loose this information
>> with this approach.
>

Not necessarily. You just pass the position of the corner of the
subset to
the routine that calculates the center, or you could add the position
of
the corner of the subset to the value returned by your routine that
computes
the position of the particle relative to the image subset. Its linear
so the
position of the center of the image with respect to subset + the
position of
the subset is the same as the position of the particle relative to the
whole image.

This approach would be easier to implement than the HISTOGRAM approach
I mentioned.

cheers
dave
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: reshaping figure
Next Topic: How to modify my IDL library path?

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

Current Time: Fri Oct 10 10:21:55 PDT 2025

Total time taken to generate the page: 0.96117 seconds