Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

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)
PointleftMost (Point &pt1, Point &pt2)
PointrightMost (Point &pt1, Point &pt2)
PointtopMost (Point &pt1, Point &pt2)
PointbottomMost (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< ShapeRootsubset (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< ShapeRootstable_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 SketchSpacecreateStaticSkS (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 cmap_t

Definition at line 29 of file VRmixin.h.

typedef SegmentedColorGenerator::color_class_state color_class_state

Definition at line 408 of file Lookout.cc.

typedef unsigned char uchar

Definition at line 9 of file SketchTypes.h.

typedef unsigned short int usint

Definition at line 10 of file SketchTypes.h.


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 
)

Definition at line 104 of file BrickOps.cc.

Referenced by BlobData::findCornersDerivative().

Point& DualCoding::bottomMost ( Point &  pt1,
Point &  pt2 
) [inline]

Definition at line 125 of file Point.h.

void DualCoding::copyPixels ( Sketch< A > &  dest,
const Sketch< B > &  src 
) [inline]

int countBorderPixelFit ( BlobData &  blob,
const vector< Point > &  corners,
Sketch< bool >  edges,
ShapeSpace &  space 
)

Definition at line 338 of file BrickOps.cc.

Referenced by getBoundingQuadrilateralScore().

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  ) 

Definition at line 7 of file ShapeTypes.cc.

Referenced by BaseData::getTypeName(), and ShapeSpace::printSummary().

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 uint uint float float DualCoding::DEF_MATHOPS_CC ( float  ,
float  ,
float   
)

Type constraints

Definition at line 56 of file Sketch.cc.

uint uchar uint uint uint float DualCoding::DEF_MATHOPS_CC ( float  ,
uchar  ,
float   
)

Type constraints

uint uchar uint uint uint DualCoding::DEF_MATHOPS_CC ( uint  ,
float  ,
float   
)

Type constraints

uint uchar uint uint DualCoding::DEF_MATHOPS_CC ( uint  ,
uchar  ,
uint   
)

Type constraints

uint uchar uint DualCoding::DEF_MATHOPS_CC ( uchar  ,
float  ,
float   
)

Type constraints

uint uchar DualCoding::DEF_MATHOPS_CC ( uchar  ,
uchar  ,
uchar   
)

Type constraints

uint DualCoding::DEF_MATHOPS_CC ( bool  ,
float  ,
float   
)

Type constraints

DualCoding::DEF_MATHOPS_CC ( bool  ,
uchar  ,
uchar   
)

uint uchar uint uint uint float float DualCoding::DEF_MATHOPS_H ( float  ,
float  ,
float   
)

non-member math operators

Type constraints

Definition at line 349 of file Sketch.h.

uint uchar uint uint uint float DualCoding::DEF_MATHOPS_H ( float  ,
uchar  ,
float   
)

non-member math operators

Type constraints

uint uchar uint uint uint DualCoding::DEF_MATHOPS_H ( uint  ,
float  ,
float   
)

non-member math operators

Type constraints

uint uchar uint uint DualCoding::DEF_MATHOPS_H ( uint  ,
uchar  ,
uint   
)

non-member math operators

Type constraints

uint uchar uint DualCoding::DEF_MATHOPS_H ( uchar  ,
float  ,
float   
)

non-member math operators

Type constraints

uint uchar DualCoding::DEF_MATHOPS_H ( uchar  ,
uchar  ,
uchar   
)

non-member math operators

Type constraints

uint DualCoding::DEF_MATHOPS_H ( bool  ,
float  ,
float   
)

non-member math operators

Type constraints

DualCoding::DEF_MATHOPS_H ( bool  ,
uchar  ,
uchar   
)

non-member math operators

DualCoding::DEFINE_LOGICAL_OPERATOR (  ) 

void DualCoding::deleteAll ( std::queue< T * > &  q  )  [inline]

Utility function for deleting queues of pointers to Lookout or MapBuilder requests.

Definition at line 238 of file MapBuilder.h.

float DualCoding::distSq ( const NEWMAT::ColumnVector &  vec  )  [inline]

Definition at line 35 of file MapBuilder.cc.

Referenced by PathPlanner::initialize().

void drawHist ( float  distances[],
unsigned int  len,
Sketch< bool > &  parent 
)

Definition at line 121 of file BrickOps.cc.

Referenced by BlobData::findCornersDerivative().

void edge_draw ( uchar *  in,
uchar *  mid,
int  x_size,
int  y_size,
int  drawing_mode 
)

Definition at line 863 of file susan.cc.

Referenced by visops::susan_edge_points(), and visops::susan_edges().

Shape<T> DualCoding::find_if ( const std::vector< ShapeRoot > &  vec  )  [inline]

Find a Shape<T> in a vector of ShapeRoot.

Definition at line 235 of file ShapeFuns.h.

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]

Find a ShapeRoot satisfying pred.

Find a Shape<T> in a vector of ShapeRoot satisfying pred.

Definition at line 204 of file ShapeFuns.h.

Referenced by find_if().

Shape<T> DualCoding::find_shape ( const std::vector< ShapeRoot > &  vec,
const std::string &  name 
) [inline]

Return the first ShapeRoot with the specified name, else return an invalid ShapeRoot.

Definition at line 245 of file ShapeFuns.h.

Point findEdgePoint ( Point  start,
Point  end,
Sketch< bool > &  rendering 
)

Definition at line 12 of file BrickOps.cc.

Referenced by findRadialDistancesFromPoint().

int findRadialDistancesFromPoint ( Point  center,
float  radius,
Sketch< bool > &  rendering,
float  distances[],
Point  points[] 
)

Definition at line 50 of file BrickOps.cc.

Referenced by BlobData::findCornersDerivative(), and BlobData::findCornersDiagonal().

float getBoundingQuadrilateralInteriorPointRatio ( BlobData &  blob,
vector< Point > &  corners,
ShapeSpace &  space 
)

Definition at line 206 of file BrickOps.cc.

Referenced by BlobData::findCornersShapeFit().

float getBoundingQuadrilateralScore ( BlobData &  blob,
vector< Point > &  corners,
Sketch< bool >  edgeImage,
int &  borderCount,
ShapeSpace &  space 
)

Definition at line 166 of file BrickOps.cc.

Referenced by BlobData::findCornersShapeFit().

float getQuadrilateralArea ( vector< Point > &  corners  ) 

Definition at line 185 of file BrickOps.cc.

Referenced by getBoundingQuadrilateralScore().

Point& DualCoding::leftMost ( Point &  pt1,
Point &  pt2 
) [inline]

Definition at line 122 of file Point.h.

ShapeRoot DualCoding::max_element ( const std::vector< ShapeRoot > &  vec,
ComparisonType  comp 
) [inline]

Definition at line 306 of file ShapeFuns.h.

Shape<T> DualCoding::max_element ( const std::vector< Shape< T > > &  vec,
ComparisonType  comp 
) [inline]

Definition at line 297 of file ShapeFuns.h.

Referenced by max_element(), and min_element().

ShapeRoot DualCoding::min_element ( const std::vector< ShapeRoot > &  vec,
ComparisonType  comp 
) [inline]

Definition at line 321 of file ShapeFuns.h.

Shape<T> DualCoding::min_element ( const std::vector< Shape< T > > &  vec,
ComparisonType  comp 
) [inline]

Definition at line 315 of file ShapeFuns.h.

Sketch<bool>& DualCoding::operator &= ( Sketch< bool > &  arg1,
Sketch< bool > const &  arg2 
)

Definition at line 126 of file Sketch.cc.

std::ostream & operator<< ( std::ostream &  os,
const SketchRoot &  r 
)

Definition at line 20 of file SketchRoot.cc.

std::ostream & operator<< ( std::ostream &  out,
const SketchIndices &  s 
)

prints out SketchIndices for debugging

Definition at line 32 of file SketchIndices.cc.

std::ostream & operator<< ( std::ostream &  os,
const ShapeRoot &  r 
)

Definition at line 85 of file ShapeRoot.cc.

std::ostream & operator<< ( std::ostream &  out,
const Point &  p 
)

Definition at line 222 of file Point.cc.

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 
)

Definition at line 345 of file PathPlanner.cc.

std::ostream & operator<< ( std::ostream &  os,
const PfRoot &  obj 
)

Definition at line 117 of file ParticleShapes.cc.

std::ostream & operator<< ( std::ostream &  out,
const BoundingBox &  b 
)

Definition at line 28 of file BaseData.cc.

Sketch< bool > & operator^= ( Sketch< bool > &  arg1,
Sketch< bool > const &  arg2 
)

Definition at line 136 of file Sketch.cc.

Sketch< bool > & operator|= ( Sketch< bool > &  arg1,
Sketch< bool > const &  arg2 
)

Definition at line 131 of file Sketch.cc.

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 
)

Definition at line 376 of file BrickOps.cc.

Referenced by BlobData::findCornersShapeFit().

Point& DualCoding::rightMost ( Point &  pt1,
Point &  pt2 
) [inline]

Definition at line 123 of file Point.h.

int DualCoding::round ( float  x  )  [inline]

Definition at line 27 of file EllipseData.cc.

Referenced by EllipseData::render().

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 
)

Definition at line 304 of file susan.cc.

Referenced by visops::susan_edge_points(), and visops::susan_edges().

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]

Definition at line 333 of file ShapeFuns.h.

std::vector<Shape<T> > DualCoding::stable_sort ( const std::vector< Shape< T > > &  vec,
PredType  pred 
) [inline]

Definition at line 326 of file ShapeFuns.h.

Referenced by BrickData::findBricks(), and stable_sort().

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 
)

Definition at line 624 of file susan.cc.

Referenced by visops::susan_edge_points(), and visops::susan_edges().

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 
)

Definition at line 332 of file susan.cc.

void susan_thin ( int *  r,
uchar *  mid,
int  x_size,
int  y_size 
)

Definition at line 412 of file susan.cc.

Referenced by visops::susan_edge_points(), and visops::susan_edges().

void takeDerivative ( float  x[],
float  dx[],
int  len 
)

Definition at line 94 of file BrickOps.cc.

Referenced by BlobData::findCornersDerivative().

Point& DualCoding::topMost ( Point &  pt1,
Point &  pt2 
) [inline]

Definition at line 124 of file Point.h.


Variable Documentation

Definition at line 43 of file Sketch.cc.

const unsigned int CAM_CHANNEL = 0 [static]

corresponds to appropriate thresholding listed in tekkotsu.xml

Definition at line 20 of file ViewerConnection.h.

Referenced by VRmixin::getBlobsFromRegionGenerator(), SketchData::saveBuffer(), and VRmixin::sketchFromSeg().

const unsigned short CAM_DIALOG_PORT = 5800 [static]

Definition at line 24 of file ViewerConnection.h.

Referenced by VRmixin::VRmixin().

const unsigned int CAM_LAYER = ProjectInterface::fullLayer [static]

the full resolution layer in the filter bank

Definition at line 19 of file ViewerConnection.h.

Referenced by VRmixin::getBlobsFromRegionGenerator(), SketchData::saveBuffer(), VRmixin::sketchFromChannel(), and VRmixin::sketchFromSeg().

const unsigned short CAM_RLE_PORT = 5801 [static]

Definition at line 25 of file ViewerConnection.h.

Referenced by VRmixin::VRmixin().

const unsigned int DIALOG_BUFFER_SIZE = 20000 [static]

Definition at line 12 of file ViewerConnection.h.

Referenced by VRmixin::VRmixin(), and ViewerConnection::writeBigString().

const unsigned short LOCAL_DIALOG_PORT = 5802 [static]

Definition at line 26 of file ViewerConnection.h.

Referenced by VRmixin::VRmixin().

const unsigned short LOCAL_RLE_PORT = 5803 [static]

Definition at line 27 of file ViewerConnection.h.

Referenced by VRmixin::VRmixin().

const unsigned int RLE_BUFFER_SIZE = 70000 [static]

Definition at line 15 of file ViewerConnection.h.

Referenced by VRmixin::rleEncodeSketch(), and VRmixin::VRmixin().

const std::string SketchTypeNames[] = {"unknown","bool","uchar","uint","float"}

Definition at line 26 of file SketchTypes.h.

Referenced by operator<<().

const unsigned short WORLD_DIALOG_PORT = 5804 [static]

Definition at line 28 of file ViewerConnection.h.

Referenced by VRmixin::VRmixin().

const unsigned int WORLD_HEIGHT = 225 [static]

Definition at line 22 of file ViewerConnection.h.

const unsigned short WORLD_RLE_PORT = 5805 [static]

Definition at line 29 of file ViewerConnection.h.

Referenced by VRmixin::VRmixin().

const unsigned int WORLD_WIDTH = 225 [static]

Definition at line 21 of file ViewerConnection.h.


DualCoding 4.0
Generated Thu Nov 22 00:53:55 2007 by Doxygen 1.5.4