skeletonisation algorithm using voronoi diagram

have some roads and others binary images and I have its voronoi diagram of the image. I'm trying to calculate the skeleton.. not having sucess until now!!
can anyone help?
pls help me.i m in last stage of my proj

回答(2 个)

What difficulty did you encounter in using the code from the file exchange? http://www.mathworks.co.uk/matlabcentral/answers/121067-is-it-possible-to-apply-skeletonisation-to-voronoi

5 个评论

I just copied the entire file and tried with my code. In the first line i got an error stating that function definitions are not permitted at the prompta or scripts..
Use the download button. That will download a .zip that you can then expand into a new directory. Use MATLAB's pathtool to add that directory to your MATLAB path. You can then call upon the function.
1) Sir, for using this file should i also need to download qhull also??
2) what are the inputs mean(BW,varargin)??
MATLAB already has a form of qhull available. See
But if you prefer to be sure, download qhull and install it.

请先登录,再进行评论。

You've given me nothing to work with. No images. No code. How can I help you?

标签

Community Treasure Hunt

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

Start Hunting!

Translated by