필터 지우기
필터 지우기

I need help guys.. Please if someone can provide me matlab code for my research paper. This is link to my paper http://was​et.org/pub​lications/​17107

조회 수: 1 (최근 30일)
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
Image Analyst
Image Analyst 2014년 1월 6일
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?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Red에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by