Lines Matching refs:matrices
60 double*** matrices; member
140 newGLCM->matrices = 0; in cvCreateGLCM()
233 if( (flag == CV_GLCM_GLCM || flag == CV_GLCM_ALL) && (*GLCM)->matrices ) in cvReleaseGLCM()
237 if( (*GLCM)->matrices[ matrixLoop ] ) in cvReleaseGLCM()
239 cvFree( (*GLCM)->matrices[matrixLoop] ); in cvReleaseGLCM()
240 cvFree( (*GLCM)->matrices + matrixLoop ); in cvReleaseGLCM()
244 cvFree( &((*GLCM)->matrices) ); in cvReleaseGLCM()
283 double*** matrices = 0; in icvCreateGLCM_LookupTable_8u_C1R() local
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()
291 CV_CALL( matrices[stepLoop] = (double**)cvAlloc( sizeof(matrices[0])*matrixSideLength )); in icvCreateGLCM_LookupTable_8u_C1R()
292 CV_CALL( matrices[stepLoop][0] = (double*)cvAlloc( sizeof(matrices[0][0])* in icvCreateGLCM_LookupTable_8u_C1R()
295 memset( matrices[stepLoop][0], 0, matrixSideLength*matrixSideLength* in icvCreateGLCM_LookupTable_8u_C1R()
296 sizeof(matrices[0][0]) ); in icvCreateGLCM_LookupTable_8u_C1R()
300 matrices[stepLoop][sideLoop1] = matrices[stepLoop][sideLoop1-1] + matrixSideLength; in icvCreateGLCM_LookupTable_8u_C1R()
326 matrices[stepLoop][pixelValue1][pixelValue2] ++; in icvCreateGLCM_LookupTable_8u_C1R()
327 matrices[stepLoop][pixelValue2][pixelValue1] ++; in icvCreateGLCM_LookupTable_8u_C1R()
343 matrices[stepLoop][sideLoop1][sideLoop2] /= double(stepIncrementsCounter[stepLoop]); in icvCreateGLCM_LookupTable_8u_C1R()
348 destGLCM->matrices = matrices; in icvCreateGLCM_LookupTable_8u_C1R()
371 if( !(destGLCM->matrices) ) in cvCreateGLCMDescriptors()
429 double** matrix = destGLCM->matrices[ matrixIndex ]; in icvCreateGLCMDescriptors_AllowDoubleNest()
622 if( !(GLCM->matrices) ) in cvCreateGLCMImage()
636 double matrixValue = GLCM->matrices[step][sideLoop1][sideLoop2]; in cvCreateGLCMImage()