Common constraint for encoding translation, scale and rotation invariance into a SigmaPi layer.
More...
#include <SigmaPiConstraints.h>
Common constraint for encoding translation, scale and rotation invariance into a SigmaPi layer.
OpenANN::TriangleConstraint::TriangleConstraint |
( |
size_t |
width, |
|
|
size_t |
height, |
|
|
double |
resolution = M_PI / 4 |
|
) |
| |
|
inline |
Constructor for TriangleConstraint.
- Parameters
-
width | width of the pattern |
height | height of the pattern |
resolution | angle tolerance to get shared |
virtual OpenANN::TriangleConstraint::~TriangleConstraint |
( |
) | |
|
|
inlinevirtual |
virtual double OpenANN::TriangleConstraint::operator() |
( |
int |
p1, |
|
|
int |
p2, |
|
|
int |
p3 |
|
) |
| const |
|
inlinevirtual |
The documentation for this struct was generated from the following file: