mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
Introduce CV_COMP_CHISQR_ALT, an alternative method to calculate ChiSquare Histogram comparison
There's some disagreement about the correct formula. has its supporters, however, for texture analysis, the newly introduced formula became standard. The commit enables both uses without breaking backward compatibility. First contributor of this commit was sperrholz.
This commit is contained in:
@@ -508,7 +508,8 @@ enum
|
||||
CV_COMP_CHISQR =1,
|
||||
CV_COMP_INTERSECT =2,
|
||||
CV_COMP_BHATTACHARYYA =3,
|
||||
CV_COMP_HELLINGER =CV_COMP_BHATTACHARYYA
|
||||
CV_COMP_HELLINGER =CV_COMP_BHATTACHARYYA,
|
||||
CV_COMP_CHISQR_ALT =4
|
||||
};
|
||||
|
||||
/* Mask size for distance transform */
|
||||
|
||||
Reference in New Issue
Block a user