LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

array manipulation

I have two arrays from two identical images which need to be aligned according to intensity values. To compare the two I use a correlation coefficient equation.
I will use the first array as a base, then put through a numerical iteration to see whether all the points in the array equal the value 0.95. If not then I need to shift the array up along the y-axis until the output is decreasing if it decreases then I need to shift in the other direction until the values= 0.95. Then I need to do the same in the x-direction.
Then I know that both images are trully aligned.

Please help!
0 Kudos
Message 1 of 2
(2,534 Views)
Hello there!

Do you know if there is interaction between the X axis and the Y axis? If there is, you will need to do a LOT of iterations..... i.e. N iterations of Y for each iteration of X. This is not a simple chore. However, if there is no interaction between the two axes, the job is relatively simple.

I've attached a very general form "iteration engine", which I've adapted from a phase locked loop. On the diagram, you will see my arbitrary arrays which can be replaced by images. I think you can modify it in short order to do what you need to do.

Good luck!

Eric
Eric P. Nichols
P.O. Box 56235
North Pole, AK 99705
0 Kudos
Message 2 of 2
(2,534 Views)