Searched refs:kernel_current (Results 1 – 1 of 1) sorted by relevance
/external/libxcam/modules/ocl/ |
D | cv_image_deblurring.cpp | 206 cv::Mat kernel_current = cv::Mat::zeros (kernel_size, kernel_size, CV_32FC1); in blind_deblurring_one_channel() local 212 _wiener->wiener_filter (blurred, sharpened.clone (), kernel_current, noise_power); in blind_deblurring_one_channel() 213 kernel_current = kernel_current (cv::Rect (0, 0, kernel_size, kernel_size)); in blind_deblurring_one_channel() 216 cv::minMaxLoc (kernel_current, &min_val, &max_val); in blind_deblurring_one_channel() 217 _helper->apply_constraints (kernel_current, (float)max_val / 20); in blind_deblurring_one_channel() 218 _helper->normalize_weights (kernel_current); in blind_deblurring_one_channel() 219 _wiener->wiener_filter (blurred, kernel_current.clone(), deblurred_current, noise_power); in blind_deblurring_one_channel() 223 kernel = kernel_current.clone (); in blind_deblurring_one_channel()
|