A class encapsulating parameters for calculating a block difference value (a single instance of matching)
#include <me_utils.h>
List of all members.
Public Member Functions |
| BlockDiffParams () |
| Constructor.
|
| BlockDiffParams (const int x_p, const int y_p, const int x_l, const int y_l) |
| Constructor.
|
void | SetBlockLimits (const OLBParams &bparams, const PicArray &pic_data, const int xbpos, const int ybpos) |
| Set the limits of the block to fit in a picture.
|
int | Xp () const |
| Return the x-position of the top-left block corner.
|
int | Yp () const |
| Return the y-position of the top-left block corner.
|
int | Xl () const |
| Return the block width.
|
int | Yl () const |
| Return the block height.
|
int | Xend () const |
| Return the block horizontal endpoint.
|
int | Yend () const |
| Return the block vertical endpoint.
|
Constructor & Destructor Documentation
dirac::BlockDiffParams::BlockDiffParams |
( |
| ) |
|
|
inline |
dirac::BlockDiffParams::BlockDiffParams |
( |
const int |
x_p, |
|
|
const int |
y_p, |
|
|
const int |
x_l, |
|
|
const int |
y_l |
|
) |
| |
|
inline |
Member Function Documentation
void dirac::BlockDiffParams::SetBlockLimits |
( |
const OLBParams & |
bparams, |
|
|
const PicArray & |
pic_data, |
|
|
const int |
xbpos, |
|
|
const int |
ybpos |
|
) |
| |
int dirac::BlockDiffParams::Xend |
( |
| ) |
const |
|
inline |
int dirac::BlockDiffParams::Xl |
( |
| ) |
const |
|
inline |
int dirac::BlockDiffParams::Xp |
( |
| ) |
const |
|
inline |
int dirac::BlockDiffParams::Yend |
( |
| ) |
const |
|
inline |
int dirac::BlockDiffParams::Yl |
( |
| ) |
const |
|
inline |
int dirac::BlockDiffParams::Yp |
( |
| ) |
const |
|
inline |
Member Data Documentation
int dirac::BlockDiffParams::m_xend |
|
private |
int dirac::BlockDiffParams::m_xl |
|
private |
int dirac::BlockDiffParams::m_xp |
|
private |
int dirac::BlockDiffParams::m_yend |
|
private |
int dirac::BlockDiffParams::m_yl |
|
private |
int dirac::BlockDiffParams::m_yp |
|
private |
The documentation for this class was generated from the following file: