Normalize xy, yz, and xz into one cutout function.
Simplified the imaging calls.