def display(self, display_before=False):
try:<EOL><INDENT>copy = self.image.copy()<EOL><DEDENT>except AttributeError:<EOL><INDENT>raise Exception("<STR_LIT>")<EOL><DEDENT>copy = BrightnessProcessor(brightness=<NUM_LIT>).process(copy)<EOL>s, g = self._input, self.good_segments_indexes<EOL>draw_segments(copy, s[g], (<NUM_LIT:0>, <NUM_LIT:255>, <NUM_LIT:0>))<EOL>draw_segments(copy, s[True ^ g], (<NUM_LIT:0>, <NUM_LIT:0>, <NUM_LIT:255>))<EOL>show_image_and_wait_for_key(copy, "<STR_LIT>" + self.__class__.__name__)<EOL>
shows the effect of this filter