docstr: Get median pixel level for each layer
docstr_tok: ["Get","median","pixel","level","for","each","layer"]
code: def _getmedian(self):
      """Get median pixel level for each layer"""
  
      v = []
      for i in self.bands:
          s = 0
          half = self.count[i] // 2
          b = i * 256
          for j in range(256):
              s = s + self.h[b + j]
              if s > half:
                  break
          v.append(j)
      return v
  
file_path: catboost/contrib/python/Pillow/py2/PIL/ImageStat.py
imports: import functools
  import math
  import operator
label_desc: Use image node_id 8 for calling the Stat obj's underlying member method code with example usage: obj._getmedian() and returns: v