How to Align two images
I am new to OpenCV and I need some help ..
Objective : I am trying to highlight the difference between two images
Problem : If the images differ in the position , the program highlights the whole image
How can I Align the images so that each feature in one image will be placed on the same feature in the second image , and eventually remove the outliers.
I used the following steps :
- import the 2 images
- convert them into grayScale
- get the features by Feature-detector
- use Find Homograpy
- Use Absdiff
- Highlight the difference
I been told to use WarpPrescriptive but I didn't know how to use it
If anyone can help me please