241 template <
typename Type>
int getROIWidth() const
returns ROIS width
Definition: ImgIterator.h:307
ImgIterator(Type *data, int imageWidth, const utils::Rect &roi)
Definition: ImgIterator.h:263
undocument this line if you encounter any issues!
Definition: Any.h:37
int y()
returns the current y position of the iterator (wrt matrix origin)
Definition: MatrixSubRectIterator.h:262
int m_matrixWidth
corresponding matrix width
Definition: MatrixSubRectIterator.h:268
ImgIterator< Type > & operator=(const math::MatrixSubRectIterator< Type > &other)
Allows to assign const instances.
Definition: ImgIterator.h:295
Type * m_dataCurr
pointer to the current data element
Definition: MatrixSubRectIterator.h:280
Type * m_dataOrigin
pointer to the upper matrix data origin (upper left element)
Definition: MatrixSubRectIterator.h:277
void init()
Definition: MatrixSubRectIterator.h:72
ICLQt_API ImgROI roi(ImgQ &r)
creates a ROI-struct from an image
Type * m_currLineEnd
pointer to the first invalid element of the current line
Definition: MatrixSubRectIterator.h:286
ImgIterator()
Default Constructor.
Definition: ImgIterator.h:256
Type * m_dataEnd
pointer to the first element behind the subrect
Definition: MatrixSubRectIterator.h:283
ICLQt_API ImgROI data(ImgQ &r)
creates full ROI ROI-struct
const MatrixSubRectIterator & operator=(const MatrixSubRectIterator &other) const
Definition: MatrixSubRectIterator.h:121
Iterator class used to iterate through an Images ROI-pixels.
Definition: ImgIterator.h:242
int x()
returns the current x position of the iterator (wrt matrix origin);
Definition: MatrixSubRectIterator.h:256
Iterator class used to iterate through a sub rect of 2D data.
Definition: MatrixSubRectIterator.h:70
Size class of the ICL.
Definition: Size.h:61
ImgIterator(const ImgIterator< Type > &origin, const utils::Size &s, const utils::Point &a)
3rd Constructor to create sub-regions of an Img-image
Definition: ImgIterator.h:276
int getSubRectWidth() const
returns the length of each row processed by this iterator
Definition: MatrixSubRectIterator.h:236
const ImgIterator< Type > & operator=(const math::MatrixSubRectIterator< Type > &other) const
Allows to assign const instances.
Definition: ImgIterator.h:301
Point class of the ICL used e.g. for the Images ROI offset.
Definition: Point.h:58
bool inSubRect() const
to check if iterator is still inside the ROI
Definition: MatrixSubRectIterator.h:201
int getSubRectHeight() const
Definition: MatrixSubRectIterator.h:240
Rectangle class of the ICL used e.g. for the Images ROI-rect.
Definition: Rect.h:95
static const ImgIterator< Type > create_end_roi_iterator(const Type *data, int width, const utils::Rect &roi)
Definition: ImgIterator.h:245
bool inRegionSubROI() const
to check if iterator is still inside the ROI
Definition: ImgIterator.h:290
int getROIHeight() const
returns ROIS width
Definition: ImgIterator.h:312