Function swri_image_util::replaceColors

Function Documentation

void swri_image_util::replaceColors(const cv::Mat &original_image, const cv::Mat &lut, cv::Mat &modified_image)

Replaces the colors in original_image with the values from the look up table in lut. The modified image is stored in modified_image