30个图像处理的VC++ 源代码,包括256色转灰度图,Hough变换,image_j1,PCA,Walsh变换,对比度拉伸,二值化变换,反色,
方块编码,...
30个图像处理的VC++ 源代码,包括256色转灰度图,Hough变换,image_j1,PCA,Walsh变换,对比度拉伸,二值化变换,反色,
方块编码,傅立叶变换,高斯平滑,灰度均衡,均值滤波,拉普拉斯锐化(边缘检测),
离散余弦变换,亮度增减,逆滤波处理,取对数,取指数,梯度锐化,图象处理,图像镜像,
图像平移,图像缩放,图像细化,图像旋转,维纳滤波处理,用Canny算子提取边缘,阈值变换,直方图均衡.-30 image processing VC++ Source code, including 256 colors to grayscale, Hough transform, image_j1, PCA, Walsh transform, contrast stretching, binarization transformation, anti-color, box encoding, Fourier Transform , Gaussian smoothing, gray balance, mean filter, Laplacian sharpening (edge detection), discrete cosine transform, the brightness increases and decreases in inverse filtering deal, check on the number of check index, the gradient sharpening, image processing, mirror image, image translation, image scaling, image thinning, image rotation, Wiener filtering treatment using Canny edge extraction operator, threshold transform, histogram equalization.
- 2022-03-19 15:50:46下载
- 积分:1
本代码实现的功能:24位位图(BMP)的灰度化。具体实现过程:打开图像文件,找到数据区(每3个字节代表一个象素的R,G,B值),循环扫描,根据RGB的权重,计算...
本代码实现的功能:24位位图(BMP)的灰度化。具体实现过程:打开图像文件,找到数据区(每3个字节代表一个象素的R,G,B值),循环扫描,根据RGB的权重,计算出灰度值. 如果要得到256色灰度图,则要新建一个调色板,修改信息头和文件头.-Realize the function of the code: 24-bit bitmap (BMP) of the gray. Concrete realization of the process: Open the image file, locate the data area (3 bytes per pixel on behalf of a R, G, B values), cyclic scan, according to the weight of RGB, gray value is calculated. If you want to get 256 colors grayscale, would create a new palette, modify the header and file header information.
- 2022-05-18 00:16:22下载
- 积分:1