opencv水下图像增强
时间: 2023-09-14 08:13:53 浏览: 188
在OpenCV中进行水下图像增强可以使用伽马矫正的方法。伽马矫正是一种非线性变换,通过调整图像的亮度来改善水下图像的质量。以下是一个使用伽马矫正的示例代码:
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
using namespace cv;
Mat gammaTrans(Mat& m_img, double gamma, int n_c);
int main() {
#### 引用[.reference_title]
- *1* *3* [【OpenCV 进阶笔记】—— 图像增强算法详细解析以及算法实现 1 —— 伽马变换算法(Based on C++)](https://blog.csdn.net/weixin_44586473/article/details/105757712)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [水下图像处理评价手段(python-opencv代码可运行)](https://blog.csdn.net/qq_43010752/article/details/122351672)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文