class_docstr: Executes the complete pipeline of the graph cut algorithm, checking the results.
class_docstr_tok: ["Executes","the","complete","pipeline","of","the","graph","cut","algorithm",",","checking","the","results","."]
docstr: The boundary term function used for this tests.
docstr_tok: ["The","boundary","term","function","used","for","this","tests","."]
code: def __boundary_term(graph, label_image, boundary_term_args):
      "The boundary term function used for this tests."
      dic = TestCut.__get_mapping()
      for key, value in list(dic.items()):
          dic[key] = (value, value)
      return dic
  
file_path: medpy/tests/graphcut_/cut.py
imports: import unittest
  from medpy.graphcut import graph_from_labels, GraphDouble, Graph, graph_from_voxels
  from medpy.graphcut.energy_voxel import boundary_difference_linear
  from medpy import filter
  import scipy
label_desc: Use image node_id 3 for calling the TestCut obj's underlying member method code with example usage: obj.__boundary_term(graph, label_image, boundary_term_args) and returns: dic