AURobotServers
4
|
Public Member Functions | |
void | clearCells () |
clear all patches - ready for height analysis More... | |
void | doPatchAnalysis (UServerInMsg *msg, UImg3Dpoints *cloud3d, UPlane gndPlane, int debugtype) |
void | heightAnalysis (UPlane gndPlane) |
make height analysis More... | |
void | makeCells () |
void | paintDebugGrid (UImage *img) |
void | paintDebugValue (UImage *img, int membership) |
void | patchEvaluation () |
void | saveMatlabScript () |
void | setCellSize (int rows, int cols) |
void | setFuzzyEvaluator (UPatchTypeSets *evaluator) |
set the fuzzy set evaluator More... | |
void | setImage (UImage *src, UImage *debug) |
set source color image More... | |
UGroundPatches () | |
constructor More... | |
~UGroundPatches () | |
destructor More... | |
Protected Attributes | |
int | cellh |
int | cellw |
UImg3Dpoints * | cloud |
int | colCnt |
UPatchTypeSets * | fzeval |
fuzzy set evaluator More... | |
UImage * | imgDbg |
UImage * | imgSrc |
UGroundPatch ** | patches |
int | patchesCnt |
int | rowCnt |
Class tahat holds the result of patch analysis
|
inline |
constructor
|
inline |
destructor
|
inline |
clear all patches - ready for height analysis
References UGradeSet::clear().
|
inline |
Start patch analysis grid size has to be set first (cellW and cellH)
References UGroundPatch::colorAnalysis(), USmlTagIn::getAttBool(), and UServerInMsg::tag.
|
inline |
make height analysis
References UGroundPatch::addZ(), UImg3Dpoint::column, UPlane::distSigned(), UImg3Dpoint::pos, UImg3Dpoint::row, and UPosition::z.
|
inline |
make cell array for this image and celle size
|
inline |
paint debug grid in source image
References UImage::cvArr(), UImage::height(), and UImage::width().
|
inline |
paint debug grid in source image
References UImage::cvArr(), UGroundPatch::surfaceType, and UGroundPatch::typeMembership.
|
inline |
Fuzzy patch type evaluator function. Based on measured attribute values (height, green and red values) The result is saved in the patch.
References UGroundPatch::evaluatePatchType(), UFuncGndAna::patchTypeCnt, and UGroundPatch::surfaceType.
|
inline |
save matlab script with data
References UFuncGndAna::asphalt, UGroundPatch::avgRZ, UGroundPatch::avgZ, ULogFile::closeLog(), ULogFile::getF(), UFuncGndAna::grass, UFuncGndAna::gravel, UGroundPatch::greenAvg, UGroundPatch::greenVar, ULogFile::isOpen(), ULogFile::openLog(), UPixel::p1, UPixel::p2, UPixel::p3, UFuncGndAna::patchTypeCnt, UGroundPatch::redAvg, UGroundPatch::redVar, ULogFile::setLogName(), UFuncGndAna::stone, UGroundPatch::sumCnt, UGroundPatch::surfaceType, UGroundPatch::typeMembership, UGroundPatch::varRZ, UGroundPatch::varZ, and UFuncGndAna::weed.
|
inline |
Set size of patch cells in pixels
References rows.
|
inline |
set the fuzzy set evaluator
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
fuzzy set evaluator
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |