Skip to content
Snippets Groups Projects
Commit 16bce1bd authored by Vedrana Andersen Dahl's avatar Vedrana Andersen Dahl
Browse files

change in in_region cost example

parent 6ffe14f6
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ layers = [slgbuilder.GraphObject(0*I), slgbuilder.GraphObject(0*I)] # no on-surf
helper = slgbuilder.MaxflowBuilder()
helper.add_objects(layers)
# Addin regional costs,
# Adding regional costs,
# the region in the middle is bright compared to two darker regions.
helper.add_layered_region_cost(layers[0], I, 255-I)
helper.add_layered_region_cost(layers[1], 255-I, I)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment