added sanity data to some imgproc functions