merged the trunk r8704:8716
This commit is contained in:
@@ -469,7 +469,7 @@ icvCreateGLCMDescriptors_AllowDoubleNest( CvGLCM* destGLCM, int matrixIndex )
|
||||
descriptors[ CV_GLCMDESC_ENERGY ] += entryValue*entryValue;
|
||||
}
|
||||
|
||||
if( marginalProbability>0 )
|
||||
if( marginalProbability[ actualSideLoop1 ] > 0 )
|
||||
marginalProbabilityEntropy += marginalProbability[ actualSideLoop1 ]*log(marginalProbability[ actualSideLoop1 ]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user