changed interface to move image data into subclasses and stereo methods out of base class