[go: up one dir, main page]

CN108681691A - A kind of marine ships and light boats rapid detection method based on unmanned water surface ship - Google Patents

A kind of marine ships and light boats rapid detection method based on unmanned water surface ship Download PDF

Info

Publication number
CN108681691A
CN108681691A CN201810309174.4A CN201810309174A CN108681691A CN 108681691 A CN108681691 A CN 108681691A CN 201810309174 A CN201810309174 A CN 201810309174A CN 108681691 A CN108681691 A CN 108681691A
Authority
CN
China
Prior art keywords
ships
light boats
edge
target
target candidate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810309174.4A
Other languages
Chinese (zh)
Inventor
杨毅
陈伟
罗均
李小毛
彭艳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
University of Shanghai for Science and Technology
Original Assignee
University of Shanghai for Science and Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by University of Shanghai for Science and Technology filed Critical University of Shanghai for Science and Technology
Priority to CN201810309174.4A priority Critical patent/CN108681691A/en
Publication of CN108681691A publication Critical patent/CN108681691A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/44Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/50Extraction of image or video features by performing operations within image blocks; by using histograms, e.g. histogram of oriented gradients [HoG]; by summing image-intensity values; Projection analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Data Mining & Analysis (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • General Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Image Analysis (AREA)

Abstract

本发明提供了一种基于无人水面艇的海上船艇快速检测方法。海上船艇检测是无人水面艇(unmanned surface vehicle,USV)视觉系统最主要的任务之一。本发明首先提取图像的边缘信息,并建立“目标性”评分函数获取目标候选框。然后,对海天环境下图像中的海天线进行检测,基于海天线预判再次筛选目标候选框。再然后,对船艇目标进行方向梯度直方图(Histograms of Oriented Gradient,HOG)特征建模,利用支持向量机,采用“自举法”迭代训练分类器。最后,将目标候选框的特征描述子输入到分类器中,进行船艇检测。与传统的检测方法相比,本发明提供的检测方法能够更加快速、准确地检测海上船艇目标,并且具有较高的检测率,对尺度以及光照条件的变化也具有较强的鲁棒性。

The invention provides a rapid detection method for marine ships based on unmanned surface ships. Ship detection at sea is one of the most important tasks of the vision system of unmanned surface vehicle (USV). The invention firstly extracts the edge information of the image, and establishes a "target" scoring function to obtain target candidate frames. Then, the sea-antenna in the sea-sky environment image is detected, and the target candidate frame is screened again based on the sea-antenna prediction. Then, the ship target is modeled with Histograms of Oriented Gradient (HOG) features, and the classifier is iteratively trained using the "bootstrap method" using the support vector machine. Finally, the feature descriptor of the target candidate box is input into the classifier for ship detection. Compared with the traditional detection method, the detection method provided by the present invention can detect the marine ship target more quickly and accurately, has a higher detection rate, and has stronger robustness to changes in scale and illumination conditions.

Description

一种基于无人水面艇的海上船艇快速检测方法A rapid detection method for marine vessels based on unmanned surface vehicles

技术领域technical field

本发明涉及无人水面艇目标检测技术,具体涉及一种基于无人水面艇的海上船艇快速检测方法。The invention relates to an unmanned surface vehicle target detection technology, in particular to a rapid detection method for a marine vessel based on an unmanned surface vehicle.

背景技术Background technique

无人水面艇(unmanned surface vehicle,USV)是一种新型的海上智能体,可以用来执行侦察、反潜、巡逻等军事任务以及搜救、导航、水文地理勘察等民用任务。其中,无人水面艇视觉系统的作用是代替人眼对海上的目标以及障碍物进行检测、跟踪和测量,并进行场景和行为的理解。基于视觉的海上船艇检测是无人水面艇视觉系统最主要的任务之一,是实现无人水面艇对海上船艇进行识别和跟踪的基础。因此研究海上船艇的特征模型和目标检测方法,对无人水面艇的发展具有重要意义。Unmanned surface vehicle (USV) is a new type of maritime intelligence, which can be used to perform military tasks such as reconnaissance, anti-submarine, and patrol, as well as civilian tasks such as search and rescue, navigation, and hydrographic survey. Among them, the function of the vision system of the unmanned surface vehicle is to replace the human eye to detect, track and measure the targets and obstacles at sea, and to understand the scene and behavior. Vision-based detection of marine vessels is one of the most important tasks of the vision system of unmanned surface vehicles, and it is the basis for realizing the recognition and tracking of marine vessels by unmanned surface vehicles. Therefore, it is of great significance to study the feature model and target detection method of marine vessels for the development of unmanned surface vehicles.

传统的目标检测算法有一个共同点,均采用了“滑窗式”搜索策略。这种策略是通过将分类器在图像的每一个窗口位置上滑动遍历,来检测目标在图像中的位置。滑动窗口的数量和分类器的检测尺度是线性相关的。在单一尺度下,对于每张图像分类器大概需要测试104-105个窗口,在多尺度下,测试窗口的数量会以几个数量级增长。此外,现今的检测器还要求对目标的宽高比进行预测,那么测试窗口数量将会达到106-107个。显然,这种“穷尽式”的检测方法会生成很多冗余窗口,导致计算量大且非常耗时。所以很多采用这种方法的目标检测系统,都会选择一些较简单的分类器。这些简单的分类器往往采用较弱的特征模型,得到较快的计算速度来弥补滑窗式搜索策略带来的弊端。但是,采用弱特征模型虽然提升了分类器的计算速度,却损失了检测率和检测精度。Traditional target detection algorithms have one thing in common, they all use a "sliding window" search strategy. This strategy is to detect the position of the object in the image by sliding the classifier through each window position of the image. The number of sliding windows is linearly related to the detection scale of the classifier. At a single scale, about 10 4 -10 5 windows need to be tested for each image classifier, and at multiple scales, the number of test windows will increase by several orders of magnitude. In addition, today's detectors also require to predict the aspect ratio of the object, so the number of test windows will reach 10 6 -10 7 . Obviously, this "exhaustive" detection method will generate many redundant windows, resulting in a large amount of calculation and very time-consuming. Therefore, many target detection systems using this method will choose some simpler classifiers. These simple classifiers often use weaker feature models to obtain faster calculation speeds to make up for the disadvantages of sliding window search strategies. However, although the use of weak feature models improves the calculation speed of the classifier, it loses the detection rate and detection accuracy.

通过以上分析,如果将这些滑窗式搜索策略的检测算法直接移植到无人水面艇视觉检测系统中进行船艇检测,并且采用简单的分类器来弥补计算效率,那么船艇的检测率和检测精度将会大大降低,同时会产生更多的误报。如果采用更复杂的分类器,虽然能提升检测率、减少误报,但是滑窗式搜索策略的“穷尽式”特点会使整个检测过程非常耗时。这样,无人水面艇检测到的船艇位置信息将会失去及时性,从而对后续任务的执行产生一定的影响。Through the above analysis, if the detection algorithms of these sliding window search strategies are directly transplanted into the unmanned surface vehicle visual detection system for ship detection, and a simple classifier is used to make up for the computational efficiency, then the detection rate and detection rate of the ship will Accuracy will be greatly reduced, while more false positives will be generated. If a more complex classifier is used, although it can improve the detection rate and reduce false positives, the "exhaustive" feature of the sliding window search strategy will make the entire detection process very time-consuming. In this way, the position information of the ship detected by the unmanned surface vehicle will lose its timeliness, which will have a certain impact on the execution of subsequent tasks.

发明内容Contents of the invention

发明目的在于针对现有技术中的缺陷以及水面特点,提供一种基于无人水面艇的海上船艇快速检测方法,能够更加快速、准确地检测海上船艇目标,并且具有较高的检测率,对尺度以及光照条件的变化也具有较强的鲁棒性。The purpose of the invention is to aim at the defects in the prior art and the characteristics of the water surface, to provide a rapid detection method for marine vessels based on unmanned surface vehicles, which can detect targets of marine vessels more quickly and accurately, and has a higher detection rate, It is also robust to changes in scale and lighting conditions.

为达到上述目的,本发明采用下述技术方案:To achieve the above object, the present invention adopts the following technical solutions:

一种基于无人水面艇的海上船艇快速检测方法,采用无人水面艇视觉系统进行操作,该视觉系统包括摄像头、图像采集卡、工控机;其中,摄像头安装在无人水面艇的正上方,工控机安装固定在无人水面艇的艇舱中,通过IEEE 1394接口将摄像头连接到工控机上,图像采集卡通过PCI卡槽连接到工控机上,本方法操作步骤如下:A method for rapid detection of ships at sea based on unmanned surface vehicles, which is operated by using the vision system of the unmanned surface vessel, the vision system includes a camera, an image acquisition card, and an industrial computer; wherein the camera is installed directly above the unmanned surface vessel , the industrial computer is installed and fixed in the cabin of the unmanned surface boat, the camera is connected to the industrial computer through the IEEE 1394 interface, and the image acquisition card is connected to the industrial computer through the PCI card slot. The operation steps of this method are as follows:

(1)对摄像头采集的图像进行降采样,得到降采样图像;(1) Downsampling is performed on the image collected by the camera to obtain a downsampled image;

(2)利用边缘检测器,获取原始图像中每个像素点的边缘响应,将这些边缘响应组合在一起得到原始图像的边缘图;(2) Utilize the edge detector to obtain the edge response of each pixel in the original image, and combine these edge responses together to obtain the edge map of the original image;

(3)建立“目标性”评分函数,在边缘图中筛选目标候选框;(3) Establish a "target" scoring function to screen target candidate boxes in the edge map;

(4)检测海天线,基于海天线预判再次筛选目标候选框;(4) Detect the sea antenna, and re-screen the target candidate frame based on the sea antenna prediction;

(5)对船艇目标进行方向梯度直方图,HOG特征建模,得到一个复杂的具有5796维的特征向量;(5) Carry out direction gradient histogram and HOG feature modeling to ship target, obtain a complex feature vector with 5796 dimensions;

(6)利用支持向量机,采用“自举法”迭代训练分类器;(6) Utilize the support vector machine and use the "bootstrap method" to iteratively train the classifier;

(7)将筛选后的目标候选框的特征描述子输入到分类器中,进行船艇检测,如果存在船艇,则输出船艇在图像中的位置信息。(7) Input the feature descriptors of the screened target candidate boxes into the classifier for ship detection, and output the position information of the ship in the image if there is a ship.

与现有技术相比,本发明的有益效果是:Compared with prior art, the beneficial effect of the present invention is:

本发明提供的方法的检测速度可以达到几个数量级的提升,因此能够更加快速、准确地检测海上船艇目标,同时具有较高的检测率。此外,对尺度以及光照条件的变化也具有较强的鲁棒性。The detection speed of the method provided by the invention can be increased by several orders of magnitude, so the marine ship target can be detected more quickly and accurately, and at the same time, it has a higher detection rate. In addition, it is also robust to changes in scale and lighting conditions.

附图说明Description of drawings

通过阅读参照以下附图和对非限制性实施例所作的详细描述,本发明的其它特征、目的和优点将会变得更明显:Other characteristics, objects and advantages of the present invention will become more apparent by reading the detailed description of non-limiting examples with reference to the following drawings:

图1为本发明的系统结构示意图;Fig. 1 is a schematic diagram of the system structure of the present invention;

图2为本发明的原理框图;Fig. 2 is a block diagram of the present invention;

图3为本发明获取目标候选框示意图;Fig. 3 is a schematic diagram of obtaining target candidate frames in the present invention;

图4为本发明基于海天线筛选目标候选框示意图;Fig. 4 is a schematic diagram of the present invention based on sea antenna screening target candidate frames;

图5为本发明分类器训练流程图。Fig. 5 is a flow chart of classifier training in the present invention.

具体实施方式Detailed ways

下面对本发明技术方案进行详细说明,但是本发明的保护范围不局限于所述实施例。The technical solutions of the present invention will be described in detail below, but the protection scope of the present invention is not limited to the embodiments.

如图1所示,本发明采用无人水面艇视觉系统进行操作,该视觉系统包括摄像头、图像采集卡、工控机等设备。其中,摄像头安装在无人水面艇的正上方距离艇头部约1.5米的位置,工控机安装固定在无人水面艇的艇舱中。通过IEEE 1394接口将摄像头连接到工控机上,图像采集卡通过PCI卡槽连接到工控机上。As shown in Figure 1, the present invention uses the vision system of the unmanned surface vehicle to operate, and the vision system includes equipment such as a camera, an image acquisition card, and an industrial computer. Among them, the camera is installed directly above the unmanned surface vehicle at a position about 1.5 meters away from the bow of the vessel, and the industrial computer is installed and fixed in the cabin of the unmanned surface vessel. The camera is connected to the industrial computer through the IEEE 1394 interface, and the image acquisition card is connected to the industrial computer through the PCI card slot.

如图2所示,本发明提供了一种基于无人水面艇的海上船艇快速检测方法。首先,提取图像的边缘信息,并建立“目标性”评分函数获取目标候选框。然后,对海天环境下图像中的海天线进行检测,基于海天线预判再次筛选目标候选框。再然后,对船艇目标进行方向梯度直方图(Histograms of Oriented Gradient,HOG)特征建模,利用支持向量机(Support Vector Machine,SVM),采用“自举法”迭代训练分类器。最后,将目标候选框的特征描述子输入到分类器中,进行船艇检测。与传统的检测方法相比,本发明提供的检测方法能够更加快速、准确地检测海上船艇目标,并且具有较高的检测率,对尺度以及光照条件的变化也具有较强的鲁棒性。As shown in Fig. 2, the present invention provides a method for rapid detection of marine vessels based on unmanned surface vehicles. First, the edge information of the image is extracted, and the "targetness" scoring function is established to obtain the target candidate box. Then, the sea-antenna in the sea-sky environment image is detected, and the target candidate frame is screened again based on the sea-antenna prediction. Then, the ship target is modeled with Histograms of Oriented Gradient (HOG) features, and the support vector machine (Support Vector Machine, SVM) is used to iteratively train the classifier with the "bootstrap method". Finally, the feature descriptor of the target candidate box is input into the classifier for ship detection. Compared with the traditional detection method, the detection method provided by the present invention can detect the marine ship target more quickly and accurately, has a higher detection rate, and has stronger robustness to changes in scale and illumination conditions.

上述基于无人水面艇的海上船艇快速检测方法,具体包括以下步骤:The above-mentioned rapid detection method for ships at sea based on unmanned surface vehicles specifically comprises the following steps:

(1)对摄像头采集的图像进行降采样,将采集得到的1440×1080像素的图像降采样到640×480像素进行处理;(1) down-sampling the image collected by the camera, and down-sampling the collected image of 1440×1080 pixels to 640×480 pixels for processing;

(2)如图3所示,利用边缘检测器,获取原始图像中每个像素点的边缘响应,将这些边缘响应组合在一起得到原始图像的边缘图,这样直接得到的边缘图相对比较紧密,通过执行一个非极大值抑制(Non-Maximal Suppression,NMS)获取边缘响应的局部最大值,从而得到一张相对稀疏的边缘图,如图3(b)所示。(2) As shown in Figure 3, the edge detector is used to obtain the edge response of each pixel in the original image, and these edge responses are combined to obtain the edge map of the original image, so that the directly obtained edge map is relatively close, By performing a Non-Maximal Suppression (NMS) to obtain the local maximum of the edge response, a relatively sparse edge map is obtained, as shown in Figure 3(b).

(3)建立“目标性”评分函数,在边缘图中筛选目标候选框。具体步骤为:(3) Establish a "targetness" scoring function to screen target candidate boxes in the edge map. The specific steps are:

给定边缘群组的集合si∈S,计算每对相邻边缘群组之间的相似度。对于边缘群组si和sj,它们之间的相似度a(si,sj)计算公式如下:Given a set s i ∈ S of edge groups, compute the similarity between each pair of adjacent edge groups. For edge groups s i and s j , the calculation formula of their similarity a(s i , s j ) is as follows:

a(si,sj)=|cos(θiij)cos(θjij)|γ a(s i ,s j )=|cos(θ iij )cos(θ jij )| γ

式中,θi和θj是两个边缘群组的平均方向,θij是它们的平均位置xi和xj之间的角度。γ值是用来控制方向对相似度的敏感性的,本方法中取γ=2。where θi and θj are the average orientations of two edge groups, and θij is the angle between their average positions xi and xj . The γ value is used to control the sensitivity of the direction to the similarity, and γ=2 is taken in this method.

给定边缘群组的集合S,并且计算得到它们两两之间相似度之后,通过建立一个评分函数对候选边界框b评分。计算边缘群组si中所有像素p的边缘值总和,记为mi。选取边缘群组si中任意一个像素的位置,记为 Given a set S of edge groups and calculating the similarity between them, the candidate bounding box b is scored by establishing a scoring function. Calculate the sum of the edge values of all pixels p in the edge group si , denoted as m i . Select the position of any pixel in the edge group s i , denoted as

对于每一个边缘群组si,计算一个连续值wb(si)∈[0,1],用来衡量si是否完全包含在边界框b中。wb(si)的计算公式如下:For each edge group s i , a continuous value w b (s i )∈[0,1] is calculated to measure whether s i is completely contained in the bounding box b. The calculation formula of w b (s i ) is as follows:

式中,T是开始于t1∈Sb,结束于t|T|=si的有序路径,a(tj,tj+1)为边缘群组之间的相似度。如果不存在这样的路径,令wb(si)=1。In the formula, T is an ordered path starting from t 1 ∈ S b and ending at t |T| = si , and a(t j ,t j+1 ) is the similarity between edge groups. If no such path exists, let w b (s i )=1.

利用计算所得的wb(si),对边界框b的评分公式如下:Using the calculated w b (s i ), the scoring formula for the bounding box b is as follows:

式中,bw、bh分别是边界框的宽度和高度,wb(si)∈[0,1]衡量si是否完全包含在边界框b中,mi是边缘群组si中所有像素p的边缘值总和。由于更大的边界框会包含更多的边缘,本方法取κ=1.5抵消这个偏差。In the formula, b w and b h are the width and height of the bounding box respectively, w b (s i )∈[0,1] measures whether s i is completely contained in the bounding box b, m i is the edge group s i The sum of the edge values of all pixels p. Since larger bounding boxes will contain more edges, our method takes κ = 1.5 to offset this bias.

由于处于边界框内部的边缘相比那些处于边界框附近的边缘,重要性要来得低。对评分公式进行改进,将边界框内部的边缘值从评分hb中减掉,改进后的评分公式如下:Since edges inside the bounding box are less important than those near the bounding box. The scoring formula is improved, and the edge value inside the bounding box is subtracted from the scoring h b . The improved scoring formula is as follows:

式中,bw、bh分别是边界框的宽度和高度,bin的宽度和高度分别为bw/2和bh/2,mp为边缘图中每个像素p的边缘值大小,同理取κ=1.5。最后,选取1000个评分较大的边界框作为目标候选框。In the formula, b w and b h are the width and height of the bounding box respectively, the width and height of bin in are b w /2 and b h /2 respectively, m p is the edge value of each pixel p in the edge map, Similarly, take κ=1.5. Finally, 1000 bounding boxes with larger scores are selected as object candidates.

(4)如图4所示,海天线将图像划分为三个区域:天空区域、海面区域和海天线区域。船艇在海上航行,只会处于海面区域和海天线区域,不会处于天空区域。基于这样一个特性,本发明进一步改进目标候选框生成方法,对1000个评分较大的目标候选框再次进行筛选,剔除掉完全处于海天线区域上方的目标候选框,如图4(a)中的红色方框所示。保留处于海天线下方以及与海天线相交的目标候选框,如图4(a)中的绿色方框所示。通过在边缘图上执行一个简单的Hough变化检测海天线,基于上述的海天线预判再次筛选目标候选框。(4) As shown in Figure 4, the sea antenna divides the image into three regions: the sky region, the sea surface region and the sea antenna region. When a ship sails on the sea, it will only be in the sea surface area and the sea line area, and will not be in the sky area. Based on such a characteristic, the present invention further improves the target candidate frame generation method, screens again 1000 target candidate frames with higher scores, and eliminates the target candidate frames that are completely above the sea antenna area, as shown in Figure 4(a) Shown in red box. The target candidate boxes under and intersecting the sea antenna are reserved, as shown by the green box in Fig. 4(a). By performing a simple Hough change detection sea antenna on the edge map, the target candidate box is screened again based on the above sea antenna prediction.

(5)本发明对船艇目标进行方向梯度直方图(Histograms of OrientedGradient,HOG)特征建模,根据船艇的外形特点,将船艇特征模型的宽高比设计为3:1,特征窗口的大小设计为192×64像素。HOG特征的细胞单元格尺寸设计为8×8像素。每个细胞单元格的直方图通道数目设置为9个。这样,船艇的HOG特征描述子的特征维数V计算公式如下:(5) The present invention carries out directional gradient histogram (Histograms of OrientedGradient, HOG) feature modeling to the boat target, according to the shape characteristics of the boat, the aspect ratio of the boat feature model is designed to be 3:1, and the feature window The size is designed to be 192×64 pixels. The cell size of the HOG feature is designed to be 8×8 pixels. The number of histogram channels per cell was set to 9. In this way, the calculation formula of the feature dimension V of the HOG feature descriptor of the ship is as follows:

(6)如图5所示,本发明利用线性核的支持向量机(Support Vector Machine,SVM),采用“自举法”迭代训练分类器。具体训练步骤如下:首先,初始的正样本是由船艇的所有真值框(Ground Truth)组成,总数为2000个。然后,选择与真值框重叠面积占20%-50%的目标候选框作为最初的负样本。为了避免选取近似的重复的负样本,将重叠面积超过70%的两个负样本,选择其中一个丢弃。最终,从所有负样本中随机选取10000个作为SVM训练的负样本。得到初始分类器之后,要进行一个再训练的过程。将初始分类器在负样本原图(不包含船艇目标)上进行船艇目标的检测,这样检测到的所有矩形框属于误报(FalsePositives)。这些误报的矩形框对于分类器是一个难例(Hard Example)。将这些难例保存为图像,加入到初始的负样本集合中,重新进行分类器的训练。这样,通过再训练得到的分类器就具有更好的分类能力,也就是检测船艇目标的能力。再训练的过程是可以迭代进行的,直到分类器的性能没有明显提升为止。(6) As shown in FIG. 5 , the present invention utilizes a support vector machine (Support Vector Machine, SVM) with a linear kernel, and adopts a "bootstrap method" to iteratively train a classifier. The specific training steps are as follows: First, the initial positive samples are composed of all the ground truth boxes (Ground Truth) of the boat, and the total number is 2000. Then, object candidate boxes with 20%-50% overlapping area with the ground-truth boxes are selected as the initial negative samples. In order to avoid selecting similar duplicate negative samples, two negative samples with an overlapping area of more than 70% are selected and discarded. Finally, 10,000 negative samples are randomly selected from all negative samples as negative samples for SVM training. After obtaining the initial classifier, a retraining process is required. The initial classifier is used to detect the ship target on the original image of the negative sample (not including the ship target), so that all the detected rectangular boxes belong to false positives (FalsePositives). These false positive rectangles are a hard example for the classifier (Hard Example). Save these difficult examples as images, add them to the initial negative sample set, and retrain the classifier. In this way, the classifier obtained through retraining has better classification ability, that is, the ability to detect ship targets. The retraining process can be carried out iteratively until the performance of the classifier is not significantly improved.

(7)将筛选后的目标候选框的特征描述子输入到分类器中,进行船艇检测。如果存在船艇,则输出船艇在图像中的位置信息。(7) Input the feature descriptors of the filtered target candidate boxes into the classifier for ship detection. If there is a boat, then output the location information of the boat in the image.

Claims (5)

1. a kind of marine ships and light boats rapid detection method based on unmanned water surface ship, is grasped using unmanned water surface ship vision system Make, which includes camera, image pick-up card, industrial personal computer;Wherein, camera be mounted on unmanned water surface ship just on Side, industrial personal computer are fixed in the ship cabin of unmanned water surface ship, and camera is connected to industrial personal computer by 1394 interfaces of IEEE On, image pick-up card is connected to by pci card slot on industrial personal computer, which is characterized in that this method operating procedure is as follows:
(1) down-sampled to the image progress of camera acquisition, obtain down-sampled image;
(2) edge detector is utilized, the skirt response of each pixel in original image is obtained, these skirt responses combination is existed The edge graph of original image is obtained together;
(3) " Objective " score function is established, target candidate frame is screened in edge graph;
(4) sea horizon is detected, target candidate frame is screened based on sea horizon anticipation again;
(5) histograms of oriented gradients is carried out to ships and light boats target, HOG feature modelings obtain a complicated spy with 5796 dimensions Sign vector;
(6) support vector machines is utilized, using " boot strap " repetitive exercise grader;
(7) Feature Descriptor of the target candidate frame after screening is input in grader, ships and light boats detection is carried out, if there is ship Ship then exports the location information of ships and light boats in the picture.
2. a kind of marine ships and light boats rapid detection method based on unmanned water surface ship according to claim 1, it is characterised in that: " Objective " score function is established in the step (3), target candidate frame is screened in edge graph is specially:
The set s of given edge groupi∈ S calculate the similarity between each pair of neighboring edge group, for edge group siWith sj, the similarity a (s between themi,sj) calculation formula is as follows:
a(si,sj)=| cos (θiij)cos(θjij)|γ
In formula, θiAnd θjIt is the mean direction of the edges Liang Ge group, θijIt is their mean place xiAnd xjBetween angle, γ Value is the sensibility to similarity for control direction, and γ=2 are taken in this method;
The set S of given edge group, and they are calculated between any two after similarity, by establishing a scoring letter It is several to score boundary candidate frame b, calculate edge group siThe marginal value summation of middle all pixels p, is denoted as mi;Choose edge group siIn any one pixel position, be denoted as
For each edge group si, calculate a successive value wb(si) ∈ [0,1], for weighing siWhether side is completely contained in In boundary frame b;wb(si) calculation formula it is as follows:
In formula, T is to start from t1∈Sb, end at t|T|=siOrdered path, a (tj,tj+1) similar between edge group Degree;If there is no such path, w is enabledb(si)=1;
Utilize the w for calculating gainedb(si), it is as follows to the scoring formula of bounding box b:
In formula, bw、bhIt is the width and height of bounding box, w respectivelyb(si) ∈ [0,1] measurements siWhether bounding box b is completely contained in In, miIt is edge group siThe marginal value summation of middle all pixels p;Since the bounding box of bigger can include more edges, we Method takes κ=1.5 to offset this deviation;
Since the edge inside bounding box is in the edge near bounding box compared to those, importance will be come low;To commenting Point formula is improved, by the marginal value inside bounding box from scoring hbIn cut, improved scoring formula is as follows:
In formula, bw、bhIt is the width and height of bounding box, b respectivelyinWidth and height be respectively bw/ 2 and bh/ 2, mpFor edge The marginal value size of each pixel p, similarly takes κ=1.5 in figure;Finally, target candidate frame is screened in edge graph, chooses 1000 The larger bounding box of a scoring is as target candidate frame.
3. a kind of marine ships and light boats rapid detection method based on unmanned water surface ship according to claim 1, it is characterised in that: Sea horizon is detected in the step (4), screening target candidate frame is specially again based on sea horizon anticipation:
The detection of sea horizon is by executing a Hough variation on edge graph, to obtain the position of sea horizon in the picture Confidence ceases;Ships and light boats ride the sea, and can only be in water area and sea horizon region, be not at sky areas;Based in this way One characteristic screens 1000 larger target candidate frames of scoring, weeds out and be completely on sea horizon region again The target candidate frame of side retains the target candidate frame intersected below sea horizon and with sea horizon.
4. a kind of marine ships and light boats rapid detection method based on unmanned water surface ship according to claim 1, it is characterised in that: Carrying out histograms of oriented gradients feature modeling to ships and light boats target in the step (5) is specially:
According to the sShape features of ships and light boats, the ratio of width to height of ships and light boats characteristic model is designed as 3:1, characteristic window is sized so as to The cell factory lattice of 192 × 64 pixels, HOG features are designed and sized to 8 × 8 pixels, the histogram channel of each cell factory lattice Number is set as 9, in this way, the intrinsic dimensionality V calculation formula of the HOG Feature Descriptors of ships and light boats are as follows:
5. a kind of marine ships and light boats rapid detection method based on unmanned water surface ship according to claim 1, it is characterised in that: It is specially using support vector machines repetitive exercise grader in the step (6):
Using the support vector machines of linear kernel, using " boot strap " repetitive exercise grader, specific training step is as follows:First, Initial positive sample is made of all true value frames of ships and light boats, and sum is 2000;Then, selection is accounted for true value frame overlapping area The target candidate frame of 20%-50% is as initial negative sample, in order to avoid choosing the negative sample approximately repeated, by faying surface Product is more than 70% two negative samples, selects one of abandon;Finally, 10000 works are randomly selected from all negative samples For the negative sample of SVM training, after obtaining preliminary classification device, the process of a retraining is carried out;By preliminary classification device negative Sample artwork, that is, do not include the detection of the enterprising ship target of navigating of ships and light boats target, and all rectangle frames detected in this way belong to wrong report; The rectangle frame of these wrong reports is a difficult example for grader, these hardly possible examples are saved as image, are added to initial negative sample In set, the training of grader is re-started, in this way, just there is better classification capacity by the grader that retraining obtains, Namely detect the ability of ships and light boats target, the process of retraining can iteration carry out, until the performance of grader is not bright Until aobvious promotion.
CN201810309174.4A 2018-04-09 2018-04-09 A kind of marine ships and light boats rapid detection method based on unmanned water surface ship Pending CN108681691A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810309174.4A CN108681691A (en) 2018-04-09 2018-04-09 A kind of marine ships and light boats rapid detection method based on unmanned water surface ship

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810309174.4A CN108681691A (en) 2018-04-09 2018-04-09 A kind of marine ships and light boats rapid detection method based on unmanned water surface ship

Publications (1)

Publication Number Publication Date
CN108681691A true CN108681691A (en) 2018-10-19

Family

ID=63800769

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810309174.4A Pending CN108681691A (en) 2018-04-09 2018-04-09 A kind of marine ships and light boats rapid detection method based on unmanned water surface ship

Country Status (1)

Country Link
CN (1) CN108681691A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109902692A (en) * 2019-01-14 2019-06-18 北京工商大学 An Image Classification Method Based on Local Region Depth Feature Coding
CN110414413A (en) * 2019-07-25 2019-11-05 北京麒麟智能科技有限公司 A kind of logistics trolley pedestrian detection method based on artificial intelligence
ES2912040A1 (en) * 2020-11-24 2022-05-24 Iglesias Rodrigo Garcia Delivery system of a consumer good (Machine-translation by Google Translate, not legally binding)
CN114782487A (en) * 2022-03-24 2022-07-22 中国科学院自动化研究所 Sea surface ship detection tracking method and system
CN114863373A (en) * 2022-04-19 2022-08-05 华南理工大学 Offshore unmanned platform monitoring method and offshore unmanned platform

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101533466A (en) * 2009-04-09 2009-09-16 南京壹进制信息技术有限公司 Image processing method for positioning eyes
CN201853971U (en) * 2010-11-16 2011-06-01 中国科学院沈阳自动化研究所 Mobile robot suitable for inspection of large-gap transmission lines
CN102663348A (en) * 2012-03-21 2012-09-12 中国人民解放军国防科学技术大学 Marine ship detection method in optical remote sensing image
CN102998001A (en) * 2012-12-18 2013-03-27 四川九洲电器集团有限责任公司 Target detection system
CN103198332A (en) * 2012-12-14 2013-07-10 华南理工大学 Real-time robust far infrared vehicle-mounted pedestrian detection method
CN103544502A (en) * 2013-10-29 2014-01-29 上海市城市建设设计研究总院 High-resolution remote-sensing image ship extraction method based on SVM
CN104239854A (en) * 2014-08-30 2014-12-24 电子科技大学 Pedestrian feature extraction and representing method based on region sparse integration passage
US20150213059A1 (en) * 2014-01-29 2015-07-30 Raytheon Company Method for detecting and recognizing boats
CN105022990A (en) * 2015-06-29 2015-11-04 华中科技大学 Water surface target rapid-detection method based on unmanned vessel application
CN105930803A (en) * 2016-04-22 2016-09-07 北京智芯原动科技有限公司 Preceding vehicle detection method based on Edge Boxes and preceding vehicle detection device thereof
CN106022307A (en) * 2016-06-08 2016-10-12 中国科学院自动化研究所 Remote sensing image vessel detection method based on vessel rotation rectangular space
CN106981071A (en) * 2017-03-21 2017-07-25 广东华中科技大学工业技术研究院 A Target Tracking Method Based on Unmanned Vehicle Application
CN107016391A (en) * 2017-04-14 2017-08-04 中国科学院合肥物质科学研究院 A kind of complex scene workpiece identification method

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101533466A (en) * 2009-04-09 2009-09-16 南京壹进制信息技术有限公司 Image processing method for positioning eyes
CN201853971U (en) * 2010-11-16 2011-06-01 中国科学院沈阳自动化研究所 Mobile robot suitable for inspection of large-gap transmission lines
CN102663348A (en) * 2012-03-21 2012-09-12 中国人民解放军国防科学技术大学 Marine ship detection method in optical remote sensing image
CN103198332A (en) * 2012-12-14 2013-07-10 华南理工大学 Real-time robust far infrared vehicle-mounted pedestrian detection method
CN102998001A (en) * 2012-12-18 2013-03-27 四川九洲电器集团有限责任公司 Target detection system
CN103544502A (en) * 2013-10-29 2014-01-29 上海市城市建设设计研究总院 High-resolution remote-sensing image ship extraction method based on SVM
US20150213059A1 (en) * 2014-01-29 2015-07-30 Raytheon Company Method for detecting and recognizing boats
CN104239854A (en) * 2014-08-30 2014-12-24 电子科技大学 Pedestrian feature extraction and representing method based on region sparse integration passage
CN105022990A (en) * 2015-06-29 2015-11-04 华中科技大学 Water surface target rapid-detection method based on unmanned vessel application
CN105930803A (en) * 2016-04-22 2016-09-07 北京智芯原动科技有限公司 Preceding vehicle detection method based on Edge Boxes and preceding vehicle detection device thereof
CN106022307A (en) * 2016-06-08 2016-10-12 中国科学院自动化研究所 Remote sensing image vessel detection method based on vessel rotation rectangular space
CN106981071A (en) * 2017-03-21 2017-07-25 广东华中科技大学工业技术研究院 A Target Tracking Method Based on Unmanned Vehicle Application
CN107016391A (en) * 2017-04-14 2017-08-04 中国科学院合肥物质科学研究院 A kind of complex scene workpiece identification method

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
C. LAWRENCE ZITNICK 等: "Edge Boxes: Locating Object Proposals from Edges", 《ECCV 2014》 *
MASIKKK: "用初次训练的SVM+HOG分类器在负样本原图上检测HardExample", 《HTTPS://BLOG.CSDN.NET/MASIBUAA/ARTICLE/DETAILS/16113373》 *
MATEJ KRISTAN 等: "Fast Image-Based Obstacle Detection From Unmanned Surface Vehicles", 《IEEE TRANSACTIONS ON CYBERNETICS》 *
SHENGXIANG QI 等: "Unsupervised Ship Detection Based on Saliency and S-HOG Descriptor From Optical Satellite Images", 《IEEE GEOSCIENCE AND REMOTE SENSING LETTERS》 *
安博文 等: "基于 Hough 变换的海天线检测算法研究", 《红外技术》 *
李小毛 等: "基于 3D 激光雷达的无人水面艇海上目标检测", 《上海大学学报(自然科学版)》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109902692A (en) * 2019-01-14 2019-06-18 北京工商大学 An Image Classification Method Based on Local Region Depth Feature Coding
CN110414413A (en) * 2019-07-25 2019-11-05 北京麒麟智能科技有限公司 A kind of logistics trolley pedestrian detection method based on artificial intelligence
ES2912040A1 (en) * 2020-11-24 2022-05-24 Iglesias Rodrigo Garcia Delivery system of a consumer good (Machine-translation by Google Translate, not legally binding)
CN114782487A (en) * 2022-03-24 2022-07-22 中国科学院自动化研究所 Sea surface ship detection tracking method and system
CN114782487B (en) * 2022-03-24 2024-12-10 中国科学院自动化研究所 A method and system for detecting and tracking sea vessels
CN114863373A (en) * 2022-04-19 2022-08-05 华南理工大学 Offshore unmanned platform monitoring method and offshore unmanned platform
CN114863373B (en) * 2022-04-19 2024-06-04 华南理工大学 Marine unmanned platform monitoring method and marine unmanned platform

Similar Documents

Publication Publication Date Title
Shao et al. Saliency-aware convolution neural network for ship detection in surveillance video
Cheng et al. FusionNet: Edge aware deep convolutional networks for semantic segmentation of remote sensing harbor images
CN109598241B (en) Recognition method of ships at sea based on satellite imagery based on Faster R-CNN
Rodin et al. Object classification in thermal images using convolutional neural networks for search and rescue missions with unmanned aerial systems
CN108765458B (en) Adaptive tracking method of high sea state unmanned vehicle sea surface target scale based on correlation filtering
CN111738112B (en) Remote sensing ship image target detection method based on deep neural network and self-attention mechanism
Zhou et al. Robust vehicle detection in aerial images using bag-of-words and orientation aware scanning
CN115147594A (en) Ship image trajectory tracking and predicting method based on ship bow direction identification
CN109255317B (en) Aerial image difference detection method based on double networks
CN105022990B (en) A kind of waterborne target rapid detection method based on unmanned boat application
CN108681691A (en) A kind of marine ships and light boats rapid detection method based on unmanned water surface ship
Xue et al. Rethinking automatic ship wake detection: State-of-the-art CNN-based wake detection via optical images
CN110647802A (en) Deep learning-based ship target detection method in remote sensing images
CN114821358B (en) Method for extracting and identifying marine ship targets from optical remote sensing images
CN112418028A (en) Satellite image ship identification and segmentation method based on deep learning
CN117079097A (en) Sea surface target identification method based on visual saliency
CN118397257B (en) SAR image ship target detection method and device, electronic equipment and storage medium
CN106372590A (en) Sea surface ship intelligent tracking system and method based on machine vision
CN112633274A (en) Sonar image target detection method and device and electronic equipment
Zhou et al. A fusion algorithm of object detection and tracking for unmanned surface vehicles
Hashmani et al. A survey on edge detection based recent marine horizon line detection methods and their applications
CN116630808A (en) Rotating ship detection method based on remote sensing image feature extraction
Yu et al. YOLO-MRS: An efficient deep learning-based maritime object detection method for unmanned surface vehicles
CN116109936B (en) Target detection and identification method based on optical remote sensing
Shi et al. Obstacle type recognition in visual images via dilated convolutional neural network for unmanned surface vehicles

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181019