0))=255;f=imread("pic13.jpg");GT1499=rgb2gray(f);[a,b,c]=size(RT1499);TP=0;FP=0;TN=0;FN=0;因为我=1:j1:b=如果GT1499(i,j)>0&RT1499(i,j)>0TP=TP+1;结束如果GT1499(i,j)==0和RT1499(i,j)>0FP=FP+1;结束如果GT1499(i,j)==0和RT1499(i,j)==0TN=TN+1;结束如果GT1499(i,j)>0和RT1499(i,j)==0FN=FN+1;结束结束结束DR=TP/(TP+FN);Precision=TP/(TP+FP);F_measure=2*DR*Precision/(DR+Precision);-IMDN开发者社群-imdn.cn"> 0))=255;f=imread("pic13.jpg");GT1499=rgb2gray(f);[a,b,c]=size(RT1499);TP=0;FP=0;TN=0;FN=0;因为我=1:j1:b=如果GT1499(i,j)>0&RT1499(i,j)>0TP=TP+1;结束如果GT1499(i,j)==0和RT1499(i,j)>0FP=FP+1;结束如果GT1499(i,j)==0和RT1499(i,j)==0TN=TN+1;结束如果GT1499(i,j)>0和RT1499(i,j)==0FN=FN+1;结束结束结束DR=TP/(TP+FN);Precision=TP/(TP+FP);F_measure=2*DR*Precision/(DR+Precision); - IMDN开发者社群-imdn.cn">
登录
首页 » Matlab » 运动检测定量分析(MATLAB)

运动检测定量分析(MATLAB)

于 2022-04-16 发布 文件大小:10.02 kB
0 69
下载积分: 2 下载次数: 1

代码说明:

%负载 E_hat ;%Rt1499=reshape(e_hat(:,300),128,160) ;RT1499=imread("pic12.jpg") ;RT1499(find(abs(RT1499) > 0)) = 255 ;f=imread("pic13.jpg") ;GT1499=rgb2gray(f) ;[a,b,c]=size(RT1499) ;TP = 0 ;FP = 0 ;TN = 0 ;FN = 0 ;因为我 = 1:j 1:b =如果 GT1499(i,j) > 0 & RT1499(i,j) > 0TP = TP + 1 ;结束如果 GT1499(i,j) = = 0 和 RT1499(i,j) > 0FP = FP + 1 ;结束如果 GT1499(i,j) = = 0 和 RT1499 (i,j) = = 0TN = TN + 1 ;结束如果 GT1499(i,j) > 0 和 RT1499 (i,j) = = 0FN = FN + 1 ;结束结束结束DR=TP/(TP+FN) ;Precision=TP/(TP+FP) ;F_measure=2*DR*Precision/(DR+Precision) ;

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • msquery_7
    MS Query based application
    2011-02-10 15:23:23下载
    积分:1
  • D_
    说明:  D_S证据理论在战术态势估计技术中的应用assessment Technique(D_S evidence theory in tactical situation assessment Technique)
    2011-03-28 18:52:15下载
    积分:1
  • RBFFunction
    RBF网络用于函数逼近的一个程序!内部包含几个关于RBF网络的几个算法。(RBF network for function approximation of a process! Internal contains several of the RBF network of several algorithms.)
    2006-07-31 21:13:34下载
    积分:1
  • 2209100144
    controling speed of rotor
    2012-10-18 19:56:03下载
    积分:1
  • PMSM simulation
    2015仿真模型汇总-PMSM变频调速系统及其控制。 书籍《永磁同步电动机变频调速系统及其控制 》的配套代码。(2015 simulation model summary -PMSM variable frequency speed regulation system and its control.)
    2018-05-30 14:53:21下载
    积分:1
  • ISODATA
    ISODATA算法是在k-均值算法的基础上,增加对聚类结果的“合并”和“分裂”两个操作,并设定算法运行控制参数的一种聚类算法,从而实现遥感影像的非监督分类(ISODATA algorithm is a clustering algorithm based on K-means algorithm, which adds two operations of "merging" and "splitting" of clustering results, and sets the operation control parameters of the algorithm, so as to realize unsupervised classification of remote sensing images.)
    2018-11-22 18:07:41下载
    积分:1
  • BasicPso
    几本粒子群程序。用MATLAB编写。可以更改成自己能用的程序。(Particle Swarm several procedures. Prepared using MATLAB. Can be used to change into their own procedures.)
    2008-12-09 14:06:09下载
    积分:1
  • MATLAB
    MATLAB 下的数字信号处理实现示例 附录一 信号、系统和系统响应 1、理想采样信号序列 (1)首先产生信号 x(n),0<=n<=50 (MATLAB under the realization of digital signal processing examples in Appendix 1 signal, systems and systems to respond to one, the ideal sampling signal sequence (1) First of all, have a signal x (n), 0 )
    2008-02-14 18:03:58下载
    积分:1
  • hausdorf
    matlab program for calculating fractal dimension using hausdorf algorithm
    2013-03-27 22:16:28下载
    积分:1
  • 5
    说明:  神秘代码大PK ——2009第二届奇虎360软件安全大赛比赛规则及题目 第五题答案(geeks pk code)
    2010-01-22 10:26:46下载
    积分:1
  • 696518资源总数
  • 105570会员总数
  • 13今日下载