Lines Matching refs:destGLCM
74 CvSize srcImageSize, CvGLCM* destGLCM,
78 icvCreateGLCMDescriptors_AllowDoubleNest( CvGLCM* destGLCM, int matrixIndex );
269 CvGLCM* destGLCM, in icvCreateGLCM_LookupTable_8u_C1R() argument
280 int matrixSideLength = destGLCM->matrixSideLength; in icvCreateGLCM_LookupTable_8u_C1R()
286 CV_CALL( destGLCM->matrices = (double***)cvAlloc( sizeof(matrices[0])*numSteps )); in icvCreateGLCM_LookupTable_8u_C1R()
287 matrices = destGLCM->matrices; in icvCreateGLCM_LookupTable_8u_C1R()
312 int pixelValue1 = destGLCM->forwardLookupTable[srcImageData[lineOffset + colLoop]]; in icvCreateGLCM_LookupTable_8u_C1R()
323 …int pixelValue2 = destGLCM->forwardLookupTable[ srcImageData[ lineOffset + colLoop + memoryStep ] … in icvCreateGLCM_LookupTable_8u_C1R()
348 destGLCM->matrices = matrices; in icvCreateGLCM_LookupTable_8u_C1R()
355 cvReleaseGLCM( &destGLCM, CV_GLCM_GLCM ); in icvCreateGLCM_LookupTable_8u_C1R()
360 cvCreateGLCMDescriptors( CvGLCM* destGLCM, int descriptorOptimizationType ) in cvCreateGLCMDescriptors() argument
368 if( !destGLCM ) in cvCreateGLCMDescriptors()
371 if( !(destGLCM->matrices) ) in cvCreateGLCMDescriptors()
374 CV_CALL( cvReleaseGLCM( &destGLCM, CV_GLCM_DESC )); in cvCreateGLCMDescriptors()
376 if( destGLCM->optimizationType != CV_GLCM_OPTIMIZATION_HISTOGRAM ) in cvCreateGLCMDescriptors()
378 … destGLCM->descriptorOptimizationType = destGLCM->numDescriptors = descriptorOptimizationType; in cvCreateGLCMDescriptors()
386 CV_CALL( destGLCM->descriptors = (double**) in cvCreateGLCMDescriptors()
387 cvAlloc( destGLCM->numMatrices*sizeof(destGLCM->descriptors[0]))); in cvCreateGLCMDescriptors()
389 for( matrixLoop = 0; matrixLoop < destGLCM->numMatrices; matrixLoop ++ ) in cvCreateGLCMDescriptors()
391 CV_CALL( destGLCM->descriptors[ matrixLoop ] = in cvCreateGLCMDescriptors()
392 (double*)cvAlloc( destGLCM->numDescriptors*sizeof(destGLCM->descriptors[0][0]))); in cvCreateGLCMDescriptors()
393 memset( destGLCM->descriptors[matrixLoop], 0, destGLCM->numDescriptors*sizeof(double) ); in cvCreateGLCMDescriptors()
395 switch( destGLCM->descriptorOptimizationType ) in cvCreateGLCMDescriptors()
398 icvCreateGLCMDescriptors_AllowDoubleNest( destGLCM, matrixLoop ); in cvCreateGLCMDescriptors()
419 cvReleaseGLCM( &destGLCM, CV_GLCM_DESC ); in cvCreateGLCMDescriptors()
424 icvCreateGLCMDescriptors_AllowDoubleNest( CvGLCM* destGLCM, int matrixIndex ) in icvCreateGLCMDescriptors_AllowDoubleNest() argument
427 int matrixSideLength = destGLCM->matrixSideLength; in icvCreateGLCMDescriptors_AllowDoubleNest()
429 double** matrix = destGLCM->matrices[ matrixIndex ]; in icvCreateGLCMDescriptors_AllowDoubleNest()
430 double* descriptors = destGLCM->descriptors[ matrixIndex ]; in icvCreateGLCMDescriptors_AllowDoubleNest()
442 int actualSideLoop1 = destGLCM->reverseLookupTable[ sideLoop1 ]; in icvCreateGLCMDescriptors_AllowDoubleNest()
448 int actualSideLoop2 = destGLCM->reverseLookupTable[ sideLoop2 ]; in icvCreateGLCMDescriptors_AllowDoubleNest()
489 int actualSideLoop1 = destGLCM->reverseLookupTable[ sideLoop1 ]; in icvCreateGLCMDescriptors_AllowDoubleNest()
497 int actualSideLoop2 = destGLCM->reverseLookupTable[ sideLoop2 ]; in icvCreateGLCMDescriptors_AllowDoubleNest()