Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Find Image to X Y coordinates

Hello,

I am new to NI Vision , but I have good experience in Labview , I want to

find all X,Y Coordinates of an image in mm/um, Image can be any pattern say

Rectangle, Text, etc. Can anyone help me

0 Kudos
Message 1 of 6
(6,255 Views)
An image is nothing but 2D array of pixel intensities.
-You can convert pixel measurements to real world values by calibrating the image, more info http://zone.ni.com/reference/en-XX/help/370281AC-01/nivisionconcepts/spatial_calibration_concepts/
-Once you calibrate you can use the calibration info and convert to mm/um. https://zone.ni.com/reference/en-XX/help/370281W-01/imaqvision/imaq_convert_pixel_to_real_world/
-Can you give more info on what you are trying to achieve?
Thanks
uday
Message 2 of 6
(6,241 Views)

I want to find all X Y coordinates of an image in order to know what are its x y coordinates.(all points) on 2d plane so that i can give commands to X and Y Direction motors to drive them according to the geometric pattern.

 

I tried with image to array but as image pattern can be anything i should get all data

in mm, image to array is giving only 255 value in each element of 2d array.

which palletes i can use to find all x y coordinates/can i use vision assistant to develop a code?

0 Kudos
Message 3 of 6
(6,237 Views)
I would suggest you to get started with some basic image processing tutorials.
-Also you can get about NI Vision for LabVIEW Basics: http://zone.ni.com/reference/en-XX/help/370281AC-01/TOC32.htm
-And NI Vision Concepts Help which gives in depth of how the vision functionalities work: http://zone.ni.com/reference/en-XX/help/370281AC-01/TOC1.htm
Thanks
uday
0 Kudos
Message 4 of 6
(6,228 Views)

Thanks for the reply.

The links will help definately. But I want to know is it possible to do it in Labview or not? Pixel can be converted to mm/um that  I understood but for converting the whole image into X Y Coordinate array how can I go? ? 

If you have some VI , pls share.

 

Thanks in advance.

VijayC ,

 

0 Kudos
Message 5 of 6
(6,226 Views)
The links will help definately. But I want to know is it possible to do it in Labview or not? 

Yes possible.


 for converting the whole image into X Y Coordinate array how can I go? ?  

The vision system finds a part and reports the location, but, to instruct the robot to move to that location, the system must convert the coordinates into units the robot accepts. Calibration allows the vision system to report positions in real-world units such as millimeters, which are used with the robot’s Cartesian coordinates. So you need to calibrate and pass the info.

http://www.ni.com/white-paper/10607/en/

 

Thanks
uday
Message 6 of 6
(6,215 Views)