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

#include <FocusMeasure.h>

Public Types

enum  FocusMeasure {
  BREN = 0, GLVA, GLVN, GLLV,
  GRAT, GRAS, LAPE, LAPV,
  ROGR
}
 

Public Member Functions

 FocusEstimation ()
 
 FocusEstimation (const cv::Mat &img)
 
 FocusEstimation (const cv::Mat &img, int wSize)
 
bool compute (FocusMeasure fm=BREN, cv::Mat fmImg=cv::Mat(), bool binary=false)
 
bool computeRefPatches (FocusMeasure fm=BREN, bool binary=false)
 
std::vector< PatchfmPatches () const
 
void setImg (const cv::Mat &img)
 
void setWindowSize (int s)
 
void setSplitSize (int s)
 
int windowSize () const
 

Protected Attributes

cv::Mat mSrcImg
 
std::vector< PatchmFmPatches
 
int mWindowSize = 40
 
int mSplitSize = 0
 

Member Enumeration Documentation

Enumerator
BREN 
GLVA 
GLVN 
GLLV 
GRAT 
GRAS 
LAPE 
LAPV 
ROGR 

Constructor & Destructor Documentation

rdf::FocusEstimation::FocusEstimation ( )
rdf::FocusEstimation::FocusEstimation ( const cv::Mat &  img)
rdf::FocusEstimation::FocusEstimation ( const cv::Mat &  img,
int  wSize 
)

Member Function Documentation

bool rdf::FocusEstimation::compute ( FocusMeasure  fm = BREN,
cv::Mat  fmImg = cv::Mat(),
bool  binary = false 
)
bool rdf::FocusEstimation::computeRefPatches ( FocusMeasure  fm = BREN,
bool  binary = false 
)
std::vector< Patch > rdf::FocusEstimation::fmPatches ( ) const
void rdf::FocusEstimation::setImg ( const cv::Mat &  img)
void rdf::FocusEstimation::setSplitSize ( int  s)
void rdf::FocusEstimation::setWindowSize ( int  s)
int rdf::FocusEstimation::windowSize ( ) const

Member Data Documentation

std::vector<Patch> rdf::FocusEstimation::mFmPatches
protected
int rdf::FocusEstimation::mSplitSize = 0
protected
cv::Mat rdf::FocusEstimation::mSrcImg
protected
int rdf::FocusEstimation::mWindowSize = 40
protected

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