AURobotServers  4
Public Member Functions | Public Attributes | List of all members
UImg3Dpoint Class Reference

#include <uimg3dpoint.h>

Public Member Functions

int blue ()
 
int gray ()
 
int green ()
 
int red ()
 

Public Attributes

int column
 
unsigned long pixLeft
 
UPosition pos
 
int q
 
int row
 

Detailed Description

Class with 3D point found by stereo calculation

Member Function Documentation

int UImg3Dpoint::blue ( )
inline

Get red pixel coloure

References pixLeft.

Referenced by UResObj3d::do3dVoxels(), and UGrid3D::paintVoxels().

int UImg3Dpoint::gray ( )
inline

get gray level value - intensity (as (r+g+b)/3)

References pixLeft.

Referenced by UResObj3d::do3dVoxels().

int UImg3Dpoint::green ( )
inline

Get green pixel coloure

References pixLeft.

Referenced by UGrid3D::paintVoxels().

int UImg3Dpoint::red ( )
inline

Get red pixel coloure

References pixLeft.

Referenced by UResObj3d::do3dVoxels(), and UGrid3D::paintVoxels().

Member Data Documentation

int UImg3Dpoint::column
unsigned long UImg3Dpoint::pixLeft

Pixel information in left image - coded as unsigned long (32 bit) - with red as 8 least significant bit, green as bext 8 bits and blue as next 8 bit

  • most significant bits are (A) and is unused

Referenced by UImg3Dpoints::add(), UGridBBox::addCell(), blue(), gray(), green(), UImg3Dpoints::makePCLFile(), and red().

UPosition UImg3Dpoint::pos
int UImg3Dpoint::q
int UImg3Dpoint::row

Image row number in (left) source image. the data is organized in column then row order - to ease data use

Referenced by UImg3Dpoints::add(), UResObj3d::findPolygonsOne(), UResObj3d::findPolygonsOnEdge(), UGroundPatches::heightAnalysis(), UImg3Dpoints::makePCLFile(), and UResObj3d::paintPolygonInImage().


The documentation for this class was generated from the following file: