Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends
jafar::image::ConvexRoi Class Reference

Detailed Description

Definition at line 70 of file roi.hpp.

List of all members.

Classes

struct  SliceImpl

Public Types

typedef std::vector< SliceImplConvexRoiImpl

Public Member Functions

 ConvexRoi (cv::Rect &rect)
 ConvexRoi (int x, int y, int width, int height)
 ConvexRoi (jblas::vec2 x, jblas::sym_mat22 P, double scale)
void init (cv::Rect _rect)
int y () const
 roi and bounding box top
int h () const
 roi and bounding box height
int x () const
 bounding box left
int w () const
 bounding box width
void start_slice (Slice &s) const
bool next_slice (Slice &s) const
void start (Pixel &pix) const
bool next (Pixel &pix) const
int size () const
 roi size
int count () const
 roi elements count
bool isIn (jblas::vec2 p) const
ConvexRoi operator+ (const ConvexRoi &roi) const
 union
ConvexRoioperator+= (const ConvexRoi &roi)
 union
ConvexRoi operator- (const ConvexRoi &roi) const
 difference (A and not B)
ConvexRoioperator-= (const ConvexRoi &roi)
 difference (A and not B)
ConvexRoi operator* (const ConvexRoi &roi) const
 intersection
ConvexRoioperator*= (const ConvexRoi &roi)
 intersection
ConvexRoi operator+ (const cv::Point &p) const
 shift
ConvexRoi operator- (const cv::Point &p) const
 shift
ConvexRoioperator+= (const cv::Point &p)
 shift
ConvexRoioperator-= (const cv::Point &p)
 shift
void scaleTo (cv::Rect &newRect)
 scale
ConvexRoi operator* (double f) const
 scale
ConvexRoioperator*= (double f)
 scale
ConvexRoiscale (double f)
 scale preserving center
void draw ()
void checkIntegrity ()

Private Member Functions

void initConvex ()
int x (int i) const
 roi left
int w (int i) const
 roi width

Private Attributes

cv::Rect rect
ConvexRoiImpl convex
bool hasConvex
int count_
int y_end

Friends

class SliceRoi
std::ostream & operator<< (std::ostream &os, ConvexRoi::SliceImpl const &c)
std::ostream & operator<< (std::ostream &os, ConvexRoi const &roi)

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:40 for Jafar by doxygen 1.7.6.1
LAAS-CNRS