athena.graph_builder.contact_graph_builder module¶
Summary¶
Classes:
Contact-Graph class. |
Functions:
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.