Generic operations on ImgLib2 data structures