Function swri_image_util::ContrastStretch
Defined in File image_normalization.h
Function Documentation
-
void swri_image_util::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)
Normalizes the illumination in an image using contrast stretching.
- Parameters:
grid_size – [in] The grid size to normalize on
source_image – [in] The image to normalize
dest_image – [out] The resulting normalized image