![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Class encapsulating a 2d kernel spanning along x and y axis. More...
#include <KernelXY.h>
Public Types | |
| typedef OffsetXY | OffsetType |
| offset type associated to object | |
| typedef ipReal32 | ValueType |
| value type associated to object | |
| typedef std::map< OffsetType, ValueType > | DataColl |
| collection of offsets associated to values | |
Public Member Functions | |
| eKernelType | getKernelType () const |
| retrieve kernel type associated to object | |
| ipUInt32 | getNbData () const |
| retrieve number of data associated to object | |
| bool | exists (const OffsetType &offset) const |
| check whether a given offset exists into collection | |
| void | insert (const OffsetType &offset, const ValueType &value) |
| insert a value into collection More... | |
| void | replace (const OffsetType &offset, const ValueType &value) |
| replace an existing value into collection More... | |
| void | remove (const OffsetType &offset) |
| remove an existing value from collection More... | |
| void | multiply (const ValueType value) |
| multiply all values by a constant value | |
| ValueType | getValue (const OffsetType &offset) const |
| retrieve value associated to a given offset More... | |
| const DataColl & | getDataColl () const |
| retrieve data collection associated to object | |
| const ValueType | getCoefSum () const |
| retrieve sum of coefficients associated to kernel | |
| const ValueType | getCoefAbsSum () const |
| retrieve sum of absolute values of coefficients associated to kernel | |
| void | clear () |
| clear of object data | |
Constructors and destructors | |
| KernelXY () | |
| ~KernelXY () | |
| const ipUInt32 | getSizeX () const |
| retrieve kernel size along x and y axis | |
| const ipUInt32 | getSizeY () const |
| retrieve kernel size along x and y axis | |
| const ipInt32 | getMinX () const |
| retrieve kernel minimum offsets along x and y axis | |
| const ipInt32 | getMinY () const |
| retrieve kernel minimum offsets along x and y axis | |
| const ipInt32 | getMaxX () const |
| retrieve kernel maximum offsets along x and y axis | |
| const ipInt32 | getMaxY () const |
| retrieve kernel maximum offsets along x and y axis | |
| const ipUInt32 | getStartingSizeX () const |
| retrieve starting size for kernel along x and y axis (absolute value of lower negative offset or 0) | |
| const ipUInt32 | getStartingSizeY () const |
| retrieve starting size for kernel along x and y axis (absolute value of lower negative offset or 0) | |
| const ipUInt32 | getEndingSizeX () const |
| retrieve ending size for kernel along x and y axis (upper positive offset or 0) | |
| const ipUInt32 | getEndingSizeY () const |
| retrieve ending size for kernel along x and y axis (upper positive offset or 0) | |
Public Member Functions inherited from ipsdk::BaseKernel | |
| BaseKernel () | |
| virtual | ~BaseKernel ()=0 |
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 | |
| const ValueType | computeAbsCoefSum () |
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 | |
| DataColl | _dataColl |
| collection of data associated to kernel | |
| ValueType | _coefSum |
| sum of kernel coefficients and absolute values of kernel coefficients | |
| ValueType | _absCoefSum |
| ipInt32 | _minX |
| ipInt32 | _minY |
| ipUInt32 | _sizeX |
| ipUInt32 | _sizeY |
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 | |
Class encapsulating a 2d kernel spanning along x and y axis.
| void ipsdk::KernelXY::insert | ( | const OffsetType & | offset, |
| const ValueType & | value | ||
| ) |
insert a value into collection
| ipsdk::IPSDKBaseDataException | if exists(offset) == true |
| void ipsdk::KernelXY::replace | ( | const OffsetType & | offset, |
| const ValueType & | value | ||
| ) |
replace an existing value into collection
| ipsdk::IPSDKBaseDataException | if exists(offset) == false |
| void ipsdk::KernelXY::remove | ( | const OffsetType & | offset | ) |
remove an existing value from collection
| ipsdk::IPSDKBaseDataException | if exists(offset) == false |
| ValueType ipsdk::KernelXY::getValue | ( | const OffsetType & | offset | ) | const |
retrieve value associated to a given offset
| ipsdk::IPSDKBaseDataException | if exists(offset) == false |
|
protected |
minimum offsets along x and y axis
|
protected |
minimum offsets along x and y axis
|
protected |
kernel size along x and y axis
|
protected |
kernel size along x and y axis
1.8.14