connect with me here on LinkedIn if you are interested in data science and machine learning.
Please feel free toImage processing examples with Numpy, Scipy, and Scikit-image
Requirements
- Python 3.4+
- NumPy (
$ pip install numpy
) - SciPy (
$ pip install scipy
) - MatplotLib (
$ pip install matplotlib
) - Scikit-image (
$ pip install scikit-image
)
Testing after install
Open a Jupyter notebook and execute the following code,
import numpy as np
import matplotlib.pyplot as plt
from skimage import data, io, filters
image = data.coins() # or any NumPy array!
edges = filters.sobel(image)
io.imshow(edges)
You should see the following output. If you see this, you are all set to go!