Is there an equivalent python function for each of the following (maybe in the PIL??):
edge(image, ‘canny’)
strel(‘line’,..)
strel(‘diamond’,1)
imdilate(…)
imfil(…)
imerode(…)
medfilt2(…)
All of my simulation code is in python, but not the IC generation! I wanna get my IC generation into python so I don’t have to run matlab every time I run a sim.
Thanks,
tylerthemiler
There are lots of image processing libraries for Python, though they are spread across a number of packages:
Just go through the documentation pages and look for an equivalent to each of the functions you listed. I think you will find edge detection, morphological operations, flood filling, and filtering functions all available in OpenCV (which is by far the most comprehensive)
Note: they are not all compatible with each other (some use NumPy to store the images, others don’t).