跟据条件输入图像输出图像我要分享

Input image and output image according to conditions

条件 输入 输出 图像

关注次数: 252

下载次数: 0

文件大小: 168KB

代码分类: 图像处理

开发平台: matlab

下载需要积分: 1积分

版权声明:如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

代码描述

中文说明:

对于一幅输入图像,将产生一幅输出图像,输出图像的每个像素点的灰度值由输入像素点决定,将感兴趣特征的对比度扩展使之占据可显示灰度级的更大部分。使一输入图像转换为在每一灰度级上都有相同的像素点数,均衡化会减少灰度级数。大多数自然图像由于其灰度值分布集中在较窄的范围之内,引起图像细节不够清楚。采用直方图修正后可使图像的灰度间距拉大或使灰度均匀分布,从而增大了反差,使图像细节清楚,达到增强的目的。


English Description:

For an input image, an output image will be generated. The gray value of each pixel of the output image is determined by the input pixel, and the contrast of the feature of interest will be expanded to occupy a larger part of the displayable gray level. If an input image is converted to have the same number of pixels at each gray level, equalization will reduce the gray level. Because the gray value distribution of most natural images is concentrated in a narrow range, the image details are not clear enough. After histogram correction, the gray spacing of the image can be enlarged or the gray can be evenly distributed, so as to increase the contrast, make the image details clear and achieve the purpose of enhancement


代码预览