Basic Image AlgorithmS Library
2.8.0
|
create and represent cylindric depth panorama More...
#include <Image/CylindricDepthPanorama.hh>
Public Member Functions | |
CylindricDepthPanorama () | |
CylindricDepthPanorama (const Projection &iP, unsigned int channels) | |
Constructor with default params. More... | |
CylindricDepthPanorama (const ProjectionParametersCylindric &iP, unsigned int channels) | |
int | GetMappedImages (BIAS::Image< float > &image, BIAS::Image< unsigned char > &texture) |
int | GetPanorama (BIAS::Image< float > &image, BIAS::Image< unsigned char > &texture) |
int | GetTriangleMesh (BIAS::TriangleMesh &mesh) |
int | Init (const Projection &iP, unsigned int channels) |
int | Init (const ProjectionParametersCylindric &iP, unsigned int channels) |
int | ProcessCylindricProjection (BIAS::Image< float > &depthMap, BIAS::Projection &p, BIAS::Image< unsigned char > *texture=NULL, bool useProjection=true) |
Call Process to update the measurement. More... | |
void | SetFillArea (int area) |
~CylindricDepthPanorama () | |
Destructor. More... | |
Protected Attributes | |
bool | bCostImageCreated_ |
bool | bFirstPoseSet_ |
bool | bTextureFilled_ |
BIAS::Image< float > | costIm_ |
BIAS::Image< float > | destDepth_ |
BIAS::Image< unsigned char > | destTex_ |
int | dOffsetX_ |
int | dOffsetY_ |
unsigned int | dTexChannels_ |
unsigned | fillArea_ |
bool | inited_ |
BIAS::Projection | initialProjection_ |
BIAS::Image< float > | panorama_ |
unsigned int | panoramaHeight_ |
BIAS::Image< float > | panoramaHitCount_ |
BIAS::Image< unsigned char > | panoramaTexture_ |
BIAS::Image< float > | panoramaVarianz_ |
unsigned int | panoramaWidth_ |
BIAS::ProjectionParametersCylindric * | pCylinderProj_ |
BIAS::ProjectionMapping< float, float > | projectionMappingFL_ |
BIAS::ProjectionMapping < unsigned char, unsigned char > | projectionMappingUC_ |
create and represent cylindric depth panorama
Definition at line 45 of file CylindricDepthPanorama.hh.
CylindricDepthPanorama::CylindricDepthPanorama | ( | ) |
Definition at line 14 of file CylindricDepthPanorama.cpp.
CylindricDepthPanorama::CylindricDepthPanorama | ( | const Projection & | iP, |
unsigned int | channels | ||
) |
Constructor with default params.
Constructor.
range,: | the range of degrees in which a panorama is to be build 360 = full circle |
Definition at line 22 of file CylindricDepthPanorama.cpp.
CylindricDepthPanorama::CylindricDepthPanorama | ( | const ProjectionParametersCylindric & | iP, |
unsigned int | channels | ||
) |
Definition at line 32 of file CylindricDepthPanorama.cpp.
CylindricDepthPanorama::~CylindricDepthPanorama | ( | ) |
Destructor.
Definition at line 77 of file CylindricDepthPanorama.cpp.
int CylindricDepthPanorama::GetMappedImages | ( | BIAS::Image< float > & | image, |
BIAS::Image< unsigned char > & | texture | ||
) |
Definition at line 242 of file CylindricDepthPanorama.cpp.
int CylindricDepthPanorama::GetPanorama | ( | BIAS::Image< float > & | image, |
BIAS::Image< unsigned char > & | texture | ||
) |
Definition at line 251 of file CylindricDepthPanorama.cpp.
References BIAS::ImageConvert::ConvertST(), BIAS::Image< StorageType >::ScaleShiftBetween(), and BIAS::ImageBase::ST_unsignedchar.
Referenced by BIAS::CylindricDepthTrackingPanorama::GetPanorama().
int CylindricDepthPanorama::GetTriangleMesh | ( | BIAS::TriangleMesh & | mesh | ) |
Definition at line 269 of file CylindricDepthPanorama.cpp.
References BIAS::ImageConvert::ConvertST(), BIAS::Image< StorageType >::FillImageWithConstValue(), BIAS::Rescale< InputStorageType, OutputStorageType >::Filter(), BIAS::TriangleMesh::GenerateDenseMesh(), BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageDataArray(), BIAS::ImageBase::GetWidth(), BIAS::LPT_Gauss, BIAS::Projection::Rescale(), BIAS::ImageIO::Save(), BIAS::Image< StorageType >::ScaleShiftBetween(), BIAS::Rescale< InputStorageType, OutputStorageType >::SetFactor(), BIAS::Rescale< InputStorageType, OutputStorageType >::SetLowPassType(), and BIAS::ImageBase::ST_unsignedchar.
int CylindricDepthPanorama::Init | ( | const Projection & | iP, |
unsigned int | channels | ||
) |
Definition at line 50 of file CylindricDepthPanorama.cpp.
References BIAS::Projection::GetParameters(), BIAS::ProjectionParametersBase::GetPose(), and BIAS::ProjectionParametersBase::SetPose().
int CylindricDepthPanorama::Init | ( | const ProjectionParametersCylindric & | iP, |
unsigned int | channels | ||
) |
Definition at line 42 of file CylindricDepthPanorama.cpp.
int CylindricDepthPanorama::ProcessCylindricProjection | ( | BIAS::Image< float > & | depthMap, |
BIAS::Projection & | p, | ||
BIAS::Image< unsigned char > * | texture = NULL , |
||
bool | useProjection = true |
||
) |
Call Process to update the measurement.
Definition at line 86 of file CylindricDepthPanorama.cpp.
References BIAS::ImageConvert::ConvertST(), BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageDataArray(), BIAS::ImageBase::GetWidth(), BIAS::HomgPoint2D::Homogenize(), BIAS::FileHandling::LeadingZeroString(), BIAS::ForwardMappingNearestNeighbour< InputStorageType, OutputStorageType >::Map(), BIAS::ImageIO::Save(), BIAS::ForwardMappingNearestNeighbour< InputStorageType, OutputStorageType >::SetFillAreaWindowSize(), BIAS::ForwardMappingNearestNeighbour< InputStorageType, OutputStorageType >::SetSinkCam(), BIAS::ForwardMappingNearestNeighbour< InputStorageType, OutputStorageType >::SetSourceCam(), BIAS::ImageBase::ST_float, BIAS::ImageBase::ST_unsignedchar, and BIAS::Projection::UnProjectToPoint().
void CylindricDepthPanorama::SetFillArea | ( | int | area | ) |
Definition at line 81 of file CylindricDepthPanorama.cpp.
|
protected |
Definition at line 84 of file CylindricDepthPanorama.hh.
|
protected |
Definition at line 99 of file CylindricDepthPanorama.hh.
Referenced by BIAS::CylindricDepthTrackingPanorama::ProcessCylindricProjection().
|
protected |
Definition at line 99 of file CylindricDepthPanorama.hh.
Referenced by BIAS::CylindricDepthTrackingPanorama::GetTriangleMesh(), and BIAS::CylindricDepthTrackingPanorama::LoadPanorama().
|
protected |
Definition at line 91 of file CylindricDepthPanorama.hh.
|
protected |
Definition at line 88 of file CylindricDepthPanorama.hh.
|
protected |
Definition at line 89 of file CylindricDepthPanorama.hh.
|
protected |
Definition at line 97 of file CylindricDepthPanorama.hh.
|
protected |
Definition at line 97 of file CylindricDepthPanorama.hh.
|
protected |
Definition at line 96 of file CylindricDepthPanorama.hh.
|
protected |
Definition at line 83 of file CylindricDepthPanorama.hh.
|
protected |
Definition at line 99 of file CylindricDepthPanorama.hh.
|
protected |
Definition at line 94 of file CylindricDepthPanorama.hh.
Referenced by BIAS::CylindricDepthTrackingPanorama::GetTriangleMesh(), and BIAS::CylindricDepthTrackingPanorama::ProcessCylindricProjection().
|
protected |
Definition at line 85 of file CylindricDepthPanorama.hh.
Referenced by BIAS::CylindricDepthTrackingPanorama::GetTriangleMesh(), BIAS::CylindricDepthTrackingPanorama::LoadPanorama(), and BIAS::CylindricDepthTrackingPanorama::SavePanorama().
|
protected |
Definition at line 96 of file CylindricDepthPanorama.hh.
Referenced by BIAS::CylindricDepthTrackingPanorama::CylindricDepthTrackingPanorama(), and BIAS::CylindricDepthTrackingPanorama::GetTriangleMesh().
|
protected |
Definition at line 85 of file CylindricDepthPanorama.hh.
Referenced by BIAS::CylindricDepthTrackingPanorama::LoadPanorama(), and BIAS::CylindricDepthTrackingPanorama::SavePanorama().
|
protected |
Definition at line 86 of file CylindricDepthPanorama.hh.
Referenced by BIAS::CylindricDepthTrackingPanorama::GetTriangleMesh(), BIAS::CylindricDepthTrackingPanorama::LoadPanorama(), and BIAS::CylindricDepthTrackingPanorama::SavePanorama().
|
protected |
Definition at line 85 of file CylindricDepthPanorama.hh.
|
protected |
Definition at line 96 of file CylindricDepthPanorama.hh.
Referenced by BIAS::CylindricDepthTrackingPanorama::CylindricDepthTrackingPanorama(), and BIAS::CylindricDepthTrackingPanorama::GetTriangleMesh().
|
protected |
Definition at line 93 of file CylindricDepthPanorama.hh.
Referenced by BIAS::CylindricDepthTrackingPanorama::ProcessCylindricProjection().
|
protected |
Definition at line 102 of file CylindricDepthPanorama.hh.
|
protected |
Definition at line 101 of file CylindricDepthPanorama.hh.