Classical Machine Learning
Find where the light changes
Reverse a brightness transition
A bright patch is not necessarily a boundary. Botie needs the change between neighbouring pixels, including its direction.
BOTIE
The inputs we are comparing
Left brightness
Example 1
0
Example 4
0.8
Right brightness
Example 1
0
Example 4
0.2
Result for example 1
0
Brightness falls across the boundary
This check uses the pieces from “Measure right-minus-left brightness change”.
BOTIE
- Left brightness
0.9
- Right brightness
0.1
Use a number, text, or an array matching the requested result. For a matrix, put each row in brackets. Saving your prediction runs your current construction on these inputs and checks the earlier examples too.
Build a construction in the workspace above first. This case will test those pieces.
Why do both a dark flat patch and a bright flat patch produce zero, and what information would taking the absolute value discard?
Edge responses describe local changes and their directions; a full image detector also needs other directions and noise handling.
This is a small construction problem. The lesson explains the assumptions and the parts of the full method that this example leaves out.
Work through the Python challenges →