73 return apply(src1,src2);
78 return *apply(&sr1,&src2);
85 void setClipToROI (
bool bClipToROI) { m_oROIHandler.setClipToROI(bClipToROI); }
91 void setCheckOnly (
bool bCheckOnly) { m_oROIHandler.setCheckOnly(bCheckOnly); }
109 return m_oROIHandler.prepare(ppoDst, eDepth,imgSize,eFormat, nChannels,
roi, timestamp);
114 return m_oROIHandler.prepare(ppoDst, poSrc);
122 return m_oROIHandler.prepare(ppoDst, poSrc, eDepth);
127 bool checkDepths =
true) {
bool getCheckOnly() const
returns the CheckOnly status
Definition: BinaryOp.h:103
undocument this line if you encounter any issues!
Definition: Any.h:37
ICL Time class (taken from the Ice lib)
Definition: Time.h:52
ICLQt_API ImgROI roi(ImgQ &r)
creates a ROI-struct from an image
bool getClipToROI() const
returns the ClipToROI status
Definition: BinaryOp.h:97
depth getDepth() const
returns the depth (depth8u or depth32f)
Definition: ImgBase.h:492
Abstract base class for binary image operations.
Definition: BinaryOp.h:42
core::ImgBase * m_buf
internal image buffer which is used for the apply function without destination image argument
Definition: BinaryOp.h:142
virtual bool prepare(core::ImgBase **ppoDst, const core::ImgBase *poSrc, core::depth eDepth)
Definition: BinaryOp.h:119
format
determines the color-format, that is associated with the images channels
Definition: Types.h:70
void setCheckOnly(bool bCheckOnly)
sets if the destination image should be adapted to the source, or if it is only checked if it can be ...
Definition: BinaryOp.h:91
const core::ImgBase & operator()(const core::ImgBase &sr1, const core::ImgBase &src2)
reference based function operator
Definition: BinaryOp.h:77
bool prepare(core::ImgBase **ppoDst, core::depth eDepth, const utils::Size &imgSize, core::format eFormat, int nChannels, const utils::Rect &roi, utils::Time timestamp=utils::Time::null)
Definition: BinaryOp.h:106
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)
depth
determines the pixel type of an image (8Bit-int or 32Bit-float)
Definition: Types.h:60
utils::Size getROISize() const
returns the images ROI size
Definition: ImgBase.h:521
int getChannels() const
returns the channel count of the image
Definition: ImgBase.h:489
OpROIHandler m_oROIHandler
Definition: BinaryOp.h:139
#define ICLFilter_API
Definition: CompatMacros.h:175
virtual bool prepare(core::ImgBase **ppoDst, const core::ImgBase *poSrc)
check+adapt destination image to properties of given source image
Definition: BinaryOp.h:113
static bool check(const core::ImgBase *operand1, const core::ImgBase *operand2, bool checkDepths=true)
Definition: BinaryOp.h:125
const core::ImgBase * operator()(const core::ImgBase *src1, const core::ImgBase *src2)
function operator for the implicit destination apply(a,b) call
Definition: BinaryOp.h:72
Rectangle class of the ICL used e.g. for the Images ROI-rect.
Definition: Rect.h:95
static const Time null
Definition: Time.h:59
void operator()(const core::ImgBase *src1, const core::ImgBase *src2, core::ImgBase **dst)
function operator (alternative for apply(src1,src2,dst)
Definition: BinaryOp.h:67
void setClipToROI(bool bClipToROI)
sets if the image should be clip to ROI or not
Definition: BinaryOp.h:85
ImgBase is the Image-Interface class that provides save access to underlying Img-template .
Definition: ImgBase.h:131
Utility base class for Image Operators.
Definition: OpROIHandler.h:78