![]() |
KSquare Utilities
|
#include <MorphOpErosion.h>
Inheritance diagram for KKB::MorphOpErosion:Public Member Functions | |
| MorphOpErosion (StructureType _structure, kkuint16 _structureSize) | |
| virtual | ~MorphOpErosion () |
| kkint32 | MemoryConsumedEstimated () |
| virtual OperationType | Operation () const |
| virtual RasterPtr | PerformOperation (RasterConstPtr _image) |
Public Member Functions inherited from KKB::MorphOpStruct | |
| MorphOpStruct (StructureType _structure, kkuint16 _structureSize) | |
| virtual | ~MorphOpStruct () |
| void | BackgroundCountTH (kkint32 _backgroundCountTH) |
| void | ForegroundCountTH (kkint32 _foregroundCountTH) |
| kkint32 | MemoryConsumedEstimated () |
Public Member Functions inherited from KKB::MorphOp | |
| MorphOp () | |
| virtual | ~MorphOp () |
| OperationType | OperationTypeFromStr (const KKB::KKStr &_operationStr) |
| KKB::KKStr | OperationTypeToStr (OperationType _operation) |
| virtual RasterPtr | PerformOperation (Raster const *_image)=0 |
Definition at line 24 of file MorphOpErosion.h.
| MorphOpErosion::MorphOpErosion | ( | StructureType | _structure, |
| kkuint16 | _structureSize | ||
| ) |
Definition at line 22 of file MorphOpErosion.cpp.
References KKB::MorphOpStruct::MorphOpStruct().
Referenced by KKB::Raster::Erosion().
|
virtual |
Definition at line 31 of file MorphOpErosion.cpp.
| kkint32 MorphOpErosion::MemoryConsumedEstimated | ( | ) |
Definition at line 37 of file MorphOpErosion.cpp.
|
inlinevirtual |
Reimplemented from KKB::MorphOpStruct.
Definition at line 33 of file MorphOpErosion.h.
References KKB::MorphOp::Erosion.
|
virtual |
Implements KKB::MorphOpStruct.
Definition at line 46 of file MorphOpErosion.cpp.
References KKB::MorphOpStruct::backgroundCountTH, KKB::Raster::BackgroundPixelValue(), KKB::MorphOpStruct::Fit(), KKB::MorphOpStruct::FitBackgroundCount(), KKB::MorphOp::ForegroundPixel(), KKB::Raster::ForegroundPixelCount(), KKB::Raster::Green(), KKB::Raster::Raster(), KKB::MorphOp::SetSrcRaster(), KKB::MorphOp::srcGreen, KKB::MorphOp::srcHeight, KKB::MorphOp::srcRaster, and KKB::MorphOp::srcWidth.
Referenced by KKB::Raster::Erosion().