AURobotServers
4
|
#include <uimana.h>
Public Member Functions | |
bool | getNext (UPixLinked *from, int direction, int height, int width) |
UPixLinked | operator= (UPixLinked v) |
UPixLinked () | |
Public Attributes | |
int | c |
int | nx |
int | px |
int | r |
Class to store information on area outline in an image
bool UPixLinked::getNext | ( | UPixLinked * | 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 UImAna::imageContourMaha(), and UImAna::imageContourMahaCroma().
UPixLinked UPixLinked::operator= | ( | UPixLinked | v | ) |
int UPixLinked::c |
Pixel col
Referenced by UImAna::distFilt(), UImAna::distFiltH(), UImAna::findContourPoly(), UImAna::findContourPolyCroma(), UImAna::findVertex(), UImAna::getAvgVar(), getNext(), UImAna::imageContourMaha(), UImAna::imageContourMahaCroma(), UImAna::imageUsable(), operator=(), UImAna::paintRoadImage(), UImAna::polygonReduce2(), UImAna::setImagePool(), and UPixLinked().
int UPixLinked::nx |
Direction to next 0 is positive x direction. 1 is next direction clockwise (south).
Referenced by getNext(), UImAna::imageContourMaha(), UImAna::imageContourMahaCroma(), operator=(), and UPixLinked().
int UPixLinked::px |
Previous direction
Referenced by UImAna::findContourPolyCroma(), getNext(), UImAna::imageContourMaha(), UImAna::imageContourMahaCroma(), UImAna::imageUsable(), operator=(), and UPixLinked().
int UPixLinked::r |
Pixel row
Referenced by UImAna::countContourLimits(), UImAna::distFilt(), UImAna::distFiltH(), UImAna::findContourPoly(), UImAna::findContourPolyCroma(), UImAna::findVertex(), UImAna::getAvgVar(), UImAna::getMahalonobisDistCroma(), getNext(), UImAna::imageContourMaha(), UImAna::imageContourMahaCroma(), UImAna::imageUsable(), operator=(), UImAna::paintRoadImage(), UImAna::polygonReduce2(), UImAna::setImagePool(), and UPixLinked().