I need help guys.. Please if someone can provide me matlab code for my research paper. This is link to my paper http://waset.org/publications/17107
Mostra commenti meno recenti
Actually, I have only 3 days left, and if I will not complete this , I will loose my 1 year, and I will have to wait for more than one year for my registration. I am very new to matlab but still I am trying since 10days, but I am not able to do this. I have done only this much of part of code...
m1=imread('abc2.jpeg');
m2=im2double(rgb2ycbcr(m1));
sample1=m2(:,:,1);
sample1_mean=mean(mean(sample1))
%Binarizing Samples area
BINsample1=im2bw(sample1,sample1_mean);
imshow(BINsample1);
%Removing noise
L=medfilt2(BINsample1,[3,3]);
figure, imshow(L)
%normailzation of image
gemiddeld=mean2(L)
standaard_afwyking=std2(L)
NormalizedArray = (L-gemiddeld) ./ standaard_afwyking;
GS = NormalizedArray ./ max(NormalizedArray(:))-min(NormalizedArray(:));
NormArrayU8 = uint8(255*(NormalizedArray+ 3)./6)
figure, imshow(GS);
%thinning of an image
%
BW2 = bwmorph(GS,'thin')
figure, imshow(BW2);
Thanks , Thanks in advance.
6 Commenti
Walter Roberson
il 6 Gen 2014
What difficulty are you encountering with the code you have? Are you getting an error message?
Neha
il 6 Gen 2014
Walter Roberson
il 6 Gen 2014
What error message are you encountering? What is your code for the rest ?
Neha
il 6 Gen 2014
Modificato: Walter Roberson
il 6 Gen 2014
Walter Roberson
il 6 Gen 2014
Okay, so what error are you finding?
Image Analyst
il 6 Gen 2014
Just attach your script please. And also attach your image so we can run it. And what are you trying to do, other than display the blocks and thinning each block? Why are you trying to thin? Do you know that you will have bad edge effects at the block boundaries if you are thinning?
Risposte (0)
Categorie
Scopri di più su Sources in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!