Computer Vision, Deep Learning, Convolutional Network.
grayscale image is represented as (height, width, 1) or simply (height, width). We can ignore the third dimension because it is one. Therefore, a grayscale image is often represented as a 2D array (tensor). There are three color channels (Red, Green and Blue) in an RGB image. So, an RGB image is