Segments an image using a single threshold on a color image. More...
#include <eVision/EasyObject/EasyObject2/Segmenters/EColorSingleThresholdSegmenter.h>
Public Member Functions | |
| virtual | ~EColorSingleThresholdSegmenter () throw () |
| bool | operator== (const eVision::Segmenters::EColorSingleThresholdSegmenter &other) const |
| Comparison operator. | |
| void | Load (const std::string &path) |
| Load the EColorSingleThresholdSegmenter configuration. The given ESerializer must have been created for reading. | |
| void | Load (eVision::ESerializer *serializer) |
| Load the EColorSingleThresholdSegmenter configuration. The given ESerializer must have been created for reading. | |
| void | Save (const std::string &path) |
| Save the EColorSingleThresholdSegmenter configuration. The given ESerializer must have been created for writing. | |
| void | Save (eVision::ESerializer *serializer) |
| Save the EColorSingleThresholdSegmenter configuration. The given ESerializer must have been created for writing. | |
| void | SetThreshold (eVision::EC24 threshold) |
| Value of the threshold. | |
| eVision::EC24 | GetThreshold () const |
| Value of the threshold. | |
| EColorSingleThresholdSegmenter (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 single 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 defined by the threshold point and the white point (255,255,255); and the Black layer (usually, with index 0) contains the remaining unmasked pixels.
License(s): EasyObject
|
virtual | ||||||||||||
| eVision::Segmenters::EColorSingleThresholdSegmenter::EColorSingleThresholdSegmenter | ( | CppWrapperInternal::InternalConstructor | ) |
| eVision::EC24 eVision::Segmenters::EColorSingleThresholdSegmenter::GetThreshold | ( | ) | const |
Value of the threshold.
| void eVision::Segmenters::EColorSingleThresholdSegmenter::Load | ( | const std::string & | path | ) |
Load the EColorSingleThresholdSegmenter configuration. The given ESerializer must have been created for reading.
| path | The file path. |
| void eVision::Segmenters::EColorSingleThresholdSegmenter::Load | ( | eVision::ESerializer * | serializer | ) |
Load the EColorSingleThresholdSegmenter configuration. The given ESerializer must have been created for reading.
| serializer | The serializer. |
| bool eVision::Segmenters::EColorSingleThresholdSegmenter::operator== | ( | const eVision::Segmenters::EColorSingleThresholdSegmenter & | other | ) | const |
Comparison operator.
| other | Other segmenter to compare to. |
| void eVision::Segmenters::EColorSingleThresholdSegmenter::Save | ( | const std::string & | path | ) |
Save the EColorSingleThresholdSegmenter configuration. The given ESerializer must have been created for writing.
| path | The file path. |
| void eVision::Segmenters::EColorSingleThresholdSegmenter::Save | ( | eVision::ESerializer * | serializer | ) |
Save the EColorSingleThresholdSegmenter configuration. The given ESerializer must have been created for writing.
| serializer | The serializer. |
| void eVision::Segmenters::EColorSingleThresholdSegmenter::SetThreshold | ( | eVision::EC24 | threshold | ) |
Value of the threshold.