Image encoding
Grayscale images
Can be represented as a 2D matrix of shape height
RGB images
Each pixel has three values representing the intensity of light for each Colour channel
Hence, can be represented as a 3D tensor of shape height
Can be represented as a 2D matrix of shape height
Each pixel has three values representing the intensity of light for each Colour channel
Hence, can be represented as a 3D tensor of shape height