Basic Image AlgorithmS Library  2.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Static Public Member Functions | List of all members
BIAS::CheckUtils Class Reference

#include <Utils/CheckUtils.hh>

Static Public Member Functions

static bool GetIntegerWindow (const unsigned int &width, const unsigned int &height, const HomgPoint2D &pt, const unsigned int hwSize, unsigned int &xMin, unsigned int &xMax, unsigned int &yMin, unsigned int &yMax)
 Returns integer coordinate range for the window around pt which is in the image, pt also has to lie within the image. More...
 
template<class T >
static bool InImageDisc (const unsigned int &width, const unsigned int &height, const Vector2< T > &pt)
 
static bool InImageDisc (const unsigned int &width, const unsigned int &height, const HomgPoint2D &pt)
 
template<class T >
static bool InImageDisc (const unsigned int &width, const unsigned int &height, const T x, const T y)
 

Detailed Description

Definition at line 34 of file CheckUtils.hh.

Member Function Documentation

static bool BIAS::CheckUtils::GetIntegerWindow ( const unsigned int &  width,
const unsigned int &  height,
const HomgPoint2D pt,
const unsigned int  hwSize,
unsigned int &  xMin,
unsigned int &  xMax,
unsigned int &  yMin,
unsigned int &  yMax 
)
inlinestatic

Returns integer coordinate range for the window around pt which is in the image, pt also has to lie within the image.

Parameters
hwSizeis the window's half win size.
xMinminimal VALID x coordintate in the window
xMaxmaximal VALID x coordintate in the window
yMinminimal VALID y coordintate in the window
yMaxmaximal VALID y coordintate in the window
Returns
false if no valid window region was detected or if pt is not in the image.

Definition at line 78 of file CheckUtils.hh.

References InImageDisc().

template<class T >
static bool BIAS::CheckUtils::InImageDisc ( const unsigned int &  width,
const unsigned int &  height,
const Vector2< T > &  pt 
)
inlinestatic

Definition at line 38 of file CheckUtils.hh.

Referenced by GetIntegerWindow().

static bool BIAS::CheckUtils::InImageDisc ( const unsigned int &  width,
const unsigned int &  height,
const HomgPoint2D pt 
)
inlinestatic

Definition at line 47 of file CheckUtils.hh.

template<class T >
static bool BIAS::CheckUtils::InImageDisc ( const unsigned int &  width,
const unsigned int &  height,
const T  x,
const T  y 
)
inlinestatic

Definition at line 58 of file CheckUtils.hh.


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