athena.graph_builder.contact_graph_builder module

Summary

Classes:

ContactGraphBuilder

Contact-Graph class.

Functions:

dilation

Compute dilation of a given object in a segmentation mask

Reference

dilation(args)[source]

Compute dilation of a given object in a segmentation mask

Parameters

args – masks, obj and dilation kernel

Returns:

Return type

list

class ContactGraphBuilder(config)[source]

Bases: athena.graph_builder.base_graph_builder.BaseGraphBuilder

Contact-Graph class.

Build contact graph based on pixel expansion of cell masks.

__init__(config)[source]

Base-Graph Builder constructor

Parameters

config (dict) – Dictionary containing a dict called builder_params that provides function call arguments to the build_topology function