use std::os::raw::{c_char, c_void};
use libc::{ptrdiff_t, size_t};
use crate::core;
pub type cv_return_value_AKAZE_DescriptorType = cv_return_value<crate::features2d::AKAZE_DescriptorType>;
pub type cv_return_value_AgastFeatureDetector_DetectorType = cv_return_value<crate::features2d::AgastFeatureDetector_DetectorType>;
pub type cv_return_value_CirclesGridFinderParameters = cv_return_value<crate::calib3d::CirclesGridFinderParameters>;
pub type cv_return_value_DMatch = cv_return_value<core::DMatch>;
pub type cv_return_value_FastFeatureDetector_DetectorType = cv_return_value<crate::features2d::FastFeatureDetector_DetectorType>;
pub type cv_return_value_HOGDescriptor_HistogramNormType = cv_return_value<crate::objdetect::HOGDescriptor_HistogramNormType>;
pub type cv_return_value_KAZE_DiffusivityType = cv_return_value<crate::features2d::KAZE_DiffusivityType>;
pub type cv_return_value_KeyLine = cv_return_value<crate::line_descriptor::KeyLine>;
pub type cv_return_value_KeyPoint = cv_return_value<core::KeyPoint>;
pub type cv_return_value_LSDParam = cv_return_value<crate::line_descriptor::LSDParam>;
pub type cv_return_value_Moments = cv_return_value<core::Moments>;
pub type cv_return_value_ORB_ScoreType = cv_return_value<crate::features2d::ORB_ScoreType>;
pub type cv_return_value_Point2dWrapper = cv_return_value<core::Point2d>;
pub type cv_return_value_Point2fWrapper = cv_return_value<core::Point2f>;
pub type cv_return_value_PointWrapper = cv_return_value<core::Point>;
pub type cv_return_value_Rect2dWrapper = cv_return_value<core::Rect2d>;
pub type cv_return_value_Rect2fWrapper = cv_return_value<core::Rect2f>;
pub type cv_return_value_RectWrapper = cv_return_value<core::Rect>;
pub type cv_return_value_ScalarWrapper = cv_return_value<core::Scalar>;
pub type cv_return_value_SimpleBlobDetector_Params = cv_return_value<crate::features2d::SimpleBlobDetector_Params>;
pub type cv_return_value_Size2fWrapper = cv_return_value<core::Size2f>;
pub type cv_return_value_SizeWrapper = cv_return_value<core::Size>;
pub type cv_return_value_Stitcher_Status = cv_return_value<crate::stitching::Stitcher_Status>;
pub type cv_return_value_UMatUsageFlags = cv_return_value<core::UMatUsageFlags>;
pub type cv_return_value_Vec2dWrapper = cv_return_value<core::Vec2d>;
pub type cv_return_value_Vec3dWrapper = cv_return_value<core::Vec3d>;
pub type cv_return_value_Vec4fWrapper = cv_return_value<core::Vec4f>;
pub type cv_return_value_Vec6fWrapper = cv_return_value<core::Vec6f>;
pub type cv_return_value_VideoCaptureAPIs = cv_return_value<crate::videoio::VideoCaptureAPIs>;
pub type cv_return_value_bool = cv_return_value<bool>;
pub type cv_return_value_char = cv_return_value<i8>;
pub type cv_return_value_char_X = cv_return_value<*mut c_char>;
pub type cv_return_value_const_char_X = cv_return_value<*const c_char>;
pub type cv_return_value_const_int_X = cv_return_value<*const i32>;
pub type cv_return_value_const_unsigned_char_X = cv_return_value<*const u8>;
pub type cv_return_value_const_void_X = cv_return_value<*mut c_void>;
pub type cv_return_value_dnn_Target = cv_return_value<crate::dnn::Target>;
pub type cv_return_value_double = cv_return_value<f64>;
pub type cv_return_value_float = cv_return_value<f32>;
pub type cv_return_value_instr_FLAGS = cv_return_value<core::FLAGS>;
pub type cv_return_value_int = cv_return_value<i32>;
pub type cv_return_value_int64 = cv_return_value<i64>;
pub type cv_return_value_libmv_CameraIntrinsicsOptions = cv_return_value<crate::sfm::libmv_CameraIntrinsicsOptions>;
pub type cv_return_value_libmv_ReconstructionOptions = cv_return_value<crate::sfm::libmv_ReconstructionOptions>;
pub type cv_return_value_std_ptrdiff_t = cv_return_value<ptrdiff_t>;
pub type cv_return_value_std_size_t = cv_return_value<size_t>;
pub type cv_return_value_uint64 = cv_return_value<u64>;
pub type cv_return_value_uint64_t = cv_return_value<u64>;
pub type cv_return_value_unsigned_char = cv_return_value<u8>;
pub type cv_return_value_unsigned_char_X = cv_return_value<*mut u8>;
pub type cv_return_value_unsigned_int = cv_return_value<u32>;
pub type cv_return_value_unsigned_long_long = cv_return_value<u64>;
pub type cv_return_value_utils_logging_LogLevel = cv_return_value<core::LogLevel>;
pub type cv_return_value_void = cv_return_value<crate::types::Unit, ()>;
pub type cv_return_value_void_X = cv_return_value<*mut c_void>;
extern "C" {
pub fn cv_Cholesky_double_X_size_t_int_double_X_size_t_int(a: *mut f64, astep: size_t, m: i32, b: *mut f64, bstep: size_t, n: i32) -> cv_return_value_bool;
pub fn cv_Cholesky_float_X_size_t_int_float_X_size_t_int(a: *mut f32, astep: size_t, m: i32, b: *mut f32, bstep: size_t, n: i32) -> cv_return_value_bool;
pub fn cv_LUT_Mat_Mat_Mat(src: *mut c_void, lut: *mut c_void, dst: *mut c_void) -> cv_return_value_void;
pub fn cv_LU_double_X_size_t_int_double_X_size_t_int(a: *mut f64, astep: size_t, m: i32, b: *mut f64, bstep: size_t, n: i32) -> cv_return_value_int;
pub fn cv_LU_float_X_size_t_int_float_X_size_t_int(a: *mut f32, astep: size_t, m: i32, b: *mut f32, bstep: size_t, n: i32) -> cv_return_value_int;
pub fn cv_Mahalanobis_Mat_Mat_Mat(v1: *mut c_void, v2: *mut c_void, icovar: *mut c_void) -> cv_return_value_double;
pub fn cv_PCABackProject_Mat_Mat_Mat_Mat(data: *mut c_void, mean: *mut c_void, eigenvectors: *mut c_void, result: *mut c_void) -> cv_return_value_void;
pub fn cv_PCACompute_Mat_Mat_Mat_Mat_double(data: *mut c_void, mean: *mut c_void, eigenvectors: *mut c_void, eigenvalues: *mut c_void, retained_variance: f64) -> cv_return_value_void;
pub fn cv_PCACompute_Mat_Mat_Mat_Mat_int(data: *mut c_void, mean: *mut c_void, eigenvectors: *mut c_void, eigenvalues: *mut c_void, max_components: i32) -> cv_return_value_void;
pub fn cv_PCACompute_Mat_Mat_Mat_double(data: *mut c_void, mean: *mut c_void, eigenvectors: *mut c_void, retained_variance: f64) -> cv_return_value_void;
pub fn cv_PCACompute_Mat_Mat_Mat_int(data: *mut c_void, mean: *mut c_void, eigenvectors: *mut c_void, max_components: i32) -> cv_return_value_void;
pub fn cv_PCAProject_Mat_Mat_Mat_Mat(data: *mut c_void, mean: *mut c_void, eigenvectors: *mut c_void, result: *mut c_void) -> cv_return_value_void;
pub fn cv_PSNR_Mat_Mat_double(src1: *mut c_void, src2: *mut c_void, r: f64) -> cv_return_value_double;
pub fn cv_SVBackSubst_Mat_Mat_Mat_Mat_Mat(w: *mut c_void, u: *mut c_void, vt: *mut c_void, rhs: *mut c_void, dst: *mut c_void) -> cv_return_value_void;
pub fn cv_SVDecomp_Mat_Mat_Mat_Mat_int(src: *mut c_void, w: *mut c_void, u: *mut c_void, vt: *mut c_void, flags: i32) -> cv_return_value_void;
pub fn cv_absdiff_Mat_Mat_Mat(src1: *mut c_void, src2: *mut c_void, dst: *mut c_void) -> cv_return_value_void;
pub fn cv_addWeighted_Mat_double_Mat_double_double_Mat_int(src1: *mut c_void, alpha: f64, src2: *mut c_void, beta: f64, gamma: f64, dst: *mut c_void, dtype: i32) -> cv_return_value_void;
pub fn cv_add_Mat_Mat_Mat_Mat_int(src1: *mut c_void, src2: *mut c_void, dst: *mut c_void, mask: *mut c_void, dtype: i32) -> cv_return_value_void;
pub fn cv_alignSize_size_t_int(sz: size_t, n: i32) -> cv_return_value_std_size_t;
pub fn cv_batchDistance_Mat_Mat_Mat_int_Mat_int_int_Mat_int_bool(src1: *mut c_void, src2: *mut c_void, dist: *mut c_void, dtype: i32, nidx: *mut c_void, norm_type: i32, k: i32, mask: *mut c_void, update: i32, crosscheck: bool) -> cv_return_value_void;
pub fn cv_bitwise_and_Mat_Mat_Mat_Mat(src1: *mut c_void, src2: *mut c_void, dst: *mut c_void, mask: *mut c_void) -> cv_return_value_void;
pub fn cv_bitwise_not_Mat_Mat_Mat(src: *mut c_void, dst: *mut c_void, mask: *mut c_void) -> cv_return_value_void;
pub fn cv_bitwise_or_Mat_Mat_Mat_Mat(src1: *mut c_void, src2: *mut c_void, dst: *mut c_void, mask: *mut c_void) -> cv_return_value_void;
pub fn cv_bitwise_xor_Mat_Mat_Mat_Mat(src1: *mut c_void, src2: *mut c_void, dst: *mut c_void, mask: *mut c_void) -> cv_return_value_void;
pub fn cv_borderInterpolate_int_int_int(p: i32, len: i32, border_type: i32) -> cv_return_value_int;
pub fn cv_calcCovarMatrix_Mat_Mat_Mat_int_int(samples: *mut c_void, covar: *mut c_void, mean: *mut c_void, flags: i32, ctype: i32) -> cv_return_value_void;
pub fn cv_cartToPolar_Mat_Mat_Mat_Mat_bool(x: *mut c_void, y: *mut c_void, magnitude: *mut c_void, angle: *mut c_void, angle_in_degrees: bool) -> cv_return_value_void;
pub fn cv_checkHardwareSupport_int(feature: i32) -> cv_return_value_bool;
pub fn cv_checkRange_Mat_bool_Point_X_double_double(a: *mut c_void, quiet: bool, pos: *mut core::Point, min_val: f64, max_val: f64) -> cv_return_value_bool;
pub fn cv_compare_Mat_Mat_Mat_int(src1: *mut c_void, src2: *mut c_void, dst: *mut c_void, cmpop: i32) -> cv_return_value_void;
pub fn cv_completeSymm_Mat_bool(m: *mut c_void, lower_to_upper: bool) -> cv_return_value_void;
pub fn cv_convertFp16_Mat_Mat(src: *mut c_void, dst: *mut c_void) -> cv_return_value_void;
pub fn cv_convertScaleAbs_Mat_Mat_double_double(src: *mut c_void, dst: *mut c_void, alpha: f64, beta: f64) -> cv_return_value_void;
pub fn cv_copyMakeBorder_Mat_Mat_int_int_int_int_int_Scalar(src: *mut c_void, dst: *mut c_void, top: i32, bottom: i32, left: i32, right: i32, border_type: i32, value: core::Scalar) -> cv_return_value_void;
pub fn cv_copyTo_Mat_Mat_Mat(src: *mut c_void, dst: *mut c_void, mask: *mut c_void) -> cv_return_value_void;
pub fn cv_countNonZero_Mat(src: *mut c_void) -> cv_return_value_int;
pub fn cv_cubeRoot_float(val: f32) -> cv_return_value_float;
pub fn cv_cv_abs_schar(x: i8) -> cv_return_value_int;
pub fn cv_cv_abs_ushort(x: u16) -> cv_return_value_int;
pub fn cv_dct_Mat_Mat_int(src: *mut c_void, dst: *mut c_void, flags: i32) -> cv_return_value_void;
pub fn cv_depthToString_int(depth: i32) -> cv_return_value_const_char_X;
pub fn cv_detail_check_failed_MatChannels_int_CheckContext(v: i32, ctx: *mut c_void) -> cv_return_value_void;
pub fn cv_detail_check_failed_MatChannels_int_int_CheckContext(v1: i32, v2: i32, ctx: *mut c_void) -> cv_return_value_void;
pub fn cv_detail_check_failed_MatDepth_int_CheckContext(v: i32, ctx: *mut c_void) -> cv_return_value_void;
pub fn cv_detail_check_failed_MatDepth_int_int_CheckContext(v1: i32, v2: i32, ctx: *mut c_void) -> cv_return_value_void;
pub fn cv_detail_check_failed_MatType_int_CheckContext(v: i32, ctx: *mut c_void) -> cv_return_value_void;
pub fn cv_detail_check_failed_MatType_int_int_CheckContext(v1: i32, v2: i32, ctx: *mut c_void) -> cv_return_value_void;
pub fn cv_detail_check_failed_auto_double_CheckContext(v: f64, ctx: *mut c_void) -> cv_return_value_void;
pub fn cv_detail_check_failed_auto_double_double_CheckContext(v1: f64, v2: f64, ctx: *mut c_void) -> cv_return_value_void;
pub fn cv_detail_check_failed_auto_float_CheckContext(v: f32, ctx: *mut c_void) -> cv_return_value_void;
pub fn cv_detail_check_failed_auto_float_float_CheckContext(v1: f32, v2: f32, ctx: *mut c_void) -> cv_return_value_void;
pub fn cv_detail_check_failed_auto_int_CheckContext(v: i32, ctx: *mut c_void) -> cv_return_value_void;
pub fn cv_detail_check_failed_auto_int_int_CheckContext(v1: i32, v2: i32, ctx: *mut c_void) -> cv_return_value_void;
pub fn cv_detail_check_failed_auto_size_t_CheckContext(v: size_t, ctx: *mut c_void) -> cv_return_value_void;
pub fn cv_detail_check_failed_auto_size_t_size_t_CheckContext(v1: size_t, v2: size_t, ctx: *mut c_void) -> cv_return_value_void;
pub fn cv_determinant_Mat(mtx: *mut c_void) -> cv_return_value_double;
pub fn cv_dft_Mat_Mat_int_int(src: *mut c_void, dst: *mut c_void, flags: i32, nonzero_rows: i32) -> cv_return_value_void;
pub fn cv_directx_getTypeFromD3DFORMAT_int(i_d3_dformat: i32) -> cv_return_value_int;
pub fn cv_directx_getTypeFromDXGI_FORMAT_int(i_dxgi_format: i32) -> cv_return_value_int;
pub fn cv_divUp_int_unsigned_int(a: i32, b: u32) -> cv_return_value_int;
pub fn cv_divUp_size_t_unsigned_int(a: size_t, b: u32) -> cv_return_value_std_size_t;
pub fn cv_divide_Mat_Mat_Mat_double_int(src1: *mut c_void, src2: *mut c_void, dst: *mut c_void, scale: f64, dtype: i32) -> cv_return_value_void;
pub fn cv_divide_double_Mat_Mat_int(scale: f64, src2: *mut c_void, dst: *mut c_void, dtype: i32) -> cv_return_value_void;
pub fn cv_eigenNonSymmetric_Mat_Mat_Mat(src: *mut c_void, eigenvalues: *mut c_void, eigenvectors: *mut c_void) -> cv_return_value_void;
pub fn cv_eigen_Mat_Mat_Mat(src: *mut c_void, eigenvalues: *mut c_void, eigenvectors: *mut c_void) -> cv_return_value_bool;
pub fn cv_error_int_String_const_char_X_const_char_X_int(_code: i32, _err: *const c_char, _func: *const c_char, _file: *const c_char, _line: i32) -> cv_return_value_void;
pub fn cv_exp_Mat_Mat(src: *mut c_void, dst: *mut c_void) -> cv_return_value_void;
pub fn cv_extractChannel_Mat_Mat_int(src: *mut c_void, dst: *mut c_void, coi: i32) -> cv_return_value_void;
pub fn cv_fastAtan2_float_float(y: f32, x: f32) -> cv_return_value_float;
pub fn cv_findNonZero_Mat_Mat(src: *mut c_void, idx: *mut c_void) -> cv_return_value_void;
pub fn cv_flip_Mat_Mat_int(src: *mut c_void, dst: *mut c_void, flip_code: i32) -> cv_return_value_void;
pub fn cv_gemm_Mat_Mat_double_Mat_double_Mat_int(src1: *mut c_void, src2: *mut c_void, alpha: f64, src3: *mut c_void, beta: f64, dst: *mut c_void, flags: i32) -> cv_return_value_void;
pub fn cv_getBuildInformation() -> cv_return_value_const_char_X;
pub fn cv_getCPUFeaturesLine() -> cv_return_value_char_X;
pub fn cv_getCPUTickCount() -> cv_return_value_int64;
pub fn cv_getElemSize_int(_type: i32) -> cv_return_value_std_size_t;
pub fn cv_getHardwareFeatureName_int(feature: i32) -> cv_return_value_char_X;
pub fn cv_getNumThreads() -> cv_return_value_int;
pub fn cv_getNumberOfCPUs() -> cv_return_value_int;
pub fn cv_getOptimalDFTSize_int(vecsize: i32) -> cv_return_value_int;
pub fn cv_getThreadNum() -> cv_return_value_int;
pub fn cv_getTickCount() -> cv_return_value_int64;
pub fn cv_getTickFrequency() -> cv_return_value_double;
pub fn cv_getVersionMajor() -> cv_return_value_int;
pub fn cv_getVersionMinor() -> cv_return_value_int;
pub fn cv_getVersionRevision() -> cv_return_value_int;
pub fn cv_getVersionString() -> cv_return_value_char_X;
pub fn cv_glob_String_VectorOfString_bool(pattern: *mut c_char, result: *mut c_void, recursive: bool) -> cv_return_value_void;
pub fn cv_haveOpenVX() -> cv_return_value_bool;
pub fn cv_hconcat_Mat_Mat_Mat(src1: *mut c_void, src2: *mut c_void, dst: *mut c_void) -> cv_return_value_void;
pub fn cv_hconcat_VectorOfMat_Mat(src: *mut c_void, dst: *mut c_void) -> cv_return_value_void;
pub fn cv_idct_Mat_Mat_int(src: *mut c_void, dst: *mut c_void, flags: i32) -> cv_return_value_void;
pub fn cv_idft_Mat_Mat_int_int(src: *mut c_void, dst: *mut c_void, flags: i32, nonzero_rows: i32) -> cv_return_value_void;
pub fn cv_inRange_Mat_Mat_Mat_Mat(src: *mut c_void, lowerb: *mut c_void, upperb: *mut c_void, dst: *mut c_void) -> cv_return_value_void;
pub fn cv_insertChannel_Mat_Mat_int(src: *mut c_void, dst: *mut c_void, coi: i32) -> cv_return_value_void;
pub fn cv_instr_getFlags() -> cv_return_value_instr_FLAGS;
pub fn cv_instr_resetTrace() -> cv_return_value_void;
pub fn cv_instr_setFlags_FLAGS(mode_flags: core::FLAGS) -> cv_return_value_void;
pub fn cv_instr_setFlags_int(mode_flags: i32) -> cv_return_value_void;
pub fn cv_instr_setUseInstrumentation_bool(flag: bool) -> cv_return_value_void;
pub fn cv_instr_useInstrumentation() -> cv_return_value_bool;
pub fn cv_invert_Mat_Mat_int(src: *mut c_void, dst: *mut c_void, flags: i32) -> cv_return_value_double;
pub fn cv_ipp_getIppErrorLocation() -> cv_return_value_char_X;
pub fn cv_ipp_getIppFeatures() -> cv_return_value_unsigned_long_long;
pub fn cv_ipp_getIppStatus() -> cv_return_value_int;
pub fn cv_ipp_getIppVersion() -> cv_return_value_char_X;
pub fn cv_ipp_setUseIPP_NE_bool(flag: bool) -> cv_return_value_void;
pub fn cv_ipp_setUseIPP_NotExact_bool(flag: bool) -> cv_return_value_void;
pub fn cv_ipp_setUseIPP_bool(flag: bool) -> cv_return_value_void;
pub fn cv_ipp_useIPP() -> cv_return_value_bool;
pub fn cv_ipp_useIPP_NE() -> cv_return_value_bool;
pub fn cv_ipp_useIPP_NotExact() -> cv_return_value_bool;
pub fn cv_kmeans_Mat_int_Mat_TermCriteria_int_int_Mat(data: *mut c_void, k: i32, best_labels: *mut c_void, criteria: *mut c_void, attempts: i32, flags: i32, centers: *mut c_void) -> cv_return_value_double;
pub fn cv_log_Mat_Mat(src: *mut c_void, dst: *mut c_void) -> cv_return_value_void;
pub fn cv_magnitude_Mat_Mat_Mat(x: *mut c_void, y: *mut c_void, magnitude: *mut c_void) -> cv_return_value_void;
pub fn cv_max_Mat_Mat_Mat(src1: *mut c_void, src2: *mut c_void, dst: *mut c_void) -> cv_return_value_void;
pub fn cv_max_UMat_UMat_UMat(src1: *mut c_void, src2: *mut c_void, dst: *mut c_void) -> cv_return_value_void;
pub fn cv_meanStdDev_Mat_Mat_Mat_Mat(src: *mut c_void, mean: *mut c_void, stddev: *mut c_void, mask: *mut c_void) -> cv_return_value_void;
pub fn cv_mean_Mat_Mat(src: *mut c_void, mask: *mut c_void) -> cv_return_value_ScalarWrapper;
pub fn cv_merge_VectorOfMat_Mat(mv: *mut c_void, dst: *mut c_void) -> cv_return_value_void;
pub fn cv_minMaxIdx_Mat_double_X_double_X_int_X_int_X_Mat(src: *mut c_void, min_val: *mut f64, max_val: *mut f64, min_idx: *mut i32, max_idx: *mut i32, mask: *mut c_void) -> cv_return_value_void;
pub fn cv_minMaxLoc_Mat_double_X_double_X_Point_X_Point_X_Mat(src: *mut c_void, min_val: *mut f64, max_val: *mut f64, min_loc: *mut core::Point, max_loc: *mut core::Point, mask: *mut c_void) -> cv_return_value_void;
pub fn cv_min_Mat_Mat_Mat(src1: *mut c_void, src2: *mut c_void, dst: *mut c_void) -> cv_return_value_void;
pub fn cv_min_UMat_UMat_UMat(src1: *mut c_void, src2: *mut c_void, dst: *mut c_void) -> cv_return_value_void;
pub fn cv_mixChannels_VectorOfMat_VectorOfMat_VectorOfint(src: *mut c_void, dst: *mut c_void, from_to: *mut c_void) -> cv_return_value_void;
pub fn cv_mulSpectrums_Mat_Mat_Mat_int_bool(a: *mut c_void, b: *mut c_void, c: *mut c_void, flags: i32, conj_b: bool) -> cv_return_value_void;
pub fn cv_mulTransposed_Mat_Mat_bool_Mat_double_int(src: *mut c_void, dst: *mut c_void, a_ta: bool, delta: *mut c_void, scale: f64, dtype: i32) -> cv_return_value_void;
pub fn cv_multiply_Mat_Mat_Mat_double_int(src1: *mut c_void, src2: *mut c_void, dst: *mut c_void, scale: f64, dtype: i32) -> cv_return_value_void;
pub fn cv_normL1_const_float_X_const_float_X_int(a: *const f32, b: *const f32, n: i32) -> cv_return_value_float;
pub fn cv_normL1_const_uchar_X_const_uchar_X_int(a: *const u8, b: *const u8, n: i32) -> cv_return_value_int;
pub fn cv_normL2Sqr_const_float_X_const_float_X_int(a: *const f32, b: *const f32, n: i32) -> cv_return_value_float;
pub fn cv_norm_Mat_Mat_int_Mat(src1: *mut c_void, src2: *mut c_void, norm_type: i32, mask: *mut c_void) -> cv_return_value_double;
pub fn cv_norm_Mat_int_Mat(src1: *mut c_void, norm_type: i32, mask: *mut c_void) -> cv_return_value_double;
pub fn cv_normalize_Mat_Mat_double_double_int_int_Mat(src: *mut c_void, dst: *mut c_void, alpha: f64, beta: f64, norm_type: i32, dtype: i32, mask: *mut c_void) -> cv_return_value_void;
pub fn cv_ocl_attachContext_String_void_X_void_X_void_X(platform_name: *const c_char, platform_id: *mut c_void, context: *mut c_void, device_id: *mut c_void) -> cv_return_value_void;
pub fn cv_ocl_buildOptionsAddMatrixDescription_String_String_Mat(build_options: *mut *mut c_char, name: *const c_char, _m: *mut c_void) -> cv_return_value_void;
pub fn cv_ocl_convertFromBuffer_void_X_size_t_int_int_int_UMat(cl_mem_buffer: *mut c_void, step: size_t, rows: i32, cols: i32, _type: i32, dst: *mut c_void) -> cv_return_value_void;
pub fn cv_ocl_convertFromImage_void_X_UMat(cl_mem_image: *mut c_void, dst: *mut c_void) -> cv_return_value_void;
pub fn cv_ocl_convertTypeStr_int_int_int_char_X(sdepth: i32, ddepth: i32, cn: i32, buf: *mut c_char) -> cv_return_value_const_char_X;
pub fn cv_ocl_finish() -> cv_return_value_void;
pub fn cv_ocl_getOpenCLErrorString_int(error_code: i32) -> cv_return_value_const_char_X;
pub fn cv_ocl_getPlatfomsInfo_VectorOfPlatformInfo(platform_info: *mut c_void) -> cv_return_value_void;
pub fn cv_ocl_haveAmdBlas() -> cv_return_value_bool;
pub fn cv_ocl_haveAmdFft() -> cv_return_value_bool;
pub fn cv_ocl_haveOpenCL() -> cv_return_value_bool;
pub fn cv_ocl_haveSVM() -> cv_return_value_bool;
pub fn cv_ocl_kernelToStr_Mat_int_const_char_X(_kernel: *mut c_void, ddepth: i32, name: *const c_char) -> cv_return_value_char_X;
pub fn cv_ocl_memopTypeToStr_int(t: i32) -> cv_return_value_const_char_X;
pub fn cv_ocl_predictOptimalVectorWidthMax_Mat_Mat_Mat_Mat_Mat_Mat_Mat_Mat_Mat(src1: *mut c_void, src2: *mut c_void, src3: *mut c_void, src4: *mut c_void, src5: *mut c_void, src6: *mut c_void, src7: *mut c_void, src8: *mut c_void, src9: *mut c_void) -> cv_return_value_int;
pub fn cv_ocl_setUseOpenCL_bool(flag: bool) -> cv_return_value_void;
pub fn cv_ocl_typeToStr_int(t: i32) -> cv_return_value_const_char_X;
pub fn cv_ocl_useOpenCL() -> cv_return_value_bool;
pub fn cv_ocl_vecopTypeToStr_int(t: i32) -> cv_return_value_const_char_X;
pub fn cv_parallel_for__Range_ParallelLoopBody_double(range: *mut c_void, body: *mut c_void, nstripes: f64) -> cv_return_value_void;
pub fn cv_patchNaNs_Mat_double(a: *mut c_void, val: f64) -> cv_return_value_void;
pub fn cv_perspectiveTransform_Mat_Mat_Mat(src: *mut c_void, dst: *mut c_void, m: *mut c_void) -> cv_return_value_void;
pub fn cv_phase_Mat_Mat_Mat_bool(x: *mut c_void, y: *mut c_void, angle: *mut c_void, angle_in_degrees: bool) -> cv_return_value_void;
pub fn cv_polarToCart_Mat_Mat_Mat_Mat_bool(magnitude: *mut c_void, angle: *mut c_void, x: *mut c_void, y: *mut c_void, angle_in_degrees: bool) -> cv_return_value_void;
pub fn cv_pow_Mat_double_Mat(src: *mut c_void, power: f64, dst: *mut c_void) -> cv_return_value_void;
pub fn cv_randn_Mat_Mat_Mat(dst: *mut c_void, mean: *mut c_void, stddev: *mut c_void) -> cv_return_value_void;
pub fn cv_randu_Mat_Mat_Mat(dst: *mut c_void, low: *mut c_void, high: *mut c_void) -> cv_return_value_void;
pub fn cv_reduce_Mat_Mat_int_int_int(src: *mut c_void, dst: *mut c_void, dim: i32, rtype: i32, dtype: i32) -> cv_return_value_void;
pub fn cv_repeat_Mat_int_int(src: *mut c_void, ny: i32, nx: i32) -> cv_return_value_void_X;
pub fn cv_repeat_Mat_int_int_Mat(src: *mut c_void, ny: i32, nx: i32, dst: *mut c_void) -> cv_return_value_void;
pub fn cv_rotate_Mat_Mat_int(src: *mut c_void, dst: *mut c_void, rotate_code: i32) -> cv_return_value_void;
pub fn cv_roundUp_int_unsigned_int(a: i32, b: u32) -> cv_return_value_int;
pub fn cv_roundUp_size_t_unsigned_int(a: size_t, b: u32) -> cv_return_value_std_size_t;
pub fn cv_samples_addSamplesDataSearchPath_String(path: *const c_char) -> cv_return_value_void;
pub fn cv_samples_addSamplesDataSearchSubDirectory_String(subdir: *const c_char) -> cv_return_value_void;
pub fn cv_samples_findFileOrKeep_String_bool(relative_path: *const c_char, silent_mode: bool) -> cv_return_value_char_X;
pub fn cv_samples_findFile_String_bool_bool(relative_path: *const c_char, required: bool, silent_mode: bool) -> cv_return_value_char_X;
pub fn cv_scaleAdd_Mat_double_Mat_Mat(src1: *mut c_void, alpha: f64, src2: *mut c_void, dst: *mut c_void) -> cv_return_value_void;
pub fn cv_setBreakOnError_bool(flag: bool) -> cv_return_value_bool;
pub fn cv_setIdentity_Mat_Scalar(mtx: *mut c_void, s: core::Scalar) -> cv_return_value_void;
pub fn cv_setNumThreads_int(nthreads: i32) -> cv_return_value_void;
pub fn cv_setRNGSeed_int(seed: i32) -> cv_return_value_void;
pub fn cv_setUseOpenVX_bool(flag: bool) -> cv_return_value_void;
pub fn cv_setUseOptimized_bool(onoff: bool) -> cv_return_value_void;
pub fn cv_solveCubic_Mat_Mat(coeffs: *mut c_void, roots: *mut c_void) -> cv_return_value_int;
pub fn cv_solveLP_Mat_Mat_Mat(func: *mut c_void, constr: *mut c_void, z: *mut c_void) -> cv_return_value_int;
pub fn cv_solvePoly_Mat_Mat_int(coeffs: *mut c_void, roots: *mut c_void, max_iters: i32) -> cv_return_value_double;
pub fn cv_solve_Mat_Mat_Mat_int(src1: *mut c_void, src2: *mut c_void, dst: *mut c_void, flags: i32) -> cv_return_value_bool;
pub fn cv_sortIdx_Mat_Mat_int(src: *mut c_void, dst: *mut c_void, flags: i32) -> cv_return_value_void;
pub fn cv_sort_Mat_Mat_int(src: *mut c_void, dst: *mut c_void, flags: i32) -> cv_return_value_void;
pub fn cv_split_Mat_VectorOfMat(m: *mut c_void, mv: *mut c_void) -> cv_return_value_void;
pub fn cv_sqrt_Mat_Mat(src: *mut c_void, dst: *mut c_void) -> cv_return_value_void;
pub fn cv_subtract_Mat_Mat_Mat_Mat_int(src1: *mut c_void, src2: *mut c_void, dst: *mut c_void, mask: *mut c_void, dtype: i32) -> cv_return_value_void;
pub fn cv_sum_Mat(src: *mut c_void) -> cv_return_value_ScalarWrapper;
pub fn cv_swap_Mat_Mat(a: *mut c_void, b: *mut c_void) -> cv_return_value_void;
pub fn cv_swap_UMat_UMat(a: *mut c_void, b: *mut c_void) -> cv_return_value_void;
pub fn cv_tempfile_const_char_X(suffix: *const c_char) -> cv_return_value_char_X;
pub fn cv_trace_Mat(mtx: *mut c_void) -> cv_return_value_ScalarWrapper;
pub fn cv_transform_Mat_Mat_Mat(src: *mut c_void, dst: *mut c_void, m: *mut c_void) -> cv_return_value_void;
pub fn cv_transpose_Mat_Mat(src: *mut c_void, dst: *mut c_void) -> cv_return_value_void;
pub fn cv_typeToString_int(_type: i32) -> cv_return_value_const_char_X;
pub fn cv_useOpenVX() -> cv_return_value_bool;
pub fn cv_useOptimized() -> cv_return_value_bool;
pub fn cv_utils_dumpInputArrayOfArrays_VectorOfMat(argument: *mut c_void) -> cv_return_value_char_X;
pub fn cv_utils_dumpInputArray_Mat(argument: *mut c_void) -> cv_return_value_char_X;
pub fn cv_utils_dumpInputOutputArrayOfArrays_VectorOfMat(argument: *mut c_void) -> cv_return_value_char_X;
pub fn cv_utils_dumpInputOutputArray_Mat(argument: *mut c_void) -> cv_return_value_char_X;
pub fn cv_utils_getThreadID() -> cv_return_value_int;
pub fn cv_utils_logging_getLogLevel() -> cv_return_value_utils_logging_LogLevel;
pub fn cv_utils_logging_getLogTagLevel_const_char_X(tag: *const c_char) -> cv_return_value_utils_logging_LogLevel;
pub fn cv_utils_logging_internal_getGlobalLogTag() -> cv_return_value_void_X;
pub fn cv_utils_logging_internal_writeLogMessageEx_LogLevel_const_char_X_const_char_X_int_const_char_X_const_char_X(log_level: core::LogLevel, tag: *const c_char, file: *const c_char, line: i32, func: *const c_char, message: *const c_char) -> cv_return_value_void;
pub fn cv_utils_logging_internal_writeLogMessage_LogLevel_const_char_X(log_level: core::LogLevel, message: *const c_char) -> cv_return_value_void;
pub fn cv_utils_logging_registerLogTag_LogTag(plogtag: *mut c_void) -> cv_return_value_void;
pub fn cv_utils_logging_setLogLevel_LogLevel(log_level: core::LogLevel) -> cv_return_value_utils_logging_LogLevel;
pub fn cv_utils_logging_setLogTagLevel_const_char_X_LogLevel(tag: *const c_char, level: core::LogLevel) -> cv_return_value_void;
pub fn cv_utils_testAsyncArray_Mat(argument: *mut c_void) -> cv_return_value_void_X;
pub fn cv_utils_testAsyncException() -> cv_return_value_void_X;
pub fn cv_va_intel_convertFromVASurface_void_X_unsigned_int_Size_Mat(display: *mut c_void, surface: u32, size: core::Size, dst: *mut c_void) -> cv_return_value_void;
pub fn cv_va_intel_convertToVASurface_void_X_Mat_unsigned_int_Size(display: *mut c_void, src: *mut c_void, surface: u32, size: core::Size) -> cv_return_value_void;
pub fn cv_vconcat_Mat_Mat_Mat(src1: *mut c_void, src2: *mut c_void, dst: *mut c_void) -> cv_return_value_void;
pub fn cv_vconcat_VectorOfMat_Mat(src: *mut c_void, dst: *mut c_void) -> cv_return_value_void;
pub fn cv_Algorithm_clear(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_Algorithm_empty_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_Algorithm_save_const_String(instance: *const c_void, filename: *const c_char) -> cv_return_value_void;
pub fn cv_Algorithm_getDefaultName_const(instance: *const c_void) -> cv_return_value_char_X;
#[doc(hidden)] pub fn cv_AsyncArray_delete(ptr : *mut c_void);
pub fn cv_AsyncArray_AsyncArray() -> cv_return_value_void_X;
pub fn cv_AsyncArray_AsyncArray_AsyncArray(o: *mut c_void) -> cv_return_value_void_X;
pub fn cv_AsyncArray_release(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_AsyncArray_get_const_Mat(instance: *const c_void, dst: *mut c_void) -> cv_return_value_void;
pub fn cv_AsyncArray_get_const_Mat_int64(instance: *const c_void, dst: *mut c_void, timeout_ns: i64) -> cv_return_value_bool;
pub fn cv_AsyncArray_get_const_Mat_double(instance: *const c_void, dst: *mut c_void, timeout_ns: f64) -> cv_return_value_bool;
pub fn cv_AsyncArray_wait_for_const_int64(instance: *const c_void, timeout_ns: i64) -> cv_return_value_bool;
pub fn cv_AsyncArray_wait_for_const_double(instance: *const c_void, timeout_ns: f64) -> cv_return_value_bool;
pub fn cv_AsyncArray_valid_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_BufferPoolController_getReservedSize_const(instance: *const c_void) -> cv_return_value_std_size_t;
pub fn cv_BufferPoolController_getMaxReservedSize_const(instance: *const c_void) -> cv_return_value_std_size_t;
pub fn cv_BufferPoolController_setMaxReservedSize_size_t(instance: *mut c_void, size: size_t) -> cv_return_value_void;
pub fn cv_BufferPoolController_freeAllReservedBuffers(instance: *mut c_void) -> cv_return_value_void;
#[doc(hidden)] pub fn cv_CommandLineParser_delete(ptr : *mut c_void);
pub fn cv_CommandLineParser_CommandLineParser_CommandLineParser(parser: *mut c_void) -> cv_return_value_void_X;
pub fn cv_CommandLineParser_getPathToApplication_const(instance: *const c_void) -> cv_return_value_char_X;
pub fn cv_CommandLineParser_has_const_String(instance: *const c_void, name: *const c_char) -> cv_return_value_bool;
pub fn cv_CommandLineParser_check_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_CommandLineParser_about_String(instance: *mut c_void, message: *const c_char) -> cv_return_value_void;
pub fn cv_CommandLineParser_printMessage_const(instance: *const c_void) -> cv_return_value_void;
pub fn cv_CommandLineParser_printErrors_const(instance: *const c_void) -> cv_return_value_void;
#[doc(hidden)] pub fn cv_ConjGradSolver_delete(ptr : *mut c_void);
pub fn cv_ConjGradSolver_create_PtrOfFunction_TermCriteria(f: *mut c_void, termcrit: *mut c_void) -> cv_return_value_void_X;
pub fn cv_DMatch_DMatch() -> cv_return_value_DMatch;
pub fn cv_DMatch_DMatch_int_int_float(_query_idx: i32, _train_idx: i32, _distance: f32) -> cv_return_value_DMatch;
pub fn cv_DMatch_DMatch_int_int_int_float(_query_idx: i32, _train_idx: i32, _img_idx: i32, _distance: f32) -> cv_return_value_DMatch;
pub fn cv_DownhillSolver_getInitStep_const_Mat(instance: *const c_void, step: *mut c_void) -> cv_return_value_void;
pub fn cv_DownhillSolver_setInitStep_Mat(instance: *mut c_void, step: *mut c_void) -> cv_return_value_void;
pub fn cv_DownhillSolver_create_PtrOfFunction_Mat_TermCriteria(f: *mut c_void, init_step: *mut c_void, termcrit: *mut c_void) -> cv_return_value_void_X;
pub fn cv_Formatted_next(instance: *mut c_void) -> cv_return_value_const_char_X;
pub fn cv_Formatted_reset(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_Formatter_format_const_Mat(instance: *const c_void, mtx: *mut c_void) -> cv_return_value_void_X;
pub fn cv_Formatter_set16fPrecision_int(instance: *mut c_void, p: i32) -> cv_return_value_void;
pub fn cv_Formatter_set32fPrecision_int(instance: *mut c_void, p: i32) -> cv_return_value_void;
pub fn cv_Formatter_set64fPrecision_int(instance: *mut c_void, p: i32) -> cv_return_value_void;
pub fn cv_Formatter_setMultiline_bool(instance: *mut c_void, ml: bool) -> cv_return_value_void;
pub fn cv_Formatter_get_Formatter_FormatType(fmt: core::Formatter_FormatType) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_Hamming_delete(ptr : *mut c_void);
pub fn cv_KeyPoint_KeyPoint() -> cv_return_value_KeyPoint;
pub fn cv_KeyPoint_KeyPoint_Point2f_float_float_float_int_int(_pt: core::Point2f, _size: f32, _angle: f32, _response: f32, _octave: i32, _class_id: i32) -> cv_return_value_KeyPoint;
pub fn cv_KeyPoint_KeyPoint_float_float_float_float_float_int_int(x: f32, y: f32, _size: f32, _angle: f32, _response: f32, _octave: i32, _class_id: i32) -> cv_return_value_KeyPoint;
pub fn cv_KeyPoint_hash_const(instance: core::KeyPoint) -> cv_return_value_std_size_t;
pub fn cv_KeyPoint_convert_VectorOfKeyPoint_VectorOfPoint2f_VectorOfint(keypoints: *mut c_void, points2f: *mut c_void, keypoint_indexes: *mut c_void) -> cv_return_value_void;
pub fn cv_KeyPoint_convert_VectorOfPoint2f_VectorOfKeyPoint_float_float_int_int(points2f: *mut c_void, keypoints: *mut c_void, size: f32, response: f32, octave: i32, class_id: i32) -> cv_return_value_void;
pub fn cv_KeyPoint_overlap_KeyPoint_KeyPoint(kp1: core::KeyPoint, kp2: core::KeyPoint) -> cv_return_value_float;
#[doc(hidden)] pub fn cv_LDA_delete(ptr : *mut c_void);
pub fn cv_LDA_LDA_int(num_components: i32) -> cv_return_value_void_X;
pub fn cv_LDA_LDA_VectorOfMat_Mat_int(src: *mut c_void, labels: *mut c_void, num_components: i32) -> cv_return_value_void_X;
pub fn cv_LDA_save_const_String(instance: *const c_void, filename: *const c_char) -> cv_return_value_void;
pub fn cv_LDA_load_String(instance: *mut c_void, filename: *const c_char) -> cv_return_value_void;
pub fn cv_LDA_compute_VectorOfMat_Mat(instance: *mut c_void, src: *mut c_void, labels: *mut c_void) -> cv_return_value_void;
pub fn cv_LDA_project_Mat(instance: *mut c_void, src: *mut c_void) -> cv_return_value_void_X;
pub fn cv_LDA_reconstruct_Mat(instance: *mut c_void, src: *mut c_void) -> cv_return_value_void_X;
pub fn cv_LDA_eigenvectors_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_LDA_eigenvalues_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_LDA_subspaceProject_Mat_Mat_Mat(w: *mut c_void, mean: *mut c_void, src: *mut c_void) -> cv_return_value_void_X;
pub fn cv_LDA_subspaceReconstruct_Mat_Mat_Mat(w: *mut c_void, mean: *mut c_void, src: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_Mat_delete(ptr : *mut c_void);
pub fn cv_Mat_flags_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_Mat_dims_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_Mat_rows_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_Mat_cols_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_Mat_data(instance: *mut c_void) -> cv_return_value_unsigned_char_X;
pub fn cv_Mat_set_data_uchar_X(instance: *mut c_void, val: *mut u8) -> cv_return_value_void;
pub fn cv_Mat_datastart_const(instance: *const c_void) -> cv_return_value_const_unsigned_char_X;
pub fn cv_Mat_dataend_const(instance: *const c_void) -> cv_return_value_const_unsigned_char_X;
pub fn cv_Mat_datalimit_const(instance: *const c_void) -> cv_return_value_const_unsigned_char_X;
pub fn cv_Mat_size_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_Mat_step_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_Mat_Mat() -> cv_return_value_void_X;
pub fn cv_Mat_Mat_int_int_int(rows: i32, cols: i32, _type: i32) -> cv_return_value_void_X;
pub fn cv_Mat_Mat_Size_int(size: core::Size, _type: i32) -> cv_return_value_void_X;
pub fn cv_Mat_Mat_int_int_int_Scalar(rows: i32, cols: i32, _type: i32, s: core::Scalar) -> cv_return_value_void_X;
pub fn cv_Mat_Mat_Size_int_Scalar(size: core::Size, _type: i32, s: core::Scalar) -> cv_return_value_void_X;
pub fn cv_Mat_Mat_VectorOfint_int(sizes: *mut c_void, _type: i32) -> cv_return_value_void_X;
pub fn cv_Mat_Mat_VectorOfint_int_Scalar(sizes: *mut c_void, _type: i32, s: core::Scalar) -> cv_return_value_void_X;
pub fn cv_Mat_Mat_Mat(m: *mut c_void) -> cv_return_value_void_X;
pub fn cv_Mat_Mat_int_int_int_void_X_size_t(rows: i32, cols: i32, _type: i32, data: *mut c_void, step: size_t) -> cv_return_value_void_X;
pub fn cv_Mat_Mat_Size_int_void_X_size_t(size: core::Size, _type: i32, data: *mut c_void, step: size_t) -> cv_return_value_void_X;
pub fn cv_Mat_Mat_VectorOfint_int_void_X_const_size_t_X(sizes: *mut c_void, _type: i32, data: *mut c_void, steps: *const size_t) -> cv_return_value_void_X;
pub fn cv_Mat_Mat_Mat_Range_Range(m: *mut c_void, row_range: *mut c_void, col_range: *mut c_void) -> cv_return_value_void_X;
pub fn cv_Mat_Mat_Mat_Rect(m: *mut c_void, roi: core::Rect) -> cv_return_value_void_X;
pub fn cv_Mat_Mat_Mat_VectorOfRange(m: *mut c_void, ranges: *mut c_void) -> cv_return_value_void_X;
pub fn cv_Mat_getUMat_const_AccessFlag_UMatUsageFlags(instance: *const c_void, access_flags: core::AccessFlag, usage_flags: core::UMatUsageFlags) -> cv_return_value_void_X;
pub fn cv_Mat_row_const_int(instance: *const c_void, y: i32) -> cv_return_value_void_X;
pub fn cv_Mat_col_const_int(instance: *const c_void, x: i32) -> cv_return_value_void_X;
pub fn cv_Mat_rowRange_const_int_int(instance: *const c_void, startrow: i32, endrow: i32) -> cv_return_value_void_X;
pub fn cv_Mat_rowRange_const_Range(instance: *const c_void, r: *mut c_void) -> cv_return_value_void_X;
pub fn cv_Mat_colRange_const_int_int(instance: *const c_void, startcol: i32, endcol: i32) -> cv_return_value_void_X;
pub fn cv_Mat_colRange_const_Range(instance: *const c_void, r: *mut c_void) -> cv_return_value_void_X;
pub fn cv_Mat_diag_const_int(instance: *const c_void, d: i32) -> cv_return_value_void_X;
pub fn cv_Mat_diag_Mat(d: *mut c_void) -> cv_return_value_void_X;
pub fn cv_Mat_clone_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_Mat_copyTo_const_Mat(instance: *const c_void, m: *mut c_void) -> cv_return_value_void;
pub fn cv_Mat_copyTo_const_Mat_Mat(instance: *const c_void, m: *mut c_void, mask: *mut c_void) -> cv_return_value_void;
pub fn cv_Mat_convertTo_const_Mat_int_double_double(instance: *const c_void, m: *mut c_void, rtype: i32, alpha: f64, beta: f64) -> cv_return_value_void;
pub fn cv_Mat_assignTo_const_Mat_int(instance: *const c_void, m: *mut c_void, _type: i32) -> cv_return_value_void;
pub fn cv_Mat_setTo_Mat_Mat(instance: *mut c_void, value: *mut c_void, mask: *mut c_void) -> cv_return_value_void_X;
pub fn cv_Mat_reshape_const_int_int(instance: *const c_void, cn: i32, rows: i32) -> cv_return_value_void_X;
pub fn cv_Mat_reshape_const_int_VectorOfint(instance: *const c_void, cn: i32, newshape: *mut c_void) -> cv_return_value_void_X;
pub fn cv_Mat_cross_const_Mat(instance: *const c_void, m: *mut c_void) -> cv_return_value_void_X;
pub fn cv_Mat_dot_const_Mat(instance: *const c_void, m: *mut c_void) -> cv_return_value_double;
pub fn cv_Mat_create_int_int_int(instance: *mut c_void, rows: i32, cols: i32, _type: i32) -> cv_return_value_void;
pub fn cv_Mat_create_Size_int(instance: *mut c_void, size: core::Size, _type: i32) -> cv_return_value_void;
pub fn cv_Mat_create_VectorOfint_int(instance: *mut c_void, sizes: *mut c_void, _type: i32) -> cv_return_value_void;
pub fn cv_Mat_addref(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_Mat_release(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_Mat_deallocate(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_Mat_reserve_size_t(instance: *mut c_void, sz: size_t) -> cv_return_value_void;
pub fn cv_Mat_reserveBuffer_size_t(instance: *mut c_void, sz: size_t) -> cv_return_value_void;
pub fn cv_Mat_resize_size_t(instance: *mut c_void, sz: size_t) -> cv_return_value_void;
pub fn cv_Mat_resize_size_t_Scalar(instance: *mut c_void, sz: size_t, s: core::Scalar) -> cv_return_value_void;
pub fn cv_Mat_push_back_Mat(instance: *mut c_void, m: *mut c_void) -> cv_return_value_void;
pub fn cv_Mat_pop_back_size_t(instance: *mut c_void, nelems: size_t) -> cv_return_value_void;
pub fn cv_Mat_locateROI_const_Size_Point(instance: *const c_void, whole_size: &mut core::Size, ofs: &mut core::Point) -> cv_return_value_void;
pub fn cv_Mat_adjustROI_int_int_int_int(instance: *mut c_void, dtop: i32, dbottom: i32, dleft: i32, dright: i32) -> cv_return_value_void_X;
pub fn cv_Mat_isContinuous_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_Mat_isSubmatrix_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_Mat_elemSize_const(instance: *const c_void) -> cv_return_value_std_size_t;
pub fn cv_Mat_elemSize1_const(instance: *const c_void) -> cv_return_value_std_size_t;
pub fn cv_Mat_type_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_Mat_depth_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_Mat_channels_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_Mat_step1_const_int(instance: *const c_void, i: i32) -> cv_return_value_std_size_t;
pub fn cv_Mat_empty_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_Mat_total_const(instance: *const c_void) -> cv_return_value_std_size_t;
pub fn cv_Mat_total_const_int_int(instance: *const c_void, start_dim: i32, end_dim: i32) -> cv_return_value_std_size_t;
pub fn cv_Mat_checkVector_const_int_int_bool(instance: *const c_void, elem_channels: i32, depth: i32, require_continuous: bool) -> cv_return_value_int;
pub fn cv_Mat_ptr_int(instance: *mut c_void, i0: i32) -> cv_return_value_unsigned_char_X;
pub fn cv_Mat_ptr_const_int(instance: *const c_void, i0: i32) -> cv_return_value_const_unsigned_char_X;
pub fn cv_Mat_ptr_int_int(instance: *mut c_void, row: i32, col: i32) -> cv_return_value_unsigned_char_X;
pub fn cv_Mat_ptr_const_int_int(instance: *const c_void, row: i32, col: i32) -> cv_return_value_const_unsigned_char_X;
pub fn cv_Mat_ptr_int_int_int(instance: *mut c_void, i0: i32, i1: i32, i2: i32) -> cv_return_value_unsigned_char_X;
pub fn cv_Mat_ptr_const_int_int_int(instance: *const c_void, i0: i32, i1: i32, i2: i32) -> cv_return_value_const_unsigned_char_X;
pub fn cv_Mat_ptr_const_int_X(instance: *mut c_void, idx: *const i32) -> cv_return_value_unsigned_char_X;
pub fn cv_Mat_ptr_const_const_int_X(instance: *const c_void, idx: *const i32) -> cv_return_value_const_unsigned_char_X;
pub fn cv_Mat_updateContinuityFlag(instance: *mut c_void) -> cv_return_value_void;
#[doc(hidden)] pub fn cv_MatConstIterator_delete(ptr : *mut c_void);
pub fn cv_MatConstIterator_MatConstIterator() -> cv_return_value_void_X;
pub fn cv_MatConstIterator_MatConstIterator_const_Mat(_m: *mut c_void) -> cv_return_value_void_X;
pub fn cv_MatConstIterator_MatConstIterator_const_Mat_int_int(_m: *mut c_void, _row: i32, _col: i32) -> cv_return_value_void_X;
pub fn cv_MatConstIterator_MatConstIterator_const_Mat_Point(_m: *mut c_void, _pt: core::Point) -> cv_return_value_void_X;
pub fn cv_MatConstIterator_MatConstIterator_const_Mat_const_int_X(_m: *mut c_void, _idx: *const i32) -> cv_return_value_void_X;
pub fn cv_MatConstIterator_MatConstIterator_MatConstIterator(it: *mut c_void) -> cv_return_value_void_X;
pub fn cv_MatConstIterator_pos_const(instance: *const c_void) -> cv_return_value_PointWrapper;
pub fn cv_MatConstIterator_pos_const_int_X(instance: *const c_void, _idx: *mut i32) -> cv_return_value_void;
pub fn cv_MatConstIterator_lpos_const(instance: *const c_void) -> cv_return_value_std_ptrdiff_t;
pub fn cv_MatConstIterator_seek_ptrdiff_t_bool(instance: *mut c_void, ofs: ptrdiff_t, relative: bool) -> cv_return_value_void;
pub fn cv_MatConstIterator_seek_const_int_X_bool(instance: *mut c_void, _idx: *const i32, relative: bool) -> cv_return_value_void;
#[doc(hidden)] pub fn cv_MatExpr_delete(ptr : *mut c_void);
pub fn cv_MatExpr_size_const(instance: *const c_void) -> cv_return_value_SizeWrapper;
pub fn cv_MatExpr_type_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_MatExpr_cross_const_Mat(instance: *const c_void, m: *mut c_void) -> cv_return_value_void_X;
pub fn cv_MatExpr_dot_const_Mat(instance: *const c_void, m: *mut c_void) -> cv_return_value_double;
#[doc(hidden)] pub fn cv_MatSize_delete(ptr : *mut c_void);
pub fn cv_MatSize_MatSize_int_X(_p: *mut i32) -> cv_return_value_void_X;
pub fn cv_MatSize_dims_const(instance: *const c_void) -> cv_return_value_int;
#[doc(hidden)] pub fn cv_MatStep_delete(ptr : *mut c_void);
pub fn cv_MatStep_MatStep() -> cv_return_value_void_X;
pub fn cv_MatStep_MatStep_size_t(s: size_t) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_Matx_AddOp_delete(ptr : *mut c_void);
pub fn cv_Matx_AddOp_Matx_AddOp() -> cv_return_value_void_X;
pub fn cv_Matx_AddOp_Matx_AddOp_Matx_AddOp(unnamed_arg: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_Matx_DivOp_delete(ptr : *mut c_void);
pub fn cv_Matx_DivOp_Matx_DivOp() -> cv_return_value_void_X;
pub fn cv_Matx_DivOp_Matx_DivOp_Matx_DivOp(unnamed_arg: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_Matx_MatMulOp_delete(ptr : *mut c_void);
pub fn cv_Matx_MatMulOp_Matx_MatMulOp() -> cv_return_value_void_X;
pub fn cv_Matx_MatMulOp_Matx_MatMulOp_Matx_MatMulOp(unnamed_arg: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_Matx_MulOp_delete(ptr : *mut c_void);
pub fn cv_Matx_MulOp_Matx_MulOp() -> cv_return_value_void_X;
pub fn cv_Matx_MulOp_Matx_MulOp_Matx_MulOp(unnamed_arg: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_Matx_ScaleOp_delete(ptr : *mut c_void);
pub fn cv_Matx_ScaleOp_Matx_ScaleOp() -> cv_return_value_void_X;
pub fn cv_Matx_ScaleOp_Matx_ScaleOp_Matx_ScaleOp(unnamed_arg: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_Matx_SubOp_delete(ptr : *mut c_void);
pub fn cv_Matx_SubOp_Matx_SubOp() -> cv_return_value_void_X;
pub fn cv_Matx_SubOp_Matx_SubOp_Matx_SubOp(unnamed_arg: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_Matx_TOp_delete(ptr : *mut c_void);
pub fn cv_Matx_TOp_Matx_TOp() -> cv_return_value_void_X;
pub fn cv_Matx_TOp_Matx_TOp_Matx_TOp(unnamed_arg: *mut c_void) -> cv_return_value_void_X;
pub fn cv_MinProblemSolver_getFunction_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_MinProblemSolver_setFunction_PtrOfFunction(instance: *mut c_void, f: *mut c_void) -> cv_return_value_void;
pub fn cv_MinProblemSolver_getTermCriteria_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_MinProblemSolver_setTermCriteria_TermCriteria(instance: *mut c_void, termcrit: *mut c_void) -> cv_return_value_void;
pub fn cv_MinProblemSolver_minimize_Mat(instance: *mut c_void, x: *mut c_void) -> cv_return_value_double;
pub fn cv_MinProblemSolver_Function_getDims_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_MinProblemSolver_Function_getGradientEps_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_MinProblemSolver_Function_calc_const_const_double_X(instance: *const c_void, x: *const f64) -> cv_return_value_double;
pub fn cv_MinProblemSolver_Function_getGradient_const_double_X_double_X(instance: *mut c_void, x: *const f64, grad: *mut f64) -> cv_return_value_void;
pub fn cv_Moments_Moments() -> cv_return_value_Moments;
pub fn cv_Moments_Moments_double_double_double_double_double_double_double_double_double_double(m00: f64, m10: f64, m01: f64, m20: f64, m11: f64, m02: f64, m30: f64, m21: f64, m12: f64, m03: f64) -> cv_return_value_Moments;
#[doc(hidden)] pub fn cv_NAryMatIterator_delete(ptr : *mut c_void);
pub fn cv_NAryMatIterator_NAryMatIterator() -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_PCA_delete(ptr : *mut c_void);
pub fn cv_PCA_PCA() -> cv_return_value_void_X;
pub fn cv_PCA_PCA_Mat_Mat_int_int(data: *mut c_void, mean: *mut c_void, flags: i32, max_components: i32) -> cv_return_value_void_X;
pub fn cv_PCA_PCA_Mat_Mat_int_double(data: *mut c_void, mean: *mut c_void, flags: i32, retained_variance: f64) -> cv_return_value_void_X;
pub fn cv_PCA_project_const_Mat(instance: *const c_void, vec: *mut c_void) -> cv_return_value_void_X;
pub fn cv_PCA_project_const_Mat_Mat(instance: *const c_void, vec: *mut c_void, result: *mut c_void) -> cv_return_value_void;
pub fn cv_PCA_backProject_const_Mat(instance: *const c_void, vec: *mut c_void) -> cv_return_value_void_X;
pub fn cv_PCA_backProject_const_Mat_Mat(instance: *const c_void, vec: *mut c_void, result: *mut c_void) -> cv_return_value_void;
#[doc(hidden)] pub fn cv_ParallelLoopBodyLambdaWrapper_delete(ptr : *mut c_void);
#[doc(hidden)] pub fn cv_Range_delete(ptr : *mut c_void);
pub fn cv_Range_start_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_Range_end_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_Range_Range() -> cv_return_value_void_X;
pub fn cv_Range_Range_int_int(_start: i32, _end: i32) -> cv_return_value_void_X;
pub fn cv_Range_size_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_Range_empty_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_Range_all() -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_RotatedRect_delete(ptr : *mut c_void);
pub fn cv_RotatedRect_center_const(instance: *const c_void) -> cv_return_value_Point2fWrapper;
pub fn cv_RotatedRect_size_const(instance: *const c_void) -> cv_return_value_Size2fWrapper;
pub fn cv_RotatedRect_angle_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_RotatedRect_RotatedRect() -> cv_return_value_void_X;
pub fn cv_RotatedRect_RotatedRect_Point2f_Size2f_float(center: core::Point2f, size: core::Size2f, angle: f32) -> cv_return_value_void_X;
pub fn cv_RotatedRect_RotatedRect_Point2f_Point2f_Point2f(point1: core::Point2f, point2: core::Point2f, point3: core::Point2f) -> cv_return_value_void_X;
pub fn cv_RotatedRect_points_const_Point2f_X(instance: *const c_void, pts: *mut core::Point2f) -> cv_return_value_void;
pub fn cv_RotatedRect_boundingRect_const(instance: *const c_void) -> cv_return_value_RectWrapper;
pub fn cv_RotatedRect_boundingRect2f_const(instance: *const c_void) -> cv_return_value_Rect2fWrapper;
#[doc(hidden)] pub fn cv_SparseMat_delete(ptr : *mut c_void);
pub fn cv_SparseMat_SparseMat() -> cv_return_value_void_X;
pub fn cv_SparseMat_SparseMat_int_const_int_X_int(dims: i32, _sizes: *const i32, _type: i32) -> cv_return_value_void_X;
pub fn cv_SparseMat_SparseMat_Mat(m: *mut c_void) -> cv_return_value_void_X;
pub fn cv_SparseMat_clone_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_SparseMat_copyTo_const_Mat(instance: *const c_void, m: *mut c_void) -> cv_return_value_void;
pub fn cv_SparseMat_convertTo_const_Mat_int_double_double(instance: *const c_void, m: *mut c_void, rtype: i32, alpha: f64, beta: f64) -> cv_return_value_void;
pub fn cv_SparseMat_create_int_const_int_X_int(instance: *mut c_void, dims: i32, _sizes: *const i32, _type: i32) -> cv_return_value_void;
pub fn cv_SparseMat_clear(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_SparseMat_addref(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_SparseMat_release(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_SparseMat_elemSize_const(instance: *const c_void) -> cv_return_value_std_size_t;
pub fn cv_SparseMat_elemSize1_const(instance: *const c_void) -> cv_return_value_std_size_t;
pub fn cv_SparseMat_type_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_SparseMat_depth_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_SparseMat_channels_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_SparseMat_size_const(instance: *const c_void) -> cv_return_value_const_int_X;
pub fn cv_SparseMat_size_const_int(instance: *const c_void, i: i32) -> cv_return_value_int;
pub fn cv_SparseMat_dims_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_SparseMat_nzcount_const(instance: *const c_void) -> cv_return_value_std_size_t;
pub fn cv_SparseMat_hash_const_int(instance: *const c_void, i0: i32) -> cv_return_value_std_size_t;
pub fn cv_SparseMat_hash_const_int_int(instance: *const c_void, i0: i32, i1: i32) -> cv_return_value_std_size_t;
pub fn cv_SparseMat_hash_const_int_int_int(instance: *const c_void, i0: i32, i1: i32, i2: i32) -> cv_return_value_std_size_t;
pub fn cv_SparseMat_hash_const_const_int_X(instance: *const c_void, idx: *const i32) -> cv_return_value_std_size_t;
pub fn cv_SparseMat_ptr_int_bool_size_t_X(instance: *mut c_void, i0: i32, create_missing: bool, hashval: *mut size_t) -> cv_return_value_unsigned_char_X;
pub fn cv_SparseMat_ptr_int_int_bool_size_t_X(instance: *mut c_void, i0: i32, i1: i32, create_missing: bool, hashval: *mut size_t) -> cv_return_value_unsigned_char_X;
pub fn cv_SparseMat_ptr_int_int_int_bool_size_t_X(instance: *mut c_void, i0: i32, i1: i32, i2: i32, create_missing: bool, hashval: *mut size_t) -> cv_return_value_unsigned_char_X;
pub fn cv_SparseMat_ptr_const_int_X_bool_size_t_X(instance: *mut c_void, idx: *const i32, create_missing: bool, hashval: *mut size_t) -> cv_return_value_unsigned_char_X;
pub fn cv_SparseMat_erase_int_int_size_t_X(instance: *mut c_void, i0: i32, i1: i32, hashval: *mut size_t) -> cv_return_value_void;
pub fn cv_SparseMat_erase_int_int_int_size_t_X(instance: *mut c_void, i0: i32, i1: i32, i2: i32, hashval: *mut size_t) -> cv_return_value_void;
pub fn cv_SparseMat_erase_const_int_X_size_t_X(instance: *mut c_void, idx: *const i32, hashval: *mut size_t) -> cv_return_value_void;
pub fn cv_SparseMat_node_size_t(instance: *mut c_void, nidx: size_t) -> cv_return_value_void_X;
pub fn cv_SparseMat_node_const_size_t(instance: *const c_void, nidx: size_t) -> cv_return_value_const_void_X;
pub fn cv_SparseMat_newNode_const_int_X_size_t(instance: *mut c_void, idx: *const i32, hashval: size_t) -> cv_return_value_unsigned_char_X;
pub fn cv_SparseMat_removeNode_size_t_size_t_size_t(instance: *mut c_void, hidx: size_t, nidx: size_t, previdx: size_t) -> cv_return_value_void;
pub fn cv_SparseMat_resizeHashTab_size_t(instance: *mut c_void, newsize: size_t) -> cv_return_value_void;
#[doc(hidden)] pub fn cv_SparseMat_Hdr_delete(ptr : *mut c_void);
pub fn cv_SparseMat_Hdr_Hdr_int_const_int_X_int(_dims: i32, _sizes: *const i32, _type: i32) -> cv_return_value_void_X;
pub fn cv_SparseMat_Hdr_clear(instance: *mut c_void) -> cv_return_value_void;
#[doc(hidden)] pub fn cv_SparseMat_Node_delete(ptr : *mut c_void);
pub fn cv_SparseMatConstIterator_node_const(instance: *const c_void) -> cv_return_value_const_void_X;
pub fn cv_SparseMatConstIterator_seekEnd(instance: *mut c_void) -> cv_return_value_void;
#[doc(hidden)] pub fn cv_SparseMatIterator_delete(ptr : *mut c_void);
pub fn cv_SparseMatIterator_node_const(instance: *const c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_TermCriteria_delete(ptr : *mut c_void);
pub fn cv_TermCriteria_type_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_TermCriteria_maxCount_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_TermCriteria_epsilon_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_TermCriteria_TermCriteria() -> cv_return_value_void_X;
pub fn cv_TermCriteria_TermCriteria_int_int_double(_type: i32, max_count: i32, epsilon: f64) -> cv_return_value_void_X;
pub fn cv_TermCriteria_isValid_const(instance: *const c_void) -> cv_return_value_bool;
#[doc(hidden)] pub fn cv_TickMeter_delete(ptr : *mut c_void);
pub fn cv_TickMeter_TickMeter() -> cv_return_value_void_X;
pub fn cv_TickMeter_start(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_TickMeter_stop(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_TickMeter_getTimeTicks_const(instance: *const c_void) -> cv_return_value_int64;
pub fn cv_TickMeter_getTimeMicro_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_TickMeter_getTimeMilli_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_TickMeter_getTimeSec_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_TickMeter_getCounter_const(instance: *const c_void) -> cv_return_value_int64;
pub fn cv_TickMeter_reset(instance: *mut c_void) -> cv_return_value_void;
#[doc(hidden)] pub fn cv_UMat_delete(ptr : *mut c_void);
pub fn cv_UMat_flags_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_UMat_dims_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_UMat_rows_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_UMat_cols_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_UMat_usageFlags_const(instance: *const c_void) -> cv_return_value_UMatUsageFlags;
pub fn cv_UMat_offset_const(instance: *const c_void) -> cv_return_value_std_size_t;
pub fn cv_UMat_size_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_UMat_step_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_UMat_UMat_UMatUsageFlags(usage_flags: core::UMatUsageFlags) -> cv_return_value_void_X;
pub fn cv_UMat_UMat_int_int_int_UMatUsageFlags(rows: i32, cols: i32, _type: i32, usage_flags: core::UMatUsageFlags) -> cv_return_value_void_X;
pub fn cv_UMat_UMat_Size_int_UMatUsageFlags(size: core::Size, _type: i32, usage_flags: core::UMatUsageFlags) -> cv_return_value_void_X;
pub fn cv_UMat_UMat_int_int_int_Scalar_UMatUsageFlags(rows: i32, cols: i32, _type: i32, s: core::Scalar, usage_flags: core::UMatUsageFlags) -> cv_return_value_void_X;
pub fn cv_UMat_UMat_Size_int_Scalar_UMatUsageFlags(size: core::Size, _type: i32, s: core::Scalar, usage_flags: core::UMatUsageFlags) -> cv_return_value_void_X;
pub fn cv_UMat_UMat_int_const_int_X_int_UMatUsageFlags(ndims: i32, sizes: *const i32, _type: i32, usage_flags: core::UMatUsageFlags) -> cv_return_value_void_X;
pub fn cv_UMat_UMat_int_const_int_X_int_Scalar_UMatUsageFlags(ndims: i32, sizes: *const i32, _type: i32, s: core::Scalar, usage_flags: core::UMatUsageFlags) -> cv_return_value_void_X;
pub fn cv_UMat_UMat_UMat(m: *mut c_void) -> cv_return_value_void_X;
pub fn cv_UMat_UMat_UMat_Range_Range(m: *mut c_void, row_range: *mut c_void, col_range: *mut c_void) -> cv_return_value_void_X;
pub fn cv_UMat_UMat_UMat_Rect(m: *mut c_void, roi: core::Rect) -> cv_return_value_void_X;
pub fn cv_UMat_UMat_UMat_VectorOfRange(m: *mut c_void, ranges: *mut c_void) -> cv_return_value_void_X;
pub fn cv_UMat_getMat_const_AccessFlag(instance: *const c_void, flags: core::AccessFlag) -> cv_return_value_void_X;
pub fn cv_UMat_row_const_int(instance: *const c_void, y: i32) -> cv_return_value_void_X;
pub fn cv_UMat_col_const_int(instance: *const c_void, x: i32) -> cv_return_value_void_X;
pub fn cv_UMat_rowRange_const_int_int(instance: *const c_void, startrow: i32, endrow: i32) -> cv_return_value_void_X;
pub fn cv_UMat_rowRange_const_Range(instance: *const c_void, r: *mut c_void) -> cv_return_value_void_X;
pub fn cv_UMat_colRange_const_int_int(instance: *const c_void, startcol: i32, endcol: i32) -> cv_return_value_void_X;
pub fn cv_UMat_colRange_const_Range(instance: *const c_void, r: *mut c_void) -> cv_return_value_void_X;
pub fn cv_UMat_diag_const_int(instance: *const c_void, d: i32) -> cv_return_value_void_X;
pub fn cv_UMat_diag_UMat(d: *mut c_void) -> cv_return_value_void_X;
pub fn cv_UMat_clone_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_UMat_copyTo_const_Mat(instance: *const c_void, m: *mut c_void) -> cv_return_value_void;
pub fn cv_UMat_copyTo_const_Mat_Mat(instance: *const c_void, m: *mut c_void, mask: *mut c_void) -> cv_return_value_void;
pub fn cv_UMat_convertTo_const_Mat_int_double_double(instance: *const c_void, m: *mut c_void, rtype: i32, alpha: f64, beta: f64) -> cv_return_value_void;
pub fn cv_UMat_assignTo_const_UMat_int(instance: *const c_void, m: *mut c_void, _type: i32) -> cv_return_value_void;
pub fn cv_UMat_setTo_Mat_Mat(instance: *mut c_void, value: *mut c_void, mask: *mut c_void) -> cv_return_value_void_X;
pub fn cv_UMat_reshape_const_int_int(instance: *const c_void, cn: i32, rows: i32) -> cv_return_value_void_X;
pub fn cv_UMat_reshape_const_int_int_const_int_X(instance: *const c_void, cn: i32, newndims: i32, newsz: *const i32) -> cv_return_value_void_X;
pub fn cv_UMat_t_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_UMat_inv_const_int(instance: *const c_void, method: i32) -> cv_return_value_void_X;
pub fn cv_UMat_mul_const_Mat_double(instance: *const c_void, m: *mut c_void, scale: f64) -> cv_return_value_void_X;
pub fn cv_UMat_dot_const_Mat(instance: *const c_void, m: *mut c_void) -> cv_return_value_double;
pub fn cv_UMat_zeros_int_int_int(rows: i32, cols: i32, _type: i32) -> cv_return_value_void_X;
pub fn cv_UMat_zeros_Size_int(size: core::Size, _type: i32) -> cv_return_value_void_X;
pub fn cv_UMat_zeros_int_const_int_X_int(ndims: i32, sz: *const i32, _type: i32) -> cv_return_value_void_X;
pub fn cv_UMat_ones_int_int_int(rows: i32, cols: i32, _type: i32) -> cv_return_value_void_X;
pub fn cv_UMat_ones_Size_int(size: core::Size, _type: i32) -> cv_return_value_void_X;
pub fn cv_UMat_ones_int_const_int_X_int(ndims: i32, sz: *const i32, _type: i32) -> cv_return_value_void_X;
pub fn cv_UMat_eye_int_int_int(rows: i32, cols: i32, _type: i32) -> cv_return_value_void_X;
pub fn cv_UMat_eye_Size_int(size: core::Size, _type: i32) -> cv_return_value_void_X;
pub fn cv_UMat_create_int_int_int_UMatUsageFlags(instance: *mut c_void, rows: i32, cols: i32, _type: i32, usage_flags: core::UMatUsageFlags) -> cv_return_value_void;
pub fn cv_UMat_create_Size_int_UMatUsageFlags(instance: *mut c_void, size: core::Size, _type: i32, usage_flags: core::UMatUsageFlags) -> cv_return_value_void;
pub fn cv_UMat_create_VectorOfint_int_UMatUsageFlags(instance: *mut c_void, sizes: *mut c_void, _type: i32, usage_flags: core::UMatUsageFlags) -> cv_return_value_void;
pub fn cv_UMat_addref(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_UMat_release(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_UMat_deallocate(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_UMat_locateROI_const_Size_Point(instance: *const c_void, whole_size: &mut core::Size, ofs: &mut core::Point) -> cv_return_value_void;
pub fn cv_UMat_adjustROI_int_int_int_int(instance: *mut c_void, dtop: i32, dbottom: i32, dleft: i32, dright: i32) -> cv_return_value_void_X;
pub fn cv_UMat_isContinuous_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_UMat_isSubmatrix_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_UMat_elemSize_const(instance: *const c_void) -> cv_return_value_std_size_t;
pub fn cv_UMat_elemSize1_const(instance: *const c_void) -> cv_return_value_std_size_t;
pub fn cv_UMat_type_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_UMat_depth_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_UMat_channels_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_UMat_step1_const_int(instance: *const c_void, i: i32) -> cv_return_value_std_size_t;
pub fn cv_UMat_empty_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_UMat_total_const(instance: *const c_void) -> cv_return_value_std_size_t;
pub fn cv_UMat_checkVector_const_int_int_bool(instance: *const c_void, elem_channels: i32, depth: i32, require_continuous: bool) -> cv_return_value_int;
pub fn cv_UMat_handle_const_AccessFlag(instance: *const c_void, access_flags: core::AccessFlag) -> cv_return_value_void_X;
pub fn cv_UMat_ndoffset_const_size_t_X(instance: *const c_void, ofs: *mut size_t) -> cv_return_value_void;
pub fn cv_UMat_updateContinuityFlag(instance: *mut c_void) -> cv_return_value_void;
#[doc(hidden)] pub fn cv_UMatData_delete(ptr : *mut c_void);
pub fn cv_UMatData_lock(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_UMatData_unlock(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_UMatData_hostCopyObsolete_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_UMatData_deviceCopyObsolete_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_UMatData_deviceMemMapped_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_UMatData_copyOnMap_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_UMatData_tempUMat_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_UMatData_tempCopiedUMat_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_UMatData_markHostCopyObsolete_bool(instance: *mut c_void, flag: bool) -> cv_return_value_void;
pub fn cv_UMatData_markDeviceCopyObsolete_bool(instance: *mut c_void, flag: bool) -> cv_return_value_void;
pub fn cv_UMatData_markDeviceMemMapped_bool(instance: *mut c_void, flag: bool) -> cv_return_value_void;
#[doc(hidden)] pub fn cv_CheckContext_delete(ptr : *mut c_void);
#[doc(hidden)] pub fn cv_NodeData_delete(ptr : *mut c_void);
pub fn cv_instr_NodeData_NodeData_const_char_X_const_char_X_int_void_X_bool_TYPE_IMPL(fun_name: *const c_char, file_name: *const c_char, line_num: i32, ret_address: *mut c_void, always_expand: bool, instr_type: core::TYPE, impl_type: core::IMPL) -> cv_return_value_void_X;
pub fn cv_instr_NodeData_NodeData_NodeData(_ref: *mut c_void) -> cv_return_value_void_X;
pub fn cv_instr_NodeData_getTotalMs_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_instr_NodeData_getMeanMs_const(instance: *const c_void) -> cv_return_value_double;
#[doc(hidden)] pub fn cv_NodeDataTls_delete(ptr : *mut c_void);
pub fn cv_instr_NodeDataTls_NodeDataTls() -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_Context_delete(ptr : *mut c_void);
pub fn cv_ocl_Context_Context() -> cv_return_value_void_X;
pub fn cv_ocl_Context_Context_int(dtype: i32) -> cv_return_value_void_X;
pub fn cv_ocl_Context_Context_Context(c: *mut c_void) -> cv_return_value_void_X;
pub fn cv_ocl_Context_create(instance: *mut c_void) -> cv_return_value_bool;
pub fn cv_ocl_Context_create_int(instance: *mut c_void, dtype: i32) -> cv_return_value_bool;
pub fn cv_ocl_Context_ndevices_const(instance: *const c_void) -> cv_return_value_std_size_t;
pub fn cv_ocl_Context_device_const_size_t(instance: *const c_void, idx: size_t) -> cv_return_value_void_X;
pub fn cv_ocl_Context_ptr_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ocl_Context_useSVM_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_ocl_Context_setUseSVM_bool(instance: *mut c_void, enabled: bool) -> cv_return_value_void;
#[doc(hidden)] pub fn cv_Device_delete(ptr : *mut c_void);
pub fn cv_ocl_Device_Device() -> cv_return_value_void_X;
pub fn cv_ocl_Device_Device_void_X(d: *mut c_void) -> cv_return_value_void_X;
pub fn cv_ocl_Device_Device_Device(d: *mut c_void) -> cv_return_value_void_X;
pub fn cv_ocl_Device_set_void_X(instance: *mut c_void, d: *mut c_void) -> cv_return_value_void;
pub fn cv_ocl_Device_name_const(instance: *const c_void) -> cv_return_value_char_X;
pub fn cv_ocl_Device_extensions_const(instance: *const c_void) -> cv_return_value_char_X;
pub fn cv_ocl_Device_isExtensionSupported_const_String(instance: *const c_void, extension_name: *const c_char) -> cv_return_value_bool;
pub fn cv_ocl_Device_version_const(instance: *const c_void) -> cv_return_value_char_X;
pub fn cv_ocl_Device_vendorName_const(instance: *const c_void) -> cv_return_value_char_X;
pub fn cv_ocl_Device_OpenCL_C_Version_const(instance: *const c_void) -> cv_return_value_char_X;
pub fn cv_ocl_Device_OpenCLVersion_const(instance: *const c_void) -> cv_return_value_char_X;
pub fn cv_ocl_Device_deviceVersionMajor_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ocl_Device_deviceVersionMinor_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ocl_Device_driverVersion_const(instance: *const c_void) -> cv_return_value_char_X;
pub fn cv_ocl_Device_ptr_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ocl_Device_type_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ocl_Device_addressBits_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ocl_Device_available_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_ocl_Device_compilerAvailable_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_ocl_Device_linkerAvailable_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_ocl_Device_doubleFPConfig_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ocl_Device_singleFPConfig_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ocl_Device_halfFPConfig_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ocl_Device_endianLittle_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_ocl_Device_errorCorrectionSupport_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_ocl_Device_executionCapabilities_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ocl_Device_globalMemCacheSize_const(instance: *const c_void) -> cv_return_value_std_size_t;
pub fn cv_ocl_Device_globalMemCacheType_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ocl_Device_globalMemCacheLineSize_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ocl_Device_globalMemSize_const(instance: *const c_void) -> cv_return_value_std_size_t;
pub fn cv_ocl_Device_localMemSize_const(instance: *const c_void) -> cv_return_value_std_size_t;
pub fn cv_ocl_Device_localMemType_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ocl_Device_hostUnifiedMemory_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_ocl_Device_imageSupport_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_ocl_Device_imageFromBufferSupport_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_ocl_Device_imagePitchAlignment_const(instance: *const c_void) -> cv_return_value_unsigned_int;
pub fn cv_ocl_Device_imageBaseAddressAlignment_const(instance: *const c_void) -> cv_return_value_unsigned_int;
pub fn cv_ocl_Device_intelSubgroupsSupport_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_ocl_Device_image2DMaxWidth_const(instance: *const c_void) -> cv_return_value_std_size_t;
pub fn cv_ocl_Device_image2DMaxHeight_const(instance: *const c_void) -> cv_return_value_std_size_t;
pub fn cv_ocl_Device_image3DMaxWidth_const(instance: *const c_void) -> cv_return_value_std_size_t;
pub fn cv_ocl_Device_image3DMaxHeight_const(instance: *const c_void) -> cv_return_value_std_size_t;
pub fn cv_ocl_Device_image3DMaxDepth_const(instance: *const c_void) -> cv_return_value_std_size_t;
pub fn cv_ocl_Device_imageMaxBufferSize_const(instance: *const c_void) -> cv_return_value_std_size_t;
pub fn cv_ocl_Device_imageMaxArraySize_const(instance: *const c_void) -> cv_return_value_std_size_t;
pub fn cv_ocl_Device_vendorID_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ocl_Device_isAMD_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_ocl_Device_isIntel_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_ocl_Device_isNVidia_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_ocl_Device_maxClockFrequency_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ocl_Device_maxComputeUnits_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ocl_Device_maxConstantArgs_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ocl_Device_maxConstantBufferSize_const(instance: *const c_void) -> cv_return_value_std_size_t;
pub fn cv_ocl_Device_maxMemAllocSize_const(instance: *const c_void) -> cv_return_value_std_size_t;
pub fn cv_ocl_Device_maxParameterSize_const(instance: *const c_void) -> cv_return_value_std_size_t;
pub fn cv_ocl_Device_maxReadImageArgs_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ocl_Device_maxWriteImageArgs_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ocl_Device_maxSamplers_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ocl_Device_maxWorkGroupSize_const(instance: *const c_void) -> cv_return_value_std_size_t;
pub fn cv_ocl_Device_maxWorkItemDims_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ocl_Device_maxWorkItemSizes_const_size_t_X(instance: *const c_void, unnamed_arg: *mut size_t) -> cv_return_value_void;
pub fn cv_ocl_Device_memBaseAddrAlign_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ocl_Device_nativeVectorWidthChar_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ocl_Device_nativeVectorWidthShort_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ocl_Device_nativeVectorWidthInt_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ocl_Device_nativeVectorWidthLong_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ocl_Device_nativeVectorWidthFloat_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ocl_Device_nativeVectorWidthDouble_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ocl_Device_nativeVectorWidthHalf_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ocl_Device_preferredVectorWidthChar_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ocl_Device_preferredVectorWidthShort_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ocl_Device_preferredVectorWidthInt_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ocl_Device_preferredVectorWidthLong_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ocl_Device_preferredVectorWidthFloat_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ocl_Device_preferredVectorWidthDouble_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ocl_Device_preferredVectorWidthHalf_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ocl_Device_printfBufferSize_const(instance: *const c_void) -> cv_return_value_std_size_t;
pub fn cv_ocl_Device_profilingTimerResolution_const(instance: *const c_void) -> cv_return_value_std_size_t;
pub fn cv_ocl_Device_getDefault() -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_Image2D_delete(ptr : *mut c_void);
pub fn cv_ocl_Image2D_Image2D() -> cv_return_value_void_X;
pub fn cv_ocl_Image2D_Image2D_UMat_bool_bool(src: *mut c_void, norm: bool, alias: bool) -> cv_return_value_void_X;
pub fn cv_ocl_Image2D_Image2D_Image2D(i: *mut c_void) -> cv_return_value_void_X;
pub fn cv_ocl_Image2D_canCreateAlias_UMat(u: *mut c_void) -> cv_return_value_bool;
pub fn cv_ocl_Image2D_isFormatSupported_int_int_bool(depth: i32, cn: i32, norm: bool) -> cv_return_value_bool;
pub fn cv_ocl_Image2D_ptr_const(instance: *const c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_Kernel_delete(ptr : *mut c_void);
pub fn cv_ocl_Kernel_Kernel() -> cv_return_value_void_X;
pub fn cv_ocl_Kernel_Kernel_Kernel(k: *mut c_void) -> cv_return_value_void_X;
pub fn cv_ocl_Kernel_empty_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_ocl_Kernel_set_int_const_void_X_size_t(instance: *mut c_void, i: i32, value: *const c_void, sz: size_t) -> cv_return_value_int;
pub fn cv_ocl_Kernel_set_int_UMat(instance: *mut c_void, i: i32, m: *mut c_void) -> cv_return_value_int;
pub fn cv_ocl_Kernel_set_int_KernelArg(instance: *mut c_void, i: i32, arg: *mut c_void) -> cv_return_value_int;
pub fn cv_ocl_Kernel_run_int_size_t_X_size_t_X_bool_Queue(instance: *mut c_void, dims: i32, globalsize: *mut size_t, localsize: *mut size_t, sync: bool, q: *mut c_void) -> cv_return_value_bool;
pub fn cv_ocl_Kernel_runTask_bool_Queue(instance: *mut c_void, sync: bool, q: *mut c_void) -> cv_return_value_bool;
pub fn cv_ocl_Kernel_runProfiling_int_size_t_X_size_t_X_Queue(instance: *mut c_void, dims: i32, globalsize: *mut size_t, localsize: *mut size_t, q: *mut c_void) -> cv_return_value_int64;
pub fn cv_ocl_Kernel_workGroupSize_const(instance: *const c_void) -> cv_return_value_std_size_t;
pub fn cv_ocl_Kernel_preferedWorkGroupSizeMultiple_const(instance: *const c_void) -> cv_return_value_std_size_t;
pub fn cv_ocl_Kernel_compileWorkGroupSize_const_size_t_X(instance: *const c_void, wsz: *mut size_t) -> cv_return_value_bool;
pub fn cv_ocl_Kernel_localMemSize_const(instance: *const c_void) -> cv_return_value_std_size_t;
pub fn cv_ocl_Kernel_ptr_const(instance: *const c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_KernelArg_delete(ptr : *mut c_void);
pub fn cv_ocl_KernelArg_KernelArg_int_UMat_int_int_const_void_X_size_t(_flags: i32, _m: *mut c_void, wscale: i32, iwscale: i32, _obj: *const c_void, _sz: size_t) -> cv_return_value_void_X;
pub fn cv_ocl_KernelArg_KernelArg() -> cv_return_value_void_X;
pub fn cv_ocl_KernelArg_Local_size_t(local_mem_size: size_t) -> cv_return_value_void_X;
pub fn cv_ocl_KernelArg_PtrWriteOnly_UMat(m: *mut c_void) -> cv_return_value_void_X;
pub fn cv_ocl_KernelArg_PtrReadOnly_UMat(m: *mut c_void) -> cv_return_value_void_X;
pub fn cv_ocl_KernelArg_PtrReadWrite_UMat(m: *mut c_void) -> cv_return_value_void_X;
pub fn cv_ocl_KernelArg_ReadWrite_UMat_int_int(m: *mut c_void, wscale: i32, iwscale: i32) -> cv_return_value_void_X;
pub fn cv_ocl_KernelArg_ReadWriteNoSize_UMat_int_int(m: *mut c_void, wscale: i32, iwscale: i32) -> cv_return_value_void_X;
pub fn cv_ocl_KernelArg_ReadOnly_UMat_int_int(m: *mut c_void, wscale: i32, iwscale: i32) -> cv_return_value_void_X;
pub fn cv_ocl_KernelArg_WriteOnly_UMat_int_int(m: *mut c_void, wscale: i32, iwscale: i32) -> cv_return_value_void_X;
pub fn cv_ocl_KernelArg_ReadOnlyNoSize_UMat_int_int(m: *mut c_void, wscale: i32, iwscale: i32) -> cv_return_value_void_X;
pub fn cv_ocl_KernelArg_WriteOnlyNoSize_UMat_int_int(m: *mut c_void, wscale: i32, iwscale: i32) -> cv_return_value_void_X;
pub fn cv_ocl_KernelArg_Constant_Mat(m: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_Platform_delete(ptr : *mut c_void);
pub fn cv_ocl_Platform_Platform() -> cv_return_value_void_X;
pub fn cv_ocl_Platform_Platform_Platform(p: *mut c_void) -> cv_return_value_void_X;
pub fn cv_ocl_Platform_ptr_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ocl_Platform_getDefault() -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_PlatformInfo_delete(ptr : *mut c_void);
pub fn cv_ocl_PlatformInfo_PlatformInfo() -> cv_return_value_void_X;
pub fn cv_ocl_PlatformInfo_PlatformInfo_void_X(id: *mut c_void) -> cv_return_value_void_X;
pub fn cv_ocl_PlatformInfo_PlatformInfo_PlatformInfo(i: *mut c_void) -> cv_return_value_void_X;
pub fn cv_ocl_PlatformInfo_name_const(instance: *const c_void) -> cv_return_value_char_X;
pub fn cv_ocl_PlatformInfo_vendor_const(instance: *const c_void) -> cv_return_value_char_X;
pub fn cv_ocl_PlatformInfo_version_const(instance: *const c_void) -> cv_return_value_char_X;
pub fn cv_ocl_PlatformInfo_deviceNumber_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ocl_PlatformInfo_getDevice_const_Device_int(instance: *const c_void, device: *mut c_void, d: i32) -> cv_return_value_void;
#[doc(hidden)] pub fn cv_Program_delete(ptr : *mut c_void);
pub fn cv_ocl_Program_ptr_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ocl_Program_getBinary_const_VectorOfchar(instance: *const c_void, binary: *mut c_void) -> cv_return_value_void;
pub fn cv_ocl_Program_read_String_String(instance: *mut c_void, buf: *const c_char, buildflags: *const c_char) -> cv_return_value_bool;
pub fn cv_ocl_Program_write_const_String(instance: *const c_void, buf: *mut *mut c_char) -> cv_return_value_bool;
pub fn cv_ocl_Program_getPrefix_const(instance: *const c_void) -> cv_return_value_char_X;
pub fn cv_ocl_Program_getPrefix_String(buildflags: *const c_char) -> cv_return_value_char_X;
#[doc(hidden)] pub fn cv_ProgramSource_delete(ptr : *mut c_void);
pub fn cv_ocl_ProgramSource_ProgramSource() -> cv_return_value_void_X;
pub fn cv_ocl_ProgramSource_ProgramSource_String_String_String_String(module: *const c_char, name: *const c_char, code_str: *const c_char, code_hash: *const c_char) -> cv_return_value_void_X;
pub fn cv_ocl_ProgramSource_ProgramSource_String(prog: *const c_char) -> cv_return_value_void_X;
pub fn cv_ocl_ProgramSource_source_const(instance: *const c_void) -> cv_return_value_const_char_X;
pub fn cv_ocl_ProgramSource_hash_const(instance: *const c_void) -> cv_return_value_uint64;
pub fn cv_ocl_ProgramSource_fromBinary_String_String_const_unsigned_char_X_size_t_String(module: *const c_char, name: *const c_char, binary: *const u8, size: size_t, build_options: *const c_char) -> cv_return_value_void_X;
pub fn cv_ocl_ProgramSource_fromSPIR_String_String_const_unsigned_char_X_size_t_String(module: *const c_char, name: *const c_char, binary: *const u8, size: size_t, build_options: *const c_char) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_Queue_delete(ptr : *mut c_void);
pub fn cv_ocl_Queue_Queue() -> cv_return_value_void_X;
pub fn cv_ocl_Queue_Queue_Context_Device(c: *mut c_void, d: *mut c_void) -> cv_return_value_void_X;
pub fn cv_ocl_Queue_Queue_Queue(q: *mut c_void) -> cv_return_value_void_X;
pub fn cv_ocl_Queue_create_Context_Device(instance: *mut c_void, c: *mut c_void, d: *mut c_void) -> cv_return_value_bool;
pub fn cv_ocl_Queue_finish(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_ocl_Queue_ptr_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ocl_Queue_getDefault() -> cv_return_value_void_X;
pub fn cv_ocl_Queue_getProfilingQueue_const(instance: *const c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_Timer_delete(ptr : *mut c_void);
pub fn cv_ocl_Timer_Timer_Queue(q: *mut c_void) -> cv_return_value_void_X;
pub fn cv_ocl_Timer_start(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_ocl_Timer_stop(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_ocl_Timer_durationNS_const(instance: *const c_void) -> cv_return_value_uint64;
#[doc(hidden)] pub fn cv_ProgramEntry_delete(ptr : *mut c_void);
pub fn cv_utils_AllocatorStatisticsInterface_getCurrentUsage_const(instance: *const c_void) -> cv_return_value_uint64_t;
pub fn cv_utils_AllocatorStatisticsInterface_getTotalUsage_const(instance: *const c_void) -> cv_return_value_uint64_t;
pub fn cv_utils_AllocatorStatisticsInterface_getNumberOfAllocations_const(instance: *const c_void) -> cv_return_value_uint64_t;
pub fn cv_utils_AllocatorStatisticsInterface_getPeakUsage_const(instance: *const c_void) -> cv_return_value_uint64_t;
pub fn cv_utils_AllocatorStatisticsInterface_resetPeakUsage(instance: *mut c_void) -> cv_return_value_void;
#[doc(hidden)] pub fn cv_LogTag_delete(ptr : *mut c_void);
pub fn cv_utils_logging_LogTag_LogTag_const_char_X_LogLevel(_name: *const c_char, _level: core::LogLevel) -> cv_return_value_void_X;
}
extern "C" {
pub fn cv_RQDecomp3x3_Mat_Mat_Mat_Mat_Mat_Mat(src: *mut c_void, mtx_r: *mut c_void, mtx_q: *mut c_void, qx: *mut c_void, qy: *mut c_void, qz: *mut c_void) -> cv_return_value_Vec3dWrapper;
pub fn cv_Rodrigues_Mat_Mat_Mat(src: *mut c_void, dst: *mut c_void, jacobian: *mut c_void) -> cv_return_value_void;
pub fn cv_calibrateCameraRO_VectorOfMat_VectorOfMat_Size_int_Mat_Mat_VectorOfMat_VectorOfMat_Mat_Mat_Mat_Mat_Mat_int_TermCriteria(object_points: *mut c_void, image_points: *mut c_void, image_size: core::Size, i_fixed_point: i32, camera_matrix: *mut c_void, dist_coeffs: *mut c_void, rvecs: *mut c_void, tvecs: *mut c_void, new_obj_points: *mut c_void, std_deviations_intrinsics: *mut c_void, std_deviations_extrinsics: *mut c_void, std_deviations_obj_points: *mut c_void, per_view_errors: *mut c_void, flags: i32, criteria: *mut c_void) -> cv_return_value_double;
pub fn cv_calibrateCameraRO_VectorOfMat_VectorOfMat_Size_int_Mat_Mat_VectorOfMat_VectorOfMat_Mat_int_TermCriteria(object_points: *mut c_void, image_points: *mut c_void, image_size: core::Size, i_fixed_point: i32, camera_matrix: *mut c_void, dist_coeffs: *mut c_void, rvecs: *mut c_void, tvecs: *mut c_void, new_obj_points: *mut c_void, flags: i32, criteria: *mut c_void) -> cv_return_value_double;
pub fn cv_calibrateCamera_VectorOfMat_VectorOfMat_Size_Mat_Mat_VectorOfMat_VectorOfMat_Mat_Mat_Mat_int_TermCriteria(object_points: *mut c_void, image_points: *mut c_void, image_size: core::Size, camera_matrix: *mut c_void, dist_coeffs: *mut c_void, rvecs: *mut c_void, tvecs: *mut c_void, std_deviations_intrinsics: *mut c_void, std_deviations_extrinsics: *mut c_void, per_view_errors: *mut c_void, flags: i32, criteria: *mut c_void) -> cv_return_value_double;
pub fn cv_calibrateCamera_VectorOfMat_VectorOfMat_Size_Mat_Mat_VectorOfMat_VectorOfMat_int_TermCriteria(object_points: *mut c_void, image_points: *mut c_void, image_size: core::Size, camera_matrix: *mut c_void, dist_coeffs: *mut c_void, rvecs: *mut c_void, tvecs: *mut c_void, flags: i32, criteria: *mut c_void) -> cv_return_value_double;
pub fn cv_calibrateHandEye_VectorOfMat_VectorOfMat_VectorOfMat_VectorOfMat_Mat_Mat_HandEyeCalibrationMethod(r_gripper2base: *mut c_void, t_gripper2base: *mut c_void, r_target2cam: *mut c_void, t_target2cam: *mut c_void, r_cam2gripper: *mut c_void, t_cam2gripper: *mut c_void, method: crate::calib3d::HandEyeCalibrationMethod) -> cv_return_value_void;
pub fn cv_calibrationMatrixValues_Mat_Size_double_double_double_double_double_Point2d_double(camera_matrix: *mut c_void, image_size: core::Size, aperture_width: f64, aperture_height: f64, fovx: &mut f64, fovy: &mut f64, focal_length: &mut f64, principal_point: &mut core::Point2d, aspect_ratio: &mut f64) -> cv_return_value_void;
pub fn cv_checkChessboard_Mat_Size(img: *mut c_void, size: core::Size) -> cv_return_value_bool;
pub fn cv_composeRT_Mat_Mat_Mat_Mat_Mat_Mat_Mat_Mat_Mat_Mat_Mat_Mat_Mat_Mat(rvec1: *mut c_void, tvec1: *mut c_void, rvec2: *mut c_void, tvec2: *mut c_void, rvec3: *mut c_void, tvec3: *mut c_void, dr3dr1: *mut c_void, dr3dt1: *mut c_void, dr3dr2: *mut c_void, dr3dt2: *mut c_void, dt3dr1: *mut c_void, dt3dt1: *mut c_void, dt3dr2: *mut c_void, dt3dt2: *mut c_void) -> cv_return_value_void;
pub fn cv_computeCorrespondEpilines_Mat_int_Mat_Mat(points: *mut c_void, which_image: i32, f: *mut c_void, lines: *mut c_void) -> cv_return_value_void;
pub fn cv_convertPointsFromHomogeneous_Mat_Mat(src: *mut c_void, dst: *mut c_void) -> cv_return_value_void;
pub fn cv_convertPointsHomogeneous_Mat_Mat(src: *mut c_void, dst: *mut c_void) -> cv_return_value_void;
pub fn cv_convertPointsToHomogeneous_Mat_Mat(src: *mut c_void, dst: *mut c_void) -> cv_return_value_void;
pub fn cv_correctMatches_Mat_Mat_Mat_Mat_Mat(f: *mut c_void, points1: *mut c_void, points2: *mut c_void, new_points1: *mut c_void, new_points2: *mut c_void) -> cv_return_value_void;
pub fn cv_decomposeEssentialMat_Mat_Mat_Mat_Mat(e: *mut c_void, r1: *mut c_void, r2: *mut c_void, t: *mut c_void) -> cv_return_value_void;
pub fn cv_decomposeHomographyMat_Mat_Mat_VectorOfMat_VectorOfMat_VectorOfMat(h: *mut c_void, k: *mut c_void, rotations: *mut c_void, translations: *mut c_void, normals: *mut c_void) -> cv_return_value_int;
pub fn cv_decomposeProjectionMatrix_Mat_Mat_Mat_Mat_Mat_Mat_Mat_Mat(proj_matrix: *mut c_void, camera_matrix: *mut c_void, rot_matrix: *mut c_void, trans_vect: *mut c_void, rot_matrix_x: *mut c_void, rot_matrix_y: *mut c_void, rot_matrix_z: *mut c_void, euler_angles: *mut c_void) -> cv_return_value_void;
pub fn cv_drawChessboardCorners_Mat_Size_Mat_bool(image: *mut c_void, pattern_size: core::Size, corners: *mut c_void, pattern_was_found: bool) -> cv_return_value_void;
pub fn cv_drawFrameAxes_Mat_Mat_Mat_Mat_Mat_float_int(image: *mut c_void, camera_matrix: *mut c_void, dist_coeffs: *mut c_void, rvec: *mut c_void, tvec: *mut c_void, length: f32, thickness: i32) -> cv_return_value_void;
pub fn cv_estimateAffine2D_Mat_Mat_Mat_int_double_size_t_double_size_t(from: *mut c_void, to: *mut c_void, inliers: *mut c_void, method: i32, ransac_reproj_threshold: f64, max_iters: size_t, confidence: f64, refine_iters: size_t) -> cv_return_value_void_X;
pub fn cv_estimateAffine3D_Mat_Mat_Mat_Mat_double_double(src: *mut c_void, dst: *mut c_void, out: *mut c_void, inliers: *mut c_void, ransac_threshold: f64, confidence: f64) -> cv_return_value_int;
pub fn cv_estimateAffinePartial2D_Mat_Mat_Mat_int_double_size_t_double_size_t(from: *mut c_void, to: *mut c_void, inliers: *mut c_void, method: i32, ransac_reproj_threshold: f64, max_iters: size_t, confidence: f64, refine_iters: size_t) -> cv_return_value_void_X;
pub fn cv_filterHomographyDecompByVisibleRefpoints_VectorOfMat_VectorOfMat_Mat_Mat_Mat_Mat(rotations: *mut c_void, normals: *mut c_void, before_points: *mut c_void, after_points: *mut c_void, possible_solutions: *mut c_void, points_mask: *mut c_void) -> cv_return_value_void;
pub fn cv_filterSpeckles_Mat_double_int_double_Mat(img: *mut c_void, new_val: f64, max_speckle_size: i32, max_diff: f64, buf: *mut c_void) -> cv_return_value_void;
pub fn cv_find4QuadCornerSubpix_Mat_Mat_Size(img: *mut c_void, corners: *mut c_void, region_size: core::Size) -> cv_return_value_bool;
pub fn cv_findChessboardCornersSB_Mat_Size_Mat_int(image: *mut c_void, pattern_size: core::Size, corners: *mut c_void, flags: i32) -> cv_return_value_bool;
pub fn cv_findChessboardCorners_Mat_Size_Mat_int(image: *mut c_void, pattern_size: core::Size, corners: *mut c_void, flags: i32) -> cv_return_value_bool;
pub fn cv_findEssentialMat_Mat_Mat_Mat_int_double_double_Mat(points1: *mut c_void, points2: *mut c_void, camera_matrix: *mut c_void, method: i32, prob: f64, threshold: f64, mask: *mut c_void) -> cv_return_value_void_X;
pub fn cv_findEssentialMat_Mat_Mat_double_Point2d_int_double_double_Mat(points1: *mut c_void, points2: *mut c_void, focal: f64, pp: core::Point2d, method: i32, prob: f64, threshold: f64, mask: *mut c_void) -> cv_return_value_void_X;
pub fn cv_findFundamentalMat_Mat_Mat_Mat_int_double_double(points1: *mut c_void, points2: *mut c_void, mask: *mut c_void, method: i32, ransac_reproj_threshold: f64, confidence: f64) -> cv_return_value_void_X;
pub fn cv_findHomography_Mat_Mat_Mat_int_double(src_points: *mut c_void, dst_points: *mut c_void, mask: *mut c_void, method: i32, ransac_reproj_threshold: f64) -> cv_return_value_void_X;
pub fn cv_findHomography_Mat_Mat_int_double_Mat_int_double(src_points: *mut c_void, dst_points: *mut c_void, method: i32, ransac_reproj_threshold: f64, mask: *mut c_void, max_iters: i32, confidence: f64) -> cv_return_value_void_X;
pub fn cv_fisheye_calibrate_VectorOfMat_VectorOfMat_Size_Mat_Mat_VectorOfMat_VectorOfMat_int_TermCriteria(object_points: *mut c_void, image_points: *mut c_void, image_size: core::Size, k: *mut c_void, d: *mut c_void, rvecs: *mut c_void, tvecs: *mut c_void, flags: i32, criteria: *mut c_void) -> cv_return_value_double;
pub fn cv_fisheye_distortPoints_Mat_Mat_Mat_Mat_double(undistorted: *mut c_void, distorted: *mut c_void, k: *mut c_void, d: *mut c_void, alpha: f64) -> cv_return_value_void;
pub fn cv_fisheye_estimateNewCameraMatrixForUndistortRectify_Mat_Mat_Size_Mat_Mat_double_Size_double(k: *mut c_void, d: *mut c_void, image_size: core::Size, r: *mut c_void, p: *mut c_void, balance: f64, new_size: core::Size, fov_scale: f64) -> cv_return_value_void;
pub fn cv_fisheye_initUndistortRectifyMap_Mat_Mat_Mat_Mat_Size_int_Mat_Mat(k: *mut c_void, d: *mut c_void, r: *mut c_void, p: *mut c_void, size: core::Size, m1type: i32, map1: *mut c_void, map2: *mut c_void) -> cv_return_value_void;
pub fn cv_fisheye_projectPoints_Mat_Mat_Mat_Mat_Mat_Mat_double_Mat(object_points: *mut c_void, image_points: *mut c_void, rvec: *mut c_void, tvec: *mut c_void, k: *mut c_void, d: *mut c_void, alpha: f64, jacobian: *mut c_void) -> cv_return_value_void;
pub fn cv_fisheye_stereoCalibrate_VectorOfMat_VectorOfMat_VectorOfMat_Mat_Mat_Mat_Mat_Size_Mat_Mat_int_TermCriteria(object_points: *mut c_void, image_points1: *mut c_void, image_points2: *mut c_void, k1: *mut c_void, d1: *mut c_void, k2: *mut c_void, d2: *mut c_void, image_size: core::Size, r: *mut c_void, t: *mut c_void, flags: i32, criteria: *mut c_void) -> cv_return_value_double;
pub fn cv_fisheye_stereoRectify_Mat_Mat_Mat_Mat_Size_Mat_Mat_Mat_Mat_Mat_Mat_Mat_int_Size_double_double(k1: *mut c_void, d1: *mut c_void, k2: *mut c_void, d2: *mut c_void, image_size: core::Size, r: *mut c_void, tvec: *mut c_void, r1: *mut c_void, r2: *mut c_void, p1: *mut c_void, p2: *mut c_void, q: *mut c_void, flags: i32, new_image_size: core::Size, balance: f64, fov_scale: f64) -> cv_return_value_void;
pub fn cv_fisheye_undistortImage_Mat_Mat_Mat_Mat_Mat_Size(distorted: *mut c_void, undistorted: *mut c_void, k: *mut c_void, d: *mut c_void, knew: *mut c_void, new_size: core::Size) -> cv_return_value_void;
pub fn cv_fisheye_undistortPoints_Mat_Mat_Mat_Mat_Mat_Mat(distorted: *mut c_void, undistorted: *mut c_void, k: *mut c_void, d: *mut c_void, r: *mut c_void, p: *mut c_void) -> cv_return_value_void;
pub fn cv_getDefaultNewCameraMatrix_Mat_Size_bool(camera_matrix: *mut c_void, imgsize: core::Size, center_principal_point: bool) -> cv_return_value_void_X;
pub fn cv_getOptimalNewCameraMatrix_Mat_Mat_Size_double_Size_Rect_X_bool(camera_matrix: *mut c_void, dist_coeffs: *mut c_void, image_size: core::Size, alpha: f64, new_img_size: core::Size, valid_pix_roi: *mut core::Rect, center_principal_point: bool) -> cv_return_value_void_X;
pub fn cv_getValidDisparityROI_Rect_Rect_int_int_int(roi1: core::Rect, roi2: core::Rect, min_disparity: i32, number_of_disparities: i32, sad_window_size: i32) -> cv_return_value_RectWrapper;
pub fn cv_initCameraMatrix2D_VectorOfMat_VectorOfMat_Size_double(object_points: *mut c_void, image_points: *mut c_void, image_size: core::Size, aspect_ratio: f64) -> cv_return_value_void_X;
pub fn cv_initUndistortRectifyMap_Mat_Mat_Mat_Mat_Size_int_Mat_Mat(camera_matrix: *mut c_void, dist_coeffs: *mut c_void, r: *mut c_void, new_camera_matrix: *mut c_void, size: core::Size, m1type: i32, map1: *mut c_void, map2: *mut c_void) -> cv_return_value_void;
pub fn cv_initWideAngleProjMap_Mat_Mat_Size_int_int_Mat_Mat_UndistortTypes_double(camera_matrix: *mut c_void, dist_coeffs: *mut c_void, image_size: core::Size, dest_image_width: i32, m1type: i32, map1: *mut c_void, map2: *mut c_void, proj_type: crate::calib3d::UndistortTypes, alpha: f64) -> cv_return_value_float;
pub fn cv_initWideAngleProjMap_Mat_Mat_Size_int_int_Mat_Mat_int_double(camera_matrix: *mut c_void, dist_coeffs: *mut c_void, image_size: core::Size, dest_image_width: i32, m1type: i32, map1: *mut c_void, map2: *mut c_void, proj_type: i32, alpha: f64) -> cv_return_value_float;
pub fn cv_matMulDeriv_Mat_Mat_Mat_Mat(a: *mut c_void, b: *mut c_void, d_a_bd_a: *mut c_void, d_a_bd_b: *mut c_void) -> cv_return_value_void;
pub fn cv_projectPoints_Mat_Mat_Mat_Mat_Mat_Mat_Mat_double(object_points: *mut c_void, rvec: *mut c_void, tvec: *mut c_void, camera_matrix: *mut c_void, dist_coeffs: *mut c_void, image_points: *mut c_void, jacobian: *mut c_void, aspect_ratio: f64) -> cv_return_value_void;
pub fn cv_recoverPose_Mat_Mat_Mat_Mat_Mat_Mat_Mat(e: *mut c_void, points1: *mut c_void, points2: *mut c_void, camera_matrix: *mut c_void, r: *mut c_void, t: *mut c_void, mask: *mut c_void) -> cv_return_value_int;
pub fn cv_recoverPose_Mat_Mat_Mat_Mat_Mat_Mat_double_Mat_Mat(e: *mut c_void, points1: *mut c_void, points2: *mut c_void, camera_matrix: *mut c_void, r: *mut c_void, t: *mut c_void, distance_thresh: f64, mask: *mut c_void, triangulated_points: *mut c_void) -> cv_return_value_int;
pub fn cv_recoverPose_Mat_Mat_Mat_Mat_Mat_double_Point2d_Mat(e: *mut c_void, points1: *mut c_void, points2: *mut c_void, r: *mut c_void, t: *mut c_void, focal: f64, pp: core::Point2d, mask: *mut c_void) -> cv_return_value_int;
pub fn cv_rectify3Collinear_Mat_Mat_Mat_Mat_Mat_Mat_VectorOfMat_VectorOfMat_Size_Mat_Mat_Mat_Mat_Mat_Mat_Mat_Mat_Mat_Mat_Mat_double_Size_Rect_X_Rect_X_int(camera_matrix1: *mut c_void, dist_coeffs1: *mut c_void, camera_matrix2: *mut c_void, dist_coeffs2: *mut c_void, camera_matrix3: *mut c_void, dist_coeffs3: *mut c_void, imgpt1: *mut c_void, imgpt3: *mut c_void, image_size: core::Size, r12: *mut c_void, t12: *mut c_void, r13: *mut c_void, t13: *mut c_void, r1: *mut c_void, r2: *mut c_void, r3: *mut c_void, p1: *mut c_void, p2: *mut c_void, p3: *mut c_void, q: *mut c_void, alpha: f64, new_img_size: core::Size, roi1: *mut core::Rect, roi2: *mut core::Rect, flags: i32) -> cv_return_value_float;
pub fn cv_reprojectImageTo3D_Mat_Mat_Mat_bool_int(disparity: *mut c_void, _3d_image: *mut c_void, q: *mut c_void, handle_missing_values: bool, ddepth: i32) -> cv_return_value_void;
pub fn cv_sampsonDistance_Mat_Mat_Mat(pt1: *mut c_void, pt2: *mut c_void, f: *mut c_void) -> cv_return_value_double;
pub fn cv_solveP3P_Mat_Mat_Mat_Mat_VectorOfMat_VectorOfMat_int(object_points: *mut c_void, image_points: *mut c_void, camera_matrix: *mut c_void, dist_coeffs: *mut c_void, rvecs: *mut c_void, tvecs: *mut c_void, flags: i32) -> cv_return_value_int;
pub fn cv_solvePnPRansac_Mat_Mat_Mat_Mat_Mat_Mat_bool_int_float_double_Mat_int(object_points: *mut c_void, image_points: *mut c_void, camera_matrix: *mut c_void, dist_coeffs: *mut c_void, rvec: *mut c_void, tvec: *mut c_void, use_extrinsic_guess: bool, iterations_count: i32, reprojection_error: f32, confidence: f64, inliers: *mut c_void, flags: i32) -> cv_return_value_bool;
pub fn cv_solvePnPRefineLM_Mat_Mat_Mat_Mat_Mat_Mat_TermCriteria(object_points: *mut c_void, image_points: *mut c_void, camera_matrix: *mut c_void, dist_coeffs: *mut c_void, rvec: *mut c_void, tvec: *mut c_void, criteria: *mut c_void) -> cv_return_value_void;
pub fn cv_solvePnPRefineVVS_Mat_Mat_Mat_Mat_Mat_Mat_TermCriteria_double(object_points: *mut c_void, image_points: *mut c_void, camera_matrix: *mut c_void, dist_coeffs: *mut c_void, rvec: *mut c_void, tvec: *mut c_void, criteria: *mut c_void, vv_slambda: f64) -> cv_return_value_void;
pub fn cv_solvePnP_Mat_Mat_Mat_Mat_Mat_Mat_bool_int(object_points: *mut c_void, image_points: *mut c_void, camera_matrix: *mut c_void, dist_coeffs: *mut c_void, rvec: *mut c_void, tvec: *mut c_void, use_extrinsic_guess: bool, flags: i32) -> cv_return_value_bool;
pub fn cv_stereoCalibrate_VectorOfMat_VectorOfMat_VectorOfMat_Mat_Mat_Mat_Mat_Size_Mat_Mat_Mat_Mat_Mat_int_TermCriteria(object_points: *mut c_void, image_points1: *mut c_void, image_points2: *mut c_void, camera_matrix1: *mut c_void, dist_coeffs1: *mut c_void, camera_matrix2: *mut c_void, dist_coeffs2: *mut c_void, image_size: core::Size, r: *mut c_void, t: *mut c_void, e: *mut c_void, f: *mut c_void, per_view_errors: *mut c_void, flags: i32, criteria: *mut c_void) -> cv_return_value_double;
pub fn cv_stereoCalibrate_VectorOfMat_VectorOfMat_VectorOfMat_Mat_Mat_Mat_Mat_Size_Mat_Mat_Mat_Mat_int_TermCriteria(object_points: *mut c_void, image_points1: *mut c_void, image_points2: *mut c_void, camera_matrix1: *mut c_void, dist_coeffs1: *mut c_void, camera_matrix2: *mut c_void, dist_coeffs2: *mut c_void, image_size: core::Size, r: *mut c_void, t: *mut c_void, e: *mut c_void, f: *mut c_void, flags: i32, criteria: *mut c_void) -> cv_return_value_double;
pub fn cv_stereoRectifyUncalibrated_Mat_Mat_Mat_Size_Mat_Mat_double(points1: *mut c_void, points2: *mut c_void, f: *mut c_void, img_size: core::Size, h1: *mut c_void, h2: *mut c_void, threshold: f64) -> cv_return_value_bool;
pub fn cv_stereoRectify_Mat_Mat_Mat_Mat_Size_Mat_Mat_Mat_Mat_Mat_Mat_Mat_int_double_Size_Rect_X_Rect_X(camera_matrix1: *mut c_void, dist_coeffs1: *mut c_void, camera_matrix2: *mut c_void, dist_coeffs2: *mut c_void, image_size: core::Size, r: *mut c_void, t: *mut c_void, r1: *mut c_void, r2: *mut c_void, p1: *mut c_void, p2: *mut c_void, q: *mut c_void, flags: i32, alpha: f64, new_image_size: core::Size, valid_pix_roi1: *mut core::Rect, valid_pix_roi2: *mut core::Rect) -> cv_return_value_void;
pub fn cv_triangulatePoints_Mat_Mat_Mat_Mat_Mat(proj_matr1: *mut c_void, proj_matr2: *mut c_void, proj_points1: *mut c_void, proj_points2: *mut c_void, points4_d: *mut c_void) -> cv_return_value_void;
pub fn cv_undistortPoints_Mat_Mat_Mat_Mat_Mat_Mat(src: *mut c_void, dst: *mut c_void, camera_matrix: *mut c_void, dist_coeffs: *mut c_void, r: *mut c_void, p: *mut c_void) -> cv_return_value_void;
pub fn cv_undistortPoints_Mat_Mat_Mat_Mat_Mat_Mat_TermCriteria(src: *mut c_void, dst: *mut c_void, camera_matrix: *mut c_void, dist_coeffs: *mut c_void, r: *mut c_void, p: *mut c_void, criteria: *mut c_void) -> cv_return_value_void;
pub fn cv_undistort_Mat_Mat_Mat_Mat_Mat(src: *mut c_void, dst: *mut c_void, camera_matrix: *mut c_void, dist_coeffs: *mut c_void, new_camera_matrix: *mut c_void) -> cv_return_value_void;
pub fn cv_validateDisparity_Mat_Mat_int_int_int(disparity: *mut c_void, cost: *mut c_void, min_disparity: i32, number_of_disparities: i32, disp12_max_disp: i32) -> cv_return_value_void;
pub fn cv_CirclesGridFinderParameters_CirclesGridFinderParameters() -> cv_return_value_CirclesGridFinderParameters;
pub fn cv_LMSolver_run_const_Mat(instance: *const c_void, param: *mut c_void) -> cv_return_value_int;
pub fn cv_LMSolver_setMaxIters_int(instance: *mut c_void, max_iters: i32) -> cv_return_value_void;
pub fn cv_LMSolver_getMaxIters_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_LMSolver_create_PtrOfCallback_int(cb: *mut c_void, max_iters: i32) -> cv_return_value_void_X;
pub fn cv_LMSolver_create_PtrOfCallback_int_double(cb: *mut c_void, max_iters: i32, eps: f64) -> cv_return_value_void_X;
pub fn cv_LMSolver_Callback_compute_const_Mat_Mat_Mat(instance: *const c_void, param: *mut c_void, err: *mut c_void, j: *mut c_void) -> cv_return_value_bool;
pub fn cv_StereoBM_getPreFilterType_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_StereoBM_setPreFilterType_int(instance: *mut c_void, pre_filter_type: i32) -> cv_return_value_void;
pub fn cv_StereoBM_getPreFilterSize_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_StereoBM_setPreFilterSize_int(instance: *mut c_void, pre_filter_size: i32) -> cv_return_value_void;
pub fn cv_StereoBM_getPreFilterCap_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_StereoBM_setPreFilterCap_int(instance: *mut c_void, pre_filter_cap: i32) -> cv_return_value_void;
pub fn cv_StereoBM_getTextureThreshold_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_StereoBM_setTextureThreshold_int(instance: *mut c_void, texture_threshold: i32) -> cv_return_value_void;
pub fn cv_StereoBM_getUniquenessRatio_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_StereoBM_setUniquenessRatio_int(instance: *mut c_void, uniqueness_ratio: i32) -> cv_return_value_void;
pub fn cv_StereoBM_getSmallerBlockSize_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_StereoBM_setSmallerBlockSize_int(instance: *mut c_void, block_size: i32) -> cv_return_value_void;
pub fn cv_StereoBM_getROI1_const(instance: *const c_void) -> cv_return_value_RectWrapper;
pub fn cv_StereoBM_setROI1_Rect(instance: *mut c_void, roi1: core::Rect) -> cv_return_value_void;
pub fn cv_StereoBM_getROI2_const(instance: *const c_void) -> cv_return_value_RectWrapper;
pub fn cv_StereoBM_setROI2_Rect(instance: *mut c_void, roi2: core::Rect) -> cv_return_value_void;
pub fn cv_StereoBM_create_int_int(num_disparities: i32, block_size: i32) -> cv_return_value_void_X;
pub fn cv_StereoMatcher_compute_Mat_Mat_Mat(instance: *mut c_void, left: *mut c_void, right: *mut c_void, disparity: *mut c_void) -> cv_return_value_void;
pub fn cv_StereoMatcher_getMinDisparity_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_StereoMatcher_setMinDisparity_int(instance: *mut c_void, min_disparity: i32) -> cv_return_value_void;
pub fn cv_StereoMatcher_getNumDisparities_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_StereoMatcher_setNumDisparities_int(instance: *mut c_void, num_disparities: i32) -> cv_return_value_void;
pub fn cv_StereoMatcher_getBlockSize_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_StereoMatcher_setBlockSize_int(instance: *mut c_void, block_size: i32) -> cv_return_value_void;
pub fn cv_StereoMatcher_getSpeckleWindowSize_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_StereoMatcher_setSpeckleWindowSize_int(instance: *mut c_void, speckle_window_size: i32) -> cv_return_value_void;
pub fn cv_StereoMatcher_getSpeckleRange_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_StereoMatcher_setSpeckleRange_int(instance: *mut c_void, speckle_range: i32) -> cv_return_value_void;
pub fn cv_StereoMatcher_getDisp12MaxDiff_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_StereoMatcher_setDisp12MaxDiff_int(instance: *mut c_void, disp12_max_diff: i32) -> cv_return_value_void;
pub fn cv_StereoSGBM_getPreFilterCap_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_StereoSGBM_setPreFilterCap_int(instance: *mut c_void, pre_filter_cap: i32) -> cv_return_value_void;
pub fn cv_StereoSGBM_getUniquenessRatio_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_StereoSGBM_setUniquenessRatio_int(instance: *mut c_void, uniqueness_ratio: i32) -> cv_return_value_void;
pub fn cv_StereoSGBM_getP1_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_StereoSGBM_setP1_int(instance: *mut c_void, p1: i32) -> cv_return_value_void;
pub fn cv_StereoSGBM_getP2_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_StereoSGBM_setP2_int(instance: *mut c_void, p2: i32) -> cv_return_value_void;
pub fn cv_StereoSGBM_getMode_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_StereoSGBM_setMode_int(instance: *mut c_void, mode: i32) -> cv_return_value_void;
pub fn cv_StereoSGBM_create_int_int_int_int_int_int_int_int_int_int_int(min_disparity: i32, num_disparities: i32, block_size: i32, p1: i32, p2: i32, disp12_max_diff: i32, pre_filter_cap: i32, uniqueness_ratio: i32, speckle_window_size: i32, speckle_range: i32, mode: i32) -> cv_return_value_void_X;
}
extern "C" {
pub fn cv_omnidir_calibrate_VectorOfMat_VectorOfMat_Size_Mat_Mat_Mat_VectorOfMat_VectorOfMat_int_TermCriteria_Mat(object_points: *mut c_void, image_points: *mut c_void, size: core::Size, k: *mut c_void, xi: *mut c_void, d: *mut c_void, rvecs: *mut c_void, tvecs: *mut c_void, flags: i32, criteria: *mut c_void, idx: *mut c_void) -> cv_return_value_double;
pub fn cv_omnidir_initUndistortRectifyMap_Mat_Mat_Mat_Mat_Mat_Size_int_Mat_Mat_int(k: *mut c_void, d: *mut c_void, xi: *mut c_void, r: *mut c_void, p: *mut c_void, size: core::Size, mltype: i32, map1: *mut c_void, map2: *mut c_void, flags: i32) -> cv_return_value_void;
pub fn cv_omnidir_internal_compose_motion_Mat_Mat_Mat_Mat_Mat_Mat_Mat_Mat_Mat_Mat_Mat_Mat_Mat_Mat(_om1: *mut c_void, _t1: *mut c_void, _om2: *mut c_void, _t2: *mut c_void, om3: *mut c_void, t3: *mut c_void, dom3dom1: *mut c_void, dom3d_t1: *mut c_void, dom3dom2: *mut c_void, dom3d_t2: *mut c_void, d_t3dom1: *mut c_void, d_t3d_t1: *mut c_void, d_t3dom2: *mut c_void, d_t3d_t2: *mut c_void) -> cv_return_value_void;
pub fn cv_omnidir_internal_computeJacobianStereo_VectorOfMat_VectorOfMat_VectorOfMat_Mat_Mat_Mat_int_double(object_points: *mut c_void, image_points1: *mut c_void, image_points2: *mut c_void, parameters: *mut c_void, jtj_inv: *mut c_void, jte: *mut c_void, flags: i32, epsilon: f64) -> cv_return_value_void;
pub fn cv_omnidir_internal_computeJacobian_VectorOfMat_VectorOfMat_Mat_Mat_Mat_int_double(object_points: *mut c_void, image_points: *mut c_void, parameters: *mut c_void, jtj_inv: *mut c_void, jte: *mut c_void, flags: i32, epsilon: f64) -> cv_return_value_void;
pub fn cv_omnidir_internal_computeMeanReproErrStereo_VectorOfMat_VectorOfMat_VectorOfMat_Mat_Mat_Mat_Mat_double_double_Mat_Mat_VectorOfMat_VectorOfMat(object_points: *mut c_void, image_points1: *mut c_void, image_points2: *mut c_void, k1: *mut c_void, k2: *mut c_void, d1: *mut c_void, d2: *mut c_void, xi1: f64, xi2: f64, om: *mut c_void, t: *mut c_void, om_l: *mut c_void, tl: *mut c_void) -> cv_return_value_double;
pub fn cv_omnidir_internal_computeMeanReproErr_VectorOfMat_VectorOfMat(image_points: *mut c_void, pro_image_points: *mut c_void) -> cv_return_value_double;
pub fn cv_omnidir_internal_computeMeanReproErr_VectorOfMat_VectorOfMat_Mat_Mat_double_VectorOfMat_VectorOfMat(object_points: *mut c_void, image_points: *mut c_void, k: *mut c_void, d: *mut c_void, xi: f64, om_all: *mut c_void, t_all: *mut c_void) -> cv_return_value_double;
pub fn cv_omnidir_internal_decodeParametersStereo_Mat_Mat_Mat_Mat_Mat_VectorOfMat_VectorOfMat_Mat_Mat_double_double(parameters: *mut c_void, k1: *mut c_void, k2: *mut c_void, om: *mut c_void, t: *mut c_void, om_l: *mut c_void, t_l: *mut c_void, d1: *mut c_void, d2: *mut c_void, xi1: &mut f64, xi2: &mut f64) -> cv_return_value_void;
pub fn cv_omnidir_internal_decodeParameters_Mat_Mat_VectorOfMat_VectorOfMat_Mat_double(paramsters: *mut c_void, k: *mut c_void, om_all: *mut c_void, t_all: *mut c_void, distoration: *mut c_void, xi: &mut f64) -> cv_return_value_void;
pub fn cv_omnidir_internal_encodeParametersStereo_Mat_Mat_Mat_Mat_VectorOfMat_VectorOfMat_Mat_Mat_double_double_Mat(k1: *mut c_void, k2: *mut c_void, om: *mut c_void, t: *mut c_void, om_l: *mut c_void, t_l: *mut c_void, d1: *mut c_void, d2: *mut c_void, xi1: f64, xi2: f64, parameters: *mut c_void) -> cv_return_value_void;
pub fn cv_omnidir_internal_encodeParameters_Mat_VectorOfMat_VectorOfMat_Mat_double_Mat(k: *mut c_void, om_all: *mut c_void, t_all: *mut c_void, distoaration: *mut c_void, xi: f64, parameters: *mut c_void) -> cv_return_value_void;
pub fn cv_omnidir_internal_estimateUncertaintiesStereo_VectorOfMat_VectorOfMat_VectorOfMat_Mat_Mat_Vec2d_double_int(object_points: *mut c_void, image_points1: *mut c_void, image_points2: *mut c_void, parameters: *mut c_void, errors: *mut c_void, std_error: &mut core::Vec2d, rms: &mut f64, flags: i32) -> cv_return_value_void;
pub fn cv_omnidir_internal_estimateUncertainties_VectorOfMat_VectorOfMat_Mat_Mat_Vec2d_double_int(object_points: *mut c_void, image_points: *mut c_void, parameters: *mut c_void, errors: *mut c_void, std_error: &mut core::Vec2d, rms: &mut f64, flags: i32) -> cv_return_value_void;
pub fn cv_omnidir_internal_fillFixedStereo_Mat_int_int(g: *mut c_void, flags: i32, n: i32) -> cv_return_value_void;
pub fn cv_omnidir_internal_fillFixed_Mat_int_int(g: *mut c_void, flags: i32, n: i32) -> cv_return_value_void;
pub fn cv_omnidir_internal_findMedian3_Mat(mat: *mut c_void) -> cv_return_value_Vec3dWrapper;
pub fn cv_omnidir_internal_findMedian_Mat(row: *mut c_void) -> cv_return_value_double;
pub fn cv_omnidir_internal_flags2idxStereo_int_VectorOfint_int(flags: i32, idx: *mut c_void, n: i32) -> cv_return_value_void;
pub fn cv_omnidir_internal_flags2idx_int_VectorOfint_int(flags: i32, idx: *mut c_void, n: i32) -> cv_return_value_void;
pub fn cv_omnidir_internal_getInterset_Mat_Mat_Mat_Mat_Mat(idx1: *mut c_void, idx2: *mut c_void, inter1: *mut c_void, inter2: *mut c_void, inter_ori: *mut c_void) -> cv_return_value_void;
pub fn cv_omnidir_internal_initializeCalibration_VectorOfMat_VectorOfMat_Size_VectorOfMat_VectorOfMat_Mat_double_Mat(object_points: *mut c_void, image_points: *mut c_void, size: core::Size, om_all: *mut c_void, t_all: *mut c_void, k: *mut c_void, xi: &mut f64, idx: *mut c_void) -> cv_return_value_void;
pub fn cv_omnidir_internal_initializeStereoCalibration_VectorOfMat_VectorOfMat_VectorOfMat_Size_Size_Mat_Mat_VectorOfMat_VectorOfMat_Mat_Mat_Mat_Mat_double_double_int_Mat(object_points: *mut c_void, image_points1: *mut c_void, image_points2: *mut c_void, size1: core::Size, size2: core::Size, om: *mut c_void, t: *mut c_void, om_l: *mut c_void, t_l: *mut c_void, k1: *mut c_void, d1: *mut c_void, k2: *mut c_void, d2: *mut c_void, xi1: &mut f64, xi2: &mut f64, flags: i32, idx: *mut c_void) -> cv_return_value_void;
pub fn cv_omnidir_internal_subMatrix_Mat_Mat_VectorOfint_VectorOfint(src: *mut c_void, dst: *mut c_void, cols: *mut c_void, rows: *mut c_void) -> cv_return_value_void;
pub fn cv_omnidir_projectPoints_Mat_Mat_Mat_Mat_Mat_double_Mat_Mat(object_points: *mut c_void, image_points: *mut c_void, rvec: *mut c_void, tvec: *mut c_void, k: *mut c_void, xi: f64, d: *mut c_void, jacobian: *mut c_void) -> cv_return_value_void;
pub fn cv_omnidir_stereoCalibrate_VectorOfMat_VectorOfMat_VectorOfMat_Size_Size_Mat_Mat_Mat_Mat_Mat_Mat_Mat_Mat_VectorOfMat_VectorOfMat_int_TermCriteria_Mat(object_points: *mut c_void, image_points1: *mut c_void, image_points2: *mut c_void, image_size1: core::Size, image_size2: core::Size, k1: *mut c_void, xi1: *mut c_void, d1: *mut c_void, k2: *mut c_void, xi2: *mut c_void, d2: *mut c_void, rvec: *mut c_void, tvec: *mut c_void, rvecs_l: *mut c_void, tvecs_l: *mut c_void, flags: i32, criteria: *mut c_void, idx: *mut c_void) -> cv_return_value_double;
pub fn cv_omnidir_stereoReconstruct_Mat_Mat_Mat_Mat_Mat_Mat_Mat_Mat_Mat_Mat_int_int_int_Mat_Mat_Mat_Size_Mat_Mat_int(image1: *mut c_void, image2: *mut c_void, k1: *mut c_void, d1: *mut c_void, xi1: *mut c_void, k2: *mut c_void, d2: *mut c_void, xi2: *mut c_void, r: *mut c_void, t: *mut c_void, flag: i32, num_disparities: i32, sad_window_size: i32, disparity: *mut c_void, image1_rec: *mut c_void, image2_rec: *mut c_void, new_size: core::Size, knew: *mut c_void, point_cloud: *mut c_void, point_type: i32) -> cv_return_value_void;
pub fn cv_omnidir_stereoRectify_Mat_Mat_Mat_Mat(r: *mut c_void, t: *mut c_void, r1: *mut c_void, r2: *mut c_void) -> cv_return_value_void;
pub fn cv_omnidir_undistortImage_Mat_Mat_Mat_Mat_Mat_int_Mat_Size_Mat(distorted: *mut c_void, undistorted: *mut c_void, k: *mut c_void, d: *mut c_void, xi: *mut c_void, flags: i32, knew: *mut c_void, new_size: core::Size, r: *mut c_void) -> cv_return_value_void;
pub fn cv_omnidir_undistortPoints_Mat_Mat_Mat_Mat_Mat_Mat(distorted: *mut c_void, undistorted: *mut c_void, k: *mut c_void, d: *mut c_void, xi: *mut c_void, r: *mut c_void) -> cv_return_value_void;
#[doc(hidden)] pub fn cv_CustomPattern_delete(ptr : *mut c_void);
pub fn cv_ccalib_CustomPattern_CustomPattern() -> cv_return_value_void_X;
pub fn cv_ccalib_CustomPattern_create_Mat_Size2f_Mat(instance: *mut c_void, pattern: *mut c_void, board_size: core::Size2f, output: *mut c_void) -> cv_return_value_bool;
pub fn cv_ccalib_CustomPattern_findPattern_Mat_Mat_Mat_double_double_bool_Mat_Mat_Mat(instance: *mut c_void, image: *mut c_void, matched_features: *mut c_void, pattern_points: *mut c_void, ratio: f64, proj_error: f64, refine_position: bool, out: *mut c_void, h: *mut c_void, pattern_corners: *mut c_void) -> cv_return_value_bool;
pub fn cv_ccalib_CustomPattern_isInitialized(instance: *mut c_void) -> cv_return_value_bool;
pub fn cv_ccalib_CustomPattern_getPatternPoints_VectorOfKeyPoint(instance: *mut c_void, original_points: *mut c_void) -> cv_return_value_void;
pub fn cv_ccalib_CustomPattern_getPixelSize(instance: *mut c_void) -> cv_return_value_double;
pub fn cv_ccalib_CustomPattern_calibrate_VectorOfMat_VectorOfMat_Size_Mat_Mat_VectorOfMat_VectorOfMat_int_TermCriteria(instance: *mut c_void, object_points: *mut c_void, image_points: *mut c_void, image_size: core::Size, camera_matrix: *mut c_void, dist_coeffs: *mut c_void, rvecs: *mut c_void, tvecs: *mut c_void, flags: i32, criteria: *mut c_void) -> cv_return_value_double;
pub fn cv_ccalib_CustomPattern_findRt_Mat_Mat_Mat_Mat_Mat_Mat_bool_int(instance: *mut c_void, object_points: *mut c_void, image_points: *mut c_void, camera_matrix: *mut c_void, dist_coeffs: *mut c_void, rvec: *mut c_void, tvec: *mut c_void, use_extrinsic_guess: bool, flags: i32) -> cv_return_value_bool;
pub fn cv_ccalib_CustomPattern_findRt_Mat_Mat_Mat_Mat_Mat_bool_int(instance: *mut c_void, image: *mut c_void, camera_matrix: *mut c_void, dist_coeffs: *mut c_void, rvec: *mut c_void, tvec: *mut c_void, use_extrinsic_guess: bool, flags: i32) -> cv_return_value_bool;
pub fn cv_ccalib_CustomPattern_findRtRANSAC_Mat_Mat_Mat_Mat_Mat_Mat_bool_int_float_int_Mat_int(instance: *mut c_void, object_points: *mut c_void, image_points: *mut c_void, camera_matrix: *mut c_void, dist_coeffs: *mut c_void, rvec: *mut c_void, tvec: *mut c_void, use_extrinsic_guess: bool, iterations_count: i32, reprojection_error: f32, min_inliers_count: i32, inliers: *mut c_void, flags: i32) -> cv_return_value_bool;
pub fn cv_ccalib_CustomPattern_findRtRANSAC_Mat_Mat_Mat_Mat_Mat_bool_int_float_int_Mat_int(instance: *mut c_void, image: *mut c_void, camera_matrix: *mut c_void, dist_coeffs: *mut c_void, rvec: *mut c_void, tvec: *mut c_void, use_extrinsic_guess: bool, iterations_count: i32, reprojection_error: f32, min_inliers_count: i32, inliers: *mut c_void, flags: i32) -> cv_return_value_bool;
pub fn cv_ccalib_CustomPattern_drawOrientation_Mat_Mat_Mat_Mat_Mat_double_int(instance: *mut c_void, image: *mut c_void, tvec: *mut c_void, rvec: *mut c_void, camera_matrix: *mut c_void, dist_coeffs: *mut c_void, axis_length: f64, axis_width: i32) -> cv_return_value_void;
#[doc(hidden)] pub fn cv_MultiCameraCalibration_delete(ptr : *mut c_void);
pub fn cv_multicalib_MultiCameraCalibration_loadImages(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_multicalib_MultiCameraCalibration_initialize(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_multicalib_MultiCameraCalibration_optimizeExtrinsics(instance: *mut c_void) -> cv_return_value_double;
pub fn cv_multicalib_MultiCameraCalibration_run(instance: *mut c_void) -> cv_return_value_double;
pub fn cv_multicalib_MultiCameraCalibration_writeParameters_std_string(instance: *mut c_void, filename: *const c_char) -> cv_return_value_void;
#[doc(hidden)] pub fn cv_MultiCameraCalibration_edge_delete(ptr : *mut c_void);
pub fn cv_multicalib_MultiCameraCalibration_edge_edge_int_int_int_Mat(cv: i32, pv: i32, pi: i32, trans: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_MultiCameraCalibration_vertex_delete(ptr : *mut c_void);
pub fn cv_multicalib_MultiCameraCalibration_vertex_vertex_Mat_int(po: *mut c_void, ts: i32) -> cv_return_value_void_X;
pub fn cv_multicalib_MultiCameraCalibration_vertex_vertex() -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_RandomPatternCornerFinder_delete(ptr : *mut c_void);
pub fn cv_randpattern_RandomPatternCornerFinder_loadPattern_Mat(instance: *mut c_void, pattern_image: *mut c_void) -> cv_return_value_void;
pub fn cv_randpattern_RandomPatternCornerFinder_loadPattern_Mat_VectorOfKeyPoint_Mat(instance: *mut c_void, pattern_image: *mut c_void, pattern_key_points: *mut c_void, pattern_descriptors: *mut c_void) -> cv_return_value_void;
pub fn cv_randpattern_RandomPatternCornerFinder_computeObjectImagePoints_VectorOfMat(instance: *mut c_void, input_images: *mut c_void) -> cv_return_value_void;
pub fn cv_randpattern_RandomPatternCornerFinder_computeObjectImagePointsForSingle_Mat(instance: *mut c_void, input_image: *mut c_void) -> cv_return_value_void_X;
pub fn cv_randpattern_RandomPatternCornerFinder_getObjectPoints(instance: *mut c_void) -> cv_return_value_void_X;
pub fn cv_randpattern_RandomPatternCornerFinder_getImagePoints(instance: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_RandomPatternGenerator_delete(ptr : *mut c_void);
pub fn cv_randpattern_RandomPatternGenerator_RandomPatternGenerator_int_int(image_width: i32, image_height: i32) -> cv_return_value_void_X;
pub fn cv_randpattern_RandomPatternGenerator_generatePattern(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_randpattern_RandomPatternGenerator_getPattern(instance: *mut c_void) -> cv_return_value_void_X;
}
extern "C" {
pub fn cv_bioinspired_Retina_getInputSize(instance: *mut c_void) -> cv_return_value_SizeWrapper;
pub fn cv_bioinspired_Retina_getOutputSize(instance: *mut c_void) -> cv_return_value_SizeWrapper;
pub fn cv_bioinspired_Retina_setup_String_bool(instance: *mut c_void, retina_parameter_file: *mut c_char, apply_default_setup_on_failure: bool) -> cv_return_value_void;
pub fn cv_bioinspired_Retina_setup_RetinaParameters(instance: *mut c_void, new_parameters: *mut c_void) -> cv_return_value_void;
pub fn cv_bioinspired_Retina_getParameters(instance: *mut c_void) -> cv_return_value_void_X;
pub fn cv_bioinspired_Retina_printSetup(instance: *mut c_void) -> cv_return_value_const_char_X;
pub fn cv_bioinspired_Retina_write_const_String(instance: *const c_void, fs: *mut c_char) -> cv_return_value_void;
pub fn cv_bioinspired_Retina_setupOPLandIPLParvoChannel_bool_bool_float_float_float_float_float_float_float(instance: *mut c_void, color_mode: bool, normalise_output: bool, photoreceptors_local_adaptation_sensitivity: f32, photoreceptors_temporal_constant: f32, photoreceptors_spatial_constant: f32, horizontal_cells_gain: f32, hcells_temporal_constant: f32, hcells_spatial_constant: f32, ganglion_cells_sensitivity: f32) -> cv_return_value_void;
pub fn cv_bioinspired_Retina_setupIPLMagnoChannel_bool_float_float_float_float_float_float_float(instance: *mut c_void, normalise_output: bool, parasol_cells_beta: f32, parasol_cells_tau: f32, parasol_cells_k: f32, amacrin_cells_temporal_cut_frequency: f32, v0_compression_parameter: f32, local_adaptintegration_tau: f32, local_adaptintegration_k: f32) -> cv_return_value_void;
pub fn cv_bioinspired_Retina_run_Mat(instance: *mut c_void, input_image: *mut c_void) -> cv_return_value_void;
pub fn cv_bioinspired_Retina_applyFastToneMapping_Mat_Mat(instance: *mut c_void, input_image: *mut c_void, output_tone_mapped_image: *mut c_void) -> cv_return_value_void;
pub fn cv_bioinspired_Retina_getParvo_Mat(instance: *mut c_void, retina_output_parvo: *mut c_void) -> cv_return_value_void;
pub fn cv_bioinspired_Retina_getParvoRAW_Mat(instance: *mut c_void, retina_output_parvo: *mut c_void) -> cv_return_value_void;
pub fn cv_bioinspired_Retina_getMagno_Mat(instance: *mut c_void, retina_output_magno: *mut c_void) -> cv_return_value_void;
pub fn cv_bioinspired_Retina_getMagnoRAW_Mat(instance: *mut c_void, retina_output_magno: *mut c_void) -> cv_return_value_void;
pub fn cv_bioinspired_Retina_getMagnoRAW_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_bioinspired_Retina_getParvoRAW_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_bioinspired_Retina_setColorSaturation_bool_float(instance: *mut c_void, saturate_colors: bool, color_saturation_value: f32) -> cv_return_value_void;
pub fn cv_bioinspired_Retina_clearBuffers(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_bioinspired_Retina_activateMovingContoursProcessing_bool(instance: *mut c_void, activate: bool) -> cv_return_value_void;
pub fn cv_bioinspired_Retina_activateContoursProcessing_bool(instance: *mut c_void, activate: bool) -> cv_return_value_void;
pub fn cv_bioinspired_Retina_create_Size(input_size: core::Size) -> cv_return_value_void_X;
pub fn cv_bioinspired_Retina_create_Size_bool_int_bool_float_float(input_size: core::Size, color_mode: bool, color_sampling_method: i32, use_retina_log_sampling: bool, reduction_factor: f32, sampling_strenght: f32) -> cv_return_value_void_X;
pub fn cv_bioinspired_RetinaFastToneMapping_applyFastToneMapping_Mat_Mat(instance: *mut c_void, input_image: *mut c_void, output_tone_mapped_image: *mut c_void) -> cv_return_value_void;
pub fn cv_bioinspired_RetinaFastToneMapping_setup_float_float_float(instance: *mut c_void, photoreceptors_neighborhood_radius: f32, ganglioncells_neighborhood_radius: f32, mean_luminance_modulator_k: f32) -> cv_return_value_void;
pub fn cv_bioinspired_RetinaFastToneMapping_create_Size(input_size: core::Size) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_RetinaParameters_delete(ptr : *mut c_void);
#[doc(hidden)] pub fn cv_RetinaParameters_IplMagnoParameters_delete(ptr : *mut c_void);
pub fn cv_bioinspired_RetinaParameters_IplMagnoParameters_IplMagnoParameters() -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_RetinaParameters_OPLandIplParvoParameters_delete(ptr : *mut c_void);
pub fn cv_bioinspired_RetinaParameters_OPLandIplParvoParameters_OPLandIplParvoParameters() -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_SegmentationParameters_delete(ptr : *mut c_void);
pub fn cv_bioinspired_SegmentationParameters_SegmentationParameters() -> cv_return_value_void_X;
pub fn cv_bioinspired_TransientAreasSegmentationModule_getSize(instance: *mut c_void) -> cv_return_value_SizeWrapper;
pub fn cv_bioinspired_TransientAreasSegmentationModule_setup_String_bool(instance: *mut c_void, segmentation_parameter_file: *mut c_char, apply_default_setup_on_failure: bool) -> cv_return_value_void;
pub fn cv_bioinspired_TransientAreasSegmentationModule_setup_SegmentationParameters(instance: *mut c_void, new_parameters: *mut c_void) -> cv_return_value_void;
pub fn cv_bioinspired_TransientAreasSegmentationModule_getParameters(instance: *mut c_void) -> cv_return_value_void_X;
pub fn cv_bioinspired_TransientAreasSegmentationModule_printSetup(instance: *mut c_void) -> cv_return_value_const_char_X;
pub fn cv_bioinspired_TransientAreasSegmentationModule_write_const_String(instance: *const c_void, fs: *mut c_char) -> cv_return_value_void;
pub fn cv_bioinspired_TransientAreasSegmentationModule_run_Mat_int(instance: *mut c_void, input_to_segment: *mut c_void, channel_index: i32) -> cv_return_value_void;
pub fn cv_bioinspired_TransientAreasSegmentationModule_getSegmentationPicture_Mat(instance: *mut c_void, transient_areas: *mut c_void) -> cv_return_value_void;
pub fn cv_bioinspired_TransientAreasSegmentationModule_clearAllBuffers(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_bioinspired_TransientAreasSegmentationModule_create_Size(input_size: core::Size) -> cv_return_value_void_X;
}
extern "C" {
pub fn cvv_debugMode() -> cv_return_value_bool;
pub fn cvv_finalShow() -> cv_return_value_void;
pub fn cvv_impl_finalShow() -> cv_return_value_void;
pub fn cvv_impl_getDebugFlag() -> cv_return_value_bool;
pub fn cvv_setDebugFlag_bool(active: bool) -> cv_return_value_void;
#[doc(hidden)] pub fn cv_FinalShowCaller_delete(ptr : *mut c_void);
#[doc(hidden)] pub fn cv_CallMetaData_delete(ptr : *mut c_void);
pub fn cvv_impl_CallMetaData_CallMetaData() -> cv_return_value_void_X;
pub fn cvv_impl_CallMetaData_CallMetaData_const_char_X_size_t_const_char_X(file: *const c_char, line: size_t, function: *const c_char) -> cv_return_value_void_X;
}
extern "C" {
pub fn cv_dnn_NMSBoxes_VectorOfRect2d_VectorOffloat_float_float_VectorOfint_float_int(bboxes: *mut c_void, scores: *mut c_void, score_threshold: f32, nms_threshold: f32, indices: *mut c_void, eta: f32, top_k: i32) -> cv_return_value_void;
pub fn cv_dnn_NMSBoxes_VectorOfRect_VectorOffloat_float_float_VectorOfint_float_int(bboxes: *mut c_void, scores: *mut c_void, score_threshold: f32, nms_threshold: f32, indices: *mut c_void, eta: f32, top_k: i32) -> cv_return_value_void;
pub fn cv_dnn_NMSBoxes_VectorOfRotatedRect_VectorOffloat_float_float_VectorOfint_float_int(bboxes: *mut c_void, scores: *mut c_void, score_threshold: f32, nms_threshold: f32, indices: *mut c_void, eta: f32, top_k: i32) -> cv_return_value_void;
pub fn cv_dnn_blobFromImage_Mat_Mat_double_Size_Scalar_bool_bool_int(image: *mut c_void, blob: *mut c_void, scalefactor: f64, size: core::Size, mean: core::Scalar, swap_rb: bool, crop: bool, ddepth: i32) -> cv_return_value_void;
pub fn cv_dnn_blobFromImage_Mat_double_Size_Scalar_bool_bool_int(image: *mut c_void, scalefactor: f64, size: core::Size, mean: core::Scalar, swap_rb: bool, crop: bool, ddepth: i32) -> cv_return_value_void_X;
pub fn cv_dnn_blobFromImages_VectorOfMat_Mat_double_Size_Scalar_bool_bool_int(images: *mut c_void, blob: *mut c_void, scalefactor: f64, size: core::Size, mean: core::Scalar, swap_rb: bool, crop: bool, ddepth: i32) -> cv_return_value_void;
pub fn cv_dnn_blobFromImages_VectorOfMat_double_Size_Scalar_bool_bool_int(images: *mut c_void, scalefactor: f64, size: core::Size, mean: core::Scalar, swap_rb: bool, crop: bool, ddepth: i32) -> cv_return_value_void_X;
pub fn cv_dnn_clamp_Range_int(r: *mut c_void, axis_size: i32) -> cv_return_value_void_X;
pub fn cv_dnn_clamp_int_int(ax: i32, dims: i32) -> cv_return_value_int;
pub fn cv_dnn_getAvailableTargets_Backend(be: crate::dnn::Backend) -> cv_return_value_void_X;
pub fn cv_dnn_getInferenceEngineVPUType() -> cv_return_value_char_X;
pub fn cv_dnn_getPlane_Mat_int_int(m: *mut c_void, n: i32, cn: i32) -> cv_return_value_void_X;
pub fn cv_dnn_imagesFromBlob_Mat_VectorOfMat(blob_: *mut c_void, images_: *mut c_void) -> cv_return_value_void;
pub fn cv_dnn_readNetFromCaffe_String_String(prototxt: *const c_char, caffe_model: *const c_char) -> cv_return_value_void_X;
pub fn cv_dnn_readNetFromCaffe_VectorOfuchar_VectorOfuchar(buffer_proto: *mut c_void, buffer_model: *mut c_void) -> cv_return_value_void_X;
pub fn cv_dnn_readNetFromCaffe_const_char_X_size_t_const_char_X_size_t(buffer_proto: *const c_char, len_proto: size_t, buffer_model: *const c_char, len_model: size_t) -> cv_return_value_void_X;
pub fn cv_dnn_readNetFromDarknet_String_String(cfg_file: *const c_char, darknet_model: *const c_char) -> cv_return_value_void_X;
pub fn cv_dnn_readNetFromDarknet_VectorOfuchar_VectorOfuchar(buffer_cfg: *mut c_void, buffer_model: *mut c_void) -> cv_return_value_void_X;
pub fn cv_dnn_readNetFromDarknet_const_char_X_size_t_const_char_X_size_t(buffer_cfg: *const c_char, len_cfg: size_t, buffer_model: *const c_char, len_model: size_t) -> cv_return_value_void_X;
pub fn cv_dnn_readNetFromModelOptimizer_String_String(xml: *const c_char, bin: *const c_char) -> cv_return_value_void_X;
pub fn cv_dnn_readNetFromONNX_String(onnx_file: *const c_char) -> cv_return_value_void_X;
pub fn cv_dnn_readNetFromONNX_VectorOfuchar(buffer: *mut c_void) -> cv_return_value_void_X;
pub fn cv_dnn_readNetFromONNX_const_char_X_size_t(buffer: *const c_char, size_buffer: size_t) -> cv_return_value_void_X;
pub fn cv_dnn_readNetFromTensorflow_String_String(model: *const c_char, config: *const c_char) -> cv_return_value_void_X;
pub fn cv_dnn_readNetFromTensorflow_VectorOfuchar_VectorOfuchar(buffer_model: *mut c_void, buffer_config: *mut c_void) -> cv_return_value_void_X;
pub fn cv_dnn_readNetFromTensorflow_const_char_X_size_t_const_char_X_size_t(buffer_model: *const c_char, len_model: size_t, buffer_config: *const c_char, len_config: size_t) -> cv_return_value_void_X;
pub fn cv_dnn_readNetFromTorch_String_bool_bool(model: *const c_char, is_binary: bool, evaluate: bool) -> cv_return_value_void_X;
pub fn cv_dnn_readNet_String_String_String(model: *const c_char, config: *const c_char, framework: *const c_char) -> cv_return_value_void_X;
pub fn cv_dnn_readNet_String_VectorOfuchar_VectorOfuchar(framework: *const c_char, buffer_model: *mut c_void, buffer_config: *mut c_void) -> cv_return_value_void_X;
pub fn cv_dnn_readTensorFromONNX_String(path: *const c_char) -> cv_return_value_void_X;
pub fn cv_dnn_readTorchBlob_String_bool(filename: *const c_char, is_binary: bool) -> cv_return_value_void_X;
pub fn cv_dnn_resetMyriadDevice() -> cv_return_value_void;
pub fn cv_dnn_shape_Mat(mat: *mut c_void) -> cv_return_value_void_X;
pub fn cv_dnn_shape_UMat(mat: *mut c_void) -> cv_return_value_void_X;
pub fn cv_dnn_shape_const_int_X_int(dims: *const i32, n: i32) -> cv_return_value_void_X;
pub fn cv_dnn_shape_int_int_int_int(a0: i32, a1: i32, a2: i32, a3: i32) -> cv_return_value_void_X;
pub fn cv_dnn_shrinkCaffeModel_String_String_VectorOfString(src: *const c_char, dst: *const c_char, layers_types: *mut c_void) -> cv_return_value_void;
pub fn cv_dnn_slice_Mat_Range(m: *mut c_void, r0: *mut c_void) -> cv_return_value_void_X;
pub fn cv_dnn_slice_Mat_Range_Range(m: *mut c_void, r0: *mut c_void, r1: *mut c_void) -> cv_return_value_void_X;
pub fn cv_dnn_slice_Mat_Range_Range_Range(m: *mut c_void, r0: *mut c_void, r1: *mut c_void, r2: *mut c_void) -> cv_return_value_void_X;
pub fn cv_dnn_slice_Mat_Range_Range_Range_Range(m: *mut c_void, r0: *mut c_void, r1: *mut c_void, r2: *mut c_void, r3: *mut c_void) -> cv_return_value_void_X;
pub fn cv_dnn_writeTextGraph_String_String(model: *const c_char, output: *const c_char) -> cv_return_value_void;
#[doc(hidden)] pub fn cv_AbsLayer_delete(ptr : *mut c_void);
pub fn cv_dnn_AbsLayer_create_LayerParams(params: *mut c_void) -> cv_return_value_void_X;
pub fn cv_dnn_ActivationLayer_forwardSlice_const_const_float_X_float_X_int_size_t_int_int(instance: *const c_void, src: *const f32, dst: *mut f32, len: i32, out_plane_size: size_t, cn0: i32, cn1: i32) -> cv_return_value_void;
#[doc(hidden)] pub fn cv_BNLLLayer_delete(ptr : *mut c_void);
pub fn cv_dnn_BNLLLayer_create_LayerParams(params: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_BackendNode_delete(ptr : *mut c_void);
pub fn cv_dnn_BackendNode_BackendNode_int(backend_id: i32) -> cv_return_value_void_X;
pub fn cv_dnn_BackendWrapper_copyToHost(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_dnn_BackendWrapper_setHostDirty(instance: *mut c_void) -> cv_return_value_void;
#[doc(hidden)] pub fn cv_BatchNormLayer_delete(ptr : *mut c_void);
pub fn cv_dnn_BatchNormLayer_create_LayerParams(params: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_BlankLayer_delete(ptr : *mut c_void);
#[doc(hidden)] pub fn cv_ChannelsPReLULayer_delete(ptr : *mut c_void);
#[doc(hidden)] pub fn cv_ConcatLayer_delete(ptr : *mut c_void);
pub fn cv_dnn_ConcatLayer_create_LayerParams(params: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_ConstLayer_delete(ptr : *mut c_void);
#[doc(hidden)] pub fn cv_ConvolutionLayer_delete(ptr : *mut c_void);
pub fn cv_dnn_ConvolutionLayer_create_LayerParams(params: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_CropAndResizeLayer_delete(ptr : *mut c_void);
#[doc(hidden)] pub fn cv_CropLayer_delete(ptr : *mut c_void);
#[doc(hidden)] pub fn cv_DeconvolutionLayer_delete(ptr : *mut c_void);
pub fn cv_dnn_DeconvolutionLayer_create_LayerParams(params: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_DetectionOutputLayer_delete(ptr : *mut c_void);
pub fn cv_dnn_DetectionOutputLayer_create_LayerParams(params: *mut c_void) -> cv_return_value_void_X;
pub fn cv_dnn_Dict_has_const_String(instance: *const c_void, key: *const c_char) -> cv_return_value_bool;
pub fn cv_dnn_Dict_ptr_String(instance: *mut c_void, key: *const c_char) -> cv_return_value_void_X;
pub fn cv_dnn_Dict_ptr_const_String(instance: *const c_void, key: *const c_char) -> cv_return_value_const_void_X;
pub fn cv_dnn_Dict_get_const_String(instance: *const c_void, key: *const c_char) -> cv_return_value_void_X;
pub fn cv_dnn_Dict_set_String_DictValue(instance: *mut c_void, key: *const c_char, value: *mut c_void) -> cv_return_value_void_X;
pub fn cv_dnn_Dict_erase_String(instance: *mut c_void, key: *const c_char) -> cv_return_value_void;
#[doc(hidden)] pub fn cv_DictValue_delete(ptr : *mut c_void);
pub fn cv_dnn_DictValue_DictValue_DictValue(r: *mut c_void) -> cv_return_value_void_X;
pub fn cv_dnn_DictValue_DictValue_bool(i: bool) -> cv_return_value_void_X;
pub fn cv_dnn_DictValue_DictValue_int64(i: i64) -> cv_return_value_void_X;
pub fn cv_dnn_DictValue_DictValue_int(i: i32) -> cv_return_value_void_X;
pub fn cv_dnn_DictValue_DictValue_unsigned(p: u32) -> cv_return_value_void_X;
pub fn cv_dnn_DictValue_DictValue_double(p: f64) -> cv_return_value_void_X;
pub fn cv_dnn_DictValue_DictValue_const_char_X(s: *const c_char) -> cv_return_value_void_X;
pub fn cv_dnn_DictValue_size_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_dnn_DictValue_isInt_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_dnn_DictValue_isString_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_dnn_DictValue_isReal_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_dnn_DictValue_getIntValue_const_int(instance: *const c_void, idx: i32) -> cv_return_value_int;
pub fn cv_dnn_DictValue_getRealValue_const_int(instance: *const c_void, idx: i32) -> cv_return_value_double;
pub fn cv_dnn_DictValue_getStringValue_const_int(instance: *const c_void, idx: i32) -> cv_return_value_char_X;
#[doc(hidden)] pub fn cv_ELULayer_delete(ptr : *mut c_void);
pub fn cv_dnn_ELULayer_create_LayerParams(params: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_EltwiseLayer_delete(ptr : *mut c_void);
pub fn cv_dnn_EltwiseLayer_create_LayerParams(params: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_FlattenLayer_delete(ptr : *mut c_void);
pub fn cv_dnn_FlattenLayer_create_LayerParams(params: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_InnerProductLayer_delete(ptr : *mut c_void);
pub fn cv_dnn_InnerProductLayer_create_LayerParams(params: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_InterpLayer_delete(ptr : *mut c_void);
#[doc(hidden)] pub fn cv_LRNLayer_delete(ptr : *mut c_void);
pub fn cv_dnn_LRNLayer_create_LayerParams(params: *mut c_void) -> cv_return_value_void_X;
pub fn cv_dnn_LSTMLayer_setWeights_Mat_Mat_Mat(instance: *mut c_void, wh: *mut c_void, wx: *mut c_void, b: *mut c_void) -> cv_return_value_void;
pub fn cv_dnn_LSTMLayer_setUseTimstampsDim_bool(instance: *mut c_void, _use: bool) -> cv_return_value_void;
pub fn cv_dnn_LSTMLayer_setProduceCellOutput_bool(instance: *mut c_void, produce: bool) -> cv_return_value_void;
pub fn cv_dnn_LSTMLayer_inputNameToIndex_String(instance: *mut c_void, input_name: *mut c_char) -> cv_return_value_int;
pub fn cv_dnn_LSTMLayer_outputNameToIndex_String(instance: *mut c_void, output_name: *const c_char) -> cv_return_value_int;
pub fn cv_dnn_LSTMLayer_create_LayerParams(params: *mut c_void) -> cv_return_value_void_X;
pub fn cv_dnn_Layer_blobs(instance: *mut c_void) -> cv_return_value_void_X;
pub fn cv_dnn_Layer_set_blobs_VectorOfMat(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_dnn_Layer_name(instance: *mut c_void) -> cv_return_value_char_X;
pub fn cv_dnn_Layer_set_name_String(instance: *mut c_void, val: *mut c_char) -> cv_return_value_void;
pub fn cv_dnn_Layer_type(instance: *mut c_void) -> cv_return_value_char_X;
pub fn cv_dnn_Layer_set_type_String(instance: *mut c_void, val: *mut c_char) -> cv_return_value_void;
pub fn cv_dnn_Layer_preferableTarget_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_dnn_Layer_finalize_VectorOfMat_VectorOfMat(instance: *mut c_void, inputs: *mut c_void, outputs: *mut c_void) -> cv_return_value_void;
pub fn cv_dnn_Layer_forward_VectorOfMat_VectorOfMat_VectorOfMat(instance: *mut c_void, inputs: *mut c_void, outputs: *mut c_void, internals: *mut c_void) -> cv_return_value_void;
pub fn cv_dnn_Layer_forward_fallback_VectorOfMat_VectorOfMat_VectorOfMat(instance: *mut c_void, inputs: *mut c_void, outputs: *mut c_void, internals: *mut c_void) -> cv_return_value_void;
pub fn cv_dnn_Layer_finalize_VectorOfMat(instance: *mut c_void, inputs: *mut c_void) -> cv_return_value_void_X;
pub fn cv_dnn_Layer_run_VectorOfMat_VectorOfMat_VectorOfMat(instance: *mut c_void, inputs: *mut c_void, outputs: *mut c_void, internals: *mut c_void) -> cv_return_value_void;
pub fn cv_dnn_Layer_inputNameToIndex_String(instance: *mut c_void, input_name: *mut c_char) -> cv_return_value_int;
pub fn cv_dnn_Layer_outputNameToIndex_String(instance: *mut c_void, output_name: *const c_char) -> cv_return_value_int;
pub fn cv_dnn_Layer_supportBackend_int(instance: *mut c_void, backend_id: i32) -> cv_return_value_bool;
pub fn cv_dnn_Layer_initHalide_VectorOfPtrOfBackendWrapper(instance: *mut c_void, inputs: *mut c_void) -> cv_return_value_void_X;
pub fn cv_dnn_Layer_initInfEngine_VectorOfPtrOfBackendWrapper(instance: *mut c_void, inputs: *mut c_void) -> cv_return_value_void_X;
pub fn cv_dnn_Layer_initVkCom_VectorOfPtrOfBackendWrapper(instance: *mut c_void, inputs: *mut c_void) -> cv_return_value_void_X;
pub fn cv_dnn_Layer_tryAttach_PtrOfBackendNode(instance: *mut c_void, node: *mut c_void) -> cv_return_value_void_X;
pub fn cv_dnn_Layer_setActivation_PtrOfActivationLayer(instance: *mut c_void, layer: *mut c_void) -> cv_return_value_bool;
pub fn cv_dnn_Layer_getScaleShift_const_Mat_Mat(instance: *const c_void, scale: *mut c_void, shift: *mut c_void) -> cv_return_value_void;
pub fn cv_dnn_Layer_unsetAttached(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_dnn_Layer_getMemoryShapes_const_VectorOfVectorOfint_int_VectorOfVectorOfint_VectorOfVectorOfint(instance: *const c_void, inputs: *mut c_void, required_outputs: i32, outputs: *mut c_void, internals: *mut c_void) -> cv_return_value_bool;
pub fn cv_dnn_Layer_getFLOPS_const_VectorOfVectorOfint_VectorOfVectorOfint(instance: *const c_void, inputs: *mut c_void, outputs: *mut c_void) -> cv_return_value_int64;
pub fn cv_dnn_Layer_setParamsFrom_LayerParams(instance: *mut c_void, params: *mut c_void) -> cv_return_value_void;
#[doc(hidden)] pub fn cv_LayerFactory_delete(ptr : *mut c_void);
pub fn cv_dnn_LayerFactory_unregisterLayer_String(_type: *const c_char) -> cv_return_value_void;
#[doc(hidden)] pub fn cv_LayerParams_delete(ptr : *mut c_void);
pub fn cv_dnn_LayerParams_blobs(instance: *mut c_void) -> cv_return_value_void_X;
pub fn cv_dnn_LayerParams_set_blobs_VectorOfMat(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_dnn_LayerParams_name(instance: *mut c_void) -> cv_return_value_char_X;
pub fn cv_dnn_LayerParams_set_name_String(instance: *mut c_void, val: *mut c_char) -> cv_return_value_void;
pub fn cv_dnn_LayerParams_type(instance: *mut c_void) -> cv_return_value_char_X;
pub fn cv_dnn_LayerParams_set_type_String(instance: *mut c_void, val: *mut c_char) -> cv_return_value_void;
pub fn cv_dnn_LayerParams_LayerParams() -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_MVNLayer_delete(ptr : *mut c_void);
pub fn cv_dnn_MVNLayer_create_LayerParams(params: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_MaxUnpoolLayer_delete(ptr : *mut c_void);
pub fn cv_dnn_MaxUnpoolLayer_create_LayerParams(params: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_Net_delete(ptr : *mut c_void);
pub fn cv_dnn_Net_Net() -> cv_return_value_void_X;
pub fn cv_dnn_Net_readFromModelOptimizer_String_String(xml: *const c_char, bin: *const c_char) -> cv_return_value_void_X;
pub fn cv_dnn_Net_empty_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_dnn_Net_dump(instance: *mut c_void) -> cv_return_value_char_X;
pub fn cv_dnn_Net_dumpToFile_String(instance: *mut c_void, path: *const c_char) -> cv_return_value_void;
pub fn cv_dnn_Net_addLayer_String_String_LayerParams(instance: *mut c_void, name: *const c_char, _type: *const c_char, params: *mut c_void) -> cv_return_value_int;
pub fn cv_dnn_Net_addLayerToPrev_String_String_LayerParams(instance: *mut c_void, name: *const c_char, _type: *const c_char, params: *mut c_void) -> cv_return_value_int;
pub fn cv_dnn_Net_getLayerId_String(instance: *mut c_void, layer: *const c_char) -> cv_return_value_int;
pub fn cv_dnn_Net_getLayerNames_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_dnn_Net_connect_String_String(instance: *mut c_void, out_pin: *mut c_char, inp_pin: *mut c_char) -> cv_return_value_void;
pub fn cv_dnn_Net_connect_int_int_int_int(instance: *mut c_void, out_layer_id: i32, out_num: i32, inp_layer_id: i32, inp_num: i32) -> cv_return_value_void;
pub fn cv_dnn_Net_setInputsNames_VectorOfString(instance: *mut c_void, input_blob_names: *mut c_void) -> cv_return_value_void;
pub fn cv_dnn_Net_forward_String(instance: *mut c_void, output_name: *const c_char) -> cv_return_value_void_X;
pub fn cv_dnn_Net_forward_VectorOfMat_String(instance: *mut c_void, output_blobs: *mut c_void, output_name: *const c_char) -> cv_return_value_void;
pub fn cv_dnn_Net_forward_VectorOfMat_VectorOfString(instance: *mut c_void, output_blobs: *mut c_void, out_blob_names: *mut c_void) -> cv_return_value_void;
pub fn cv_dnn_Net_forward_VectorOfVectorOfMat_VectorOfString(instance: *mut c_void, output_blobs: *mut c_void, out_blob_names: *mut c_void) -> cv_return_value_void;
pub fn cv_dnn_Net_setHalideScheduler_String(instance: *mut c_void, scheduler: *const c_char) -> cv_return_value_void;
pub fn cv_dnn_Net_setPreferableBackend_int(instance: *mut c_void, backend_id: i32) -> cv_return_value_void;
pub fn cv_dnn_Net_setPreferableTarget_int(instance: *mut c_void, target_id: i32) -> cv_return_value_void;
pub fn cv_dnn_Net_setInput_Mat_String_double_Scalar(instance: *mut c_void, blob: *mut c_void, name: *const c_char, scalefactor: f64, mean: core::Scalar) -> cv_return_value_void;
pub fn cv_dnn_Net_setParam_DictValue_int_Mat(instance: *mut c_void, layer: *mut c_void, num_param: i32, blob: *mut c_void) -> cv_return_value_void;
pub fn cv_dnn_Net_getParam_DictValue_int(instance: *mut c_void, layer: *mut c_void, num_param: i32) -> cv_return_value_void_X;
pub fn cv_dnn_Net_getUnconnectedOutLayers_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_dnn_Net_getUnconnectedOutLayersNames_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_dnn_Net_getLayersShapes_const_VectorOfVectorOfint_VectorOfint_VectorOfVectorOfVectorOfint_VectorOfVectorOfVectorOfint(instance: *const c_void, net_input_shapes: *mut c_void, layers_ids: *mut c_void, in_layers_shapes: *mut c_void, out_layers_shapes: *mut c_void) -> cv_return_value_void;
pub fn cv_dnn_Net_getLayerShapes_const_VectorOfVectorOfint_int_VectorOfVectorOfint_VectorOfVectorOfint(instance: *const c_void, net_input_shapes: *mut c_void, layer_id: i32, in_layer_shapes: *mut c_void, out_layer_shapes: *mut c_void) -> cv_return_value_void;
pub fn cv_dnn_Net_getFLOPS_const_VectorOfVectorOfint(instance: *const c_void, net_input_shapes: *mut c_void) -> cv_return_value_int64;
pub fn cv_dnn_Net_getFLOPS_const_int_VectorOfVectorOfint(instance: *const c_void, layer_id: i32, net_input_shapes: *mut c_void) -> cv_return_value_int64;
pub fn cv_dnn_Net_getLayerTypes_const_VectorOfString(instance: *const c_void, layers_types: *mut c_void) -> cv_return_value_void;
pub fn cv_dnn_Net_getLayersCount_const_String(instance: *const c_void, layer_type: *const c_char) -> cv_return_value_int;
pub fn cv_dnn_Net_getMemoryConsumption_const_VectorOfVectorOfint_size_t_size_t(instance: *const c_void, net_input_shapes: *mut c_void, weights: &mut size_t, blobs: &mut size_t) -> cv_return_value_void;
pub fn cv_dnn_Net_getMemoryConsumption_const_int_VectorOfVectorOfint_size_t_size_t(instance: *const c_void, layer_id: i32, net_input_shapes: *mut c_void, weights: &mut size_t, blobs: &mut size_t) -> cv_return_value_void;
pub fn cv_dnn_Net_getMemoryConsumption_const_VectorOfVectorOfint_VectorOfint_VectorOfsize_t_VectorOfsize_t(instance: *const c_void, net_input_shapes: *mut c_void, layer_ids: *mut c_void, weights: *mut c_void, blobs: *mut c_void) -> cv_return_value_void;
pub fn cv_dnn_Net_enableFusion_bool(instance: *mut c_void, fusion: bool) -> cv_return_value_void;
pub fn cv_dnn_Net_getPerfProfile_VectorOfdouble(instance: *mut c_void, timings: *mut c_void) -> cv_return_value_int64;
#[doc(hidden)] pub fn cv_NormalizeBBoxLayer_delete(ptr : *mut c_void);
pub fn cv_dnn_NormalizeBBoxLayer_create_LayerParams(params: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_PaddingLayer_delete(ptr : *mut c_void);
pub fn cv_dnn_PaddingLayer_create_LayerParams(params: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_PermuteLayer_delete(ptr : *mut c_void);
pub fn cv_dnn_PermuteLayer_create_LayerParams(params: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_PoolingLayer_delete(ptr : *mut c_void);
pub fn cv_dnn_PoolingLayer_create_LayerParams(params: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_PowerLayer_delete(ptr : *mut c_void);
pub fn cv_dnn_PowerLayer_create_LayerParams(params: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_PriorBoxLayer_delete(ptr : *mut c_void);
pub fn cv_dnn_PriorBoxLayer_create_LayerParams(params: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_ProposalLayer_delete(ptr : *mut c_void);
pub fn cv_dnn_ProposalLayer_create_LayerParams(params: *mut c_void) -> cv_return_value_void_X;
pub fn cv_dnn_RNNLayer_setWeights_Mat_Mat_Mat_Mat_Mat(instance: *mut c_void, wxh: *mut c_void, bh: *mut c_void, whh: *mut c_void, who: *mut c_void, bo: *mut c_void) -> cv_return_value_void;
pub fn cv_dnn_RNNLayer_setProduceHiddenOutput_bool(instance: *mut c_void, produce: bool) -> cv_return_value_void;
pub fn cv_dnn_RNNLayer_create_LayerParams(params: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_ReLU6Layer_delete(ptr : *mut c_void);
pub fn cv_dnn_ReLU6Layer_create_LayerParams(params: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_ReLULayer_delete(ptr : *mut c_void);
pub fn cv_dnn_ReLULayer_create_LayerParams(params: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_RegionLayer_delete(ptr : *mut c_void);
pub fn cv_dnn_RegionLayer_create_LayerParams(params: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_ReorgLayer_delete(ptr : *mut c_void);
pub fn cv_dnn_ReorgLayer_create_LayerParams(params: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_ReshapeLayer_delete(ptr : *mut c_void);
pub fn cv_dnn_ReshapeLayer_create_LayerParams(params: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_ResizeLayer_delete(ptr : *mut c_void);
pub fn cv_dnn_ResizeLayer_create_LayerParams(params: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_ScaleLayer_delete(ptr : *mut c_void);
pub fn cv_dnn_ScaleLayer_create_LayerParams(params: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_ShiftLayer_delete(ptr : *mut c_void);
#[doc(hidden)] pub fn cv_ShuffleChannelLayer_delete(ptr : *mut c_void);
#[doc(hidden)] pub fn cv_SigmoidLayer_delete(ptr : *mut c_void);
pub fn cv_dnn_SigmoidLayer_create_LayerParams(params: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_SliceLayer_delete(ptr : *mut c_void);
pub fn cv_dnn_SliceLayer_create_LayerParams(params: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_SoftmaxLayer_delete(ptr : *mut c_void);
pub fn cv_dnn_SoftmaxLayer_create_LayerParams(params: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_SplitLayer_delete(ptr : *mut c_void);
pub fn cv_dnn_SplitLayer_create_LayerParams(params: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_TanHLayer_delete(ptr : *mut c_void);
pub fn cv_dnn_TanHLayer_create_LayerParams(params: *mut c_void) -> cv_return_value_void_X;
}
extern "C" {
pub fn cv_dpm_DPMDetector_isEmpty_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_dpm_DPMDetector_detect_Mat_VectorOfObjectDetection(instance: *mut c_void, image: *mut c_void, objects: *mut c_void) -> cv_return_value_void;
pub fn cv_dpm_DPMDetector_getClassCount_const(instance: *const c_void) -> cv_return_value_std_size_t;
#[doc(hidden)] pub fn cv_DPMDetector_ObjectDetection_delete(ptr : *mut c_void);
pub fn cv_dpm_DPMDetector_ObjectDetection_ObjectDetection() -> cv_return_value_void_X;
pub fn cv_dpm_DPMDetector_ObjectDetection_ObjectDetection_Rect_float_int(rect: core::Rect, score: f32, class_id: i32) -> cv_return_value_void_X;
}
extern "C" {
pub fn cv_AGAST_Mat_VectorOfKeyPoint_int_bool(image: *mut c_void, keypoints: *mut c_void, threshold: i32, nonmax_suppression: bool) -> cv_return_value_void;
pub fn cv_AGAST_Mat_VectorOfKeyPoint_int_bool_AgastFeatureDetector_DetectorType(image: *mut c_void, keypoints: *mut c_void, threshold: i32, nonmax_suppression: bool, _type: crate::features2d::AgastFeatureDetector_DetectorType) -> cv_return_value_void;
pub fn cv_FAST_Mat_VectorOfKeyPoint_int_bool(image: *mut c_void, keypoints: *mut c_void, threshold: i32, nonmax_suppression: bool) -> cv_return_value_void;
pub fn cv_FAST_Mat_VectorOfKeyPoint_int_bool_FastFeatureDetector_DetectorType(image: *mut c_void, keypoints: *mut c_void, threshold: i32, nonmax_suppression: bool, _type: crate::features2d::FastFeatureDetector_DetectorType) -> cv_return_value_void;
pub fn cv_computeRecallPrecisionCurve_VectorOfVectorOfDMatch_VectorOfVectorOfuchar_VectorOfPoint2f(matches1to2: *mut c_void, correct_matches1to2_mask: *mut c_void, recall_precision_curve: *mut c_void) -> cv_return_value_void;
pub fn cv_drawKeypoints_Mat_VectorOfKeyPoint_Mat_Scalar_DrawMatchesFlags(image: *mut c_void, keypoints: *mut c_void, out_image: *mut c_void, color: core::Scalar, flags: crate::features2d::DrawMatchesFlags) -> cv_return_value_void;
pub fn cv_drawMatches_Mat_VectorOfKeyPoint_Mat_VectorOfKeyPoint_VectorOfDMatch_Mat_Scalar_Scalar_VectorOfchar_DrawMatchesFlags(img1: *mut c_void, keypoints1: *mut c_void, img2: *mut c_void, keypoints2: *mut c_void, matches1to2: *mut c_void, out_img: *mut c_void, match_color: core::Scalar, single_point_color: core::Scalar, matches_mask: *mut c_void, flags: crate::features2d::DrawMatchesFlags) -> cv_return_value_void;
pub fn cv_drawMatches_Mat_VectorOfKeyPoint_Mat_VectorOfKeyPoint_VectorOfVectorOfDMatch_Mat_Scalar_Scalar_VectorOfVectorOfchar_DrawMatchesFlags(img1: *mut c_void, keypoints1: *mut c_void, img2: *mut c_void, keypoints2: *mut c_void, matches1to2: *mut c_void, out_img: *mut c_void, match_color: core::Scalar, single_point_color: core::Scalar, matches_mask: *mut c_void, flags: crate::features2d::DrawMatchesFlags) -> cv_return_value_void;
pub fn cv_evaluateFeatureDetector_Mat_Mat_Mat_VectorOfKeyPoint_VectorOfKeyPoint_float_int_PtrOfFeature2D(img1: *mut c_void, img2: *mut c_void, h1to2: *mut c_void, keypoints1: *mut c_void, keypoints2: *mut c_void, repeatability: &mut f32, corresp_count: &mut i32, fdetector: *mut c_void) -> cv_return_value_void;
pub fn cv_getNearestPoint_VectorOfPoint2f_float(recall_precision_curve: *mut c_void, l_precision: f32) -> cv_return_value_int;
pub fn cv_getRecall_VectorOfPoint2f_float(recall_precision_curve: *mut c_void, l_precision: f32) -> cv_return_value_float;
pub fn cv_AKAZE_setDescriptorType_AKAZE_DescriptorType(instance: *mut c_void, dtype: crate::features2d::AKAZE_DescriptorType) -> cv_return_value_void;
pub fn cv_AKAZE_getDescriptorType_const(instance: *const c_void) -> cv_return_value_AKAZE_DescriptorType;
pub fn cv_AKAZE_setDescriptorSize_int(instance: *mut c_void, dsize: i32) -> cv_return_value_void;
pub fn cv_AKAZE_getDescriptorSize_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_AKAZE_setDescriptorChannels_int(instance: *mut c_void, dch: i32) -> cv_return_value_void;
pub fn cv_AKAZE_getDescriptorChannels_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_AKAZE_setThreshold_double(instance: *mut c_void, threshold: f64) -> cv_return_value_void;
pub fn cv_AKAZE_getThreshold_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_AKAZE_setNOctaves_int(instance: *mut c_void, octaves: i32) -> cv_return_value_void;
pub fn cv_AKAZE_getNOctaves_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_AKAZE_setNOctaveLayers_int(instance: *mut c_void, octave_layers: i32) -> cv_return_value_void;
pub fn cv_AKAZE_getNOctaveLayers_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_AKAZE_setDiffusivity_KAZE_DiffusivityType(instance: *mut c_void, diff: crate::features2d::KAZE_DiffusivityType) -> cv_return_value_void;
pub fn cv_AKAZE_getDiffusivity_const(instance: *const c_void) -> cv_return_value_KAZE_DiffusivityType;
pub fn cv_AKAZE_getDefaultName_const(instance: *const c_void) -> cv_return_value_char_X;
pub fn cv_AKAZE_create_AKAZE_DescriptorType_int_int_float_int_int_KAZE_DiffusivityType(descriptor_type: crate::features2d::AKAZE_DescriptorType, descriptor_size: i32, descriptor_channels: i32, threshold: f32, n_octaves: i32, n_octave_layers: i32, diffusivity: crate::features2d::KAZE_DiffusivityType) -> cv_return_value_void_X;
pub fn cv_AgastFeatureDetector_setThreshold_int(instance: *mut c_void, threshold: i32) -> cv_return_value_void;
pub fn cv_AgastFeatureDetector_getThreshold_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_AgastFeatureDetector_setNonmaxSuppression_bool(instance: *mut c_void, f: bool) -> cv_return_value_void;
pub fn cv_AgastFeatureDetector_getNonmaxSuppression_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_AgastFeatureDetector_setType_AgastFeatureDetector_DetectorType(instance: *mut c_void, _type: crate::features2d::AgastFeatureDetector_DetectorType) -> cv_return_value_void;
pub fn cv_AgastFeatureDetector_getType_const(instance: *const c_void) -> cv_return_value_AgastFeatureDetector_DetectorType;
pub fn cv_AgastFeatureDetector_getDefaultName_const(instance: *const c_void) -> cv_return_value_char_X;
pub fn cv_AgastFeatureDetector_create_int_bool_AgastFeatureDetector_DetectorType(threshold: i32, nonmax_suppression: bool, _type: crate::features2d::AgastFeatureDetector_DetectorType) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_BFMatcher_delete(ptr : *mut c_void);
pub fn cv_BFMatcher_BFMatcher_int_bool(norm_type: i32, cross_check: bool) -> cv_return_value_void_X;
pub fn cv_BFMatcher_isMaskSupported_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_BFMatcher_create_int_bool(norm_type: i32, cross_check: bool) -> cv_return_value_void_X;
pub fn cv_BFMatcher_clone_const_bool(instance: *const c_void, empty_train_data: bool) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_BOWImgDescriptorExtractor_delete(ptr : *mut c_void);
pub fn cv_BOWImgDescriptorExtractor_BOWImgDescriptorExtractor_PtrOfFeature2D_PtrOfDescriptorMatcher(dextractor: *mut c_void, dmatcher: *mut c_void) -> cv_return_value_void_X;
pub fn cv_BOWImgDescriptorExtractor_BOWImgDescriptorExtractor_PtrOfDescriptorMatcher(dmatcher: *mut c_void) -> cv_return_value_void_X;
pub fn cv_BOWImgDescriptorExtractor_setVocabulary_Mat(instance: *mut c_void, vocabulary: *mut c_void) -> cv_return_value_void;
pub fn cv_BOWImgDescriptorExtractor_getVocabulary_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_BOWImgDescriptorExtractor_compute_Mat_VectorOfKeyPoint_Mat_VectorOfVectorOfint_Mat(instance: *mut c_void, image: *mut c_void, keypoints: *mut c_void, img_descriptor: *mut c_void, point_idxs_of_clusters: *mut c_void, descriptors: *mut c_void) -> cv_return_value_void;
pub fn cv_BOWImgDescriptorExtractor_compute_Mat_Mat_VectorOfVectorOfint(instance: *mut c_void, keypoint_descriptors: *mut c_void, img_descriptor: *mut c_void, point_idxs_of_clusters: *mut c_void) -> cv_return_value_void;
pub fn cv_BOWImgDescriptorExtractor_compute2_Mat_VectorOfKeyPoint_Mat(instance: *mut c_void, image: *mut c_void, keypoints: *mut c_void, img_descriptor: *mut c_void) -> cv_return_value_void;
pub fn cv_BOWImgDescriptorExtractor_descriptorSize_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_BOWImgDescriptorExtractor_descriptorType_const(instance: *const c_void) -> cv_return_value_int;
#[doc(hidden)] pub fn cv_BOWKMeansTrainer_delete(ptr : *mut c_void);
pub fn cv_BOWKMeansTrainer_BOWKMeansTrainer_int_TermCriteria_int_int(cluster_count: i32, termcrit: *mut c_void, attempts: i32, flags: i32) -> cv_return_value_void_X;
pub fn cv_BOWKMeansTrainer_cluster_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_BOWKMeansTrainer_cluster_const_Mat(instance: *const c_void, descriptors: *mut c_void) -> cv_return_value_void_X;
pub fn cv_BOWTrainer_add_Mat(instance: *mut c_void, descriptors: *mut c_void) -> cv_return_value_void;
pub fn cv_BOWTrainer_getDescriptors_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_BOWTrainer_descriptorsCount_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_BOWTrainer_clear(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_BOWTrainer_cluster_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_BOWTrainer_cluster_const_Mat(instance: *const c_void, descriptors: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_BRISK_delete(ptr : *mut c_void);
pub fn cv_BRISK_create_int_int_float(thresh: i32, octaves: i32, pattern_scale: f32) -> cv_return_value_void_X;
pub fn cv_BRISK_create_VectorOffloat_VectorOfint_float_float_VectorOfint(radius_list: *mut c_void, number_list: *mut c_void, d_max: f32, d_min: f32, index_change: *mut c_void) -> cv_return_value_void_X;
pub fn cv_BRISK_create_int_int_VectorOffloat_VectorOfint_float_float_VectorOfint(thresh: i32, octaves: i32, radius_list: *mut c_void, number_list: *mut c_void, d_max: f32, d_min: f32, index_change: *mut c_void) -> cv_return_value_void_X;
pub fn cv_BRISK_getDefaultName_const(instance: *const c_void) -> cv_return_value_char_X;
pub fn cv_BRISK_setThreshold_int(instance: *mut c_void, threshold: i32) -> cv_return_value_void;
pub fn cv_BRISK_getThreshold_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_BRISK_setOctaves_int(instance: *mut c_void, octaves: i32) -> cv_return_value_void;
pub fn cv_BRISK_getOctaves_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_DescriptorMatcher_add_VectorOfMat(instance: *mut c_void, descriptors: *mut c_void) -> cv_return_value_void;
pub fn cv_DescriptorMatcher_getTrainDescriptors_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_DescriptorMatcher_clear(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_DescriptorMatcher_empty_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_DescriptorMatcher_isMaskSupported_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_DescriptorMatcher_train(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_DescriptorMatcher_match_const_Mat_Mat_VectorOfDMatch_Mat(instance: *const c_void, query_descriptors: *mut c_void, train_descriptors: *mut c_void, matches: *mut c_void, mask: *mut c_void) -> cv_return_value_void;
pub fn cv_DescriptorMatcher_knnMatch_const_Mat_Mat_VectorOfVectorOfDMatch_int_Mat_bool(instance: *const c_void, query_descriptors: *mut c_void, train_descriptors: *mut c_void, matches: *mut c_void, k: i32, mask: *mut c_void, compact_result: bool) -> cv_return_value_void;
pub fn cv_DescriptorMatcher_radiusMatch_const_Mat_Mat_VectorOfVectorOfDMatch_float_Mat_bool(instance: *const c_void, query_descriptors: *mut c_void, train_descriptors: *mut c_void, matches: *mut c_void, max_distance: f32, mask: *mut c_void, compact_result: bool) -> cv_return_value_void;
pub fn cv_DescriptorMatcher_match_Mat_VectorOfDMatch_VectorOfMat(instance: *mut c_void, query_descriptors: *mut c_void, matches: *mut c_void, masks: *mut c_void) -> cv_return_value_void;
pub fn cv_DescriptorMatcher_knnMatch_Mat_VectorOfVectorOfDMatch_int_VectorOfMat_bool(instance: *mut c_void, query_descriptors: *mut c_void, matches: *mut c_void, k: i32, masks: *mut c_void, compact_result: bool) -> cv_return_value_void;
pub fn cv_DescriptorMatcher_radiusMatch_Mat_VectorOfVectorOfDMatch_float_VectorOfMat_bool(instance: *mut c_void, query_descriptors: *mut c_void, matches: *mut c_void, max_distance: f32, masks: *mut c_void, compact_result: bool) -> cv_return_value_void;
pub fn cv_DescriptorMatcher_write_const_String(instance: *const c_void, file_name: *const c_char) -> cv_return_value_void;
pub fn cv_DescriptorMatcher_read_String(instance: *mut c_void, file_name: *const c_char) -> cv_return_value_void;
pub fn cv_DescriptorMatcher_clone_const_bool(instance: *const c_void, empty_train_data: bool) -> cv_return_value_void_X;
pub fn cv_DescriptorMatcher_create_String(descriptor_matcher_type: *const c_char) -> cv_return_value_void_X;
pub fn cv_DescriptorMatcher_create_DescriptorMatcher_MatcherType(matcher_type: crate::features2d::DescriptorMatcher_MatcherType) -> cv_return_value_void_X;
pub fn cv_FastFeatureDetector_setThreshold_int(instance: *mut c_void, threshold: i32) -> cv_return_value_void;
pub fn cv_FastFeatureDetector_getThreshold_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_FastFeatureDetector_setNonmaxSuppression_bool(instance: *mut c_void, f: bool) -> cv_return_value_void;
pub fn cv_FastFeatureDetector_getNonmaxSuppression_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_FastFeatureDetector_setType_FastFeatureDetector_DetectorType(instance: *mut c_void, _type: crate::features2d::FastFeatureDetector_DetectorType) -> cv_return_value_void;
pub fn cv_FastFeatureDetector_getType_const(instance: *const c_void) -> cv_return_value_FastFeatureDetector_DetectorType;
pub fn cv_FastFeatureDetector_getDefaultName_const(instance: *const c_void) -> cv_return_value_char_X;
pub fn cv_FastFeatureDetector_create_int_bool_FastFeatureDetector_DetectorType(threshold: i32, nonmax_suppression: bool, _type: crate::features2d::FastFeatureDetector_DetectorType) -> cv_return_value_void_X;
pub fn cv_Feature2D_detect_Mat_VectorOfKeyPoint_Mat(instance: *mut c_void, image: *mut c_void, keypoints: *mut c_void, mask: *mut c_void) -> cv_return_value_void;
pub fn cv_Feature2D_detect_VectorOfMat_VectorOfVectorOfKeyPoint_VectorOfMat(instance: *mut c_void, images: *mut c_void, keypoints: *mut c_void, masks: *mut c_void) -> cv_return_value_void;
pub fn cv_Feature2D_compute_Mat_VectorOfKeyPoint_Mat(instance: *mut c_void, image: *mut c_void, keypoints: *mut c_void, descriptors: *mut c_void) -> cv_return_value_void;
pub fn cv_Feature2D_compute_VectorOfMat_VectorOfVectorOfKeyPoint_VectorOfMat(instance: *mut c_void, images: *mut c_void, keypoints: *mut c_void, descriptors: *mut c_void) -> cv_return_value_void;
pub fn cv_Feature2D_detectAndCompute_Mat_Mat_VectorOfKeyPoint_Mat_bool(instance: *mut c_void, image: *mut c_void, mask: *mut c_void, keypoints: *mut c_void, descriptors: *mut c_void, use_provided_keypoints: bool) -> cv_return_value_void;
pub fn cv_Feature2D_descriptorSize_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_Feature2D_descriptorType_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_Feature2D_defaultNorm_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_Feature2D_write_const_String(instance: *const c_void, file_name: *const c_char) -> cv_return_value_void;
pub fn cv_Feature2D_read_String(instance: *mut c_void, file_name: *const c_char) -> cv_return_value_void;
pub fn cv_Feature2D_empty_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_Feature2D_getDefaultName_const(instance: *const c_void) -> cv_return_value_char_X;
#[doc(hidden)] pub fn cv_FlannBasedMatcher_delete(ptr : *mut c_void);
pub fn cv_FlannBasedMatcher_add_VectorOfMat(instance: *mut c_void, descriptors: *mut c_void) -> cv_return_value_void;
pub fn cv_FlannBasedMatcher_clear(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_FlannBasedMatcher_train(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_FlannBasedMatcher_isMaskSupported_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_FlannBasedMatcher_create() -> cv_return_value_void_X;
pub fn cv_FlannBasedMatcher_clone_const_bool(instance: *const c_void, empty_train_data: bool) -> cv_return_value_void_X;
pub fn cv_GFTTDetector_setMaxFeatures_int(instance: *mut c_void, max_features: i32) -> cv_return_value_void;
pub fn cv_GFTTDetector_getMaxFeatures_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_GFTTDetector_setQualityLevel_double(instance: *mut c_void, qlevel: f64) -> cv_return_value_void;
pub fn cv_GFTTDetector_getQualityLevel_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_GFTTDetector_setMinDistance_double(instance: *mut c_void, min_distance: f64) -> cv_return_value_void;
pub fn cv_GFTTDetector_getMinDistance_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_GFTTDetector_setBlockSize_int(instance: *mut c_void, block_size: i32) -> cv_return_value_void;
pub fn cv_GFTTDetector_getBlockSize_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_GFTTDetector_setHarrisDetector_bool(instance: *mut c_void, val: bool) -> cv_return_value_void;
pub fn cv_GFTTDetector_getHarrisDetector_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_GFTTDetector_setK_double(instance: *mut c_void, k: f64) -> cv_return_value_void;
pub fn cv_GFTTDetector_getK_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_GFTTDetector_getDefaultName_const(instance: *const c_void) -> cv_return_value_char_X;
pub fn cv_GFTTDetector_create_int_double_double_int_bool_double(max_corners: i32, quality_level: f64, min_distance: f64, block_size: i32, use_harris_detector: bool, k: f64) -> cv_return_value_void_X;
pub fn cv_GFTTDetector_create_int_double_double_int_int_bool_double(max_corners: i32, quality_level: f64, min_distance: f64, block_size: i32, gradiant_size: i32, use_harris_detector: bool, k: f64) -> cv_return_value_void_X;
pub fn cv_KAZE_setExtended_bool(instance: *mut c_void, extended: bool) -> cv_return_value_void;
pub fn cv_KAZE_getExtended_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_KAZE_setUpright_bool(instance: *mut c_void, upright: bool) -> cv_return_value_void;
pub fn cv_KAZE_getUpright_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_KAZE_setThreshold_double(instance: *mut c_void, threshold: f64) -> cv_return_value_void;
pub fn cv_KAZE_getThreshold_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_KAZE_setNOctaves_int(instance: *mut c_void, octaves: i32) -> cv_return_value_void;
pub fn cv_KAZE_getNOctaves_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_KAZE_setNOctaveLayers_int(instance: *mut c_void, octave_layers: i32) -> cv_return_value_void;
pub fn cv_KAZE_getNOctaveLayers_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_KAZE_setDiffusivity_KAZE_DiffusivityType(instance: *mut c_void, diff: crate::features2d::KAZE_DiffusivityType) -> cv_return_value_void;
pub fn cv_KAZE_getDiffusivity_const(instance: *const c_void) -> cv_return_value_KAZE_DiffusivityType;
pub fn cv_KAZE_getDefaultName_const(instance: *const c_void) -> cv_return_value_char_X;
pub fn cv_KAZE_create_bool_bool_float_int_int_KAZE_DiffusivityType(extended: bool, upright: bool, threshold: f32, n_octaves: i32, n_octave_layers: i32, diffusivity: crate::features2d::KAZE_DiffusivityType) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_KeyPointsFilter_delete(ptr : *mut c_void);
pub fn cv_KeyPointsFilter_KeyPointsFilter() -> cv_return_value_void_X;
pub fn cv_KeyPointsFilter_runByImageBorder_VectorOfKeyPoint_Size_int(keypoints: *mut c_void, image_size: core::Size, border_size: i32) -> cv_return_value_void;
pub fn cv_KeyPointsFilter_runByKeypointSize_VectorOfKeyPoint_float_float(keypoints: *mut c_void, min_size: f32, max_size: f32) -> cv_return_value_void;
pub fn cv_KeyPointsFilter_runByPixelsMask_VectorOfKeyPoint_Mat(keypoints: *mut c_void, mask: *mut c_void) -> cv_return_value_void;
pub fn cv_KeyPointsFilter_removeDuplicated_VectorOfKeyPoint(keypoints: *mut c_void) -> cv_return_value_void;
pub fn cv_KeyPointsFilter_removeDuplicatedSorted_VectorOfKeyPoint(keypoints: *mut c_void) -> cv_return_value_void;
pub fn cv_KeyPointsFilter_retainBest_VectorOfKeyPoint_int(keypoints: *mut c_void, npoints: i32) -> cv_return_value_void;
pub fn cv_MSER_detectRegions_Mat_VectorOfVectorOfPoint_VectorOfRect(instance: *mut c_void, image: *mut c_void, msers: *mut c_void, bboxes: *mut c_void) -> cv_return_value_void;
pub fn cv_MSER_setDelta_int(instance: *mut c_void, delta: i32) -> cv_return_value_void;
pub fn cv_MSER_getDelta_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_MSER_setMinArea_int(instance: *mut c_void, min_area: i32) -> cv_return_value_void;
pub fn cv_MSER_getMinArea_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_MSER_setMaxArea_int(instance: *mut c_void, max_area: i32) -> cv_return_value_void;
pub fn cv_MSER_getMaxArea_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_MSER_setPass2Only_bool(instance: *mut c_void, f: bool) -> cv_return_value_void;
pub fn cv_MSER_getPass2Only_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_MSER_getDefaultName_const(instance: *const c_void) -> cv_return_value_char_X;
pub fn cv_MSER_create_int_int_int_double_double_int_double_double_int(_delta: i32, _min_area: i32, _max_area: i32, _max_variation: f64, _min_diversity: f64, _max_evolution: i32, _area_threshold: f64, _min_margin: f64, _edge_blur_size: i32) -> cv_return_value_void_X;
pub fn cv_ORB_setMaxFeatures_int(instance: *mut c_void, max_features: i32) -> cv_return_value_void;
pub fn cv_ORB_getMaxFeatures_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ORB_setScaleFactor_double(instance: *mut c_void, scale_factor: f64) -> cv_return_value_void;
pub fn cv_ORB_getScaleFactor_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_ORB_setNLevels_int(instance: *mut c_void, nlevels: i32) -> cv_return_value_void;
pub fn cv_ORB_getNLevels_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ORB_setEdgeThreshold_int(instance: *mut c_void, edge_threshold: i32) -> cv_return_value_void;
pub fn cv_ORB_getEdgeThreshold_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ORB_setFirstLevel_int(instance: *mut c_void, first_level: i32) -> cv_return_value_void;
pub fn cv_ORB_getFirstLevel_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ORB_setWTA_K_int(instance: *mut c_void, wta_k: i32) -> cv_return_value_void;
pub fn cv_ORB_getWTA_K_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ORB_setScoreType_ORB_ScoreType(instance: *mut c_void, score_type: crate::features2d::ORB_ScoreType) -> cv_return_value_void;
pub fn cv_ORB_getScoreType_const(instance: *const c_void) -> cv_return_value_ORB_ScoreType;
pub fn cv_ORB_setPatchSize_int(instance: *mut c_void, patch_size: i32) -> cv_return_value_void;
pub fn cv_ORB_getPatchSize_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ORB_setFastThreshold_int(instance: *mut c_void, fast_threshold: i32) -> cv_return_value_void;
pub fn cv_ORB_getFastThreshold_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ORB_getDefaultName_const(instance: *const c_void) -> cv_return_value_char_X;
pub fn cv_ORB_create_int_float_int_int_int_int_ORB_ScoreType_int_int(nfeatures: i32, scale_factor: f32, nlevels: i32, edge_threshold: i32, first_level: i32, wta_k: i32, score_type: crate::features2d::ORB_ScoreType, patch_size: i32, fast_threshold: i32) -> cv_return_value_void_X;
pub fn cv_ORB_create() -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_SimpleBlobDetector_delete(ptr : *mut c_void);
pub fn cv_SimpleBlobDetector_create_SimpleBlobDetector_Params(parameters: crate::features2d::SimpleBlobDetector_Params) -> cv_return_value_void_X;
pub fn cv_SimpleBlobDetector_getDefaultName_const(instance: *const c_void) -> cv_return_value_char_X;
pub fn cv_SimpleBlobDetector_Params_Params() -> cv_return_value_SimpleBlobDetector_Params;
}
extern "C" {
pub fn cv_freetype_createFreeType2() -> cv_return_value_void_X;
pub fn cv_freetype_FreeType2_loadFontData_String_int(instance: *mut c_void, font_file_name: *mut c_char, id: i32) -> cv_return_value_void;
pub fn cv_freetype_FreeType2_setSplitNumber_int(instance: *mut c_void, num: i32) -> cv_return_value_void;
pub fn cv_freetype_FreeType2_putText_Mat_String_Point_int_Scalar_int_int_bool(instance: *mut c_void, img: *mut c_void, text: *const c_char, org: core::Point, font_height: i32, color: core::Scalar, thickness: i32, line_type: i32, bottom_left_origin: bool) -> cv_return_value_void;
pub fn cv_freetype_FreeType2_getTextSize_String_int_int_int_X(instance: *mut c_void, text: *const c_char, font_height: i32, thickness: i32, base_line: *mut i32) -> cv_return_value_SizeWrapper;
}
extern "C" {
pub fn cv_ft_FT02D_FL_process_Mat_int_Mat(matrix: *mut c_void, radius: i32, output: *mut c_void) -> cv_return_value_void;
pub fn cv_ft_FT02D_FL_process_float_Mat_int_Mat(matrix: *mut c_void, radius: i32, output: *mut c_void) -> cv_return_value_void;
pub fn cv_ft_FT02D_components_Mat_Mat_Mat_Mat(matrix: *mut c_void, kernel: *mut c_void, components: *mut c_void, mask: *mut c_void) -> cv_return_value_void;
pub fn cv_ft_FT02D_inverseFT_Mat_Mat_Mat_int_int(components: *mut c_void, kernel: *mut c_void, output: *mut c_void, width: i32, height: i32) -> cv_return_value_void;
pub fn cv_ft_FT02D_iteration_Mat_Mat_Mat_Mat_Mat_bool(matrix: *mut c_void, kernel: *mut c_void, output: *mut c_void, mask: *mut c_void, mask_output: *mut c_void, first_stop: bool) -> cv_return_value_int;
pub fn cv_ft_FT02D_process_Mat_Mat_Mat_Mat(matrix: *mut c_void, kernel: *mut c_void, output: *mut c_void, mask: *mut c_void) -> cv_return_value_void;
pub fn cv_ft_FT12D_components_Mat_Mat_Mat(matrix: *mut c_void, kernel: *mut c_void, components: *mut c_void) -> cv_return_value_void;
pub fn cv_ft_FT12D_createPolynomMatrixHorizontal_int_Mat_int(radius: i32, matrix: *mut c_void, chn: i32) -> cv_return_value_void;
pub fn cv_ft_FT12D_createPolynomMatrixVertical_int_Mat_int(radius: i32, matrix: *mut c_void, chn: i32) -> cv_return_value_void;
pub fn cv_ft_FT12D_inverseFT_Mat_Mat_Mat_int_int(components: *mut c_void, kernel: *mut c_void, output: *mut c_void, width: i32, height: i32) -> cv_return_value_void;
pub fn cv_ft_FT12D_polynomial_Mat_Mat_Mat_Mat_Mat_Mat_Mat(matrix: *mut c_void, kernel: *mut c_void, c00: *mut c_void, c10: *mut c_void, c01: *mut c_void, components: *mut c_void, mask: *mut c_void) -> cv_return_value_void;
pub fn cv_ft_FT12D_process_Mat_Mat_Mat_Mat(matrix: *mut c_void, kernel: *mut c_void, output: *mut c_void, mask: *mut c_void) -> cv_return_value_void;
pub fn cv_ft_createKernel_Mat_Mat_Mat_int(a: *mut c_void, b: *mut c_void, kernel: *mut c_void, chn: i32) -> cv_return_value_void;
pub fn cv_ft_createKernel_int_int_Mat_int(function: i32, radius: i32, kernel: *mut c_void, chn: i32) -> cv_return_value_void;
pub fn cv_ft_filter_Mat_Mat_Mat(image: *mut c_void, kernel: *mut c_void, output: *mut c_void) -> cv_return_value_void;
pub fn cv_ft_inpaint_Mat_Mat_Mat_int_int_int(image: *mut c_void, mask: *mut c_void, output: *mut c_void, radius: i32, function: i32, algorithm: i32) -> cv_return_value_void;
}
extern "C" {
pub fn cv_hdf_open_String(hdf5_filename: *const c_char) -> cv_return_value_void_X;
pub fn cv_hdf_HDF5_close(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_hdf_HDF5_grcreate_String(instance: *mut c_void, grlabel: *const c_char) -> cv_return_value_void;
pub fn cv_hdf_HDF5_hlexists_const_String(instance: *const c_void, label: *const c_char) -> cv_return_value_bool;
pub fn cv_hdf_HDF5_atexists_const_String(instance: *const c_void, atlabel: *const c_char) -> cv_return_value_bool;
pub fn cv_hdf_HDF5_atdelete_String(instance: *mut c_void, atlabel: *const c_char) -> cv_return_value_void;
pub fn cv_hdf_HDF5_atwrite_int_String(instance: *mut c_void, value: i32, atlabel: *const c_char) -> cv_return_value_void;
pub fn cv_hdf_HDF5_atread_int_X_String(instance: *mut c_void, value: *mut i32, atlabel: *const c_char) -> cv_return_value_void;
pub fn cv_hdf_HDF5_atwrite_double_String(instance: *mut c_void, value: f64, atlabel: *const c_char) -> cv_return_value_void;
pub fn cv_hdf_HDF5_atread_double_X_String(instance: *mut c_void, value: *mut f64, atlabel: *const c_char) -> cv_return_value_void;
pub fn cv_hdf_HDF5_atwrite_String_String(instance: *mut c_void, value: *const c_char, atlabel: *const c_char) -> cv_return_value_void;
pub fn cv_hdf_HDF5_atwrite_Mat_String(instance: *mut c_void, value: *mut c_void, atlabel: *const c_char) -> cv_return_value_void;
pub fn cv_hdf_HDF5_atread_Mat_String(instance: *mut c_void, value: *mut c_void, atlabel: *const c_char) -> cv_return_value_void;
pub fn cv_hdf_HDF5_dscreate_const_int_int_int_String(instance: *const c_void, rows: i32, cols: i32, _type: i32, dslabel: *const c_char) -> cv_return_value_void;
pub fn cv_hdf_HDF5_dscreate_const_int_int_int_String_int(instance: *const c_void, rows: i32, cols: i32, _type: i32, dslabel: *const c_char, compresslevel: i32) -> cv_return_value_void;
pub fn cv_hdf_HDF5_dscreate_const_int_int_int_String_int_VectorOfint(instance: *const c_void, rows: i32, cols: i32, _type: i32, dslabel: *const c_char, compresslevel: i32, dims_chunks: *mut c_void) -> cv_return_value_void;
pub fn cv_hdf_HDF5_dscreate_const_int_int_int_String_int_const_int_X(instance: *const c_void, rows: i32, cols: i32, _type: i32, dslabel: *const c_char, compresslevel: i32, dims_chunks: *const i32) -> cv_return_value_void;
pub fn cv_hdf_HDF5_dscreate_const_int_const_int_X_int_String(instance: *const c_void, n_dims: i32, sizes: *const i32, _type: i32, dslabel: *const c_char) -> cv_return_value_void;
pub fn cv_hdf_HDF5_dscreate_const_int_const_int_X_int_String_int(instance: *const c_void, n_dims: i32, sizes: *const i32, _type: i32, dslabel: *const c_char, compresslevel: i32) -> cv_return_value_void;
pub fn cv_hdf_HDF5_dscreate_const_VectorOfint_int_String_int_VectorOfint(instance: *const c_void, sizes: *mut c_void, _type: i32, dslabel: *const c_char, compresslevel: i32, dims_chunks: *mut c_void) -> cv_return_value_void;
pub fn cv_hdf_HDF5_dscreate_const_int_const_int_X_int_String_int_const_int_X(instance: *const c_void, n_dims: i32, sizes: *const i32, _type: i32, dslabel: *const c_char, compresslevel: i32, dims_chunks: *const i32) -> cv_return_value_void;
pub fn cv_hdf_HDF5_dsgetsize_const_String_int(instance: *const c_void, dslabel: *const c_char, dims_flag: i32) -> cv_return_value_void_X;
pub fn cv_hdf_HDF5_dsgettype_const_String(instance: *const c_void, dslabel: *const c_char) -> cv_return_value_int;
pub fn cv_hdf_HDF5_dswrite_const_Mat_String(instance: *const c_void, array: *mut c_void, dslabel: *const c_char) -> cv_return_value_void;
pub fn cv_hdf_HDF5_dswrite_const_Mat_String_const_int_X(instance: *const c_void, array: *mut c_void, dslabel: *const c_char, dims_offset: *const i32) -> cv_return_value_void;
pub fn cv_hdf_HDF5_dswrite_const_Mat_String_VectorOfint_VectorOfint(instance: *const c_void, array: *mut c_void, dslabel: *const c_char, dims_offset: *mut c_void, dims_counts: *mut c_void) -> cv_return_value_void;
pub fn cv_hdf_HDF5_dswrite_const_Mat_String_const_int_X_const_int_X(instance: *const c_void, array: *mut c_void, dslabel: *const c_char, dims_offset: *const i32, dims_counts: *const i32) -> cv_return_value_void;
pub fn cv_hdf_HDF5_dsinsert_const_Mat_String(instance: *const c_void, array: *mut c_void, dslabel: *const c_char) -> cv_return_value_void;
pub fn cv_hdf_HDF5_dsinsert_const_Mat_String_const_int_X(instance: *const c_void, array: *mut c_void, dslabel: *const c_char, dims_offset: *const i32) -> cv_return_value_void;
pub fn cv_hdf_HDF5_dsinsert_const_Mat_String_VectorOfint_VectorOfint(instance: *const c_void, array: *mut c_void, dslabel: *const c_char, dims_offset: *mut c_void, dims_counts: *mut c_void) -> cv_return_value_void;
pub fn cv_hdf_HDF5_dsinsert_const_Mat_String_const_int_X_const_int_X(instance: *const c_void, array: *mut c_void, dslabel: *const c_char, dims_offset: *const i32, dims_counts: *const i32) -> cv_return_value_void;
pub fn cv_hdf_HDF5_dsread_const_Mat_String(instance: *const c_void, array: *mut c_void, dslabel: *const c_char) -> cv_return_value_void;
pub fn cv_hdf_HDF5_dsread_const_Mat_String_const_int_X(instance: *const c_void, array: *mut c_void, dslabel: *const c_char, dims_offset: *const i32) -> cv_return_value_void;
pub fn cv_hdf_HDF5_dsread_const_Mat_String_VectorOfint_VectorOfint(instance: *const c_void, array: *mut c_void, dslabel: *const c_char, dims_offset: *mut c_void, dims_counts: *mut c_void) -> cv_return_value_void;
pub fn cv_hdf_HDF5_dsread_const_Mat_String_const_int_X_const_int_X(instance: *const c_void, array: *mut c_void, dslabel: *const c_char, dims_offset: *const i32, dims_counts: *const i32) -> cv_return_value_void;
pub fn cv_hdf_HDF5_kpgetsize_const_String_int(instance: *const c_void, kplabel: *const c_char, dims_flag: i32) -> cv_return_value_int;
pub fn cv_hdf_HDF5_kpcreate_const_int_String_int_int(instance: *const c_void, size: i32, kplabel: *const c_char, compresslevel: i32, chunks: i32) -> cv_return_value_void;
pub fn cv_hdf_HDF5_kpwrite_const_VectorOfKeyPoint_String_int_int(instance: *const c_void, keypoints: *mut c_void, kplabel: *const c_char, offset: i32, counts: i32) -> cv_return_value_void;
pub fn cv_hdf_HDF5_kpinsert_const_VectorOfKeyPoint_String_int_int(instance: *const c_void, keypoints: *mut c_void, kplabel: *const c_char, offset: i32, counts: i32) -> cv_return_value_void;
pub fn cv_hdf_HDF5_kpread_const_VectorOfKeyPoint_String_int_int(instance: *const c_void, keypoints: *mut c_void, kplabel: *const c_char, offset: i32, counts: i32) -> cv_return_value_void;
}
extern "C" {
pub fn cv_addText_Mat_String_Point_QtFont(img: *mut c_void, text: *const c_char, org: core::Point, font: *mut c_void) -> cv_return_value_void;
pub fn cv_addText_Mat_String_Point_String_int_Scalar_int_int_int(img: *mut c_void, text: *const c_char, org: core::Point, name_font: *const c_char, point_size: i32, color: core::Scalar, weight: i32, style: i32, spacing: i32) -> cv_return_value_void;
pub fn cv_createButton_String_ButtonCallback_void_X_int_bool(bar_name: *const c_char, on_change: crate::highgui::ButtonCallbackExtern, userdata: *mut c_void, _type: i32, initial_button_state: bool) -> cv_return_value_int;
pub fn cv_createTrackbar_String_String_int_X_int_TrackbarCallback_void_X(trackbarname: *const c_char, winname: *const c_char, value: *mut i32, count: i32, on_change: crate::highgui::TrackbarCallbackExtern, userdata: *mut c_void) -> cv_return_value_int;
pub fn cv_destroyAllWindows() -> cv_return_value_void;
pub fn cv_destroyWindow_String(winname: *const c_char) -> cv_return_value_void;
pub fn cv_displayOverlay_String_String_int(winname: *const c_char, text: *const c_char, delayms: i32) -> cv_return_value_void;
pub fn cv_displayStatusBar_String_String_int(winname: *const c_char, text: *const c_char, delayms: i32) -> cv_return_value_void;
pub fn cv_fontQt_String_int_Scalar_int_int_int(name_font: *const c_char, point_size: i32, color: core::Scalar, weight: i32, style: i32, spacing: i32) -> cv_return_value_void_X;
pub fn cv_getMouseWheelDelta_int(flags: i32) -> cv_return_value_int;
pub fn cv_getTrackbarPos_String_String(trackbarname: *const c_char, winname: *const c_char) -> cv_return_value_int;
pub fn cv_getWindowImageRect_String(winname: *const c_char) -> cv_return_value_RectWrapper;
pub fn cv_getWindowProperty_String_int(winname: *const c_char, prop_id: i32) -> cv_return_value_double;
pub fn cv_imshow_String_Mat(winname: *const c_char, mat: *mut c_void) -> cv_return_value_void;
pub fn cv_loadWindowParameters_String(window_name: *const c_char) -> cv_return_value_void;
pub fn cv_moveWindow_String_int_int(winname: *const c_char, x: i32, y: i32) -> cv_return_value_void;
pub fn cv_namedWindow_String_int(winname: *const c_char, flags: i32) -> cv_return_value_void;
pub fn cv_resizeWindow_String_Size(winname: *const c_char, size: core::Size) -> cv_return_value_void;
pub fn cv_resizeWindow_String_int_int(winname: *const c_char, width: i32, height: i32) -> cv_return_value_void;
pub fn cv_saveWindowParameters_String(window_name: *const c_char) -> cv_return_value_void;
pub fn cv_selectROI_Mat_bool_bool(img: *mut c_void, show_crosshair: bool, from_center: bool) -> cv_return_value_RectWrapper;
pub fn cv_selectROI_String_Mat_bool_bool(window_name: *const c_char, img: *mut c_void, show_crosshair: bool, from_center: bool) -> cv_return_value_RectWrapper;
pub fn cv_selectROIs_String_Mat_VectorOfRect_bool_bool(window_name: *const c_char, img: *mut c_void, bounding_boxes: *mut c_void, show_crosshair: bool, from_center: bool) -> cv_return_value_void;
pub fn cv_setMouseCallback_String_MouseCallback_void_X(winname: *const c_char, on_mouse: crate::highgui::MouseCallbackExtern, userdata: *mut c_void) -> cv_return_value_void;
pub fn cv_setOpenGlContext_String(winname: *const c_char) -> cv_return_value_void;
pub fn cv_setOpenGlDrawCallback_String_OpenGlDrawCallback_void_X(winname: *const c_char, on_open_gl_draw: crate::highgui::OpenGlDrawCallbackExtern, userdata: *mut c_void) -> cv_return_value_void;
pub fn cv_setTrackbarMax_String_String_int(trackbarname: *const c_char, winname: *const c_char, maxval: i32) -> cv_return_value_void;
pub fn cv_setTrackbarMin_String_String_int(trackbarname: *const c_char, winname: *const c_char, minval: i32) -> cv_return_value_void;
pub fn cv_setTrackbarPos_String_String_int(trackbarname: *const c_char, winname: *const c_char, pos: i32) -> cv_return_value_void;
pub fn cv_setWindowProperty_String_int_double(winname: *const c_char, prop_id: i32, prop_value: f64) -> cv_return_value_void;
pub fn cv_setWindowTitle_String_String(winname: *const c_char, title: *const c_char) -> cv_return_value_void;
pub fn cv_startWindowThread() -> cv_return_value_int;
pub fn cv_stopLoop() -> cv_return_value_void;
pub fn cv_updateWindow_String(winname: *const c_char) -> cv_return_value_void;
pub fn cv_waitKeyEx_int(delay: i32) -> cv_return_value_int;
pub fn cv_waitKey_int(delay: i32) -> cv_return_value_int;
#[doc(hidden)] pub fn cv_QtFont_delete(ptr : *mut c_void);
}
extern "C" {
#[doc(hidden)] pub fn cv_AverageHash_delete(ptr : *mut c_void);
pub fn cv_img_hash_AverageHash_create() -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_BlockMeanHash_delete(ptr : *mut c_void);
pub fn cv_img_hash_BlockMeanHash_setMode_int(instance: *mut c_void, mode: i32) -> cv_return_value_void;
pub fn cv_img_hash_BlockMeanHash_getMean_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_img_hash_BlockMeanHash_create_int(mode: i32) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_ColorMomentHash_delete(ptr : *mut c_void);
pub fn cv_img_hash_ColorMomentHash_create() -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_MarrHildrethHash_delete(ptr : *mut c_void);
pub fn cv_img_hash_MarrHildrethHash_getAlpha_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_img_hash_MarrHildrethHash_getScale_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_img_hash_MarrHildrethHash_setKernelParam_float_float(instance: *mut c_void, alpha: f32, scale: f32) -> cv_return_value_void;
pub fn cv_img_hash_MarrHildrethHash_create_float_float(alpha: f32, scale: f32) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_PHash_delete(ptr : *mut c_void);
pub fn cv_img_hash_PHash_create() -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_RadialVarianceHash_delete(ptr : *mut c_void);
pub fn cv_img_hash_RadialVarianceHash_create_double_int(sigma: f64, num_of_angle_line: i32) -> cv_return_value_void_X;
pub fn cv_img_hash_RadialVarianceHash_getNumOfAngleLine_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_img_hash_RadialVarianceHash_getSigma_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_img_hash_RadialVarianceHash_setNumOfAngleLine_int(instance: *mut c_void, value: i32) -> cv_return_value_void;
pub fn cv_img_hash_RadialVarianceHash_setSigma_double(instance: *mut c_void, value: f64) -> cv_return_value_void;
pub fn cv_img_hash_RadialVarianceHash_getFeatures(instance: *mut c_void) -> cv_return_value_void_X;
pub fn cv_img_hash_RadialVarianceHash_getHash(instance: *mut c_void) -> cv_return_value_void_X;
pub fn cv_img_hash_RadialVarianceHash_getProjection(instance: *mut c_void) -> cv_return_value_void_X;
}
extern "C" {
pub fn cv_haveImageReader_String(filename: *const c_char) -> cv_return_value_bool;
pub fn cv_haveImageWriter_String(filename: *const c_char) -> cv_return_value_bool;
pub fn cv_imdecode_Mat_int(buf: *mut c_void, flags: i32) -> cv_return_value_void_X;
pub fn cv_imdecode_Mat_int_Mat(buf: *mut c_void, flags: i32, dst: *mut c_void) -> cv_return_value_void_X;
pub fn cv_imencode_String_Mat_VectorOfuchar_VectorOfint(ext: *const c_char, img: *mut c_void, buf: *mut c_void, params: *mut c_void) -> cv_return_value_bool;
pub fn cv_imread_String_int(filename: *const c_char, flags: i32) -> cv_return_value_void_X;
pub fn cv_imreadmulti_String_VectorOfMat_int(filename: *const c_char, mats: *mut c_void, flags: i32) -> cv_return_value_bool;
pub fn cv_imwrite_String_Mat_VectorOfint(filename: *const c_char, img: *mut c_void, params: *mut c_void) -> cv_return_value_bool;
}
extern "C" {
pub fn cv_Canny_Mat_Mat_Mat_double_double_bool(dx: *mut c_void, dy: *mut c_void, edges: *mut c_void, threshold1: f64, threshold2: f64, l2gradient: bool) -> cv_return_value_void;
pub fn cv_Canny_Mat_Mat_double_double_int_bool(image: *mut c_void, edges: *mut c_void, threshold1: f64, threshold2: f64, aperture_size: i32, l2gradient: bool) -> cv_return_value_void;
pub fn cv_EMD_Mat_Mat_int_Mat_float_X_Mat(signature1: *mut c_void, signature2: *mut c_void, dist_type: i32, cost: *mut c_void, lower_bound: *mut f32, flow: *mut c_void) -> cv_return_value_float;
pub fn cv_GaussianBlur_Mat_Mat_Size_double_double_int(src: *mut c_void, dst: *mut c_void, ksize: core::Size, sigma_x: f64, sigma_y: f64, border_type: i32) -> cv_return_value_void;
pub fn cv_HoughCircles_Mat_Mat_int_double_double_double_double_int_int(image: *mut c_void, circles: *mut c_void, method: i32, dp: f64, min_dist: f64, param1: f64, param2: f64, min_radius: i32, max_radius: i32) -> cv_return_value_void;
pub fn cv_HoughLinesP_Mat_Mat_double_double_int_double_double(image: *mut c_void, lines: *mut c_void, rho: f64, theta: f64, threshold: i32, min_line_length: f64, max_line_gap: f64) -> cv_return_value_void;
pub fn cv_HoughLinesPointSet_Mat_Mat_int_int_double_double_double_double_double_double(_point: *mut c_void, _lines: *mut c_void, lines_max: i32, threshold: i32, min_rho: f64, max_rho: f64, rho_step: f64, min_theta: f64, max_theta: f64, theta_step: f64) -> cv_return_value_void;
pub fn cv_HoughLines_Mat_Mat_double_double_int_double_double_double_double(image: *mut c_void, lines: *mut c_void, rho: f64, theta: f64, threshold: i32, srn: f64, stn: f64, min_theta: f64, max_theta: f64) -> cv_return_value_void;
pub fn cv_Laplacian_Mat_Mat_int_int_double_double_int(src: *mut c_void, dst: *mut c_void, ddepth: i32, ksize: i32, scale: f64, delta: f64, border_type: i32) -> cv_return_value_void;
pub fn cv_Scharr_Mat_Mat_int_int_int_double_double_int(src: *mut c_void, dst: *mut c_void, ddepth: i32, dx: i32, dy: i32, scale: f64, delta: f64, border_type: i32) -> cv_return_value_void;
pub fn cv_Sobel_Mat_Mat_int_int_int_int_double_double_int(src: *mut c_void, dst: *mut c_void, ddepth: i32, dx: i32, dy: i32, ksize: i32, scale: f64, delta: f64, border_type: i32) -> cv_return_value_void;
pub fn cv_accumulateProduct_Mat_Mat_Mat_Mat(src1: *mut c_void, src2: *mut c_void, dst: *mut c_void, mask: *mut c_void) -> cv_return_value_void;
pub fn cv_accumulateSquare_Mat_Mat_Mat(src: *mut c_void, dst: *mut c_void, mask: *mut c_void) -> cv_return_value_void;
pub fn cv_accumulateWeighted_Mat_Mat_double_Mat(src: *mut c_void, dst: *mut c_void, alpha: f64, mask: *mut c_void) -> cv_return_value_void;
pub fn cv_accumulate_Mat_Mat_Mat(src: *mut c_void, dst: *mut c_void, mask: *mut c_void) -> cv_return_value_void;
pub fn cv_adaptiveThreshold_Mat_Mat_double_int_int_int_double(src: *mut c_void, dst: *mut c_void, max_value: f64, adaptive_method: i32, threshold_type: i32, block_size: i32, c: f64) -> cv_return_value_void;
pub fn cv_applyColorMap_Mat_Mat_Mat(src: *mut c_void, dst: *mut c_void, user_color: *mut c_void) -> cv_return_value_void;
pub fn cv_applyColorMap_Mat_Mat_int(src: *mut c_void, dst: *mut c_void, colormap: i32) -> cv_return_value_void;
pub fn cv_approxPolyDP_Mat_Mat_double_bool(curve: *mut c_void, approx_curve: *mut c_void, epsilon: f64, closed: bool) -> cv_return_value_void;
pub fn cv_arcLength_Mat_bool(curve: *mut c_void, closed: bool) -> cv_return_value_double;
pub fn cv_arrowedLine_Mat_Point_Point_Scalar_int_int_int_double(img: *mut c_void, pt1: core::Point, pt2: core::Point, color: core::Scalar, thickness: i32, line_type: i32, shift: i32, tip_length: f64) -> cv_return_value_void;
pub fn cv_bilateralFilter_Mat_Mat_int_double_double_int(src: *mut c_void, dst: *mut c_void, d: i32, sigma_color: f64, sigma_space: f64, border_type: i32) -> cv_return_value_void;
pub fn cv_blendLinear_Mat_Mat_Mat_Mat_Mat(src1: *mut c_void, src2: *mut c_void, weights1: *mut c_void, weights2: *mut c_void, dst: *mut c_void) -> cv_return_value_void;
pub fn cv_blur_Mat_Mat_Size_Point_int(src: *mut c_void, dst: *mut c_void, ksize: core::Size, anchor: core::Point, border_type: i32) -> cv_return_value_void;
pub fn cv_boundingRect_Mat(array: *mut c_void) -> cv_return_value_RectWrapper;
pub fn cv_boxFilter_Mat_Mat_int_Size_Point_bool_int(src: *mut c_void, dst: *mut c_void, ddepth: i32, ksize: core::Size, anchor: core::Point, normalize: bool, border_type: i32) -> cv_return_value_void;
pub fn cv_boxPoints_RotatedRect_Mat(_box: *mut c_void, points: *mut c_void) -> cv_return_value_void;
pub fn cv_buildPyramid_Mat_VectorOfMat_int_int(src: *mut c_void, dst: *mut c_void, maxlevel: i32, border_type: i32) -> cv_return_value_void;
pub fn cv_calcBackProject_VectorOfMat_VectorOfint_Mat_Mat_VectorOffloat_double(images: *mut c_void, channels: *mut c_void, hist: *mut c_void, dst: *mut c_void, ranges: *mut c_void, scale: f64) -> cv_return_value_void;
pub fn cv_calcHist_VectorOfMat_VectorOfint_Mat_Mat_VectorOfint_VectorOffloat_bool(images: *mut c_void, channels: *mut c_void, mask: *mut c_void, hist: *mut c_void, hist_size: *mut c_void, ranges: *mut c_void, accumulate: bool) -> cv_return_value_void;
pub fn cv_circle_Mat_Point_int_Scalar_int_int_int(img: *mut c_void, center: core::Point, radius: i32, color: core::Scalar, thickness: i32, line_type: i32, shift: i32) -> cv_return_value_void;
pub fn cv_clipLine_Rect_Point_Point(img_rect: core::Rect, pt1: &mut core::Point, pt2: &mut core::Point) -> cv_return_value_bool;
pub fn cv_clipLine_Size2l_Point2l_Point2l(img_size: core::Size2l, pt1: &mut core::Point2l, pt2: &mut core::Point2l) -> cv_return_value_bool;
pub fn cv_clipLine_Size_Point_Point(img_size: core::Size, pt1: &mut core::Point, pt2: &mut core::Point) -> cv_return_value_bool;
pub fn cv_compareHist_Mat_Mat_int(h1: *mut c_void, h2: *mut c_void, method: i32) -> cv_return_value_double;
pub fn cv_connectedComponentsWithStats_Mat_Mat_Mat_Mat_int_int(image: *mut c_void, labels: *mut c_void, stats: *mut c_void, centroids: *mut c_void, connectivity: i32, ltype: i32) -> cv_return_value_int;
pub fn cv_connectedComponentsWithStats_Mat_Mat_Mat_Mat_int_int_int(image: *mut c_void, labels: *mut c_void, stats: *mut c_void, centroids: *mut c_void, connectivity: i32, ltype: i32, ccltype: i32) -> cv_return_value_int;
pub fn cv_connectedComponents_Mat_Mat_int_int(image: *mut c_void, labels: *mut c_void, connectivity: i32, ltype: i32) -> cv_return_value_int;
pub fn cv_connectedComponents_Mat_Mat_int_int_int(image: *mut c_void, labels: *mut c_void, connectivity: i32, ltype: i32, ccltype: i32) -> cv_return_value_int;
pub fn cv_contourArea_Mat_bool(contour: *mut c_void, oriented: bool) -> cv_return_value_double;
pub fn cv_convertMaps_Mat_Mat_Mat_Mat_int_bool(map1: *mut c_void, map2: *mut c_void, dstmap1: *mut c_void, dstmap2: *mut c_void, dstmap1type: i32, nninterpolation: bool) -> cv_return_value_void;
pub fn cv_convexHull_Mat_Mat_bool_bool(points: *mut c_void, hull: *mut c_void, clockwise: bool, return_points: bool) -> cv_return_value_void;
pub fn cv_convexityDefects_Mat_Mat_Mat(contour: *mut c_void, convexhull: *mut c_void, convexity_defects: *mut c_void) -> cv_return_value_void;
pub fn cv_cornerEigenValsAndVecs_Mat_Mat_int_int_int(src: *mut c_void, dst: *mut c_void, block_size: i32, ksize: i32, border_type: i32) -> cv_return_value_void;
pub fn cv_cornerHarris_Mat_Mat_int_int_double_int(src: *mut c_void, dst: *mut c_void, block_size: i32, ksize: i32, k: f64, border_type: i32) -> cv_return_value_void;
pub fn cv_cornerMinEigenVal_Mat_Mat_int_int_int(src: *mut c_void, dst: *mut c_void, block_size: i32, ksize: i32, border_type: i32) -> cv_return_value_void;
pub fn cv_cornerSubPix_Mat_Mat_Size_Size_TermCriteria(image: *mut c_void, corners: *mut c_void, win_size: core::Size, zero_zone: core::Size, criteria: *mut c_void) -> cv_return_value_void;
pub fn cv_createCLAHE_double_Size(clip_limit: f64, tile_grid_size: core::Size) -> cv_return_value_void_X;
pub fn cv_createGeneralizedHoughBallard() -> cv_return_value_void_X;
pub fn cv_createGeneralizedHoughGuil() -> cv_return_value_void_X;
pub fn cv_createHanningWindow_Mat_Size_int(dst: *mut c_void, win_size: core::Size, _type: i32) -> cv_return_value_void;
pub fn cv_createLineSegmentDetector_int_double_double_double_double_double_double_int(_refine: i32, _scale: f64, _sigma_scale: f64, _quant: f64, _ang_th: f64, _log_eps: f64, _density_th: f64, _n_bins: i32) -> cv_return_value_void_X;
pub fn cv_cvtColorTwoPlane_Mat_Mat_Mat_int(src1: *mut c_void, src2: *mut c_void, dst: *mut c_void, code: i32) -> cv_return_value_void;
pub fn cv_cvtColor_Mat_Mat_int_int(src: *mut c_void, dst: *mut c_void, code: i32, dst_cn: i32) -> cv_return_value_void;
pub fn cv_demosaicing_Mat_Mat_int_int(src: *mut c_void, dst: *mut c_void, code: i32, dst_cn: i32) -> cv_return_value_void;
pub fn cv_dilate_Mat_Mat_Mat_Point_int_int_Scalar(src: *mut c_void, dst: *mut c_void, kernel: *mut c_void, anchor: core::Point, iterations: i32, border_type: i32, border_value: core::Scalar) -> cv_return_value_void;
pub fn cv_distanceTransform_Mat_Mat_Mat_int_int_int(src: *mut c_void, dst: *mut c_void, labels: *mut c_void, distance_type: i32, mask_size: i32, label_type: i32) -> cv_return_value_void;
pub fn cv_distanceTransform_Mat_Mat_int_int_int(src: *mut c_void, dst: *mut c_void, distance_type: i32, mask_size: i32, dst_type: i32) -> cv_return_value_void;
pub fn cv_drawContours_Mat_VectorOfMat_int_Scalar_int_int_Mat_int_Point(image: *mut c_void, contours: *mut c_void, contour_idx: i32, color: core::Scalar, thickness: i32, line_type: i32, hierarchy: *mut c_void, max_level: i32, offset: core::Point) -> cv_return_value_void;
pub fn cv_drawMarker_Mat_Point_Scalar_int_int_int_int(img: *mut c_void, position: core::Point, color: core::Scalar, marker_type: i32, marker_size: i32, thickness: i32, line_type: i32) -> cv_return_value_void;
pub fn cv_ellipse2Poly_Point2d_Size2d_int_int_int_int_VectorOfPoint2d(center: core::Point2d, axes: core::Size2d, angle: i32, arc_start: i32, arc_end: i32, delta: i32, pts: *mut c_void) -> cv_return_value_void;
pub fn cv_ellipse2Poly_Point_Size_int_int_int_int_VectorOfPoint(center: core::Point, axes: core::Size, angle: i32, arc_start: i32, arc_end: i32, delta: i32, pts: *mut c_void) -> cv_return_value_void;
pub fn cv_ellipse_Mat_Point_Size_double_double_double_Scalar_int_int_int(img: *mut c_void, center: core::Point, axes: core::Size, angle: f64, start_angle: f64, end_angle: f64, color: core::Scalar, thickness: i32, line_type: i32, shift: i32) -> cv_return_value_void;
pub fn cv_ellipse_Mat_RotatedRect_Scalar_int_int(img: *mut c_void, _box: *mut c_void, color: core::Scalar, thickness: i32, line_type: i32) -> cv_return_value_void;
pub fn cv_equalizeHist_Mat_Mat(src: *mut c_void, dst: *mut c_void) -> cv_return_value_void;
pub fn cv_erode_Mat_Mat_Mat_Point_int_int_Scalar(src: *mut c_void, dst: *mut c_void, kernel: *mut c_void, anchor: core::Point, iterations: i32, border_type: i32, border_value: core::Scalar) -> cv_return_value_void;
pub fn cv_fillConvexPoly_Mat_Mat_Scalar_int_int(img: *mut c_void, points: *mut c_void, color: core::Scalar, line_type: i32, shift: i32) -> cv_return_value_void;
pub fn cv_fillConvexPoly_Mat_const_Point_X_int_Scalar_int_int(img: *mut c_void, pts: *const core::Point, npts: i32, color: core::Scalar, line_type: i32, shift: i32) -> cv_return_value_void;
pub fn cv_fillPoly_Mat_VectorOfMat_Scalar_int_int_Point(img: *mut c_void, pts: *mut c_void, color: core::Scalar, line_type: i32, shift: i32, offset: core::Point) -> cv_return_value_void;
pub fn cv_filter2D_Mat_Mat_int_Mat_Point_double_int(src: *mut c_void, dst: *mut c_void, ddepth: i32, kernel: *mut c_void, anchor: core::Point, delta: f64, border_type: i32) -> cv_return_value_void;
pub fn cv_findContours_Mat_VectorOfMat_Mat_int_int_Point(image: *mut c_void, contours: *mut c_void, hierarchy: *mut c_void, mode: i32, method: i32, offset: core::Point) -> cv_return_value_void;
pub fn cv_findContours_Mat_VectorOfMat_int_int_Point(image: *mut c_void, contours: *mut c_void, mode: i32, method: i32, offset: core::Point) -> cv_return_value_void;
pub fn cv_fitEllipseAMS_Mat(points: *mut c_void) -> cv_return_value_void_X;
pub fn cv_fitEllipseDirect_Mat(points: *mut c_void) -> cv_return_value_void_X;
pub fn cv_fitEllipse_Mat(points: *mut c_void) -> cv_return_value_void_X;
pub fn cv_fitLine_Mat_Mat_int_double_double_double(points: *mut c_void, line: *mut c_void, dist_type: i32, param: f64, reps: f64, aeps: f64) -> cv_return_value_void;
pub fn cv_floodFill_Mat_Mat_Point_Scalar_Rect_X_Scalar_Scalar_int(image: *mut c_void, mask: *mut c_void, seed_point: core::Point, new_val: core::Scalar, rect: *mut core::Rect, lo_diff: core::Scalar, up_diff: core::Scalar, flags: i32) -> cv_return_value_int;
pub fn cv_floodFill_Mat_Point_Scalar_Rect_X_Scalar_Scalar_int(image: *mut c_void, seed_point: core::Point, new_val: core::Scalar, rect: *mut core::Rect, lo_diff: core::Scalar, up_diff: core::Scalar, flags: i32) -> cv_return_value_int;
pub fn cv_getAffineTransform_Mat_Mat(src: *mut c_void, dst: *mut c_void) -> cv_return_value_void_X;
pub fn cv_getAffineTransform_const_Point2f_X_const_Point2f_X(src: *const core::Point2f, dst: *const core::Point2f) -> cv_return_value_void_X;
pub fn cv_getDerivKernels_Mat_Mat_int_int_int_bool_int(kx: *mut c_void, ky: *mut c_void, dx: i32, dy: i32, ksize: i32, normalize: bool, ktype: i32) -> cv_return_value_void;
pub fn cv_getFontScaleFromHeight_int_int_int(font_face: i32, pixel_height: i32, thickness: i32) -> cv_return_value_double;
pub fn cv_getGaborKernel_Size_double_double_double_double_double_int(ksize: core::Size, sigma: f64, theta: f64, lambd: f64, gamma: f64, psi: f64, ktype: i32) -> cv_return_value_void_X;
pub fn cv_getGaussianKernel_int_double_int(ksize: i32, sigma: f64, ktype: i32) -> cv_return_value_void_X;
pub fn cv_getPerspectiveTransform_Mat_Mat_int(src: *mut c_void, dst: *mut c_void, solve_method: i32) -> cv_return_value_void_X;
pub fn cv_getPerspectiveTransform_const_Point2f_X_const_Point2f_X_int(src: *const core::Point2f, dst: *const core::Point2f, solve_method: i32) -> cv_return_value_void_X;
pub fn cv_getRectSubPix_Mat_Size_Point2f_Mat_int(image: *mut c_void, patch_size: core::Size, center: core::Point2f, patch: *mut c_void, patch_type: i32) -> cv_return_value_void;
pub fn cv_getRotationMatrix2D_Point2f_double_double(center: core::Point2f, angle: f64, scale: f64) -> cv_return_value_void_X;
pub fn cv_getStructuringElement_int_Size_Point(shape: i32, ksize: core::Size, anchor: core::Point) -> cv_return_value_void_X;
pub fn cv_getTextSize_String_int_double_int_int_X(text: *const c_char, font_face: i32, font_scale: f64, thickness: i32, base_line: *mut i32) -> cv_return_value_SizeWrapper;
pub fn cv_goodFeaturesToTrack_Mat_Mat_int_double_double_Mat_int_bool_double(image: *mut c_void, corners: *mut c_void, max_corners: i32, quality_level: f64, min_distance: f64, mask: *mut c_void, block_size: i32, use_harris_detector: bool, k: f64) -> cv_return_value_void;
pub fn cv_goodFeaturesToTrack_Mat_Mat_int_double_double_Mat_int_int_bool_double(image: *mut c_void, corners: *mut c_void, max_corners: i32, quality_level: f64, min_distance: f64, mask: *mut c_void, block_size: i32, gradient_size: i32, use_harris_detector: bool, k: f64) -> cv_return_value_void;
pub fn cv_grabCut_Mat_Mat_Rect_Mat_Mat_int_int(img: *mut c_void, mask: *mut c_void, rect: core::Rect, bgd_model: *mut c_void, fgd_model: *mut c_void, iter_count: i32, mode: i32) -> cv_return_value_void;
pub fn cv_integral_Mat_Mat_Mat_Mat_int_int(src: *mut c_void, sum: *mut c_void, sqsum: *mut c_void, tilted: *mut c_void, sdepth: i32, sqdepth: i32) -> cv_return_value_void;
pub fn cv_integral_Mat_Mat_Mat_int_int(src: *mut c_void, sum: *mut c_void, sqsum: *mut c_void, sdepth: i32, sqdepth: i32) -> cv_return_value_void;
pub fn cv_integral_Mat_Mat_int(src: *mut c_void, sum: *mut c_void, sdepth: i32) -> cv_return_value_void;
pub fn cv_intersectConvexConvex_Mat_Mat_Mat_bool(_p1: *mut c_void, _p2: *mut c_void, _p12: *mut c_void, handle_nested: bool) -> cv_return_value_float;
pub fn cv_invertAffineTransform_Mat_Mat(m: *mut c_void, i_m: *mut c_void) -> cv_return_value_void;
pub fn cv_isContourConvex_Mat(contour: *mut c_void) -> cv_return_value_bool;
pub fn cv_line_Mat_Point_Point_Scalar_int_int_int(img: *mut c_void, pt1: core::Point, pt2: core::Point, color: core::Scalar, thickness: i32, line_type: i32, shift: i32) -> cv_return_value_void;
pub fn cv_linearPolar_Mat_Mat_Point2f_double_int(src: *mut c_void, dst: *mut c_void, center: core::Point2f, max_radius: f64, flags: i32) -> cv_return_value_void;
pub fn cv_logPolar_Mat_Mat_Point2f_double_int(src: *mut c_void, dst: *mut c_void, center: core::Point2f, m: f64, flags: i32) -> cv_return_value_void;
pub fn cv_matchShapes_Mat_Mat_int_double(contour1: *mut c_void, contour2: *mut c_void, method: i32, parameter: f64) -> cv_return_value_double;
pub fn cv_matchTemplate_Mat_Mat_Mat_int_Mat(image: *mut c_void, templ: *mut c_void, result: *mut c_void, method: i32, mask: *mut c_void) -> cv_return_value_void;
pub fn cv_medianBlur_Mat_Mat_int(src: *mut c_void, dst: *mut c_void, ksize: i32) -> cv_return_value_void;
pub fn cv_minAreaRect_Mat(points: *mut c_void) -> cv_return_value_void_X;
pub fn cv_minEnclosingCircle_Mat_Point2f_float(points: *mut c_void, center: &mut core::Point2f, radius: &mut f32) -> cv_return_value_void;
pub fn cv_minEnclosingTriangle_Mat_Mat(points: *mut c_void, triangle: *mut c_void) -> cv_return_value_double;
pub fn cv_morphologyDefaultBorderValue() -> cv_return_value_ScalarWrapper;
pub fn cv_morphologyEx_Mat_Mat_int_Mat_Point_int_int_Scalar(src: *mut c_void, dst: *mut c_void, op: i32, kernel: *mut c_void, anchor: core::Point, iterations: i32, border_type: i32, border_value: core::Scalar) -> cv_return_value_void;
pub fn cv_phaseCorrelate_Mat_Mat_Mat_double_X(src1: *mut c_void, src2: *mut c_void, window: *mut c_void, response: *mut f64) -> cv_return_value_Point2dWrapper;
pub fn cv_pointPolygonTest_Mat_Point2f_bool(contour: *mut c_void, pt: core::Point2f, measure_dist: bool) -> cv_return_value_double;
pub fn cv_polylines_Mat_VectorOfMat_bool_Scalar_int_int_int(img: *mut c_void, pts: *mut c_void, is_closed: bool, color: core::Scalar, thickness: i32, line_type: i32, shift: i32) -> cv_return_value_void;
pub fn cv_preCornerDetect_Mat_Mat_int_int(src: *mut c_void, dst: *mut c_void, ksize: i32, border_type: i32) -> cv_return_value_void;
pub fn cv_putText_Mat_String_Point_int_double_Scalar_int_int_bool(img: *mut c_void, text: *const c_char, org: core::Point, font_face: i32, font_scale: f64, color: core::Scalar, thickness: i32, line_type: i32, bottom_left_origin: bool) -> cv_return_value_void;
pub fn cv_pyrDown_Mat_Mat_Size_int(src: *mut c_void, dst: *mut c_void, dstsize: core::Size, border_type: i32) -> cv_return_value_void;
pub fn cv_pyrMeanShiftFiltering_Mat_Mat_double_double_int_TermCriteria(src: *mut c_void, dst: *mut c_void, sp: f64, sr: f64, max_level: i32, termcrit: *mut c_void) -> cv_return_value_void;
pub fn cv_pyrUp_Mat_Mat_Size_int(src: *mut c_void, dst: *mut c_void, dstsize: core::Size, border_type: i32) -> cv_return_value_void;
pub fn cv_rectangle_Mat_Point_Point_Scalar_int_int_int(img: *mut c_void, pt1: core::Point, pt2: core::Point, color: core::Scalar, thickness: i32, line_type: i32, shift: i32) -> cv_return_value_void;
pub fn cv_rectangle_Mat_Rect_Scalar_int_int_int(img: *mut c_void, rec: core::Rect, color: core::Scalar, thickness: i32, line_type: i32, shift: i32) -> cv_return_value_void;
pub fn cv_remap_Mat_Mat_Mat_Mat_int_int_Scalar(src: *mut c_void, dst: *mut c_void, map1: *mut c_void, map2: *mut c_void, interpolation: i32, border_mode: i32, border_value: core::Scalar) -> cv_return_value_void;
pub fn cv_resize_Mat_Mat_Size_double_double_int(src: *mut c_void, dst: *mut c_void, dsize: core::Size, fx: f64, fy: f64, interpolation: i32) -> cv_return_value_void;
pub fn cv_rotatedRectangleIntersection_RotatedRect_RotatedRect_Mat(rect1: *mut c_void, rect2: *mut c_void, intersecting_region: *mut c_void) -> cv_return_value_int;
pub fn cv_sepFilter2D_Mat_Mat_int_Mat_Mat_Point_double_int(src: *mut c_void, dst: *mut c_void, ddepth: i32, kernel_x: *mut c_void, kernel_y: *mut c_void, anchor: core::Point, delta: f64, border_type: i32) -> cv_return_value_void;
pub fn cv_spatialGradient_Mat_Mat_Mat_int_int(src: *mut c_void, dx: *mut c_void, dy: *mut c_void, ksize: i32, border_type: i32) -> cv_return_value_void;
pub fn cv_sqrBoxFilter_Mat_Mat_int_Size_Point_bool_int(src: *mut c_void, dst: *mut c_void, ddepth: i32, ksize: core::Size, anchor: core::Point, normalize: bool, border_type: i32) -> cv_return_value_void;
pub fn cv_threshold_Mat_Mat_double_double_int(src: *mut c_void, dst: *mut c_void, thresh: f64, maxval: f64, _type: i32) -> cv_return_value_double;
pub fn cv_warpAffine_Mat_Mat_Mat_Size_int_int_Scalar(src: *mut c_void, dst: *mut c_void, m: *mut c_void, dsize: core::Size, flags: i32, border_mode: i32, border_value: core::Scalar) -> cv_return_value_void;
pub fn cv_warpPerspective_Mat_Mat_Mat_Size_int_int_Scalar(src: *mut c_void, dst: *mut c_void, m: *mut c_void, dsize: core::Size, flags: i32, border_mode: i32, border_value: core::Scalar) -> cv_return_value_void;
pub fn cv_warpPolar_Mat_Mat_Size_Point2f_double_int(src: *mut c_void, dst: *mut c_void, dsize: core::Size, center: core::Point2f, max_radius: f64, flags: i32) -> cv_return_value_void;
pub fn cv_watershed_Mat_Mat(image: *mut c_void, markers: *mut c_void) -> cv_return_value_void;
pub fn cv_wrapperEMD_Mat_Mat_int_Mat_PtrOffloat_Mat(signature1: *mut c_void, signature2: *mut c_void, dist_type: i32, cost: *mut c_void, lower_bound: *mut c_void, flow: *mut c_void) -> cv_return_value_float;
pub fn cv_CLAHE_apply_Mat_Mat(instance: *mut c_void, src: *mut c_void, dst: *mut c_void) -> cv_return_value_void;
pub fn cv_CLAHE_setClipLimit_double(instance: *mut c_void, clip_limit: f64) -> cv_return_value_void;
pub fn cv_CLAHE_getClipLimit_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_CLAHE_setTilesGridSize_Size(instance: *mut c_void, tile_grid_size: core::Size) -> cv_return_value_void;
pub fn cv_CLAHE_getTilesGridSize_const(instance: *const c_void) -> cv_return_value_SizeWrapper;
pub fn cv_CLAHE_collectGarbage(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_GeneralizedHough_setTemplate_Mat_Point(instance: *mut c_void, templ: *mut c_void, templ_center: core::Point) -> cv_return_value_void;
pub fn cv_GeneralizedHough_setTemplate_Mat_Mat_Mat_Point(instance: *mut c_void, edges: *mut c_void, dx: *mut c_void, dy: *mut c_void, templ_center: core::Point) -> cv_return_value_void;
pub fn cv_GeneralizedHough_detect_Mat_Mat_Mat(instance: *mut c_void, image: *mut c_void, positions: *mut c_void, votes: *mut c_void) -> cv_return_value_void;
pub fn cv_GeneralizedHough_detect_Mat_Mat_Mat_Mat_Mat(instance: *mut c_void, edges: *mut c_void, dx: *mut c_void, dy: *mut c_void, positions: *mut c_void, votes: *mut c_void) -> cv_return_value_void;
pub fn cv_GeneralizedHough_setCannyLowThresh_int(instance: *mut c_void, canny_low_thresh: i32) -> cv_return_value_void;
pub fn cv_GeneralizedHough_getCannyLowThresh_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_GeneralizedHough_setCannyHighThresh_int(instance: *mut c_void, canny_high_thresh: i32) -> cv_return_value_void;
pub fn cv_GeneralizedHough_getCannyHighThresh_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_GeneralizedHough_setMinDist_double(instance: *mut c_void, min_dist: f64) -> cv_return_value_void;
pub fn cv_GeneralizedHough_getMinDist_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_GeneralizedHough_setDp_double(instance: *mut c_void, dp: f64) -> cv_return_value_void;
pub fn cv_GeneralizedHough_getDp_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_GeneralizedHough_setMaxBufferSize_int(instance: *mut c_void, max_buffer_size: i32) -> cv_return_value_void;
pub fn cv_GeneralizedHough_getMaxBufferSize_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_GeneralizedHoughBallard_setLevels_int(instance: *mut c_void, levels: i32) -> cv_return_value_void;
pub fn cv_GeneralizedHoughBallard_getLevels_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_GeneralizedHoughBallard_setVotesThreshold_int(instance: *mut c_void, votes_threshold: i32) -> cv_return_value_void;
pub fn cv_GeneralizedHoughBallard_getVotesThreshold_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_GeneralizedHoughGuil_setXi_double(instance: *mut c_void, xi: f64) -> cv_return_value_void;
pub fn cv_GeneralizedHoughGuil_getXi_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_GeneralizedHoughGuil_setLevels_int(instance: *mut c_void, levels: i32) -> cv_return_value_void;
pub fn cv_GeneralizedHoughGuil_getLevels_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_GeneralizedHoughGuil_setAngleEpsilon_double(instance: *mut c_void, angle_epsilon: f64) -> cv_return_value_void;
pub fn cv_GeneralizedHoughGuil_getAngleEpsilon_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_GeneralizedHoughGuil_setMinAngle_double(instance: *mut c_void, min_angle: f64) -> cv_return_value_void;
pub fn cv_GeneralizedHoughGuil_getMinAngle_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_GeneralizedHoughGuil_setMaxAngle_double(instance: *mut c_void, max_angle: f64) -> cv_return_value_void;
pub fn cv_GeneralizedHoughGuil_getMaxAngle_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_GeneralizedHoughGuil_setAngleStep_double(instance: *mut c_void, angle_step: f64) -> cv_return_value_void;
pub fn cv_GeneralizedHoughGuil_getAngleStep_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_GeneralizedHoughGuil_setAngleThresh_int(instance: *mut c_void, angle_thresh: i32) -> cv_return_value_void;
pub fn cv_GeneralizedHoughGuil_getAngleThresh_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_GeneralizedHoughGuil_setMinScale_double(instance: *mut c_void, min_scale: f64) -> cv_return_value_void;
pub fn cv_GeneralizedHoughGuil_getMinScale_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_GeneralizedHoughGuil_setMaxScale_double(instance: *mut c_void, max_scale: f64) -> cv_return_value_void;
pub fn cv_GeneralizedHoughGuil_getMaxScale_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_GeneralizedHoughGuil_setScaleStep_double(instance: *mut c_void, scale_step: f64) -> cv_return_value_void;
pub fn cv_GeneralizedHoughGuil_getScaleStep_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_GeneralizedHoughGuil_setScaleThresh_int(instance: *mut c_void, scale_thresh: i32) -> cv_return_value_void;
pub fn cv_GeneralizedHoughGuil_getScaleThresh_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_GeneralizedHoughGuil_setPosThresh_int(instance: *mut c_void, pos_thresh: i32) -> cv_return_value_void;
pub fn cv_GeneralizedHoughGuil_getPosThresh_const(instance: *const c_void) -> cv_return_value_int;
#[doc(hidden)] pub fn cv_LineIterator_delete(ptr : *mut c_void);
pub fn cv_LineIterator_LineIterator_Mat_Point_Point_int_bool(img: *mut c_void, pt1: core::Point, pt2: core::Point, connectivity: i32, left_to_right: bool) -> cv_return_value_void_X;
pub fn cv_LineIterator_pos_const(instance: *const c_void) -> cv_return_value_PointWrapper;
pub fn cv_LineSegmentDetector_detect_Mat_Mat_Mat_Mat_Mat(instance: *mut c_void, _image: *mut c_void, _lines: *mut c_void, width: *mut c_void, prec: *mut c_void, nfa: *mut c_void) -> cv_return_value_void;
pub fn cv_LineSegmentDetector_drawSegments_Mat_Mat(instance: *mut c_void, _image: *mut c_void, lines: *mut c_void) -> cv_return_value_void;
pub fn cv_LineSegmentDetector_compareSegments_Size_Mat_Mat_Mat(instance: *mut c_void, size: core::Size, lines1: *mut c_void, lines2: *mut c_void, _image: *mut c_void) -> cv_return_value_int;
#[doc(hidden)] pub fn cv_Subdiv2D_delete(ptr : *mut c_void);
pub fn cv_Subdiv2D_Subdiv2D() -> cv_return_value_void_X;
pub fn cv_Subdiv2D_Subdiv2D_Rect(rect: core::Rect) -> cv_return_value_void_X;
pub fn cv_Subdiv2D_initDelaunay_Rect(instance: *mut c_void, rect: core::Rect) -> cv_return_value_void;
pub fn cv_Subdiv2D_insert_Point2f(instance: *mut c_void, pt: core::Point2f) -> cv_return_value_int;
pub fn cv_Subdiv2D_insert_VectorOfPoint2f(instance: *mut c_void, ptvec: *mut c_void) -> cv_return_value_void;
pub fn cv_Subdiv2D_locate_Point2f_int_int(instance: *mut c_void, pt: core::Point2f, edge: &mut i32, vertex: &mut i32) -> cv_return_value_int;
pub fn cv_Subdiv2D_findNearest_Point2f_Point2f_X(instance: *mut c_void, pt: core::Point2f, nearest_pt: *mut core::Point2f) -> cv_return_value_int;
pub fn cv_Subdiv2D_getEdgeList_const_VectorOfVec4f(instance: *const c_void, edge_list: *mut c_void) -> cv_return_value_void;
pub fn cv_Subdiv2D_getLeadingEdgeList_const_VectorOfint(instance: *const c_void, leading_edge_list: *mut c_void) -> cv_return_value_void;
pub fn cv_Subdiv2D_getTriangleList_const_VectorOfVec6f(instance: *const c_void, triangle_list: *mut c_void) -> cv_return_value_void;
pub fn cv_Subdiv2D_getVoronoiFacetList_VectorOfint_VectorOfVectorOfPoint2f_VectorOfPoint2f(instance: *mut c_void, idx: *mut c_void, facet_list: *mut c_void, facet_centers: *mut c_void) -> cv_return_value_void;
pub fn cv_Subdiv2D_getVertex_const_int_int_X(instance: *const c_void, vertex: i32, first_edge: *mut i32) -> cv_return_value_Point2fWrapper;
pub fn cv_Subdiv2D_getEdge_const_int_int(instance: *const c_void, edge: i32, next_edge_type: i32) -> cv_return_value_int;
pub fn cv_Subdiv2D_nextEdge_const_int(instance: *const c_void, edge: i32) -> cv_return_value_int;
pub fn cv_Subdiv2D_rotateEdge_const_int_int(instance: *const c_void, edge: i32, rotate: i32) -> cv_return_value_int;
pub fn cv_Subdiv2D_symEdge_const_int(instance: *const c_void, edge: i32) -> cv_return_value_int;
pub fn cv_Subdiv2D_edgeOrg_const_int_Point2f_X(instance: *const c_void, edge: i32, orgpt: *mut core::Point2f) -> cv_return_value_int;
pub fn cv_Subdiv2D_edgeDst_const_int_Point2f_X(instance: *const c_void, edge: i32, dstpt: *mut core::Point2f) -> cv_return_value_int;
}
extern "C" {
pub fn cv_line_descriptor_drawKeylines_Mat_VectorOfKeyLine_Mat_Scalar_int(image: *mut c_void, keylines: *mut c_void, out_image: *mut c_void, color: core::Scalar, flags: i32) -> cv_return_value_void;
pub fn cv_line_descriptor_drawLineMatches_Mat_VectorOfKeyLine_Mat_VectorOfKeyLine_VectorOfDMatch_Mat_Scalar_Scalar_VectorOfchar_int(img1: *mut c_void, keylines1: *mut c_void, img2: *mut c_void, keylines2: *mut c_void, matches1to2: *mut c_void, out_img: *mut c_void, match_color: core::Scalar, single_line_color: core::Scalar, matches_mask: *mut c_void, flags: i32) -> cv_return_value_void;
#[doc(hidden)] pub fn cv_BinaryDescriptor_delete(ptr : *mut c_void);
pub fn cv_line_descriptor_BinaryDescriptor_BinaryDescriptor_Params(parameters: *mut c_void) -> cv_return_value_void_X;
pub fn cv_line_descriptor_BinaryDescriptor_createBinaryDescriptor() -> cv_return_value_void_X;
pub fn cv_line_descriptor_BinaryDescriptor_createBinaryDescriptor_Params(parameters: *mut c_void) -> cv_return_value_void_X;
pub fn cv_line_descriptor_BinaryDescriptor_getNumOfOctaves(instance: *mut c_void) -> cv_return_value_int;
pub fn cv_line_descriptor_BinaryDescriptor_setNumOfOctaves_int(instance: *mut c_void, octaves: i32) -> cv_return_value_void;
pub fn cv_line_descriptor_BinaryDescriptor_getWidthOfBand(instance: *mut c_void) -> cv_return_value_int;
pub fn cv_line_descriptor_BinaryDescriptor_setWidthOfBand_int(instance: *mut c_void, width: i32) -> cv_return_value_void;
pub fn cv_line_descriptor_BinaryDescriptor_getReductionRatio(instance: *mut c_void) -> cv_return_value_int;
pub fn cv_line_descriptor_BinaryDescriptor_setReductionRatio_int(instance: *mut c_void, r_ratio: i32) -> cv_return_value_void;
pub fn cv_line_descriptor_BinaryDescriptor_detect_Mat_VectorOfKeyLine_Mat(instance: *mut c_void, image: *mut c_void, keypoints: *mut c_void, mask: *mut c_void) -> cv_return_value_void;
pub fn cv_line_descriptor_BinaryDescriptor_detect_const_VectorOfMat_VectorOfVectorOfKeyLine_VectorOfMat(instance: *const c_void, images: *mut c_void, keylines: *mut c_void, masks: *mut c_void) -> cv_return_value_void;
pub fn cv_line_descriptor_BinaryDescriptor_compute_const_Mat_VectorOfKeyLine_Mat_bool(instance: *const c_void, image: *mut c_void, keylines: *mut c_void, descriptors: *mut c_void, return_float_descr: bool) -> cv_return_value_void;
pub fn cv_line_descriptor_BinaryDescriptor_compute_const_VectorOfMat_VectorOfVectorOfKeyLine_VectorOfMat_bool(instance: *const c_void, images: *mut c_void, keylines: *mut c_void, descriptors: *mut c_void, return_float_descr: bool) -> cv_return_value_void;
pub fn cv_line_descriptor_BinaryDescriptor_descriptorSize_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_line_descriptor_BinaryDescriptor_descriptorType_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_line_descriptor_BinaryDescriptor_defaultNorm_const(instance: *const c_void) -> cv_return_value_int;
#[doc(hidden)] pub fn cv_BinaryDescriptor_Params_delete(ptr : *mut c_void);
pub fn cv_line_descriptor_BinaryDescriptor_Params_Params() -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_BinaryDescriptorMatcher_delete(ptr : *mut c_void);
pub fn cv_line_descriptor_BinaryDescriptorMatcher_match_const_Mat_Mat_VectorOfDMatch_Mat(instance: *const c_void, query_descriptors: *mut c_void, train_descriptors: *mut c_void, matches: *mut c_void, mask: *mut c_void) -> cv_return_value_void;
pub fn cv_line_descriptor_BinaryDescriptorMatcher_match_Mat_VectorOfDMatch_VectorOfMat(instance: *mut c_void, query_descriptors: *mut c_void, matches: *mut c_void, masks: *mut c_void) -> cv_return_value_void;
pub fn cv_line_descriptor_BinaryDescriptorMatcher_knnMatch_const_Mat_Mat_VectorOfVectorOfDMatch_int_Mat_bool(instance: *const c_void, query_descriptors: *mut c_void, train_descriptors: *mut c_void, matches: *mut c_void, k: i32, mask: *mut c_void, compact_result: bool) -> cv_return_value_void;
pub fn cv_line_descriptor_BinaryDescriptorMatcher_knnMatch_Mat_VectorOfVectorOfDMatch_int_VectorOfMat_bool(instance: *mut c_void, query_descriptors: *mut c_void, matches: *mut c_void, k: i32, masks: *mut c_void, compact_result: bool) -> cv_return_value_void;
pub fn cv_line_descriptor_BinaryDescriptorMatcher_radiusMatch_const_Mat_Mat_VectorOfVectorOfDMatch_float_Mat_bool(instance: *const c_void, query_descriptors: *mut c_void, train_descriptors: *mut c_void, matches: *mut c_void, max_distance: f32, mask: *mut c_void, compact_result: bool) -> cv_return_value_void;
pub fn cv_line_descriptor_BinaryDescriptorMatcher_radiusMatch_Mat_VectorOfVectorOfDMatch_float_VectorOfMat_bool(instance: *mut c_void, query_descriptors: *mut c_void, matches: *mut c_void, max_distance: f32, masks: *mut c_void, compact_result: bool) -> cv_return_value_void;
pub fn cv_line_descriptor_BinaryDescriptorMatcher_add_VectorOfMat(instance: *mut c_void, descriptors: *mut c_void) -> cv_return_value_void;
pub fn cv_line_descriptor_BinaryDescriptorMatcher_train(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_line_descriptor_BinaryDescriptorMatcher_createBinaryDescriptorMatcher() -> cv_return_value_void_X;
pub fn cv_line_descriptor_BinaryDescriptorMatcher_clear(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_line_descriptor_BinaryDescriptorMatcher_BinaryDescriptorMatcher() -> cv_return_value_void_X;
pub fn cv_line_descriptor_KeyLine_getStartPoint_const(instance: crate::line_descriptor::KeyLine) -> cv_return_value_Point2fWrapper;
pub fn cv_line_descriptor_KeyLine_getEndPoint_const(instance: crate::line_descriptor::KeyLine) -> cv_return_value_Point2fWrapper;
pub fn cv_line_descriptor_KeyLine_getStartPointInOctave_const(instance: crate::line_descriptor::KeyLine) -> cv_return_value_Point2fWrapper;
pub fn cv_line_descriptor_KeyLine_getEndPointInOctave_const(instance: crate::line_descriptor::KeyLine) -> cv_return_value_Point2fWrapper;
pub fn cv_line_descriptor_KeyLine_KeyLine() -> cv_return_value_KeyLine;
#[doc(hidden)] pub fn cv_LSDDetector_delete(ptr : *mut c_void);
pub fn cv_line_descriptor_LSDDetector_LSDDetector() -> cv_return_value_void_X;
pub fn cv_line_descriptor_LSDDetector_LSDDetector_LSDParam(_params: crate::line_descriptor::LSDParam) -> cv_return_value_void_X;
pub fn cv_line_descriptor_LSDDetector_createLSDDetector() -> cv_return_value_void_X;
pub fn cv_line_descriptor_LSDDetector_createLSDDetector_LSDParam(params: crate::line_descriptor::LSDParam) -> cv_return_value_void_X;
pub fn cv_line_descriptor_LSDDetector_detect_Mat_VectorOfKeyLine_int_int_Mat(instance: *mut c_void, image: *mut c_void, keypoints: *mut c_void, scale: i32, num_octaves: i32, mask: *mut c_void) -> cv_return_value_void;
pub fn cv_line_descriptor_LSDDetector_detect_const_VectorOfMat_VectorOfVectorOfKeyLine_int_int_VectorOfMat(instance: *const c_void, images: *mut c_void, keylines: *mut c_void, scale: i32, num_octaves: i32, masks: *mut c_void) -> cv_return_value_void;
pub fn cv_line_descriptor_LSDParam_LSDParam() -> cv_return_value_LSDParam;
}
extern "C" {
pub fn cv_ml_createConcentricSpheresTestSet_int_int_int_Mat_Mat(nsamples: i32, nfeatures: i32, nclasses: i32, samples: *mut c_void, responses: *mut c_void) -> cv_return_value_void;
pub fn cv_ml_randMVNormal_Mat_Mat_int_Mat(mean: *mut c_void, cov: *mut c_void, nsamples: i32, samples: *mut c_void) -> cv_return_value_void;
pub fn cv_ml_ANN_MLP_setTrainMethod_int_double_double(instance: *mut c_void, method: i32, param1: f64, param2: f64) -> cv_return_value_void;
pub fn cv_ml_ANN_MLP_getTrainMethod_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ml_ANN_MLP_setActivationFunction_int_double_double(instance: *mut c_void, _type: i32, param1: f64, param2: f64) -> cv_return_value_void;
pub fn cv_ml_ANN_MLP_setLayerSizes_Mat(instance: *mut c_void, _layer_sizes: *mut c_void) -> cv_return_value_void;
pub fn cv_ml_ANN_MLP_getLayerSizes_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ml_ANN_MLP_getTermCriteria_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ml_ANN_MLP_setTermCriteria_TermCriteria(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_ml_ANN_MLP_getBackpropWeightScale_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_ml_ANN_MLP_setBackpropWeightScale_double(instance: *mut c_void, val: f64) -> cv_return_value_void;
pub fn cv_ml_ANN_MLP_getBackpropMomentumScale_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_ml_ANN_MLP_setBackpropMomentumScale_double(instance: *mut c_void, val: f64) -> cv_return_value_void;
pub fn cv_ml_ANN_MLP_getRpropDW0_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_ml_ANN_MLP_setRpropDW0_double(instance: *mut c_void, val: f64) -> cv_return_value_void;
pub fn cv_ml_ANN_MLP_getRpropDWPlus_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_ml_ANN_MLP_setRpropDWPlus_double(instance: *mut c_void, val: f64) -> cv_return_value_void;
pub fn cv_ml_ANN_MLP_getRpropDWMinus_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_ml_ANN_MLP_setRpropDWMinus_double(instance: *mut c_void, val: f64) -> cv_return_value_void;
pub fn cv_ml_ANN_MLP_getRpropDWMin_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_ml_ANN_MLP_setRpropDWMin_double(instance: *mut c_void, val: f64) -> cv_return_value_void;
pub fn cv_ml_ANN_MLP_getRpropDWMax_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_ml_ANN_MLP_setRpropDWMax_double(instance: *mut c_void, val: f64) -> cv_return_value_void;
pub fn cv_ml_ANN_MLP_getAnnealInitialT_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_ml_ANN_MLP_setAnnealInitialT_double(instance: *mut c_void, val: f64) -> cv_return_value_void;
pub fn cv_ml_ANN_MLP_getAnnealFinalT_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_ml_ANN_MLP_setAnnealFinalT_double(instance: *mut c_void, val: f64) -> cv_return_value_void;
pub fn cv_ml_ANN_MLP_getAnnealCoolingRatio_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_ml_ANN_MLP_setAnnealCoolingRatio_double(instance: *mut c_void, val: f64) -> cv_return_value_void;
pub fn cv_ml_ANN_MLP_getAnnealItePerStep_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ml_ANN_MLP_setAnnealItePerStep_int(instance: *mut c_void, val: i32) -> cv_return_value_void;
pub fn cv_ml_ANN_MLP_getWeights_const_int(instance: *const c_void, layer_idx: i32) -> cv_return_value_void_X;
pub fn cv_ml_ANN_MLP_create() -> cv_return_value_void_X;
pub fn cv_ml_ANN_MLP_load_String(filepath: *const c_char) -> cv_return_value_void_X;
pub fn cv_ml_Boost_getBoostType_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ml_Boost_setBoostType_int(instance: *mut c_void, val: i32) -> cv_return_value_void;
pub fn cv_ml_Boost_getWeakCount_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ml_Boost_setWeakCount_int(instance: *mut c_void, val: i32) -> cv_return_value_void;
pub fn cv_ml_Boost_getWeightTrimRate_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_ml_Boost_setWeightTrimRate_double(instance: *mut c_void, val: f64) -> cv_return_value_void;
pub fn cv_ml_Boost_create() -> cv_return_value_void_X;
pub fn cv_ml_Boost_load_String_String(filepath: *const c_char, node_name: *const c_char) -> cv_return_value_void_X;
pub fn cv_ml_DTrees_getMaxCategories_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ml_DTrees_setMaxCategories_int(instance: *mut c_void, val: i32) -> cv_return_value_void;
pub fn cv_ml_DTrees_getMaxDepth_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ml_DTrees_setMaxDepth_int(instance: *mut c_void, val: i32) -> cv_return_value_void;
pub fn cv_ml_DTrees_getMinSampleCount_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ml_DTrees_setMinSampleCount_int(instance: *mut c_void, val: i32) -> cv_return_value_void;
pub fn cv_ml_DTrees_getCVFolds_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ml_DTrees_setCVFolds_int(instance: *mut c_void, val: i32) -> cv_return_value_void;
pub fn cv_ml_DTrees_getUseSurrogates_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_ml_DTrees_setUseSurrogates_bool(instance: *mut c_void, val: bool) -> cv_return_value_void;
pub fn cv_ml_DTrees_getUse1SERule_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_ml_DTrees_setUse1SERule_bool(instance: *mut c_void, val: bool) -> cv_return_value_void;
pub fn cv_ml_DTrees_getTruncatePrunedTree_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_ml_DTrees_setTruncatePrunedTree_bool(instance: *mut c_void, val: bool) -> cv_return_value_void;
pub fn cv_ml_DTrees_getRegressionAccuracy_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_ml_DTrees_setRegressionAccuracy_float(instance: *mut c_void, val: f32) -> cv_return_value_void;
pub fn cv_ml_DTrees_getPriors_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ml_DTrees_setPriors_Mat(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_ml_DTrees_getRoots_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ml_DTrees_getNodes_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ml_DTrees_getSplits_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ml_DTrees_getSubsets_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ml_DTrees_create() -> cv_return_value_void_X;
pub fn cv_ml_DTrees_load_String_String(filepath: *const c_char, node_name: *const c_char) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_DTrees_Node_delete(ptr : *mut c_void);
pub fn cv_ml_DTrees_Node_Node() -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_DTrees_Split_delete(ptr : *mut c_void);
pub fn cv_ml_DTrees_Split_Split() -> cv_return_value_void_X;
pub fn cv_ml_EM_getClustersNumber_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ml_EM_setClustersNumber_int(instance: *mut c_void, val: i32) -> cv_return_value_void;
pub fn cv_ml_EM_getCovarianceMatrixType_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ml_EM_setCovarianceMatrixType_int(instance: *mut c_void, val: i32) -> cv_return_value_void;
pub fn cv_ml_EM_getTermCriteria_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ml_EM_setTermCriteria_TermCriteria(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_ml_EM_getWeights_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ml_EM_getMeans_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ml_EM_getCovs_const_VectorOfMat(instance: *const c_void, covs: *mut c_void) -> cv_return_value_void;
pub fn cv_ml_EM_predict_const_Mat_Mat_int(instance: *const c_void, samples: *mut c_void, results: *mut c_void, flags: i32) -> cv_return_value_float;
pub fn cv_ml_EM_predict2_const_Mat_Mat(instance: *const c_void, sample: *mut c_void, probs: *mut c_void) -> cv_return_value_Vec2dWrapper;
pub fn cv_ml_EM_trainEM_Mat_Mat_Mat_Mat(instance: *mut c_void, samples: *mut c_void, log_likelihoods: *mut c_void, labels: *mut c_void, probs: *mut c_void) -> cv_return_value_bool;
pub fn cv_ml_EM_trainE_Mat_Mat_Mat_Mat_Mat_Mat_Mat(instance: *mut c_void, samples: *mut c_void, means0: *mut c_void, covs0: *mut c_void, weights0: *mut c_void, log_likelihoods: *mut c_void, labels: *mut c_void, probs: *mut c_void) -> cv_return_value_bool;
pub fn cv_ml_EM_trainM_Mat_Mat_Mat_Mat_Mat(instance: *mut c_void, samples: *mut c_void, probs0: *mut c_void, log_likelihoods: *mut c_void, labels: *mut c_void, probs: *mut c_void) -> cv_return_value_bool;
pub fn cv_ml_EM_create() -> cv_return_value_void_X;
pub fn cv_ml_EM_load_String_String(filepath: *const c_char, node_name: *const c_char) -> cv_return_value_void_X;
pub fn cv_ml_KNearest_getDefaultK_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ml_KNearest_setDefaultK_int(instance: *mut c_void, val: i32) -> cv_return_value_void;
pub fn cv_ml_KNearest_getIsClassifier_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_ml_KNearest_setIsClassifier_bool(instance: *mut c_void, val: bool) -> cv_return_value_void;
pub fn cv_ml_KNearest_getEmax_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ml_KNearest_setEmax_int(instance: *mut c_void, val: i32) -> cv_return_value_void;
pub fn cv_ml_KNearest_getAlgorithmType_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ml_KNearest_setAlgorithmType_int(instance: *mut c_void, val: i32) -> cv_return_value_void;
pub fn cv_ml_KNearest_findNearest_const_Mat_int_Mat_Mat_Mat(instance: *const c_void, samples: *mut c_void, k: i32, results: *mut c_void, neighbor_responses: *mut c_void, dist: *mut c_void) -> cv_return_value_float;
pub fn cv_ml_KNearest_create() -> cv_return_value_void_X;
pub fn cv_ml_KNearest_load_String(filepath: *const c_char) -> cv_return_value_void_X;
pub fn cv_ml_LogisticRegression_getLearningRate_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_ml_LogisticRegression_setLearningRate_double(instance: *mut c_void, val: f64) -> cv_return_value_void;
pub fn cv_ml_LogisticRegression_getIterations_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ml_LogisticRegression_setIterations_int(instance: *mut c_void, val: i32) -> cv_return_value_void;
pub fn cv_ml_LogisticRegression_getRegularization_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ml_LogisticRegression_setRegularization_int(instance: *mut c_void, val: i32) -> cv_return_value_void;
pub fn cv_ml_LogisticRegression_getTrainMethod_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ml_LogisticRegression_setTrainMethod_int(instance: *mut c_void, val: i32) -> cv_return_value_void;
pub fn cv_ml_LogisticRegression_getMiniBatchSize_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ml_LogisticRegression_setMiniBatchSize_int(instance: *mut c_void, val: i32) -> cv_return_value_void;
pub fn cv_ml_LogisticRegression_getTermCriteria_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ml_LogisticRegression_setTermCriteria_TermCriteria(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_ml_LogisticRegression_predict_const_Mat_Mat_int(instance: *const c_void, samples: *mut c_void, results: *mut c_void, flags: i32) -> cv_return_value_float;
pub fn cv_ml_LogisticRegression_get_learnt_thetas_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ml_LogisticRegression_create() -> cv_return_value_void_X;
pub fn cv_ml_LogisticRegression_load_String_String(filepath: *const c_char, node_name: *const c_char) -> cv_return_value_void_X;
pub fn cv_ml_NormalBayesClassifier_predictProb_const_Mat_Mat_Mat_int(instance: *const c_void, inputs: *mut c_void, outputs: *mut c_void, output_probs: *mut c_void, flags: i32) -> cv_return_value_float;
pub fn cv_ml_NormalBayesClassifier_create() -> cv_return_value_void_X;
pub fn cv_ml_NormalBayesClassifier_load_String_String(filepath: *const c_char, node_name: *const c_char) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_ParamGrid_delete(ptr : *mut c_void);
pub fn cv_ml_ParamGrid_minVal_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_ml_ParamGrid_maxVal_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_ml_ParamGrid_logStep_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_ml_ParamGrid_ParamGrid() -> cv_return_value_void_X;
pub fn cv_ml_ParamGrid_ParamGrid_double_double_double(_min_val: f64, _max_val: f64, _log_step: f64) -> cv_return_value_void_X;
pub fn cv_ml_ParamGrid_create_double_double_double(min_val: f64, max_val: f64, logstep: f64) -> cv_return_value_void_X;
pub fn cv_ml_RTrees_getCalculateVarImportance_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_ml_RTrees_setCalculateVarImportance_bool(instance: *mut c_void, val: bool) -> cv_return_value_void;
pub fn cv_ml_RTrees_getActiveVarCount_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ml_RTrees_setActiveVarCount_int(instance: *mut c_void, val: i32) -> cv_return_value_void;
pub fn cv_ml_RTrees_getTermCriteria_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ml_RTrees_setTermCriteria_TermCriteria(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_ml_RTrees_getVarImportance_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ml_RTrees_getVotes_const_Mat_Mat_int(instance: *const c_void, samples: *mut c_void, results: *mut c_void, flags: i32) -> cv_return_value_void;
pub fn cv_ml_RTrees_create() -> cv_return_value_void_X;
pub fn cv_ml_RTrees_load_String_String(filepath: *const c_char, node_name: *const c_char) -> cv_return_value_void_X;
pub fn cv_ml_SVM_getType_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ml_SVM_setType_int(instance: *mut c_void, val: i32) -> cv_return_value_void;
pub fn cv_ml_SVM_getGamma_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_ml_SVM_setGamma_double(instance: *mut c_void, val: f64) -> cv_return_value_void;
pub fn cv_ml_SVM_getCoef0_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_ml_SVM_setCoef0_double(instance: *mut c_void, val: f64) -> cv_return_value_void;
pub fn cv_ml_SVM_getDegree_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_ml_SVM_setDegree_double(instance: *mut c_void, val: f64) -> cv_return_value_void;
pub fn cv_ml_SVM_getC_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_ml_SVM_setC_double(instance: *mut c_void, val: f64) -> cv_return_value_void;
pub fn cv_ml_SVM_getNu_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_ml_SVM_setNu_double(instance: *mut c_void, val: f64) -> cv_return_value_void;
pub fn cv_ml_SVM_getP_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_ml_SVM_setP_double(instance: *mut c_void, val: f64) -> cv_return_value_void;
pub fn cv_ml_SVM_getClassWeights_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ml_SVM_setClassWeights_Mat(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_ml_SVM_getTermCriteria_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ml_SVM_setTermCriteria_TermCriteria(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_ml_SVM_getKernelType_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ml_SVM_setKernel_int(instance: *mut c_void, kernel_type: i32) -> cv_return_value_void;
pub fn cv_ml_SVM_setCustomKernel_PtrOfKernel(instance: *mut c_void, _kernel: *mut c_void) -> cv_return_value_void;
pub fn cv_ml_SVM_trainAuto_PtrOfTrainData_int_ParamGrid_ParamGrid_ParamGrid_ParamGrid_ParamGrid_ParamGrid_bool(instance: *mut c_void, data: *mut c_void, k_fold: i32, cgrid: *mut c_void, gamma_grid: *mut c_void, p_grid: *mut c_void, nu_grid: *mut c_void, coeff_grid: *mut c_void, degree_grid: *mut c_void, balanced: bool) -> cv_return_value_bool;
pub fn cv_ml_SVM_trainAuto_Mat_int_Mat_int_PtrOfParamGrid_PtrOfParamGrid_PtrOfParamGrid_PtrOfParamGrid_PtrOfParamGrid_PtrOfParamGrid_bool(instance: *mut c_void, samples: *mut c_void, layout: i32, responses: *mut c_void, k_fold: i32, cgrid: *mut c_void, gamma_grid: *mut c_void, p_grid: *mut c_void, nu_grid: *mut c_void, coeff_grid: *mut c_void, degree_grid: *mut c_void, balanced: bool) -> cv_return_value_bool;
pub fn cv_ml_SVM_getSupportVectors_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ml_SVM_getUncompressedSupportVectors_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ml_SVM_getDecisionFunction_const_int_Mat_Mat(instance: *const c_void, i: i32, alpha: *mut c_void, svidx: *mut c_void) -> cv_return_value_double;
pub fn cv_ml_SVM_getDefaultGrid_int(param_id: i32) -> cv_return_value_void_X;
pub fn cv_ml_SVM_getDefaultGridPtr_int(param_id: i32) -> cv_return_value_void_X;
pub fn cv_ml_SVM_create() -> cv_return_value_void_X;
pub fn cv_ml_SVM_load_String(filepath: *const c_char) -> cv_return_value_void_X;
pub fn cv_ml_SVM_Kernel_getType_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ml_SVM_Kernel_calc_int_int_const_float_X_const_float_X_float_X(instance: *mut c_void, vcount: i32, n: i32, vecs: *const f32, another: *const f32, results: *mut f32) -> cv_return_value_void;
pub fn cv_ml_SVMSGD_getWeights(instance: *mut c_void) -> cv_return_value_void_X;
pub fn cv_ml_SVMSGD_getShift(instance: *mut c_void) -> cv_return_value_float;
pub fn cv_ml_SVMSGD_setOptimalParameters_int_int(instance: *mut c_void, svmsgd_type: i32, margin_type: i32) -> cv_return_value_void;
pub fn cv_ml_SVMSGD_getSvmsgdType_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ml_SVMSGD_setSvmsgdType_int(instance: *mut c_void, svmsgd_type: i32) -> cv_return_value_void;
pub fn cv_ml_SVMSGD_getMarginType_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ml_SVMSGD_setMarginType_int(instance: *mut c_void, margin_type: i32) -> cv_return_value_void;
pub fn cv_ml_SVMSGD_getMarginRegularization_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_ml_SVMSGD_setMarginRegularization_float(instance: *mut c_void, margin_regularization: f32) -> cv_return_value_void;
pub fn cv_ml_SVMSGD_getInitialStepSize_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_ml_SVMSGD_setInitialStepSize_float(instance: *mut c_void, initial_step_size: f32) -> cv_return_value_void;
pub fn cv_ml_SVMSGD_getStepDecreasingPower_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_ml_SVMSGD_setStepDecreasingPower_float(instance: *mut c_void, step_decreasing_power: f32) -> cv_return_value_void;
pub fn cv_ml_SVMSGD_getTermCriteria_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ml_SVMSGD_setTermCriteria_TermCriteria(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_ml_SVMSGD_create() -> cv_return_value_void_X;
pub fn cv_ml_SVMSGD_load_String_String(filepath: *const c_char, node_name: *const c_char) -> cv_return_value_void_X;
pub fn cv_ml_StatModel_getVarCount_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ml_StatModel_empty_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_ml_StatModel_isTrained_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_ml_StatModel_isClassifier_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_ml_StatModel_train_PtrOfTrainData_int(instance: *mut c_void, train_data: *mut c_void, flags: i32) -> cv_return_value_bool;
pub fn cv_ml_StatModel_train_Mat_int_Mat(instance: *mut c_void, samples: *mut c_void, layout: i32, responses: *mut c_void) -> cv_return_value_bool;
pub fn cv_ml_StatModel_calcError_const_PtrOfTrainData_bool_Mat(instance: *const c_void, data: *mut c_void, test: bool, resp: *mut c_void) -> cv_return_value_float;
pub fn cv_ml_StatModel_predict_const_Mat_Mat_int(instance: *const c_void, samples: *mut c_void, results: *mut c_void, flags: i32) -> cv_return_value_float;
pub fn cv_ml_TrainData_missingValue(instance: *mut c_void) -> cv_return_value_float;
pub fn cv_ml_TrainData_getLayout_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ml_TrainData_getNTrainSamples_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ml_TrainData_getNTestSamples_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ml_TrainData_getNSamples_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ml_TrainData_getNVars_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ml_TrainData_getNAllVars_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ml_TrainData_getSample_const_Mat_int_float_X(instance: *const c_void, var_idx: *mut c_void, sidx: i32, buf: *mut f32) -> cv_return_value_void;
pub fn cv_ml_TrainData_getSamples_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ml_TrainData_getMissing_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ml_TrainData_getTrainSamples_const_int_bool_bool(instance: *const c_void, layout: i32, compress_samples: bool, compress_vars: bool) -> cv_return_value_void_X;
pub fn cv_ml_TrainData_getTrainResponses_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ml_TrainData_getTrainNormCatResponses_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ml_TrainData_getTestResponses_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ml_TrainData_getTestNormCatResponses_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ml_TrainData_getResponses_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ml_TrainData_getNormCatResponses_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ml_TrainData_getSampleWeights_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ml_TrainData_getTrainSampleWeights_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ml_TrainData_getTestSampleWeights_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ml_TrainData_getVarIdx_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ml_TrainData_getVarType_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ml_TrainData_getVarSymbolFlags_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ml_TrainData_getResponseType_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ml_TrainData_getTrainSampleIdx_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ml_TrainData_getTestSampleIdx_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ml_TrainData_getValues_const_int_Mat_float_X(instance: *const c_void, vi: i32, sidx: *mut c_void, values: *mut f32) -> cv_return_value_void;
pub fn cv_ml_TrainData_getNormCatValues_const_int_Mat_int_X(instance: *const c_void, vi: i32, sidx: *mut c_void, values: *mut i32) -> cv_return_value_void;
pub fn cv_ml_TrainData_getDefaultSubstValues_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ml_TrainData_getCatCount_const_int(instance: *const c_void, vi: i32) -> cv_return_value_int;
pub fn cv_ml_TrainData_getClassLabels_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ml_TrainData_getCatOfs_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ml_TrainData_getCatMap_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ml_TrainData_setTrainTestSplit_int_bool(instance: *mut c_void, count: i32, shuffle: bool) -> cv_return_value_void;
pub fn cv_ml_TrainData_setTrainTestSplitRatio_double_bool(instance: *mut c_void, ratio: f64, shuffle: bool) -> cv_return_value_void;
pub fn cv_ml_TrainData_shuffleTrainTest(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_ml_TrainData_getTestSamples_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ml_TrainData_getNames_const_VectorOfString(instance: *const c_void, names: *mut c_void) -> cv_return_value_void;
pub fn cv_ml_TrainData_getSubVector_Mat_Mat(vec: *mut c_void, idx: *mut c_void) -> cv_return_value_void_X;
pub fn cv_ml_TrainData_getSubMatrix_Mat_Mat_int(matrix: *mut c_void, idx: *mut c_void, layout: i32) -> cv_return_value_void_X;
pub fn cv_ml_TrainData_loadFromCSV_String_int_int_int_String_char_char(filename: *const c_char, header_line_count: i32, response_start_idx: i32, response_end_idx: i32, var_type_spec: *const c_char, delimiter: i8, missch: i8) -> cv_return_value_void_X;
pub fn cv_ml_TrainData_create_Mat_int_Mat_Mat_Mat_Mat_Mat(samples: *mut c_void, layout: i32, responses: *mut c_void, var_idx: *mut c_void, sample_idx: *mut c_void, sample_weights: *mut c_void, var_type: *mut c_void) -> cv_return_value_void_X;
}
extern "C" {
pub fn cv_createFaceDetectionMaskGenerator() -> cv_return_value_void_X;
pub fn cv_groupRectangles_VectorOfRect_VectorOfint_VectorOfdouble_int_double(rect_list: *mut c_void, reject_levels: *mut c_void, level_weights: *mut c_void, group_threshold: i32, eps: f64) -> cv_return_value_void;
pub fn cv_groupRectangles_VectorOfRect_VectorOfint_int_double(rect_list: *mut c_void, weights: *mut c_void, group_threshold: i32, eps: f64) -> cv_return_value_void;
pub fn cv_groupRectangles_VectorOfRect_int_double(rect_list: *mut c_void, group_threshold: i32, eps: f64) -> cv_return_value_void;
pub fn cv_groupRectangles_VectorOfRect_int_double_VectorOfint_VectorOfdouble(rect_list: *mut c_void, group_threshold: i32, eps: f64, weights: *mut c_void, level_weights: *mut c_void) -> cv_return_value_void;
pub fn cv_groupRectangles_meanshift_VectorOfRect_VectorOfdouble_VectorOfdouble_double_Size(rect_list: *mut c_void, found_weights: *mut c_void, found_scales: *mut c_void, detect_threshold: f64, win_det_size: core::Size) -> cv_return_value_void;
pub fn cv_BaseCascadeClassifier_empty_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_BaseCascadeClassifier_load_String(instance: *mut c_void, filename: *const c_char) -> cv_return_value_bool;
pub fn cv_BaseCascadeClassifier_detectMultiScale_Mat_VectorOfRect_double_int_int_Size_Size(instance: *mut c_void, image: *mut c_void, objects: *mut c_void, scale_factor: f64, min_neighbors: i32, flags: i32, min_size: core::Size, max_size: core::Size) -> cv_return_value_void;
pub fn cv_BaseCascadeClassifier_detectMultiScale_Mat_VectorOfRect_VectorOfint_double_int_int_Size_Size(instance: *mut c_void, image: *mut c_void, objects: *mut c_void, num_detections: *mut c_void, scale_factor: f64, min_neighbors: i32, flags: i32, min_size: core::Size, max_size: core::Size) -> cv_return_value_void;
pub fn cv_BaseCascadeClassifier_detectMultiScale_Mat_VectorOfRect_VectorOfint_VectorOfdouble_double_int_int_Size_Size_bool(instance: *mut c_void, image: *mut c_void, objects: *mut c_void, reject_levels: *mut c_void, level_weights: *mut c_void, scale_factor: f64, min_neighbors: i32, flags: i32, min_size: core::Size, max_size: core::Size, output_reject_levels: bool) -> cv_return_value_void;
pub fn cv_BaseCascadeClassifier_isOldFormatCascade_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_BaseCascadeClassifier_getOriginalWindowSize_const(instance: *const c_void) -> cv_return_value_SizeWrapper;
pub fn cv_BaseCascadeClassifier_getFeatureType_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_BaseCascadeClassifier_getOldCascade(instance: *mut c_void) -> cv_return_value_void_X;
pub fn cv_BaseCascadeClassifier_setMaskGenerator_PtrOfMaskGenerator(instance: *mut c_void, mask_generator: *mut c_void) -> cv_return_value_void;
pub fn cv_BaseCascadeClassifier_getMaskGenerator(instance: *mut c_void) -> cv_return_value_void_X;
pub fn cv_BaseCascadeClassifier_MaskGenerator_generateMask_Mat(instance: *mut c_void, src: *mut c_void) -> cv_return_value_void_X;
pub fn cv_BaseCascadeClassifier_MaskGenerator_initializeMask_Mat(instance: *mut c_void, unnamed_arg: *mut c_void) -> cv_return_value_void;
#[doc(hidden)] pub fn cv_CascadeClassifier_delete(ptr : *mut c_void);
pub fn cv_CascadeClassifier_CascadeClassifier() -> cv_return_value_void_X;
pub fn cv_CascadeClassifier_CascadeClassifier_String(filename: *const c_char) -> cv_return_value_void_X;
pub fn cv_CascadeClassifier_empty_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_CascadeClassifier_load_String(instance: *mut c_void, filename: *const c_char) -> cv_return_value_bool;
pub fn cv_CascadeClassifier_detectMultiScale_Mat_VectorOfRect_double_int_int_Size_Size(instance: *mut c_void, image: *mut c_void, objects: *mut c_void, scale_factor: f64, min_neighbors: i32, flags: i32, min_size: core::Size, max_size: core::Size) -> cv_return_value_void;
pub fn cv_CascadeClassifier_detectMultiScale_Mat_VectorOfRect_VectorOfint_double_int_int_Size_Size(instance: *mut c_void, image: *mut c_void, objects: *mut c_void, num_detections: *mut c_void, scale_factor: f64, min_neighbors: i32, flags: i32, min_size: core::Size, max_size: core::Size) -> cv_return_value_void;
pub fn cv_CascadeClassifier_detectMultiScale_Mat_VectorOfRect_VectorOfint_VectorOfdouble_double_int_int_Size_Size_bool(instance: *mut c_void, image: *mut c_void, objects: *mut c_void, reject_levels: *mut c_void, level_weights: *mut c_void, scale_factor: f64, min_neighbors: i32, flags: i32, min_size: core::Size, max_size: core::Size, output_reject_levels: bool) -> cv_return_value_void;
pub fn cv_CascadeClassifier_isOldFormatCascade_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_CascadeClassifier_getOriginalWindowSize_const(instance: *const c_void) -> cv_return_value_SizeWrapper;
pub fn cv_CascadeClassifier_getFeatureType_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_CascadeClassifier_getOldCascade(instance: *mut c_void) -> cv_return_value_void_X;
pub fn cv_CascadeClassifier_convert_String_String(oldcascade: *const c_char, newcascade: *const c_char) -> cv_return_value_bool;
pub fn cv_CascadeClassifier_setMaskGenerator_PtrOfMaskGenerator(instance: *mut c_void, mask_generator: *mut c_void) -> cv_return_value_void;
pub fn cv_CascadeClassifier_getMaskGenerator(instance: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_DetectionBasedTracker_delete(ptr : *mut c_void);
pub fn cv_DetectionBasedTracker_run(instance: *mut c_void) -> cv_return_value_bool;
pub fn cv_DetectionBasedTracker_stop(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_DetectionBasedTracker_resetTracking(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_DetectionBasedTracker_process_Mat(instance: *mut c_void, image_gray: *mut c_void) -> cv_return_value_void;
pub fn cv_DetectionBasedTracker_setParameters_Parameters(instance: *mut c_void, params: *mut c_void) -> cv_return_value_bool;
pub fn cv_DetectionBasedTracker_getParameters_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_DetectionBasedTracker_getObjects_const_VectorOfRect(instance: *const c_void, result: *mut c_void) -> cv_return_value_void;
pub fn cv_DetectionBasedTracker_getObjects_const_VectorOfExtObject(instance: *const c_void, result: *mut c_void) -> cv_return_value_void;
pub fn cv_DetectionBasedTracker_addObject_Rect(instance: *mut c_void, location: core::Rect) -> cv_return_value_int;
#[doc(hidden)] pub fn cv_DetectionBasedTracker_ExtObject_delete(ptr : *mut c_void);
pub fn cv_DetectionBasedTracker_IDetector_detect_Mat_VectorOfRect(instance: *mut c_void, image: *mut c_void, objects: *mut c_void) -> cv_return_value_void;
pub fn cv_DetectionBasedTracker_IDetector_setMinObjectSize_Size(instance: *mut c_void, min: core::Size) -> cv_return_value_void;
pub fn cv_DetectionBasedTracker_IDetector_setMaxObjectSize_Size(instance: *mut c_void, max: core::Size) -> cv_return_value_void;
pub fn cv_DetectionBasedTracker_IDetector_getMinObjectSize_const(instance: *const c_void) -> cv_return_value_SizeWrapper;
pub fn cv_DetectionBasedTracker_IDetector_getMaxObjectSize_const(instance: *const c_void) -> cv_return_value_SizeWrapper;
pub fn cv_DetectionBasedTracker_IDetector_getScaleFactor(instance: *mut c_void) -> cv_return_value_float;
pub fn cv_DetectionBasedTracker_IDetector_setScaleFactor_float(instance: *mut c_void, value: f32) -> cv_return_value_void;
pub fn cv_DetectionBasedTracker_IDetector_getMinNeighbours(instance: *mut c_void) -> cv_return_value_int;
pub fn cv_DetectionBasedTracker_IDetector_setMinNeighbours_int(instance: *mut c_void, value: i32) -> cv_return_value_void;
#[doc(hidden)] pub fn cv_DetectionBasedTracker_Parameters_delete(ptr : *mut c_void);
pub fn cv_DetectionBasedTracker_Parameters_Parameters() -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_DetectionROI_delete(ptr : *mut c_void);
#[doc(hidden)] pub fn cv_HOGDescriptor_delete(ptr : *mut c_void);
pub fn cv_HOGDescriptor_winSize_const(instance: *const c_void) -> cv_return_value_SizeWrapper;
pub fn cv_HOGDescriptor_blockSize_const(instance: *const c_void) -> cv_return_value_SizeWrapper;
pub fn cv_HOGDescriptor_blockStride_const(instance: *const c_void) -> cv_return_value_SizeWrapper;
pub fn cv_HOGDescriptor_cellSize_const(instance: *const c_void) -> cv_return_value_SizeWrapper;
pub fn cv_HOGDescriptor_nbins_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_HOGDescriptor_derivAperture_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_HOGDescriptor_winSigma_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_HOGDescriptor_histogramNormType_const(instance: *const c_void) -> cv_return_value_HOGDescriptor_HistogramNormType;
pub fn cv_HOGDescriptor_L2HysThreshold_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_HOGDescriptor_gammaCorrection_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_HOGDescriptor_svmDetector(instance: *mut c_void) -> cv_return_value_void_X;
pub fn cv_HOGDescriptor_set_svmDetector_VectorOffloat(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_HOGDescriptor_nlevels_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_HOGDescriptor_signedGradient_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_HOGDescriptor_HOGDescriptor() -> cv_return_value_void_X;
pub fn cv_HOGDescriptor_HOGDescriptor_Size_Size_Size_Size_int_int_double_HOGDescriptor_HistogramNormType_double_bool_int_bool(_win_size: core::Size, _block_size: core::Size, _block_stride: core::Size, _cell_size: core::Size, _nbins: i32, _deriv_aperture: i32, _win_sigma: f64, _histogram_norm_type: crate::objdetect::HOGDescriptor_HistogramNormType, _l2_hys_threshold: f64, _gamma_correction: bool, _nlevels: i32, _signed_gradient: bool) -> cv_return_value_void_X;
pub fn cv_HOGDescriptor_HOGDescriptor_String(filename: *const c_char) -> cv_return_value_void_X;
pub fn cv_HOGDescriptor_HOGDescriptor_HOGDescriptor(d: *mut c_void) -> cv_return_value_void_X;
pub fn cv_HOGDescriptor_getDescriptorSize_const(instance: *const c_void) -> cv_return_value_std_size_t;
pub fn cv_HOGDescriptor_checkDetectorSize_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_HOGDescriptor_getWinSigma_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_HOGDescriptor_setSVMDetector_Mat(instance: *mut c_void, svmdetector: *mut c_void) -> cv_return_value_void;
pub fn cv_HOGDescriptor_load_String_String(instance: *mut c_void, filename: *const c_char, objname: *const c_char) -> cv_return_value_bool;
pub fn cv_HOGDescriptor_save_const_String_String(instance: *const c_void, filename: *const c_char, objname: *const c_char) -> cv_return_value_void;
pub fn cv_HOGDescriptor_copyTo_const_HOGDescriptor(instance: *const c_void, c: *mut c_void) -> cv_return_value_void;
pub fn cv_HOGDescriptor_compute_const_Mat_VectorOffloat_Size_Size_VectorOfPoint(instance: *const c_void, img: *mut c_void, descriptors: *mut c_void, win_stride: core::Size, padding: core::Size, locations: *mut c_void) -> cv_return_value_void;
pub fn cv_HOGDescriptor_detect_const_Mat_VectorOfPoint_VectorOfdouble_double_Size_Size_VectorOfPoint(instance: *const c_void, img: *mut c_void, found_locations: *mut c_void, weights: *mut c_void, hit_threshold: f64, win_stride: core::Size, padding: core::Size, search_locations: *mut c_void) -> cv_return_value_void;
pub fn cv_HOGDescriptor_detect_const_Mat_VectorOfPoint_double_Size_Size_VectorOfPoint(instance: *const c_void, img: *mut c_void, found_locations: *mut c_void, hit_threshold: f64, win_stride: core::Size, padding: core::Size, search_locations: *mut c_void) -> cv_return_value_void;
pub fn cv_HOGDescriptor_detectMultiScale_const_Mat_VectorOfRect_VectorOfdouble_double_Size_Size_double_double_bool(instance: *const c_void, img: *mut c_void, found_locations: *mut c_void, found_weights: *mut c_void, hit_threshold: f64, win_stride: core::Size, padding: core::Size, scale: f64, final_threshold: f64, use_meanshift_grouping: bool) -> cv_return_value_void;
pub fn cv_HOGDescriptor_detectMultiScale_const_Mat_VectorOfRect_double_Size_Size_double_double_bool(instance: *const c_void, img: *mut c_void, found_locations: *mut c_void, hit_threshold: f64, win_stride: core::Size, padding: core::Size, scale: f64, final_threshold: f64, use_meanshift_grouping: bool) -> cv_return_value_void;
pub fn cv_HOGDescriptor_computeGradient_const_Mat_Mat_Mat_Size_Size(instance: *const c_void, img: *mut c_void, grad: *mut c_void, angle_ofs: *mut c_void, padding_tl: core::Size, padding_br: core::Size) -> cv_return_value_void;
pub fn cv_HOGDescriptor_getDefaultPeopleDetector() -> cv_return_value_void_X;
pub fn cv_HOGDescriptor_getDaimlerPeopleDetector() -> cv_return_value_void_X;
pub fn cv_HOGDescriptor_detectROI_const_Mat_VectorOfPoint_VectorOfPoint_VectorOfdouble_double_Size_Size(instance: *const c_void, img: *mut c_void, locations: *mut c_void, found_locations: *mut c_void, confidences: *mut c_void, hit_threshold: f64, win_stride: core::Size, padding: core::Size) -> cv_return_value_void;
pub fn cv_HOGDescriptor_detectMultiScaleROI_const_Mat_VectorOfRect_VectorOfDetectionROI_double_int(instance: *const c_void, img: *mut c_void, found_locations: *mut c_void, locations: *mut c_void, hit_threshold: f64, group_threshold: i32) -> cv_return_value_void;
pub fn cv_HOGDescriptor_groupRectangles_const_VectorOfRect_VectorOfdouble_int_double(instance: *const c_void, rect_list: *mut c_void, weights: *mut c_void, group_threshold: i32, eps: f64) -> cv_return_value_void;
#[doc(hidden)] pub fn cv_QRCodeDetector_delete(ptr : *mut c_void);
pub fn cv_QRCodeDetector_QRCodeDetector() -> cv_return_value_void_X;
pub fn cv_QRCodeDetector_setEpsX_double(instance: *mut c_void, eps_x: f64) -> cv_return_value_void;
pub fn cv_QRCodeDetector_setEpsY_double(instance: *mut c_void, eps_y: f64) -> cv_return_value_void;
pub fn cv_QRCodeDetector_detect_const_Mat_VectorOfPoint(instance: *const c_void, img: *mut c_void, points: *mut c_void) -> cv_return_value_bool;
pub fn cv_QRCodeDetector_decode_Mat_VectorOfPoint_Mat(instance: *mut c_void, img: *mut c_void, points: *mut c_void, straight_qrcode: *mut c_void) -> cv_return_value_char_X;
pub fn cv_QRCodeDetector_detectAndDecode_Mat_VectorOfPoint_Mat(instance: *mut c_void, img: *mut c_void, points: *mut c_void, straight_qrcode: *mut c_void) -> cv_return_value_char_X;
#[doc(hidden)] pub fn cv_SimilarRects_delete(ptr : *mut c_void);
pub fn cv_SimilarRects_SimilarRects_double(_eps: f64) -> cv_return_value_void_X;
}
extern "C" {
pub fn cv_phase_unwrapping_HistogramPhaseUnwrapping_getInverseReliabilityMap_Mat(instance: *mut c_void, reliability_map: *mut c_void) -> cv_return_value_void;
pub fn cv_phase_unwrapping_HistogramPhaseUnwrapping_create_Params(parameters: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_HistogramPhaseUnwrapping_Params_delete(ptr : *mut c_void);
pub fn cv_phase_unwrapping_HistogramPhaseUnwrapping_Params_Params() -> cv_return_value_void_X;
pub fn cv_phase_unwrapping_PhaseUnwrapping_unwrapPhaseMap_Mat_Mat_Mat(instance: *mut c_void, wrapped_phase_map: *mut c_void, unwrapped_phase_map: *mut c_void, shadow_mask: *mut c_void) -> cv_return_value_void;
}
extern "C" {
pub fn cv_colorChange_Mat_Mat_Mat_float_float_float(src: *mut c_void, mask: *mut c_void, dst: *mut c_void, red_mul: f32, green_mul: f32, blue_mul: f32) -> cv_return_value_void;
pub fn cv_createAlignMTB_int_int_bool(max_bits: i32, exclude_range: i32, cut: bool) -> cv_return_value_void_X;
pub fn cv_createCalibrateDebevec_int_float_bool(samples: i32, lambda: f32, random: bool) -> cv_return_value_void_X;
pub fn cv_createCalibrateRobertson_int_float(max_iter: i32, threshold: f32) -> cv_return_value_void_X;
pub fn cv_createMergeDebevec() -> cv_return_value_void_X;
pub fn cv_createMergeMertens_float_float_float(contrast_weight: f32, saturation_weight: f32, exposure_weight: f32) -> cv_return_value_void_X;
pub fn cv_createMergeRobertson() -> cv_return_value_void_X;
pub fn cv_createTonemapDrago_float_float_float(gamma: f32, saturation: f32, bias: f32) -> cv_return_value_void_X;
pub fn cv_createTonemapMantiuk_float_float_float(gamma: f32, scale: f32, saturation: f32) -> cv_return_value_void_X;
pub fn cv_createTonemapReinhard_float_float_float_float(gamma: f32, intensity: f32, light_adapt: f32, color_adapt: f32) -> cv_return_value_void_X;
pub fn cv_createTonemap_float(gamma: f32) -> cv_return_value_void_X;
pub fn cv_decolor_Mat_Mat_Mat(src: *mut c_void, grayscale: *mut c_void, color_boost: *mut c_void) -> cv_return_value_void;
pub fn cv_denoise_TVL1_VectorOfMat_Mat_double_int(observations: *mut c_void, result: *mut c_void, lambda: f64, niters: i32) -> cv_return_value_void;
pub fn cv_detailEnhance_Mat_Mat_float_float(src: *mut c_void, dst: *mut c_void, sigma_s: f32, sigma_r: f32) -> cv_return_value_void;
pub fn cv_edgePreservingFilter_Mat_Mat_int_float_float(src: *mut c_void, dst: *mut c_void, flags: i32, sigma_s: f32, sigma_r: f32) -> cv_return_value_void;
pub fn cv_fastNlMeansDenoisingColoredMulti_VectorOfMat_Mat_int_int_float_float_int_int(src_imgs: *mut c_void, dst: *mut c_void, img_to_denoise_index: i32, temporal_window_size: i32, h: f32, h_color: f32, template_window_size: i32, search_window_size: i32) -> cv_return_value_void;
pub fn cv_fastNlMeansDenoisingColored_Mat_Mat_float_float_int_int(src: *mut c_void, dst: *mut c_void, h: f32, h_color: f32, template_window_size: i32, search_window_size: i32) -> cv_return_value_void;
pub fn cv_fastNlMeansDenoisingMulti_VectorOfMat_Mat_int_int_VectorOffloat_int_int_int(src_imgs: *mut c_void, dst: *mut c_void, img_to_denoise_index: i32, temporal_window_size: i32, h: *mut c_void, template_window_size: i32, search_window_size: i32, norm_type: i32) -> cv_return_value_void;
pub fn cv_fastNlMeansDenoisingMulti_VectorOfMat_Mat_int_int_float_int_int(src_imgs: *mut c_void, dst: *mut c_void, img_to_denoise_index: i32, temporal_window_size: i32, h: f32, template_window_size: i32, search_window_size: i32) -> cv_return_value_void;
pub fn cv_fastNlMeansDenoising_Mat_Mat_VectorOffloat_int_int_int(src: *mut c_void, dst: *mut c_void, h: *mut c_void, template_window_size: i32, search_window_size: i32, norm_type: i32) -> cv_return_value_void;
pub fn cv_fastNlMeansDenoising_Mat_Mat_float_int_int(src: *mut c_void, dst: *mut c_void, h: f32, template_window_size: i32, search_window_size: i32) -> cv_return_value_void;
pub fn cv_illuminationChange_Mat_Mat_Mat_float_float(src: *mut c_void, mask: *mut c_void, dst: *mut c_void, alpha: f32, beta: f32) -> cv_return_value_void;
pub fn cv_inpaint_Mat_Mat_Mat_double_int(src: *mut c_void, inpaint_mask: *mut c_void, dst: *mut c_void, inpaint_radius: f64, flags: i32) -> cv_return_value_void;
pub fn cv_pencilSketch_Mat_Mat_Mat_float_float_float(src: *mut c_void, dst1: *mut c_void, dst2: *mut c_void, sigma_s: f32, sigma_r: f32, shade_factor: f32) -> cv_return_value_void;
pub fn cv_seamlessClone_Mat_Mat_Mat_Point_Mat_int(src: *mut c_void, dst: *mut c_void, mask: *mut c_void, p: core::Point, blend: *mut c_void, flags: i32) -> cv_return_value_void;
pub fn cv_stylization_Mat_Mat_float_float(src: *mut c_void, dst: *mut c_void, sigma_s: f32, sigma_r: f32) -> cv_return_value_void;
pub fn cv_textureFlattening_Mat_Mat_Mat_float_float_int(src: *mut c_void, mask: *mut c_void, dst: *mut c_void, low_threshold: f32, high_threshold: f32, kernel_size: i32) -> cv_return_value_void;
pub fn cv_AlignExposures_process_VectorOfMat_VectorOfMat_Mat_Mat(instance: *mut c_void, src: *mut c_void, dst: *mut c_void, times: *mut c_void, response: *mut c_void) -> cv_return_value_void;
pub fn cv_AlignMTB_process_VectorOfMat_VectorOfMat_Mat_Mat(instance: *mut c_void, src: *mut c_void, dst: *mut c_void, times: *mut c_void, response: *mut c_void) -> cv_return_value_void;
pub fn cv_AlignMTB_process_VectorOfMat_VectorOfMat(instance: *mut c_void, src: *mut c_void, dst: *mut c_void) -> cv_return_value_void;
pub fn cv_AlignMTB_calculateShift_Mat_Mat(instance: *mut c_void, img0: *mut c_void, img1: *mut c_void) -> cv_return_value_PointWrapper;
pub fn cv_AlignMTB_shiftMat_Mat_Mat_Point(instance: *mut c_void, src: *mut c_void, dst: *mut c_void, shift: core::Point) -> cv_return_value_void;
pub fn cv_AlignMTB_computeBitmaps_Mat_Mat_Mat(instance: *mut c_void, img: *mut c_void, tb: *mut c_void, eb: *mut c_void) -> cv_return_value_void;
pub fn cv_AlignMTB_getMaxBits_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_AlignMTB_setMaxBits_int(instance: *mut c_void, max_bits: i32) -> cv_return_value_void;
pub fn cv_AlignMTB_getExcludeRange_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_AlignMTB_setExcludeRange_int(instance: *mut c_void, exclude_range: i32) -> cv_return_value_void;
pub fn cv_AlignMTB_getCut_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_AlignMTB_setCut_bool(instance: *mut c_void, value: bool) -> cv_return_value_void;
pub fn cv_CalibrateCRF_process_VectorOfMat_Mat_Mat(instance: *mut c_void, src: *mut c_void, dst: *mut c_void, times: *mut c_void) -> cv_return_value_void;
pub fn cv_CalibrateDebevec_getLambda_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_CalibrateDebevec_setLambda_float(instance: *mut c_void, lambda: f32) -> cv_return_value_void;
pub fn cv_CalibrateDebevec_getSamples_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_CalibrateDebevec_setSamples_int(instance: *mut c_void, samples: i32) -> cv_return_value_void;
pub fn cv_CalibrateDebevec_getRandom_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_CalibrateDebevec_setRandom_bool(instance: *mut c_void, random: bool) -> cv_return_value_void;
pub fn cv_CalibrateRobertson_getMaxIter_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_CalibrateRobertson_setMaxIter_int(instance: *mut c_void, max_iter: i32) -> cv_return_value_void;
pub fn cv_CalibrateRobertson_getThreshold_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_CalibrateRobertson_setThreshold_float(instance: *mut c_void, threshold: f32) -> cv_return_value_void;
pub fn cv_CalibrateRobertson_getRadiance_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_MergeDebevec_process_VectorOfMat_Mat_Mat_Mat(instance: *mut c_void, src: *mut c_void, dst: *mut c_void, times: *mut c_void, response: *mut c_void) -> cv_return_value_void;
pub fn cv_MergeDebevec_process_VectorOfMat_Mat_Mat(instance: *mut c_void, src: *mut c_void, dst: *mut c_void, times: *mut c_void) -> cv_return_value_void;
pub fn cv_MergeExposures_process_VectorOfMat_Mat_Mat_Mat(instance: *mut c_void, src: *mut c_void, dst: *mut c_void, times: *mut c_void, response: *mut c_void) -> cv_return_value_void;
pub fn cv_MergeMertens_process_VectorOfMat_Mat_Mat_Mat(instance: *mut c_void, src: *mut c_void, dst: *mut c_void, times: *mut c_void, response: *mut c_void) -> cv_return_value_void;
pub fn cv_MergeMertens_process_VectorOfMat_Mat(instance: *mut c_void, src: *mut c_void, dst: *mut c_void) -> cv_return_value_void;
pub fn cv_MergeMertens_getContrastWeight_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_MergeMertens_setContrastWeight_float(instance: *mut c_void, contrast_weiht: f32) -> cv_return_value_void;
pub fn cv_MergeMertens_getSaturationWeight_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_MergeMertens_setSaturationWeight_float(instance: *mut c_void, saturation_weight: f32) -> cv_return_value_void;
pub fn cv_MergeMertens_getExposureWeight_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_MergeMertens_setExposureWeight_float(instance: *mut c_void, exposure_weight: f32) -> cv_return_value_void;
pub fn cv_MergeRobertson_process_VectorOfMat_Mat_Mat_Mat(instance: *mut c_void, src: *mut c_void, dst: *mut c_void, times: *mut c_void, response: *mut c_void) -> cv_return_value_void;
pub fn cv_MergeRobertson_process_VectorOfMat_Mat_Mat(instance: *mut c_void, src: *mut c_void, dst: *mut c_void, times: *mut c_void) -> cv_return_value_void;
pub fn cv_Tonemap_process_Mat_Mat(instance: *mut c_void, src: *mut c_void, dst: *mut c_void) -> cv_return_value_void;
pub fn cv_Tonemap_getGamma_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_Tonemap_setGamma_float(instance: *mut c_void, gamma: f32) -> cv_return_value_void;
pub fn cv_TonemapDrago_getSaturation_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_TonemapDrago_setSaturation_float(instance: *mut c_void, saturation: f32) -> cv_return_value_void;
pub fn cv_TonemapDrago_getBias_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_TonemapDrago_setBias_float(instance: *mut c_void, bias: f32) -> cv_return_value_void;
pub fn cv_TonemapMantiuk_getScale_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_TonemapMantiuk_setScale_float(instance: *mut c_void, scale: f32) -> cv_return_value_void;
pub fn cv_TonemapMantiuk_getSaturation_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_TonemapMantiuk_setSaturation_float(instance: *mut c_void, saturation: f32) -> cv_return_value_void;
pub fn cv_TonemapReinhard_getIntensity_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_TonemapReinhard_setIntensity_float(instance: *mut c_void, intensity: f32) -> cv_return_value_void;
pub fn cv_TonemapReinhard_getLightAdaptation_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_TonemapReinhard_setLightAdaptation_float(instance: *mut c_void, light_adapt: f32) -> cv_return_value_void;
pub fn cv_TonemapReinhard_getColorAdaptation_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_TonemapReinhard_setColorAdaptation_float(instance: *mut c_void, color_adapt: f32) -> cv_return_value_void;
}
extern "C" {
pub fn cv_plot_Plot2d_setMinX_double(instance: *mut c_void, _plot_min_x: f64) -> cv_return_value_void;
pub fn cv_plot_Plot2d_setMinY_double(instance: *mut c_void, _plot_min_y: f64) -> cv_return_value_void;
pub fn cv_plot_Plot2d_setMaxX_double(instance: *mut c_void, _plot_max_x: f64) -> cv_return_value_void;
pub fn cv_plot_Plot2d_setMaxY_double(instance: *mut c_void, _plot_max_y: f64) -> cv_return_value_void;
pub fn cv_plot_Plot2d_setPlotLineWidth_int(instance: *mut c_void, _plot_line_width: i32) -> cv_return_value_void;
pub fn cv_plot_Plot2d_setNeedPlotLine_bool(instance: *mut c_void, _need_plot_line: bool) -> cv_return_value_void;
pub fn cv_plot_Plot2d_setPlotLineColor_Scalar(instance: *mut c_void, _plot_line_color: core::Scalar) -> cv_return_value_void;
pub fn cv_plot_Plot2d_setPlotBackgroundColor_Scalar(instance: *mut c_void, _plot_background_color: core::Scalar) -> cv_return_value_void;
pub fn cv_plot_Plot2d_setPlotAxisColor_Scalar(instance: *mut c_void, _plot_axis_color: core::Scalar) -> cv_return_value_void;
pub fn cv_plot_Plot2d_setPlotGridColor_Scalar(instance: *mut c_void, _plot_grid_color: core::Scalar) -> cv_return_value_void;
pub fn cv_plot_Plot2d_setPlotTextColor_Scalar(instance: *mut c_void, _plot_text_color: core::Scalar) -> cv_return_value_void;
pub fn cv_plot_Plot2d_setPlotSize_int_int(instance: *mut c_void, _plot_size_width: i32, _plot_size_height: i32) -> cv_return_value_void;
pub fn cv_plot_Plot2d_setShowGrid_bool(instance: *mut c_void, need_show_grid: bool) -> cv_return_value_void;
pub fn cv_plot_Plot2d_setShowText_bool(instance: *mut c_void, need_show_text: bool) -> cv_return_value_void;
pub fn cv_plot_Plot2d_setGridLinesNumber_int(instance: *mut c_void, grid_lines_number: i32) -> cv_return_value_void;
pub fn cv_plot_Plot2d_setInvertOrientation_bool(instance: *mut c_void, _invert_orientation: bool) -> cv_return_value_void;
pub fn cv_plot_Plot2d_setPointIdxToPrint_int(instance: *mut c_void, point_idx: i32) -> cv_return_value_void;
pub fn cv_plot_Plot2d_render_Mat(instance: *mut c_void, _plot_result: *mut c_void) -> cv_return_value_void;
pub fn cv_plot_Plot2d_create_Mat(data: *mut c_void) -> cv_return_value_void_X;
pub fn cv_plot_Plot2d_create_Mat_Mat(data_x: *mut c_void, data_y: *mut c_void) -> cv_return_value_void_X;
}
extern "C" {
pub fn cv_sfm_KRtFromProjection_Mat_Mat_Mat_Mat(p: *mut c_void, k: *mut c_void, r: *mut c_void, t: *mut c_void) -> cv_return_value_void;
pub fn cv_sfm_applyTransformationToPoints_Mat_Mat_Mat(points: *mut c_void, t: *mut c_void, transformed_points: *mut c_void) -> cv_return_value_void;
pub fn cv_sfm_computeOrientation_VectorOfMat_VectorOfMat_Mat_Mat_double(x1: *mut c_void, x2: *mut c_void, r: *mut c_void, t: *mut c_void, s: f64) -> cv_return_value_void;
pub fn cv_sfm_depth_Mat_Mat_Mat(r: *mut c_void, t: *mut c_void, x: *mut c_void) -> cv_return_value_double;
pub fn cv_sfm_essentialFromFundamental_Mat_Mat_Mat_Mat(f: *mut c_void, k1: *mut c_void, k2: *mut c_void, e: *mut c_void) -> cv_return_value_void;
pub fn cv_sfm_essentialFromRt_Mat_Mat_Mat_Mat_Mat(r1: *mut c_void, t1: *mut c_void, r2: *mut c_void, t2: *mut c_void, e: *mut c_void) -> cv_return_value_void;
pub fn cv_sfm_euclideanToHomogeneous_Mat_Mat(src: *mut c_void, dst: *mut c_void) -> cv_return_value_void;
pub fn cv_sfm_fundamentalFromCorrespondences7PointRobust_Mat_Mat_double_Mat_Mat_double(x1: *mut c_void, x2: *mut c_void, max_error: f64, f: *mut c_void, inliers: *mut c_void, outliers_probability: f64) -> cv_return_value_double;
pub fn cv_sfm_fundamentalFromCorrespondences8PointRobust_Mat_Mat_double_Mat_Mat_double(x1: *mut c_void, x2: *mut c_void, max_error: f64, f: *mut c_void, inliers: *mut c_void, outliers_probability: f64) -> cv_return_value_double;
pub fn cv_sfm_fundamentalFromEssential_Mat_Mat_Mat_Mat(e: *mut c_void, k1: *mut c_void, k2: *mut c_void, f: *mut c_void) -> cv_return_value_void;
pub fn cv_sfm_fundamentalFromProjections_Mat_Mat_Mat(p1: *mut c_void, p2: *mut c_void, f: *mut c_void) -> cv_return_value_void;
pub fn cv_sfm_homogeneousToEuclidean_Mat_Mat(src: *mut c_void, dst: *mut c_void) -> cv_return_value_void;
pub fn cv_sfm_importReconstruction_String_VectorOfMat_VectorOfMat_VectorOfMat_Mat_int(file: *const c_char, rs: *mut c_void, ts: *mut c_void, ks: *mut c_void, points3d: *mut c_void, file_format: i32) -> cv_return_value_void;
pub fn cv_sfm_isotropicPreconditionerFromPoints_Mat_Mat(points: *mut c_void, t: *mut c_void) -> cv_return_value_void;
pub fn cv_sfm_meanAndVarianceAlongRows_Mat_Mat_Mat(a: *mut c_void, mean: *mut c_void, variance: *mut c_void) -> cv_return_value_void;
pub fn cv_sfm_motionFromEssentialChooseSolution_VectorOfMat_VectorOfMat_Mat_Mat_Mat_Mat(rs: *mut c_void, ts: *mut c_void, k1: *mut c_void, x1: *mut c_void, k2: *mut c_void, x2: *mut c_void) -> cv_return_value_int;
pub fn cv_sfm_motionFromEssential_Mat_VectorOfMat_VectorOfMat(e: *mut c_void, rs: *mut c_void, ts: *mut c_void) -> cv_return_value_void;
pub fn cv_sfm_normalizeFundamental_Mat_Mat(f: *mut c_void, f_normalized: *mut c_void) -> cv_return_value_void;
pub fn cv_sfm_normalizeIsotropicPoints_Mat_Mat_Mat(points: *mut c_void, normalized_points: *mut c_void, t: *mut c_void) -> cv_return_value_void;
pub fn cv_sfm_normalizePoints_Mat_Mat_Mat(points: *mut c_void, normalized_points: *mut c_void, t: *mut c_void) -> cv_return_value_void;
pub fn cv_sfm_normalizedEightPointSolver_Mat_Mat_Mat(x1: *mut c_void, x2: *mut c_void, f: *mut c_void) -> cv_return_value_void;
pub fn cv_sfm_preconditionerFromPoints_Mat_Mat(points: *mut c_void, t: *mut c_void) -> cv_return_value_void;
pub fn cv_sfm_projectionFromKRt_Mat_Mat_Mat_Mat(k: *mut c_void, r: *mut c_void, t: *mut c_void, p: *mut c_void) -> cv_return_value_void;
pub fn cv_sfm_projectionsFromFundamental_Mat_Mat_Mat(f: *mut c_void, p1: *mut c_void, p2: *mut c_void) -> cv_return_value_void;
pub fn cv_sfm_reconstruct_VectorOfMat_Mat_Mat_Mat_Mat_bool(points2d: *mut c_void, rs: *mut c_void, ts: *mut c_void, k: *mut c_void, points3d: *mut c_void, is_projective: bool) -> cv_return_value_void;
pub fn cv_sfm_reconstruct_VectorOfMat_Mat_Mat_Mat_bool(points2d: *mut c_void, ps: *mut c_void, points3d: *mut c_void, k: *mut c_void, is_projective: bool) -> cv_return_value_void;
pub fn cv_sfm_reconstruct_VectorOfString_Mat_Mat_Mat_Mat_bool(images: *mut c_void, rs: *mut c_void, ts: *mut c_void, k: *mut c_void, points3d: *mut c_void, is_projective: bool) -> cv_return_value_void;
pub fn cv_sfm_reconstruct_VectorOfString_Mat_Mat_Mat_bool(images: *mut c_void, ps: *mut c_void, points3d: *mut c_void, k: *mut c_void, is_projective: bool) -> cv_return_value_void;
pub fn cv_sfm_relativeCameraMotion_Mat_Mat_Mat_Mat_Mat_Mat(r1: *mut c_void, t1: *mut c_void, r2: *mut c_void, t2: *mut c_void, r: *mut c_void, t: *mut c_void) -> cv_return_value_void;
pub fn cv_sfm_skew_Mat(x: *mut c_void) -> cv_return_value_void_X;
pub fn cv_sfm_triangulatePoints_VectorOfMat_VectorOfMat_Mat(points2d: *mut c_void, projection_matrices: *mut c_void, points3d: *mut c_void) -> cv_return_value_void;
pub fn cv_sfm_BaseSFM_run_VectorOfMat(instance: *mut c_void, points2d: *mut c_void) -> cv_return_value_void;
pub fn cv_sfm_BaseSFM_run_VectorOfMat_Mat_Mat_Mat_Mat(instance: *mut c_void, points2d: *mut c_void, k: *mut c_void, rs: *mut c_void, ts: *mut c_void, points3d: *mut c_void) -> cv_return_value_void;
pub fn cv_sfm_BaseSFM_run_VectorOfString(instance: *mut c_void, images: *mut c_void) -> cv_return_value_void;
pub fn cv_sfm_BaseSFM_run_VectorOfString_Mat_Mat_Mat_Mat(instance: *mut c_void, images: *mut c_void, k: *mut c_void, rs: *mut c_void, ts: *mut c_void, points3d: *mut c_void) -> cv_return_value_void;
pub fn cv_sfm_BaseSFM_getError_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_sfm_BaseSFM_getPoints_Mat(instance: *mut c_void, points3d: *mut c_void) -> cv_return_value_void;
pub fn cv_sfm_BaseSFM_getIntrinsics_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_sfm_BaseSFM_getCameras_Mat_Mat(instance: *mut c_void, rs: *mut c_void, ts: *mut c_void) -> cv_return_value_void;
pub fn cv_sfm_BaseSFM_setReconstructionOptions_libmv_ReconstructionOptions(instance: *mut c_void, libmv_reconstruction_options: crate::sfm::libmv_ReconstructionOptions) -> cv_return_value_void;
pub fn cv_sfm_BaseSFM_setCameraIntrinsicOptions_libmv_CameraIntrinsicsOptions(instance: *mut c_void, libmv_camera_intrinsics_options: crate::sfm::libmv_CameraIntrinsicsOptions) -> cv_return_value_void;
#[doc(hidden)] pub fn cv_SFMLibmvEuclideanReconstruction_delete(ptr : *mut c_void);
pub fn cv_sfm_SFMLibmvEuclideanReconstruction_run_VectorOfMat(instance: *mut c_void, points2d: *mut c_void) -> cv_return_value_void;
pub fn cv_sfm_SFMLibmvEuclideanReconstruction_run_VectorOfMat_Mat_Mat_Mat_Mat(instance: *mut c_void, points2d: *mut c_void, k: *mut c_void, rs: *mut c_void, ts: *mut c_void, points3d: *mut c_void) -> cv_return_value_void;
pub fn cv_sfm_SFMLibmvEuclideanReconstruction_run_VectorOfString(instance: *mut c_void, images: *mut c_void) -> cv_return_value_void;
pub fn cv_sfm_SFMLibmvEuclideanReconstruction_run_VectorOfString_Mat_Mat_Mat_Mat(instance: *mut c_void, images: *mut c_void, k: *mut c_void, rs: *mut c_void, ts: *mut c_void, points3d: *mut c_void) -> cv_return_value_void;
pub fn cv_sfm_SFMLibmvEuclideanReconstruction_getError_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_sfm_SFMLibmvEuclideanReconstruction_getPoints_Mat(instance: *mut c_void, points3d: *mut c_void) -> cv_return_value_void;
pub fn cv_sfm_SFMLibmvEuclideanReconstruction_getIntrinsics_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_sfm_SFMLibmvEuclideanReconstruction_getCameras_Mat_Mat(instance: *mut c_void, rs: *mut c_void, ts: *mut c_void) -> cv_return_value_void;
pub fn cv_sfm_SFMLibmvEuclideanReconstruction_setReconstructionOptions_libmv_ReconstructionOptions(instance: *mut c_void, libmv_reconstruction_options: crate::sfm::libmv_ReconstructionOptions) -> cv_return_value_void;
pub fn cv_sfm_SFMLibmvEuclideanReconstruction_setCameraIntrinsicOptions_libmv_CameraIntrinsicsOptions(instance: *mut c_void, libmv_camera_intrinsics_options: crate::sfm::libmv_CameraIntrinsicsOptions) -> cv_return_value_void;
pub fn cv_sfm_SFMLibmvEuclideanReconstruction_create_libmv_CameraIntrinsicsOptions_libmv_ReconstructionOptions(camera_instrinsic_options: crate::sfm::libmv_CameraIntrinsicsOptions, reconstruction_options: crate::sfm::libmv_ReconstructionOptions) -> cv_return_value_void_X;
pub fn cv_sfm_libmv_CameraIntrinsicsOptions_libmv_CameraIntrinsicsOptions_int_double_double_double_double_double_double_double_double_double(_distortion_model: i32, _focal_length_x: f64, _focal_length_y: f64, _principal_point_x: f64, _principal_point_y: f64, _polynomial_k1: f64, _polynomial_k2: f64, _polynomial_k3: f64, _polynomial_p1: f64, _polynomial_p2: f64) -> cv_return_value_libmv_CameraIntrinsicsOptions;
pub fn cv_sfm_libmv_ReconstructionOptions_libmv_ReconstructionOptions_int_int_int_int_int(_keyframe1: i32, _keyframe2: i32, _refine_intrinsics: i32, _select_keyframes: i32, _verbosity_level: i32) -> cv_return_value_libmv_ReconstructionOptions;
}
extern "C" {
pub fn cv_EMDL1_Mat_Mat(signature1: *mut c_void, signature2: *mut c_void) -> cv_return_value_float;
pub fn cv_createAffineTransformer_bool(full_affine: bool) -> cv_return_value_void_X;
pub fn cv_createChiHistogramCostExtractor_int_float(n_dummies: i32, default_cost: f32) -> cv_return_value_void_X;
pub fn cv_createEMDHistogramCostExtractor_int_int_float(flag: i32, n_dummies: i32, default_cost: f32) -> cv_return_value_void_X;
pub fn cv_createEMDL1HistogramCostExtractor_int_float(n_dummies: i32, default_cost: f32) -> cv_return_value_void_X;
pub fn cv_createHausdorffDistanceExtractor_int_float(distance_flag: i32, rank_prop: f32) -> cv_return_value_void_X;
pub fn cv_createNormHistogramCostExtractor_int_int_float(flag: i32, n_dummies: i32, default_cost: f32) -> cv_return_value_void_X;
pub fn cv_createThinPlateSplineShapeTransformer_double(regularization_parameter: f64) -> cv_return_value_void_X;
pub fn cv_AffineTransformer_setFullAffine_bool(instance: *mut c_void, full_affine: bool) -> cv_return_value_void;
pub fn cv_AffineTransformer_getFullAffine_const(instance: *const c_void) -> cv_return_value_bool;
#[doc(hidden)] pub fn cv_ChiHistogramCostExtractor_delete(ptr : *mut c_void);
pub fn cv_EMDHistogramCostExtractor_setNormFlag_int(instance: *mut c_void, flag: i32) -> cv_return_value_void;
pub fn cv_EMDHistogramCostExtractor_getNormFlag_const(instance: *const c_void) -> cv_return_value_int;
#[doc(hidden)] pub fn cv_EMDL1HistogramCostExtractor_delete(ptr : *mut c_void);
pub fn cv_HausdorffDistanceExtractor_setDistanceFlag_int(instance: *mut c_void, distance_flag: i32) -> cv_return_value_void;
pub fn cv_HausdorffDistanceExtractor_getDistanceFlag_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_HausdorffDistanceExtractor_setRankProportion_float(instance: *mut c_void, rank_proportion: f32) -> cv_return_value_void;
pub fn cv_HausdorffDistanceExtractor_getRankProportion_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_HistogramCostExtractor_buildCostMatrix_Mat_Mat_Mat(instance: *mut c_void, descriptors1: *mut c_void, descriptors2: *mut c_void, cost_matrix: *mut c_void) -> cv_return_value_void;
pub fn cv_HistogramCostExtractor_setNDummies_int(instance: *mut c_void, n_dummies: i32) -> cv_return_value_void;
pub fn cv_HistogramCostExtractor_getNDummies_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_HistogramCostExtractor_setDefaultCost_float(instance: *mut c_void, default_cost: f32) -> cv_return_value_void;
pub fn cv_HistogramCostExtractor_getDefaultCost_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_NormHistogramCostExtractor_setNormFlag_int(instance: *mut c_void, flag: i32) -> cv_return_value_void;
pub fn cv_NormHistogramCostExtractor_getNormFlag_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ShapeContextDistanceExtractor_setAngularBins_int(instance: *mut c_void, n_angular_bins: i32) -> cv_return_value_void;
pub fn cv_ShapeContextDistanceExtractor_getAngularBins_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ShapeContextDistanceExtractor_setRadialBins_int(instance: *mut c_void, n_radial_bins: i32) -> cv_return_value_void;
pub fn cv_ShapeContextDistanceExtractor_getRadialBins_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ShapeContextDistanceExtractor_setInnerRadius_float(instance: *mut c_void, inner_radius: f32) -> cv_return_value_void;
pub fn cv_ShapeContextDistanceExtractor_getInnerRadius_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_ShapeContextDistanceExtractor_setOuterRadius_float(instance: *mut c_void, outer_radius: f32) -> cv_return_value_void;
pub fn cv_ShapeContextDistanceExtractor_getOuterRadius_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_ShapeContextDistanceExtractor_setRotationInvariant_bool(instance: *mut c_void, rotation_invariant: bool) -> cv_return_value_void;
pub fn cv_ShapeContextDistanceExtractor_getRotationInvariant_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_ShapeContextDistanceExtractor_setShapeContextWeight_float(instance: *mut c_void, shape_context_weight: f32) -> cv_return_value_void;
pub fn cv_ShapeContextDistanceExtractor_getShapeContextWeight_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_ShapeContextDistanceExtractor_setImageAppearanceWeight_float(instance: *mut c_void, image_appearance_weight: f32) -> cv_return_value_void;
pub fn cv_ShapeContextDistanceExtractor_getImageAppearanceWeight_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_ShapeContextDistanceExtractor_setBendingEnergyWeight_float(instance: *mut c_void, bending_energy_weight: f32) -> cv_return_value_void;
pub fn cv_ShapeContextDistanceExtractor_getBendingEnergyWeight_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_ShapeContextDistanceExtractor_setImages_Mat_Mat(instance: *mut c_void, image1: *mut c_void, image2: *mut c_void) -> cv_return_value_void;
pub fn cv_ShapeContextDistanceExtractor_getImages_const_Mat_Mat(instance: *const c_void, image1: *mut c_void, image2: *mut c_void) -> cv_return_value_void;
pub fn cv_ShapeContextDistanceExtractor_setIterations_int(instance: *mut c_void, iterations: i32) -> cv_return_value_void;
pub fn cv_ShapeContextDistanceExtractor_getIterations_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_ShapeContextDistanceExtractor_setCostExtractor_PtrOfHistogramCostExtractor(instance: *mut c_void, comparer: *mut c_void) -> cv_return_value_void;
pub fn cv_ShapeContextDistanceExtractor_getCostExtractor_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_ShapeContextDistanceExtractor_setStdDev_float(instance: *mut c_void, sigma: f32) -> cv_return_value_void;
pub fn cv_ShapeContextDistanceExtractor_getStdDev_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_ShapeDistanceExtractor_computeDistance_Mat_Mat(instance: *mut c_void, contour1: *mut c_void, contour2: *mut c_void) -> cv_return_value_float;
pub fn cv_ShapeTransformer_estimateTransformation_Mat_Mat_VectorOfDMatch(instance: *mut c_void, transforming_shape: *mut c_void, target_shape: *mut c_void, matches: *mut c_void) -> cv_return_value_void;
pub fn cv_ShapeTransformer_applyTransformation_Mat_Mat(instance: *mut c_void, input: *mut c_void, output: *mut c_void) -> cv_return_value_float;
pub fn cv_ShapeTransformer_warpImage_const_Mat_Mat_int_int_Scalar(instance: *const c_void, transforming_image: *mut c_void, output: *mut c_void, flags: i32, border_mode: i32, border_value: core::Scalar) -> cv_return_value_void;
pub fn cv_ThinPlateSplineShapeTransformer_setRegularizationParameter_double(instance: *mut c_void, beta: f64) -> cv_return_value_void;
pub fn cv_ThinPlateSplineShapeTransformer_getRegularizationParameter_const(instance: *const c_void) -> cv_return_value_double;
}
extern "C" {
pub fn cv_createStitcherScans_bool(try_use_gpu: bool) -> cv_return_value_void_X;
pub fn cv_createStitcher_bool(try_use_gpu: bool) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_AffineWarper_delete(ptr : *mut c_void);
#[doc(hidden)] pub fn cv_CompressedRectilinearPortraitWarper_delete(ptr : *mut c_void);
pub fn cv_CompressedRectilinearPortraitWarper_CompressedRectilinearPortraitWarper_float_float(a: f32, b: f32) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_CompressedRectilinearWarper_delete(ptr : *mut c_void);
pub fn cv_CompressedRectilinearWarper_CompressedRectilinearWarper_float_float(a: f32, b: f32) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_CylindricalWarper_delete(ptr : *mut c_void);
#[doc(hidden)] pub fn cv_FisheyeWarper_delete(ptr : *mut c_void);
#[doc(hidden)] pub fn cv_MercatorWarper_delete(ptr : *mut c_void);
#[doc(hidden)] pub fn cv_PaniniPortraitWarper_delete(ptr : *mut c_void);
pub fn cv_PaniniPortraitWarper_PaniniPortraitWarper_float_float(a: f32, b: f32) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_PaniniWarper_delete(ptr : *mut c_void);
pub fn cv_PaniniWarper_PaniniWarper_float_float(a: f32, b: f32) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_PlaneWarper_delete(ptr : *mut c_void);
#[doc(hidden)] pub fn cv_PyRotationWarper_delete(ptr : *mut c_void);
pub fn cv_PyRotationWarper_PyRotationWarper_String_float(_type: *mut c_char, scale: f32) -> cv_return_value_void_X;
pub fn cv_PyRotationWarper_PyRotationWarper() -> cv_return_value_void_X;
pub fn cv_PyRotationWarper_warpPoint_Point2f_Mat_Mat(instance: *mut c_void, pt: core::Point2f, k: *mut c_void, r: *mut c_void) -> cv_return_value_Point2fWrapper;
pub fn cv_PyRotationWarper_buildMaps_Size_Mat_Mat_Mat_Mat(instance: *mut c_void, src_size: core::Size, k: *mut c_void, r: *mut c_void, xmap: *mut c_void, ymap: *mut c_void) -> cv_return_value_RectWrapper;
pub fn cv_PyRotationWarper_warp_Mat_Mat_Mat_int_int_Mat(instance: *mut c_void, src: *mut c_void, k: *mut c_void, r: *mut c_void, interp_mode: i32, border_mode: i32, dst: *mut c_void) -> cv_return_value_PointWrapper;
pub fn cv_PyRotationWarper_warpBackward_Mat_Mat_Mat_int_int_Size_Mat(instance: *mut c_void, src: *mut c_void, k: *mut c_void, r: *mut c_void, interp_mode: i32, border_mode: i32, dst_size: core::Size, dst: *mut c_void) -> cv_return_value_void;
pub fn cv_PyRotationWarper_warpRoi_Size_Mat_Mat(instance: *mut c_void, src_size: core::Size, k: *mut c_void, r: *mut c_void) -> cv_return_value_RectWrapper;
pub fn cv_PyRotationWarper_getScale_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_PyRotationWarper_setScale_float(instance: *mut c_void, unnamed_arg: f32) -> cv_return_value_void;
#[doc(hidden)] pub fn cv_SphericalWarper_delete(ptr : *mut c_void);
#[doc(hidden)] pub fn cv_StereographicWarper_delete(ptr : *mut c_void);
#[doc(hidden)] pub fn cv_Stitcher_delete(ptr : *mut c_void);
pub fn cv_Stitcher_create_Stitcher_Mode(mode: crate::stitching::Stitcher_Mode) -> cv_return_value_void_X;
pub fn cv_Stitcher_registrationResol_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_Stitcher_setRegistrationResol_double(instance: *mut c_void, resol_mpx: f64) -> cv_return_value_void;
pub fn cv_Stitcher_seamEstimationResol_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_Stitcher_setSeamEstimationResol_double(instance: *mut c_void, resol_mpx: f64) -> cv_return_value_void;
pub fn cv_Stitcher_compositingResol_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_Stitcher_setCompositingResol_double(instance: *mut c_void, resol_mpx: f64) -> cv_return_value_void;
pub fn cv_Stitcher_panoConfidenceThresh_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_Stitcher_setPanoConfidenceThresh_double(instance: *mut c_void, conf_thresh: f64) -> cv_return_value_void;
pub fn cv_Stitcher_waveCorrection_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_Stitcher_setWaveCorrection_bool(instance: *mut c_void, flag: bool) -> cv_return_value_void;
pub fn cv_Stitcher_matchingMask_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_Stitcher_setMatchingMask_UMat(instance: *mut c_void, mask: *mut c_void) -> cv_return_value_void;
pub fn cv_Stitcher_estimateTransform_VectorOfMat_VectorOfMat(instance: *mut c_void, images: *mut c_void, masks: *mut c_void) -> cv_return_value_Stitcher_Status;
pub fn cv_Stitcher_composePanorama_Mat(instance: *mut c_void, pano: *mut c_void) -> cv_return_value_Stitcher_Status;
pub fn cv_Stitcher_composePanorama_VectorOfMat_Mat(instance: *mut c_void, images: *mut c_void, pano: *mut c_void) -> cv_return_value_Stitcher_Status;
pub fn cv_Stitcher_stitch_VectorOfMat_Mat(instance: *mut c_void, images: *mut c_void, pano: *mut c_void) -> cv_return_value_Stitcher_Status;
pub fn cv_Stitcher_stitch_VectorOfMat_VectorOfMat_Mat(instance: *mut c_void, images: *mut c_void, masks: *mut c_void, pano: *mut c_void) -> cv_return_value_Stitcher_Status;
pub fn cv_Stitcher_component_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_Stitcher_workScale_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_Stitcher_resultMask_const(instance: *const c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_TransverseMercatorWarper_delete(ptr : *mut c_void);
}
extern "C" {
pub fn cv_structured_light_GrayCodePattern_getNumberOfPatternImages_const(instance: *const c_void) -> cv_return_value_std_size_t;
pub fn cv_structured_light_GrayCodePattern_setWhiteThreshold_size_t(instance: *mut c_void, value: size_t) -> cv_return_value_void;
pub fn cv_structured_light_GrayCodePattern_setBlackThreshold_size_t(instance: *mut c_void, value: size_t) -> cv_return_value_void;
pub fn cv_structured_light_GrayCodePattern_getImagesForShadowMasks_const_Mat_Mat(instance: *const c_void, black_image: *mut c_void, white_image: *mut c_void) -> cv_return_value_void;
pub fn cv_structured_light_GrayCodePattern_getProjPixel_const_VectorOfMat_int_int_Point(instance: *const c_void, pattern_images: *mut c_void, x: i32, y: i32, proj_pix: &mut core::Point) -> cv_return_value_bool;
pub fn cv_structured_light_GrayCodePattern_create_Params(parameters: *mut c_void) -> cv_return_value_void_X;
pub fn cv_structured_light_GrayCodePattern_create_int_int(width: i32, height: i32) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_GrayCodePattern_Params_delete(ptr : *mut c_void);
pub fn cv_structured_light_GrayCodePattern_Params_Params() -> cv_return_value_void_X;
pub fn cv_structured_light_SinusoidalPattern_computePhaseMap_VectorOfMat_Mat_Mat_Mat(instance: *mut c_void, pattern_images: *mut c_void, wrapped_phase_map: *mut c_void, shadow_mask: *mut c_void, fundamental: *mut c_void) -> cv_return_value_void;
pub fn cv_structured_light_SinusoidalPattern_unwrapPhaseMap_VectorOfMat_Mat_Size_Mat(instance: *mut c_void, wrapped_phase_map: *mut c_void, unwrapped_phase_map: *mut c_void, cam_size: core::Size, shadow_mask: *mut c_void) -> cv_return_value_void;
pub fn cv_structured_light_SinusoidalPattern_findProCamMatches_Mat_Mat_VectorOfMat(instance: *mut c_void, proj_unwrapped_phase_map: *mut c_void, cam_unwrapped_phase_map: *mut c_void, matches: *mut c_void) -> cv_return_value_void;
pub fn cv_structured_light_SinusoidalPattern_computeDataModulationTerm_VectorOfMat_Mat_Mat(instance: *mut c_void, pattern_images: *mut c_void, data_modulation_term: *mut c_void, shadow_mask: *mut c_void) -> cv_return_value_void;
pub fn cv_structured_light_SinusoidalPattern_create_PtrOfParams(parameters: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_SinusoidalPattern_Params_delete(ptr : *mut c_void);
pub fn cv_structured_light_SinusoidalPattern_Params_width_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_structured_light_SinusoidalPattern_Params_height_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_structured_light_SinusoidalPattern_Params_nbrOfPeriods_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_structured_light_SinusoidalPattern_Params_shiftValue_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_structured_light_SinusoidalPattern_Params_methodId_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_structured_light_SinusoidalPattern_Params_nbrOfPixelsBetweenMarkers_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_structured_light_SinusoidalPattern_Params_horizontal_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_structured_light_SinusoidalPattern_Params_setMarkers_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_structured_light_SinusoidalPattern_Params_Params() -> cv_return_value_void_X;
pub fn cv_structured_light_StructuredLightPattern_generate_VectorOfMat(instance: *mut c_void, pattern_images: *mut c_void) -> cv_return_value_bool;
pub fn cv_structured_light_StructuredLightPattern_decode_const_VectorOfVectorOfMat_Mat_VectorOfMat_VectorOfMat_int(instance: *const c_void, pattern_images: *mut c_void, disparity_map: *mut c_void, black_images: *mut c_void, white_images: *mut c_void, flags: i32) -> cv_return_value_bool;
}
extern "C" {
pub fn cv_superres_createFrameSource_Camera_int(device_id: i32) -> cv_return_value_void_X;
pub fn cv_superres_createFrameSource_Empty() -> cv_return_value_void_X;
pub fn cv_superres_createFrameSource_Video_CUDA_String(file_name: *const c_char) -> cv_return_value_void_X;
pub fn cv_superres_createFrameSource_Video_String(file_name: *const c_char) -> cv_return_value_void_X;
pub fn cv_superres_createSuperResolution_BTVL1() -> cv_return_value_void_X;
pub fn cv_superres_createSuperResolution_BTVL1_CUDA() -> cv_return_value_void_X;
pub fn cv_superres_FrameSource_nextFrame_Mat(instance: *mut c_void, frame: *mut c_void) -> cv_return_value_void;
pub fn cv_superres_FrameSource_reset(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_superres_SuperResolution_setInput_PtrOfFrameSource(instance: *mut c_void, frame_source: *mut c_void) -> cv_return_value_void;
pub fn cv_superres_SuperResolution_nextFrame_Mat(instance: *mut c_void, frame: *mut c_void) -> cv_return_value_void;
pub fn cv_superres_SuperResolution_reset(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_superres_SuperResolution_collectGarbage(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_superres_SuperResolution_getScale_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_superres_SuperResolution_setScale_int(instance: *mut c_void, val: i32) -> cv_return_value_void;
pub fn cv_superres_SuperResolution_getIterations_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_superres_SuperResolution_setIterations_int(instance: *mut c_void, val: i32) -> cv_return_value_void;
pub fn cv_superres_SuperResolution_getTau_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_superres_SuperResolution_setTau_double(instance: *mut c_void, val: f64) -> cv_return_value_void;
pub fn cv_superres_SuperResolution_getLambda_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_superres_SuperResolution_setLambda_double(instance: *mut c_void, val: f64) -> cv_return_value_void;
pub fn cv_superres_SuperResolution_getAlpha_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_superres_SuperResolution_setAlpha_double(instance: *mut c_void, val: f64) -> cv_return_value_void;
pub fn cv_superres_SuperResolution_getKernelSize_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_superres_SuperResolution_setKernelSize_int(instance: *mut c_void, val: i32) -> cv_return_value_void;
pub fn cv_superres_SuperResolution_getBlurKernelSize_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_superres_SuperResolution_setBlurKernelSize_int(instance: *mut c_void, val: i32) -> cv_return_value_void;
pub fn cv_superres_SuperResolution_getBlurSigma_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_superres_SuperResolution_setBlurSigma_double(instance: *mut c_void, val: f64) -> cv_return_value_void;
pub fn cv_superres_SuperResolution_getTemporalAreaRadius_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_superres_SuperResolution_setTemporalAreaRadius_int(instance: *mut c_void, val: i32) -> cv_return_value_void;
}
extern "C" {
pub fn cv_CamShift_Mat_Rect_TermCriteria(prob_image: *mut c_void, window: &mut core::Rect, criteria: *mut c_void) -> cv_return_value_void_X;
pub fn cv_buildOpticalFlowPyramid_Mat_VectorOfMat_Size_int_bool_int_int_bool(img: *mut c_void, pyramid: *mut c_void, win_size: core::Size, max_level: i32, with_derivatives: bool, pyr_border: i32, deriv_border: i32, try_reuse_input_image: bool) -> cv_return_value_int;
pub fn cv_calcOpticalFlowFarneback_Mat_Mat_Mat_double_int_int_int_int_double_int(prev: *mut c_void, next: *mut c_void, flow: *mut c_void, pyr_scale: f64, levels: i32, winsize: i32, iterations: i32, poly_n: i32, poly_sigma: f64, flags: i32) -> cv_return_value_void;
pub fn cv_calcOpticalFlowPyrLK_Mat_Mat_Mat_Mat_Mat_Mat_Size_int_TermCriteria_int_double(prev_img: *mut c_void, next_img: *mut c_void, prev_pts: *mut c_void, next_pts: *mut c_void, status: *mut c_void, err: *mut c_void, win_size: core::Size, max_level: i32, criteria: *mut c_void, flags: i32, min_eig_threshold: f64) -> cv_return_value_void;
pub fn cv_computeECC_Mat_Mat_Mat(template_image: *mut c_void, input_image: *mut c_void, input_mask: *mut c_void) -> cv_return_value_double;
pub fn cv_createBackgroundSubtractorKNN_int_double_bool(history: i32, dist2_threshold: f64, detect_shadows: bool) -> cv_return_value_void_X;
pub fn cv_createBackgroundSubtractorMOG2_int_double_bool(history: i32, var_threshold: f64, detect_shadows: bool) -> cv_return_value_void_X;
pub fn cv_estimateRigidTransform_Mat_Mat_bool(src: *mut c_void, dst: *mut c_void, full_affine: bool) -> cv_return_value_void_X;
pub fn cv_findTransformECC_Mat_Mat_Mat_int_TermCriteria_Mat(template_image: *mut c_void, input_image: *mut c_void, warp_matrix: *mut c_void, motion_type: i32, criteria: *mut c_void, input_mask: *mut c_void) -> cv_return_value_double;
pub fn cv_findTransformECC_Mat_Mat_Mat_int_TermCriteria_Mat_int(template_image: *mut c_void, input_image: *mut c_void, warp_matrix: *mut c_void, motion_type: i32, criteria: *mut c_void, input_mask: *mut c_void, gauss_filt_size: i32) -> cv_return_value_double;
pub fn cv_meanShift_Mat_Rect_TermCriteria(prob_image: *mut c_void, window: &mut core::Rect, criteria: *mut c_void) -> cv_return_value_int;
pub fn cv_readOpticalFlow_String(path: *const c_char) -> cv_return_value_void_X;
pub fn cv_writeOpticalFlow_String_Mat(path: *const c_char, flow: *mut c_void) -> cv_return_value_bool;
pub fn cv_BackgroundSubtractor_apply_Mat_Mat_double(instance: *mut c_void, image: *mut c_void, fgmask: *mut c_void, learning_rate: f64) -> cv_return_value_void;
pub fn cv_BackgroundSubtractor_getBackgroundImage_const_Mat(instance: *const c_void, background_image: *mut c_void) -> cv_return_value_void;
pub fn cv_BackgroundSubtractorKNN_getHistory_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_BackgroundSubtractorKNN_setHistory_int(instance: *mut c_void, history: i32) -> cv_return_value_void;
pub fn cv_BackgroundSubtractorKNN_getNSamples_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_BackgroundSubtractorKNN_setNSamples_int(instance: *mut c_void, _n_n: i32) -> cv_return_value_void;
pub fn cv_BackgroundSubtractorKNN_getDist2Threshold_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_BackgroundSubtractorKNN_setDist2Threshold_double(instance: *mut c_void, _dist2_threshold: f64) -> cv_return_value_void;
pub fn cv_BackgroundSubtractorKNN_getkNNSamples_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_BackgroundSubtractorKNN_setkNNSamples_int(instance: *mut c_void, _nk_nn: i32) -> cv_return_value_void;
pub fn cv_BackgroundSubtractorKNN_getDetectShadows_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_BackgroundSubtractorKNN_setDetectShadows_bool(instance: *mut c_void, detect_shadows: bool) -> cv_return_value_void;
pub fn cv_BackgroundSubtractorKNN_getShadowValue_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_BackgroundSubtractorKNN_setShadowValue_int(instance: *mut c_void, value: i32) -> cv_return_value_void;
pub fn cv_BackgroundSubtractorKNN_getShadowThreshold_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_BackgroundSubtractorKNN_setShadowThreshold_double(instance: *mut c_void, threshold: f64) -> cv_return_value_void;
pub fn cv_BackgroundSubtractorMOG2_getHistory_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_BackgroundSubtractorMOG2_setHistory_int(instance: *mut c_void, history: i32) -> cv_return_value_void;
pub fn cv_BackgroundSubtractorMOG2_getNMixtures_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_BackgroundSubtractorMOG2_setNMixtures_int(instance: *mut c_void, nmixtures: i32) -> cv_return_value_void;
pub fn cv_BackgroundSubtractorMOG2_getBackgroundRatio_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_BackgroundSubtractorMOG2_setBackgroundRatio_double(instance: *mut c_void, ratio: f64) -> cv_return_value_void;
pub fn cv_BackgroundSubtractorMOG2_getVarThreshold_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_BackgroundSubtractorMOG2_setVarThreshold_double(instance: *mut c_void, var_threshold: f64) -> cv_return_value_void;
pub fn cv_BackgroundSubtractorMOG2_getVarThresholdGen_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_BackgroundSubtractorMOG2_setVarThresholdGen_double(instance: *mut c_void, var_threshold_gen: f64) -> cv_return_value_void;
pub fn cv_BackgroundSubtractorMOG2_getVarInit_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_BackgroundSubtractorMOG2_setVarInit_double(instance: *mut c_void, var_init: f64) -> cv_return_value_void;
pub fn cv_BackgroundSubtractorMOG2_getVarMin_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_BackgroundSubtractorMOG2_setVarMin_double(instance: *mut c_void, var_min: f64) -> cv_return_value_void;
pub fn cv_BackgroundSubtractorMOG2_getVarMax_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_BackgroundSubtractorMOG2_setVarMax_double(instance: *mut c_void, var_max: f64) -> cv_return_value_void;
pub fn cv_BackgroundSubtractorMOG2_getComplexityReductionThreshold_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_BackgroundSubtractorMOG2_setComplexityReductionThreshold_double(instance: *mut c_void, ct: f64) -> cv_return_value_void;
pub fn cv_BackgroundSubtractorMOG2_getDetectShadows_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_BackgroundSubtractorMOG2_setDetectShadows_bool(instance: *mut c_void, detect_shadows: bool) -> cv_return_value_void;
pub fn cv_BackgroundSubtractorMOG2_getShadowValue_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_BackgroundSubtractorMOG2_setShadowValue_int(instance: *mut c_void, value: i32) -> cv_return_value_void;
pub fn cv_BackgroundSubtractorMOG2_getShadowThreshold_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_BackgroundSubtractorMOG2_setShadowThreshold_double(instance: *mut c_void, threshold: f64) -> cv_return_value_void;
pub fn cv_BackgroundSubtractorMOG2_apply_Mat_Mat_double(instance: *mut c_void, image: *mut c_void, fgmask: *mut c_void, learning_rate: f64) -> cv_return_value_void;
pub fn cv_DISOpticalFlow_getFinestScale_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_DISOpticalFlow_setFinestScale_int(instance: *mut c_void, val: i32) -> cv_return_value_void;
pub fn cv_DISOpticalFlow_getPatchSize_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_DISOpticalFlow_setPatchSize_int(instance: *mut c_void, val: i32) -> cv_return_value_void;
pub fn cv_DISOpticalFlow_getPatchStride_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_DISOpticalFlow_setPatchStride_int(instance: *mut c_void, val: i32) -> cv_return_value_void;
pub fn cv_DISOpticalFlow_getGradientDescentIterations_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_DISOpticalFlow_setGradientDescentIterations_int(instance: *mut c_void, val: i32) -> cv_return_value_void;
pub fn cv_DISOpticalFlow_getVariationalRefinementIterations_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_DISOpticalFlow_setVariationalRefinementIterations_int(instance: *mut c_void, val: i32) -> cv_return_value_void;
pub fn cv_DISOpticalFlow_getVariationalRefinementAlpha_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_DISOpticalFlow_setVariationalRefinementAlpha_float(instance: *mut c_void, val: f32) -> cv_return_value_void;
pub fn cv_DISOpticalFlow_getVariationalRefinementDelta_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_DISOpticalFlow_setVariationalRefinementDelta_float(instance: *mut c_void, val: f32) -> cv_return_value_void;
pub fn cv_DISOpticalFlow_getVariationalRefinementGamma_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_DISOpticalFlow_setVariationalRefinementGamma_float(instance: *mut c_void, val: f32) -> cv_return_value_void;
pub fn cv_DISOpticalFlow_getUseMeanNormalization_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_DISOpticalFlow_setUseMeanNormalization_bool(instance: *mut c_void, val: bool) -> cv_return_value_void;
pub fn cv_DISOpticalFlow_getUseSpatialPropagation_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_DISOpticalFlow_setUseSpatialPropagation_bool(instance: *mut c_void, val: bool) -> cv_return_value_void;
pub fn cv_DISOpticalFlow_create_int(preset: i32) -> cv_return_value_void_X;
pub fn cv_DenseOpticalFlow_calc_Mat_Mat_Mat(instance: *mut c_void, i0: *mut c_void, i1: *mut c_void, flow: *mut c_void) -> cv_return_value_void;
pub fn cv_DenseOpticalFlow_collectGarbage(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_FarnebackOpticalFlow_getNumLevels_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_FarnebackOpticalFlow_setNumLevels_int(instance: *mut c_void, num_levels: i32) -> cv_return_value_void;
pub fn cv_FarnebackOpticalFlow_getPyrScale_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_FarnebackOpticalFlow_setPyrScale_double(instance: *mut c_void, pyr_scale: f64) -> cv_return_value_void;
pub fn cv_FarnebackOpticalFlow_getFastPyramids_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_FarnebackOpticalFlow_setFastPyramids_bool(instance: *mut c_void, fast_pyramids: bool) -> cv_return_value_void;
pub fn cv_FarnebackOpticalFlow_getWinSize_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_FarnebackOpticalFlow_setWinSize_int(instance: *mut c_void, win_size: i32) -> cv_return_value_void;
pub fn cv_FarnebackOpticalFlow_getNumIters_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_FarnebackOpticalFlow_setNumIters_int(instance: *mut c_void, num_iters: i32) -> cv_return_value_void;
pub fn cv_FarnebackOpticalFlow_getPolyN_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_FarnebackOpticalFlow_setPolyN_int(instance: *mut c_void, poly_n: i32) -> cv_return_value_void;
pub fn cv_FarnebackOpticalFlow_getPolySigma_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_FarnebackOpticalFlow_setPolySigma_double(instance: *mut c_void, poly_sigma: f64) -> cv_return_value_void;
pub fn cv_FarnebackOpticalFlow_getFlags_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_FarnebackOpticalFlow_setFlags_int(instance: *mut c_void, flags: i32) -> cv_return_value_void;
pub fn cv_FarnebackOpticalFlow_create_int_double_bool_int_int_int_double_int(num_levels: i32, pyr_scale: f64, fast_pyramids: bool, win_size: i32, num_iters: i32, poly_n: i32, poly_sigma: f64, flags: i32) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_KalmanFilter_delete(ptr : *mut c_void);
pub fn cv_KalmanFilter_statePre(instance: *mut c_void) -> cv_return_value_void_X;
pub fn cv_KalmanFilter_set_statePre_Mat(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_KalmanFilter_statePost(instance: *mut c_void) -> cv_return_value_void_X;
pub fn cv_KalmanFilter_set_statePost_Mat(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_KalmanFilter_transitionMatrix(instance: *mut c_void) -> cv_return_value_void_X;
pub fn cv_KalmanFilter_set_transitionMatrix_Mat(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_KalmanFilter_controlMatrix(instance: *mut c_void) -> cv_return_value_void_X;
pub fn cv_KalmanFilter_set_controlMatrix_Mat(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_KalmanFilter_measurementMatrix(instance: *mut c_void) -> cv_return_value_void_X;
pub fn cv_KalmanFilter_set_measurementMatrix_Mat(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_KalmanFilter_processNoiseCov(instance: *mut c_void) -> cv_return_value_void_X;
pub fn cv_KalmanFilter_set_processNoiseCov_Mat(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_KalmanFilter_measurementNoiseCov(instance: *mut c_void) -> cv_return_value_void_X;
pub fn cv_KalmanFilter_set_measurementNoiseCov_Mat(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_KalmanFilter_errorCovPre(instance: *mut c_void) -> cv_return_value_void_X;
pub fn cv_KalmanFilter_set_errorCovPre_Mat(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_KalmanFilter_gain(instance: *mut c_void) -> cv_return_value_void_X;
pub fn cv_KalmanFilter_set_gain_Mat(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_KalmanFilter_errorCovPost(instance: *mut c_void) -> cv_return_value_void_X;
pub fn cv_KalmanFilter_set_errorCovPost_Mat(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_KalmanFilter_KalmanFilter() -> cv_return_value_void_X;
pub fn cv_KalmanFilter_KalmanFilter_int_int_int_int(dynam_params: i32, measure_params: i32, control_params: i32, _type: i32) -> cv_return_value_void_X;
pub fn cv_KalmanFilter_init_int_int_int_int(instance: *mut c_void, dynam_params: i32, measure_params: i32, control_params: i32, _type: i32) -> cv_return_value_void;
pub fn cv_KalmanFilter_predict_Mat(instance: *mut c_void, control: *mut c_void) -> cv_return_value_void_X;
pub fn cv_KalmanFilter_correct_Mat(instance: *mut c_void, measurement: *mut c_void) -> cv_return_value_void_X;
pub fn cv_SparseOpticalFlow_calc_Mat_Mat_Mat_Mat_Mat_Mat(instance: *mut c_void, prev_img: *mut c_void, next_img: *mut c_void, prev_pts: *mut c_void, next_pts: *mut c_void, status: *mut c_void, err: *mut c_void) -> cv_return_value_void;
pub fn cv_SparsePyrLKOpticalFlow_getWinSize_const(instance: *const c_void) -> cv_return_value_SizeWrapper;
pub fn cv_SparsePyrLKOpticalFlow_setWinSize_Size(instance: *mut c_void, win_size: core::Size) -> cv_return_value_void;
pub fn cv_SparsePyrLKOpticalFlow_getMaxLevel_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_SparsePyrLKOpticalFlow_setMaxLevel_int(instance: *mut c_void, max_level: i32) -> cv_return_value_void;
pub fn cv_SparsePyrLKOpticalFlow_getTermCriteria_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_SparsePyrLKOpticalFlow_setTermCriteria_TermCriteria(instance: *mut c_void, crit: *mut c_void) -> cv_return_value_void;
pub fn cv_SparsePyrLKOpticalFlow_getFlags_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_SparsePyrLKOpticalFlow_setFlags_int(instance: *mut c_void, flags: i32) -> cv_return_value_void;
pub fn cv_SparsePyrLKOpticalFlow_getMinEigThreshold_const(instance: *const c_void) -> cv_return_value_double;
pub fn cv_SparsePyrLKOpticalFlow_setMinEigThreshold_double(instance: *mut c_void, min_eig_threshold: f64) -> cv_return_value_void;
pub fn cv_SparsePyrLKOpticalFlow_create_Size_int_TermCriteria_int_double(win_size: core::Size, max_level: i32, crit: *mut c_void, flags: i32, min_eig_threshold: f64) -> cv_return_value_void_X;
pub fn cv_VariationalRefinement_calcUV_Mat_Mat_Mat_Mat(instance: *mut c_void, i0: *mut c_void, i1: *mut c_void, flow_u: *mut c_void, flow_v: *mut c_void) -> cv_return_value_void;
pub fn cv_VariationalRefinement_getFixedPointIterations_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_VariationalRefinement_setFixedPointIterations_int(instance: *mut c_void, val: i32) -> cv_return_value_void;
pub fn cv_VariationalRefinement_getSorIterations_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_VariationalRefinement_setSorIterations_int(instance: *mut c_void, val: i32) -> cv_return_value_void;
pub fn cv_VariationalRefinement_getOmega_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_VariationalRefinement_setOmega_float(instance: *mut c_void, val: f32) -> cv_return_value_void;
pub fn cv_VariationalRefinement_getAlpha_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_VariationalRefinement_setAlpha_float(instance: *mut c_void, val: f32) -> cv_return_value_void;
pub fn cv_VariationalRefinement_getDelta_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_VariationalRefinement_setDelta_float(instance: *mut c_void, val: f32) -> cv_return_value_void;
pub fn cv_VariationalRefinement_getGamma_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_VariationalRefinement_setGamma_float(instance: *mut c_void, val: f32) -> cv_return_value_void;
pub fn cv_VariationalRefinement_create() -> cv_return_value_void_X;
}
extern "C" {
pub fn cv_videoio_registry_getBackendName_VideoCaptureAPIs(api: crate::videoio::VideoCaptureAPIs) -> cv_return_value_char_X;
pub fn cv_videoio_registry_getBackends() -> cv_return_value_void_X;
pub fn cv_videoio_registry_getCameraBackends() -> cv_return_value_void_X;
pub fn cv_videoio_registry_getStreamBackends() -> cv_return_value_void_X;
pub fn cv_videoio_registry_getWriterBackends() -> cv_return_value_void_X;
pub fn cv_videoio_registry_hasBackend_VideoCaptureAPIs(api: crate::videoio::VideoCaptureAPIs) -> cv_return_value_bool;
#[doc(hidden)] pub fn cv_VideoCapture_delete(ptr : *mut c_void);
pub fn cv_VideoCapture_VideoCapture() -> cv_return_value_void_X;
pub fn cv_VideoCapture_VideoCapture_String_int(filename: *const c_char, api_preference: i32) -> cv_return_value_void_X;
pub fn cv_VideoCapture_VideoCapture_int_int(index: i32, api_preference: i32) -> cv_return_value_void_X;
pub fn cv_VideoCapture_open_String_int(instance: *mut c_void, filename: *const c_char, api_preference: i32) -> cv_return_value_bool;
pub fn cv_VideoCapture_open_int_int(instance: *mut c_void, index: i32, api_preference: i32) -> cv_return_value_bool;
pub fn cv_VideoCapture_isOpened_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_VideoCapture_release(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_VideoCapture_grab(instance: *mut c_void) -> cv_return_value_bool;
pub fn cv_VideoCapture_retrieve_Mat_int(instance: *mut c_void, image: *mut c_void, flag: i32) -> cv_return_value_bool;
pub fn cv_VideoCapture_read_Mat(instance: *mut c_void, image: *mut c_void) -> cv_return_value_bool;
pub fn cv_VideoCapture_set_int_double(instance: *mut c_void, prop_id: i32, value: f64) -> cv_return_value_bool;
pub fn cv_VideoCapture_get_const_int(instance: *const c_void, prop_id: i32) -> cv_return_value_double;
pub fn cv_VideoCapture_getBackendName_const(instance: *const c_void) -> cv_return_value_char_X;
pub fn cv_VideoCapture_setExceptionMode_bool(instance: *mut c_void, enable: bool) -> cv_return_value_void;
pub fn cv_VideoCapture_getExceptionMode(instance: *mut c_void) -> cv_return_value_bool;
#[doc(hidden)] pub fn cv_VideoWriter_delete(ptr : *mut c_void);
pub fn cv_VideoWriter_VideoWriter() -> cv_return_value_void_X;
pub fn cv_VideoWriter_VideoWriter_String_int_double_Size_bool(filename: *const c_char, fourcc: i32, fps: f64, frame_size: core::Size, is_color: bool) -> cv_return_value_void_X;
pub fn cv_VideoWriter_VideoWriter_String_int_int_double_Size_bool(filename: *const c_char, api_preference: i32, fourcc: i32, fps: f64, frame_size: core::Size, is_color: bool) -> cv_return_value_void_X;
pub fn cv_VideoWriter_open_String_int_double_Size_bool(instance: *mut c_void, filename: *const c_char, fourcc: i32, fps: f64, frame_size: core::Size, is_color: bool) -> cv_return_value_bool;
pub fn cv_VideoWriter_open_String_int_int_double_Size_bool(instance: *mut c_void, filename: *const c_char, api_preference: i32, fourcc: i32, fps: f64, frame_size: core::Size, is_color: bool) -> cv_return_value_bool;
pub fn cv_VideoWriter_isOpened_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_VideoWriter_release(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_VideoWriter_write_Mat(instance: *mut c_void, image: *mut c_void) -> cv_return_value_void;
pub fn cv_VideoWriter_set_int_double(instance: *mut c_void, prop_id: i32, value: f64) -> cv_return_value_bool;
pub fn cv_VideoWriter_get_const_int(instance: *const c_void, prop_id: i32) -> cv_return_value_double;
pub fn cv_VideoWriter_fourcc_char_char_char_char(c1: i8, c2: i8, c3: i8, c4: i8) -> cv_return_value_int;
pub fn cv_VideoWriter_getBackendName_const(instance: *const c_void) -> cv_return_value_char_X;
}
extern "C" {
pub fn cv_videostab_calcBlurriness_Mat(frame: *mut c_void) -> cv_return_value_float;
pub fn cv_videostab_calcFlowMask_Mat_Mat_Mat_float_Mat_Mat_Mat(flow_x: *mut c_void, flow_y: *mut c_void, errors: *mut c_void, max_error: f32, mask0: *mut c_void, mask1: *mut c_void, flow_mask: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_completeFrameAccordingToFlow_Mat_Mat_Mat_Mat_Mat_float_Mat_Mat(flow_mask: *mut c_void, flow_x: *mut c_void, flow_y: *mut c_void, frame1: *mut c_void, mask1: *mut c_void, dist_thresh: f32, frame0: *mut c_void, mask0: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_ensureInclusionConstraint_Mat_Size_float(m: *mut c_void, size: core::Size, trim_ratio: f32) -> cv_return_value_void_X;
pub fn cv_videostab_estimateGlobalMotionLeastSquares_Mat_Mat_int_float_X(points0: *mut c_void, points1: *mut c_void, model: i32, rmse: *mut f32) -> cv_return_value_void_X;
pub fn cv_videostab_estimateOptimalTrimRatio_Mat_Size(m: *mut c_void, size: core::Size) -> cv_return_value_float;
pub fn cv_videostab_getMotion_int_int_VectorOfMat(from: i32, to: i32, motions: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_ColorAverageInpainter_delete(ptr : *mut c_void);
pub fn cv_videostab_ColorAverageInpainter_inpaint_int_Mat_Mat(instance: *mut c_void, idx: i32, frame: *mut c_void, mask: *mut c_void) -> cv_return_value_void;
#[doc(hidden)] pub fn cv_ColorInpainter_delete(ptr : *mut c_void);
pub fn cv_videostab_ColorInpainter_ColorInpainter_int_double(method: i32, radius: f64) -> cv_return_value_void_X;
pub fn cv_videostab_ColorInpainter_inpaint_int_Mat_Mat(instance: *mut c_void, idx: i32, frame: *mut c_void, mask: *mut c_void) -> cv_return_value_void;
#[doc(hidden)] pub fn cv_ConsistentMosaicInpainter_delete(ptr : *mut c_void);
pub fn cv_videostab_ConsistentMosaicInpainter_ConsistentMosaicInpainter() -> cv_return_value_void_X;
pub fn cv_videostab_ConsistentMosaicInpainter_setStdevThresh_float(instance: *mut c_void, val: f32) -> cv_return_value_void;
pub fn cv_videostab_ConsistentMosaicInpainter_stdevThresh_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_videostab_ConsistentMosaicInpainter_inpaint_int_Mat_Mat(instance: *mut c_void, idx: i32, frame: *mut c_void, mask: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_DeblurerBase_setRadius_int(instance: *mut c_void, val: i32) -> cv_return_value_void;
pub fn cv_videostab_DeblurerBase_radius_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_videostab_DeblurerBase_deblur_int_Mat(instance: *mut c_void, idx: i32, frame: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_DeblurerBase_setFrames_VectorOfMat(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_DeblurerBase_frames_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_videostab_DeblurerBase_setMotions_VectorOfMat(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_DeblurerBase_motions_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_videostab_DeblurerBase_setBlurrinessRates_VectorOffloat(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_DeblurerBase_blurrinessRates_const(instance: *const c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_FastMarchingMethod_delete(ptr : *mut c_void);
pub fn cv_videostab_FastMarchingMethod_FastMarchingMethod() -> cv_return_value_void_X;
pub fn cv_videostab_FastMarchingMethod_distanceMap_const(instance: *const c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_FromFileMotionReader_delete(ptr : *mut c_void);
pub fn cv_videostab_FromFileMotionReader_FromFileMotionReader_String(path: *const c_char) -> cv_return_value_void_X;
pub fn cv_videostab_FromFileMotionReader_estimate_Mat_Mat_bool_X(instance: *mut c_void, frame0: *mut c_void, frame1: *mut c_void, ok: *mut bool) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_GaussianMotionFilter_delete(ptr : *mut c_void);
pub fn cv_videostab_GaussianMotionFilter_GaussianMotionFilter_int_float(radius: i32, stdev: f32) -> cv_return_value_void_X;
pub fn cv_videostab_GaussianMotionFilter_setParams_int_float(instance: *mut c_void, radius: i32, stdev: f32) -> cv_return_value_void;
pub fn cv_videostab_GaussianMotionFilter_radius_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_videostab_GaussianMotionFilter_stdev_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_videostab_IDenseOptFlowEstimator_run_Mat_Mat_Mat_Mat_Mat(instance: *mut c_void, frame0: *mut c_void, frame1: *mut c_void, flow_x: *mut c_void, flow_y: *mut c_void, errors: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_IFrameSource_reset(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_IFrameSource_nextFrame(instance: *mut c_void) -> cv_return_value_void_X;
pub fn cv_videostab_IOutlierRejector_process_Size_Mat_Mat_Mat(instance: *mut c_void, frame_size: core::Size, points0: *mut c_void, points1: *mut c_void, mask: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_ISparseOptFlowEstimator_run_Mat_Mat_Mat_Mat_Mat_Mat(instance: *mut c_void, frame0: *mut c_void, frame1: *mut c_void, points0: *mut c_void, points1: *mut c_void, status: *mut c_void, errors: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_ImageMotionEstimatorBase_setFrameMask_Mat(instance: *mut c_void, mask: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_ImageMotionEstimatorBase_estimate_Mat_Mat_bool_X(instance: *mut c_void, frame0: *mut c_void, frame1: *mut c_void, ok: *mut bool) -> cv_return_value_void_X;
pub fn cv_videostab_InpainterBase_setRadius_int(instance: *mut c_void, val: i32) -> cv_return_value_void;
pub fn cv_videostab_InpainterBase_radius_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_videostab_InpainterBase_inpaint_int_Mat_Mat(instance: *mut c_void, idx: i32, frame: *mut c_void, mask: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_InpainterBase_setFrames_VectorOfMat(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_InpainterBase_frames_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_videostab_InpainterBase_setMotions_VectorOfMat(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_InpainterBase_motions_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_videostab_InpainterBase_setStabilizedFrames_VectorOfMat(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_InpainterBase_stabilizedFrames_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_videostab_InpainterBase_setStabilizationMotions_VectorOfMat(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_InpainterBase_stabilizationMotions_const(instance: *const c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_InpaintingPipeline_delete(ptr : *mut c_void);
pub fn cv_videostab_InpaintingPipeline_pushBack_PtrOfInpainterBase(instance: *mut c_void, inpainter: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_InpaintingPipeline_empty_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_videostab_InpaintingPipeline_setRadius_int(instance: *mut c_void, val: i32) -> cv_return_value_void;
pub fn cv_videostab_InpaintingPipeline_setFrames_VectorOfMat(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_InpaintingPipeline_setMotions_VectorOfMat(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_InpaintingPipeline_setStabilizedFrames_VectorOfMat(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_InpaintingPipeline_setStabilizationMotions_VectorOfMat(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_InpaintingPipeline_inpaint_int_Mat_Mat(instance: *mut c_void, idx: i32, frame: *mut c_void, mask: *mut c_void) -> cv_return_value_void;
#[doc(hidden)] pub fn cv_KeypointBasedMotionEstimator_delete(ptr : *mut c_void);
pub fn cv_videostab_KeypointBasedMotionEstimator_KeypointBasedMotionEstimator_PtrOfMotionEstimatorBase(estimator: *mut c_void) -> cv_return_value_void_X;
pub fn cv_videostab_KeypointBasedMotionEstimator_setFrameMask_Mat(instance: *mut c_void, mask: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_KeypointBasedMotionEstimator_estimate_Mat_Mat_bool_X(instance: *mut c_void, frame0: *mut c_void, frame1: *mut c_void, ok: *mut bool) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_LogToStdout_delete(ptr : *mut c_void);
#[doc(hidden)] pub fn cv_LpMotionStabilizer_delete(ptr : *mut c_void);
pub fn cv_videostab_LpMotionStabilizer_setFrameSize_Size(instance: *mut c_void, val: core::Size) -> cv_return_value_void;
pub fn cv_videostab_LpMotionStabilizer_frameSize_const(instance: *const c_void) -> cv_return_value_SizeWrapper;
pub fn cv_videostab_LpMotionStabilizer_setTrimRatio_float(instance: *mut c_void, val: f32) -> cv_return_value_void;
pub fn cv_videostab_LpMotionStabilizer_trimRatio_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_videostab_LpMotionStabilizer_setWeight1_float(instance: *mut c_void, val: f32) -> cv_return_value_void;
pub fn cv_videostab_LpMotionStabilizer_weight1_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_videostab_LpMotionStabilizer_setWeight2_float(instance: *mut c_void, val: f32) -> cv_return_value_void;
pub fn cv_videostab_LpMotionStabilizer_weight2_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_videostab_LpMotionStabilizer_setWeight3_float(instance: *mut c_void, val: f32) -> cv_return_value_void;
pub fn cv_videostab_LpMotionStabilizer_weight3_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_videostab_LpMotionStabilizer_setWeight4_float(instance: *mut c_void, val: f32) -> cv_return_value_void;
pub fn cv_videostab_LpMotionStabilizer_weight4_const(instance: *const c_void) -> cv_return_value_float;
#[doc(hidden)] pub fn cv_MaskFrameSource_delete(ptr : *mut c_void);
pub fn cv_videostab_MaskFrameSource_MaskFrameSource_PtrOfIFrameSource(source: *mut c_void) -> cv_return_value_void_X;
pub fn cv_videostab_MaskFrameSource_reset(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_MaskFrameSource_nextFrame(instance: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_MoreAccurateMotionWobbleSuppressor_delete(ptr : *mut c_void);
pub fn cv_videostab_MoreAccurateMotionWobbleSuppressor_suppress_int_Mat_Mat(instance: *mut c_void, idx: i32, frame: *mut c_void, result: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_MoreAccurateMotionWobbleSuppressorBase_setPeriod_int(instance: *mut c_void, val: i32) -> cv_return_value_void;
pub fn cv_videostab_MoreAccurateMotionWobbleSuppressorBase_period_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_videostab_MotionEstimatorBase_estimate_Mat_Mat_bool_X(instance: *mut c_void, points0: *mut c_void, points1: *mut c_void, ok: *mut bool) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_MotionEstimatorL1_delete(ptr : *mut c_void);
pub fn cv_videostab_MotionEstimatorL1_estimate_Mat_Mat_bool_X(instance: *mut c_void, points0: *mut c_void, points1: *mut c_void, ok: *mut bool) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_MotionEstimatorRansacL2_delete(ptr : *mut c_void);
pub fn cv_videostab_MotionEstimatorRansacL2_setMinInlierRatio_float(instance: *mut c_void, val: f32) -> cv_return_value_void;
pub fn cv_videostab_MotionEstimatorRansacL2_minInlierRatio_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_videostab_MotionEstimatorRansacL2_estimate_Mat_Mat_bool_X(instance: *mut c_void, points0: *mut c_void, points1: *mut c_void, ok: *mut bool) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_MotionInpainter_delete(ptr : *mut c_void);
pub fn cv_videostab_MotionInpainter_MotionInpainter() -> cv_return_value_void_X;
pub fn cv_videostab_MotionInpainter_setFlowErrorThreshold_float(instance: *mut c_void, val: f32) -> cv_return_value_void;
pub fn cv_videostab_MotionInpainter_flowErrorThreshold_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_videostab_MotionInpainter_setDistThreshold_float(instance: *mut c_void, val: f32) -> cv_return_value_void;
pub fn cv_videostab_MotionInpainter_distThresh_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_videostab_MotionInpainter_setBorderMode_int(instance: *mut c_void, val: i32) -> cv_return_value_void;
pub fn cv_videostab_MotionInpainter_borderMode_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_videostab_MotionInpainter_inpaint_int_Mat_Mat(instance: *mut c_void, idx: i32, frame: *mut c_void, mask: *mut c_void) -> cv_return_value_void;
#[doc(hidden)] pub fn cv_MotionStabilizationPipeline_delete(ptr : *mut c_void);
pub fn cv_videostab_MotionStabilizationPipeline_pushBack_PtrOfIMotionStabilizer(instance: *mut c_void, stabilizer: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_MotionStabilizationPipeline_empty_const(instance: *const c_void) -> cv_return_value_bool;
#[doc(hidden)] pub fn cv_NullDeblurer_delete(ptr : *mut c_void);
pub fn cv_videostab_NullDeblurer_deblur_int_Mat(instance: *mut c_void, unnamed_arg: i32, unnamed_arg_1: *mut c_void) -> cv_return_value_void;
#[doc(hidden)] pub fn cv_NullFrameSource_delete(ptr : *mut c_void);
pub fn cv_videostab_NullFrameSource_reset(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_NullFrameSource_nextFrame(instance: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_NullInpainter_delete(ptr : *mut c_void);
pub fn cv_videostab_NullInpainter_inpaint_int_Mat_Mat(instance: *mut c_void, unnamed_arg: i32, unnamed_arg_1: *mut c_void, unnamed_arg_2: *mut c_void) -> cv_return_value_void;
#[doc(hidden)] pub fn cv_NullLog_delete(ptr : *mut c_void);
#[doc(hidden)] pub fn cv_NullOutlierRejector_delete(ptr : *mut c_void);
pub fn cv_videostab_NullOutlierRejector_process_Size_Mat_Mat_Mat(instance: *mut c_void, frame_size: core::Size, points0: *mut c_void, points1: *mut c_void, mask: *mut c_void) -> cv_return_value_void;
#[doc(hidden)] pub fn cv_NullWobbleSuppressor_delete(ptr : *mut c_void);
pub fn cv_videostab_NullWobbleSuppressor_suppress_int_Mat_Mat(instance: *mut c_void, idx: i32, frame: *mut c_void, result: *mut c_void) -> cv_return_value_void;
#[doc(hidden)] pub fn cv_OnePassStabilizer_delete(ptr : *mut c_void);
pub fn cv_videostab_OnePassStabilizer_OnePassStabilizer() -> cv_return_value_void_X;
pub fn cv_videostab_OnePassStabilizer_setMotionFilter_PtrOfMotionFilterBase(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_OnePassStabilizer_motionFilter_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_videostab_OnePassStabilizer_reset(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_OnePassStabilizer_nextFrame(instance: *mut c_void) -> cv_return_value_void_X;
pub fn cv_videostab_PyrLkOptFlowEstimatorBase_setWinSize_Size(instance: *mut c_void, val: core::Size) -> cv_return_value_void;
pub fn cv_videostab_PyrLkOptFlowEstimatorBase_winSize_const(instance: *const c_void) -> cv_return_value_SizeWrapper;
pub fn cv_videostab_PyrLkOptFlowEstimatorBase_setMaxLevel_int(instance: *mut c_void, val: i32) -> cv_return_value_void;
pub fn cv_videostab_PyrLkOptFlowEstimatorBase_maxLevel_const(instance: *const c_void) -> cv_return_value_int;
#[doc(hidden)] pub fn cv_RansacParams_delete(ptr : *mut c_void);
pub fn cv_videostab_RansacParams_niters_const(instance: *const c_void) -> cv_return_value_int;
#[doc(hidden)] pub fn cv_SparsePyrLkOptFlowEstimator_delete(ptr : *mut c_void);
pub fn cv_videostab_SparsePyrLkOptFlowEstimator_run_Mat_Mat_Mat_Mat_Mat_Mat(instance: *mut c_void, frame0: *mut c_void, frame1: *mut c_void, points0: *mut c_void, points1: *mut c_void, status: *mut c_void, errors: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_StabilizerBase_setLog_PtrOfILog(instance: *mut c_void, ilog: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_StabilizerBase_log_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_videostab_StabilizerBase_setRadius_int(instance: *mut c_void, val: i32) -> cv_return_value_void;
pub fn cv_videostab_StabilizerBase_radius_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_videostab_StabilizerBase_setFrameSource_PtrOfIFrameSource(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_StabilizerBase_frameSource_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_videostab_StabilizerBase_setMaskSource_PtrOfIFrameSource(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_StabilizerBase_maskSource_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_videostab_StabilizerBase_setMotionEstimator_PtrOfImageMotionEstimatorBase(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_StabilizerBase_motionEstimator_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_videostab_StabilizerBase_setDeblurer_PtrOfDeblurerBase(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_StabilizerBase_deblurrer_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_videostab_StabilizerBase_setTrimRatio_float(instance: *mut c_void, val: f32) -> cv_return_value_void;
pub fn cv_videostab_StabilizerBase_trimRatio_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_videostab_StabilizerBase_setCorrectionForInclusion_bool(instance: *mut c_void, val: bool) -> cv_return_value_void;
pub fn cv_videostab_StabilizerBase_doCorrectionForInclusion_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_videostab_StabilizerBase_setBorderMode_int(instance: *mut c_void, val: i32) -> cv_return_value_void;
pub fn cv_videostab_StabilizerBase_borderMode_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_videostab_StabilizerBase_setInpainter_PtrOfInpainterBase(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_StabilizerBase_inpainter_const(instance: *const c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_ToFileMotionWriter_delete(ptr : *mut c_void);
pub fn cv_videostab_ToFileMotionWriter_ToFileMotionWriter_String_PtrOfImageMotionEstimatorBase(path: *const c_char, estimator: *mut c_void) -> cv_return_value_void_X;
pub fn cv_videostab_ToFileMotionWriter_setFrameMask_Mat(instance: *mut c_void, mask: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_ToFileMotionWriter_estimate_Mat_Mat_bool_X(instance: *mut c_void, frame0: *mut c_void, frame1: *mut c_void, ok: *mut bool) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_TranslationBasedLocalOutlierRejector_delete(ptr : *mut c_void);
pub fn cv_videostab_TranslationBasedLocalOutlierRejector_TranslationBasedLocalOutlierRejector() -> cv_return_value_void_X;
pub fn cv_videostab_TranslationBasedLocalOutlierRejector_setCellSize_Size(instance: *mut c_void, val: core::Size) -> cv_return_value_void;
pub fn cv_videostab_TranslationBasedLocalOutlierRejector_cellSize_const(instance: *const c_void) -> cv_return_value_SizeWrapper;
pub fn cv_videostab_TranslationBasedLocalOutlierRejector_process_Size_Mat_Mat_Mat(instance: *mut c_void, frame_size: core::Size, points0: *mut c_void, points1: *mut c_void, mask: *mut c_void) -> cv_return_value_void;
#[doc(hidden)] pub fn cv_TwoPassStabilizer_delete(ptr : *mut c_void);
pub fn cv_videostab_TwoPassStabilizer_TwoPassStabilizer() -> cv_return_value_void_X;
pub fn cv_videostab_TwoPassStabilizer_setMotionStabilizer_PtrOfIMotionStabilizer(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_TwoPassStabilizer_motionStabilizer_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_videostab_TwoPassStabilizer_setEstimateTrimRatio_bool(instance: *mut c_void, val: bool) -> cv_return_value_void;
pub fn cv_videostab_TwoPassStabilizer_mustEstimateTrimaRatio_const(instance: *const c_void) -> cv_return_value_bool;
pub fn cv_videostab_TwoPassStabilizer_reset(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_TwoPassStabilizer_nextFrame(instance: *mut c_void) -> cv_return_value_void_X;
#[doc(hidden)] pub fn cv_VideoFileSource_delete(ptr : *mut c_void);
pub fn cv_videostab_VideoFileSource_VideoFileSource_String_bool(path: *const c_char, volatile_frame: bool) -> cv_return_value_void_X;
pub fn cv_videostab_VideoFileSource_reset(instance: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_VideoFileSource_nextFrame(instance: *mut c_void) -> cv_return_value_void_X;
pub fn cv_videostab_VideoFileSource_width(instance: *mut c_void) -> cv_return_value_int;
pub fn cv_videostab_VideoFileSource_height(instance: *mut c_void) -> cv_return_value_int;
pub fn cv_videostab_VideoFileSource_count(instance: *mut c_void) -> cv_return_value_int;
pub fn cv_videostab_VideoFileSource_fps(instance: *mut c_void) -> cv_return_value_double;
#[doc(hidden)] pub fn cv_WeightingDeblurer_delete(ptr : *mut c_void);
pub fn cv_videostab_WeightingDeblurer_WeightingDeblurer() -> cv_return_value_void_X;
pub fn cv_videostab_WeightingDeblurer_setSensitivity_float(instance: *mut c_void, val: f32) -> cv_return_value_void;
pub fn cv_videostab_WeightingDeblurer_sensitivity_const(instance: *const c_void) -> cv_return_value_float;
pub fn cv_videostab_WeightingDeblurer_deblur_int_Mat(instance: *mut c_void, idx: i32, frame: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_WobbleSuppressorBase_setMotionEstimator_PtrOfImageMotionEstimatorBase(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_WobbleSuppressorBase_motionEstimator_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_videostab_WobbleSuppressorBase_suppress_int_Mat_Mat(instance: *mut c_void, idx: i32, frame: *mut c_void, result: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_WobbleSuppressorBase_setFrameCount_int(instance: *mut c_void, val: i32) -> cv_return_value_void;
pub fn cv_videostab_WobbleSuppressorBase_frameCount_const(instance: *const c_void) -> cv_return_value_int;
pub fn cv_videostab_WobbleSuppressorBase_setMotions_VectorOfMat(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_WobbleSuppressorBase_motions_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_videostab_WobbleSuppressorBase_setMotions2_VectorOfMat(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_WobbleSuppressorBase_motions2_const(instance: *const c_void) -> cv_return_value_void_X;
pub fn cv_videostab_WobbleSuppressorBase_setStabilizationMotions_VectorOfMat(instance: *mut c_void, val: *mut c_void) -> cv_return_value_void;
pub fn cv_videostab_WobbleSuppressorBase_stabilizationMotions_const(instance: *const c_void) -> cv_return_value_void_X;
}
pub use crate::manual::sys::*;