self.corrected_image_name = cps.ImageNameProvider("What do you want to call the corrected image?","CorrBlue")
self.illum_correct_function_image_name = cps.ImageNameSubscriber("What did you call the illumination correction function image to be used to carry out the correction (produced by another module or loaded as a .mat format image using Load Single Image)?","None")
self.divide_or_subtract = cps.Choice("How do you want to apply the illumination correction function?",
[DOS_DIVIDE, DOS_SUBTRACT], doc = """This choice depends on how the illumination function was calculated
and on your physical model of how illumination variation affects the background of images relative to
the objects in images. <ul><li>Subtract: Use <i>Subtract</i> if the background signal is significant relative to the real signal
coming from the cells (a somewhat empirical decision). If you created the illumination correction function using <i>Background</i>,
After Change
def create_settings(self):
Make settings here (and set the module name)
self.images = []
self.add_image(can_delete = False)
self.add_image_button = cps.DoSomething("Add another image","Add",
self.add_image)
def add_image(self, can_delete = True):