-
Notifications
You must be signed in to change notification settings - Fork 150
Open
Description
Trying to extract ZM from two images and compare them with opencv norm function to measure similarity,
It works well for below 20 Degree but it doesn't capture detail information of images so for some images i am getting wrong similarity.
I tried to increase Degree to 60 Degree and found out that same image from different image giving Negative number like -88835.23 which should be between 0 to 1
can you please look into it and resolve the issue code below
desc = mahotas.features.zernike_moments(imres, 200, degree=60, cm=200,200)
desc1 = mahotas.features.zernike_moments(imres1, 200, degree=60, cm=200,200)
score = cv2.norm(desc, desc1, cv2.NORM_L2)
Thanks in advance
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels