RF: renamed functions with substrings 'image' and 'volume' to '2d' and '3d' for consistency