How do I differentiate between a hole and a surface in 2D images?

1 Ansicht (letzte 30 Tage)
Aloush
Aloush am 27 Mär. 2015
Bearbeitet: Aloush am 20 Mai 2015
__

Antworten (1)

Image Analyst
Image Analyst am 27 Mär. 2015
Unfortunately you forgot to attach the image so we'll have to wait for that. If there is a color difference in the image, then yes, you can find the hole. See my 3 color segmentation demos in my File Exchange.
  6 Kommentare
Image Analyst
Image Analyst am 27 Mär. 2015
There is no way from a 2D color image you can determine with certainty that a hole is there or not there with a simple color image. If you can't standardize on your situation, then someone could fool the algorithm by putting a sticker on the box top that had the same color/lightness/pattern as what we'd see by looking through a hole. So to be more robust you'd have to use some kind of range data like you'd get from stereo imaging or Kinect.
Image Analyst
Image Analyst am 27 Mär. 2015
I've never played around with structure from motion, or shape from shading, or any things like that. Good luck though. Different viewpoints could help - you can get range information from the stereo pair. What's so interesting about that box anyway? Do you have any real world industrial or scientific problems to solve? Or is this just a simple case to work on before you tackle the real world problem later?

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by