LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

determine the center of a 2D picture

Solved!
Go to solution

i want to know how to determine the center of a 2Dpicture

in my vi i want that the pen start draw line from the center of the picture

any help please?

0 Kudos
Message 1 of 3
(2,635 Views)
Solution
Accepted by topic author iman

Hi iman,

 

as you know the size of your image it should be easy to calc the center point:

center_x=(x_max+x_min)/2

center_y=(y_max+y_min)/2

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(2,631 Views)

thanks for your aid 🙂

 

0 Kudos
Message 3 of 3
(2,626 Views)