selection of patches of an image

3 Ansichten (letzte 30 Tage)
ATHIRA P M
ATHIRA P M am 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

Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by