필터 지우기
필터 지우기

Patch an image with lots of holes

조회 수: 3 (최근 30일)
Kyle Wang
Kyle Wang 2015년 4월 9일
Given the binary attached, I'm look for a way to patch those white part without using contourf function.
My routine is: bwboudaries => get edge coordinates => Loop through each detected edge, patch(x,y, [0.5 0.5 0.5]). However, such method fills the holes as well. The reason I want edge coordinates is that I can choose a segment to patch. But contourf function doesn't give me such flexibility.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Polygons에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by