Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

autofocus

how can I make an autofocus algorithm for a B/N 8 bit image?
is the maximum contrast the right method?
how can I obtain the contrast measurement of an image?
 
thank you very much
 
best regards
 
fulvio coppola
0 Kudos
Message 1 of 3
(4,153 Views)

Hi,

The way typically used to make an autofocus procedure and the simplest too is trace a line profile along a side of the object under FOV and control the Std Deviation parameter coming back from the line profile procedure. Higher is the Std Deviatin parameter and more close is the focus to the right value viceversa lower is the Std Deviation and far off is the focus to the right value.

Hope usefull

Best regard

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

thanks a lot

 

best regards

 

fulvio coppola

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