Deep Learning · TEE · section
A computer sees an image as numbers
Convolutional neural networks
Definition. A digital image is a spatially arranged numerical tensor. In a CNN, convolutions transform input channels into learned feature maps using local connectivity and spatially shared kernel parameters.
Explanation and working
A pixel is one position in an image. A grayscale image stores one intensity per position. A colour RGB image usually stores three numbers per position: red, green and blue. Therefore 32 × 32 × 3 means height 32, width 32 and 3 input channels. It contains 32 × 32 × 3 = 3,072 numbers, not 32 neurons.
A feature is a useful pattern, such as an edge or texture. A feature map is a grid of responses that says where a learned filter matches the input. Early CNN layers often detect local simple patterns; later layers combine them into parts and more complex patterns.
A filter, also called a kernel in many exam questions, is a small set of learned weights. Slide it across the image, multiply corresponding numbers, and add. The same weights are reused at every spatial position. This is weight sharing.