Segments an image using a double threshold on a grayscale image. More...
#include <eVision/EasyObject/EasyObject2/Segmenters/EGrayscaleDoubleThresholdSegmenter.h>
Public Member Functions | |
| virtual | ~EGrayscaleDoubleThresholdSegmenter () throw () |
| bool | operator== (const eVision::Segmenters::EGrayscaleDoubleThresholdSegmenter &other) const |
| Comparison operator. | |
| void | Load (const std::string &path) |
| Load the EGrayscaleDoubleThresholdSegmenter configuration. The given ESerializer must have been created for reading. | |
| void | Load (eVision::ESerializer *serializer) |
| Load the EGrayscaleDoubleThresholdSegmenter configuration. The given ESerializer must have been created for reading. | |
| void | Save (const std::string &path) |
| Save the EGrayscaleDoubleThresholdSegmenter configuration. The given ESerializer must have been created for writing. | |
| void | Save (eVision::ESerializer *serializer) |
| Save the EGrayscaleDoubleThresholdSegmenter configuration. The given ESerializer must have been created for writing. | |
| void | SetLowThreshold (unsigned int threshold) |
| Value of the low threshold. | |
| unsigned int | GetLowThreshold () const |
| Value of the low threshold. | |
| void | SetHighThreshold (unsigned int threshold) |
| Value of the high threshold. | |
| unsigned int | GetHighThreshold () const |
| Value of the high threshold. | |
| EGrayscaleDoubleThresholdSegmenter (CppWrapperInternal::InternalConstructor) | |
| Public Member Functions inherited from eVision::Segmenters::EThreeLayersImageSegmenter | |
| virtual | ~EThreeLayersImageSegmenter () throw () |
| bool | operator== (const eVision::Segmenters::EThreeLayersImageSegmenter &other) const |
| Comparison operator. | |
| void | Load (const std::string &path) |
| Load the EThreeLayersImageSegmenter configuration. The given ESerializer must have been created for reading. | |
| void | Load (eVision::ESerializer *serializer) |
| Load the EThreeLayersImageSegmenter configuration. The given ESerializer must have been created for reading. | |
| void | Save (const std::string &path) |
| Save the EThreeLayersImageSegmenter configuration. The given ESerializer must have been created for writing. | |
| void | Save (eVision::ESerializer *serializer) |
| Save the EThreeLayersImageSegmenter configuration. The given ESerializer must have been created for writing. | |
| virtual void | SetBlackLayerIndex (unsigned int index) |
| Index of the black layer in the destination coded image. | |
| virtual unsigned int | GetBlackLayerIndex () const |
| Index of the black layer in the destination coded image. | |
| virtual void | SetBlackLayerEncoded (bool encode) |
| Black layer encoding status. | |
| virtual bool | GetBlackLayerEncoded () const |
| Black layer encoding status. | |
| virtual void | SetNeutralLayerIndex (unsigned int index) |
| Index of the neutral layer in the destination coded image. | |
| virtual unsigned int | GetNeutralLayerIndex () const |
| Index of the neutral layer in the destination coded image. | |
| virtual void | SetNeutralLayerEncoded (bool encode) |
| Neutral layer encoding status. | |
| virtual bool | GetNeutralLayerEncoded () const |
| Neutral layer encoding status. | |
| virtual void | SetWhiteLayerIndex (unsigned int index) |
| Index of the white layer in the destination coded image. | |
| virtual unsigned int | GetWhiteLayerIndex () const |
| Index of the white layer in the destination coded image. | |
| virtual void | SetWhiteLayerEncoded (bool encode) |
| White layer encoding status. | |
| virtual bool | GetWhiteLayerEncoded () const |
| White layer encoding status. | |
| EThreeLayersImageSegmenter (CppWrapperInternal::InternalConstructor) | |
| Public Member Functions inherited from eVision::Segmenters::EImageSegmenter | |
| virtual | ~EImageSegmenter () throw () |
| EImageSegmenter (CppWrapperInternal::InternalConstructor) | |
Additional Inherited Members | |
| Public Attributes inherited from eVision::Segmenters::EImageSegmenter | |
| CppWrapperInternal::WrappedClass | wrappedClass_ |
Segments an image using a double threshold on a grayscale image.
This segmenter is applicable to EROIBW8 and EROIBW16 grayscale images. It produces coded images with three layers: The Black layer (usually, with index 0) contains the unmasked pixels having a gray value strictly below the low threshold value; the White layer (usually, with index 2) contains the unmasked pixels having a gray value above or equal to the high threshold value; and the Neutral layer (usually, with index 1) contains the remaining unmasked pixels.
License(s): EasyObject
|
virtual | ||||||||||||
| eVision::Segmenters::EGrayscaleDoubleThresholdSegmenter::EGrayscaleDoubleThresholdSegmenter | ( | CppWrapperInternal::InternalConstructor | ) |
| unsigned int eVision::Segmenters::EGrayscaleDoubleThresholdSegmenter::GetHighThreshold | ( | ) | const |
Value of the high threshold.
| unsigned int eVision::Segmenters::EGrayscaleDoubleThresholdSegmenter::GetLowThreshold | ( | ) | const |
Value of the low threshold.
| void eVision::Segmenters::EGrayscaleDoubleThresholdSegmenter::Load | ( | const std::string & | path | ) |
Load the EGrayscaleDoubleThresholdSegmenter configuration. The given ESerializer must have been created for reading.
| path | The file path. |
| void eVision::Segmenters::EGrayscaleDoubleThresholdSegmenter::Load | ( | eVision::ESerializer * | serializer | ) |
Load the EGrayscaleDoubleThresholdSegmenter configuration. The given ESerializer must have been created for reading.
| serializer | The serializer. |
| bool eVision::Segmenters::EGrayscaleDoubleThresholdSegmenter::operator== | ( | const eVision::Segmenters::EGrayscaleDoubleThresholdSegmenter & | other | ) | const |
Comparison operator.
| other | Other segmenter to compare to. |
| void eVision::Segmenters::EGrayscaleDoubleThresholdSegmenter::Save | ( | const std::string & | path | ) |
Save the EGrayscaleDoubleThresholdSegmenter configuration. The given ESerializer must have been created for writing.
| path | The file path. |
| void eVision::Segmenters::EGrayscaleDoubleThresholdSegmenter::Save | ( | eVision::ESerializer * | serializer | ) |
Save the EGrayscaleDoubleThresholdSegmenter configuration. The given ESerializer must have been created for writing.
| serializer | The serializer. |
| void eVision::Segmenters::EGrayscaleDoubleThresholdSegmenter::SetHighThreshold | ( | unsigned int | threshold | ) |
Value of the high threshold.
| void eVision::Segmenters::EGrayscaleDoubleThresholdSegmenter::SetLowThreshold | ( | unsigned int | threshold | ) |
Value of the low threshold.