separated curvature flow and image flow for flexibility