DualCoding Namespace Reference
Detailed Description
Dual coding vision representations (Sketches and Shapes).
For tutorial, see http://www.cs.cmu.edu/~dst/Tekkotsu/Tutorial/vr-intro.shtml
|
Classes |
class | AgentData |
| Representation of the robot on the world map. More...
|
class | BoundingBox |
| Bounding box of a shape; used for coordinate calculations. More...
|
class | BaseData |
| Base class that all shape data classes inherit from, e.g., LineData, BlobData, etc. More...
|
class | BlobData |
| Blob shapes, described by bounding boxes and an optional list of runs. More...
|
class | BrickData |
class | EllipseData |
class | EndPoint |
class | LineData |
| A line shape, with two endpoints, a length, orientation, etc. More...
|
class | LocalizationParticleData |
class | Lookout |
| The Lookout accepts LookoutRequests to move the head and collect sensor information. More...
|
class | LookoutRequest |
| Base class for requests to the Lookout. More...
|
class | LookoutPointRequest |
| Take a picture of or measure a distance to a point in space. More...
|
class | LookoutScanRequest |
class | LookoutTrackRequest |
class | LookoutSearchRequest |
| Search for an object and return when found. More...
|
class | MapBuilder |
class | MapBuilderRequest |
class | PfRoot |
| Root class for the particle filter landmark classes. More...
|
class | PfLine |
| A line landmark; world lines will have two of these, with the endpoints switched. More...
|
class | PfEllipse |
| An ellipse landmark. More...
|
class | PfPoint |
| A point landmark. More...
|
class | PfBlob |
| A blob landmark. More...
|
class | PathPlanner |
class | ParticleShapeEvaluator |
| provides evaluation of the matching between local and world given a candidate particle More...
|
class | ShapeSensorModel |
| this wraps the ParticleShapeEvaluator in a ParticleFilter::SensorModel so it can be used by the particle filter More...
|
class | PFShapeDistributionPolicy |
class | PFShapeLocalization |
| bundles a DeadReckoning motion model and a ShapeSensorModel for easy use of a shape-based particle filter for localization More...
|
class | SLAMShapesParticle |
| Each Particle represents a hypothesis about the match of the local map to the world map, considering changes to the map. More...
|
class | SLAMParticleShapeEvaluator |
| extends ParticleShapeEvaluator to handle the addition and removal of landmarks as necessary More...
|
class | SLAMShapesSensorModel |
| this wraps the SLAMParticleShapeEvaluator in a ParticleFilter::SensorModel so it can be used by the particle filter More...
|
class | PFShapeSLAM |
| bundles a DeadReckoning motion model and a SLAMShapesSensorModel for easy use of a shape-based particle filter for mapping and localization More...
|
class | Pilot |
class | PilotRequest |
| Request to the Pilot for motion or navigation. More...
|
class | Point |
class | PointData |
class | convexHullPoint |
class | PolygonData |
class | PyramidData |
class | Region |
class | Shape< AgentData > |
class | Shape< BlobData > |
class | Shape< BrickData > |
class | Shape< EllipseData > |
| Smart pointer to an EllipseData object. More...
|
class | UnaryShapeRootPred |
| Unary predicates over ShapeRoot objects. More...
|
class | BinaryShapeRootPred |
| Binary predicates over ShapeRoot objects. More...
|
class | UnaryShapePred |
| Unary predicates over Shape<T> objects. More...
|
class | BinaryShapePred |
| Binary predicates over Shape<T> objects. More...
|
class | shortcircuit_and |
| Classes for implementing shortcircuit And and Or predicates. Don't call directly; use AndPred and OrPred; use not1 for negation. More...
|
class | shortcircuit_or |
class | IsType |
class | IsColor |
class | IsName |
class | IsLeftOf |
class | IsLeftOfThis |
class | IsRightOf |
class | IsRightOfThis |
class | IsAbove |
class | IsAboveThis |
class | IsBelow |
class | IsBelowThis |
class | Shape< LineData > |
| Smart pointer to a LineData object. More...
|
class | Shape< LocalizationParticleData > |
class | Shape< PointData > |
class | Shape< PolygonData > |
class | Shape< PyramidData > |
class | ShapeRoot |
| Parent class for all Shape<xxxData> objects. More...
|
class | ShapeSpace |
| Holds a collection of diverse shapes such as LineData or EllipseData. More...
|
class | Shape< SphereData > |
class | Shape< TargetData > |
class | Sketch |
| Smart pointers for referencing. More...
|
class | SketchData |
| Holds the pixels for an individual sketch. More...
|
class | SketchDataRoot |
| Parent class for SketchData<T>. More...
|
class | SketchIndices |
| Table of indices of sketch elements; parent of the Region class. More...
|
class | SketchPool |
| Manages a pool of SketchData<T> instances. More...
|
class | SketchPoolRoot |
| Non-templated parent class of SketchPool<T>. More...
|
class | SketchRoot |
| Parent class for all Sketch<T>. More...
|
class | SketchRootReset |
| Dummy class used by SketchSpace to reset static SketchRoot::idCounter. More...
|
class | SketchSpace |
| Holds a collection of sketches of various types. More...
|
class | SphereData |
class | TargetData |
class | ViewerConnection |
class | VisualRoutinesBehavior |
| Base class from which visual-routines based behaviors (which all share a common SketchSpace) inherit. More...
|
class | VisualRoutinesStateNode |
| Base class from which visual-routines based state nodes (which all share a common SketchSpace) inherit. More...
|
class | VRmixin |
| Mix-in for the BehaviorBase or StateNode class to give access to VisualRoutinesBehavior variables. More...
|
| uint |
uint | bool |
| DEF_MATHOPS_H (bool, uchar, uchar) DEF_MATHOPS_H(bool |
| non-member math operators
|
uint | DEF_MATHOPS_H (bool, float, float) DEF_MATHOPS_H(uchar |
| non-member math operators
|
uint uchar | DEF_MATHOPS_H (uchar, uchar, uchar) DEF_MATHOPS_H(uchar |
| non-member math operators
|
uint uchar uint | DEF_MATHOPS_H (uchar, float, float) DEF_MATHOPS_H(uint |
| non-member math operators
|
uint uchar uint uint | DEF_MATHOPS_H (uint, uchar, uint) DEF_MATHOPS_H(uint |
| non-member math operators
|
uint uchar uint uint uint | DEF_MATHOPS_H (uint, float, float) DEF_MATHOPS_H(float |
| non-member math operators
|
uint uchar uint uint uint float | DEF_MATHOPS_H (float, uchar, float) DEF_MATHOPS_H(float |
| non-member math operators
|
uint uchar uint uint uint
float float | DEF_MATHOPS_H (float, float, float) DEF_MATHOPS_INT_H(uchar) DEF_MATHOPS_INT_H(uint) DEF_MATHOPS_INT_H(float) DEF_MATHBOOL_INT_H(+) DEF_MATHBOOL_INT_H(-) DEF_MATHBOOL_INT_H(*) DEF_MATHBOOL_INT_H(/) template< class T > Sketch< T > &Sketch< T > |
| non-member math operators
|
Typedefs |
typedef
SegmentedColorGenerator::color_class_state | color_class_state |
typedef unsigned char | uchar |
typedef unsigned short int | usint |
typedef unsigned char | cmap_t |
Enumerations |
enum | ReferenceFrameType_t { unspecified,
camcentric,
egocentric,
allocentric
} |
enum | ShapeType_t {
unknownDataType = 0,
lineDataType,
ellipseDataType,
pointDataType,
agentDataType,
sphereDataType,
polygonDataType,
blobDataType,
brickDataType,
pyramidDataType,
localizationParticleDataType,
targetDataType,
numDataTypes
} |
enum | SketchType_t {
sketchUnknown = 0,
sketchBool,
sketchUchar,
sketchUint,
sketchFloat
} |
enum | ColorMapType_t { segMap = 0,
grayMap = 1,
jetMap = 2,
jetMapScaled = 3
} |
Functions |
| DATASTUFF_CC (AgentData) |
std::ostream & | operator<< (std::ostream &out, const BoundingBox &b) |
| DATASTUFF_CC (BlobData) |
| DATASTUFF_CC (BrickData) |
Point | findEdgePoint (Point start, Point end, Sketch< bool > &rendering) |
int | findRadialDistancesFromPoint (Point center, float radius, Sketch< bool > &rendering, float distances[], Point points[]) |
void | takeDerivative (float x[], float dx[], int len) |
void | applyGaussian (float x[], float gx[], int len) |
void | drawHist (float distances[], unsigned int len, Sketch< bool > &parent) |
float | getBoundingQuadrilateralScore (BlobData &blob, vector< Point > &corners, Sketch< bool > edgeImage, int &borderCount, ShapeSpace &space) |
float | getQuadrilateralArea (vector< Point > &corners) |
float | getBoundingQuadrilateralInteriorPointRatio (BlobData &blob, vector< Point > &corners, ShapeSpace &space) |
int | countBorderPixelFit (BlobData &blob, const vector< Point > &corners, Sketch< bool > edges, ShapeSpace &space) |
int | pickMove (vector< float > scores, float weight) |
int | round (float x) |
| DATASTUFF_CC (EllipseData) |
| DATASTUFF_CC (LineData) |
| DATASTUFF_CC (LocalizationParticleData) |
float | distSq (const NEWMAT::ColumnVector &vec) |
template<typename T> |
void | deleteAll (std::queue< T * > &q) |
| Utility function for deleting queues of pointers to Lookout or MapBuilder requests.
|
ostream & | operator<< (std::ostream &os, const PfRoot &obj) |
std::ostream & | operator<< (std::ostream &out, const PathPlanner::direction &d) |
ostream & | operator<< (std::ostream &os, const SLAMShapesParticle &p) |
| allows display of particles on console
|
std::ostream & | operator<< (std::ostream &out, const Point &p) |
Point & | leftMost (Point &pt1, Point &pt2) |
Point & | rightMost (Point &pt1, Point &pt2) |
Point & | topMost (Point &pt1, Point &pt2) |
Point & | bottomMost (Point &pt1, Point &pt2) |
| DATASTUFF_CC (PointData) |
| DATASTUFF_CC (PolygonData) |
| DATASTUFF_CC (PyramidData) |
| SHAPESTUFF_CC (AgentData) |
| SHAPESTUFF_CC (BlobData) |
| SHAPESTUFF_CC (BrickData) |
| SHAPESTUFF_CC (EllipseData) |
template<typename PredType> |
ShapeRoot | find_if (const std::vector< ShapeRoot > &vec, PredType pred) |
| Find a ShapeRoot satisfying pred.
|
template<class T, typename PredType> |
Shape< T > | find_if (const std::vector< Shape< T > > &vec, PredType pred) |
| Find a Shape<T> satisfying pred.
|
template<class T> |
Shape< T > | find_if (const std::vector< ShapeRoot > &vec) |
| Find a Shape<T> in a vector of ShapeRoot.
|
template<class T> |
Shape< T > | find_shape (const std::vector< ShapeRoot > &vec, const std::string &name) |
| Return the first ShapeRoot with the specified name, else return an invalid ShapeRoot.
|
template<class T> |
std::vector< Shape< T > > | select_type (std::vector< ShapeRoot > &vec) |
| Select the Shape<T> elements from a vector of ShapeRoots.
|
template<class T, typename PredType> |
std::vector< Shape< T > > | subset (const std::vector< Shape< T > > &vec, PredType pred) |
| Find all elements in a vector of Shape<T> satisfying pred.
|
template<typename PredType> |
std::vector< ShapeRoot > | subset (const std::vector< ShapeRoot > &vec, PredType pred) |
| Find all elements in a vector of ShapeRoot satisfying pred.
|
template<class T, typename ComparisonType> |
Shape< T > | max_element (const std::vector< Shape< T > > &vec, ComparisonType comp) |
template<typename ComparisonType> |
ShapeRoot | max_element (const std::vector< ShapeRoot > &vec, ComparisonType comp) |
template<class T, typename ComparisonType> |
Shape< T > | min_element (const std::vector< Shape< T > > &vec, ComparisonType comp) |
template<typename ComparisonType> |
ShapeRoot | min_element (const std::vector< ShapeRoot > &vec, ComparisonType comp) |
template<class T, typename PredType> |
std::vector< Shape< T > > | stable_sort (const std::vector< Shape< T > > &vec, PredType pred) |
template<typename PredType> |
std::vector< ShapeRoot > | stable_sort (const std::vector< ShapeRoot > &vec, PredType pred) |
| SHAPESTUFF_CC (LineData) |
| SHAPESTUFF_CC (LocalizationParticleData) |
| SHAPESTUFF_CC (PointData) |
| SHAPESTUFF_CC (PolygonData) |
| SHAPESTUFF_CC (PyramidData) |
std::ostream & | operator<< (std::ostream &os, const ShapeRoot &r) |
| SHAPESTUFF_CC (SphereData) |
| SHAPESTUFF_CC (TargetData) |
const char * | data_name (int data_type) |
| DEF_MATHOPS_CC (bool, uchar, uchar) DEF_MATHOPS_CC(bool |
uint | DEF_MATHOPS_CC (bool, float, float) DEF_MATHOPS_CC(uchar |
uint uchar | DEF_MATHOPS_CC (uchar, uchar, uchar) DEF_MATHOPS_CC(uchar |
uint uchar uint | DEF_MATHOPS_CC (uchar, float, float) DEF_MATHOPS_CC(uint |
uint uchar uint uint | DEF_MATHOPS_CC (uint, uchar, uint) DEF_MATHOPS_CC(uint |
uint uchar uint uint uint | DEF_MATHOPS_CC (uint, float, float) DEF_MATHOPS_CC(float |
uint uchar uint uint uint float | DEF_MATHOPS_CC (float, uchar, float) DEF_MATHOPS_CC(float |
uint uchar uint uint uint
float float | DEF_MATHOPS_CC (float, float, float) DEF_MATHOPS_INT_CC(uchar) DEF_MATHOPS_INT_CC(uint) DEF_MATHOPS_INT_CC(float) DEF_MATHBOOL_INT_CC(+) DEF_MATHBOOL_INT_CC(-) DEF_MATHBOOL_INT_CC(*) DEF_MATHBOOL_INT_CC(/) template<> Sketch< bool > |
Sketch< bool > & | operator &= (Sketch< bool > &arg1, Sketch< bool > const &arg2) |
Sketch< bool > & | operator|= (Sketch< bool > &arg1, Sketch< bool > const &arg2) |
Sketch< bool > & | operator^= (Sketch< bool > &arg1, Sketch< bool > const &arg2) |
| DEFINE_LOGICAL_OPERATOR (==) DEFINE_LOGICAL_OPERATOR(! |
template<class A, class B> |
void | copyPixels (Sketch< A > &dest, const Sketch< B > &src) |
| utility function used by type conversion operators
|
std::ostream & | operator<< (std::ostream &out, const SketchIndices &s) |
| prints out SketchIndices for debugging
|
std::ostream & | operator<< (std::ostream &os, const SketchRoot &r) |
| DATASTUFF_CC (SphereData) |
void | setup_brightness_lut (uchar **bp, int thresh, int form) |
void | susan_principle (uchar *in, int *r, uchar *bp, int max_no, int x_size, int y_size) |
void | susan_thin (int *r, uchar *mid, int x_size, int y_size) |
void | susan_edges_internal (uchar *in, int *r, uchar *mid, uchar *bp, int max_no, int x_size, int y_size) |
void | edge_draw (uchar *in, uchar *mid, int x_size, int y_size, int drawing_mode) |
void | susan_principle (uchar *in, int *r, uchar **bp, int max_no, int x_size, int y_size) |
| DATASTUFF_CC (TargetData) |
template<ReferenceFrameType_t _refFrameType, int const init_id, size_t const _width, size_t const _height> |
static SketchSpace & | createStaticSkS (const std::string &_name) |
| static function allows us to specify intialization order because static within a function isn't created until the function is called
|
|
template<typename PredType1, typename PredType2> |
shortcircuit_and< PredType1,
PredType2 > | AndPred (PredType1 p1, PredType2 p2) |
| Conjunction of two predicates; p2 is called only if p1 returns true.
|
template<typename PredType1, typename PredType2> |
shortcircuit_or< PredType1,
PredType2 > | OrPred (PredType1 p1, PredType2 p2) |
| Disjunction of two predicates; p2 is called only if p1 returns false.
|
Variables |
const std::string | SketchTypeNames [] = {"unknown","bool","uchar","uint","float"} |
static const unsigned int | DIALOG_BUFFER_SIZE = 20000 |
static const unsigned int | RLE_BUFFER_SIZE = 70000 |
static const unsigned int | CAM_LAYER = ProjectInterface::fullLayer |
| the full resolution layer in the filter bank
|
static const unsigned int | CAM_CHANNEL = 0 |
| corresponds to appropriate thresholding listed in tekkotsu.xml
|
static const unsigned int | WORLD_WIDTH = 225 |
static const unsigned int | WORLD_HEIGHT = 225 |
static const unsigned short | CAM_DIALOG_PORT = 5800 |
static const unsigned short | CAM_RLE_PORT = 5801 |
static const unsigned short | LOCAL_DIALOG_PORT = 5802 |
static const unsigned short | LOCAL_RLE_PORT = 5803 |
static const unsigned short | WORLD_DIALOG_PORT = 5804 |
static const unsigned short | WORLD_RLE_PORT = 5805 |
Typedef Documentation
typedef unsigned char uchar |
typedef unsigned short int usint |
Enumeration Type Documentation
- Enumerator:
-
segMap |
|
grayMap |
|
jetMap |
|
jetMapScaled |
|
Definition at line 28 of file SketchTypes.h.
- Enumerator:
-
unspecified |
|
camcentric |
|
egocentric |
|
allocentric |
|
Definition at line 7 of file ShapeTypes.h.
NOTE: If any of these type numbers are changed, the corresponding type number must be changed in SketchGUI.java and possibly elsewhere! - Enumerator:
-
unknownDataType |
|
lineDataType |
|
ellipseDataType |
|
pointDataType |
|
agentDataType |
|
sphereDataType |
|
polygonDataType |
|
blobDataType |
|
brickDataType |
|
pyramidDataType |
|
localizationParticleDataType |
|
targetDataType |
|
numDataTypes |
|
Definition at line 16 of file ShapeTypes.h.
- Enumerator:
-
sketchUnknown |
|
sketchBool |
|
sketchUchar |
|
sketchUint |
|
sketchFloat |
|
Definition at line 18 of file SketchTypes.h.
Function Documentation
shortcircuit_and<PredType1,PredType2> DualCoding::AndPred |
( |
PredType1 |
p1, |
|
|
PredType2 |
p2 | |
|
) |
| | [inline] |
Conjunction of two predicates; p2 is called only if p1 returns true.
Templated functions can pick up type information from their arguments, but templated class constructors cannot; they expect type info to be supplied explicitly as template arguments in <>. So we define AndPred() and OrPred() templated functions to pick up the type info and pass it on to the shortcircuit_and and shortcircuit_or constructors as explicit template arguments. The built-in function adaptors not1 and not2 already use this trick for negation.
Definition at line 159 of file ShapeFuns.h.
void applyGaussian |
( |
float |
x[], |
|
|
float |
gx[], |
|
|
int |
len | |
|
) |
| | |
Point& DualCoding::bottomMost |
( |
Point & |
pt1, |
|
|
Point & |
pt2 | |
|
) |
| | [inline] |
void DualCoding::copyPixels |
( |
Sketch< A > & |
dest, |
|
|
const Sketch< B > & |
src | |
|
) |
| | [inline] |
int countBorderPixelFit |
( |
BlobData & |
blob, |
|
|
const vector< Point > & |
corners, |
|
|
Sketch< bool > |
edges, |
|
|
ShapeSpace & |
space | |
|
) |
| | |
static SketchSpace& DualCoding::createStaticSkS |
( |
const std::string & |
_name |
) |
[inline, static] |
static function allows us to specify intialization order because static within a function isn't created until the function is called
Definition at line 29 of file VRmixin.cc.
const char * data_name |
( |
int |
data_type |
) |
|
DualCoding::DATASTUFF_CC |
( |
TargetData |
|
) |
|
DualCoding::DATASTUFF_CC |
( |
SphereData |
|
) |
|
DualCoding::DATASTUFF_CC |
( |
PyramidData |
|
) |
|
DualCoding::DATASTUFF_CC |
( |
PolygonData |
|
) |
|
DualCoding::DATASTUFF_CC |
( |
PointData |
|
) |
|
DualCoding::DATASTUFF_CC |
( |
LocalizationParticleData |
|
) |
|
DualCoding::DATASTUFF_CC |
( |
LineData |
|
) |
|
DualCoding::DATASTUFF_CC |
( |
EllipseData |
|
) |
|
DualCoding::DATASTUFF_CC |
( |
BrickData |
|
) |
|
DualCoding::DATASTUFF_CC |
( |
BlobData |
|
) |
|
DualCoding::DATASTUFF_CC |
( |
AgentData |
|
) |
|
uint uchar uint DualCoding::DEF_MATHOPS_CC |
( |
uchar |
, |
|
|
float |
, |
|
|
float |
| |
|
) |
| | |
uint uchar DualCoding::DEF_MATHOPS_CC |
( |
uchar |
, |
|
|
uchar |
, |
|
|
uchar |
| |
|
) |
| | |
uint DualCoding::DEF_MATHOPS_CC |
( |
bool |
, |
|
|
float |
, |
|
|
float |
| |
|
) |
| | |
DualCoding::DEF_MATHOPS_CC |
( |
bool |
, |
|
|
uchar |
, |
|
|
uchar |
| |
|
) |
| | |
non-member math operators
Definition at line 349 of file Sketch.h.
non-member math operators
non-member math operators
non-member math operators
uint uchar uint DualCoding::DEF_MATHOPS_H |
( |
uchar |
, |
|
|
float |
, |
|
|
float |
| |
|
) |
| | |
non-member math operators
uint uchar DualCoding::DEF_MATHOPS_H |
( |
uchar |
, |
|
|
uchar |
, |
|
|
uchar |
| |
|
) |
| | |
non-member math operators
uint DualCoding::DEF_MATHOPS_H |
( |
bool |
, |
|
|
float |
, |
|
|
float |
| |
|
) |
| | |
non-member math operators
DualCoding::DEF_MATHOPS_H |
( |
bool |
, |
|
|
uchar |
, |
|
|
uchar |
| |
|
) |
| | |
non-member math operators
DualCoding::DEFINE_LOGICAL_OPERATOR |
( |
|
) |
|
void DualCoding::deleteAll |
( |
std::queue< T * > & |
q |
) |
[inline] |
float DualCoding::distSq |
( |
const NEWMAT::ColumnVector & |
vec |
) |
[inline] |
void drawHist |
( |
float |
distances[], |
|
|
unsigned int |
len, |
|
|
Sketch< bool > & |
parent | |
|
) |
| | |
void edge_draw |
( |
uchar * |
in, |
|
|
uchar * |
mid, |
|
|
int |
x_size, |
|
|
int |
y_size, |
|
|
int |
drawing_mode | |
|
) |
| | |
Shape<T> DualCoding::find_if |
( |
const std::vector< ShapeRoot > & |
vec |
) |
[inline] |
Shape<T> DualCoding::find_if |
( |
const std::vector< Shape< T > > & |
vec, |
|
|
PredType |
pred | |
|
) |
| | [inline] |
Find a Shape<T> satisfying pred.
Definition at line 225 of file ShapeFuns.h.
Shape< T > find_if |
( |
const std::vector< ShapeRoot > & |
vec, |
|
|
PredType |
pred | |
|
) |
| | [inline] |
Shape<T> DualCoding::find_shape |
( |
const std::vector< ShapeRoot > & |
vec, |
|
|
const std::string & |
name | |
|
) |
| | [inline] |
Point findEdgePoint |
( |
Point |
start, |
|
|
Point |
end, |
|
|
Sketch< bool > & |
rendering | |
|
) |
| | |
int findRadialDistancesFromPoint |
( |
Point |
center, |
|
|
float |
radius, |
|
|
Sketch< bool > & |
rendering, |
|
|
float |
distances[], |
|
|
Point |
points[] | |
|
) |
| | |
float getBoundingQuadrilateralInteriorPointRatio |
( |
BlobData & |
blob, |
|
|
vector< Point > & |
corners, |
|
|
ShapeSpace & |
space | |
|
) |
| | |
float getBoundingQuadrilateralScore |
( |
BlobData & |
blob, |
|
|
vector< Point > & |
corners, |
|
|
Sketch< bool > |
edgeImage, |
|
|
int & |
borderCount, |
|
|
ShapeSpace & |
space | |
|
) |
| | |
float getQuadrilateralArea |
( |
vector< Point > & |
corners |
) |
|
Point& DualCoding::leftMost |
( |
Point & |
pt1, |
|
|
Point & |
pt2 | |
|
) |
| | [inline] |
ShapeRoot DualCoding::max_element |
( |
const std::vector< ShapeRoot > & |
vec, |
|
|
ComparisonType |
comp | |
|
) |
| | [inline] |
Shape<T> DualCoding::max_element |
( |
const std::vector< Shape< T > > & |
vec, |
|
|
ComparisonType |
comp | |
|
) |
| | [inline] |
ShapeRoot DualCoding::min_element |
( |
const std::vector< ShapeRoot > & |
vec, |
|
|
ComparisonType |
comp | |
|
) |
| | [inline] |
Shape<T> DualCoding::min_element |
( |
const std::vector< Shape< T > > & |
vec, |
|
|
ComparisonType |
comp | |
|
) |
| | [inline] |
Sketch<bool>& DualCoding::operator &= |
( |
Sketch< bool > & |
arg1, |
|
|
Sketch< bool > const & |
arg2 | |
|
) |
| | |
std::ostream & operator<< |
( |
std::ostream & |
os, |
|
|
const SketchRoot & |
r | |
|
) |
| | |
std::ostream & operator<< |
( |
std::ostream & |
out, |
|
|
const SketchIndices & |
s | |
|
) |
| | |
std::ostream & operator<< |
( |
std::ostream & |
os, |
|
|
const ShapeRoot & |
r | |
|
) |
| | |
std::ostream & operator<< |
( |
std::ostream & |
out, |
|
|
const Point & |
p | |
|
) |
| | |
std::ostream & operator<< |
( |
ostream & |
os, |
|
|
const SLAMShapesParticle & |
p | |
|
) |
| | |
allows display of particles on console
Definition at line 105 of file PFShapeSLAM.cc.
std::ostream & operator<< |
( |
std::ostream & |
out, |
|
|
const PathPlanner::direction & |
d | |
|
) |
| | |
std::ostream & operator<< |
( |
std::ostream & |
os, |
|
|
const PfRoot & |
obj | |
|
) |
| | |
std::ostream & operator<< |
( |
std::ostream & |
out, |
|
|
const BoundingBox & |
b | |
|
) |
| | |
Sketch< bool > & operator^= |
( |
Sketch< bool > & |
arg1, |
|
|
Sketch< bool > const & |
arg2 | |
|
) |
| | |
Sketch< bool > & operator|= |
( |
Sketch< bool > & |
arg1, |
|
|
Sketch< bool > const & |
arg2 | |
|
) |
| | |
shortcircuit_or<PredType1,PredType2> DualCoding::OrPred |
( |
PredType1 |
p1, |
|
|
PredType2 |
p2 | |
|
) |
| | [inline] |
Disjunction of two predicates; p2 is called only if p1 returns false.
Definition at line 165 of file ShapeFuns.h.
int pickMove |
( |
vector< float > |
scores, |
|
|
float |
weight | |
|
) |
| | |
Point& DualCoding::rightMost |
( |
Point & |
pt1, |
|
|
Point & |
pt2 | |
|
) |
| | [inline] |
int DualCoding::round |
( |
float |
x |
) |
[inline] |
std::vector<Shape<T> > DualCoding::select_type |
( |
std::vector< ShapeRoot > & |
vec |
) |
[inline] |
Select the Shape<T> elements from a vector of ShapeRoots.
Definition at line 255 of file ShapeFuns.h.
void setup_brightness_lut |
( |
uchar ** |
bp, |
|
|
int |
thresh, |
|
|
int |
form | |
|
) |
| | |
DualCoding::SHAPESTUFF_CC |
( |
TargetData |
|
) |
|
DualCoding::SHAPESTUFF_CC |
( |
SphereData |
|
) |
|
DualCoding::SHAPESTUFF_CC |
( |
PyramidData |
|
) |
|
DualCoding::SHAPESTUFF_CC |
( |
PolygonData |
|
) |
|
DualCoding::SHAPESTUFF_CC |
( |
PointData |
|
) |
|
DualCoding::SHAPESTUFF_CC |
( |
LocalizationParticleData |
|
) |
|
DualCoding::SHAPESTUFF_CC |
( |
LineData |
|
) |
|
DualCoding::SHAPESTUFF_CC |
( |
EllipseData |
|
) |
|
DualCoding::SHAPESTUFF_CC |
( |
BrickData |
|
) |
|
DualCoding::SHAPESTUFF_CC |
( |
BlobData |
|
) |
|
DualCoding::SHAPESTUFF_CC |
( |
AgentData |
|
) |
|
std::vector<ShapeRoot> DualCoding::stable_sort |
( |
const std::vector< ShapeRoot > & |
vec, |
|
|
PredType |
pred | |
|
) |
| | [inline] |
std::vector<Shape<T> > DualCoding::stable_sort |
( |
const std::vector< Shape< T > > & |
vec, |
|
|
PredType |
pred | |
|
) |
| | [inline] |
std::vector< T > subset |
( |
const std::vector< ShapeRoot > & |
vec, |
|
|
PredType |
pred | |
|
) |
| | [inline] |
Find all elements in a vector of ShapeRoot satisfying pred.
Find all elements of type T in a vector of ShapeRoot satisfying pred.
Definition at line 277 of file ShapeFuns.h.
std::vector<Shape<T> > DualCoding::subset |
( |
const std::vector< Shape< T > > & |
vec, |
|
|
PredType |
pred | |
|
) |
| | [inline] |
Find all elements in a vector of Shape<T> satisfying pred.
Definition at line 267 of file ShapeFuns.h.
void susan_edges_internal |
( |
uchar * |
in, |
|
|
int * |
r, |
|
|
uchar * |
mid, |
|
|
uchar * |
bp, |
|
|
int |
max_no, |
|
|
int |
x_size, |
|
|
int |
y_size | |
|
) |
| | |
void DualCoding::susan_principle |
( |
uchar * |
in, |
|
|
int * |
r, |
|
|
uchar ** |
bp, |
|
|
int |
max_no, |
|
|
int |
x_size, |
|
|
int |
y_size | |
|
) |
| | |
void DualCoding::susan_principle |
( |
uchar * |
in, |
|
|
int * |
r, |
|
|
uchar * |
bp, |
|
|
int |
max_no, |
|
|
int |
x_size, |
|
|
int |
y_size | |
|
) |
| | |
void susan_thin |
( |
int * |
r, |
|
|
uchar * |
mid, |
|
|
int |
x_size, |
|
|
int |
y_size | |
|
) |
| | |
void takeDerivative |
( |
float |
x[], |
|
|
float |
dx[], |
|
|
int |
len | |
|
) |
| | |
Point& DualCoding::topMost |
( |
Point & |
pt1, |
|
|
Point & |
pt2 | |
|
) |
| | [inline] |
Variable Documentation
const unsigned int CAM_LAYER = ProjectInterface::fullLayer [static] |
typedef unsigned short int uint |
Definition at line 40 of file Sketch.cc.
Referenced by visops::areacc(), visops::bdist(), LineData::clearLine(), visops::convolve(), visops::edist(), EllipseData::extractEllipses(), LineData::extractLine(), Region::extractRegions(), SphereData::extractSpheres(), visops::fillExterior(), visops::fillExteriorHelper(), LineData::houghTransform(), Region::isContained(), visops::labelcc(), visops::minArea(), SketchSpace::requireIdx(), visops::seedfill(), LineData::splitLine(), and visops::templateMatch().
|