class_docstr: CorrectIlluminationImageProvider provides the illumination correction image
  
  This class accumulates the image data from successive images and
  calculates the illumination correction image when asked.
class_docstr_tok: ["CorrectIlluminationImageProvider","provides","the","illumination","correction","image","This","class","accumulates","the","image","data","from","successive","images","and","calculates","the","illumination","correction","image","when","asked","."]
code: def __init__(self, name, module):
      super(CorrectIlluminationImageProvider, self).__init__()
      self.__name = name
      self.__module = module
      self.__dirty = False
      self.__image_sum = None
      self.__mask_count = None
      self.__cached_image = None
      self.__cached_avg_image = None
      self.__cached_dilated_image = None
      self.__cached_mask_count = None
  
imports: import centrosome.bg_compensate
  import centrosome.cpmorphology
  import centrosome.cpmorphology
  import centrosome.filter
  import centrosome.smooth
  import numpy
  import scipy.ndimage
  import skimage.filters
  from cellprofiler_core.image import AbstractImage
  from cellprofiler_core.image import Image
  from cellprofiler_core.measurement import Measurements
  from cellprofiler_core.module import Module
  from cellprofiler_core.pipeline import Pipeline
  from cellprofiler_core.setting import Binary
  from cellprofiler_core.setting import ValidationError
  from cellprofiler_core.setting.choice import Choice
  from cellprofiler_core.setting.subscriber import ImageSubscriber
  from cellprofiler_core.setting.text import Float
  from cellprofiler_core.setting.text import ImageName
  from cellprofiler_core.setting.text import Integer
label_desc: Use image node_id 1 to create a new CorrectIlluminationImageProvider object from inherited base classes: AbstractImage with example: obj = CorrectIlluminationImageProvider(name, module)