Compare several images and show the same points/pixels

1 次查看(过去 30 天)
Hey Guys,
I'm trying to detect cracks with different filters (Canny, Sobel, etc). I made few images with different filter intensity settings from the same crack. Depends on the intensity, there is alot of noise around the crack. My idea was, to load all the pictures, lay them on top of eachother and search for same or similar points / pixels. Noisy pixels which are not matching should be removed and a new averaged image shoud be produced.
Unfortunately I don't know where to search and if its even possible.
Is there a solution for my problem? And if yes, can you please help me?
Thank you!

回答(1 个)

S.M.
S.M. 2019-1-29
编辑:S.M. 2019-1-29
I guess it could work by comparing the matrices, respectively by comparing the value of the single pixel.
The images are 512x640 logical. So the value of the pixels is 0 for black or 1 for white.
So the idea is now:
1) to create a matrix of every image
2) check every pixel in every matrix
if the pixel value in all all images is 1, then keep this pixel
if the pixel value is not 1 in all images, then set zero
3) Create a new matrix with the new values
Could this solution work for my problem?

产品

Community Treasure Hunt

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

Start Hunting!

Translated by