-
codematlab
wavelet code in matlab. its representation of reading alphbets
- 2010-11-07 13:27:32下载
- 积分:1
-
shuzhi
计算最速下降法和黄金分割法的程序,计算结果精确。(Calculation of the steepest descent method and the golden section method of procedure, precise results.)
- 2009-06-05 21:30:26下载
- 积分:1
-
FaceVerification
In this letter, a local sparse representation is proposed
for face components to describe the local structure and character-istics of the face image for face verification. Wefirst learn a dictio-nary from collected local patchesof face images. Then, a novel local
descriptor is presented by using sparse coefficients obtained by the
learned dictionary and local face patches from face components to
represent the entire human face
- 2013-02-11 00:35:55下载
- 积分:1
-
SampleMatlabCode
text localization,recognization and segemntation
- 2015-01-28 15:08:01下载
- 积分:1
-
KFandPF
卡尔曼滤波器和粒子滤波器的MATLAB演示程序(Kalman filters and particle filters MATLAB demo)
- 2009-01-28 09:34:44下载
- 积分:1
-
TwIST_v2
基于压缩感知理论的MRI一阶快速算法软件包(a first order fast algorithm package based on the theory of compressed sensing )
- 2013-10-14 20:56:54下载
- 积分:1
-
MIMO
仿真2*2MIMO通信系统ML、ZF、MMSE检测算法性能,给出三种检测算法的误比特率。(Multi-input multi-output (mimo) communication system simulation 2* 2 ML, ZF and MMSE detection algorithm performance, the bit error rate of three detection algorithms is given.)
- 2020-11-13 11:59:43下载
- 积分: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
-
adaptive
说明: 本方法实现了自适应噪声抵消算法,在参考输入情况下,去除相关噪声(adaptive noise cancelation)
- 2011-04-06 16:36:49下载
- 积分:1
-
pwm
pwm控制模块,可以仿真太阳能电池的采样点输入(PWM control module, can simulate the solar cell sampling input)
- 2012-04-27 21:05:41下载
- 积分:1