Intermediate checkin: changing GenericImage to have a PatternSampler instance, rather than creating one from a type each time. Should simplify code and cut down on parameter duplication.
Intermediate checkin: changing GenericImage to have a PatternSampler instance, rather than creating one from a type each time. Should simplify code and cut down on parameter duplication.

ioam/svn-history,ioam/svn-history,ioam/svn-history,ioam/svn-history,ioam/svn-history