Lines Matching refs:descriptors
66 double** descriptors; member
247 if( (flag == CV_GLCM_DESC || flag == CV_GLCM_ALL) && (*GLCM)->descriptors ) in cvReleaseGLCM()
251 cvFree( (*GLCM)->descriptors + matrixLoop ); in cvReleaseGLCM()
253 cvFree( &((*GLCM)->descriptors) ); in cvReleaseGLCM()
386 CV_CALL( destGLCM->descriptors = (double**) in cvCreateGLCMDescriptors()
387 cvAlloc( destGLCM->numMatrices*sizeof(destGLCM->descriptors[0]))); 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()
430 double* descriptors = destGLCM->descriptors[ matrixIndex ]; in icvCreateGLCMDescriptors_AllowDoubleNest() local
459 descriptors[ CV_GLCMDESC_CONTRAST ] += sideLoopDifferenceSquared * entryValue; in icvCreateGLCMDescriptors_AllowDoubleNest()
462 … descriptors[ CV_GLCMDESC_HOMOGENITY ] += entryValue / ( 1.0 + sideLoopDifferenceSquared ); in icvCreateGLCMDescriptors_AllowDoubleNest()
466 descriptors[ CV_GLCMDESC_ENTROPY ] += entryValue * log( entryValue ); in icvCreateGLCMDescriptors_AllowDoubleNest()
469 descriptors[ CV_GLCMDESC_ENERGY ] += entryValue*entryValue; in icvCreateGLCMDescriptors_AllowDoubleNest()
478 descriptors[ CV_GLCMDESC_CONTRAST ] += descriptors[ CV_GLCMDESC_CONTRAST ]; in icvCreateGLCMDescriptors_AllowDoubleNest()
479 descriptors[ CV_GLCMDESC_ENTROPY ] = -descriptors[ CV_GLCMDESC_ENTROPY ]; in icvCreateGLCMDescriptors_AllowDoubleNest()
480 descriptors[ CV_GLCMDESC_MAXIMUMPROBABILITY ] = maximumProbability; in icvCreateGLCMDescriptors_AllowDoubleNest()
484 HXY = descriptors[ CV_GLCMDESC_ENTROPY ]; in icvCreateGLCMDescriptors_AllowDoubleNest()
503 descriptors[ CV_GLCMDESC_CLUSTERTENDENCY ] += clusterTerm * clusterTerm * entryValue; in icvCreateGLCMDescriptors_AllowDoubleNest()
504 … descriptors[ CV_GLCMDESC_CLUSTERSHADE ] += clusterTerm * clusterTerm * clusterTerm * entryValue; in icvCreateGLCMDescriptors_AllowDoubleNest()
521 descriptors[ CV_GLCMDESC_CORRELATIONINFO1 ] = ( HXY - HXY1 ) / ( correlationMean ); in icvCreateGLCMDescriptors_AllowDoubleNest()
522 descriptors[ CV_GLCMDESC_CORRELATIONINFO2 ] = sqrt( 1.0 - exp( -2.0 * (HXY2 - HXY ) ) ); in icvCreateGLCMDescriptors_AllowDoubleNest()
526 …descriptors[ CV_GLCMDESC_CORRELATION ] = correlationProductTerm / (correlationStdDeviation*correla… in icvCreateGLCMDescriptors_AllowDoubleNest()
543 if( !(GLCM->descriptors) ) in cvGetGLCMDescriptor()
552 value = GLCM->descriptors[step][descriptor]; in cvGetGLCMDescriptor()
580 if( !(GLCM->descriptors)) in cvGetGLCMDescriptorStatistics()
590 double temp = GLCM->descriptors[ matrixLoop ][ descriptor ]; in cvGetGLCMDescriptorStatistics()