The Machine Perception Toolbox

[Introduction]- [News]- [Download]- [Screenshots]- [Manual (pdf)]- [Forums]- [API Reference]- [Repository ]

 

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ROI Class Reference

#include <roi.h>

List of all members.

Public Member Functions

ROIoperator= (const ROI &roi)
ROIoperator= (const ROI &roi)
ROIoperator= (const ROI &roi)
ROIoperator= (const ROI &roi)
void reset ()
void reset ()
void reset ()
void reset ()
 ROI (int min_x=MIN_RANGE, int max_x=MAX_RANGE, int min_y=MIN_RANGE, int max_y=MAX_RANGE, int min_scale=MIN_RANGE, int max_scale=MAX_RANGE)
 ROI (int min_x=MIN_RANGE, int max_x=MAX_RANGE, int min_y=MIN_RANGE, int max_y=MAX_RANGE, int min_scale=MIN_RANGE, int max_scale=MAX_RANGE)
 ROI (int min_x=MIN_RANGE, int max_x=MAX_RANGE, int min_y=MIN_RANGE, int max_y=MAX_RANGE, int min_scale=MIN_RANGE, int max_scale=MAX_RANGE)
 ROI (int min_x=MIN_RANGE, int max_x=MAX_RANGE, int min_y=MIN_RANGE, int max_y=MAX_RANGE, int min_scale=MIN_RANGE, int max_scale=MAX_RANGE)

Public Attributes

int m_limit_scale
int m_max_scale
int m_max_x
int m_max_y
int m_min_scale
int m_min_x
int m_min_y
std::vector< int > vmax_x
std::vector< int > vmax_y
std::vector< int > vmin_x
std::vector< int > vmin_y

Friends

ostream & operator<< (ostream &s, const ROI &roi)
ostream & operator<< (ostream &s, const ROI &roi)
ostream & operator<< (ostream &s, const ROI &roi)
ostream & operator<< (ostream &s, const ROI &roi)


Constructor & Destructor Documentation

ROI int  min_x = MIN_RANGE,
int  max_x = MAX_RANGE,
int  min_y = MIN_RANGE,
int  max_y = MAX_RANGE,
int  min_scale = MIN_RANGE,
int  max_scale = MAX_RANGE
 

Definition at line 14 of file roi.cc.

00014                                                                                  :
00015           m_min_x(min_x), m_max_x(max_x), m_min_y(min_y), m_max_y(max_y),
00016            m_min_scale(min_scale), m_max_scale(max_scale){}

ROI int  min_x = MIN_RANGE,
int  max_x = MAX_RANGE,
int  min_y = MIN_RANGE,
int  max_y = MAX_RANGE,
int  min_scale = MIN_RANGE,
int  max_scale = MAX_RANGE
 

ROI int  min_x = MIN_RANGE,
int  max_x = MAX_RANGE,
int  min_y = MIN_RANGE,
int  max_y = MAX_RANGE,
int  min_scale = MIN_RANGE,
int  max_scale = MAX_RANGE
 

ROI int  min_x = MIN_RANGE,
int  max_x = MAX_RANGE,
int  min_y = MIN_RANGE,
int  max_y = MAX_RANGE,
int  min_scale = MIN_RANGE,
int  max_scale = MAX_RANGE
 


Member Function Documentation

ROI& operator= const ROI roi  ) 
 

ROI& operator= const ROI roi  ) 
 

ROI& operator= const ROI roi  ) 
 

ROI & operator= const ROI roi  ) 
 

Definition at line 21 of file roi.cc.

References m_limit_scale, m_max_scale, m_max_x, m_max_y, m_min_scale, m_min_x, m_min_y, vmax_x, vmax_y, vmin_x, and vmin_y.

00021                                  {
00022   if(&roi != this){
00023     m_min_x = roi.m_min_x; m_max_x = roi.m_max_x; m_min_y = roi.m_min_y; m_max_y = roi.m_max_y;
00024     m_min_scale = roi.m_min_scale; m_max_scale = roi.m_max_scale; m_limit_scale = roi.m_limit_scale;
00025     vmin_x = roi.vmin_x; vmin_y = roi.vmin_y; vmax_x = roi.vmax_x; vmax_y=roi.vmax_y;
00026   }
00027   return *this;
00028 }

void reset  ) 
 

void reset  ) 
 

void reset  ) 
 

void reset  ) 
 

Definition at line 18 of file roi.cc.

References m_max_scale, m_max_x, m_max_y, m_min_scale, m_min_x, and m_min_y.

00018                {
00019   m_min_x=MIN_RANGE; m_max_x=MAX_RANGE; m_min_y=MIN_RANGE; m_max_y=MAX_RANGE; m_min_scale=MIN_RANGE; m_max_scale=MAX_RANGE;}


Friends And Related Function Documentation

ostream& operator<< ostream &  s,
const ROI roi
[friend]
 

Definition at line 32 of file roi.cc.

00032                                                 {
00033   s << "ROI: (";
00034   s << "minx=" << roi.m_min_x << ", maxx=" << roi.m_max_x << ", ";
00035   s << "miny=" << roi.m_min_y << ", maxy=" << roi.m_max_y << ", ";
00036   s << "minscale=" << roi.m_min_scale << ", maxscale=" << roi.m_max_scale;
00037   s << ")";
00038   //  for(unsigned int i=0; i< roi.vmin_x.size(); ++ i){
00039   //  s << endl << "At scale " << i << ": ";
00040   //  s << "minx=" << roi.vmin_x[i] << ", maxx=" << roi.vmax_x[i] << ", ";
00041   //  s << "miny=" << roi.vmin_y[i] << ", maxy=" << roi.vmax_y[i] << ", ";
00042   // }
00043   return s;
00044 }

ostream& operator<< ostream &  s,
const ROI roi
[friend]
 

Definition at line 32 of file roi.cc.

00032                                                 {
00033   s << "ROI: (";
00034   s << "minx=" << roi.m_min_x << ", maxx=" << roi.m_max_x << ", ";
00035   s << "miny=" << roi.m_min_y << ", maxy=" << roi.m_max_y << ", ";
00036   s << "minscale=" << roi.m_min_scale << ", maxscale=" << roi.m_max_scale;
00037   s << ")";
00038   //  for(unsigned int i=0; i< roi.vmin_x.size(); ++ i){
00039   //  s << endl << "At scale " << i << ": ";
00040   //  s << "minx=" << roi.vmin_x[i] << ", maxx=" << roi.vmax_x[i] << ", ";
00041   //  s << "miny=" << roi.vmin_y[i] << ", maxy=" << roi.vmax_y[i] << ", ";
00042   // }
00043   return s;
00044 }

ostream& operator<< ostream &  s,
const ROI roi
[friend]
 

Definition at line 32 of file roi.cc.

00032                                                 {
00033   s << "ROI: (";
00034   s << "minx=" << roi.m_min_x << ", maxx=" << roi.m_max_x << ", ";
00035   s << "miny=" << roi.m_min_y << ", maxy=" << roi.m_max_y << ", ";
00036   s << "minscale=" << roi.m_min_scale << ", maxscale=" << roi.m_max_scale;
00037   s << ")";
00038   //  for(unsigned int i=0; i< roi.vmin_x.size(); ++ i){
00039   //  s << endl << "At scale " << i << ": ";
00040   //  s << "minx=" << roi.vmin_x[i] << ", maxx=" << roi.vmax_x[i] << ", ";
00041   //  s << "miny=" << roi.vmin_y[i] << ", maxy=" << roi.vmax_y[i] << ", ";
00042   // }
00043   return s;
00044 }

ostream& operator<< ostream &  s,
const ROI roi
[friend]
 

Definition at line 32 of file roi.cc.

00032                                                 {
00033   s << "ROI: (";
00034   s << "minx=" << roi.m_min_x << ", maxx=" << roi.m_max_x << ", ";
00035   s << "miny=" << roi.m_min_y << ", maxy=" << roi.m_max_y << ", ";
00036   s << "minscale=" << roi.m_min_scale << ", maxscale=" << roi.m_max_scale;
00037   s << ")";
00038   //  for(unsigned int i=0; i< roi.vmin_x.size(); ++ i){
00039   //  s << endl << "At scale " << i << ": ";
00040   //  s << "minx=" << roi.vmin_x[i] << ", maxx=" << roi.vmax_x[i] << ", ";
00041   //  s << "miny=" << roi.vmin_y[i] << ", maxy=" << roi.vmax_y[i] << ", ";
00042   // }
00043   return s;
00044 }


Member Data Documentation

int m_limit_scale
 

Definition at line 32 of file src/roi.h.

Referenced by MPIImagePyramid< float >::InitROI(), and operator=().

int m_max_scale
 

Definition at line 32 of file src/roi.h.

Referenced by MPIImagePyramid< float >::InitROI(), operator<<(), operator=(), reset(), and MPIImagePyramid< float >::SetROI().

int m_max_x
 

Definition at line 32 of file src/roi.h.

Referenced by MPIImagePyramid< float >::InitROI(), MPIImagePyramid< float >::InitROIvectors(), RIntegral::integrate(), MPISearchObjectDetector::integrateImages(), operator<<(), operator=(), reset(), and MPIImagePyramid< float >::SetROI().

int m_max_y
 

Definition at line 32 of file src/roi.h.

Referenced by MPIImagePyramid< float >::InitROI(), MPIImagePyramid< float >::InitROIvectors(), RIntegral::integrate(), MPISearchObjectDetector::integrateImages(), operator<<(), operator=(), reset(), and MPIImagePyramid< float >::SetROI().

int m_min_scale
 

Definition at line 32 of file src/roi.h.

Referenced by MPIImagePyramid< float >::InitROI(), operator<<(), operator=(), reset(), and MPIImagePyramid< float >::SetROI().

int m_min_x
 

Definition at line 32 of file src/roi.h.

Referenced by MPIImagePyramid< float >::InitROI(), MPIImagePyramid< float >::InitROIvectors(), RIntegral::integrate(), MPISearchObjectDetector::integrateImages(), operator<<(), operator=(), reset(), and MPIImagePyramid< float >::SetROI().

int m_min_y
 

Definition at line 32 of file src/roi.h.

Referenced by MPIImagePyramid< float >::InitROI(), MPIImagePyramid< float >::InitROIvectors(), RIntegral::integrate(), MPISearchObjectDetector::integrateImages(), operator<<(), operator=(), reset(), and MPIImagePyramid< float >::SetROI().

std::vector< int > vmax_x
 

Definition at line 35 of file src/roi.h.

Referenced by MPIImagePyramid< float >::InitROIvectors(), MPIScaledImage::MPIScaledImage(), operator=(), MPIImagePyramid< float >::SetROI(), and MPEyeFinder::setROI().

std::vector< int > vmax_y
 

Definition at line 36 of file src/roi.h.

Referenced by MPIImagePyramid< float >::InitROIvectors(), MPIScaledImage::MPIScaledImage(), operator=(), MPIImagePyramid< float >::SetROI(), and MPEyeFinder::setROI().

std::vector< int > vmin_x
 

Definition at line 33 of file src/roi.h.

Referenced by MPIImagePyramid< float >::InitROIvectors(), MPIScaledImage::MPIScaledImage(), operator=(), MPIImagePyramid< float >::SetROI(), and MPEyeFinder::setROI().

std::vector< int > vmin_y
 

Definition at line 34 of file src/roi.h.

Referenced by MPIImagePyramid< float >::InitROIvectors(), MPIScaledImage::MPIScaledImage(), operator=(), MPIImagePyramid< float >::SetROI(), and MPEyeFinder::setROI().


The documentation for this class was generated from the following files:
Generated on Mon Nov 8 17:08:41 2004 for MPT by  doxygen 1.3.9.1