필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How to do side filling of an image

조회 수: 2 (최근 30일)
Abdullah bashanfer
Abdullah bashanfer 2016년 7월 17일
마감: MATLAB Answer Bot 2021년 8월 20일
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

답변 (1개)

Image Analyst
Image Analyst 2016년 7월 17일
Perhaps this:
bw = imfill(bw, 'holes');

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by