Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

怎样读取刻度盘指针值?

各位高手,如附件图示,有一张刻度盘的图片,要怎样来读取出当前指针值?有没有相关的例程来学习学习?
Download All
0 Kudos
Message 1 of 11
(6,384 Views)

Please try posting in english here

 

Translation

 

such as the attachment icon, there is a dial pictures, How to read out the current pointer value? There is no relevant routines to learn about learning?

 

Message 2 of 11
(6,320 Views)

There are many ways by which you can achive the pointer position.

 

1. Apply processing. like laplacian filter. Threshold. Extract the pointer position. Prepare a lookup table based on the position of the pointer.

 

I feel this will give you consistency 

 

2. Find the pointer position and extract the portion with respect to pointer.

Message 3 of 11
(6,319 Views)
Check this vi
Message 4 of 11
(6,318 Views)
Vision assistant script
Message 5 of 11
(6,317 Views)

1st_image.PNG

 

Note only one edge is found as the result. Take the edge co-ordinates to know the position.

 

2nd_image.PNG

Message 6 of 11
(6,316 Views)
Helped?any update?
0 Kudos
Message 7 of 11
(6,304 Views)

muks ,Thank you very much!

I have checked your clock.vi.

This vi read out the pixel value of the pointer,but what i want to read out is the angle of the pointer.

0 Kudos
Message 8 of 11
(6,274 Views)
muks,any suggestion?
0 Kudos
Message 9 of 11
(6,219 Views)
One quick suggestion would be to make sure the successive images doesnt differ much in terms of its position and draw a line (in the centre). With respect to this you can find the angle using particle analysis. Lemme work on it a little bit for sugesting something better
0 Kudos
Message 10 of 11
(6,214 Views)