AURobotServers
4
|
#include <uimageana.h>
Public Member Functions | |
bool | getNext (UPixelLinked *from, int direction, int height, int width) |
bool | getNext (UPixelLinked *from, int direction, int height, int width) |
UPixelLinked | operator= (UPixelLinked v) |
UPixelLinked | operator= (UPixelLinked v) |
UPixelLinked () | |
UPixelLinked () | |
Public Attributes | |
int | c |
int | nx |
int | px |
int | r |
Class to store information on area outline in an image
UPixelLinked::UPixelLinked | ( | ) |
Constructor
bool UPixelLinked::getNext | ( | UPixelLinked * | from, |
int | direction, | ||
int | height, | ||
int | width | ||
) |
Set ref position from a previous and a directions. height and width is needed to test for leagal values Returns true if new position is valid
Referenced by UImageAna::imageContour2(), UImagePoly::imageContour2(), UImageAna::imageContourMaha(), UImagePoly::imageContourMaha(), UImageAna::imageContourMahaCroma(), and UImagePoly::imageContourMahaCroma().
bool UPixelLinked::getNext | ( | UPixelLinked * | from, |
int | direction, | ||
int | height, | ||
int | width | ||
) |
Set ref position from a previous and a directions. height and width is needed to test for leagal values Returns true if new position is valid
UPixelLinked UPixelLinked::operator= | ( | UPixelLinked | v | ) |
Assignment operator
UPixelLinked UPixelLinked::operator= | ( | UPixelLinked | v | ) |
int UPixelLinked::c |
Pixel col
Referenced by UImageAna::distFilt(), UImagePoly::distFilt(), UImageAna::distFiltH(), UImagePoly::distFiltH(), UImageAna::findContourPoly(), UImageAna::findContourPolyCroma(), UImagePoly::findContourPolyCroma(), UImageAna::findRoad(), UImageAna::findRoadCroma(), UImageAna::findRoadFill(), UImageAna::findVertex(), UImagePoly::findVertex(), UImageAna::getAvgVar(), UImagePoly::getAvgVar(), UImagePoly::getAvgVar2(), getNext(), UImageAna::imageContour2(), UImagePoly::imageContour2(), UImageAna::imageContourMaha(), UImagePoly::imageContourMaha(), UImageAna::imageContourMahaCroma(), UImagePoly::imageContourMahaCroma(), UImageAna::imageUsable(), UImagePoly::imageUsable(), UImagePoly::makeSimilarImage2(), UImagePoly::makeSimilarImage3(), operator=(), UImageAna::paintRoadImage(), UImagePoly::paintRoadImage(), UImageAna::polygonReduce2(), UImagePoly::polygonReduce2(), UImageAna::setImagePool(), UImagePoly::setImagePool(), and UPixelLinked().
int UPixelLinked::nx |
Direction to next 0 is positive x direction. 1 is next direction clockwise (south).
Referenced by getNext(), UImageAna::imageContour2(), UImagePoly::imageContour2(), UImageAna::imageContourMaha(), UImagePoly::imageContourMaha(), UImageAna::imageContourMahaCroma(), UImagePoly::imageContourMahaCroma(), operator=(), and UPixelLinked().
int UPixelLinked::px |
Previous direction
Referenced by UImageAna::findContourPolyCroma(), UImagePoly::findContourPolyCroma(), getNext(), UImageAna::imageContour2(), UImagePoly::imageContour2(), UImageAna::imageContourMaha(), UImagePoly::imageContourMaha(), UImageAna::imageContourMahaCroma(), UImagePoly::imageContourMahaCroma(), UImageAna::imageUsable(), UImagePoly::imageUsable(), operator=(), and UPixelLinked().
int UPixelLinked::r |
Pixel row
Referenced by UImageAna::countContourLimits(), UImagePoly::countContourLimits(), UImageAna::distFilt(), UImagePoly::distFilt(), UImageAna::distFiltH(), UImagePoly::distFiltH(), UImageAna::findContourPoly(), UImageAna::findContourPolyCroma(), UImagePoly::findContourPolyCroma(), UImageAna::findRoad(), UImageAna::findRoadCroma(), UImageAna::findRoadFill(), UImageAna::findVertex(), UImagePoly::findVertex(), UImageAna::getAvgVar(), UImagePoly::getAvgVar(), UImagePoly::getAvgVar2(), UImageAna::getMahalonobisDistCroma(), UImagePoly::getMahalonobisDistCroma(), getNext(), UImageAna::imageContour2(), UImagePoly::imageContour2(), UImageAna::imageContourMaha(), UImagePoly::imageContourMaha(), UImageAna::imageContourMahaCroma(), UImagePoly::imageContourMahaCroma(), UImageAna::imageUsable(), UImagePoly::imageUsable(), UImagePoly::makeSimilarImage2(), UImagePoly::makeSimilarImage3(), operator=(), UImageAna::paintRoadImage(), UImagePoly::paintRoadImage(), UImageAna::polygonReduce2(), UImagePoly::polygonReduce2(), UImageAna::setImagePool(), UImagePoly::setImagePool(), and UPixelLinked().