Matlab
文章平均质量分 78
toolchainX
这个作者很懒,什么都没留下…
展开
-
MATLAB 效率再议(zz)
好文转贴自http://dahua.spaces.live.com/blog/cns!28AF4251DF30CA42!2459.entry 关 于MATLAB的效率问题,很多文章,包括我之前写的一些,主要集中在使用向量化以及相关的问题上。但是,最近我在实验时对代码进行pr转载 2011-10-17 13:26:53 · 826 阅读 · 0 评论 -
数米粒个数和每个米粒面积的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 评论