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 6
(3,593 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 6
(3,579 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 6
(3,542 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 6
(3,529 Views)

How are we supposed to connect read jpeg file to the draw flattened  pixmap.vi??/ can u help me

0 Kudos
Message 5 of 6
(249 Views)

Read Jpeg has an Image Out, Draw Pixmap has an Image In.  Just connect them!

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 6 of 6
(232 Views)