Hexagon Cell  v.1.1.1
HexagonCells Namespace Reference

Classes

class  CCell
 Cell class. More...
 
struct  cell_params
 Cell parameters structure. More...
 
class  CMarker
 Marker class. More...
 

Enumerations

enum  cell_int_app { CELL_AVG, CELL_MV }
 Cell interpolation approach. More...
 

Functions

bool ifInsideTriangle (CvPoint2D64f x, CvPoint2D64f a, CvPoint2D64f b, CvPoint2D64f c)
 

Enumeration Type Documentation

Cell interpolation approach.

The CELL_AVG approach returns the average value of all the pixels in the cell; the CELL_MV approach returns the most frequent value of the pixels in the cell.

Warning
The CELL_MV approach may return unexpected results on images with losely compression as JPEG
Enumerator
CELL_AVG 

Average value approach.

CELL_MV 

Majority voting approach.

Definition at line 25 of file Cell.h.

Function Documentation

bool HexagonCells::ifInsideTriangle ( CvPoint2D64f  x,
CvPoint2D64f  a,
CvPoint2D64f  b,
CvPoint2D64f  c 
)

Definition at line 166 of file Cell.cpp.