Compute a free space/obstacle mask for an image (pixels) for pixel-level image segmentation
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
I am working with pixel-level image segmentation in Matlab. I am trying to build a model to classify each pixel in the RGB image either Free space (F) or Obstacle. If the pixel is belonging to an object outside a threshold distance from the camera location then it is free otherwise its an obstacle. The main challenge I have now is labeling the data set. Is there any way I can come up with an algorithm in Matlab that will do the labeling process automatically, apart from image labeler app, i.e compute a mask of (F)/(o) for the image?. Assuming that I have a synthetic 3d environment to collect images from by changing the position and orientation of the camera within the environment. So known things are :
1-Camera properties (focal length, sensor size,..etc)
2-Camera location within the environment (X, Y, Z)
3- Objects' location and dimensions.
please advise me if you have any suggestion.
0 Commenti
Risposta accettata
Image Analyst
il 19 Ott 2018
I don't know how you know if a pixel is free space or not - maybe the color, maybe spatial information from neighboring pixels also? Maybe it's the pixel brightness or color or texture in an immediate neighborhood. But whatever it is, you have to get an image that has the probability (percentage) that each pixel is either obstacle or free space. Then you can simply threshold that.
5 Commenti
Image Analyst
il 19 Ott 2018
I thought that since you were ready to do the labeling that you had it already. If you don't, see the camera calibration capabilities of the Computer Vision System Toolbox: https://www.mathworks.com/products/computer-vision/features.html#camera-calibration
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Computer Vision with Simulink in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!