docstr: Adjust the setting values of old versions
  
  setting_values - sequence of strings that are the values for our settings
  variable_revision_number - settings were saved by module with this
                             variable revision number
  module_name - name of module that did the saving
  returns upgraded setting values and upgraded variable revision number
  pyCellProfiler variable revision number 1 supported.
docstr_tok: ["Adjust","the","setting","values","of","old","versions","setting_values","-","sequence","of","strings","that","are","the","values","for","our","settings","variable_revision_number","-","settings","were","saved","by","module","with","this","variable","revision","number","module_name","-","name","of","module","that","did","the","saving","returns","upgraded","setting","values","and","upgraded","variable","revision","number","pyCellProfiler","variable","revision","number","1","supported","."]
code: def upgrade_settings(
      self, setting_values, variable_revision_number, module_name
  ):
      """Adjust the setting values of old versions
  
      setting_values - sequence of strings that are the values for our settings
      variable_revision_number - settings were saved by module with this
                                 variable revision number
      module_name - name of module that did the saving
      returns upgraded setting values and upgraded variable revision number
      pyCellProfiler variable revision number 1 supported.
      """
  
      if variable_revision_number == 1:
          # Added spline parameters
          setting_values = setting_values + [
              "Yes",  # automatic_splines
              centrosome.bg_compensate.MODE_AUTO,  # spline_bg_mode
              "5",  # spline points
              "2",  # spline threshold
              "2",  # spline rescale
              "40",  # spline maximum iterations
              "0.001",
          ]  # spline convergence
          variable_revision_number = 2
  
      return setting_values, variable_revision_number
  
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 20 for calling the CorrectIlluminationCalculate obj's underlying member method code with example usage: obj.upgrade_settings(setting_values, variable_revision_number, module_name) and returns: setting_values,  variable_revision_number