code: def image(self, render_mode):
          
          if render_mode == RenderMode.COLOR:
              return self.color_im
          elif render_mode == RenderMode.DEPTH:
              return self.depth_im
          elif render_mode == RenderMode.SEGMASK:
              return self.binary_im
          else:
              return None
docs: Return an image generated with a particular render mode.
  
          Parameters
          ----------
          render_mode : :obj:`RenderMode`
              The type of image we want.
  
          Returns
          -------
          :obj:`Image`
              The color, depth, or binary image if render_mode is
              COLOR, DEPTH, or SEGMASK respectively.