登录
首页 » Visual C++ » HuffmanExp

HuffmanExp

于 2010-11-13 发布 文件大小:106KB
0 305
下载积分: 1 下载次数: 5

代码说明:

  实现对灰度图像的哈夫曼编码,对于其他图像,也可以类似的完成。(Realize grayscale images of hoffmann coding, for other image, also can be similar to the finish.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • vcpicph
    VC++图像平滑处理+程序源码,实现图象的平滑(去噪声),锐化功能,测试时请在C盘下放一个测试用的Bmp图片,路径:C: est.bmp,没有的话没法测试。如上图所示是水平平滑处理,可以对比下,不过感觉颜色失真了,有兴趣的看一下。命令行编译过程如下:   vcvars32   rc bmp.rc   cl smooth.c bmp.res user32.lib gdi32.lib(VC++ image smoothing+ program source code, to achieve a smooth image (to noise), sharpening function in the C drive when testing a test of decentralization Bmp picture, path: C: test.bmp, no words can not test . Is shown above the level of smoothing, you can compare the next, but the feeling of color distortion, interested look. Command-line compiler as follows: vcvars32 rc bmp.rc cl smooth.c bmp.res user32.lib gdi32.lib)
    2014-02-18 15:30:52下载
    积分:1
  • Gaussian
    打开24位彩色bmp文件, 显示该图像 将图像内容顺时针旋转90度后显示出来 将图像分成等大小的4块,将第1和第3块像素互换后保存 将旋转后的图像转换成灰度图像显示,并保存 对灰度图像求Sobel边缘图,显示出来,并保存 对灰度图像进行Gaussian平滑,并保存(需要体会平滑的作用) 对灰度图像进行2值化(Open 24-bit color bmp files, displays the image will rotate clockwise image content displayed image is divided into four equal-sized 90 degrees, the first and three pixels after swap to save the rotated image conversion ashes of the image display, and save images to grayscale seeking Sobel edge map is displayed, and save the gray image Gaussian smoothing, and save (experience required smoothing effect) grayscale image binarized)
    2020-06-29 07:40:01下载
    积分:1
  • FillRegion
    填充区域图像,设置填充区域,填出图像的颜色(Filled regional images, set fill area, fill in the color of the image)
    2009-01-18 22:45:33下载
    积分:1
  • 2DFFT-IFFT
    这是我做的一个二维傅里叶变换的程序,可以对图像进行2DFFT变换得到频谱图,并利用2DIFFT得到原图像(I do a two-dimensional Fourier transform procedure, 2DFFT transform spectrogram image and utilize 2DIFFT original image)
    2012-12-01 15:56:14下载
    积分:1
  • Kmeans
    说明:  基于Kmeans算法的图像分割,一般Kmeans是数据挖掘中用来聚类的,本试验利用图像中的灰度值作为Kmeans算法的原始点,进行图像分割(Kmeans algorithm based on image segmentation, data mining in general Kmeans is used to clustering, the trial use of the image gray value as the original algorithm Kmeans spots for Image Segmentation)
    2021-04-06 16:49:03下载
    积分:1
  • Wavelet
    Visual C++下的小波变换,小波分解与重构,加入噪声分析,显示分解和重构图形。(Wavelets for data encode and uncode, the figures would be shown.)
    2009-04-09 21:55:21下载
    积分:1
  • EDLines 快速直线检测算子
    EDLines是一种快速直线检测算子,2012年在ICCV上提出,也是目前处理直线检测最快的算法之一,该算法包含三个步骤:(1)边缘提取:利用Edge Drawing (ED)算法[28,29]从灰度图像中提取边缘片段;(2)线段检测:利用最小二乘法提取直线段;(3)线段确认:遵循Helmholtz定律,从已提取的直线段中摒弃虚假线段。EDLines算法的优越性得益于Edge Drawing (ED)算法能够从灰度图像中准确、快速、稳定地提取出光滑、完整的边缘片段。Edge Drawing (ED)算法包含以下步骤: (1)采用size=5*5,σ=1的高斯核对灰度图像进行平滑滤波,去除噪声; (2)采用一种常用的梯度算子,如Prewitt、Sobel或Scharr等计算平滑后图像中每个像素点的梯度幅度和梯度方向; (3)将梯度图中邻域内幅度最大的像素点标记为锚点,这些锚点成为图像边缘点(edge elements)的概率很大; (4)将相邻的锚点连接成边缘线。从一个锚点起始,ED利用相邻像素的梯度幅度和方向在梯度为最大值的锚点之间游走。 (Edge Drawing (ED) is our recently-proposed, novel, fast edge detection algorithm. What makes ED stand out the existing edge detectors, e.g., Canny, is the following: While the other edge detectors give out a binary edge image as output, where the etected edge pixels are usually independent, discontinuous entities ED produces a set of edge segments, which are clean, contiguous, i.e., connected, chains of edge pixels. Thus, while the output of the other edge detectors requires urther processing to generate potential object boundaries, which may not even be possible or result in inaccuracies ED not only produces perfectly connected object boundaries by default, but it also achieves this in blazing speed compared to other edge detector.)
    2021-03-22 16:29:16下载
    积分:1
  • RLE
    RLE压缩算法,对.bmp格式文件进行操作。使用MFC编制界面,可读入位图,压缩后保存位图并显示。(RLE compression algorithm, bmp format file operation. Use the MFC preparation interface, readable into the bitmap compressed to save a bitmap display.)
    2021-03-25 22:49:13下载
    积分:1
  • 5
    说明:  :建立了碳钢渗硫表面和非渗硫表面的多球凸峰面接触模型,模型中,凸峰高度按高斯函数分布.用塑性流线 理论分析了渗硫层的摩擦系数.计算结果表明:摩擦系数随载荷的增加而增加;相同粗糙度下,磨削加工的摩擦系 数比车削加工的摩擦系数大;摩擦系数随着渗层厚度的增大而增大.从减小摩擦系数的角度来考虑,渗硫层并非 越厚越好. (the multi-asperity sphere-shape model for surface contact between sulphurized layer and unsulphurized layer is established.in which the height of sphere-shape asperities follows the Gaussian distribution.1he frictional coeficients of sulphurized layers are analyzed by using plastic flown line theory.1he results show that the frictional coeficient increases with the load.the frictional coeficient of ground surface is higher than that of tumed surface in case of the same roughness.1he thicker the sulphuri[ed layer is.the higher the frictional coeficient is.From the viewpoint of reducing frictional coeficient,the thickness of sulphurized layer should be smaller.)
    2010-08-04 19:38:19下载
    积分:1
  • yepian
    为了研究植物的生长规律,应用数字摄影图像处理法对山楂叶面积进行无损测量,该方法采用数码相机在田间获取山楂叶子的数字图像,对所拍图像进行背景去除、二值化及中值滤波处理,然后利用Matlab软件编程.快速计算出叶子的面积。把这一面积同常用的叶纸称重法所测面积进行比较.结果基本相同,由此可见,数字摄影图像法测量叶面积,具有简单、准确、方便快捷的特点.这对数字农业的植物信息快速采集和利用具有重要的意义。 ( In order to study the growth pattern of plants, the application of digital photography and image processing method for nondestructive measurement of hawthorn leaf area, this method using a digital camera to obtain digital images of hawthorn leaves in the field, on the film image background removal, binarization and medianfiltered, and then using the Matlab software programming. Quickly calculate the area of the leaves. This area with the common leaf paper weighing measured by the area to compare. The results are basically the same, shows, digital photographic images method to measure leaf area, with a simple, accurate, and convenient features. This rapid acquisition and use of digital agricultural plant is of great significance. In order to study the growth pattern of plants, the application of digital photography and image processing method for nondestructive measurement of hawthorn leaf area, this method using a digital camera to obtain digital images of )
    2012-02-19 11:20:50下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载