How to align two images

18 views (last 30 days)
Thomas Taufan
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

Accepted Answer

Ameer Hamza
Ameer Hamza on 10 Jun 2020
Edited: Ameer Hamza on 10 Jun 2020
  7 Comments
Ameer Hamza
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
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?).

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!