Skip to content

GRSG 2018 Brief introduction to image processing with Python


My name is Andrew and these are the joining instructions for the GRSG workshop “Brief introduction to image processing with Python” on 11th December 2018.

We will briefly cover

Why Python? I hope you can answer this, but if not I will share some thoughts.

  • Intro to Numpy arrays (images are just numpy arrays)
  • Plotting data using Matplotlib
  • Manipulating Numpy arrays (conditional and slicing operations)
  • Gdal (opening images and plotting)
  • Rasterio (opening images and plotting)
  • Stretching images (skimage)
  • Computer vision on images

You do not have to be a previous Python user to attend. If you are experienced user then this might be too gentle for you. I run 2 courses (each 2 days) or a combination of the 2 courses (you choose the prefered content). More information here

email me

Setting up – pre workshop

We will be using Python 3.6, however Python 3.7 is available and you are welcome to use that. You should also be able to use Python 2.7, just be careful to check.

I will be using a Jupyter Notebook to run this workshop. This a slick interactive Python (and R and Julia) kernal onĀ  Javascript front end. You are free to use any IDE that you prefer though. It should not make any difference to the code.

If you are attending and wish to follow along please ensure that you have a working installation. Unfortunately I cannot help you install and configure Python on the day. However I have written 2 guides to setting up my prefered and this workshops configuration. These are below:


Setting up a Python environment

Python for Geospatial work flows part 1: Use anaconda

Setting up Jupyter Notebook (if you follow above it is already installed!). This is a guide to the basic use. It will help you alot.

Python for Geospatial work flows part 2: Use Jupyter Notebooks

Workshop data

All data for the workshop is available here




Pre or post workshop reading

I know that some people like to do some pre and post course reading (I am one of them). If you need this then please have a look at my blogs on Python

Final advice

The best way to learn is to practice and get it wrong and try again. Learn the basics and then apply to your world. Start simple and aim big.