code: def getParser():
      "Creates and returns the argparse parser object."
      parser = argparse.ArgumentParser(
          description=__description__,
          formatter_class=argparse.RawTextHelpFormatter,
      )
      parser.add_argument("input", help="Source volume.")
      parser.add_argument("output", help="Target volume.")
      parser.add_argument(
          "dimension",
          type=int,
          help="The dimension along which to zoom.",
      )
      parser.add_argument(
          "enhancement",
          type=int,
          help="How many slices to put between each original slice.",
      )
      # parser.add_argument('-o', dest='objects', action='store_true', help='Activate this flag to perform the zoom for any binary object in the image separatly.')
      parser.add_argument(
          "-v",
          dest="verbose",
          action="store_true",
          help="Display more information.",
      )
      parser.add_argument(
          "-d",
          dest="debug",
          action="store_true",
          help="Display debug information.",
      )
      parser.add_argument(
          "-f",
          dest="force",
          action="store_true",
          help="Silently override existing output images.",
      )
      return parser
  
file_path: medpy/bin/medpy_zoom_image.py
imports: import argparse
  import logging
  import os
  from scipy.ndimage import interpolation
  from medpy.core import Logger
  from medpy.io import load, save, header
label_desc: Use image node_id 4 for calling a global function with example usage: getParser() and returns: parser