code: def __init__(self, bin_img):
      self.bin_img = bin_img
      self.rle, self.vals = hv_rle(self.bin_img)
      self.most_common = get_most_common(self.rle)
      self.thickness, self.spacing = calculate_thickness_spacing(
          self.rle, self.most_common
      )
      self.thick_space = self.thickness + self.spacing
      self.no_staff_img = remove_staff_lines(
          self.rle, self.vals, self.thickness, self.bin_img.shape
      )
  
      self.segment()
  
imports: from rle import *
  from commonfunctions import *
  from staff import calculate_thickness_spacing, remove_staff_lines
label_desc: Use image node_id 1 to create a new Segmenter object from inherited base classes: object with example: obj = Segmenter(bin_img)