RegionProcessingParams
Description
This structure contains parameters for opening and closing of a region.Structure fields and default values (if defined) are described below:
- KernelShape Kernel - Kernel shape for opening and closing of a region
- int OpeningRadius - Radius of morphological opening of a region
- int ClosingRadius - Radius of morphological closing of a region
struct RegionProcessingParams
{
KernelShape Kernel;
int OpeningRadius;
int ClosingRadius;
KernelShape Kernel() const { return Kernel; };
int OpeningRadius() const { return OpeningRadius; };
int ClosingRadius() const { return ClosingRadius; };
bool operator == ( const avl::RegionProcessingParams& rhs ) const
{
return Kernel == rhs.Kernel &&
OpeningRadius == rhs.OpeningRadius &&
ClosingRadius == rhs.ClosingRadius;
}
bool operator != ( const avl::RegionProcessingParams& rhs ) const
{
return !(operator==(rhs));
}
};
