Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
How to do side filling of an image
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
We need to detect the ground using simple filling starting from the bottom of the image shown below. Any suggestions?
This codes what i have done so far,
rgb=imread('obstacle_scene_1.jpg');
figure, imshow(rgb);
rgbImage = imread('obstacle_scene_1.jpg');
hsvInt = rgb2hsv(rgbImage);
hsvDouble = rgb2hsv(double(rgbImage));
figure, imshow(hsvInt);
figure, imshow(hsvDouble);
level = graythresh(hsvInt);
bw = im2bw(hsvInt,level);
bw = bwareaopen(bw, 50);
figure, imshow(bw)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/154920/image.jpeg)
what i want is
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/154921/image.jpeg)
0 commentaires
Réponses (1)
Cette question est clôturée.
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!