Slide
CNN Channels
RGB image = height x width x 3
A color image has red, green, and blue channels. CNNs can learn different filters on each channel and combine them into feature maps.
Upload an image and follow the CNN pipeline from channels to padding, convolution, activation, pooling, and normalization. The goal is not to hide the math but to make every operation visible for students.
Pipeline
3 + gray
Channels
10x10
Grid
3x3
Kernel
Files are processed in the browser. Uploaded images are not sent to a server.
Slide
RGB image = height x width x 3
A color image has red, green, and blue channels. CNNs can learn different filters on each channel and combine them into feature maps.
Slide
same output size: add border pixels
Padding keeps edge information available to the kernel. Without padding, the feature map becomes smaller after each convolution.
Slide
z = (x - mean) / std
Normalization stabilizes value ranges so later layers train more smoothly and gradients behave better.
Channels
Padding and convolution
Activation
ReLU(x) = max(0, x)
Pooling
2x2 max = largest value
Normalization
x_norm = (x - min) / (max - min)
Training connection
This lab uses hand-picked filters so students can see the operations. During real CNN training, backpropagation updates many kernels so the network learns features that help reduce the loss for the task.
The uploaded image is sampled into a small matrix so the math remains readable. Real CNNs use larger tensors, many channels, many learned filters, batches of images, nonlinear activations, normalization layers, and repeated blocks.