Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Image Processing-Region Shrinking

Hi All,

I am working on calibrating my stereoscopic imaging rig with a software that calibrates upto 8 cameras to each. the software works by detecting a laser pointer in images from multiple cameras. The software is designed to calibrate setups with a widebaseline. The setup  I am using has a small baselines and working volume. The laser pointer in the image therefore takes up far to many pixels. I am wanting to post process this raw image so I can reduce the size of the laser pointer.

I am thinking maybe a processing that identifys the pointer region. Then finds the region of maximum intensity that is is equi-distant from the edges of the ROI. Then correspondingly shrinks around it. I this basically applying a Eucledian Distance Map

I am not really famaliary with IMAQ Vision Can you suggest to me if there are any vi's that can do this? or how i could implement this.

Thanks


0 Kudos
Message 1 of 4
(3,501 Views)

Hi Dalvares,

There are no examples or VI’s that will do exactly what you are describing.  I did however create a simple little program to get you started.  What I did was take and FFT of your image to help clear it up a bit.  I then took the threshold of the image set to max to shrink it down in size.  I then multiplied the image by 255.  This is to convert the red area of the threshold to white.  You will probably have to have to modify it some on your own to make it do exactly what you wanted but this should get you started.

Adam H



Message Edited by Adam_H on 05-20-2008 10:51 AM
Adam H
National Instruments
Applications Engineer
0 Kudos
Message 2 of 4
(3,457 Views)
Hi Adam,

Thanks for your post. Could you do me a fvour and save it in Labview 8.2 I don't have 8.5 as we are having some activation issues with it.

Thanks,
Darren
0 Kudos
Message 3 of 4
(3,429 Views)
Saved in LabVIEW 8.0.  Sorry about that.
Adam H
National Instruments
Applications Engineer
0 Kudos
Message 4 of 4
(3,419 Views)