def get_image_height(self, image_id):
    """ Retrieves the image height given an image id """
    if self.image_infos[image_id]['height'] is None:
        self._populate_image_hw(image_id)
    return self.image_infos[image_id]['height']