<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def image(self, render_mode):
 """ Get the image associated with a particular render mode """

        if render_mode == RenderMode.SEGMASK:
            return self.query_im
        elif render_mode == RenderMode.COLOR:
            return self.color_im
        elif render_mode == RenderMode.DEPTH:
            return self.depth_im
        else:
            raise ValueError('Render mode %s not supported' %(render_mode))