A 3D Image Processing Framework