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","."]
docstr: Restore a state saved by serialize
  
  d - dictionary containing the state
  module - the module providing details on how to perform the correction
  
  returns a provider set up with the restored state
docstr_tok: ["Restore","a","state","saved","by","serialize","d","-","dictionary","containing","the","state","module","-","the","module","providing","details","on","how","to","perform","the","correction","returns","a","provider","set","up","with","the","restored","state"]
code: def deserialize(d, module):
      """Restore a state saved by serialize
  
      d - dictionary containing the state
      module - the module providing details on how to perform the correction
  
      returns a provider set up with the restored state
      """
      provider = CorrectIlluminationImageProvider(
          d[CorrectIlluminationImageProvider.D_NAME], module
      )
      provider.__dirty = True
      provider.__image_sum = d[
          CorrectIlluminationImageProvider.D_IMAGE_SUM
      ]
      provider.__mask_count = d[
          CorrectIlluminationImageProvider.D_MASK_COUNT
      ]
      return provider
  
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 3 for calling the CorrectIlluminationImageProvider obj's underlying member method code with example usage: obj.deserialize(d, module) and returns: provider