88 void setClipToROI (
bool bClipToROI) {this->m_bClipToROI = bClipToROI;}
89 void setCheckOnly (
bool bCheckOnly) {this->m_bCheckOnly = bCheckOnly;}
109 return prepare (ppoDst, poSrc->
getDepth(), chooseSize (poSrc),
121 return prepare (ppoDst, eDepth, chooseSize (poSrc),
format getFormat() const
returns the current (color)-format of this image
Definition: ImgBase.h:495
void setClipToROI(bool bClipToROI)
change adaption of destination image (see class description)
Definition: OpROIHandler.h:88
undocument this line if you encounter any issues!
Definition: Any.h:37
ICL Time class (taken from the Ice lib)
Definition: Time.h:52
virtual ~OpROIHandler()
Destructor.
Definition: OpROIHandler.h:81
ICLQt_API ImgROI roi(ImgQ &r)
creates a ROI-struct from an image
const utils::Rect chooseROI(const core::ImgBase *poSrc)
return to-be-used ROI depending on bClipToROI
Definition: OpROIHandler.h:130
depth getDepth() const
returns the depth (depth8u or depth32f)
Definition: ImgBase.h:492
Abstract base class for binary image operations.
Definition: BinaryOp.h:42
void setCheckOnly(bool bCheckOnly)
Definition: OpROIHandler.h:89
const utils::Rect & getROI() const
returns the images ROI rectangle
Definition: ImgBase.h:512
virtual bool prepare(core::ImgBase **ppoDst, const core::ImgBase *poSrc)
check+adapt destination image to properties of given source image
Definition: OpROIHandler.h:104
format
determines the color-format, that is associated with the images channels
Definition: Types.h:70
const utils::Size chooseSize(const core::ImgBase *poSrc)
return to-be-used image size depending on bClipToROI
Definition: OpROIHandler.h:126
bool m_bClipToROI
Definition: OpROIHandler.h:135
Abstract Base class for Unary Operators.
Definition: UnaryOp.h:51
Size class of the ICL.
Definition: Size.h:61
OpROIHandler()
Filter is a base class for other classes and should be instantiated.
Definition: OpROIHandler.h:95
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
static const Point null
null Point is x=0, y=0
Definition: Point.h:61
virtual bool prepare(core::ImgBase **ppoDst, const core::ImgBase *poSrc, core::depth eDepth)
Definition: OpROIHandler.h:116
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
#define ICLFilter_API
Definition: CompatMacros.h:175
Rectangle class of the ICL used e.g. for the Images ROI-rect.
Definition: Rect.h:95
utils::Time getTime() const
returns the timestamp of the image
Definition: ImgBase.h:498
static const Time null
Definition: Time.h:59
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
const utils::Size & getSize() const
returns the size of the images
Definition: ImgBase.h:477
bool getCheckOnly() const
Definition: OpROIHandler.h:92
bool getClipToROI() const
Definition: OpROIHandler.h:91