32 #ifndef TRANSFORMATIONS_H 33 #define TRANSFORMATIONS_H 35 #include <opencv2/opencv.hpp> 48 cv::Mat &noisy_image);
56 cv::Mat &noisy_image);
76 static void applyBlur(
const cv::Mat &image,
int size, cv::Mat &blurred_image);
86 float sigma_y, cv::Mat &blurred_image);
94 cv::Mat &blurred_image);
104 float sigma_space, cv::Mat &filtered_image);
113 float angle, cv::Mat &blurred_image);
123 float shear, cv::Mat &sheared_image);
133 float shear, cv::Mat &sheared_image);
142 static void applyRotation(
const cv::Mat &image,
int crop,
float angle,
143 cv::Mat &rotated_image,
int interpolation = cv::INTER_LINEAR);
154 int translation_x,
int translation_y, cv::Mat &translated_image);