Adding more image data structure functions