72
edits
Changes
m
→Class Declaration
//class to hold the functionality for openMP img processing
class openMP_imgProcessor {
//laplacian kernel used in sharpening
public:
openMP_imgProcessor() { omp_set_num_threads(15); }
void sharpenImg(cv::Mat& image);
void brightenImg(cv::Mat& image, int brightnessLvl);
void saturateImg(cv::Mat& image, double saturationLvl);
};
</syntaxhighlight>