伽马变换: void gamma_transform(cv::Mat &img, double gamma) { cv::Mat normalized; img.convertTo(normalized, CV_64F