sqrt double for image::vector