39 return sizeof (*
this);
53 kkint32 erodedForegroundPixelCount = 0;
59 uchar* destRow = NULL;
65 destRow = destGreen[r];
80 destRow[c] = backgroundPixelValue;
84 ++erodedForegroundPixelCount;
void SetSrcRaster(RasterConstPtr _srcRaster)
uchar BackgroundPixelValue() const
unsigned __int16 kkuint16
16 bit unsigned integer.
A class that is used by to represent a single image in memory.
MorphOpErosion(StructureType _structure, kkuint16 _structureSize)
kkint32 MemoryConsumedEstimated()
kkint32 backgroundCountTH
MorphOpStruct(StructureType _structure, kkuint16 _structureSize)
unsigned char uchar
Unsigned character.
virtual ~MorphOpErosion()
bool Fit(kkint32 row, kkint32 col) const
bool FitBackgroundCount(kkint32 row, kkint32 col) const
Raster(const Raster &_raster)
Copy Constructor.
bool ForegroundPixel(uchar pixel) const
virtual RasterPtr PerformOperation(RasterConstPtr _image)
void ForegroundPixelCount(kkint32 _foregroundPixelCount)