Python Equivalent for bwmorph

前端 未结 2 2104
-上瘾入骨i
-上瘾入骨i 2021-01-06 01:26

I am still coding a fingerprint image preprocessor on Python. I see in MATLAB there is a special function to remove H breaks and spurs:

bwmorph(a , \'hbreak\         


        
2条回答
  •  我在风中等你
    2021-01-06 01:54

    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.

    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

提交回复
热议问题