30 #ifndef IMAGE_UTIL_IMAGE_NORMALIZATION_H_ 31 #define IMAGE_UTIL_IMAGE_NORMALIZATION_H_ 39 #include <opencv2/core/core.hpp> 40 #include <opencv2/imgproc/imgproc.hpp> 66 const cv::Mat& source_image,
68 const cv::Mat& mask=cv::Mat(),
70 double min_max = 0.0);
115 #endif // IMAGE_UTIL_IMAGE_NORMALIZATION_H_
void NormalizeResponse(const cv::Mat &src, cv::Mat &dst, int winsize, int ftzero, uchar *buf)
cv::Mat generate_normalization_image(const std::vector< cv::Mat > &image_list)
Computes a best estimate of a normalization image from a vector of images.
cv::Mat scale_2_8bit_color(const cv::Mat &image)
Convert the input Mat to 8 bit color.
void normalize_illumination(cv::Mat NormImage, cv::Mat SourceImage, cv::Mat &DestImage)
cv::Mat scale_2_8bit(const cv::Mat &image)
Convert the input Mat to 8 bit.
void ContrastStretch(int32_t grid_size, const cv::Mat &source_image, cv::Mat &dest_image, const cv::Mat &mask=cv::Mat(), double max_min=0.0, double min_max=0.0)