Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Because of non tele-centric lens on your camera and perpendicular angle used to take the picture you can see trough holes just in the center of the image. This would be a problem if covered cells aren't in the middle.

If it's possible try to take some countermeasure in a way that all empty holes looks all blind or all open. In other words all open holes should look close to white or close to black. Filled holes will remains as they are.

  • Increase distance between camera and honey comb so you can see trough all open holes. Looking at the image 1.5 times should be enough
  • Use a light on the floor, (usually color opposite to the object), in this case blue or white neon would be fine.
  • If you can't use light try to use clean white background like a white paper
  • Or use a black/opaque background

As alternative you could take picture using small angle instead of perpendicular. In this case you can't see trough holes at all.

About HSV I'm not sure that filtering HUE would help because, in this image, a lot of information is held in Saturation and Brightness.

A solution to vision project isn't just Algorithms.

Because of non tele-centric lens on your camera and perpendicular angle used to take the picture you can see trough holes just in the center of the image. This would be a problem if covered cells aren't in the middle.

If it's possible try to take some countermeasure in a way that all empty holes looks all blind or all open. In other words all open holes should look close to white or close to black. Filled holes will remains as they are.

  • Increase distance between camera and honey comb so you can see trough all open holes. Looking at the image 1.5 times should be enough
  • Use a light on the floor, (usually color opposite to the object), in this case blue or white neon would be fine.
  • If you can't use light try to use clean white background like a white paper
  • Or use a black/opaque background

As alternative you could take picture using small angle instead of perpendicular. In this case you can't see trough holes at all.

About HSV I'm not sure that filtering HUE would help because, in this image, a lot of information is held in Saturation and Brightness.

A solution to vision project isn't just Algorithms.

EDIT: While answering about non uniform illumination I tested my function with your image. Using right thickness I can get a nice background for you.

here is the code and below the images.

the result after non uniform illumination (minThickess=4):

image description

this is the removed background:

image description