code: def main():
      args = getArguments(getParser())
  
      # prepare logger
      logger = Logger.getInstance()
      if args.debug:
          logger.setLevel(logging.DEBUG)
      elif args.verbose:
          logger.setLevel(logging.INFO)
  
      # loading input image
      input_data, input_header = load(args.example)
  
      # create empty volume with same attributes
      output_data = scipy.zeros(
          input_data.shape, dtype=input_data.dtype
      )
  
      # save resulting image
      save(output_data, args.output, input_header, args.force)
  
      logger.info("Successfully terminated.")
  
file_path: medpy/bin/medpy_create_empty_volume_by_example.py
imports: import argparse
  import logging
  import scipy
  from medpy.core import Logger
  from medpy.io import load, save
label_desc: Use image node_id 1 for calling a global function with example usage: main() without return types