留言板

尊敬的读者、作者、审稿人, 关于本刊的投稿、审稿、编辑和出版的任何问题, 您可以本页添加留言。我们将尽快给您答复。谢谢您的支持!

姓名
邮箱
手机号码
标题
留言内容
验证码

基于FPGA的高光谱异常目标检测RXD算法加速方案

郑毓轩 李云松 师艳子 曲家慧 谢卫莹

郑毓轩, 李云松, 师艳子, 等 . 基于FPGA的高光谱异常目标检测RXD算法加速方案[J]. 北京航空航天大学学报, 2018, 44(12): 2556-2567. doi: 10.13700/j.bh.1001-5965.2018.0344
引用本文: 郑毓轩, 李云松, 师艳子, 等 . 基于FPGA的高光谱异常目标检测RXD算法加速方案[J]. 北京航空航天大学学报, 2018, 44(12): 2556-2567. doi: 10.13700/j.bh.1001-5965.2018.0344
ZHENG Yuxuan, LI Yunsong, SHI Yanzi, et al. Acceleration scheme of RXD algorithm based on FPGA for hyperspectral anomaly target detection[J]. Journal of Beijing University of Aeronautics and Astronautics, 2018, 44(12): 2556-2567. doi: 10.13700/j.bh.1001-5965.2018.0344(in Chinese)
Citation: ZHENG Yuxuan, LI Yunsong, SHI Yanzi, et al. Acceleration scheme of RXD algorithm based on FPGA for hyperspectral anomaly target detection[J]. Journal of Beijing University of Aeronautics and Astronautics, 2018, 44(12): 2556-2567. doi: 10.13700/j.bh.1001-5965.2018.0344(in Chinese)

基于FPGA的高光谱异常目标检测RXD算法加速方案

doi: 10.13700/j.bh.1001-5965.2018.0344
基金项目: 

国家自然科学基金 61502367

国家自然科学基金 61501346

国家自然科学基金 61701360

国家自然科学基金 61571345

国家自然科学基金 91538101

高等学校学科创新引智计划("111计划") B08038

长江学者特聘教授支持计划 CJT160102

详细信息
    作者简介:

    郑毓轩  男, 硕士研究生。主要研究方向:高光谱遥感图像处理、高性能计算和机器学习

    李云松  男, 博士, 教授, 博士生导师。主要研究方向:图像视频压缩编码、图像处理、高性能计算和芯片设计

    通讯作者:

    李云松,E-mail: ysli@mail.xidian.edu.cn

  • 中图分类号: TP751

Acceleration scheme of RXD algorithm based on FPGA for hyperspectral anomaly target detection

Funds: 

National Natural Science Foundation of China 61502367

National Natural Science Foundation of China 61501346

National Natural Science Foundation of China 61701360

National Natural Science Foundation of China 61571345

National Natural Science Foundation of China 91538101

111 Project B08038

Yangtze River Scholar Bonus Schemes of China CJT160102

More Information
  • 摘要:

    高光谱图像在带来丰富光谱信息的同时,其数据量大和维数高的特性也使得各种目标检测算法进行处理时往往产生庞大的运算量,所以采用可以实现高光谱异常目标检测算法的高速处理方案显得尤为迫切和重要。考虑到现场可编程门阵列(FPGA)强大的并行计算能力和极具灵活的设计方式,针对高光谱异常目标检测RXD算法中协方差矩阵及其逆的计算量过大的问题,以分块并行和正交三角(QR)分解为主要加速思想,利用高层次综合(HLS)工具对算法进行优化,提出了RXD算法在FPGA平台上的加速方案。实验结果表明,所提出的基于FPGA平台的加速方案可以在保持算法检测性能的同时达到相较于CPU实现7.04倍的加速,验证了加速方案的正确有效性。

     

  • 图 1  分块相乘求自相关矩阵的描述

    Figure 1.  Description of finding autocorrelation matrix by block multiplication

    图 2  并行结构示意图

    Figure 2.  Schematic diagram of parallel structure

    图 3  旋转变换示意图

    Figure 3.  Schematic diagram of rotation transformation

    图 4  QR分解求逆矩阵的实现方案

    Figure 4.  Implementation scheme of finding inverse matrix by QR decomposition

    图 5  数组分割的不同类型

    Figure 5.  Different types of array partition

    图 6  循环展开示意图

    Figure 6.  Schematic diagram of cyclic unrolling

    图 7  流水线处理示意图

    Figure 7.  Schematic diagram of pipeline processing

    图 8  Cuprite数据描述

    Figure 8.  Cuprite data description

    图 9  模拟图像中25个异常目标分布

    Figure 9.  25 anomaly target distributions in simulated images

    图 10  HLS与MATLAB实现结果对比

    Figure 10.  Comparison of implementation results between HLS and MATLAB

    图 11  HLS与MATLAB实现结果的相对误差

    Figure 11.  Relative error of implementation results of HLS and MATLAB

    表  1  添加约束项后2种方法的时序

    Table  1.   Timing sequence after adding constraints of two methods

    方法 最小时延/
    clk
    最大时延/
    clk
    最小数据间隔/clk 最大数据间隔/clk
    传统法 4286520030 4286520030 4286520031 4286520031
    加速法 733332624 733332624 733332625 733332625
    注:clk—一个时钟周期。
    下载: 导出CSV

    表  2  加速法的资源利用情况

    Table  2.   Resource utilization results of acceleration scheme

    资源利用数 BRAM_18K DSP48E FF LUT
    表达式资源数 0 74
    实例资源数 131 11472 27045
    存储资源数 40 0 0
    乘法器资源数 1747
    寄存器资源数 203
    总计 40 131 11675 28866
    可用资源数 2060 2800 607200 303600
    资源利用率/% 1 4 1 9
    下载: 导出CSV

    表  3  2种方案的时序情况对比

    Table  3.   Comparison of timing sequence between two schemes

    方案 最小时延/
    clk
    最大时延/
    clk
    最小数据间隔/clk 最大数据间隔/clk
    169502204 354001169 169502205 354001170
    57877695 256307850 57877696 256307851
    下载: 导出CSV

    表  4  添加优化前后2种方案的资源利用情况

    Table  4.   Comparison of resource utilization results before and after optimization between two schemes

    资源利用数 BRAM_18K DSP48E FF LUT
    实例资源数 512/288 94/88 14 512/21238 20691/61334
    存储资源数 768/432 0 0
    乘法器资源数 58/418
    寄存器资源数 9/9
    总计 1280/720 94/88 14521/21247 20749/61752
    可用资源数 2060 2800 607200 303600
    资源利用率/% 62/34 3/3 2/3 6/20
    下载: 导出CSV

    表  5  基于FPGA的RXD算法实现的时序估计结果

    Table  5.   Timing sequence estimation results for FPGA-based implementation of RXD algorithn

    时钟周期/ns 最小时延/
    clk
    最大时延/
    clk
    最小数据间隔/clk 最大数据间隔/clk
    9.78 1552545313 1779318286 1552545314 1779318287
    下载: 导出CSV

    表  6  基于FPGA的RXD算法实现的资源利用情况

    Table  6.   Resource utilization results for FPGA-based implementation of RXD algorithn

    资源利用数 BRAM_18K DSP48E FF LUT
    表达式资源数 1 0 5390
    实例资源数 40 244 66088 92578
    存储资源数 978 0 0
    乘法器资源数 10556
    寄存器资源数 4109 32
    总计 1018 246 70197 108556
    可用资源数 2060 2800 607200 303600
    资源利用率/% 49 8 11 35
    下载: 导出CSV

    表  7  CPU和FPGA平台实现RXD算法的处理时间对比

    Table  7.   Comparison of processing time measured for RXD algorithm between CPU and FPGA implementations

    CPU
    处理时间/s
    FPGA 加速比
    时钟周期/
    ns
    最小时延/
    clk
    处理时间/s
    111.29 9.78 1552545313 15.81 7.04
    下载: 导出CSV
  • [1] QU J H, LEI J, LI Y S, et al.Structure tensor-based algorithm for hyperspectral and panchromatic images fusion[J]. Remote Sensing, 2018, 10(3):373-391. doi: 10.3390/rs10030373
    [2] LI Y S, HU J, ZHAO X, et al.Hyperspectral image super-resolution using deep convolutional neural network[J].Neurocomputing, 2017, 266:29-41. doi: 10.1016/j.neucom.2017.05.024
    [3] 赵兵.基于FPGA的高光谱图像RX异常检测研究[D].杭州: 杭州电子科技大学, 2012: 1-2. http://cdmd.cnki.com.cn/Article/CDMD-10336-1013218096.htm

    ZHAO B.Research on RX anomaly detection of hyperspectral image based on FPGA[D].Hangzhou: Hangzhou Dianzi University, 2012: 1-2(in Chinese). http://cdmd.cnki.com.cn/Article/CDMD-10336-1013218096.htm
    [4] BIOUCAS-DIAS J M, PLAZA A, CAMPS-VALLS G, et al.Hyperspectral remote sensing data analysis and future challenges[J].IEEE Geoscience & Remote Sensing Magazine, 2013, 1(2):6-36. http://d.old.wanfangdata.com.cn/NSTLQK/NSTL_QKJJ0211502179/
    [5] 贺霖, 潘泉, 邸韡, 等.高光谱图像目标检测研究进展[J].电子学报, 2009, 37(9):2016-2024. doi: 10.3321/j.issn:0372-2112.2009.09.024

    HE L, PAN Q, DI W, et al.Research advance on target detection for hyperspectral imagery[J].Acta Electronica Sinica, 2009, 37(9):2016-2024(in Chinese). doi: 10.3321/j.issn:0372-2112.2009.09.024
    [6] LIU W H, FENG X P, WANG S, et al.Random selection-based adaptive saliency-weighted RXD anomaly detection for hyperspectral imagery[J].International Journal of Remote Sensing, 2018, 39(8):2139-2158. doi: 10.1080/01431161.2017.1420931
    [7] REED I S, YU X L.Adaptive multiple-band CFAR detection of an optical pattern with unknown spectral distribution[J].IEEE Transactions on Acoustics Speech & Signal Processing, 1990, 38(10):1760-1770. http://www.wanfangdata.com.cn/details/detail.do?_type=perio&id=347ffacc905a90cc9f93b16948b50c63
    [8] LIU W M, CHANG C I.A nested spatial window-based approach to target detection for hyperspectral imagery[C]//Proceedings of IEEE International Geoscience and Remote Sensing Symposium, 2004.Piscataway NJ: IEEE Press, 2004: 266-268.
    [9] KWON H, NASRABADI N M.Kernel adaptive subspace detector for hyperspectral imagery[J].IEEE Geoscience & Remote Sensing Letters, 2006, 3(2):271-275. http://d.old.wanfangdata.com.cn/OAPaper/oai_doaj-articles_d491a9e65840a0a14d453d56336d1822
    [10] 何光林, 彭林科.基于FPGA的高光谱图像奇异值分解降维技术[J].中国激光, 2009, 36(11):2983-2988. http://d.old.wanfangdata.com.cn/Periodical/zgjg200911039

    HE G L, PENG L K.FPGA implement of SVD for dimensionality reduction in hyperspectral images[J].Chinese Journal of Lasers, 2009, 36(11):2983-2988(in Chinese). http://d.old.wanfangdata.com.cn/Periodical/zgjg200911039
    [11] 于涛, 胡炳樑, 高晓惠, 等.高光谱图像运动误差实时校正处理平台设计与实现[J].光谱学与光谱分析, 2012, 32(8):2275-2279. doi: 10.3964/j.issn.1000-0593(2012)08-2275-05

    YU T, HU B L, GAO X H, et al.Design and implementation of real-time processing platform for movement error correction of hyperspectrual imaging[J].Spectroscopy and Spectral Analysis, 2012, 32(8):2275-2279(in Chinese). doi: 10.3964/j.issn.1000-0593(2012)08-2275-05
    [12] WANG J, CHANG C, CAO M.FPGA design for constrained energy minimization[C]//Proceedings of SPIE-The International Society for Optical Engineering. Bellingham: SPIE, 2004, 5268: 262-273.
    [13] 赵宝玮, 相里斌, 吕群波, 等.FPGA和多DSP系统的并行RX探测算法[J].西安电子科技大学学报(自然科学版), 2014, 41(3):152-156. doi: 10.3969/j.issn.1001-2400.2014.03.022

    ZHAO B W, XIANG L B, LÜ Q B, et al.Parallel RX algorithm implementation based on the FPGA and multi-DSP system[J].Journal of Xidian University, 2014, 41(3):152-156(in Chinese). doi: 10.3969/j.issn.1001-2400.2014.03.022
    [14] YANG B, YANG M, PLAZA A, et al.Dual-mode FPGA implementation of target and anomaly detection algorithms for real-time hyperspectral imaging[J].IEEE Journal of Selected Topics in Applied Earth Observations & Remote Sensing, 2015, 8(6):2950-2961. http://www.wanfangdata.com.cn/details/detail.do?_type=perio&id=4023af59c207260064f29414ab63752f
    [15] 成宝芝.基于光谱特性的高光谱图像异常目标检测算法研究[D].哈尔滨: 哈尔滨工程大学, 2012: 45-48. http://cdmd.cnki.com.cn/Article/CDMD-10217-1014134049.htm

    CHENG B Z.Research on spectral feature based anomaly target detection algorithms in hyperspectral imagery[D].Harbin: Harbin Engineering University, 2012: 45-48(in Chinese). http://cdmd.cnki.com.cn/Article/CDMD-10217-1014134049.htm
    [16] 欧阳征平.高光谱遥感图像局部异常检测算法研究[D].长沙: 国防科学技术大学, 2011: 14-16. http://cdmd.cnki.com.cn/article/cdmd-90002-1012021039.htm

    OUYANG Z P.Study on algorithms of local anomaly detection for hyperspectral remote sensing imagery[D].Changsha: National University of Defense Technology, 2011: 14-16(in Chinese). http://cdmd.cnki.com.cn/article/cdmd-90002-1012021039.htm
    [17] CHANG C I.Hyperspectral imaging:Techniques for spectral detection and classification[M]. New York:Kluwer Academic/Plenum Publishers, 2003:89-103.
    [18] YANG B, YANG M, GAO L, et al.A dual mode FPGA implementation of real-time target detection for hyperspectral imagery[C]//International Workshop on Earth Observation and Remote Sensing Applications. Piscataway, NJ: IEEE Press, 2014: 340-344.
    [19] LEI J, LI Y S, ZHAO D S, et al.A deep pipelined implementation of hyperspectral target detection algorithm on FPGA using HLS[J].Remote Sensing, 2018, 10(4):516. doi: 10.3390/rs10040516
    [20] ZHAO C H, YOU W, WANG Y L, et al.GPU implementation for real-time hyperspectral anomaly detection[C]//IEEE International Conference on Digital Signal Processing. Piscataway, NJ: IEEE Press, 2015: 940-943.
    [21] 倪涛, 丁海锋, 阮黎婷, 等.基于QR分解算法的任意阶复矩阵求逆的DSP实现[J].电子科技, 2010, 23(4):99-101. http://d.old.wanfangdata.com.cn/Periodical/dzkj201004030

    NI T, DING H F, RUAN L T, et al.Implementation of arbitrary order complex matrix inversion based on the QR decomposition algorithm in DSP[J]. Electronic Science and Technology, 2010, 23(4):99-101(in Chinese). http://d.old.wanfangdata.com.cn/Periodical/dzkj201004030
    [22] PAPAKONSTANTINOU A.High-level automation of custom hardware design for high-performance computing[D].Champaign: University of Illinois at Urbana-Champaign, 2012: 5-8. http://www.ideals.illinois.edu/handle/2142/42137
    [23] 何宾.Xilinx FPGA设计权威指南[M].北京:清华大学出版社, 2012:183-202.

    HE B.Xilinx FPGA:Design and application[M].Beijing:Tsinghua University Press, 2012:183-202(in Chinese).
    [24] WANG Y, LI P, ZHANG P, et al.Memory partitioning for multidimensional arrays in high-level synthesis[C]//Design Automation Conference. Piscataway, NJ: IEEE Press, 2013: 1-8.
    [25] 赵春晖, 王立国, 齐滨.高光谱遥感图像处理方法及应用[M].北京:电子工业出版社, 2016:300-302.

    ZHAO C H, WANG L G, QI B.Hyperspectral remote sensing images processing methods and applications[M].Beijing:Publishing House of Electronics Industry, 2016:300-302(in Chinese).
  • 加载中
图(11) / 表(7)
计量
  • 文章访问数:  741
  • HTML全文浏览量:  89
  • PDF下载量:  363
  • 被引次数: 0
出版历程
  • 收稿日期:  2018-06-11
  • 录用日期:  2018-07-13
  • 网络出版日期:  2018-12-20

目录

    /

    返回文章
    返回
    常见问答