k=rgb2gray(imread('car3.jpg'));%figure, imshow(k);
im=imresize(k, [400, NaN]);%figure, imshow(im);
se=strel('disk',1);im2=imerode(im,se);%figure, imshow(im2);
im3=imdilate(im2,se);%figure, imshow(im3);
im4=imsubtract(im3,im2);%figure, imshow(im4);
I=graythresh(im4);im5=im2bw(im4,I);%figure, imshow(im5);
im6=imfill(im5,'holes');figure, imshow(im6);im7=bwareaopen(im6,100);figure, imshow(im7);
MATLAB: After using Edging and morphological operation i got the following Image. how can i now extract the number plate region. image is attached.
Image Processing Toolboxroi extraction
Best Answer