![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Concrete class for objects encapsulating informations about 2d binary structuring element objects. More...
#include <StructuringElementXYInfo.h>
Public Member Functions | |
| eStructuringElementType | getStructuringElementType () const |
| retrieve structuring element type associated to object | |
| void | init (const StructuringElementXY &seXY) |
| initialization of object with a generic structuring element | |
| void | initEmpty () |
| initialization of object with an empty structuring element | |
| void | initCircular (const ipReal64 radius) |
| initialization of object has a filled circular structuring element More... | |
| void | initSquare (const ipUInt32 halfSize) |
| initialization of object has a filled square structuring element | |
| void | initRectangular (const ipUInt32 halfSizeX, const ipUInt32 halfSizeY) |
| initialization of object has a filled rectangular structuring element | |
| void | initHalfLinear (const ipReal64 theta, const ipReal64 radius) |
| initialization of object has a half linear structuring element More... | |
| void | initLinear (const ipReal64 theta, const ipReal64 radius) |
| initialization of object has a symmetic linear structuring element More... | |
| const eSEXYSubType & | getSEXYSubType () const |
| retrieve binary structuring element 2d sub type More... | |
| StructuringElementXYConstPtr | getStructuringElement () const |
| retrieve structuring element associated to object More... | |
| ipReal64 | getRadius () const |
| retrieve circle radius associated to structuring element 2d More... | |
| ipUInt32 | getHalfSize () const |
| retrieve square half size of structuring element 2d More... | |
| ipReal64 | getTheta () const |
| retrieve orientation associated to structuring element 2d More... | |
| const XYOffsetColl & | getDataColl () const |
| retrieve data collection associated to object More... | |
Constructors and destructors | |
| StructuringElementXYInfo () | |
| ~StructuringElementXYInfo () | |
| ipUInt32 | getHalfSizeX () const |
| retrieve rectangular half size of structuring element 2d More... | |
| ipUInt32 | getHalfSizeY () const |
| retrieve rectangular half size of structuring element 2d More... | |
| bool | insert (const ipInt32 offsetX, const ipInt32 offsetY) |
| insert an XYOffset to the structuring element if it does not already belong to the structuring element More... | |
| bool | insert (const OffsetXY &offset) |
| insert an XYOffset to the structuring element if it does not already belong to the structuring element More... | |
| bool | remove (const ipInt32 offsetX, const ipInt32 offsetY) |
| remove an XYOffset to the structuring element if the structuring element contains the offset More... | |
| bool | remove (const OffsetXY &offset) |
| remove an XYOffset to the structuring element if the structuring element contains the offset More... | |
Public Member Functions inherited from ipsdk::BaseStructuringElementInfo | |
| bool | isInit () const |
| retrieve object initialization flag | |
| void | clear () |
| delete all object data | |
| BaseStructuringElementInfo () | |
| virtual | ~BaseStructuringElementInfo () |
Public Member Functions inherited from ipsdk::BaseSerializationObject | |
| BaseSerializationObject () | |
| Default constructor. | |
| virtual | ~BaseSerializationObject ()=0 |
| destructor | |
Public Member Functions inherited from ipsdk::BaseDynamicObject | |
| virtual const std::string & | getClassName () const |
| method allowing to retrieve object class name | |
| virtual BaseDynamicObject * | createNew () const =0 |
| method allowing to create new instance of current object type | |
| virtual DynamicObjectPtr | createShared () const =0 |
| method allowing to create new shared instance of current object type | |
| virtual bool | hasCopySupport () const =0 |
| check whether objet has copy support | |
| virtual BaseDynamicObject * | duplicate () const =0 |
| method allowing to duplicate current object More... | |
| virtual DynamicObjectPtr | duplicateShared () const =0 |
| method allowing shared duplication of current object More... | |
| BaseDynamicObject () | |
| virtual | ~BaseDynamicObject ()=0 |
Protected Member Functions | |
| void | clearDerived () |
| clear method overloaded by derived class | |
Protected Member Functions inherited from ipsdk::BaseStructuringElementInfo | |
| void | initBase () |
| base class initialization method | |
Protected Member Functions inherited from ipsdk::BaseSerializationObject | |
| virtual BoolResult | write (BaseOArchive &ar) const |
| method allowing to ensure serialization write part for object | |
| virtual BoolResult | read (BaseIArchive &ar) |
| method allowing to ensure serialization read part for object | |
Protected Member Functions inherited from ipsdk::BaseDynamicObject | |
| virtual void | initCtorCopy (const BaseDynamicObject &object) |
| virtual void | copy (const BaseDynamicObject &object) |
| method allowing to copy data from another object | |
Protected Attributes | |
| eSEXYSubType | _seXYSubType |
| binary structuring element 2d sub type associated to object | |
| ipReal64 | _radius |
| circle radius associated to structuring element 2d More... | |
| ipUInt32 | _halfSize |
| square half size of structuring element 2d More... | |
| ipReal64 | _theta |
| orientation associated to structuring element 2d More... | |
| StructuringElementXYPtr | _pSEXY |
| underlying structuring element associated to object | |
| ipUInt32 | _halfSizeX |
| rectangular half size of structuring element 2d More... | |
| ipUInt32 | _halfSizeY |
| rectangular half size of structuring element 2d More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from ipsdk::BaseSerializationObject | |
| static ipUInt32 | getVersion () |
| method allowing to retrieve class version information for serialization | |
Static Public Member Functions inherited from ipsdk::BaseDynamicObject | |
| static const std::string & | getTypeName () |
| method allowing to retrieve name associated to class | |
Concrete class for objects encapsulating informations about 2d binary structuring element objects.
| void ipsdk::StructuringElementXYInfo::initCircular | ( | const ipReal64 | radius | ) |
initialization of object has a filled circular structuring element
| ipsdk::IPSDKBaseDataException | if radius < 0 |
| void ipsdk::StructuringElementXYInfo::initHalfLinear | ( | const ipReal64 | theta, |
| const ipReal64 | radius | ||
| ) |
initialization of object has a half linear structuring element
| ipsdk::IPSDKBaseDataException | if radius < 0 |
initialization of object has a symmetic linear structuring element
| ipsdk::IPSDKBaseDataException | if radius < 0 |
| const eSEXYSubType& ipsdk::StructuringElementXYInfo::getSEXYSubType | ( | ) | const |
retrieve binary structuring element 2d sub type
| ipsdk::IPSDKBaseDataException | if isInit() == false |
| StructuringElementXYConstPtr ipsdk::StructuringElementXYInfo::getStructuringElement | ( | ) | const |
retrieve structuring element associated to object
| ipsdk::IPSDKBaseDataException | if isInit() == false |
| ipReal64 ipsdk::StructuringElementXYInfo::getRadius | ( | ) | const |
retrieve circle radius associated to structuring element 2d
| ipsdk::IPSDKBaseDataException | if (getSEXYSubType() != eSEXYSubType::eSEXY_Circular) && (getSEXYSubType() != eSEXYSubType::eSEXY_HalfLinear) && (getSEXYSubType() != eSEXYSubType::eSEXY_Linear) |
| ipUInt32 ipsdk::StructuringElementXYInfo::getHalfSize | ( | ) | const |
retrieve square half size of structuring element 2d
| ipsdk::IPSDKBaseDataException | if (getSEXYSubType() != eSEXYSubType::eSEXY_Square) |
| ipUInt32 ipsdk::StructuringElementXYInfo::getHalfSizeX | ( | ) | const |
retrieve rectangular half size of structuring element 2d
| ipsdk::IPSDKBaseDataException | if (getSEXYSubType() != eSEXYSubType::eSEXY_Rectangular) |
| ipUInt32 ipsdk::StructuringElementXYInfo::getHalfSizeY | ( | ) | const |
retrieve rectangular half size of structuring element 2d
| ipsdk::IPSDKBaseDataException | if (getSEXYSubType() != eSEXYSubType::eSEXY_Rectangular) |
| ipReal64 ipsdk::StructuringElementXYInfo::getTheta | ( | ) | const |
retrieve orientation associated to structuring element 2d
| ipsdk::IPSDKBaseDataException | if (getSEXYSubType() != eSEXYSubType::eSEXY_HalfLinear) && (getSEXYSubType() != eSEXYSubType::eSEXY_Linear) |
| const XYOffsetColl& ipsdk::StructuringElementXYInfo::getDataColl | ( | ) | const |
retrieve data collection associated to object
| ipsdk::IPSDKBaseDataException | if isInit() == false |
insert an XYOffset to the structuring element if it does not already belong to the structuring element
| ipsdk::IPSDKBaseDataException | if isInit() == false |
| bool ipsdk::StructuringElementXYInfo::insert | ( | const OffsetXY & | offset | ) |
insert an XYOffset to the structuring element if it does not already belong to the structuring element
| ipsdk::IPSDKBaseDataException | if isInit() == false |
remove an XYOffset to the structuring element if the structuring element contains the offset
| ipsdk::IPSDKBaseDataException | if isInit() == false |
| bool ipsdk::StructuringElementXYInfo::remove | ( | const OffsetXY & | offset | ) |
remove an XYOffset to the structuring element if the structuring element contains the offset
| ipsdk::IPSDKBaseDataException | if isInit() == false |
|
protected |
circle radius associated to structuring element 2d
Used if _seXYSubType equals :
|
protected |
square half size of structuring element 2d
Used if _seXYSubType equals :
|
protected |
rectangular half size of structuring element 2d
Used if _seXYSubType equals :
|
protected |
rectangular half size of structuring element 2d
Used if _seXYSubType equals :
|
protected |
orientation associated to structuring element 2d
Used if _seXYSubType equals :
1.8.14