24 #if !defined(_Raster_Defined_) 29 typedef Raster const* RasterConstPtr;
132 #define _MorphOp_Defined_
void SetSrcRaster(RasterConstPtr _srcRaster)
OperationType OperationTypeFromStr(const KKB::KKStr &_operationStr)
A class that is used by to represent a single image in memory.
bool BackgroundPixel(uchar pixel) const
static StructureType MaskShapes(MaskTypes mt)
MorphologicalOperatorList * MorphologicalOperatorListPtr
static kkint32 Biases(MaskTypes mt)
KKQueue< MorphOp > MorphologicalOperatorList
bool ForegroundPixel(kkint32 row, kkint32 col) const
uchar const * srcBlueArea
virtual OperationType Operation() const =0
A typed container class/template that keeps track of entries via pointers only.
unsigned char uchar
Unsigned character.
static KKStr Concat(const std::vector< std::string > &values)
Concatenates the list of 'std::string' strings.
virtual RasterPtr PerformOperation(Raster const *_image)=0
KKB::KKStr OperationTypeToStr(OperationType _operation)
uchar backgroundPixelValue
static StructureType maskShapes[]
uchar const * srcGreenArea
Base class for all Morphological operations.
bool BackgroundPixel(kkint32 row, kkint32 col) const
bool ForegroundPixel(uchar pixel) const