Anyone has bwconncomp source code? Or its algorithm

3 vues (au cours des 30 derniers jours)
tabw
tabw le 10 Août 2014
Commenté : Image Analyst le 10 Août 2014
I want to know the algorithm behind. However, edit .m just show some code but most of the code are missing. Anyone has the source code for bwconncomp?
Thanks
Or If you know the algorithm, please tell me. I Guess the basic principle is to check every pixel and its neighbor. Could anyone tell more?

Réponses (1)

Ahmet Cecen
Ahmet Cecen le 10 Août 2014
C:\Program Files\MATLAB\R2013b\toolbox\images\images\private
is a good place to start. You might have to chase a lot of dependent functions though. For example, bwconncomp uses bwconncomp_2d and bwconncomp_nd, which in turn uses some other function etc. I am guessing you will eventually arrive at a core mex function.
  2 commentaires
tabw
tabw le 10 Août 2014
YES, HOW TO open MEX FUNCTION?
Image Analyst
Image Analyst le 10 Août 2014
Get a job at The Mathworks. The Mathworks does open their mex file source code to the general public.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by