ReadFramework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
rdf::Patch Class Reference

#include <FocusMeasure.h>

Public Member Functions

 Patch ()
 
 Patch (cv::Point p, int w, int h, double f)
 
 Patch (cv::Point p, int w, int h, double f, double fRef)
 
void setPosition (cv::Point p, int w, int h)
 
cv::Point upperLeft () const
 
cv::Point center () const
 
void setFmRef (double f)
 
void setFm (double f)
 
void setWeight (double w)
 
void setArea (double a)
 
int width () const
 
int height () const
 
double fm () const
 
double weight () const
 
double area () const
 
std::string fmS () const
 
double fmRef () const
 

Protected Attributes

cv::Point mTopLeft
 
int mWidth = 0
 
int mHeight = 0
 
double mFm = -1
 
double mFmReference = -1
 
double mWeight = -1
 
double mArea = -1
 

Constructor & Destructor Documentation

rdf::Patch::Patch ( )
rdf::Patch::Patch ( cv::Point  p,
int  w,
int  h,
double  f 
)
rdf::Patch::Patch ( cv::Point  p,
int  w,
int  h,
double  f,
double  fRef 
)

Member Function Documentation

double rdf::Patch::area ( ) const
cv::Point rdf::Patch::center ( ) const
double rdf::Patch::fm ( ) const
double rdf::Patch::fmRef ( ) const
std::string rdf::Patch::fmS ( ) const
int rdf::Patch::height ( ) const
void rdf::Patch::setArea ( double  a)
void rdf::Patch::setFm ( double  f)
void rdf::Patch::setFmRef ( double  f)
void rdf::Patch::setPosition ( cv::Point  p,
int  w,
int  h 
)
void rdf::Patch::setWeight ( double  w)
cv::Point rdf::Patch::upperLeft ( ) const
double rdf::Patch::weight ( ) const
int rdf::Patch::width ( ) const

Member Data Documentation

double rdf::Patch::mArea = -1
protected
double rdf::Patch::mFm = -1
protected
double rdf::Patch::mFmReference = -1
protected
int rdf::Patch::mHeight = 0
protected
cv::Point rdf::Patch::mTopLeft
protected
double rdf::Patch::mWeight = -1
protected
int rdf::Patch::mWidth = 0
protected

The documentation for this class was generated from the following files: