available_decodings

available_decodings()

The decodings you can name in decode, and which separation signal each one reads.

instance_segmentation only - the other two tasks have nothing to decode - and the one row of this family that carries a constraint rather than only a description: the two axes are a tree, so a decoding says which targets it can be fed.

Returns

Name Type Description
list[dict[str, Any]] One row per decoding: the name, the arguments it accepts, which separation
list[dict[str, Any]] values it reads, and what it does. An empty needs means every target, which is
list[dict[str, Any]] connected_components and is why that one is the yardstick.

[row[“name”] for row in available_decodings()] [‘connected_components’, ‘follow_flows’, ‘nearest_seed’, ‘watershed’] next(r for r in available_decodings() if r[“name”] == “follow_flows”)[“needs”] (‘flows’,) next(r for r in available_decodings() if r[“name”] == “connected_components”)[“needs”] ()