Skip to content

computeECC bug #14657

@quizzy5889

Description

@quizzy5889
System information (version)
  • OpenCV => 4.1.0.25
  • Operating System / Platform => macOS Mojave 10.14
  • Interpreter => Python 3.7.1

Detailed description

From version 4.1.x there's the opportunity the compute the enhanced correlation coefficient between two images. It seems to me that it's not working correctly. My two images are very similar and I get an ECC=0.474. Just to test the functionality I also tried to run the operator on two identical images and it returns something like 0.475. I expected the same output of findTransformECC method that is actually 1.0 and an identity warp matrix.

Steps to reproduce

retval = cv2.computeECC(templateImage=reference, inputImage=reference)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions