91 m_oMaskSize = adaptSize(size);
92 m_oAnchor =
utils::Point (m_oMaskSize.width/2, m_oMaskSize.height/2);
95 m_oMaskSize = adaptSize(size);
void setMask(const utils::Size &size)
Definition: NeighborhoodOp.h:90
NeighborhoodOp()
Definition: NeighborhoodOp.h:85
undocument this line if you encounter any issues!
Definition: Any.h:37
void setMask(const utils::Size &size, const utils::Point &anchor)
Definition: NeighborhoodOp.h:94
utils::Point m_oAnchor
anchor of filter mask
Definition: NeighborhoodOp.h:131
virtual ~NeighborhoodOp()
Destructor.
Definition: NeighborhoodOp.h:63
const utils::Point & getROIOffset() const
Definition: NeighborhoodOp.h:108
NeighborhoodOp(const utils::Size &size)
Definition: NeighborhoodOp.h:86
Abstract Base class for Unary Operators.
Definition: UnaryOp.h:51
Size class of the ICL.
Definition: Size.h:61
ICLQt_API core::Img< T > filter(const core::Img< T > &image, const std::string &filter)
applies a filter operation on the source image (affinity for float)
unary operators that work on each pixels neighborhood \
Definition: NeighborhoodOp.h:59
const utils::Point & getAnchor() const
Definition: NeighborhoodOp.h:105
depth
determines the pixel type of an image (8Bit-int or 32Bit-float)
Definition: Types.h:60
void setROIOffset(const utils::Point &offs)
Definition: NeighborhoodOp.h:98
Point class of the ICL used e.g. for the Images ROI offset.
Definition: Point.h:58
utils::Point m_oROIOffset
to-be-used ROI offset for source image
Definition: NeighborhoodOp.h:132
#define ICLFilter_API
Definition: CompatMacros.h:175
virtual void apply(const core::ImgBase *operand1, core::ImgBase **dst)=0
pure virtual apply function, that must be implemented in all derived classes
utils::Size m_oMaskSize
TODO: later private with getter and setter functions.
Definition: NeighborhoodOp.h:130
const utils::Size & getMaskSize() const
Definition: NeighborhoodOp.h:102
ImgBase is the Image-Interface class that provides save access to underlying Img-template .
Definition: ImgBase.h:131
virtual utils::Size adaptSize(const utils::Size &size)
this function can be reimplemented e.g to enshure an odd mask width and height
Definition: NeighborhoodOp.h:126