AURobotServers
4
|
Public Member Functions | |
void | addZ (double z, double rz) |
add one height to analysis More... | |
void | clear (int cellh, int cellw) |
clear count variables for new analysis More... | |
void | colorAnalysis (UImage *img, int row, int col) |
void | evaluatePatchType (UPatchTypeSets *fuzzEval) |
void | setAvg () |
void | setTypeClassifier (UPatchTypeSets *classifier) |
Public Attributes | |
double | avgRZ |
double | avgZ |
int | c |
double | greenAvg |
average green 2G-R-B More... | |
double | greenVar |
green variation More... | |
int | h |
double | heightCntAvg |
valid height relative to possible count [0..1] More... | |
int | r |
patch description More... | |
double | redAvg |
double | redVar |
green variation More... | |
int | sumCnt |
number of cells with valid Z More... | |
UFuncGndAna::UPatchTypes | surfaceType |
double | typeMembership [MMC] |
result of classification More... | |
double | varRZ |
height variation in robot coordinates More... | |
double | varZ |
height variation - relative to estimated ground plane More... | |
int | w |
Static Public Attributes | |
static const int | MMC = UFuncGndAna::patchTypeCnt |
number of possible memberships More... | |
Protected Attributes | |
UPatchTypeSets * | patchClassifier |
classifier for this patch type More... | |
Private Attributes | |
double | sumRZ |
sum of height in local robot coordinates More... | |
double | sumRZ2 |
sum of squared height in robot coordinates More... | |
double | sumZ |
sum of height above estimated ground plane More... | |
double | sumZ2 |
sum of height squared relative to estimated ground plane More... | |
One cell of ground analysis
|
inline |
|
inline |
clear count variables for new analysis
|
inline |
Do color analysis for green
img | is image to analyze |
row | is patch row number |
col | is patch column number |
cellh,cellw | is patch cell size |
References UImage::getLine(), UPixel::p1, UPixel::p2, and UPixel::p3.
Referenced by UGroundPatches::doPatchAnalysis().
|
inline |
Evaluate membership based on measured attributes
References UPatchTypeSets::grade(), UFuncGndAna::grass, UFuncGndAna::green, UFuncGndAna::greenSd, UFuncGndAna::height, UFuncGndAna::heightCnt, UFuncGndAna::heightSd, UFuncGndAna::patchTypeCnt, and UFuncGndAna::red.
Referenced by UGroundPatches::patchEvaluation().
|
inline |
References sqr().
|
inline |
double UGroundPatch::avgRZ |
Referenced by UGroundPatches::saveMatlabScript().
double UGroundPatch::avgZ |
Referenced by UGroundPatches::saveMatlabScript().
int UGroundPatch::c |
double UGroundPatch::greenAvg |
average green 2G-R-B
Referenced by UGroundPatches::saveMatlabScript().
double UGroundPatch::greenVar |
green variation
Referenced by UGroundPatches::saveMatlabScript().
int UGroundPatch::h |
double UGroundPatch::heightCntAvg |
valid height relative to possible count [0..1]
|
static |
number of possible memberships
|
protected |
classifier for this patch type
int UGroundPatch::r |
patch description
double UGroundPatch::redAvg |
number of cells with valid Z average green 2G-R-B
Referenced by UGroundPatches::saveMatlabScript().
double UGroundPatch::redVar |
green variation
Referenced by UGroundPatches::saveMatlabScript().
int UGroundPatch::sumCnt |
number of cells with valid Z
Referenced by UGroundPatches::saveMatlabScript().
|
private |
sum of height in local robot coordinates
|
private |
sum of squared height in robot coordinates
|
private |
sum of height above estimated ground plane
|
private |
sum of height squared relative to estimated ground plane
UFuncGndAna::UPatchTypes UGroundPatch::surfaceType |
double UGroundPatch::typeMembership[MMC] |
result of classification
Referenced by UGroundPatches::paintDebugValue(), and UGroundPatches::saveMatlabScript().
double UGroundPatch::varRZ |
height variation in robot coordinates
Referenced by UGroundPatches::saveMatlabScript().
double UGroundPatch::varZ |
height variation - relative to estimated ground plane
Referenced by UGroundPatches::saveMatlabScript().
int UGroundPatch::w |