Segments an image using a double threshold on a color image. More...
#include <eVision/EasyObject/EasyObject2/Segmenters/EColorRangeThresholdSegmenter.h>
Public Member Functions | |
| virtual | ~EColorRangeThresholdSegmenter () throw () |
| bool | operator== (const eVision::Segmenters::EColorRangeThresholdSegmenter &other) const |
| Comparison operator. | |
| void | Load (const std::string &path) |
| Load the EColorRangeThresholdSegmenter configuration. The given ESerializer must have been created for reading. | |
| void | Load (eVision::ESerializer *serializer) |
| Load the EColorRangeThresholdSegmenter configuration. The given ESerializer must have been created for reading. | |
| void | Save (const std::string &path) |
| Save the EColorRangeThresholdSegmenter configuration. The given ESerializer must have been created for writing. | |
| void | Save (eVision::ESerializer *serializer) |
| Save the EColorRangeThresholdSegmenter configuration. The given ESerializer must have been created for writing. | |
| void | SetLowThreshold (eVision::EC24 threshold) |
| Value of the low threshold. | |
| eVision::EC24 | GetLowThreshold () const |
| Value of the low threshold. | |
| void | SetHighThreshold (eVision::EC24 threshold) |
| Value of the high threshold. | |
| eVision::EC24 | GetHighThreshold () const |
| Value of the high threshold. | |
| EColorRangeThresholdSegmenter (CppWrapperInternal::InternalConstructor) | |
| Public Member Functions inherited from eVision::Segmenters::ETwoLayersImageSegmenter | |
| virtual | ~ETwoLayersImageSegmenter () throw () |
| bool | operator== (const eVision::Segmenters::ETwoLayersImageSegmenter &other) const |
| Comparison operator. | |
| void | Load (const std::string &path) |
| Load the ETwoLayersImageSegmenter configuration. The given ESerializer must have been created for reading. | |
| void | Load (eVision::ESerializer *serializer) |
| Load the ETwoLayersImageSegmenter configuration. The given ESerializer must have been created for reading. | |
| void | Save (const std::string &path) |
| Save the ETwoLayersImageSegmenter configuration. The given ESerializer must have been created for writing. | |
| void | Save (eVision::ESerializer *serializer) |
| Save the ETwoLayersImageSegmenter 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 | 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. | |
| ETwoLayersImageSegmenter (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 color image.
This segmenter is applicable to EROIC24 RGB color images. It produces coded images with two layers: The White layer (usually, with index 1) contains the unmasked pixels that belong to the cube of the RGB space that spans the low threshold point to the high threshold point; and the Black layer (usually, with index 0) contains the remaining unmasked pixels.
License(s): EasyObject
|
virtual | ||||||||||||
| eVision::Segmenters::EColorRangeThresholdSegmenter::EColorRangeThresholdSegmenter | ( | CppWrapperInternal::InternalConstructor | ) |
| eVision::EC24 eVision::Segmenters::EColorRangeThresholdSegmenter::GetHighThreshold | ( | ) | const |
Value of the high threshold.
| eVision::EC24 eVision::Segmenters::EColorRangeThresholdSegmenter::GetLowThreshold | ( | ) | const |
Value of the low threshold.
| void eVision::Segmenters::EColorRangeThresholdSegmenter::Load | ( | const std::string & | path | ) |
Load the EColorRangeThresholdSegmenter configuration. The given ESerializer must have been created for reading.
| path | The file path. |
| void eVision::Segmenters::EColorRangeThresholdSegmenter::Load | ( | eVision::ESerializer * | serializer | ) |
Load the EColorRangeThresholdSegmenter configuration. The given ESerializer must have been created for reading.
| serializer | The serializer. |
| bool eVision::Segmenters::EColorRangeThresholdSegmenter::operator== | ( | const eVision::Segmenters::EColorRangeThresholdSegmenter & | other | ) | const |
Comparison operator.
| other | Other segmenter to compare to. |
| void eVision::Segmenters::EColorRangeThresholdSegmenter::Save | ( | const std::string & | path | ) |
Save the EColorRangeThresholdSegmenter configuration. The given ESerializer must have been created for writing.
| path | The file path. |
| void eVision::Segmenters::EColorRangeThresholdSegmenter::Save | ( | eVision::ESerializer * | serializer | ) |
Save the EColorRangeThresholdSegmenter configuration. The given ESerializer must have been created for writing.
| serializer | The serializer. |
| void eVision::Segmenters::EColorRangeThresholdSegmenter::SetHighThreshold | ( | eVision::EC24 | threshold | ) |
Value of the high threshold.
| void eVision::Segmenters::EColorRangeThresholdSegmenter::SetLowThreshold | ( | eVision::EC24 | threshold | ) |
Value of the low threshold.