Home | History | Annotate | Download | only in src

Lines Matching refs:descriptors

44       Calculation of a texture descriptors from GLCM (Grey Level Co-occurrence Matrix'es)
66 double** descriptors;
247 if( (flag == CV_GLCM_DESC || flag == CV_GLCM_ALL) && (*GLCM)->descriptors )
251 cvFree( (*GLCM)->descriptors + matrixLoop );
253 cvFree( &((*GLCM)->descriptors) );
386 CV_CALL( destGLCM->descriptors = (double**)
387 cvAlloc( destGLCM->numMatrices*sizeof(destGLCM->descriptors[0])));
391 CV_CALL( destGLCM->descriptors[ matrixLoop ] =
392 (double*)cvAlloc( destGLCM->numDescriptors*sizeof(destGLCM->descriptors[0][0])));
393 memset( destGLCM->descriptors[matrixLoop], 0, destGLCM->numDescriptors*sizeof(double) );
430 double* descriptors = destGLCM->descriptors[ matrixIndex ];
459 descriptors
462 descriptors[ CV_GLCMDESC_HOMOGENITY ] += entryValue / ( 1.0 + sideLoopDifferenceSquared );
466 descriptors[ CV_GLCMDESC_ENTROPY ] += entryValue * log( entryValue );
469 descriptors[ CV_GLCMDESC_ENERGY ] += entryValue*entryValue;
478 descriptors[ CV_GLCMDESC_CONTRAST ] += descriptors[ CV_GLCMDESC_CONTRAST ];
479 descriptors[ CV_GLCMDESC_ENTROPY ] = -descriptors[ CV_GLCMDESC_ENTROPY ];
480 descriptors[ CV_GLCMDESC_MAXIMUMPROBABILITY ] = maximumProbability;
484 HXY = descriptors[ CV_GLCMDESC_ENTROPY ];
503 descriptors[ CV_GLCMDESC_CLUSTERTENDENCY ] += clusterTerm * clusterTerm * entryValue;
504 descriptors[ CV_GLCMDESC_CLUSTERSHADE ] += clusterTerm * clusterTerm * clusterTerm * entryValue;
521 descriptors[ CV_GLCMDESC_CORRELATIONINFO1 ] = ( HXY - HXY1 ) / ( correlationMean );
522 descriptors[ CV_GLCMDESC_CORRELATIONINFO2 ] = sqrt( 1.0 - exp( -2.0 * (HXY2 - HXY ) ) );
526 descriptors[ CV_GLCMDESC_CORRELATION ] = correlationProductTerm / (correlationStdDeviation*correlationStdDeviation );
543 if( !(GLCM->descriptors) )
552 value = GLCM->descriptors[step][descriptor];
580 if( !(GLCM->descriptors))
581 CV_ERROR( CV_StsNullPtr, "Descriptors are not calculated" );
590 double temp = GLCM->descriptors[ matrixLoop ][ descriptor ];