Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

How to do side filling of an image

2 visualizaciones (últimos 30 días)
Abdullah bashanfer
Abdullah bashanfer el 17 de Jul. de 2016
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
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)
what i want is

Respuestas (1)

Image Analyst
Image Analyst el 17 de Jul. de 2016
Perhaps this:
bw = imfill(bw, 'holes');

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by