Borrar filtros
Borrar filtros

computeedge thinning algorithm source code in MATLAB

2 visualizaciones (últimos 30 días)
ab
ab el 5 de Sept. de 2013
Comentada: Royi Avital el 14 de Sept. de 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);

Respuestas (1)

Image Analyst
Image Analyst el 5 de Sept. de 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 comentarios
Samuel Bearden
Samuel Bearden el 25 de Ag. de 2015
Did you ever find a solution? I am dealing with the exact same issue now. Thanks
hossein gheisary
hossein gheisary el 11 de Mayo de 2017
Editada: Walter Roberson el 11 de Mayo de 2017
I am dealing with the exact same issue. please aware me if you got new solution.

Iniciar sesión para comentar.

Categorías

Más información sobre MATLAB Compiler SDK en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by