ETRI IVCL 1.0.0
Acceleration SW Platform for Ondevice
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
PlaneSweepingStereo Class Reference

D. Gallup et al., "Real-time plane-sweeping stereo with multiple sweeping directions," CVPR 2007. More...

#include <PlaneSweepingStereo.h>

Public Member Functions

 PlaneSweepingStereo (Cameras *cameras, BoundingBox *bbox, int resolution, int M, int VV, VoxelSurface *vsurface=NULL)
 
 ~PlaneSweepingStereo (void)
 
void ComputeNei (void)
 
void StereoCPU1 (int cam, float pi1, float pi2, float pi3, float pi4_min, int N, short *idx_sel, float *cost_min, char *idx_name=NULL)
 main functions 1 More...
 
void StereoCPU2 (int cam, float pi1, float pi2, float pi3, float pi4_min, int N, char *idx_name=NULL)
 main functions 2 More...
 
void StereoCPU_XYZ (int cam, short *idx_sel, int *cost_min)
 Ours main functions (Navtive) More...
 
void StereoOCL1 (int cam, float pi1, float pi2, float pi3, float pi4_min, int N, short *idx_sel, float *cost_min, char *idx_name=NULL)
 ocl main functions More...
 
void StereoOCL_XYZ (int cam, short *idx_sel, float *cost_min)
 ocl main functions More...
 
void PrepareHomography (float *A, float *B, float *C, int cam, int M, float pi_x, float pi_y, float pi_z)
 
void Test (void)
 miscellaneous functions More...
 
void SaveResult (int cam, short *idx_sel, float *cost_min)
 save result More...
 
void saveDepthWithSilhouettes (Cameras *silhouettes, int cam, short *idx_sel, float *cost_min)
 save depth with silhouettes More...
 

Public Attributes

Camerasm_cameras
 input cameras More...
 
int m_M
 input parameters; for restricting candidate image pairs (comparing closest M images) More...
 
int m_VV
 input parameters; only consider image pairs with arccos(V1*V2) < m_VV degree More...
 
VoxelSurfacem_vsurface
 input voxel surface (optional) More...
 
int m_width
 The image width. More...
 
int m_height
 The image height. More...
 
float m_dx
 delta_x; variables for grid structure More...
 
int m_N [3]
 resolution array; variables for grid structure More...
 
float m_min [3]
 min array; variables for grid structure More...
 
float m_max [3]
 max array; variables for grid structure More...
 
std::vector< std::pair< double, int > > * m_nei
 neighboring camera info 0 More...
 
std::vector< std::pair< double, int > > * m_nei1
 neighboring camera info 1 More...
 
std::vector< std::pair< double, int > > * m_nei2
 neighboring camera info 2 More...
 

Detailed Description

D. Gallup et al., "Real-time plane-sweeping stereo with multiple sweeping directions," CVPR 2007.

Constructor & Destructor Documentation

◆ PlaneSweepingStereo()

PlaneSweepingStereo::PlaneSweepingStereo ( Cameras cameras,
BoundingBox bbox,
int  resolution,
int  M,
int  VV,
VoxelSurface vsurface = NULL 
)

◆ ~PlaneSweepingStereo()

PlaneSweepingStereo::~PlaneSweepingStereo ( void  )

Member Function Documentation

◆ ComputeNei()

void PlaneSweepingStereo::ComputeNei ( void  )

◆ PrepareHomography()

void PlaneSweepingStereo::PrepareHomography ( float *  A,
float *  B,
float *  C,
int  cam,
int  M,
float  pi_x,
float  pi_y,
float  pi_z 
)

◆ saveDepthWithSilhouettes()

void PlaneSweepingStereo::saveDepthWithSilhouettes ( Cameras silhouettes,
int  cam,
short *  idx_sel,
float *  cost_min 
)

save depth with silhouettes

◆ SaveResult()

void PlaneSweepingStereo::SaveResult ( int  cam,
short *  idx_sel,
float *  cost_min 
)

save result

◆ StereoCPU1()

void PlaneSweepingStereo::StereoCPU1 ( int  cam,
float  pi1,
float  pi2,
float  pi3,
float  pi4_min,
int  N,
short *  idx_sel,
float *  cost_min,
char *  idx_name = NULL 
)

main functions 1

◆ StereoCPU2()

void PlaneSweepingStereo::StereoCPU2 ( int  cam,
float  pi1,
float  pi2,
float  pi3,
float  pi4_min,
int  N,
char *  idx_name = NULL 
)

main functions 2

◆ StereoCPU_XYZ()

void PlaneSweepingStereo::StereoCPU_XYZ ( int  cam,
short *  idx_sel,
int *  cost_min 
)

Ours main functions (Navtive)

◆ StereoOCL1()

void PlaneSweepingStereo::StereoOCL1 ( int  cam,
float  pi1,
float  pi2,
float  pi3,
float  pi4_min,
int  N,
short *  idx_sel,
float *  cost_min,
char *  idx_name = NULL 
)

ocl main functions

◆ StereoOCL_XYZ()

void PlaneSweepingStereo::StereoOCL_XYZ ( int  cam,
short *  idx_sel,
float *  cost_min 
)

ocl main functions

◆ Test()

void PlaneSweepingStereo::Test ( void  )

miscellaneous functions

Member Data Documentation

◆ m_cameras

Cameras* PlaneSweepingStereo::m_cameras

input cameras

◆ m_dx

float PlaneSweepingStereo::m_dx

delta_x; variables for grid structure

◆ m_height

int PlaneSweepingStereo::m_height

The image height.

◆ m_M

int PlaneSweepingStereo::m_M

input parameters; for restricting candidate image pairs (comparing closest M images)

◆ m_max

float PlaneSweepingStereo::m_max[3]

max array; variables for grid structure

◆ m_min

float PlaneSweepingStereo::m_min[3]

min array; variables for grid structure

◆ m_N

int PlaneSweepingStereo::m_N[3]

resolution array; variables for grid structure

◆ m_nei

std::vector<std::pair<double, int> >* PlaneSweepingStereo::m_nei

neighboring camera info 0

◆ m_nei1

std::vector<std::pair<double, int> >* PlaneSweepingStereo::m_nei1

neighboring camera info 1

◆ m_nei2

std::vector<std::pair<double, int> >* PlaneSweepingStereo::m_nei2

neighboring camera info 2

◆ m_vsurface

VoxelSurface* PlaneSweepingStereo::m_vsurface

input voxel surface (optional)

◆ m_VV

int PlaneSweepingStereo::m_VV

input parameters; only consider image pairs with arccos(V1*V2) < m_VV degree

◆ m_width

int PlaneSweepingStereo::m_width

The image width.


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