docstr: Retrieve the data of the target image from file.
  
  Parameters
  ----------
  collection_image:
      A tuple pair containing the target
      :class:`~cartopy.io.img_nest.ImageCollection` name and
      :class:`~cartopy.io.img_nest.Img` instance.
  
  Returns
  -------
  img_data, img.extent, img.origin
      A tuple containing three items, consisting of the associated image
      file data, the (x_lower, x_upper, y_lower, y_upper) extent of the
      image, and the image origin.
  
  Note
  ----
    The format of the retrieved image file data is controlled by
    :attr:`~cartopy.io.img_nest.NestedImageCollection.desired_tile_form`,
    which defaults to 'RGB' format.
docstr_tok: ["Retrieve","the","data","of","the","target","image","from","file",".","Parameters","--","--","--","--","--","collection_image",":","A","tuple","pair","containing","the","target",":","class",":","`","~cartopy.io.img_nest.ImageCollection","`","name","and",":","class",":","`","~cartopy.io.img_nest.Img","`","instance",".","Returns","--","--","--","-","img_data",",","img.extent",",","img.origin","A","tuple","containing","three","items",",","consisting","of","the","associated","image","file","data",",","the","(","x_lower",",","x_upper",",","y_lower",",","y_upper",")","extent","of","the","image",",","and","the","image","origin",".","Note","--","--","The","format","of","the","retrieved","image","file","data","is","controlled","by",":","attr",":","`","~cartopy.io.img_nest.NestedImageCollection.desired_tile_form","`",",","which","defaults","to","'RGB","'","format","."]
code: def get_image(self, collection_image):
      """
      Retrieve the data of the target image from file.
  
      Parameters
      ----------
      collection_image:
          A tuple pair containing the target
          :class:`~cartopy.io.img_nest.ImageCollection` name and
          :class:`~cartopy.io.img_nest.Img` instance.
  
      Returns
      -------
      img_data, img.extent, img.origin
          A tuple containing three items, consisting of the associated image
          file data, the (x_lower, x_upper, y_lower, y_upper) extent of the
          image, and the image origin.
  
      Note
      ----
        The format of the retrieved image file data is controlled by
        :attr:`~cartopy.io.img_nest.NestedImageCollection.desired_tile_form`,
        which defaults to 'RGB' format.
  
      """
      img = collection_image[1]
      img_data = Image.open(img.filename)
      img_data = img_data.convert(self.desired_tile_form)
      return img_data, img.extent, img.origin
  
imports: import collections
  from pathlib import Path
  import numpy
  from PIL import Image
  import shapely.geometry
label_desc: Use image node_id 6 for calling the NestedImageCollection obj's underlying member method code with example usage: obj.get_image(collection_image) and returns: img_data,  img,  img