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

Home » Public Forums » archive » Re: correlation of single pixels
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: correlation of single pixels [message #81926 is a reply to message #81924] Fri, 09 November 2012 04:35 Go to previous messageGo to previous message
Brian Daniel is currently offline  Brian Daniel
Messages: 80
Registered: July 2009
Member
This sounds like an Optical Flow problem. Do a google scholar search. I know there are a bunch of freeware matlab code packages on the web. I haven't seen OF packages in IDL. =(

-Brian

On Friday, November 9, 2012 2:53:26 AM UTC-5, haik...@gmail.com wrote:
> Thanks Klemen,
>
>
>
> but somehow it didn't really help. I figured I have to use a template consisting of my pixel and the neighboring pixelsto find the offset. But something's wrong.
>
>
>
> I tried:
>
> CONV= where(max(CONCOVAR(image1, image2, /Correl)))
>
> where concovar is a function returning the correlationmatrix of the images, but somehow all my offsets are 0. That can't be (I checked on the images and there must be an offset around 1 or 2 pixels).
>
>
>
> On the other hand I tried using correl_optimize (I found it on the internet), but those results are even weirder. My template is an array of 5x3 elements and the other image is an array of 11x3 elements. correl_optimize returns a y-offset between -2,5 and 2,5 pixels. But how can the y-offset possibly be in a range of 5 pixels when both images only consist of three pixels in y direction? Same with x direction.
>
>
>
> I don't have a clue as to what I do wrong. Has someone an explanation for this?
>
>
>
> cheers,
>
> Max
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Memory Allocation Problem- IDL 8.2
Next Topic: Widget Focus

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

Current Time: Thu Oct 09 14:14:15 PDT 2025

Total time taken to generate the page: 1.04178 seconds