code: def getParser():
      "Creates and returns the argparse parser object."
      parser = argparse.ArgumentParser(description=__description__)
      parser.add_argument("input", help="Source volume.")
      parser.add_argument("output", help="Target volume.")
      parser.add_argument(
          "-i",
          "--iterations",
          type=int,
          default=1,
          help="The number of smoothing iterations. Strong parameter.",
      )
      parser.add_argument(
          "-k",
          "--kappa",
          type=int,
          default=50,
          help="The algorithms kappa parameter. The higher the more edges are smoothed over.",
      )
      parser.add_argument(
          "-g",
          "--gamma",
          type=float,
          default=0.1,
          help="The algorithms gamma parameter. The higher, the stronger the plateaus between edges are smeared.",
      )
      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_anisotropic_diffusion.py
imports: import argparse
  import logging
  import os
  from medpy.io import load, save, get_pixel_spacing
  from medpy.core import Logger
  from medpy.filter.smoothing import anisotropic_diffusion
label_desc: Use image node_id 3 for calling a global function with example usage: getParser() and returns: parser