original_docstring: 
      Creates the pretty semantic image starting from semantic image.
      :param color: the color used to fill positive pixels
      :return:
      
docstring: Creates the pretty semantic image starting from semantic image.
docstring_tokens: Creates the pretty semantic image starting from semantic image .
code: def create_pretty_semantic_image(self, color: Color) -> 'DoorSample':
      """
      Creates the pretty semantic image starting from semantic image.
      :param color: the color used to fill positive pixels
      :return:
      """
      pretty_image = self.get_pretty_semantic_image()
  
      positive_colorss = self.get_positive_colors()
      for index in np.ndindex (pretty_image.shape[:2]):
          if pretty_image[index].tolist() in positive_colorss:
              pretty_image[index] = color.BGR()
          else:
              pretty_image[index] = 0
  
      self.set_pretty_semantic_image(pretty_image.astype(np.uint8))
  
      return self
code_tokens: def create_pretty_semantic_image ( self , color : Color ) -> 'DoorSample' : pretty_image = self . get_pretty_semantic_image ( ) positive_colorss = self . get_positive_colors ( ) for index in np . ndindex ( pretty_image . shape [ : 2 ] ) : if pretty_image [ index ] . tolist ( ) in positive_colorss : pretty_image [ index ] = color . BGR ( ) else : pretty_image [ index ] = 0 self . set_pretty_semantic_image ( pretty_image . astype ( np . uint8 ) ) return self
short_docstring: Creates the pretty semantic image starting from semantic image.
short_docstring_tokens: Creates the pretty semantic image starting from semantic image .
comment: """
      Creates the pretty semantic image starting from semantic image.
      :param color: the color used to fill positive pixels
      :return:
      """