Classes | |
class | SolidityRagMerge |
ros node More... | |
Functions | |
def | _solidity_merge_func |
def | _solidity_weight_func |
rag merging functions | |
def | closed_mask_roi |
def | masked_slic |
utils | |
def | rag_solidity |
rag function |
def node_scripts.solidity_rag_merge._solidity_merge_func | ( | graph, | |
src, | |||
dst | |||
) | [private] |
Callback called before merging two nodes of a solidity graph.
Definition at line 101 of file solidity_rag_merge.py.
def node_scripts.solidity_rag_merge._solidity_weight_func | ( | graph, | |
src, | |||
dst, | |||
n | |||
) | [private] |
rag merging functions
Callback to handle merging nodes by recomputing solidity.
Definition at line 88 of file solidity_rag_merge.py.
def node_scripts.solidity_rag_merge.closed_mask_roi | ( | mask | ) |
Definition at line 129 of file solidity_rag_merge.py.
def node_scripts.solidity_rag_merge.masked_slic | ( | img, | |
mask, | |||
n_segments, | |||
compactness | |||
) |
utils
Definition at line 113 of file solidity_rag_merge.py.
def node_scripts.solidity_rag_merge.rag_solidity | ( | labels, | |
connectivity = 2 |
|||
) |
rag function
Definition at line 31 of file solidity_rag_merge.py.