Homepage Demos Overview Downloads Tutorials Reference
Credits

DualCoding Namespace Reference


Detailed Description

Dual coding vision representations (Sketches and Shapes).


Classes

class  AgentData
class  BoundingBox
class  BaseData
class  BlobData
 Blob shapes, described by bounding boxes and an optional list of runs. More...
class  BrickData
class  EllipseData
class  EndPoint
class  LineData
class  Lookout
class  LookoutRequest
class  PointAtBase
class  PointAtRequest
class  StoreImageRequest
class  StoreImageAtRequest
class  StoreModeImageRequest
class  StoreModeImageAtRequest
class  MeasureDistanceRequest
class  MeasureDistanceAtRequest
class  ScanRequest
class  ScanAlongLineRequest
class  ScanAreaRequest
class  TrackRequest
class  MapBuilder
class  MapBuilderRequest
class  TakeSnapRequest
class  TakeSnapAtRequest
class  LocalMapRequest
class  LocalMapTestRequest
class  WorldMapRequest
class  WorldMapTestRequest
class  AngPi
 Circular arithmetic on angles between 0 and pi (180 degrees). More...
class  AngTwoPi
 Circular arithmetic on angles between 0 and two pi (360 degrees). More...
class  AngSignPi
 Circular arithmetic on angles between -pi and pi (360 degrees). More...
class  Particle
 Each Particle represents a hypothesis about the match of the local map to the world map. More...
class  ParticleFilter
 ParticleFilter localizes the robot by matching local shapes against world shapes. More...
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  PilotRequest
class  Pilot
class  Point
class  PointData
class  convexHullPoint
class  PolygonData
class  PyramidData
class  Region
class  Shape< AgentData >
class  Shape< BlobData >
class  Shape< BrickData >
class  Shape< EllipseData >
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  Shape< LineData >
class  Shape< PointData >
class  Shape< PolygonData >
class  Shape< PyramidData >
class  ShapeRoot
 Parent class for all Shape<T>. More...
class  ShapeSpace
 Holds a collection of diverse shapes such as LineData or EllipseData. More...
class  Shape< SphereData >
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  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...
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.
 DEF_MATHOPS_H (bool, uchar, uchar) DEF_MATHOPS_H(bool
 non-member math operators
usint DEF_MATHOPS_H (bool, float, float) DEF_MATHOPS_H(uchar
 non-member math operators
usint uchar DEF_MATHOPS_H (uchar, uchar, uchar) DEF_MATHOPS_H(uchar
 non-member math operators
usint uchar usint DEF_MATHOPS_H (uchar, float, float) DEF_MATHOPS_H(usint
 non-member math operators
usint uchar usint usint DEF_MATHOPS_H (usint, uchar, usint) DEF_MATHOPS_H(usint
 non-member math operators
usint uchar usint usint usint DEF_MATHOPS_H (usint, float, float) DEF_MATHOPS_H(float
 non-member math operators
usint uchar usint usint usint
float 
DEF_MATHOPS_H (float, uchar, float) DEF_MATHOPS_H(float
 non-member math operators
usint uchar usint usint usint
float float 
DEF_MATHOPS_H (float, float, float) DEF_MATHOPS_INT_H(uchar) DEF_MATHOPS_INT_H(usint) 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
 usint
 non-member math operators
usint bool
 non-member math operators
usint uchar usint
 non-member math operators
usint uchar usint bool
 non-member math operators
usint uchar usint usint usint
 non-member math operators
usint uchar usint usint usint bool
 non-member math operators
usint uchar usint usint usint
float 
usint
 non-member math operators

Typedefs

typedef SegmentedColorGenerator::color_class_state color_class_state
typedef map< ShapeType_t,
set< int > > 
colorMap
typedef float coordinate_t
 type used for positional coordinates
typedef float orientation_t
 type used for orientation values (0 to Pi)
typedef float direction_t
 type used for direction values (0 to 2*Pi)
typedef coordinate_t Slope
 type used for ratio of coordinate offsets
typedef unsigned char uchar
typedef unsigned short int usint
typedef unsigned char uchar
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, numDataTypes
}
enum  SketchType_t {
  sketchUnknown = 0, sketchBool, sketchUchar, sketchUsint,
  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)
float getIR ()
float distSq (const NEWMAT::ColumnVector &vec)
AngPi angdist (AngPi const &arg1, AngPi const &arg2)
 Angular distance: value is between 0 and pi.
AngPi angdist (AngTwoPi const &arg1, AngTwoPi const &arg2)
 Angular distance: value is between 0 and pi.
AngPi angdist (AngSignPi const &arg1, AngSignPi const &arg2)
 Angular distance: value is between 0 and pi.
ostream & operator<< (ostream &os, const Particle &p)
ostream & operator<< (ostream &os, const PfRoot &obj)
ostream & operator<< (ostream &os, const PfRoot &x)
std::ostream & operator<< (std::ostream &out, const PathPlanner::direction &d)
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<class T, typename PredType>
Shape< T > find_if (const vector< Shape< T > > &vec, PredType pred)
template<class T>
Shape< T > find_shape (const 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)
template<class T, typename ComparisonType>
Shape< T > max_element (const vector< Shape< T > > &vec, ComparisonType comp)
template<class T, typename ComparisonType>
Shape< T > min_element (const vector< Shape< T > > &vec, ComparisonType comp)
template<class T, typename PredType>
std::vector< Shape< T > > stable_sort (const std::vector< Shape< T > > &vec, PredType pred)
 DIRECTION_PAIR (LeftOf, RightOf) DIRECTION_PAIR(Above
 SHAPESTUFF_CC (LineData)
 SHAPESTUFF_CC (PointData)
 SHAPESTUFF_CC (PolygonData)
 SHAPESTUFF_CC (PyramidData)
std::ostream & operator<< (std::ostream &os, const ShapeRoot &r)
 SHAPESTUFF_CC (SphereData)
const char * data_name (int data_type)
 DEF_MATHOPS_CC (bool, uchar, uchar) DEF_MATHOPS_CC(bool
usint DEF_MATHOPS_CC (bool, float, float) DEF_MATHOPS_CC(uchar
usint uchar DEF_MATHOPS_CC (uchar, uchar, uchar) DEF_MATHOPS_CC(uchar
usint uchar usint DEF_MATHOPS_CC (uchar, float, float) DEF_MATHOPS_CC(usint
usint uchar usint usint DEF_MATHOPS_CC (usint, uchar, usint) DEF_MATHOPS_CC(usint
usint uchar usint usint usint DEF_MATHOPS_CC (usint, float, float) DEF_MATHOPS_CC(float
usint uchar usint usint usint
float 
DEF_MATHOPS_CC (float, uchar, float) DEF_MATHOPS_CC(float
usint uchar usint usint usint
float float 
DEF_MATHOPS_CC (float, float, float) DEF_MATHOPS_INT_CC(uchar) DEF_MATHOPS_INT_CC(usint) 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)
 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)
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

Variables

const direction_t Pi = M_PI
 shorthand for M_PI from math.h
const direction_t TwoPi = 2*M_PI
 shorthand for 2*M_PI
const Slope BIG_SLOPE = 5000.0
 slopes larger than this are considered vertical, or in other words, infinite slopes are rounded to this
 usint
usint bool
usint uchar usint
usint uchar usint bool
usint uchar usint usint usint
usint uchar usint usint usint bool
usint uchar usint usint usint
float 
usint
const std::string SketchTypeNames [] = {"unknown","bool","uchar","usint","float"}
static const unsigned int DIALOG_BUFFER_SIZE = 20000
static const unsigned int RLE_BUFFER_SIZE = 80000
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.cfg
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 map<ShapeType_t,set<int> > colorMap

Definition at line 28 of file MapBuilder.cc.

typedef float coordinate_t

type used for positional coordinates

Definition at line 8 of file Measures.h.

typedef float orientation_t

type used for orientation values (0 to Pi)

Definition at line 9 of file Measures.h.

typedef float direction_t

type used for direction values (0 to 2*Pi)

Definition at line 10 of file Measures.h.

type used for ratio of coordinate offsets

Definition at line 15 of file Measures.h.

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.

typedef unsigned char uchar

Definition at line 11 of file susan.h.

typedef unsigned char cmap_t

Definition at line 28 of file VRmixin.h.


Enumeration Type Documentation

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 
numDataTypes 

Definition at line 16 of file ShapeTypes.h.

Enumerator:
sketchUnknown 
sketchBool 
sketchUchar 
sketchUsint 
sketchFloat 

Definition at line 12 of file SketchTypes.h.

Enumerator:
segMap 
grayMap 
jetMap 
jetMapScaled 

Definition at line 22 of file SketchTypes.h.


Function Documentation

DualCoding::DATASTUFF_CC ( AgentData   ) 

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

Definition at line 26 of file BaseData.cc.

DualCoding::DATASTUFF_CC ( BlobData   ) 

DualCoding::DATASTUFF_CC ( BrickData   ) 

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

Definition at line 10 of file BrickOps.cc.

Referenced by findRadialDistancesFromPoint().

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

Definition at line 48 of file BrickOps.cc.

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

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

Definition at line 92 of file BrickOps.cc.

Referenced by BlobData::findCornersDerivative().

void applyGaussian ( float  x[],
float  gx[],
int  len 
)

Definition at line 102 of file BrickOps.cc.

Referenced by BlobData::findCornersDerivative().

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

Definition at line 119 of file BrickOps.cc.

Referenced by BlobData::findCornersDerivative().

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

Definition at line 164 of file BrickOps.cc.

Referenced by BlobData::findCornersShapeFit().

float getQuadrilateralArea ( vector< Point > &  corners  ) 

Definition at line 183 of file BrickOps.cc.

Referenced by getBoundingQuadrilateralScore().

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

Definition at line 204 of file BrickOps.cc.

Referenced by BlobData::findCornersShapeFit().

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

Definition at line 336 of file BrickOps.cc.

Referenced by getBoundingQuadrilateralScore().

int pickMove ( vector< float >  scores,
float  weight 
)

Definition at line 374 of file BrickOps.cc.

Referenced by BlobData::findCornersShapeFit().

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

Definition at line 25 of file EllipseData.cc.

Referenced by EllipseData::render().

DualCoding::DATASTUFF_CC ( EllipseData   ) 

DualCoding::DATASTUFF_CC ( LineData   ) 

float DualCoding::getIR (  )  [inline]

Definition at line 25 of file Lookout.cc.

Referenced by Lookout::processPointAt(), and Lookout::storeIRDataTo().

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

Definition at line 30 of file MapBuilder.cc.

Referenced by PathPlanner::initialize(), and MapBuilder::isPointVisible().

AngPi angdist ( AngPi const &  arg1,
AngPi const &  arg2 
)

Angular distance: value is between 0 and pi.

Definition at line 21 of file Measures.cc.

Referenced by LineData::PerpendicularTest::operator()(), and LineData::ParallelTest::operator()().

AngPi angdist ( AngTwoPi const &  arg1,
AngTwoPi const &  arg2 
)

Angular distance: value is between 0 and pi.

Definition at line 43 of file Measures.cc.

AngPi angdist ( AngSignPi const &  arg1,
AngSignPi const &  arg2 
)

Angular distance: value is between 0 and pi.

Definition at line 65 of file Measures.cc.

ostream & operator<< ( ostream &  os,
const Particle &  p 
)

Definition at line 10 of file Particle.cc.

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

Definition at line 117 of file ParticleShapes.cc.

ostream& DualCoding::operator<< ( ostream &  os,
const PfRoot &  x 
)

std::ostream & operator<< ( std::ostream &  out,
const PathPlanner::direction d 
)

Definition at line 345 of file PathPlanner.cc.

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

Definition at line 203 of file Point.cc.

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

Definition at line 118 of file Point.h.

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

Definition at line 119 of file Point.h.

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

Definition at line 120 of file Point.h.

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

Definition at line 121 of file Point.h.

DualCoding::DATASTUFF_CC ( PointData   ) 

DualCoding::DATASTUFF_CC ( PolygonData   ) 

DualCoding::DATASTUFF_CC ( PyramidData   ) 

DualCoding::SHAPESTUFF_CC ( AgentData   ) 

DualCoding::SHAPESTUFF_CC ( BlobData   ) 

DualCoding::SHAPESTUFF_CC ( BrickData   ) 

DualCoding::SHAPESTUFF_CC ( EllipseData   ) 

shortcircuit_and<PredType1,PredType2> DualCoding::andPred ( PredType1  p1,
PredType2  p2 
)

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 155 of file ShapeFuns.h.

shortcircuit_or<PredType1,PredType2> DualCoding::orPred ( PredType1  p1,
PredType2  p2 
)

Disjunction of two predicates; p2 is called only if p1 returns false.

Definition at line 161 of file ShapeFuns.h.

Shape<T> DualCoding::find_if ( const vector< Shape< T > > &  vec,
PredType  pred 
)

Definition at line 199 of file ShapeFuns.h.

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

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

Definition at line 209 of file ShapeFuns.h.

std::vector<Shape<T> > DualCoding::select_type ( std::vector< ShapeRoot > &  vec  ) 

Select the Shape<T> elements from a vector of ShapeRoots.

Definition at line 219 of file ShapeFuns.h.

std::vector<Shape<T> > DualCoding::subset ( const std::vector< Shape< T > > &  vec,
PredType  pred 
)

Definition at line 230 of file ShapeFuns.h.

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

Definition at line 239 of file ShapeFuns.h.

Referenced by min_element().

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

Definition at line 248 of file ShapeFuns.h.

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

Definition at line 254 of file ShapeFuns.h.

Referenced by BrickData::findBricks().

DualCoding::DIRECTION_PAIR ( LeftOf  ,
RightOf   
)

DualCoding::SHAPESTUFF_CC ( LineData   ) 

DualCoding::SHAPESTUFF_CC ( PointData   ) 

DualCoding::SHAPESTUFF_CC ( PolygonData   ) 

DualCoding::SHAPESTUFF_CC ( PyramidData   ) 

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

Definition at line 83 of file ShapeRoot.cc.

DualCoding::SHAPESTUFF_CC ( SphereData   ) 

const char * data_name ( int  data_type  ) 

Definition at line 7 of file ShapeTypes.cc.

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

DualCoding::DEF_MATHOPS_CC ( bool  ,
uchar  ,
uchar   
)

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

usint uchar DualCoding::DEF_MATHOPS_CC ( uchar  ,
uchar  ,
uchar   
)

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

usint uchar usint usint DualCoding::DEF_MATHOPS_CC ( usint  ,
uchar  ,
usint   
)

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

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

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

Definition at line 56 of file Sketch.cc.

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

Definition at line 126 of file Sketch.cc.

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

Definition at line 131 of file Sketch.cc.

DualCoding::DEF_MATHOPS_H ( bool  ,
uchar  ,
uchar   
)

non-member math operators

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

non-member math operators

usint uchar DualCoding::DEF_MATHOPS_H ( uchar  ,
uchar  ,
uchar   
)

non-member math operators

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

non-member math operators

usint uchar usint usint DualCoding::DEF_MATHOPS_H ( usint  ,
uchar  ,
usint   
)

non-member math operators

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

non-member math operators

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

non-member math operators

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

non-member math operators

Definition at line 349 of file Sketch.h.

DualCoding::DEFINE_LOGICAL_OPERATOR (  ) 

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

utility function used by type conversion operators

Definition at line 506 of file Sketch.h.

Referenced by DEF_MATHOPS_CC(), Sketch::operator Sketch(), and Sketch< uchar >::operator Sketch().

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 SketchRoot &  r 
)

Definition at line 20 of file SketchRoot.cc.

DualCoding::DATASTUFF_CC ( SphereData   ) 

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().

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 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 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().

void DualCoding::susan_principle ( uchar in,
int *  r,
uchar **  bp,
int  max_no,
int  x_size,
int  y_size 
)

static SketchSpace& DualCoding::createStaticSkS ( const std::string &  _name  )  [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 28 of file VRmixin.cc.


Variable Documentation

const direction_t Pi = M_PI

shorthand for M_PI from math.h

Definition at line 12 of file Measures.h.

Referenced by angdist(), AngPi::AngPi(), and AngSignPi::AngSignPi().

const direction_t TwoPi = 2*M_PI

shorthand for 2*M_PI

Definition at line 13 of file Measures.h.

Referenced by angdist(), AngSignPi::AngSignPi(), and AngTwoPi::AngTwoPi().

const Slope BIG_SLOPE = 5000.0

slopes larger than this are considered vertical, or in other words, infinite slopes are rounded to this

Definition at line 16 of file Measures.h.

Referenced by LineData::extractLine(), LineData::houghTransform(), visops::leftHalfPlane(), LineData::lineEquation_abc(), LineData::lineEquation_abc_xz(), LineData::lineEquation_mb(), and visops::topHalfPlane().

Definition at line 43 of file Sketch.cc.

Definition at line 45 of file Sketch.cc.

Definition at line 48 of file Sketch.cc.

Definition at line 50 of file Sketch.cc.

Definition at line 53 of file Sketch.cc.

Definition at line 55 of file Sketch.cc.

non-member math operators

Definition at line 333 of file Sketch.h.

non-member math operators

Definition at line 336 of file Sketch.h.

non-member math operators

Definition at line 338 of file Sketch.h.

non-member math operators

Definition at line 341 of file Sketch.h.

non-member math operators

Definition at line 343 of file Sketch.h.

non-member math operators

Definition at line 346 of file Sketch.h.

non-member math operators

Definition at line 348 of file Sketch.h.

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

Definition at line 20 of file SketchTypes.h.

Referenced by operator<<().

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 int RLE_BUFFER_SIZE = 80000 [static]

Definition at line 13 of file ViewerConnection.h.

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

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

the full resolution layer in the filter bank

Definition at line 16 of file ViewerConnection.h.

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

const unsigned int CAM_CHANNEL = 0 [static]

corresponds to appropriate thresholding listed in tekkotsu.cfg

Definition at line 17 of file ViewerConnection.h.

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

const unsigned int WORLD_WIDTH = 225 [static]

Definition at line 18 of file ViewerConnection.h.

const unsigned int WORLD_HEIGHT = 225 [static]

Definition at line 19 of file ViewerConnection.h.

const unsigned short CAM_DIALOG_PORT = 5800 [static]

Definition at line 21 of file ViewerConnection.h.

Referenced by VRmixin::VRmixin().

const unsigned short CAM_RLE_PORT = 5801 [static]

Definition at line 22 of file ViewerConnection.h.

Referenced by VRmixin::VRmixin().

const unsigned short LOCAL_DIALOG_PORT = 5802 [static]

Definition at line 23 of file ViewerConnection.h.

Referenced by VRmixin::VRmixin().

const unsigned short LOCAL_RLE_PORT = 5803 [static]

Definition at line 24 of file ViewerConnection.h.

Referenced by VRmixin::VRmixin().

const unsigned short WORLD_DIALOG_PORT = 5804 [static]

Definition at line 25 of file ViewerConnection.h.

Referenced by VRmixin::VRmixin().

const unsigned short WORLD_RLE_PORT = 5805 [static]

Definition at line 26 of file ViewerConnection.h.

Referenced by VRmixin::VRmixin().


DualCoding 3.0beta
Generated Wed Oct 4 00:02:24 2006 by Doxygen 1.4.7