Home
last modified time | relevance | path

Searched refs:CV_32FC1 (Results 1 – 25 of 61) sorted by relevance

123

/external/opencv/cv/src/
Dcvkalman.cpp68 CV_CALL( kalman->state_pre = cvCreateMat( DP, 1, CV_32FC1 )); in cvCreateKalman()
71 CV_CALL( kalman->state_post = cvCreateMat( DP, 1, CV_32FC1 )); in cvCreateKalman()
74 CV_CALL( kalman->transition_matrix = cvCreateMat( DP, DP, CV_32FC1 )); in cvCreateKalman()
77 CV_CALL( kalman->process_noise_cov = cvCreateMat( DP, DP, CV_32FC1 )); in cvCreateKalman()
80 CV_CALL( kalman->measurement_matrix = cvCreateMat( MP, DP, CV_32FC1 )); in cvCreateKalman()
83 CV_CALL( kalman->measurement_noise_cov = cvCreateMat( MP, MP, CV_32FC1 )); in cvCreateKalman()
86 CV_CALL( kalman->error_cov_pre = cvCreateMat( DP, DP, CV_32FC1 )); in cvCreateKalman()
88 CV_CALL( kalman->error_cov_post = cvCreateMat( DP, DP, CV_32FC1 )); in cvCreateKalman()
91 CV_CALL( kalman->gain = cvCreateMat( DP, MP, CV_32FC1 )); in cvCreateKalman()
95 CV_CALL( kalman->control_matrix = cvCreateMat( DP, CP, CV_32FC1 )); in cvCreateKalman()
[all …]
Dcvmotempl.cpp194 if( CV_MAT_TYPE( mhi->type ) != CV_32FC1 || CV_MAT_TYPE( orient->type ) != CV_32FC1 ) in cvCalcMotionGradient()
314 if( CV_MAT_TYPE( mhi->type ) != CV_32FC1 || CV_MAT_TYPE( orient->type ) != CV_32FC1 ) in cvCalcGlobalOrientation()
436 if( CV_MAT_TYPE( mhi->type ) != CV_32FC1 || CV_MAT_TYPE( mask->type ) != CV_32FC1 ) in cvSegmentMotion()
Dcvundistort.cpp151 (CV_MAT_TYPE(A->type) != CV_32FC1 && CV_MAT_TYPE(A->type) != CV_64FC1) ) in cvUndistort2()
202 if( CV_MAT_TYPE(_mapx->type) != CV_32FC1 ) in cvInitUndistortMap()
214 (CV_MAT_TYPE(A->type) != CV_32FC1 && CV_MAT_TYPE(A->type) != CV_64FC1) ) in cvInitUndistortMap()
286 if( CV_MAT_TYPE(_mapx->type) != CV_32FC1 ) in cvInitUndistortRectifyMap()
298 (CV_MAT_TYPE(A->type) != CV_32FC1 && CV_MAT_TYPE(A->type) != CV_64FC1) ) in cvInitUndistortRectifyMap()
309 (CV_MAT_TYPE(Ar->type) != CV_32FC1 && CV_MAT_TYPE(Ar->type) != CV_64FC1) ) in cvInitUndistortRectifyMap()
318 (CV_MAT_TYPE(R->type) != CV_32FC1 && CV_MAT_TYPE(R->type) != CV_64FC1) ) in cvInitUndistortRectifyMap()
Dcvcorner.cpp433 if( (CV_MAT_TYPE(src->type) != CV_8UC1 && CV_MAT_TYPE(src->type) != CV_32FC1) || in cvCornerMinEigenVal()
434 CV_MAT_TYPE(eigenv->type) != CV_32FC1 ) in cvCornerMinEigenVal()
460 if( (CV_MAT_TYPE(src->type) != CV_8UC1 && CV_MAT_TYPE(src->type) != CV_32FC1) || in cvCornerHarris()
461 CV_MAT_TYPE(eigenv->type) != CV_32FC1 ) in cvCornerHarris()
492 if( (CV_MAT_TYPE(src->type) != CV_8UC1 && CV_MAT_TYPE(src->type) != CV_32FC1) || in cvCornerEigenValsAndVecs()
493 CV_MAT_TYPE(eigenv->type) != CV_32FC1 ) in cvCornerEigenValsAndVecs()
534 if( (CV_MAT_TYPE(src->type) != CV_8UC1 && CV_MAT_TYPE(src->type) != CV_32FC1) || in cvPreCornerDetect()
535 CV_MAT_TYPE(dst->type) != CV_32FC1 ) in cvPreCornerDetect()
Dcvfeatureselect.cpp98 CV_CALL( _eigImg = cvCreateMat( img->rows, img->cols, CV_32FC1 )); in CV_IMPLEMENT_QSORT()
108 CV_CALL( _tmpImg = cvCreateMat( img->rows, img->cols, CV_32FC1 )); in CV_IMPLEMENT_QSORT()
Dcvdistransform.cpp463 CV_MAT_TYPE(dst->type) != CV_32FC1 ) in icvTrueDistTrans()
476 CV_CALL( buffer = cvCreateMat( 1, MAX(pass1_sz, pass2_sz), CV_32FC1 )); in icvTrueDistTrans()
727 if( !CV_IS_MASK_ARR( src ) || (CV_MAT_TYPE( dst->type ) != CV_32FC1 && in cvDistTransform()
779 if( CV_MAT_TYPE(dst->type) == CV_32FC1 ) in cvDistTransform()
Dcvfilter.cpp1811 (type != CV_32FC1 && type != CV_64FC1) ) in init_gaussian_kernel()
1830 if( type == CV_32FC1 ) in init_gaussian_kernel()
1845 if( type == CV_32FC1 ) in init_gaussian_kernel()
1891 (type != CV_32FC1 && type != CV_64FC1 && type != CV_32SC1) ) in init_sobel_kernel()
1951 else if( type == CV_32FC1 ) in init_sobel_kernel()
1991 (type != CV_32FC1 && type != CV_64FC1 && type != CV_32SC1) ) in init_scharr_kernel()
2011 else if( type == CV_32FC1 ) in init_scharr_kernel()
2041 _kx = cvMat( 1, kx_size, CV_32FC1, kx_data ); in init_deriv()
2042 _ky = cvMat( 1, ky_size, CV_32FC1, ky_data ); in init_deriv()
2158 CV_CALL( kernel = cvCreateMat( ksize.height, ksize.width, CV_32FC1 )); in init()
[all …]
Dcvcondens.cpp245 if( CV_MAT_TYPE(lowerBound->type) != CV_32FC1 || in cvConDensInitSampleSet()
Dcvimgwarp.cpp683 type == CV_32FC1 ? icvResize_32f_C1R_p : in cvResize()
1142 type == CV_32FC1 ? icvWarpAffineBack_32f_C1R_p : in cvWarpAffine()
1413 type == CV_32FC1 ? icvWarpPerspectiveBack_32f_C1R_p : in cvWarpPerspective()
1439 type == CV_32FC1 ? icvWarpPerspective_32f_C1R_p : in cvWarpPerspective()
2017 if( (CV_MAT_TYPE(mapx->type) != CV_32FC1 || CV_MAT_TYPE(mapy->type) != CV_32FC1) && in cvRemap()
2026 fltremap = CV_MAT_TYPE(mapx->type) == CV_32FC1; in cvRemap()
2054 type == CV_32FC1 ? icvRemap_32f_C1R_p : in cvRemap()
2112 CV_MAT_TYPE(mapx->type) == CV_32FC1 && in cvConvertMaps()
Dcvemd.cpp192 if( CV_MAT_TYPE( signature1->type ) != CV_32FC1 ) in cvCalcEMD2()
203 if( CV_MAT_TYPE( flow->type ) != CV_32FC1 ) in cvCalcEMD2()
227 if( CV_MAT_TYPE( cost->type ) != CV_32FC1 ) in cvCalcEMD2()
Dcvcalibration.cpp747 CvMat _Jf = cvMat( _J.rows, _J.cols, CV_32FC1, Jf ); in cvRodrigues2()
852 if( (CV_MAT_TYPE(A->type) != CV_64FC1 && CV_MAT_TYPE(A->type) != CV_32FC1) || in cvProjectPoints2()
882 (CV_MAT_TYPE(dpdr->type) != CV_32FC1 && in cvProjectPoints2()
898 (CV_MAT_TYPE(dpdt->type) != CV_32FC1 && in cvProjectPoints2()
914 (CV_MAT_TYPE(dpdf->type) != CV_32FC1 && CV_MAT_TYPE(dpdf->type) != CV_64FC1) || in cvProjectPoints2()
929 (CV_MAT_TYPE(dpdc->type) != CV_32FC1 && CV_MAT_TYPE(dpdc->type) != CV_64FC1) || in cvProjectPoints2()
944 (CV_MAT_TYPE(dpdk->type) != CV_32FC1 && CV_MAT_TYPE(dpdk->type) != CV_64FC1) || in cvProjectPoints2()
1502 if( (CV_MAT_TYPE(cameraMatrix->type) != CV_32FC1 && in cvCalibrateCamera2()
1508 if( (CV_MAT_TYPE(distCoeffs->type) != CV_32FC1 && in cvCalibrateCamera2()
2634 (CV_MAT_TYPE(stype) == CV_16SC1 || CV_MAT_TYPE(stype) == CV_32FC1) && in cvReprojectImageTo3D()
/external/opencv/ml/src/
Dmlcnn.cpp142 if( !ICV_IS_MAT_OF_TYPE(params->etalons, CV_32FC1) ) \
232 CvMat image = cvMat( 1, img_size, CV_32FC1 );
242 CV_CALL(X[0] = cvCreateMat( img_height*img_width,1,CV_32FC1 ));
243 CV_CALL(dE_dX[0] = cvCreateMat( 1, X[0]->rows, CV_32FC1 ));
247 layer->output_width, 1, CV_32FC1 ));
248 CV_CALL(dE_dX[k+1] = cvCreateMat( 1, X[k+1]->rows, CV_32FC1 ));
350 CV_CALL(X[0] = cvCreateMat( img_size,1,CV_32FC1 ));
354 layer->output_width, 1, CV_32FC1 ));
357 image = cvMat( 1, img_size, CV_32FC1, img_data );
363 etalon = cvMat( cnn_model->etalons->cols, 1, CV_32FC1, cnn_model->etalons->data.fl );
[all …]
Dml_inner_functions.cpp187 CvMat* univals = cvCreateMat(1, amount, CV_32FC1); in cvRandSeries()
227 CvMat* vect = cvCreateMatHeader(1, dim, CV_32FC1); in cvRandGaussMixture()
233 classes = cvCreateMat(1, amount, CV_32FC1); in cvRandGaussMixture()
242 utmats[i] = cvCreateMat(dim, dim, CV_32FC1); in cvRandGaussMixture()
279 if( ICV_IS_MAT_OF_TYPE(data, CV_32FC1) ) in icvGenerateRandomClusterCenters()
281 if( _centers && !ICV_IS_MAT_OF_TYPE (_centers, CV_32FC1) ) in icvGenerateRandomClusterCenters()
286 CV_CALL(centers = cvCreateMat (num_of_clusters, dim, CV_32FC1)); in icvGenerateRandomClusterCenters()
349 cov = cvCreateMat (dim, dim, CV_32FC1); in cvRandRoundUni()
390 case CV_32FC1: in cvCompleteSymm()
654 if( r_type != CV_32FC1 && r_type != CV_32SC1 ) in cvPreprocessOrderedResponses()
[all …]
D_ml.h147 if( !ICV_IS_MAT_OF_TYPE( (param), CV_32FC1 ) ) \
159 if( !ICV_IS_MAT_OF_TYPE( (param), CV_32FC1 ) ) \
234 CV_ASSERT( type == CV_32FC1 || type == CV_64FC1 ); \
235 offset *= ((type == CV_32FC1) ? sizeof(float) : sizeof(double));\
237 b = cvMat( 1, dims, CV_32FC1 ); \
Dmltestset.cpp105 CV_CALL( *samples = cvCreateMat( num_samples, num_features, CV_32FC1 ) ); in cvCreateTestSet()
107 CV_CALL( mean = cvCreateMat( 1, num_features, CV_32FC1 ) ); in cvCreateTestSet()
109 CV_CALL( cov = cvCreateMat( num_features, num_features, CV_32FC1 ) ); in cvCreateTestSet()
Dmlrtrees.cpp266 CV_CALL(var_importance = cvCreateMat( 1, var_count, CV_32FC1 )); in train()
316 CvMat oob_predictions_sum = cvMat( 1, 1, CV_32FC1 ); in grow_forest()
317 CvMat oob_num_of_predictions = cvMat( 1, 1, CV_32FC1 ); in grow_forest()
336 CV_CALL(oob_responses = cvCreateMat( 2, nsamples, CV_32FC1 )); in grow_forest()
351 CvMat responses = cvMat(1, nsamples, CV_32FC1, true_resp_ptr); in grow_forest()
377 sample = cvMat( 1, dims, CV_32FC1, samples_ptr ); in grow_forest()
459 sample = cvMat( 1, dims, CV_32FC1, oob_samples_perm_ptr ); in grow_forest()
Dmlknearest.cpp323 CV_MAT_TYPE(_samples->type) != CV_32FC1 || in find_nearest()
333 if( _results && CV_MAT_TYPE(_results->type) != CV_32FC1 && in find_nearest()
343 if( !CV_IS_MAT(_neighbor_responses) || CV_MAT_TYPE(_neighbor_responses->type) != CV_32FC1 || in find_nearest()
351 if( !CV_IS_MAT(_dist) || CV_MAT_TYPE(_dist->type) != CV_32FC1 || in find_nearest()
Dmlestimate.cpp204 if (CV_MAT_TYPE (trainClasses->type) == CV_32FC1)
252 if (CV_MAT_TYPE (trainClasses->type) == CV_32FC1)
611 CV_CALL (crVal->predict_results = cvCreateMat (1, samples_all, CV_32FC1));
Dmlem.cpp158 CV_MAT_TYPE(p->type) != CV_32FC1 && in set_params()
170 CV_MAT_TYPE(m->type) != CV_32FC1 && in set_params()
182 CV_MAT_TYPE(w->type) != CV_32FC1 && in set_params()
195 CV_MAT_TYPE(cov->type) != CV_32FC1 && in set_params()
Dmlnbayes.cpp300 if( !CV_IS_MAT(samples) || CV_MAT_TYPE(samples->type) != CV_32FC1 || samples->cols != var_all ) in predict()
310 if( !CV_IS_MAT(results) || CV_MAT_TYPE(results->type) != CV_32FC1 && in predict()
/external/opencv/cvaux/src/
Dcvcalibfilter.cpp271 cvInitMatHeader( &mat, 1, sizeof(CvCamera)/sizeof(float), CV_32FC1, 0 ); in Stop()
640 CV_32FC1, params ); in SetCameraParams()
810 … rectMap[i][0] = cvCreateMat(stereo.warpSize.height,stereo.warpSize.width,CV_32FC1); in Rectify()
811 … rectMap[i][1] = cvCreateMat(stereo.warpSize.height,stereo.warpSize.width,CV_32FC1); in Rectify()
874 CvMat A = cvMat( 3, 3, CV_32FC1, cameraParams[i].matrix ); in Undistort()
875 CvMat k = cvMat( 1, 4, CV_32FC1, cameraParams[i].distortion ); in Undistort()
882 undistMap[i][0] = cvCreateMat( src->height, src->width, CV_32FC1 ); in Undistort()
883 undistMap[i][1] = cvCreateMat( src->height, src->width, CV_32FC1 ); in Undistort()
Dcv3dtracker.cpp249 CvMat rotMatrDescr = cvMat(3, 3, CV_32FC1, rotMatr); in cv3dTrackerCalibrateCameras()
250 CvMat rotVectDescr = cvMat(3, 1, CV_32FC1, rotVect); in cv3dTrackerCalibrateCameras()
/external/opencv/cv/include/
Dcvcompat.h81 #define CV_MAT32F CV_32FC1
82 #define CV_MAT3x1_32F CV_32FC1
83 #define CV_MAT4x1_32F CV_32FC1
84 #define CV_MAT3x3_32F CV_32FC1
85 #define CV_MAT4x4_32F CV_32FC1
592 CvMat dist_coeffs = cvMat( 4, 1, CV_32FC1, _distortion_coeffs ); in cvCalibrateCamera()
593 CvMat camera_matrix = cvMat( 3, 3, CV_32FC1, _camera_matrix ); in cvCalibrateCamera()
594 CvMat rotation_matrices = cvMat( image_count, 9, CV_32FC1, _rotation_matrices ); in cvCalibrateCamera()
595 CvMat translation_vectors = cvMat( image_count, 3, CV_32FC1, _translation_vectors ); in cvCalibrateCamera()
645 CvMat dist_coeffs = cvMat( 4, 1, CV_32FC1, _distortion_coeffs ); in cvFindExtrinsicCameraParams()
[all …]
/external/opencv/cxcore/src/
Dcxmatrix.cpp90 if( type == CV_32FC1 ) in cvSetIdentity()
147 if( type == CV_32FC1 ) in cvTrace()
557 if( CV_MAT_TYPE(matrix->type) == CV_32FC1 || CV_MAT_TYPE(matrix->type) == CV_32SC1 ) in cvCompleteSymm()
798 if( type == CV_32FC1 ) in cvDet()
816 if( type == CV_32FC1 ) in cvDet()
831 if( type == CV_32FC1 ) in cvDet()
948 if( type == CV_32FC1 ) in cvInvert()
970 if( type != CV_32FC1 && type != CV_64FC1 ) in cvInvert()
982 if( type == CV_32FC1 ) in cvInvert()
1021 if( type == CV_32FC1 ) in cvInvert()
[all …]
Dcxutils.cpp284 if( (CV_MAT_TYPE(coeffs->type) != CV_32FC1 && CV_MAT_TYPE(coeffs->type) != CV_64FC1) || in cvSolveCubic()
285 (CV_MAT_TYPE(roots->type) != CV_32FC1 && CV_MAT_TYPE(roots->type) != CV_64FC1) ) in cvSolveCubic()
300 if( CV_MAT_TYPE(coeffs->type) == CV_32FC1 ) in cvSolveCubic()
388 if( CV_MAT_TYPE(roots->type) == CV_32FC1 ) in cvSolveCubic()
651 if (CV_MAT_TYPE(a->type) != CV_32FC1 && in cvSolvePoly()
718 if( CV_MAT_TYPE(s->type) == CV_32FC1 ) in cvNormalize()
956 else if( type == CV_32FC1 ) in cvRange()

123