图像处理 – 检测窗口的非最大抑制
| 
 在对象检测文献中,通常使用分类器和滑动窗口方法来检测图像中对象的存在,该方法返回一组检测窗口,并且使用非最大抑制来解析检测重叠. 
  
  有人可以解释在这些检测窗口上执行非最大抑制的算法. 谢谢 解决方法
 引自 
 http://www.di.ens.fr/willow/events/cvml2012/materials/practical-detection/ 
  
  
  
 另外在这里http://www.ens-lyon.fr/LIP/Arenaire/ERVision/detection_exercise_solution.m你可以找到一个matlab程序来完成所有事情 – 检测窗口上的检测和NMS 在检测窗口上执行非最大抑制的代码是 %%%%%%%%%%%%%%% **************************************************************
%%%%%%%%%%%%%%% **************************************************************
%%%%%%%%%%%%%%% *                                                            *
%%%%%%%%%%%%%%% *                       EXERCISE 3:                          *
%%%%%%%%%%%%%%% *                                                            *
%%%%%%%%%%%%%%% *        Non-maxima suppression of multiple responses        *
%%%%%%%%%%%%%%% *                                                            *
%%%%%%%%%%%%%%% **************************************************************
%%%%%%%%%%%%%%% **************************************************************
%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%% Scanning-window style classification of image patches typically
%%%%%%%%%%%%%%% results in many multiple responses around the target object.
%%%%%%%%%%%%%%% A standard practice to deal with this is to remove any detector
%%%%%%%%%%%%%%% responses in the neighborhood of detections with locally maximal
%%%%%%%%%%%%%%% confidence scores (non-maxima suppression or NMS). NMS is
%%%%%%%%%%%%%%% usually applied to all detections in the image with confidence
%%%%%%%%%%%%%%% above certain threshold.
%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%% TODO:
%%%%%%%%%%%%%%% 3.1 Try out different threshold values to pre-selected windows
%%%%%%%%%%%%%%%     passed to the NMS stage,see parameter 'confthresh' below.
%%%%%%%%%%%%%%% 3.2 Try out different threshold values for NMS detections,%%%%%%%%%%%%%%%     see parameter 'confthreshnms'
%%%%%%%%%%%%%%% 3.3 Try detection and with different thresholds for different
%%%%%%%%%%%%%%%     included images: 'img1.jpg','img2.jpg','img3.jpg','img4.jpg'
%%%%%%%%%%%%%%% 
confthresh=0;
indsel=find(conf>confthresh);
[nmsbbox,nmsconf]=prunebboxes(bbox(indsel,:),conf(indsel),0.2);
%%%%%%%%%%%%%%% display detections above threshold after non-max suppression
%%%%%%%%%%%%%%% 
confthreshnms=1;
clf,showimage(img)
indsel=find(nmsconf>confthreshnms);
showbbox(nmsbbox(indsel,[1 1 0],regexp(num2str(nmsconf(indsel)'),'d+.d+','match'));
title(sprintf('%d NMS detections above threshold %1.3f',size(nmsbbox,1),confthreshnms),'FontSize',14)
fprintf('press a key...'),pause,fprintf('n')您可以在第一个链接中找到所有相关功能. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! | 
- windows – Dockerfile – 在一个RUN命令中删除文件,它仍然
- windows – 我在哪里可以下载Subversion二进制文件?
- rdp – 如何在Windows Server Core上使用“来自远程桌面连接
- windows – 带有MySQL的BGINFO,用于存储计算机信息
- Windows10安装ubuntu18.04双系统教程 Windows10
- Windows server 2016 搭建IIS(web)服务
- 什么是Windows“USER”对象
- windows – 使用PRTG自动重启服务
- windows – Powershell屏幕缓冲区
- windows-server-2008-r2 – Windows 2008 R2如何运行32位应
