a LOT of obsolete stuff has been moved to the legacy module.
This commit is contained in:
@@ -361,37 +361,6 @@ CVAPI(void) cvValidateDisparity( CvArr* disparity, const CvArr* cost,
|
||||
int minDisparity, int numberOfDisparities,
|
||||
int disp12MaxDiff CV_DEFAULT(1) );
|
||||
|
||||
/* Kolmogorov-Zabin stereo-correspondence algorithm (a.k.a. KZ1) */
|
||||
#define CV_STEREO_GC_OCCLUDED SHRT_MAX
|
||||
|
||||
typedef struct CvStereoGCState
|
||||
{
|
||||
int Ithreshold;
|
||||
int interactionRadius;
|
||||
float K, lambda, lambda1, lambda2;
|
||||
int occlusionCost;
|
||||
int minDisparity;
|
||||
int numberOfDisparities;
|
||||
int maxIters;
|
||||
|
||||
CvMat* left;
|
||||
CvMat* right;
|
||||
CvMat* dispLeft;
|
||||
CvMat* dispRight;
|
||||
CvMat* ptrLeft;
|
||||
CvMat* ptrRight;
|
||||
CvMat* vtxBuf;
|
||||
CvMat* edgeBuf;
|
||||
} CvStereoGCState;
|
||||
|
||||
CVAPI(CvStereoGCState*) cvCreateStereoGCState( int numberOfDisparities, int maxIters );
|
||||
CVAPI(void) cvReleaseStereoGCState( CvStereoGCState** state );
|
||||
|
||||
CVAPI(void) cvFindStereoCorrespondenceGC( const CvArr* left, const CvArr* right,
|
||||
CvArr* disparityLeft, CvArr* disparityRight,
|
||||
CvStereoGCState* state,
|
||||
int useDisparityGuess CV_DEFAULT(0) );
|
||||
|
||||
/* Reprojects the computed disparity image to the 3D space using the specified 4x4 matrix */
|
||||
CVAPI(void) cvReprojectImageTo3D( const CvArr* disparityImage,
|
||||
CvArr* _3dImage, const CvMat* Q,
|
||||
|
Reference in New Issue
Block a user