Location:
Search - cm.rar
Search list
Description:
Platform: |
Size: 866783 |
Author: |
Hits:
Description: C51下的 485通讯程序. 包括 主机 和从机的程序. 测试通过了的-C51 under the 485 communications procedures. Including mainframe and from the plane procedures. Pass the test
Platform: |
Size: 1024 |
Author: 吴明珏 |
Hits:
Description: 版主呀!我的MTK的资料都传的快完了,这个是上次没压缩完的,接着来,有点大的!-Moderators you! MTK my data is spread over soon, this is not the last end of compression, and then to a little big!
Platform: |
Size: 34618368 |
Author: 家园 |
Hits:
Description: 原理图中并接在超声波接收头两端的瓷片电容不用的话可以增强信号,但是抗干扰性不强。我的做法是牺牲抗干扰性,提高距离,呵呵,没办法只能这样了。另外还有要说明的是发送与接收探头的距离是8个cm!!这样才能保证测量距离,我做好的测距距离是接近6米。发送与接收探头的距离可能还可以小一点,但不能小于4cm(网上说的),我做过间距为2cm的时候测距距离为3米左右-Schematic diagram of the ultrasonic receiver and then the first ceramic capacitors at both ends so no need to enhance the signal, but do not have a strong anti-interference. My approach is the expense of anti-jamming and increase the distance Oh, no way can only be the case. Another note is sent to and received from the probe was 8 cm! ! Way to ensure the distance measurement, I do a good job close to the range distance is 6 meters. Send and receive the distance between the probe may also be smaller, but not less than 4cm (online said), I had the time spacing ranging from 2cm to about 3 meters
Platform: |
Size: 5120 |
Author: 陈双喜 |
Hits:
Description: 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)...
*(
Platform: |
Size: 1024 |
Author: lzp_llz |
Hits:
Description: SoC audio driver for EM-X270, eXeda and CM-X300.
Platform: |
Size: 1024 |
Author: dgcertq |
Hits: