code: def getParser():
      "Creates and returns the argparse parser object."
      parser = argparse.ArgumentParser(
          formatter_class=argparse.RawDescriptionHelpFormatter,
          description=__description__,
      )
      parser.add_argument("input", help="the input image")
      parser.add_argument("output", help="the output image")
      parser.add_argument(
          "spacing",
          type=argparseu.sequenceOfFloatsGt,
          help="the desired voxel spacing in colon-separated values, e.g. 1.2,1.2,5.0",
      )
      parser.add_argument(
          "-o",
          "--order",
          type=int,
          default=0,
          dest="order",
          help="the bspline order, default is 0 (= nearest neighbour)",
      )
  
      parser.add_argument(
          "-v",
          "--verbose",
          dest="verbose",
          action="store_true",
          help="verbose output",
      )
      parser.add_argument(
          "-d",
          dest="debug",
          action="store_true",
          help="Display debug information.",
      )
      parser.add_argument(
          "-f",
          "--force",
          dest="force",
          action="store_true",
          help="overwrite existing files",
      )
      return parser
  
file_path: medpy/bin/medpy_binary_resampling.py
imports: import os
  import logging
  import argparse
  import numpy
  from scipy.ndimage import zoom
  from scipy.ndimage import distance_transform_edt, binary_erosion
  from scipy.ndimage import label
  from medpy.core import Logger
  from medpy.filter import resample, bounding_box
  from medpy.utilities import argparseu
  from medpy.io import load, save, header
label_desc: Use image node_id 6 for calling a global function with example usage: getParser() and returns: parser