how write a matlab code for adaptive thersholding
조회 수: 2 (최근 30일)
이전 댓글 표시
how write a matlab code for adaptive thersholding
댓글 수: 1
Walter Roberson
2012년 5월 22일
Duplicate is at http://www.mathworks.com/matlabcentral/answers/39059-matlab-code-for-adaptive-thersholding
답변 (2개)
Matt Kindig
2012년 5월 22일
This is a pretty big question. Is there a particular algorithm that you are trying to implement? A simple Google search for "Matlab adaptive thresholding" yields a bunch of results--you could just try one of those.
댓글 수: 0
Stephen
2012년 5월 22일
that depends on a lot of things, but you could try using im2col to analyze your image in discrete blocks and apply whatever function you want to get the binary result. You could also do like three different convolutions with different kernels and use the residuals to index which result should construct what part of the final binary result. You could also use expectation maximization to guess at the proper threshold for a section of the image. Or you could use a level set method or graph cut to segment your image. what type of image do you want to threshold? that would help you chose the code.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Segmentation and Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!