필터 지우기
필터 지우기

computeedge thinning algorithm source code in MATLAB

조회 수: 2 (최근 30일)
ab
ab 2013년 9월 5일
댓글: Royi Avital 2019년 9월 14일
I am trying to apply a thinning algorithm same as the thinning applied in the sobel filter. I looked at the edge.m for the algorithm but looks like it calls a mex file computeedge for the thinning. I could not find the source code of the mex file. What does this mex file exactly do? What is the thinning algorithm it performs??? Where can I find the source code for this mex file?? The thinning is called in edge.m as shown below:
function e = computeEdgesWithThinning(b,bx,by,kx,ky,offset,cutoff)
% This subfunction computes edges using edge thinning.
bx = abs(bx); % necessary for doing local maxima suppression
by = abs(by);
e = computeedge(b,bx,by,kx,ky,int8(offset),100*eps,cutoff);

답변 (1개)

Image Analyst
Image Analyst 2013년 9월 5일
If it's a mex file, they did that for speed and/or they don't want you to see the actual source code. Regardless, they will however usually give you the citation of the paper that has the algorithm they implemented (if there is such an article that they followed), but you need to ask them specifically for it. Not sure why you need to know it anyway. Do you have a problem with how it's thinned?
  댓글 수: 3
Samuel Bearden
Samuel Bearden 2015년 8월 25일
Did you ever find a solution? I am dealing with the exact same issue now. Thanks
hossein gheisary
hossein gheisary 2017년 5월 11일
편집: Walter Roberson 2017년 5월 11일
I am dealing with the exact same issue. please aware me if you got new solution.

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

카테고리

Help CenterFile Exchange에서 MATLAB Compiler SDK에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by