Riddle_Training_00d62c1b - arc-community/arc GitHub Wiki
Observations
I observe that the objects in the input and the output have the same general shape, except for the filled hull
I observe that the closed areas are filled with another colour
I classify this task as "fill the gaps" task
Concepts Used
Identify objects
Identify enclosed areas
copy / paint with a colour sourced from the example-output board (no information about it in the source board)
Solution Approach
This should generally be done with a single, primitive function "fill the enclosed area" except for sourcing the colour. The source of the colour might need to be somehow observed or brute-forced (only 10 possibilities...)
Possible distribution shifts
-
Areas could be considered either enclosed or open when they touch the board-edge
-
the enclosing object could have more than one colour, or the fill colour could depend on the type of enclosing object
-
background colour obviously
-
the fill colour could be a pattern rather than a solid color
-
The destination shapes could be moved, rotated, flipped, enlarged or shrank, magnified 2,3x or any of the usual morphology operation e.t.c. -- simple transformations