-
junhengqi
MATLAB编辑的均衡器,八段式,功能很全面(MATLAB edited equalizer, eight very comprehensive)
- 2013-01-12 10:25:58下载
- 积分:1
-
li9_23
clear all
I=imread( lena.bmp )
figure imshow(I)
I2=imrotate(I,-4, bilinear ) 逆时针旋转4度
figure imshow(I2)
I3=fliplr(I) 垂直镜像
figure imshow(I3)
I4=imresize(I,0.5, bilinear ) 缩小为原图的1/2
figure imshow(I4)
A=double(I) 转换为double类型
计算7个不变矩
[nc,nr]=size(A)
[x,y]=meshgrid(1:nr,1:nc) 得到网格
x=x(:)
y=y(:)
A=A(:)
m.m00=sum(A)
if m.m00==0
m.m00=eps
end
m.m10=sum(x.*A)
m.m01=sum(y.*A)
计算均值
xmean=m.m10/m.m00
ymean=m.m01/m.m00
计算中心矩(li9_23.rar
cm.cm00=m.m00
cm.cm02=(sum((y-ymean).^2.*A))/(m.m00^2)
cm.cm03=(sum((y-ymean).^3.*A))/(m.m00^2.5)
cm.cm11=(sum((x-xmean).*(y-ymean).*A))/(m.m00^2)
cm.cm12=(sum((x-xmean).*(y-ymean).^2.*A))/(m.m00^2.5)
cm.cm20=(sum((x-xmean).^2.*A))/(m.m00^2)
cm.cm21=(sum((x-xmean).^2.*(y-ymean).*A))/(m.m00^2.5)
cm.cm30=(sum((x-xmean).^3.*A))/(m.m00^2.5)
im(1)=cm.cm20+cm.cm02
im(2)=(cm.cm20-cm.cm02)^2+4*cm.cm11^2
im(3)=(cm.cm30-3*cm.cm12)^2+(3*cm.cm21-cm.cm03)^2
im(4)=(cm.cm30+cm.cm12)^2+(cm.cm21+cm.cm03)^2
im(5)=(cm.cm30-3*cm.cm12)*(cm.cm30+cm.cm12)...
*((cm.cm30+cm.cm12)^2-3*(cm.cm21+cm.cm03)^2)...
+(3*cm.cm21-cm.cm03)*(cm.cm21+cm.cm03)...
+(3*(cm.cm30+cm.cm12)^2-(cm.cm21+cm.cm03)^2)
im(6)=(cm.cm20-cm.cm02)*((cm.cm30+cm.cm12)^2-(cm.cm21+cm.cm03)^2)...
+4*cm.cm11*(cm.cm30+cm.cm12)*(cm.cm21+cm.cm03)
im(7)=(3*cm.cm21-cm.cm03)*(cm.cm30+cm.cm12)...
*((cm.cm30+cm.cm12)^2-3*(cm.cm21+cm.cm03)^2)...
+(3*cm.cm12-cm.cm30)*(cm.cm21+cm.cm03)...
*()
- 2010-10-17 21:53:14下载
- 积分:1
-
matlab-control-toolsbox
matlab 控制工程 工具箱 说明与介绍(matlab toolbox describe and introduce control engineering)
- 2013-07-23 22:19:19下载
- 积分:1
-
optimization-design
用最优化方法解决最优化问题的技术称为最优化技术,它包含两个方面的内容:
(1)建立数学模型,即用数学语言来描述最优化问题。模型中的数学关系式反映了最优化问题所要达到的目标和各种约束条件;
(2)数学求解,数学模型建好以后,选择合理的最优化方法进行求解。
(With optimization method to solve the optimization technology, called the optimum technology, it contains two aspects: (1) established the mathematical model, which is the mathematical language to describe the optimization problem. Model of the mathematical relationship reflects the optimal problem to achieve and all constraint conditions (2) solving mathematics, mathematical model built after, choice of reasonable solution of the optimization method.)
- 2012-04-17 17:12:15下载
- 积分:1
-
chizhi
这是数学算法中的差值算法 联合开发网 - pudn.com
- 2012-04-17 19:09:37下载
- 积分:1
-
MATLAB
在自适应滤波器设计中的应用研究 希望对你有帮助 学术文献(MATLAB adaptive filter disign)
- 2012-04-24 13:59:14下载
- 积分:1
-
Computer-Vision-Using-Local-Binary-Patterns
The local binary pattern (LBP) is a simple yet very efficient operator which labels
the pixels of an image by thresholding the neighborhood of each pixel and considers
the result as a binary number. Perhaps the most important property of the LBP operator in real-world applications is its invariance against monotonic gray level changes caused, for example, by illumination variations. Another equally important is its computational simplicity, which makes it possible to analyze images in challenging real-time settings. LBP is also very flexible: it can be easily adapted to different types of problems and used
together with other image descriptors
- 2013-09-19 10:04:03下载
- 积分:1
-
watermark_Extract(2)
it s a image watermarking for embedding and extraction . that is done on matlab framework it is not so easy so if u try it then then u mast know some thing in advance.........
- 2013-04-10 23:26:39下载
- 积分:1
-
zhifangtu_totalyuzhi
计算基本全局阈值算法,代码简单,适合初学者,本人亲自试验过,方法可行(Calculation of basic global threshold algorithm, the code is simple, suitable for beginners, I personally tested the method is feasible)
- 2013-05-21 20:33:51下载
- 积分:1
-
discontinuityWaveguide
非连续波导时间域有限差分法仿真(TD-FDM),入射波为理想高斯脉冲。经典之处在于利用matlab制作了电影文件,可以动画形式看到波的入射、反射以及透射状况。(Non-consecutive time waveguide FDTD simulation (TD-FDM), for an ideal Gaussian pulse incident. Classic is the use of matlab has produced a movie file, you can see an animation sequence of the incident wave, reflection and transmission status.)
- 2007-12-09 13:14:57下载
- 积分:1