Ask Your Question

Morphology transformation functions from openCV

asked 2017-02-08 19:29:50 -0500

dotcom gravatar image

I cant seem to find code of functions from opencv. I found them in c++ but i need it in python. The functions I need are all morphological transformation functions from open cv (cv2.erode, cv2.dilate, opening, closing, white top hat, black top hat...). So please if anyone can share them with me I would be gratefull.

edit retag flag offensive close merge delete


You can look at scikit-image (you can access to the correspond code from the documentation). Or just do a general search on github.

Eduardo gravatar imageEduardo ( 2017-02-09 03:58:36 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2017-02-08 19:51:52 -0500

berak gravatar image

opencv is a c++ library, so there is no special python code for this.

if you simply wanted to use morphological ops from python, see this tutorial

edit flag offensive delete link more


im not retarded, i know how to use it... i needed code for something but i alrdy wrote mine

dotcom gravatar imagedotcom ( 2017-02-11 07:42:24 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-02-08 19:29:50 -0500

Seen: 118 times

Last updated: Feb 08 '17