darsia.define_color_path#

define_color_path(image, mask)[source]#

Interactive setup of a color path based on an image.

Parameters:
imagedarsia.Image

The image to define the color path from.

maskdarsia.Image

The mask to apply on the image.

Returns:
darsia.ColorPath

The defined color path with selected colors.