Segments an image using a pixel-by-pixel double threshold given as two images. More...
#include <eVision/EasyObject/EasyObject2/Segmenters/EImageRangeSegmenter.h>
Public Member Functions | |
| virtual | ~EImageRangeSegmenter () throw () |
| bool | operator== (const eVision::Segmenters::EImageRangeSegmenter &other) const |
| Comparison operator. | |
| void | Load (const std::string &path) |
| Load the EImageRangeSegmenter configuration. The given ESerializer must have been created for reading. | |
| void | Load (eVision::ESerializer *serializer) |
| Load the EImageRangeSegmenter configuration. The given ESerializer must have been created for reading. | |
| void | Save (const std::string &path) |
| Save the EImageRangeSegmenter configuration. The given ESerializer must have been created for writing. | |
| void | Save (eVision::ESerializer *serializer) |
| Save the EImageRangeSegmenter 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 void | SetBlackLayerEncoded (bool encode) |
| Black layer encoding status. | |
| virtual void | SetWhiteLayerIndex (unsigned int index) |
| Index of the white layer in the destination coded image. | |
| virtual void | SetWhiteLayerEncoded (bool encode) |
| White layer encoding status. | |
| void | SetLowImageBW8 (const eVision::EROIBW8 *image) |
| Low image for the segmentation of EROIBW8 images. | |
| const eVision::EROIBW8 * | GetLowImageBW8 () const |
| Low image for the segmentation of EROIBW8 images. | |
| void | SetHighImageBW8 (const eVision::EROIBW8 *image) |
| High image for the segmentation of EROIBW8 images. | |
| const eVision::EROIBW8 * | GetHighImageBW8 () const |
| High image for the segmentation of EROIBW8 images. | |
| void | SetLowImageBW16 (const eVision::EROIBW16 *image) |
| Low image for the segmentation of EROIBW16 images. | |
| const eVision::EROIBW16 * | GetLowImageBW16 () const |
| Low image for the segmentation of EROIBW16 images. | |
| void | SetHighImageBW16 (const eVision::EROIBW16 *image) |
| High image for the segmentation of EROIBW16 images. | |
| const eVision::EROIBW16 * | GetHighImageBW16 () const |
| High image for the segmentation of EROIBW16 images. | |
| void | SetLowImageC24 (const eVision::EROIC24 *image) |
| Low image for the segmentation of EROIC24 images. | |
| const eVision::EROIC24 * | GetLowImageC24 () const |
| Low image for the segmentation of EROIC24 images. | |
| void | SetHighImageC24 (const eVision::EROIC24 *image) |
| High image for the segmentation of EROIC24 images. | |
| const eVision::EROIC24 * | GetHighImageC24 () const |
| High image for the segmentation of EROIC24 images. | |
| EImageRangeSegmenter (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 unsigned int | GetBlackLayerIndex () const |
| Index of the black layer in the destination coded image. | |
| virtual bool | GetBlackLayerEncoded () const |
| Black layer encoding status. | |
| virtual unsigned int | GetWhiteLayerIndex () const |
| Index of the white layer in the destination coded image. | |
| 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 pixel-by-pixel double threshold given as two images.
This segmenter is applicable to EROIBW8, EROIBW16 and EROIC24 images. It produces coded images with two layers. The low threshold and the high threshold are defined for each pixel individually by means of two reference images of the same type as the source image: the Low Image and the High Image.
For grayscale images, the White layer (usually, with index 1) contains unmasked pixels having a gray value in a range defined by the gray value of the corresponding unmasked pixels in the Low Image and the High Image.
For RGB color images, the White layer (usually, with index 1) contains unmasked pixels having a color inside the cube of the color space defined by the colors of the corresponding unmasked pixels in the Low Image and the High Image.
The Black layer (usually, with index 0) contains the remaining unmasked pixels.
License(s): EasyObject
|
virtual | ||||||||||||
| eVision::Segmenters::EImageRangeSegmenter::EImageRangeSegmenter | ( | CppWrapperInternal::InternalConstructor | ) |
| const eVision::EROIBW16 * eVision::Segmenters::EImageRangeSegmenter::GetHighImageBW16 | ( | ) | const |
High image for the segmentation of EROIBW16 images.
| const eVision::EROIBW8 * eVision::Segmenters::EImageRangeSegmenter::GetHighImageBW8 | ( | ) | const |
High image for the segmentation of EROIBW8 images.
| const eVision::EROIC24 * eVision::Segmenters::EImageRangeSegmenter::GetHighImageC24 | ( | ) | const |
High image for the segmentation of EROIC24 images.
| const eVision::EROIBW16 * eVision::Segmenters::EImageRangeSegmenter::GetLowImageBW16 | ( | ) | const |
Low image for the segmentation of EROIBW16 images.
| const eVision::EROIBW8 * eVision::Segmenters::EImageRangeSegmenter::GetLowImageBW8 | ( | ) | const |
Low image for the segmentation of EROIBW8 images.
| const eVision::EROIC24 * eVision::Segmenters::EImageRangeSegmenter::GetLowImageC24 | ( | ) | const |
Low image for the segmentation of EROIC24 images.
| void eVision::Segmenters::EImageRangeSegmenter::Load | ( | const std::string & | path | ) |
Load the EImageRangeSegmenter configuration. The given ESerializer must have been created for reading.
| path | The file path. |
| void eVision::Segmenters::EImageRangeSegmenter::Load | ( | eVision::ESerializer * | serializer | ) |
Load the EImageRangeSegmenter configuration. The given ESerializer must have been created for reading.
| serializer | The serializer. |
| bool eVision::Segmenters::EImageRangeSegmenter::operator== | ( | const eVision::Segmenters::EImageRangeSegmenter & | other | ) | const |
Comparison operator.
| other | Other segmenter to compare to |
| void eVision::Segmenters::EImageRangeSegmenter::Save | ( | const std::string & | path | ) |
Save the EImageRangeSegmenter configuration. The given ESerializer must have been created for writing.
| path | The file path. |
| void eVision::Segmenters::EImageRangeSegmenter::Save | ( | eVision::ESerializer * | serializer | ) |
Save the EImageRangeSegmenter configuration. The given ESerializer must have been created for writing.
| serializer | The serializer. |
|
virtual |
Black layer encoding status.
Reimplemented from eVision::Segmenters::ETwoLayersImageSegmenter.
|
virtual |
Index of the black layer in the destination coded image.
Setting this property automatically switches on the encoding of the black layer.
Reimplemented from eVision::Segmenters::ETwoLayersImageSegmenter.
| void eVision::Segmenters::EImageRangeSegmenter::SetHighImageBW16 | ( | const eVision::EROIBW16 * | image | ) |
High image for the segmentation of EROIBW16 images.
| void eVision::Segmenters::EImageRangeSegmenter::SetHighImageBW8 | ( | const eVision::EROIBW8 * | image | ) |
High image for the segmentation of EROIBW8 images.
| void eVision::Segmenters::EImageRangeSegmenter::SetHighImageC24 | ( | const eVision::EROIC24 * | image | ) |
High image for the segmentation of EROIC24 images.
| void eVision::Segmenters::EImageRangeSegmenter::SetLowImageBW16 | ( | const eVision::EROIBW16 * | image | ) |
Low image for the segmentation of EROIBW16 images.
| void eVision::Segmenters::EImageRangeSegmenter::SetLowImageBW8 | ( | const eVision::EROIBW8 * | image | ) |
Low image for the segmentation of EROIBW8 images.
| void eVision::Segmenters::EImageRangeSegmenter::SetLowImageC24 | ( | const eVision::EROIC24 * | image | ) |
Low image for the segmentation of EROIC24 images.
|
virtual |
White layer encoding status.
Reimplemented from eVision::Segmenters::ETwoLayersImageSegmenter.
|
virtual |
Index of the white layer in the destination coded image.
Setting this property automatically switches on the encoding of the white layer.
Reimplemented from eVision::Segmenters::ETwoLayersImageSegmenter.