How to align two images
18 views (last 30 days)
Show older comments
Thomas Taufan
on 9 Jun 2020
Commented: Image Analyst
on 10 Jun 2020
I want to align these two images, but as you can see they have different color, but I want it to be in the same shape/direction for further image processing


0 Comments
Accepted Answer
Ameer Hamza
on 10 Jun 2020
Edited: Ameer Hamza
on 10 Jun 2020
You are trying to do image registeration: https://en.wikipedia.org/wiki/Image_registration
Following MATLAB resources will be helpful:
Especially check these functions
7 Comments
Ameer Hamza
on 10 Jun 2020
You may try tuning the optimizer and metric parameters, as shown on the documentation page of imregister() and imregconfig(). However, I don't think that pixel-level registration is easily possible. There will be some differences if looked closely.
Image Analyst
on 10 Jun 2020
Yes, of course. If the camera location and angle change, eventually the views will be so drastically different that it won't even be possible to register them. The smaller the movement, the better the alignment and the fewer the "bad" pixels. How good or bad the registration is depends on how much the camera moved and how much the subject moved (e.g. was it windy and the leaves moved?).
More Answers (0)
See Also
Categories
Find more on Geometric Transformation and Image Registration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


