I want to delete texts or words present in my result image.
let the image is :
i have done the blob analysys and plot the object location using this code:
%% Calculate number of object present in output image
BW=bwlabel(BW); s = regionprops(BW,'BoundingBox'); b = bwboundaries(BW); n = size(b, 1);
%% Function For Ploting object location
figure,imshow(BW) hold on; for n=1:size(s,1)rectangle('Position',s(n).BoundingBox,'EdgeColor','y','LineWidth',1) end hold off;
so then the output image is :
now i want to lable these blobs:
and then remove the blob containing text in it.:
so thus the output image will be:
and the final image i want is :
How will i do this?
Best Answer