computeedge thinning algorithm source code in MATLAB

1 view (last 30 days)
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);

Answers (1)

Image Analyst
Image Analyst on 5 Sep 2013
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 Comments
Samuel Bearden
Samuel Bearden on 25 Aug 2015
Did you ever find a solution? I am dealing with the exact same issue now. Thanks
hossein gheisary
hossein gheisary on 11 May 2017
Edited: Walter Roberson on 11 May 2017
I am dealing with the exact same issue. please aware me if you got new solution.

Sign in to comment.

Categories

Find more on MATLAB Compiler SDK in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!