Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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:

  1. Align 2 images
  2. use absdiff to find the diferences
  3. 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

image description

image description

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?

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:

  1. Align 2 images
  2. use absdiff to find the diferences
  3. 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

image description

image description

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: image description

How can I proceed now?

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:

  1. Align 2 images
  2. use absdiff to find the diferences
  3. 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

image description

image description

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: image description

How can I proceed now?

*EDIT 2 * Here's the original images image description

image description

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:

  1. Align 2 images
  2. use absdiff to find the diferences
  3. 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

image description

image description

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: image descriptionthis:

How can I proceed now?

*EDIT 2 *EDIT 2 Here's the original images image description

image descriptionimages

EDIT 3 I had to remove images