def add_image(image)
      raise ArgumentError, "Invalid argument 'image'. Expected Image, got #{image.class}." unless image.is_a?(Image)
      @associated_instance_uids[image.uid] = image
      # If the ImageSeries of an added Image is not connected to this Frame yet, do so:
      add_series(image.series) unless series(image.series.uid)
    end
def add_image(image)
      raise ArgumentError, "Invalid argument 'image'. Expected Image, got #{image.class}." unless image.is_a?(Image)
      @associated_instance_uids[image.uid] = image
      # If the ImageSeries of an added Image is not connected to this Frame yet, do so:
      add_series(image.series) unless series(image.series.uid)
    end
Adds an Image to this Frame.

 @param [Image] image an image instance to be associated with this frame