| Homepage | Demos | Overview | Downloads | Tutorials | Reference | Credits |
visops Namespace ReferenceDetailed DescriptionVisual routines operators, used in DualCoding.
Enumeration Type Documentation
Function Documentation
Returns a copy of the sketch.
Definition at line 33 of file visops.h. Referenced by LineData::extractLines(), fillin(), non_bounds(), DualCoding::operator<<(), and susan_edges().
Returns an all-zero Sketch<bool> in the specified sketch space.
Definition at line 12 of file visops.cc. Referenced by DualCoding::drawHist(), DualCoding::findRadialDistancesFromPoint(), MapBuilder::getCamLines(), MapBuilder::getCamPolygons(), horsym(), labelcc(), leftHalfPlane(), PolygonData::render(), susan_edge_points(), topHalfPlane(), and versym().
Returns all the pixels of the named color.
Definition at line 25 of file visops.cc. Referenced by MapBuilder::getCamEllipses(), MapBuilder::getCamLines(), MapBuilder::getCamPolygons(), MapBuilder::getCamSpheres(), and MapBuilder::getCamWalls().
Calculates the distance from each pixel in the image to the closest true pixel in dest, using the wavefront algorithm. Obstacles indicated by true values in pixels of obst.
Definition at line 35 of file visops.cc. Referenced by PolygonData::render(). Euclidean distance to the nearest true pixel in dest. Should calculate the Euclidean distance from each pixel in the image to the closest true pixel in dest, using a linear-time algorithm. Currently calculates Manhattan distance, which is good enough. Should be used instead of bdist if not concerned about obstacles. Definition at line 70 of file visops.cc. Referenced by LineData::clearLine(), BrickData::extractBrick(), LineData::extractLine(), PyramidData::extractPyramid(), MapBuilder::getCamWalls(), LineData::houghTransform(), and LineData::splitLine().
Old connected-components code written using pure sketch primitives. Returns a connected-components labeling of the foreground. Each different foreground region will contain a unique positive integer. No guarantees on the integer values. Definition at line 177 of file visops.cc. Referenced by areacc(), EllipseData::extractEllipses(), LineData::extractLine(), SphereData::extractSpheres(), and seedfill().
Low-pass filter by eliminating small regions.
Definition at line 299 of file visops.cc. Referenced by MapBuilder::getCamLines().
For each pixel, calculate the sum of its neighbors.
Definition at line 306 of file visops.cc. Referenced by PolygonData::convexHull(), fillin(), and BlobData::findCornersShapeFit().
Produces a filled in image based on the Sketch, using 8-way connectivity.
Definition at line 330 of file visops.cc. Referenced by LineData::extractLine(), LineData::extractLines(), MapBuilder::getCamLines(), MapBuilder::getCamPolygons(), and MapBuilder::getCamWalls(). Simple edge finding. Use SUSAN for more sophisticated edge detection. This edge-finding algorithm is inefficient, and produces offset results for top and left edges. Should replace it with something better. Definition at line 354 of file visops.cc. Referenced by PathPlanner::findLinks(), and DualCoding::findRadialDistancesFromPoint(). Horizontal symmetry points. Returns non-zero values along points of horizontal symmetry, with each of these values equal to the distance to the symmetric points.
Definition at line 361 of file visops.cc. Referenced by skel(). Vertical symmetry points. Returns non-zero values along points of vertical symmetry, with each of these values equal to the distance to the symmetric points.
Definition at line 386 of file visops.cc. Referenced by skel(). returns a skeleton of sketch, with pixel values corresponding to distance of symmetry
Definition at line 445 of file visops.cc. Referenced by LineData::extractLine(), LineData::extractLines(), MapBuilder::getCamLines(), MapBuilder::getCamPolygons(), and MapBuilder::getCamWalls(). Fills a region bounded by borders, starting at position given by index.
Definition at line 452 of file visops.cc. Referenced by leftHalfPlane(), and topHalfPlane(). Half-plane functions fill in the half plane on one side of a line.
Definition at line 460 of file visops.cc. Referenced by rightHalfPlane(). Half-plane functions fill in the half plane on one side of a line.
Definition at line 497 of file visops.cc. Referenced by bottomHalfPlane(), and BlobData::findCornersDiagonal(). Half-plane functions fill in the half plane on one side of a line.
Returns a copy of im except that its pixels within offset from boundaries are removed.
Definition at line 534 of file visops.cc. Referenced by MapBuilder::getCamWalls(). Max of each pixel with a constant.
Definition at line 48 of file visops.h. Referenced by LineData::balanceEndPointVert(), ParticleFilter::computeLocalMatch(), DualCoding::countBorderPixelFit(), MapBuilder::defineGazePts(), DualCoding::drawHist(), LineData::extractLine(), SketchData::findMinPlus(), DualCoding::findRadialDistancesFromPoint(), LineData::getBoundingBox(), SphereData::isMatchFor(), EllipseData::isMatchFor(), ParticleFilter::loadLms(), max(), SketchData::max(), DualCoding::pickMove(), EllipseData::render(), and LineData::setDrawCoords(). Min of each pixel with a constant.
Definition at line 73 of file visops.h. Referenced by ParticleFilter::computeLocalMatch(), DualCoding::countBorderPixelFit(), LineData::extractLine(), LineData::getBoundingBox(), BaseData::increaseConfidence(), min(), SketchData::min(), SketchData::minPlus(), DualCoding::pickMove(), LineData::setDrawCoords(), SketchSpace::setTmat(), and ViewerConnection::writeBigString().
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
DualCoding 3.0beta |
Generated Wed Oct 4 00:02:32 2006 by Doxygen 1.4.7 |