code: def _compute_stats(self, voxels):
      if len(voxels) == 0:
          return np.nan, np.nan, np.nan, np.nan, np.nan, np.nan, np.nan
      median = np.median(voxels)
      mean = np.mean(voxels)
      sd = np.std(voxels)
      mn = np.min(voxels)
      mx = np.max(voxels)
      percentile_99_5 = np.percentile(voxels, 99.5)
      percentile_00_5 = np.percentile(voxels, 00.5)
      return median, mean, sd, mn, mx, percentile_99_5, percentile_00_5
  
file_path: PaddleSeg/contrib/MedicalSeg/tools/preprocess_utils/dataset_analyzer.py
imports: import json
  import os
  import pickle
  import numpy
  from skimage.morphology import label
  from collections import OrderedDict
  from multiprocessing import Pool
  from .path_utils import join_paths
label_desc: Use image node_id 9 for calling the DatasetAnalyzer obj's underlying member method code with example usage: obj._compute_stats(voxels) and returns: median,  mean,  sd,  mn,  mx,  percentile_99_5,  percentile_00_5, np,  np,  np,  np,  np,  np,  np