#include <Thresholding.h>
Inheritance diagram for prapi::texture::HysteresisThresholding< T >:

Starting at pixels with a value greater than the upperThreshold, trace a connected sequence of pixels that have a value greater than the lowerThrehsold.
Public Methods | |
| HysteresisThresholding (T lowerThreshold, T upperThreshold) | |
| Constructor which you have to give the lower and upper limits. | |
| HysteresisThresholding (const util::List< int > &histogram) | |
| Constructor which calculates the threshold from the histogram given in constructor. | |
| ~HysteresisThresholding () | |
| Destructor of HysteresisThresholding. | |
| util::Matrix< T > | getTransformedImage (const util::Matrix< T > &mat) throw (ImageTransformException&) |
| The fuction makes the hysteresis threshold for the Matrix. | |
| void | estimateThreshold (const util::List< int > &histogram) |
| Estimate Theshold estimates the threshold from the histogram of matrix. | |
|
||||||||||||||||
|
Constructor which you have to give the lower and upper limits.
|
|
||||||||||
|
Constructor which calculates the threshold from the histogram given in constructor. The limits are calculated so that the higher limit is 80 % of all the pixels and the lower limit is first nonzero index (in histogram) + higher limit divided by 2.
|
|
||||||||||
|
Estimate Theshold estimates the threshold from the histogram of matrix. The limits are calculated so that the higher limit is 80 % of all the pixels and the lower limit is first nonzero index (in histogram) + higher limit divided by 2. The limit values will be saved on the Threshold object and they will be get with methods getLowerThreshold and getUpperThreshold. The old threshold values will be destroyed.
|
|
||||||||||
|
The fuction makes the hysteresis threshold for the Matrix. Note that if Constructor which calculates the threshold is used then the threshold are only specified for that specific Matrix and if other threshold calculation is wanted the estimateThreshold fuction must be used.
Reimplemented from prapi::texture::Thresholding< T >. |