![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
图像处理
文章平均质量分 78
toolchainX
这个作者很懒,什么都没留下…
展开
-
不同的绘图设备上下文
//使用HDC绘图 /* HDC hdc; hdc=::GetDC(m_hWnd); MoveToEx(hdc,m_ptOrigin.x,m_ptOrigin.y,NULL); LineTo(hdc,point.x,point.y); ::ReleaseDC(m_hWnd,hdc转载 2011-09-17 10:50:52 · 595 阅读 · 0 评论 -
c 语言读取BMP格式文件源代码
// PrintBMPPixel.c // c 语言读取BMP格式文件源代码 // 可同时处理没有压缩的BMP格式的二值图像, 索引图像, 真彩色图像。 #include #include // 位图文件头 typedef struct tagBMPFILEHEADER原创 2011-08-30 10:15:09 · 3807 阅读 · 2 评论 -
数米粒个数和每个米粒面积的matlab算法实现(递归)。
使用Matlab软件自带的rice.png图片进行处理。 不知道使用的函数利用help function-name 或者 lookfor function-name 查看 这里是实现的主要代码段 %The procedure below is to calculate t原创 2011-10-19 00:37:12 · 7958 阅读 · 1 评论 -
不用递归的方法计算米粒的个数和每个米粒的面积,matlab实现
% 利用系统自带的米粒图片rice.png, 对该图片进行预处理后,计算该点中每个米粒的面积和所有米粒的个数,中间用到了求一个点所在的连通域的算法 clear all clc close all I = imread('rice.png'); edI = edge(I, 'canny'); fhI = imfill(edI, 'hole'); se = strel('disk', 4); opI原创 2011-10-28 22:05:15 · 5180 阅读 · 1 评论 -
NLmeansfilter 非邻域去噪算法matlab实现
function Im = NLmeansfilter(I, nb, sw, h) %NLFILTER Denoise the image of I % IM = NLFILTER(I, NB, SW, H) outputs the denoised image of I % I is the original image. % NB is a number which shows t原创 2011-10-19 00:06:02 · 4235 阅读 · 2 评论