LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Draw a ROI line like angle on image control.

Hi,

 

How to draw a line on image to measure angle of an object in image.

Like attached image.

 

Thank you,

Regards,

Hari krishna.k

Angle ROI.png

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

Hi

 

You probably want to read in your image file (png/jpg/bmp) and then use the Picture Function VIs to draw over the image. This very simple example draws a single line over a jpeg image.

 

picture.jpg

 

0 Kudos
Message 2 of 4
(3,302 Views)

Hi Neil,

 

Thank you.

 

How to implement this in vision tools(IMAQ).

I need to measure particle angle on image.

 

 

Regards,

Hari.

 

0 Kudos
Message 3 of 4
(3,265 Views)

You might be able to use the Find Straight Edges VI - have a look for the Vision example called Straight Edge Detection for some ideas.  That will give you the position and angle of edges within your image.

 

 

 

0 Kudos
Message 4 of 4
(3,252 Views)