[go: up one dir, main page]

CN105785990B - Ship mooring system and obstacle recognition method based on panoramic looking-around - Google Patents

Ship mooring system and obstacle recognition method based on panoramic looking-around Download PDF

Info

Publication number
CN105785990B
CN105785990B CN201610109865.0A CN201610109865A CN105785990B CN 105785990 B CN105785990 B CN 105785990B CN 201610109865 A CN201610109865 A CN 201610109865A CN 105785990 B CN105785990 B CN 105785990B
Authority
CN
China
Prior art keywords
control module
ship
module
main control
cluster analysis
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.)
Expired - Fee Related
Application number
CN201610109865.0A
Other languages
Chinese (zh)
Other versions
CN105785990A (en
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.)
China E Tech Ningbo Maritime Electronics Research Institute Co ltd
Original Assignee
Jiangsu University of 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 Jiangsu University of Science and Technology filed Critical Jiangsu University of Science and Technology
Priority to CN201610109865.0A priority Critical patent/CN105785990B/en
Publication of CN105785990A publication Critical patent/CN105785990A/en
Application granted granted Critical
Publication of CN105785990B publication Critical patent/CN105785990B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/0206Control of position or course in two dimensions specially adapted to water vehicles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/23Clustering techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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
    • G06F18/2411Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on the proximity to a decision surface, e.g. support vector machines

Landscapes

  • Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Engineering & Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Artificial Intelligence (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Biology (AREA)
  • Automation & Control Theory (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

一种基于全景环视的船只停泊系统包括主控制模块、与主控制模块连接的电池和泊船控制模块、与主控制模块连接的显示模块、船速传感器和陀螺仪传感器以及与主控制模块连接的四个摄像头,所述主控制模块包括主控制器、分别与主控制器相连接的电源电路、存储器、与四个摄像头连接的四个图像校正与信号调理模块以及分别与所述船速传感器和陀螺仪传感器相连的两个信号调理电路,所述主控制模块还具有聚类分析模块,聚类分析模块依据存储器中存储并向聚类分析模块提供的全景图像障碍物CHT特征,采用自适应阈值级联线性支持向量机对当前准备停泊环境的安全性、便利性进行分析,从而判断是否需要调用泊船控制模块,进行泊船。

A ship parking system based on panoramic surround view includes a main control module, a battery connected with the main control module and a mooring control module, a display module connected with the main control module, a ship speed sensor and a gyroscope sensor, and four connected with the main control module. a camera, the main control module includes a main controller, a power supply circuit connected to the main controller, a memory, four image correction and signal conditioning modules connected to the four cameras, and the ship speed sensor and the gyro respectively. The main control module also has a cluster analysis module. The cluster analysis module adopts an adaptive threshold level according to the CHT characteristics of the panoramic image obstacles stored in the memory and provided to the cluster analysis module. The linear support vector machine analyzes the safety and convenience of the current ready-to-berth environment, so as to judge whether it is necessary to call the berthing control module for berthing.

Description

基于全景环视的船只停泊系统及障碍物识别方法Ship Parking System and Obstacle Recognition Method Based on Panoramic Surround View

技术领域technical field

本发明涉及自动控制领域,尤其涉及一种基于全景环视的船只停泊系统。The invention relates to the field of automatic control, in particular to a ship parking system based on panoramic surround view.

背景技术Background technique

随着经济和社会的发展,船舶工业也运用在社会产业的诸多方面,如旅游业、运输业,甚至是军事方面。即便是有经验的船长也无法做到十分清楚水域的具体状况。然而视觉信息是实现环境感知与监控、系统智能的主要技术手段。与传统视觉环境感知系统视场较小不同,全景视觉能够实现水平方向360度,垂直方向240度范围内的大视场监控,其广阔的视角为监控周围环境提供了方便。With the development of economy and society, the shipbuilding industry is also used in many aspects of social industries, such as tourism, transportation, and even military. Even experienced captains can't quite understand the specifics of the waters. However, visual information is the main technical means to realize environmental perception and monitoring and system intelligence. Different from the traditional visual environment perception system with a smaller field of view, panoramic vision can realize a large field of view monitoring within a range of 360 degrees in the horizontal direction and 240 degrees in the vertical direction, and its wide viewing angle provides convenience for monitoring the surrounding environment.

因此,实有必要提供一种基于三维全景环视的无人艇自动锚泊系统。Therefore, it is necessary to provide an automatic mooring system for unmanned boats based on three-dimensional panoramic view.

发明内容SUMMARY OF THE INVENTION

为了解决上述问题,本发明的一个方面提供一种基于全景环视的船只停泊系统,其特征在于:所述基于全景环视的船只停泊系统包括主控制模块、与主控制模块连接的电池和泊船控制模块、与主控制模块连接的显示模块、船速传感器、陀螺仪传感器以及与主控制模块连接的四个摄像头,所述主控制模块包括主控制器、分别与主控制器相连接的电源电路、存储器、与四个摄像头连接的四个图像校正与信号调理模块以及分别与所述船速传感器和陀螺仪传感器相连的两个信号调理电路,所述主控制模块还具有聚类分析模块,所述存储器与聚类分析模块连接,所述聚类分析模块与泊船控制模块连接。In order to solve the above problems, one aspect of the present invention provides a vessel parking system based on panoramic surround view, characterized in that: the vessel parking system based on panoramic surround view includes a main control module, a battery connected to the main control module, and a mooring control module. , a display module, a ship speed sensor, a gyroscope sensor and four cameras connected with the main control module, the main control module includes a main controller, a power circuit and a memory respectively connected with the main controller , four image correction and signal conditioning modules connected with four cameras and two signal conditioning circuits respectively connected with the ship speed sensor and the gyroscope sensor, the main control module also has a cluster analysis module, the memory It is connected with the cluster analysis module, and the cluster analysis module is connected with the mooring control module.

进一步地,所述四个摄像头分别安装在船身的前、后、左、右外表面,摄像头分别带有防水装置且具有可旋转的广角镜头。Further, the four cameras are respectively installed on the front, rear, left and right outer surfaces of the hull, and the cameras are respectively equipped with waterproof devices and have rotatable wide-angle lenses.

进一步地,本申请提供一种障碍物识别方法:所述基于全景环视的船只停泊系统的工作方法包括以下步骤:首先,四个摄像头分别采集船身及船下前、后、左、右的实时画面,并将实时画面传输至主制控器;所述船速传感器、陀螺仪传感器分别采集船只的行驶速度以及运行方位;所述四个图像校正与信号调理模块对四个摄像头采集到的实时画面进行校正与信号处理,然后再将校正后的四副图像进行拼接处理,得到船身周围的全景图像;所述显示模块显示船身周围的全景图像;所述两个信号调理电路将船速传感器和陀螺仪传感器采集到的信息进行校正与信号处理,得到船只运行速度以及具体方位;所述存储器中存储采集到的所述船只信息并向所述聚类分析模块提供聚类分析的数据即全景图像;所述聚类分析模块依据存储器中存储并向聚类分析模块提供全景图像障碍物特征,采用自适应阈值级联线性支持向量机识别不同类型障碍物,并对当前准备停泊环境的安全性、便利性有利特征的聚类算法进行分析,从而判断是否需要调用泊船控制模块,进行泊船。Further, the present application provides an obstacle identification method: the working method of the vessel parking system based on panoramic surround view includes the following steps: first, four cameras respectively collect real-time real-time images of the hull and the front, rear, left and right of the ship image, and transmit the real-time image to the main controller; the ship speed sensor and the gyroscope sensor collect the speed and running direction of the ship respectively; the four image correction and signal conditioning modules collect the real-time images collected by the four cameras The picture is corrected and signal processed, and then the four corrected images are spliced to obtain a panoramic image around the hull; the display module displays the panoramic image around the hull; the two signal conditioning circuits adjust the speed of the ship. The information collected by the sensor and the gyroscope sensor is corrected and signal processed to obtain the speed and specific orientation of the ship; the collected information of the ship is stored in the memory and the data of the cluster analysis is provided to the cluster analysis module. Panoramic images; the cluster analysis module uses adaptive threshold cascade linear support vector machines to identify different types of obstacles according to the characteristics of obstacles in the panoramic images stored in the memory and provides the cluster analysis module to the cluster analysis module, and provides a safety assessment of the current parking environment. The clustering algorithm with favorable characteristics of convenience and convenience is used to analyze, so as to judge whether it is necessary to call the berthing control module for berthing.

进一步地,本申请提供的基于全景环视的船只停泊系统的工作方法还包括聚类模块工作方法,所述聚类模块工作方法如下,采用改进CHT特征提取全景环视图像中的障碍物特征T,Further, the working method of the vessel mooring system based on panoramic surround view provided by the present application also includes a clustering module working method, and the clustering module working method is as follows, using the improved CHT feature to extract the obstacle feature T in the panoramic surround view image,

T=G(pc)t(s(pc-p0),s(pc-p1),…,s(pc-p7))T=G(p c )t(s(p c -p 0 ),s(p c -p 1 ),...,s(p c -p 7 ))

其中,in,

式中,t()函数表示符号差分值的联合分布函数;s(pc-pi)表示当前像素点pc与第i邻域点pi之间的符号差分值,G(pc)为标准正态高斯分布函数。In the formula, the t() function represents the joint distribution function of the sign difference value; s(p c -p i ) represents the sign difference value between the current pixel point p c and the i-th neighborhood point p i , G(p c ) is a standard normal Gaussian distribution function.

采用自适应阈值级联线性支持向量机识别不同类型障碍物的CHT特征,对所有的样本提取CHT特征组成训练集,利用线性SVM对其进行分类,获得超平面分类器;The adaptive threshold cascade linear support vector machine is used to identify the CHT features of different types of obstacles, and the CHT features are extracted from all samples to form a training set, and the linear SVM is used to classify them to obtain a hyperplane classifier;

每一个样本关于超平面分类器有一个输出值即障碍物类型m,计算如下式所示,Each sample has an output value of the obstacle type m about the hyperplane classifier, which is calculated as follows:

其中,w*,b*分别是超平面分类器的参数;xn为第n个样本的CHT特征向量,将每一输出值附加一维0-1均匀分布随机数,映射到二维空间,第一层分类器训练完成后,按照自适应阈值的方法剔除掉容易分类的样本,保留hard samples作为第二层分类器的训练样本,依次类推,直到最后一层分类,最终获得障碍物类型同时判断是否锚泊Among them, w * , b * are the parameters of the hyperplane classifier respectively; x n is the CHT feature vector of the nth sample, and each output value is added with a one-dimensional 0-1 uniformly distributed random number, which is mapped to a two-dimensional space, After the training of the first-layer classifier is completed, the samples that are easy to be classified are eliminated according to the adaptive threshold method, and the hard samples are reserved as the training samples of the second-layer classifier, and so on, until the last layer of classification, and finally the obstacle type is obtained at the same time. Determine whether to anchor or not

与现有技术相比,本申请具有以下有益效果:本申请基于全景环视的船只停泊系统可靠性高、测量精度高、安装与调试方便、功耗低、易于普及与推广。Compared with the prior art, the present application has the following beneficial effects: the vessel mooring system based on the panoramic view of the present application has high reliability, high measurement accuracy, convenient installation and debugging, low power consumption, and easy popularization and promotion.

附图说明Description of drawings

图1是本发明实施例中全景环视船只停泊系统的原理图;1 is a schematic diagram of a panoramic view vessel mooring system in an embodiment of the present invention;

图2是本发明实施例中自适应阈值级联分类器训练过程图;Fig. 2 is an adaptive threshold cascade classifier training process diagram in an embodiment of the present invention;

图3是本发明实施例中半径为1的8邻域CHT特征检测窗分解样本图;3 is a sample diagram of decomposition of 8 neighborhood CHT feature detection windows with a radius of 1 in the embodiment of the present invention;

图4是CHT特征提取过程中的空间关系图;Fig. 4 is the spatial relationship diagram in the CHT feature extraction process;

图5是CHT特征提取过程中的像素幅值;Fig. 5 is the pixel amplitude value in the CHT feature extraction process;

图6是CHT特征提取过程中的符号差分值;Fig. 6 is the symbol difference value in the CHT feature extraction process;

图7是CHT特征提取过程中的权重模板。Figure 7 is the weight template in the CHT feature extraction process.

具体实施方式Detailed ways

图1所示是一种基于全景环视的船只停泊系统,所述基于全景环视的船只停泊系统包括主控制模块1、与主控制模块1连接的电池2和泊船控制模块3、与主控制模块1连接的显示模块4、船速传感器5和陀螺仪传感器6以及与主控制模块1连接的四个摄像头7,所述主控制模块1包括主控制器11、分别与主控制器1相连接的电源电路12、存储器13、与四个摄像头7连接的四个图像校正与信号调理模块14以及分别与所述船速传感器5和陀螺仪传感器6相连的两个信号调理电路15,所述主控制模块1还具有聚类分析模块16,所述存储器13与聚类分析模块16连接,所述聚类分析模块16与泊船控制模块3连接。Figure 1 shows a vessel parking system based on panoramic surround view. The vessel parking system based on panoramic surround view includes a main control module 1, a battery 2 connected to the main control module 1, a mooring control module 3, and a main control module 1. The connected display module 4, the ship speed sensor 5 and the gyroscope sensor 6 and the four cameras 7 connected with the main control module 1, the main control module 1 comprises the main controller 11, the power supply connected with the main controller 1 respectively Circuit 12, memory 13, four image correction and signal conditioning modules 14 connected to the four cameras 7, and two signal conditioning circuits 15 respectively connected to the ship speed sensor 5 and the gyro sensor 6, the main control module 1 also has a cluster analysis module 16, the memory 13 is connected with the cluster analysis module 16, and the cluster analysis module 16 is connected with the mooring control module 3.

所述电池2用于为主控制模块1提供电力,主控制模块1中所述的电源电路12用于向主控制器11提供电力。The battery 2 is used to provide power to the main control module 1 , and the power supply circuit 12 described in the main control module 1 is used to provide power to the main controller 11 .

所述泊船控制模块3包括手动控制模块31和自动控制模块32。所述船速传感器5和陀螺仪传感器6分别固定在船身表面,用来采集船只的行驶速度以及运行方位。所述四个摄像头7分别为第一摄像头7A、第二摄像头7B、第三摄像头7C和第四摄像头7D,所述第一摄像头7A、第二摄像头7B、第三摄像头7C和第四摄像头7D分别安装在船身的前、后、左、右外表面上,且所述第一摄像头7A、第二摄像头7B、第三摄像头7C和第四摄像头7D均采用带防水装置且可旋转的广角镜头。所述第一摄像头7A、第二摄像头7B、第三摄像头7C和第四摄像头7D分别用于采集船身及船下前、后、左、右的实时画面。The mooring control module 3 includes a manual control module 31 and an automatic control module 32 . The ship speed sensor 5 and the gyroscope sensor 6 are respectively fixed on the surface of the ship's hull, and are used to collect the running speed and running direction of the ship. The four cameras 7 are respectively a first camera 7A, a second camera 7B, a third camera 7C and a fourth camera 7D, and the first camera 7A, the second camera 7B, the third camera 7C and the fourth camera 7D are respectively It is installed on the front, rear, left and right outer surfaces of the hull, and the first camera 7A, the second camera 7B, the third camera 7C and the fourth camera 7D are all rotatable wide-angle lenses with waterproof devices. The first camera 7A, the second camera 7B, the third camera 7C and the fourth camera 7D are respectively used to collect real-time images of the hull and the front, rear, left and right sides of the ship.

所述存储器13中用于存储船速传感器5和陀螺仪传感器6采集到的所有经过该船只的信息。The memory 13 is used to store all the information of the ship passing through the ship collected by the ship speed sensor 5 and the gyro sensor 6 .

所述四个图像校正与信号调理模块14分别为图像校正与信号调理模块14A、图像校正与信号调理模块14B、图像校正与信号调理模块14C和图像校正与信号调理模块14D,图像校正与信号调理模块14A、图像校正与信号调理模块14B、图像校正与信号调理模块14C和图像校正与信号调理模块14D分别与第一摄像头7A、第二摄像头7B、第三摄像头7C和第四摄像头7D对应连接,并将第一摄像头7A、第二摄像头7B、第三摄像头7C和第四摄像头7D采集到的图像进行校正与信号处理,然后再将四副校正后的图像进行拼接处理,以便于得到船身周围的全景图像。所述主控制器的输出端与所述显示模块的输入端相连接,用于显示船身周围的全景图像。The four image correction and signal conditioning modules 14 are respectively an image correction and signal conditioning module 14A, an image correction and signal conditioning module 14B, an image correction and signal conditioning module 14C, and an image correction and signal conditioning module 14D. The module 14A, the image correction and signal conditioning module 14B, the image correction and signal conditioning module 14C and the image correction and signal conditioning module 14D are respectively connected to the first camera 7A, the second camera 7B, the third camera 7C and the fourth camera 7D, respectively, Correction and signal processing are performed on the images collected by the first camera 7A, the second camera 7B, the third camera 7C and the fourth camera 7D, and then the four corrected images are stitched together, so as to obtain the surrounding area of the hull. panoramic image. The output end of the main controller is connected with the input end of the display module for displaying panoramic images around the hull.

所述两个信号调理电路15分别为第一信号调理电路15A和第二信号调理电路15B,所述第一信号调理电路15A和第二信号调理电路15B分别用于将船速传感器5和陀螺仪传感器6采集到的信息进行校正与信号处理,得到船只运行速度以及具体方位。The two signal conditioning circuits 15 are respectively a first signal conditioning circuit 15A and a second signal conditioning circuit 15B. The first signal conditioning circuit 15A and the second signal conditioning circuit 15B are respectively used to connect the ship speed sensor 5 and the gyroscope The information collected by the sensor 6 is corrected and signal processed to obtain the running speed and specific orientation of the ship.

所述聚类分析模块16根据存储器13中存储的并向聚类分析模块16提供的全景图像障碍物的CHT特征,采用自适应阈值级联线性支持向量机识别不同类型障碍物,对当前准备停泊环境的安全性、便利性进行分析,从而判断是否需要调用泊船控制模块3,进行泊船。若所述聚类分析模块16得出的结果为当前环境适宜停泊,则调用所述泊船控制模块3,所述泊船控制模块16对应调用手动控制模块31或者自动控制模块32来进行手动控制状态下的泊船或者自动控制状态下的泊船。The cluster analysis module 16 uses adaptive threshold cascade linear support vector machine to identify different types of obstacles according to the CHT features of the panoramic image obstacles stored in the memory 13 and provided to the cluster analysis module 16, and is ready to park at the moment. The safety and convenience of the environment are analyzed to determine whether it is necessary to call the berthing control module 3 for berthing. If the result obtained by the cluster analysis module 16 is that the current environment is suitable for berthing, the berthing control module 3 is called, and the berthing control module 16 correspondingly calls the manual control module 31 or the automatic control module 32 for manual control The ship is parked under the state of the state or the ship is parked under the automatic control state.

本申请中基于全景环视的船只停泊系统的工作方法包括以下步骤:The working method of the vessel mooring system based on panoramic surround view in this application includes the following steps:

首先,四个摄像头7分别采集船身及船下前、后、左、右的实时画面,并将实时画面传输至主制控器;First, the four cameras 7 collect the real-time images of the hull and the front, rear, left and right of the ship respectively, and transmit the real-time images to the main controller;

所述船速传感器5、陀螺仪传感器6分别采集船只的行驶速度以及运行方位;The ship speed sensor 5 and the gyroscope sensor 6 respectively collect the traveling speed and the running direction of the ship;

所述四个图像校正与信号调理模块14对四个摄像头7采集到的实时画面进行校正与信号处理,然后再将校正后的四副图像进行拼接处理,得到船身周围的全景图像;The four image correction and signal conditioning modules 14 perform correction and signal processing on the real-time images collected by the four cameras 7, and then perform stitching processing on the four corrected images to obtain a panoramic image around the hull;

所述显示模块4显示船身周围的全景图像;The display module 4 displays panoramic images around the hull;

所述两个信号调理电路15将船速传感器5和陀螺仪传感器6采集到的信息进行校正与信号处理,得到船只运行速度以及具体方位;The two signal conditioning circuits 15 perform correction and signal processing on the information collected by the ship speed sensor 5 and the gyroscope sensor 6 to obtain the ship's running speed and specific orientation;

所述存储器13中存储采集到的所述船只信息并向所述聚类分析模块16提供聚类分析的数据;The storage 13 stores the collected vessel information and provides the cluster analysis data to the cluster analysis module 16;

所述聚类分析模块16根据存储器13中存储的并向聚类分析模块16提供的全景图像障碍物CHT特征,对当前准备停泊环境的安全性、便利性进行分析,从而判断是否需要调用泊船控制模块3,进行泊船。The cluster analysis module 16 analyzes the safety and convenience of the currently prepared parking environment according to the panoramic image obstacle CHT features stored in the memory 13 and provided to the cluster analysis module 16, thereby judging whether it is necessary to call the mooring vessel. Control module 3, to moor the ship.

采用改进CHT特征提取全景环视图像中的障碍物特征T。The improved CHT feature is used to extract the obstacle feature T in the panoramic surround view image.

T=G(pc)t(s(pc-p0),s(pc-p1),…,s(pc-p7))T=G(p c )t(s(p c -p 0 ),s(p c -p 1 ),...,s(p c -p 7 ))

其中:in:

式中,t()函数表示符号差分值的联合分布函数;s(pc-pi)表示当前像素点pc与第i邻域点pi之间的符号差分值。G(pc)为标准正态高斯分布函数。In the formula, the t() function represents the joint distribution function of the sign difference value; s(p c -p i ) represents the sign difference value between the current pixel point p c and the i-th neighborhood point p i . G(p c ) is a standard normal Gaussian distribution function.

如图2所示,为了改善障碍物检测性能,采用一种自适应阈值级联线性支持向量机识别不同类型障碍物的CHT特征。对所有的样本提取CHT特征组成训练集,利用线性SVM对其进行分类,获得超平面分类器。每一个样本关于该分类器都有一个输出值即障碍物类型m,其计算如下式所示:As shown in Fig. 2, in order to improve the obstacle detection performance, an adaptive threshold cascaded linear support vector machine is adopted to identify the CHT features of different types of obstacles. The CHT features are extracted from all samples to form a training set, and the linear SVM is used to classify them to obtain a hyperplane classifier. Each sample has an output value for the classifier, the obstacle type m, which is calculated as follows:

其中,w*,b*分别是超平面分类器的参数;xn为第n个样本的CHT特征向量。为了使该输出值具有二维可视化特性,将每一输出值附加一维0-1均匀分布随机数,映射到二维空间。第一层分类器训练完成后,按照自适应阈值的方法剔除掉容易分类的样本,保留难以分离的样本作为第二层分类器的训练样本。依次类推,直到最后一层分类,最终获得障碍物类型同时判断是否锚泊。Among them, w * and b * are the parameters of the hyperplane classifier respectively; xn is the CHT feature vector of the nth sample. In order to make the output value have two-dimensional visualization characteristics, a one-dimensional 0-1 uniformly distributed random number is added to each output value and mapped to a two-dimensional space. After the training of the first-layer classifier is completed, the samples that are easy to be classified are eliminated according to the adaptive threshold method, and the samples that are difficult to be separated are retained as the training samples of the second-layer classifier. And so on, until the last layer of classification, and finally get the obstacle type and determine whether to anchor or not.

若所述聚类分析模块16分析的结果为当前环境适宜停泊,则调用所述泊船控制模块3,所述泊船控制模块3对应调用手动控制模块31或者自动控制模块32来进行手动控制状态下的泊船或者自动控制状态下的泊船;若所述聚类分析模块16分析的结果为当前环境不适宜停泊,则不调用所述泊船控制模块3,不进行泊船。If the analysis result of the cluster analysis module 16 is that the current environment is suitable for berthing, the berthing control module 3 is called, and the berthing control module 3 correspondingly calls the manual control module 31 or the automatic control module 32 to perform the manual control state If the analysis result of the cluster analysis module 16 is that the current environment is not suitable for berthing, the berthing control module 3 will not be called, and the berthing will not be performed.

上述的CHT特征是一种具有较强表达能力的一种纹理特征。半径为1的8邻域CHT特征提取过程如图3所示。并如图4所示,为当前计算像素点pc与邻域点之间的空间关系图,依次顺时针编号为:p0~p7;图5所示为当前像素点的灰度幅值。依据该幅值关系,可以获得像素点之间的符号差分值,如式(1),(2)所示:The above-mentioned CHT feature is a texture feature with strong expressive ability. The feature extraction process of 8-neighborhood CHT with radius 1 is shown in Fig. 3. And as shown in Figure 4, it is the spatial relationship diagram between the currently calculated pixel point p c and the neighboring points, which are sequentially numbered clockwise: p 0 ~ p 7 ; Figure 5 shows the grayscale amplitude of the current pixel point . According to the amplitude relationship, the sign difference value between pixels can be obtained, as shown in equations (1) and (2):

T=t(s(pc-p0),s(pc-p1),…,s(pc-p7)) (1)T=t(s(p c -p 0 ),s(p c -p 1 ),...,s(p c -p 7 )) (1)

其中:in:

式中,t()函数表示符号差分值的联合分布函数;s(pc-pi)表示当前像素点pc与第i邻域点pi之间的符号差分值。如图6所示,为所有邻域点相应的符号差分值。图7给出了CHT特征计算的权重模板,此时当前像素点pc的对应CHT值可由式(3)计算得出:In the formula, the t() function represents the joint distribution function of the sign difference value; s(p c -p i ) represents the sign difference value between the current pixel point p c and the i-th neighborhood point p i . As shown in Fig. 6, it is the corresponding symbol difference value of all neighboring points. Figure 7 shows the weight template for CHT feature calculation. At this time, the corresponding CHT value of the current pixel p c can be calculated by formula (3):

式中,N为邻域像素点数量,R为CHT计算半径,计算可得当前像素点的CHT值为47。不难看出,CHT值只与像素点之间的相对关系有关,而与具体的像素幅值无关。In the formula, N is the number of neighboring pixels, R is the radius of CHT calculation, and the CHT value of the current pixel is 47. It is not difficult to see that the CHT value is only related to the relative relationship between the pixel points, and has nothing to do with the specific pixel amplitude.

Claims (2)

1.一种基于全景环视的船只停泊系统的障碍物识别方法,所述基于全景环视的船只停泊系统包括主控制模块、与主控制模块连接的电池和泊船控制模块、与主控制模块连接的显示模块、船速传感器、陀螺仪传感器以及与主控制模块连接的四个摄像头,所述主控制模块包括主控制器、分别与主控制器相连接的电源电路、存储器、与四个摄像头连接的四个图像校正与信号调理模块以及分别与所述船速传感器和陀螺仪传感器相连的两个信号调理电路,所述主控制模块还具有聚类分析模块,所述存储器与聚类分析模块连接,所述聚类分析模块与泊船控制模块连接;四个摄像头分别安装在船身的前、后、左、右外表面;1. an obstacle identification method based on a panoramic view-based vessel parking system comprising a main control module, a battery connected with the main control module and a mooring control module, and a display connected with the main control module module, a ship speed sensor, a gyroscope sensor, and four cameras connected to the main control module, the main control module includes a main controller, a power circuit respectively connected to the main controller, a memory, and four cameras connected to the four cameras. an image correction and signal conditioning module and two signal conditioning circuits respectively connected to the ship speed sensor and the gyroscope sensor, the main control module also has a cluster analysis module, the memory is connected to the cluster analysis module, so The cluster analysis module is connected with the mooring control module; the four cameras are respectively installed on the front, rear, left and right outer surfaces of the hull; 其特征在于:该障碍物识别方法包括以下步骤:It is characterized in that: the obstacle identification method comprises the following steps: 首先,四个摄像头分别采集船身及船下前、后、左、右的实时画面,并将实时画面传输至主制控器;First, the four cameras capture the real-time images of the hull and the front, rear, left and right sides of the ship respectively, and transmit the real-time images to the main controller; 所述船速传感器、陀螺仪传感器分别采集船只的行驶速度以及运行方位作为船只信息;The ship speed sensor and the gyroscope sensor respectively collect the traveling speed and the running azimuth of the ship as the ship information; 所述四个图像校正与信号调理模块对四个摄像头采集到的实时画面进行校正与信号处理,然后再将校正后的四副图像进行拼接处理,得到船身周围的全景图像;The four image correction and signal conditioning modules perform correction and signal processing on the real-time images collected by the four cameras, and then perform stitching processing on the four corrected images to obtain a panoramic image around the hull; 所述显示模块显示船身周围的全景图像;The display module displays a panoramic image around the hull; 所述两个信号调理电路将船速传感器和陀螺仪传感器采集到的船只信息进行校正与信号处理,得到船只运行速度以及具体方位;The two signal conditioning circuits correct and process the ship information collected by the ship speed sensor and the gyroscope sensor to obtain the ship's running speed and specific orientation; 所述存储器中存储采集到的所述船只信息并向所述聚类分析模块提供聚类分析的数据即全景图像;storing the collected vessel information in the memory and providing the cluster analysis module with the data of the cluster analysis, that is, the panoramic image; 所述聚类分析模块依据存储器中存储并向聚类分析模块提供全景图像障碍物特征,采用自适应阈值级联线性支持向量机识别不同类型障碍物,并对当前准备停泊环境的安全性、便利性有利特征的聚类算法进行分析,从而判断是否需要调用泊船控制模块,进行泊船。The cluster analysis module uses the adaptive threshold cascade linear support vector machine to identify different types of obstacles according to the characteristics of the panoramic images stored in the memory and provides the cluster analysis module to the cluster analysis module, and has a good understanding of the safety and convenience of the currently prepared parking environment. The clustering algorithm with favorable characteristics of sexuality is used to analyze, so as to judge whether it is necessary to call the berthing control module to berth the ship. 2.如权利要求1所述的障碍物识别方法,其特征在于:聚类模块工作方法如下:采用改进CHT特征提取全景环视图像中的障碍物特征T,2. The obstacle identification method as claimed in claim 1, characterized in that: the clustering module working method is as follows: adopt the improved CHT feature to extract the obstacle feature T in the panoramic surround view image, T=G(pc)t(s(pc-p0),s(pc-p1),…,s(pc-p7))T=G(p c )t(s(p c -p 0 ),s(p c -p 1 ),...,s(p c -p 7 )) 其中,in, 式中,t()函数表示符号差分值的联合分布函数;s(pc-pi)表示当前像素点pc与第i邻域点pi之间的符号差分值,G(pc)为标准正态高斯分布函数;In the formula, the t() function represents the joint distribution function of the sign difference value; s(p c -p i ) represents the sign difference value between the current pixel point p c and the i-th neighborhood point p i , G(p c ) is the standard normal Gaussian distribution function; 采用自适应阈值级联线性支持向量机识别不同类型障碍物的CHT特征;Adopt adaptive threshold cascade linear support vector machine to identify CHT features of different types of obstacles; 对所有的样本提取CHT特征组成训练集,利用线性SVM对其进行分类,获得超平面分类器;Extract CHT features from all samples to form a training set, and use linear SVM to classify them to obtain a hyperplane classifier; 每一个样本关于超平面分类器有一个输出值即障碍物类型m,计算如下式所示,Each sample has an output value of the obstacle type m about the hyperplane classifier, which is calculated as follows: 其中,w*,b*分别是超平面分类器的参数;xn为第n个样本的CHT特征向量,将每一输出值附加一维0-1均匀分布随机数,映射到二维空间,第一层分类器训练完成后,将按照自适应阈值的方法剔除部分样本后保留的样本作为第二层分类器的训练样本,依次类推,直到最后一层分类,最终获得障碍物类型同时判断是否锚泊。Among them, w * , b * are the parameters of the hyperplane classifier respectively; x n is the CHT feature vector of the nth sample, and each output value is added with a one-dimensional 0-1 uniformly distributed random number, which is mapped to a two-dimensional space, After the training of the first-layer classifier is completed, the remaining samples after removing some samples according to the adaptive threshold method are used as the training samples of the second-layer classifier, and so on, until the last layer is classified, and finally the obstacle type is obtained and it is judged whether it is not. Anchor.
CN201610109865.0A 2016-02-26 2016-02-26 Ship mooring system and obstacle recognition method based on panoramic looking-around Expired - Fee Related CN105785990B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610109865.0A CN105785990B (en) 2016-02-26 2016-02-26 Ship mooring system and obstacle recognition method based on panoramic looking-around

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610109865.0A CN105785990B (en) 2016-02-26 2016-02-26 Ship mooring system and obstacle recognition method based on panoramic looking-around

Publications (2)

Publication Number Publication Date
CN105785990A CN105785990A (en) 2016-07-20
CN105785990B true CN105785990B (en) 2019-01-11

Family

ID=56402924

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610109865.0A Expired - Fee Related CN105785990B (en) 2016-02-26 2016-02-26 Ship mooring system and obstacle recognition method based on panoramic looking-around

Country Status (1)

Country Link
CN (1) CN105785990B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106896815B (en) * 2017-03-16 2023-08-22 南京信息工程大学 An automatic parking system and method for an unmanned ship

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007111317A1 (en) * 2006-03-28 2007-10-04 Kyocera Corporation Night vision device
CN102831787A (en) * 2012-07-30 2012-12-19 广东省公安边防总队 Quay berth-based intelligent supervision method and system
CN102945045A (en) * 2012-11-19 2013-02-27 上海大学 Unmanned ship combined obstacle avoiding device and method based on laser sensor and forward looking sonar
CN103901806A (en) * 2014-03-07 2014-07-02 唐粮 Intelligent ship berthing assistance system and method
CN104297758A (en) * 2014-08-15 2015-01-21 大连海事大学 An auxiliary berthing device and method based on 2D pulse laser radar
CN204480049U (en) * 2015-04-13 2015-07-15 吉林大学 A kind of automatic ship anchoring system
CN204473093U (en) * 2014-11-24 2015-07-15 中国人民解放军镇江船艇学院 Automation auxiliary device handled by a kind of ships and light boats
CN204495356U (en) * 2015-04-03 2015-07-22 江苏南大五维电子科技有限公司 Auxiliary alongside piloting instrument peculiar to vessel
CN204649964U (en) * 2015-06-12 2015-09-16 浙江海洋学院 The automatic parking system of a kind of boats and ships

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101316501B1 (en) * 2011-10-14 2013-10-10 현대자동차주식회사 Parking area detection system and method thereof using mesh space analysis
CN102914664B (en) * 2012-04-05 2014-08-13 同济大学 Ship speed measuring method and device of brushless direct current motor ship

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007111317A1 (en) * 2006-03-28 2007-10-04 Kyocera Corporation Night vision device
CN102831787A (en) * 2012-07-30 2012-12-19 广东省公安边防总队 Quay berth-based intelligent supervision method and system
CN102945045A (en) * 2012-11-19 2013-02-27 上海大学 Unmanned ship combined obstacle avoiding device and method based on laser sensor and forward looking sonar
CN103901806A (en) * 2014-03-07 2014-07-02 唐粮 Intelligent ship berthing assistance system and method
CN104297758A (en) * 2014-08-15 2015-01-21 大连海事大学 An auxiliary berthing device and method based on 2D pulse laser radar
CN204473093U (en) * 2014-11-24 2015-07-15 中国人民解放军镇江船艇学院 Automation auxiliary device handled by a kind of ships and light boats
CN204495356U (en) * 2015-04-03 2015-07-22 江苏南大五维电子科技有限公司 Auxiliary alongside piloting instrument peculiar to vessel
CN204480049U (en) * 2015-04-13 2015-07-15 吉林大学 A kind of automatic ship anchoring system
CN204649964U (en) * 2015-06-12 2015-09-16 浙江海洋学院 The automatic parking system of a kind of boats and ships

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
船舶锚泊信息化管理系统的关键技术研究;吴勇;《中国优秀硕士学位论文全文数据库(工程科技Ⅱ辑)》;20140815(第8期);论文第2-3章

Also Published As

Publication number Publication date
CN105785990A (en) 2016-07-20

Similar Documents

Publication Publication Date Title
US12198418B2 (en) System and method for measuring the distance to an object in water
US11948344B2 (en) Method, system, medium, equipment and terminal for inland vessel identification and depth estimation for smart maritime
KR102566724B1 (en) Harbor monitoring device and harbor monitoring method
KR102530691B1 (en) Device and method for monitoring a berthing
US20200290608A1 (en) Forward collision control method and apparatus, electronic device, program, and medium
CN104517111B (en) Method for detecting lane lines, system, lane departure warning method and system
CN115147594A (en) Ship image trajectory tracking and predicting method based on ship bow direction identification
Ohgushi et al. Road obstacle detection method based on an autoencoder with semantic segmentation
CN104778695B (en) A kind of detection of sea-level based on gradient conspicuousness
CN104217215B (en) A kind of classifying identification method of water surface foggy image and picture rich in detail
Lee et al. Image-based ship detection and classification for unmanned surface vehicle using real-time object detection neural networks
CN109117838B (en) Target detection method and device applied to unmanned ship sensing system
Wang et al. Improvement in real-time obstacle detection system for USV
CN112381870A (en) Ship identification and navigational speed measurement system and method based on binocular vision
CN108681691A (en) A kind of marine ships and light boats rapid detection method based on unmanned water surface ship
CN112633274A (en) Sonar image target detection method and device and electronic equipment
Hashmani et al. A survey on edge detection based recent marine horizon line detection methods and their applications
CN117495677A (en) A method of sensing the surrounding environment of a ship based on multi-eye vision
Shi et al. Obstacle type recognition in visual images via dilated convolutional neural network for unmanned surface vehicles
CN110667783A (en) Unmanned boat auxiliary driving system and method thereof
CN105785990B (en) Ship mooring system and obstacle recognition method based on panoramic looking-around
CN111860215B (en) Target object position determining method, terminal device and navigation system
Qu et al. Multi-task learning-enabled automatic vessel draft reading for intelligent maritime surveillance
Wisernig et al. Augmented reality visualization for sailboats (ARVS)
Li et al. A sea–sky–line detection method for long wave infrared image based on improved Swin Transformer

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20191125

Address after: 315000 a2-17f, Lane 587, Juxian Road, hi tech Zone, Ningbo City, Zhejiang Province

Patentee after: CHINA E-TECH (NINGBO) MARITIME ELECTRONICS RESEARCH INSTITUTE Co.,Ltd.

Address before: 212003, No. 2, Mengxi Road, Zhenjiang, Jiangsu

Patentee before: Jiangsu University of Science and Technology

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190111