图像处理
jianminfly
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
windows下bmp文件读写操作
一、读 引用自 https://www.cnblogs.com/nowornever-L/p/6421776.html #include <iostream> #include <windows.h> #include <stdio.h> using namespace std; int bmpwidth, bmpheight, linebyte; unsigned char* pBmpBuf; //存储图像数据 bool readBmp(const char*原创 2021-05-10 09:55:29 · 688 阅读 · 0 评论 -
Linux 下bmp文件的读写操作
1.写操作 int bmp_write(unsigned char* image, int imageWidth, int imageHeight, const char* filename){ long extrabytes = 4 - ((imageWidth * 3) % 4); if (extrabytes == 4) extrabytes = 0; long paddedsize = ((imageWidth * 3) + extrabytes) * imageHeight; unsi原创 2021-03-10 14:46:19 · 1219 阅读 · 1 评论 -
小白也能看懂的《数字图像处理》冈萨雷斯版中直方图均衡的公式
一、直方图均衡的目的 通过一个变换函数T (r )将像素点映射到s,s中所有级数的像素点出现的概率相同 二、公式推导 公式1 推导过程 令fx(x)为pr®,fy(y)为ps(s),g(x)为T( r ),且其导数大于0,h(y)为g(x)的反函数,即h(y)=x 由此,可以直接得到公式1 公式2 公式3 推导 1.连续函数介值定理 2.积分中值定理 3.变上线积分的求导 把上面最后的结果写成变上线积分的形式,即b改成x,之前的x改成t,就得到变上限积分函数。 然后定义一个点x0,用x->x0+原创 2020-07-01 15:13:17 · 532 阅读 · 0 评论 -
多种直方图均衡化的方法
一、理论 1.直方图均衡 直方图均衡的主要目的是让图片中各个灰度级数的像素数目相等,均匀分布,这样可以达到信息熵最大的目的,从而突出更多的图像细节。在医学领域应用广泛 公式推导 https://blog.youkuaiyun.com/spongebob1234/article/details/77778709 2.CLAHE 1.直方图裁剪 设定一个阈值threshold,当直方图中统计个数count大于threshold时,将count设置为threshold,然后将差值记录下来,累加,最后将差值除以256得到平均数原创 2020-06-30 20:11:55 · 1481 阅读 · 0 评论
分享