Hello. I would like to use Java (specifically on Android) to match two pictures (which have almost the same content) with deifferent oriebtation and light. I have managed to use an ORB Detector and Descriptor for extracting keypoints from both images. I am iterating through each keypoint the FeatureMatcher provides using a simple for loop. Now I am able to get rhe distance of each match between the corresponding keypoints in image 1 and image 2. Here is my problem: How do I get the exact similarity value?
Imagine this scenario: I am trying to find a ball. I have a big bicture with the ball ->MANY keypoints with LOW (Lets say 20) distance I have another picture to be compared with (without a ball) -> FEW keypoints with HIGH (Lets say 50) distance. If MANY keypoints are 10 and FEW keypoints are 3 then if I just add them together I will get 200 distance for the ball picture and 150 for the picture without a ball.
WHAT IS A SAFE TO USE WAY TO GET THE RIGHT RESULT. (AVERAGE DISTANCE SOUNDS A BIT TO EASY TO ME)