# dip **Repository Path**: shark-dynamics/dip ## Basic Information - **Project Name**: dip - **Description**: 数字图像处理的一些算法python实现 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-08-16 - **Last Updated**: 2021-08-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #### 数字图像处理的一些总结 #### 1. 空间域增强 - 相加平均 - 灰度映射 - 直方图均衡化 - 线性滤波 - 非线性滤波 #### 2. 傅里叶变换频域增强 - 低通(平滑)滤波 - 高通(锐化)滤波 #### 3. 图像复原 - 退化函数 - 逆滤波 - 维纳滤波 #### 4. 图片缩放 - 最近邻 - 双线性 - 双三次 #### 5. 边缘检测 - 普通滤波 - Marr-Hildreth - Canny #### 6.形态学 - 腐蚀 膨胀 - 开 闭 ### 声明:此项目里的实现很多是自己写的,如增强部分,全是按像素卷积的实现,并没有效率,旨在实现背后的思想。 #### 1.前置 > 按一定统计规律生成一些噪声,用于对图像进行加噪干扰 ![](intros/noise.png) #### 2.相加平均 > 多个噪声图片相加平均 ![](intros/add_mean.png) #### 3.取反 ![](intros/gray_inverse.png) #### 4.分段增强 > 用此分段函数,对图片进行分段增强 ![](intros/intro_segment_enhance.png) > 增强后的结果 ![](intros/seg_enhance.png) #### 5.对数变换 ![](intros/log_enhance.png) #### 6.幂律变换 ![](intros/r_enhance.png) #### 7.灰度切割 ![](intros/gray_cut.png) #### 8.阈值 ![](intros/threshold.png) #### 9.位图切割 ![](intros/bitmap_cut.png) #### 10.直方图均衡化 > 修改前后的照片 ![](intros/hist_adj.png) > 修改前后的直方图 ![](intros/hist_intro.png) #### 11.邻域平均 ![](intros/filter_mean.png) #### 12.加权平均 ![](intros/filter_weight_mean.png) #### 13.中值滤波 ![](intros/filter_mid_value.png) #### 14.最大最小值滤波 ![](intros/filter_max_min.png) #### 15.中点滤波 ![](intros/filter_mid_point.png) #### 16.Sobel算子 ![](intros/filter_sobel.png) #### 17.拉普拉斯算子 ![](intros/filter_laplace.png) #### 18.进入FFT ![](intros/fft_start.png) #### 19.理想低通滤波 ![](intros/idea_low.png) #### 20.巴特沃斯低通滤波 ![](intros/butter_worth_low.png) #### 21.高斯低通滤波 ![](intros/gaussian_low.png) #### 22.理想高通 ![](intros/idea_high.png) #### 23.巴特沃斯高通 ![](intros/butter_worth_high.png) #### 24.高斯高通 ![](intros/gaussian_high.png) #### 25.图像恢复 ![](intros/image_recover.png) #### 26.膨胀腐蚀(OpenCV) ![](intros/ed.png) #### 27.缩放(OpenCV) ![](intros/scale.png) #### 27.Canny边缘(OpenCV) ![](intros/canny_1.png) ![](intros/canny_2.png)