computeedge thinning algorithm source code in MATLAB

2 visualizzazioni (ultimi 30 giorni)
ab
ab il 5 Set 2013
Commentato: Royi Avital il 14 Set 2019
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);

Risposte (1)

Image Analyst
Image Analyst il 5 Set 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 Commenti
Samuel Bearden
Samuel Bearden il 25 Ago 2015
Did you ever find a solution? I am dealing with the exact same issue now. Thanks
hossein gheisary
hossein gheisary il 11 Mag 2017
Modificato: Walter Roberson il 11 Mag 2017
I am dealing with the exact same issue. please aware me if you got new solution.

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by