Polytechnic
Round 1/6Score: 0

Pixel Filter Lab

Change a grid, predict its processed pixels and check your calculation.

Threshold the map

Processed grid

Live result

Tap or focus any cell to read its value. Pink outline marks the question cell.

Pixel-level histogram

input → output
Concept: pixels form a grid

A threshold classifies values; a filter combines neighbouring pixels.

Your controls

First try: 100 points

Round information

The maths

Threshold: output = 1 when pixel ≥ T; otherwise 0.

True convolution: output(y,x) = sum of input(y+i,x+j) times the kernel flipped in both directions.

Block downsampling: new pixel = sum of block values divided by the number of pixels. New pixel width = old width × block factor.

Assumption: pixels are uniformly spaced; block averages represent each output pixel.