Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ドーナツを埋めるための派手な MATLAB 関数はありますか? ドーナツを近くのジャンクとマージする次の 2 つの機能に問題があります。
image = bwmorph(image,'close'); image = bwmorph(image,'dilate');
で埋めimfillます。バイナリ イメージがm, ryと呼ばれるとします。
imfill
m
locations= sub2ind(size(m), 100, 80); m2 = imfill(m,locations);
ボナペティ