mirror of
https://github.com/opencv/opencv.git
synced 2024-12-11 22:59:16 +08:00
5e048d1fa5
Also move cv::linemod to own header
38 lines
1.2 KiB
C
38 lines
1.2 KiB
C
#ifndef _LSVM_ROUTINE_H_
|
|
#define _LSVM_ROUTINE_H_
|
|
|
|
#include "opencv2/objdetect/objdetect_c.h"
|
|
|
|
#include "_lsvm_types.h"
|
|
#include "_lsvm_error.h"
|
|
|
|
|
|
//////////////////////////////////////////////////////////////
|
|
// Memory management routines
|
|
// All paramaters names correspond to previous data structures description
|
|
// All "alloc" functions return allocated memory for 1 object
|
|
// with all fields including arrays
|
|
// Error status is return value
|
|
//////////////////////////////////////////////////////////////
|
|
int allocFilterObject(CvLSVMFilterObject **obj, const int sizeX, const int sizeY,
|
|
const int p);
|
|
int freeFilterObject (CvLSVMFilterObject **obj);
|
|
|
|
int allocFeatureMapObject(CvLSVMFeatureMap **obj, const int sizeX, const int sizeY,
|
|
const int p);
|
|
int freeFeatureMapObject (CvLSVMFeatureMap **obj);
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
#endif
|
|
int allocFeaturePyramidObject(CvLSVMFeaturePyramid **obj,
|
|
const int countLevel);
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
#endif
|
|
int freeFeaturePyramidObject (CvLSVMFeaturePyramid **obj);
|
|
int allocFFTImage(CvLSVMFftImage **image, int p, int dimX, int dimY);
|
|
int freeFFTImage(CvLSVMFftImage **image);
|
|
#endif
|