Basic Image AlgorithmS Library
2.8.0
|
create and represent spherical depth panorama More...
#include <Image/SphericalDepthPanorama.hh>
Public Member Functions | |
int | GetPanorama (BIAS::Image< float > &image, BIAS::Image< unsigned char > &texture) |
int | GetTriangleMesh (BIAS::TriangleMesh &mesh) |
int | ProcessSphericalProjection (BIAS::Image< float > &depthMap, BIAS::Projection &p, BIAS::Image< unsigned char > *texture=NULL) |
Call Process to update the measurement. More... | |
SphericalDepthPanorama (Projection *initialProjection_=NULL) | |
Constructor with default params. More... | |
~SphericalDepthPanorama () | |
Destructor. More... | |
Protected Attributes | |
bool | bFirstPoseSet_ |
bool | bTextureFilled_ |
int | dOffsetX_ |
int | dOffsetY_ |
BIAS::Image< float > | panorama_ |
unsigned int | panoramaHeight_ |
BIAS::Image< float > | panoramaHitCount_ |
BIAS::Image< unsigned char > | panoramaTexture_ |
BIAS::Image< float > | panoramaVarianz_ |
unsigned int | panoramaWidth_ |
BIAS::Projection * | pInitialProj_ |
BIAS::Projection * | pSphericalProj_ |
create and represent spherical depth panorama
Definition at line 44 of file SphericalDepthPanorama.hh.
SphericalDepthPanorama::SphericalDepthPanorama | ( | Projection * | initialProjection_ = NULL | ) |
Constructor with default params.
Constructor.
range,: | the range of degrees in which a panorama is to be build 360 = full circle |
sampling,: | The sampling rate. 10 = 10 steps per degree |
Definition at line 12 of file SphericalDepthPanorama.cpp.
SphericalDepthPanorama::~SphericalDepthPanorama | ( | ) |
Destructor.
Definition at line 37 of file SphericalDepthPanorama.cpp.
int SphericalDepthPanorama::GetPanorama | ( | BIAS::Image< float > & | image, |
BIAS::Image< unsigned char > & | texture | ||
) |
Definition at line 150 of file SphericalDepthPanorama.cpp.
References BIAS::ImageConvert::ConvertST(), BIAS::Image< StorageType >::ScaleShiftBetween(), and BIAS::ImageBase::ST_unsignedchar.
int SphericalDepthPanorama::GetTriangleMesh | ( | BIAS::TriangleMesh & | mesh | ) |
Definition at line 170 of file SphericalDepthPanorama.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(), BIAS::ImageBase::ST_unsignedchar, and BIAS::XMLBase::XMLWrite().
int SphericalDepthPanorama::ProcessSphericalProjection | ( | BIAS::Image< float > & | depthMap, |
BIAS::Projection & | p, | ||
BIAS::Image< unsigned char > * | texture = NULL |
||
) |
Call Process to update the measurement.
Definition at line 47 of file SphericalDepthPanorama.cpp.
References BIAS::Projection::GetC(), BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageDataArray(), BIAS::Projection::GetQ(), and BIAS::ImageBase::GetWidth().
|
protected |
Definition at line 70 of file SphericalDepthPanorama.hh.
|
protected |
Definition at line 77 of file SphericalDepthPanorama.hh.
|
protected |
Definition at line 76 of file SphericalDepthPanorama.hh.
|
protected |
Definition at line 76 of file SphericalDepthPanorama.hh.
|
protected |
Definition at line 71 of file SphericalDepthPanorama.hh.
|
protected |
Definition at line 73 of file SphericalDepthPanorama.hh.
|
protected |
Definition at line 71 of file SphericalDepthPanorama.hh.
|
protected |
Definition at line 72 of file SphericalDepthPanorama.hh.
|
protected |
Definition at line 71 of file SphericalDepthPanorama.hh.
|
protected |
Definition at line 73 of file SphericalDepthPanorama.hh.
|
protected |
Definition at line 75 of file SphericalDepthPanorama.hh.
|
protected |
Definition at line 74 of file SphericalDepthPanorama.hh.