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.
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.
2 | No.2 Revision |
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.
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):
this is the removed background: