Hi,
The attached Vi proposed to calculate particles’ characteristics, i.e.. Radius, center, some gray level values, and displacement in “double exposure” images. The process starts with binary image creation, edge detection, manipulation of edges contours to calculate the required characteristics, and at the end, perform cross-correlation between each particle and its surrounding (surrounding = rectangle at distance of 2 diameters from the particle’s center, at least). The objective of the correlation is to find the particle pair.
The problem: Each particle image is determined by the optional rectangle. The IMAQ correlate VI behaves unstably, the VI works well for few particles and then misses the rectangles and thus the particles locations.
A sample image is attached
I am using LabVIEW 2009
Please advice on the problem of the attached code.
Thank you