selection of patches of an image

3 ビュー (過去 30 日間)
ATHIRA P M
ATHIRA P M 2019 年 4 月 4 日
Dear sir,
I use superpixel segmentation algorithm for patch generation,the output image is attached.
I = imread('capture1.jpg');
[L,N] = superpixels(I,40);
figure
BW = boundarymask(L);
imshow(imoverlay(I,BW,'red'),'InitialMagnification',67)
Next I want to select only the foregrond area patches(black color) and compute the area,patch length and patch location of the patches.How it is possible?help me sir

回答 (0 件)

カテゴリ

Help Center および File ExchangePolygons についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by