Detect object in noisy image
Hi all, as the title says, I need to detect objects in noisy images. Here's how my program should work:
- Align 2 images
- use
absdiff
to find the diferences - bound the differences (in my case the objects) with a rectangle.
The problem is that the two images could have only a part in common, so the difference image will be noisy. Here's an example
As you can see, there's a wheel. I need to bound that wheel, but if I use findcontour
it get's all the contours except the one of the wheel.
Can you help me?
EDIT I've converted to grayscale and appliend a gaussian blur on both images before subtraction. I get this:
How can I proceed now?
EDIT 2 Here's the original images
EDIT 3 I had to remove images
Hi! I've done all the steps you wrote. I'f I apply threshold I get a black image. I'm going to edit the post so you can see what I get!
could you add original images?
Have you tried to apply Hough circle transform? Try to use the code in this tutorial and see if that helps.