How Sobel edge detection finds outlines in a photo
An edge, to a computer, is a place where brightness changes quickly. The line between a dark tree and a pale sky is a jump from, say, 40 to 200 within a pixel or two. Inside the sky, brightness barely changes from one pixel to the next. Edge detection measures that change at every pixel and draws it: a big change becomes a strong line, no change becomes blank paper.
The Sobel operator measures the change with two small kernels. One subtracts the column of three pixels on the left from the column on the right, counting the middle row twice. The other does the same from top to bottom. A pixel on a hard vertical edge from black to a grey of 100 scores 400 on the first kernel and 0 on the second. The two are combined as the length of a vector, the square root of the sum of their squares, and divided by 4 so that a full jump from black to white scores 255. The presets double that, so the edge from black to grey 100 draws a line of strength 200: on white paper, a dark grey of 55.
The three looks use that strength in different ways. Outlines on white subtracts it from white, giving dark lines on a light page, good for tracing and colouring pages. Outlines on black uses it as it is, so edges glow on a dark ground. Colour edges runs the test on red, green and blue separately, so the edge between a red flower and green leaves shows red and green, even where the two have the same brightness and the grey versions would miss it.
The line width scales with the picture. The kernel's pixels sit 0.1% of the long side apart, at least one pixel, so the lines are about as thick, relative to the picture, on the 800 pixel preview as on a 4,000 pixel photo. Sensitivity in Fine-tune multiplies the strength, which brings faint edges out or pushes them back.
Limits: this is the plain Sobel filter, not a full line finder such as Canny. It does not thin lines to one pixel, link broken lines, or decide which edges matter, so textures and noise show as lines along with outlines. The download keeps JPEG, PNG and WebP; other formats come out as PNG, and the largest image is 24 megapixels.