compact

MainPage

Description: This method updates the node_array and node_index at the end of each filtering procedure (e.g. prune, areaOpen...).

Constructor signature: MorphTreeAlpha.compact(to_remove)

Input:
  • to_remove, 1d-array bool. Array indicating whcih nodes should be removed.

Output:

C++ Aux Function

OK
OK [C/C++ extension is up-to-date]

Python Aux Function

Python Implementation