필터 지우기
필터 지우기

Anyone has bwconncomp source code? Or its algorithm

조회 수: 2 (최근 30일)
tabw
tabw 2014년 8월 10일
댓글: Image Analyst 2014년 8월 10일
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?

답변 (1개)

Ahmet Cecen
Ahmet Cecen 2014년 8월 10일
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
tabw
tabw 2014년 8월 10일
YES, HOW TO open MEX FUNCTION?
Image Analyst
Image Analyst 2014년 8월 10일
Get a job at The Mathworks. The Mathworks does open their mex file source code to the general public.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by