This tutorial introduces various transformation techniques implemented in OpenCV including color transformation and image transformation.
OpenCV is shipped with over 32 built-in color space conversion. In this tutorial, I will focus on three color spaces: gray, RBG, and HSV.
An OpenCV image in grayscale is simple a 2-D numpy array. Each cell in the 2-D array is a float scalar.
In [ ]: