code: def main():
      # parse cmd arguments
      parser = getParser()
      parser.parse_args()
      args = getArguments(parser)
  
      # prepare logger
      logger = Logger.getInstance()
      if args.debug:
          logger.setLevel(logging.DEBUG)
      elif args.verbose:
          logger.setLevel(logging.INFO)
  
      # load input image
      input_data, input_header = load(args.input)
  
      # print information about the image
      printInfo(input_data, input_header)
  
      logger.info("Successfully terminated.")
  
file_path: medpy/bin/medpy_info.py
imports: import argparse
  import logging
  from medpy.io import load, get_pixel_spacing, get_offset
  from medpy.core import Logger
label_desc: Use image node_id 1 for calling a global function with example usage: main() without return types