$extrastylesheet
Public Member Functions | |
| double | operator() (const V &v, const double m_x_y, const double K) const |
| double | operator() (const V &v, const double m_x_y) const |
Definition at line 58 of file singh_formula.hh.
| double scribo::binarization::internal::singh_formula< V >::operator() | ( | const V & | v, |
| const double | m_x_y, | ||
| const double | K | ||
| ) | const |
Compute a threshold using Singh's formula.
| [in] | v | The current image value. |
| [in] | m_x_y | Mean value. |
| [in] | K | Control the threshold value in the local window. The higher, the lower the threshold form the local mean m(x, y). |
| double scribo::binarization::internal::singh_formula< V >::operator() | ( | const V & | v, |
| const double | m_x_y | ||
| ) | const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. K = 0.34.