/**
  * Gets the image of channel two. Takes channel swapping into consideration and will return image
  * of channel one if swapped.
  *
  * @return The image of what is seen as channel two.
  */
 protected RandomAccessibleInterval<T> getImageCh2(DataContainer<T> container) {
   return swapChannels ? container.getSourceImage1() : container.getSourceImage2();
 }