Is it possible to detect damage by comparing two images
Show older comments
<< Hi. Is it possible to find surface damage of an object by comparing images of damaged and reference images. i mean i have two images of an object. On one image object undamaged and on other is damaged, is it possible to find damaged area (surround damaged area in some boundary box or line) by comparing images of damaged and undamaged objects? There is some example images. Two objects have same sizes.


5 Comments
KSSV
on 10 Apr 2018
Why don't you attach both the images? So that we can get some idea.
Baisseyev Miram
on 10 Apr 2018
YT
on 10 Apr 2018
Without having experience any real experience in image processing, I would start out with transforming/rotating the image(s) so that they're both in the same position. Then something like comparing pixel intensity by taking the absolute difference between them, set a threshold manually and make a binary mask. You should end up with a black-and-white image that displays the damage done the object. But if your images are not taken in the same position (like the example above), it's most likely that the final output will differ from the actual damage.
Baisseyev Miram
on 11 Apr 2018
Walter Roberson
on 11 Apr 2018
You also need to correct for the lighting differences. Those two pictures have different lighting intensity and different angles of lighting.
Accepted Answer
More Answers (0)
Categories
Find more on Image Segmentation 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!