55 image.convertTo(temp, CV_64F, 1.0, 0.0);
68 cv::Mat temp_norm_image;
70 cv::medianBlur(mean_image, temp_norm_image, 25);
72 cv::Mat temp_norm_image2;
73 temp_norm_image.convertTo(temp_norm_image2, CV_32F);
75 for (int32_t i = 0; i < temp_norm_image2.rows; i++)
77 for (int32_t j = 0; j < temp_norm_image2.cols; j++)
79 if (temp_norm_image2.at<
float>(i, j) > max1)
81 max1 = temp_norm_image2.at<
float>(i, j);
86 temp_norm_image2 = temp_norm_image2 * (255.0 / max1);
88 cv::Mat temp_norm_image3;
89 temp_norm_image2.convertTo(temp_norm_image3, CV_8U, 1.0, 0.0);
92 cv::GaussianBlur(temp_norm_image3,
RollingNormalization(int32_t size)
cv::Mat AddSample(const cv::Mat &image)