A one-row training image turns pixel indices into one checked sum. Exact arithmetic here means exact results for the stated model inputs; measured inputs still carry uncertainty and significant-figure limits.

highlighted = computed this step

Read a one-row image

The row contains pixel indices 1, 2, and 3.

1+2+31+2+3
Projection imageRows and columns expose exact line-sum measurements.1236123

A row shadow is a line sum

The projection score is 6, because the whole row lies under the same ray.

1+2+3=61+2+3=6
Projection imageRows and columns expose exact line-sum measurements.1236123