The Little Known OGrid Function in Numpy

…and how to use it to easily transform images

Ritvik Kharkar
Towards Data Science
6 min readDec 20, 2019

--

Photo by Zara Walker on Unsplash

This past quarter, I was helping my students learn the powerful numerical processing library in Python known as Numpy. For a good chunk of the course, we were using Numpy to perform transformations on images, because images are, after all, just big arrays of numbers.

--

--