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 98
下载积分: 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 个回复

  • matrixcon_im
    this is simulink file for matrix converter with induction motor
    2010-12-28 14:39:22下载
    积分:1
  • TsaiCalibration
    Tsai二步法摄像机标定算法 matlab(Tsai two-step camera calibration algorithm)
    2013-07-22 10:24:07下载
    积分:1
  • LK3D
    3D Lucas Kanade Optical Flow
    2013-04-09 04:13:48下载
    积分:1
  • targetdistance
    对不同距离的雷达回波进行脉冲压缩处理,观察脉冲压缩后的回波信号,分析个参数对其的影响(Distances for different pulse compression radar echo , the echo pulse compression observed signal parameters and the effects of )
    2013-11-12 19:40:05下载
    积分:1
  • neurul_pendulum
    BP神经网络控制一级倒立摆simulink仿真(BP neural network control an inverted pendulum simulink simulation)
    2020-09-28 15:57:45下载
    积分:1
  • inverter-control
    太阳能光伏并网发电及其逆变控制,光伏发电的入门级书籍,含有控制、MPPT、孤岛检测等(Solar photovoltaic power generation and inverter control, entry-level books photovoltaic containing control, MPPT, islanding detection)
    2016-09-28 21:13:18下载
    积分:1
  • weighted least squares iterative
    说明:  频域内的模态参数识别方法:加权最小二乘迭代法。该程序适合刚入门模态参数识别并使用matlab进行编程的人员学习交流。(Method for identifying modal parameters in frequency domain: weighted least squares iterative method. This program is suitable for people who have just started modal parameter identification and use matlab to program and learn to communicate.)
    2020-07-06 08:36:44下载
    积分:1
  • s4
    说明:  function [ret,x0,str,ts,xts]=s4(t,x,u,flag) s4 is the M-file description of the SIMULINK system named s4. The block-diagram can be displayed by typing: s4. SYS=s4(T,X,U,FLAG) returns depending on FLAG certain system values given time point, T, current state vector, X, and input vector, U. FLAG is used to indicate the type of output to be returned in SYS.
    2010-03-03 17:22:45下载
    积分:1
  • simplecharrec(IaII)
    to recognition the letters and numbers
    2014-01-23 17:59:55下载
    积分:1
  • DTWMATLABsource
    很好的DTW源代码,层次分明,注释详尽,很容易看懂,直接运行主程序main_speech_alignment_DTW.m 即可通过图观察DTW处理前后的波形。(DTW good source code, structured, detailed notes, it is easy to understand, can be run directly by the main program main_speech_alignment_DTW.m Figure waveform observed before and after DTW.)
    2010-10-25 15:24:52下载
    积分:1
  • 696518资源总数
  • 105908会员总数
  • 30今日下载