|  | Cv2EMD Method | 
 Overload List
Overload List| Name | Description | |
|---|---|---|
|   | EMD(InputArray, InputArray, DistanceTypes) | 
             Computes the "minimal work" distance between two weighted point configurations.
            
             The function computes the earth mover distance and/or a lower boundary of the distance between the
             two weighted point configurations.One of the applications described in @cite RubnerSept98,
             @cite Rubner2000 is multi-dimensional histogram comparison for image retrieval.EMD is a transportation
             problem that is solved using some modification of a simplex algorithm, thus the complexity is
             exponential in the worst case, though, on average it is much faster.In the case of a real metric
             the lower boundary can be calculated even faster (using linear-time algorithm) and it can be used
             to determine roughly whether the two signatures are far enough so that they cannot relate to the same object.
              | 
|   | EMD(InputArray, InputArray, DistanceTypes, InputArray) | 
             Computes the "minimal work" distance between two weighted point configurations.
            
             The function computes the earth mover distance and/or a lower boundary of the distance between the
             two weighted point configurations.One of the applications described in @cite RubnerSept98,
             @cite Rubner2000 is multi-dimensional histogram comparison for image retrieval.EMD is a transportation
             problem that is solved using some modification of a simplex algorithm, thus the complexity is
             exponential in the worst case, though, on average it is much faster.In the case of a real metric
             the lower boundary can be calculated even faster (using linear-time algorithm) and it can be used
             to determine roughly whether the two signatures are far enough so that they cannot relate to the same object.
              | 
|   | EMD(InputArray, InputArray, DistanceTypes, InputArray, Single, OutputArray) | 
             Computes the "minimal work" distance between two weighted point configurations.
            
             The function computes the earth mover distance and/or a lower boundary of the distance between the
             two weighted point configurations.One of the applications described in @cite RubnerSept98,
             @cite Rubner2000 is multi-dimensional histogram comparison for image retrieval.EMD is a transportation
             problem that is solved using some modification of a simplex algorithm, thus the complexity is
             exponential in the worst case, though, on average it is much faster.In the case of a real metric
             the lower boundary can be calculated even faster (using linear-time algorithm) and it can be used
             to determine roughly whether the two signatures are far enough so that they cannot relate to the same object.
              | 
 See Also
See Also