what is the best way for thresholding this image .....please?
조회 수: 1 (최근 30일)
이전 댓글 표시
i wrote this code {
img=imread(..........);
imshow(img);
medimage=medfilt2(img,[5 5]);%median Filtering image
figure,imshow(medimage);
z=adapthisteq(medimage);
figure,imshow(z);
H = fspecial('unsharp');
y=imfilter(z,H);
figure,imshow(y);
s=roipoly(y);
nnew=img.*cast(s,class(img));
figure,imshow(nnew);
}
the result was similar to this
how i can do thresholding to make the veins obvious with white color at a black background.
help please , i am really needs this? simple reply will be most suitable to me
i am just a new in the matlab world.
thanks
댓글 수: 6
David Young
2012년 1월 25일
Thank you, that's helpful and I can see what your code so far does. However, with apologies, I have to tell you that the next step is not obvious - picking out the veins is a mini-project.
답변 (1개)
Image Analyst
2012년 1월 25일
Did you already ask that and I answer that in http://www.mathworks.com/matlabcentral/answers/26663-adaptive-local-thresholding-for-gray-scale-image?
Did you search http://iris.usc.edu/Vision-Notes/bibliography/contentsmedical.html#Medical%20Applications,%20CAT,%20MRI,%20Ultrasound,%20Heart%20Models,%20Brain%20Models to find papers such at this: Garbey, M., Merla, A., Pavlidis, I., Estimation of blood flow speed and vessel location from thermal video, CVPR04(I: 356-363).
댓글 수: 8
Image Analyst
2012년 1월 25일
It's not that you're annoying, it's more about aligning expectations. We can't do more than a few minutes of coding for you - we simply don't have the time to do lengthy, free, private consulting for anybody. For example if you need help with the adapthisteq() function, (which is the first step in adaptive local thresholding that you say you want to do - I've already mentioned that, did you try it?) we might be able to provide a demo beyond what the help does, if you provide an image. That would only be a few minutes work, not hours or days of work. So, now, let me see your adapthisteq() code and the results.
참고 항목
카테고리
Help Center 및 File Exchange에서 Fourier Analysis and Filtering에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!