class_docstr: Base Command Interface for seg_stats interfaces.
  
  The executable seg_stats enables the estimation of image statistics on
  continuous voxel intensities (average, standard deviation, min/max, robust
  range, percentiles, sum, probabilistic volume, entropy, etc) either over
  the full image or on a per slice basis (slice axis can be specified),
  statistics over voxel coordinates (location of max, min and centre of
  mass, bounding box, etc) and statistics over categorical images (e.g. per
  region volume, count, average, Dice scores, etc). These statistics are
  robust to the presence of NaNs, and can be constrained by a mask and/or
  thresholded at a certain level.
class_docstr_tok: ["Base","Command","Interface","for","seg_stats","interfaces",".","The","executable","seg_stats","enables","the","estimation","of","image","statistics","on","continuous","voxel","intensities","(","average",",","standard","deviation",",","min\/max",",","robust","range",",","percentiles",",","sum",",","probabilistic","volume",",","entropy",",","etc",")","either","over","the","full","image","or","on","a","per","slice","basis","(","slice","axis","can","be","specified",")",",","statistics","over","voxel","coordinates","(","location","of","max",",","min","and","centre","of","mass",",","bounding","box",",","etc",")","and","statistics","over","categorical","images","(","e.g",".","per","region","volume",",","count",",","average",",","Dice","scores",",","etc",")",".","These","statistics","are","robust","to","the","presence","of","NaNs",",","and","can","be","constrained","by","a","mask","and\/or","thresholded","at","a","certain","level","."]
code: def _list_outputs(self):
      outputs = self.output_spec().get()
      outputs["output"] = self.output
      return outputs
  
imports: import numpy
  from ..base import TraitedSpec, File, traits, CommandLineInputSpec
  from .base import NiftySegCommand
  from ..niftyreg.base import get_custom_path
label_desc: Use image node_id 3 for calling the StatsCommand obj's underlying member method code with example usage: obj._list_outputs() and returns: outputs