class_docstr: This program computes voxelwise statistics on a series of 3D images. The images
  must be in the same space; the operation is performed voxelwise and one output
  is produced per voxel.
  
  Examples
  --------
  
  >>> import nipype.interfaces.camino as cam
  >>> imstats = cam.ImageStats()
  >>> imstats.inputs.in_files = ['im1.nii','im2.nii','im3.nii']
  >>> imstats.inputs.stat = 'max'
  >>> imstats.run()                  # doctest: +SKIP
code: def _gen_outfilename(self):
      output_root = self.inputs.output_root
      first_file = self.inputs.in_files[0]
      _, _, ext = split_filename(first_file)
      return output_root + ext
  
file_path: nipype/nipype/interfaces/camino/utils.py
imports: import os
  from ..base import traits, TraitedSpec, File, CommandLine, CommandLineInputSpec, InputMultiPath
  from ...utils.filemanip import split_filename
label_desc: Use image node_id 2 for calling the ImageStats obj's underlying member method code with example usage: obj._gen_outfilename() and returns: unknown