Closed william-silversmith closed 2 years ago
Adds function cc3d.contacts which returns a dict of label tuples that map to either the contact surface area or the number of voxel contacts.
cc3d.contacts
cc3d.contacts(labels, connectivity=26, surface_area=True, anisotropy=(1,1,1))
cc3d.region_graph is retained for backwards compatibility, but all functionality is delegated to contacts as it's just the set of keys returned from contacts.
cc3d.region_graph
contacts
Adds function
cc3d.contacts
which returns a dict of label tuples that map to either the contact surface area or the number of voxel contacts.cc3d.contacts(labels, connectivity=26, surface_area=True, anisotropy=(1,1,1))
cc3d.region_graph
is retained for backwards compatibility, but all functionality is delegated tocontacts
as it's just the set of keys returned fromcontacts
.