且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

相当于bwmorph的Python

更新时间:2022-01-15 15:28:02

据我所知,由于OpenCV或skimage中不存在它们,因此您必须自己实现它们. 但是,应该直接检查MATLAB的代码及其工作方式,并使用Python/NumPy编写自己的版本.

You will have to implement those on your own since they aren't present in OpenCV or skimage as far as I know. However, it should be straightforward to check MATLAB's code on how it works and write your own version in Python/NumPy.

此处是专门为MATLAB用户详细描述NumPy函数的指南,并提示了MATLAB和NumPy中的等效函数: http://wiki.scipy.org/NumPy_for_Matlab_Users

Here is a guide describing in detail NumPy functions exclusively for MATLAB users, with hints on equivalent functions in MATLAB and NumPy: http://wiki.scipy.org/NumPy_for_Matlab_Users