【Matlab】CFAR/phased.CFARDetector2D

| CFAR学习进行时ing... |

CFAR原理、参数

检测阈值(T = αP_n)
(P_n)是噪声功率估计,(α)是比例因子
训练单元:训练噪声,估计(P_n = frac{1}{N}Sigma_{m=1}^{N}x_m)
保护单元:避免信号分量泄漏到训练单元中,这可能会对噪声估计产生不利影响
平均CFAR检测器,假设传递到检测器的数据来自单个脉冲,不涉及脉冲积分,阈值因子(α = N(P_{fa}^{-frac{1}{N}}-1))

CFARDetector

⚠️注意:Matlab安装的时候一定要安装Phased Array System Toolbox这个工具箱
phased.CFARDetector2D:给二维图像做恒虚警检测的
调用语法:

detector = phased.CFARDetector2D creates a 2-D CFAR detector System object, detector.
detector = phased.CFARDetector2D(Name,Value) creates a 2-D CFAR System object, detector, with each specified property Name set to the specified Value. You can specify additional name-value pair arguments in any order as (Name1,Value1,...,NameN,ValueN).
  1. MathWorks给的自带例程:
    This example shows how to set a 2-D CFAR threshold based upon a required probability of false alarm (pfa).
    给一个给定的虚警率pfa
    Link:https://www.mathworks.com/help/phased/ref/phased.cfardetector2d-system-object.html

Matlab语法

  1. size
    (1)s=size(A),当只有一个输出参数时,返回一个行向量,该行向量的第一个元素是矩阵的行数,第二个元素是矩阵的列数。
    (2)[r,c]=size(A),当有两个输出参数时,size函数将矩阵的行数返回到第一个输出变量r,将矩阵的列数返回到第二个输出变量c。
    (3)size(A,n)如果在size函数的输入参数中再添加一项n,并用1或2为n赋值,则 size将返回矩阵的行数或列数。
    r=size(A,1) :矩阵A的行
    c=size(A,2) :矩阵A的列
  2. col&row
    col:column,列
    row:行
原文地址:https://www.cnblogs.com/kinologic/p/14273065.html