Primeros pasos con Python: Manipulando imágenes
This is a Python
I don't use any lib other than NumPy and Matplotlib to manipulate images, since I was asked to teach through the basics. Even tho, I coded some image derivatives (sobel X and sobel Y) to illustrate some image processing, and coded some fractals.
If you're installing Python on Windows, just remember to check the "Add Python to PATH" little box during the installation.
Installing NumPy and Matplotlib:
matplotlib we will use
pip. After installing Python, open a terminal and enter the following:
$ pip install numpy
Now enter the following:
$ pip install matplotlib
If you want not only to install this libs on your user, but in the whole system, use
Checking your installation:
To check if the installation was successful, on the open terminal open your Python prompt by entering:
Now try to import
matplotlib as follows:
>>> import numpy >>> import matplotlib
If any error is raised, congrats! Now you're all set to go.
ABOUT COPYING OR USING PARTIAL INFORMATION:
These documents were originally created by the author. Any usage of these documents or their contents is granted according to the provided license and its conditions. For any question, you can contact the author via email or Twitter.
Want to see an awesome fractal? Check this one:
Copyright (c) 2017 Rodolfo Ferro