selection of patches of an image

2 views (last 30 days)
ATHIRA P M
ATHIRA P M on 4 Apr 2019
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

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!