CN118365973B - Hybrid line status assessment method and system based on multi-feature information fusion - Google Patents

Hybrid line status assessment method and system based on multi-feature information fusion Download PDF

Info

Publication number
CN118365973B
CN118365973B CN202410796214.8A CN202410796214A CN118365973B CN 118365973 B CN118365973 B CN 118365973B CN 202410796214 A CN202410796214 A CN 202410796214A CN 118365973 B CN118365973 B CN 118365973B
Authority
CN
China
Prior art keywords
feature
image
line
mixed
vector
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.)
Active
Application number
CN202410796214.8A
Other languages
Chinese (zh)
Other versions
CN118365973A (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.)
Wuhan Power Supply Co of State Grid Hubei Electric Power Co Ltd
Original Assignee
Wuhan Power Supply Co of State Grid Hubei Electric Power Co Ltd
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 Wuhan Power Supply Co of State Grid Hubei Electric Power Co Ltd filed Critical Wuhan Power Supply Co of State Grid Hubei Electric Power Co Ltd
Priority to CN202410796214.8A priority Critical patent/CN118365973B/en
Publication of CN118365973A publication Critical patent/CN118365973A/en
Application granted granted Critical
Publication of CN118365973B publication Critical patent/CN118365973B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/764Arrangements for image or video recognition or understanding using pattern recognition or machine learning using classification, e.g. of video objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/0464Convolutional networks [CNN, ConvNet]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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
    • G06V10/507Summing image-intensity values; Histogram projection analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/54Extraction of image or video features relating to texture
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/77Processing image or video features in feature spaces; using data integration or data reduction, e.g. principal component analysis [PCA] or independent component analysis [ICA] or self-organising maps [SOM]; Blind source separation
    • G06V10/80Fusion, i.e. combining data from various sources at the sensor level, preprocessing level, feature extraction level or classification level
    • G06V10/806Fusion, i.e. combining data from various sources at the sensor level, preprocessing level, feature extraction level or classification level of extracted features
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/82Arrangements for image or video recognition or understanding using pattern recognition or machine learning using neural networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • Artificial Intelligence (AREA)
  • Multimedia (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Software Systems (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Medical Informatics (AREA)
  • Databases & Information Systems (AREA)
  • Biomedical Technology (AREA)
  • Mathematical Physics (AREA)
  • General Engineering & Computer Science (AREA)
  • Molecular Biology (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Linguistics (AREA)
  • Biophysics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Image Analysis (AREA)

Abstract

本申请涉及电力系统领域,特别是涉及一种基于多特征信息融合的混架线路状态评估方法及系统,所述方法包括:采集混架线路的第一图像,对所述第一图像进行特征提取,得到几何特征数据、纹理特征数据和连接特征数据;采集混架线路的第二图像,对所述第二图像进行特征提取,得到线路倾斜特征数据;采集混架线路的第三图像,对所述第三图像进行特征提取,得到热分布特征数据;将所得各特征数据进行融合,得到多特征融合向量;将所述多特征信息融合向量输入到所述多特征信息融合的混架线路状态评估模型中进行混架线路状态评估,得到混架线路状态评估结果。通过上述方法,提高了混架线路状态评估结果的可靠性和准确性。

The present application relates to the field of power systems, and in particular to a method and system for evaluating the state of a mixed-frame line based on multi-feature information fusion, the method comprising: acquiring a first image of the mixed-frame line, extracting features from the first image, and obtaining geometric feature data, texture feature data, and connection feature data; acquiring a second image of the mixed-frame line, extracting features from the second image, and obtaining line tilt feature data; acquiring a third image of the mixed-frame line, extracting features from the third image, and obtaining thermal distribution feature data; fusing the obtained feature data to obtain a multi-feature fusion vector; inputting the multi-feature information fusion vector into the mixed-frame line state evaluation model of the multi-feature information fusion to perform mixed-frame line state evaluation and obtain a mixed-frame line state evaluation result. Through the above method, the reliability and accuracy of the mixed-frame line state evaluation result are improved.

Description

基于多特征信息融合的混架线路状态评估方法及系统Hybrid line status assessment method and system based on multi-feature information fusion

技术领域Technical Field

本申请涉及电力系统领域,特别是涉及一种基于多特征信息融合的混架线路状态评估方法及系统。The present application relates to the field of power systems, and in particular to a method and system for evaluating the state of a hybrid line based on multi-feature information fusion.

背景技术Background Art

随着智能电网技术、信息技术和智能运维技术的快速发展,输变电设备的状态数据逐渐呈现出体量大、类型多和增长快等大数据特征。如何实现多源异构数据的高效综合利用、各类数据与设备状态间关联关系的深入挖掘、混架线路在不同运行工况下的精细化状态评估等已经成为亟待解决的问题。因此如何提高混架线路状态评估的可靠性和准确性的问题亟待解决。With the rapid development of smart grid technology, information technology and intelligent operation and maintenance technology, the status data of power transmission and transformation equipment has gradually shown big data characteristics such as large volume, multiple types and rapid growth. How to achieve efficient and comprehensive utilization of multi-source heterogeneous data, in-depth mining of the relationship between various types of data and equipment status, and refined status evaluation of mixed-frame lines under different operating conditions have become urgent problems to be solved. Therefore, how to improve the reliability and accuracy of mixed-frame line status evaluation needs to be solved urgently.

发明内容Summary of the invention

本申请的主要目的为提供一种基于多特征信息融合的混架线路状态评估方法及系统,旨在提高混架线路状态评估的准确性。The main purpose of this application is to provide a mixed-frame line status assessment method and system based on multi-feature information fusion, aiming to improve the accuracy of mixed-frame line status assessment.

为了实现上述发明目的,本申请提出一种基于多特征信息融合的混架线路状态评估方法,包括:In order to achieve the above-mentioned invention object, the present application proposes a hybrid line status assessment method based on multi-feature information fusion, comprising:

一种基于多特征信息融合的混架线路状态评估方法,所述方法包括:A hybrid line status assessment method based on multi-feature information fusion, the method comprising:

采集混架线路的第一图像,对所述第一图像进行特征提取,得到几何特征数据、纹理特征数据和连接特征数据;Collecting a first image of the mixed rack line, performing feature extraction on the first image to obtain geometric feature data, texture feature data and connection feature data;

采集混架线路的第二图像,对所述第二图像进行特征提取,得到线路倾斜特征数据;Collecting a second image of the mixed-frame line, performing feature extraction on the second image, and obtaining line tilt feature data;

采集混架线路的第三图像,对所述第三图像进行特征提取,得到热分布特征数据;Collecting a third image of the mixed rack circuit, performing feature extraction on the third image, and obtaining thermal distribution feature data;

将所述几何特征数据、所述纹理特征数据、所述连接特征数据、所述线路倾斜特征数据和所述热分布特征数据进行融合,得到多特征融合向量;Fusing the geometric feature data, the texture feature data, the connection feature data, the line tilt feature data and the heat distribution feature data to obtain a multi-feature fusion vector;

构建多特征信息融合的混架线路状态评估模型,将所述多特征信息融合向量输入到所述多特征信息融合的混架线路状态评估模型中进行混架线路状态评估,得到混架线路状态评估结果。A mixed-frame line state assessment model based on multi-feature information fusion is constructed, and the multi-feature information fusion vector is input into the mixed-frame line state assessment model based on multi-feature information fusion to perform mixed-frame line state assessment and obtain a mixed-frame line state assessment result.

进一步地,所述构建多特征信息融合的混架线路状态评估模型,将所述多特征信息融合向量输入到所述多特征信息融合的混架线路状态评估模型中进行混架线路状态评估,得到混架线路状态评估结果,具体包括:Further, the constructing of a mixed-frame line state assessment model based on multi-feature information fusion, inputting the multi-feature information fusion vector into the mixed-frame line state assessment model based on multi-feature information fusion to perform mixed-frame line state assessment, and obtaining a mixed-frame line state assessment result specifically includes:

获取历史多特征信息融合向量,并将每个融合特征向量标注为A/T/E三个状态,分别代表正常状态、预警状态和故障状态;Obtain the historical multi-feature information fusion vector, and mark each fusion feature vector as three states: A/T/E, which represent the normal state, warning state, and fault state respectively;

将所述历史多特征信息融合向量集分为训练集和测试集,并基于所述训练集概率分布的基尼指数以及信息增益率,构建决策树;Dividing the historical multi-feature information fusion vector set into a training set and a test set, and constructing a decision tree based on the Gini index and information gain rate of the probability distribution of the training set;

将所述测试集输入至所述决策树并计算预测精度;Inputting the test set into the decision tree and calculating the prediction accuracy;

当所述预测精度低于预设阈值时对所述决策树进行剪枝,生成多特征信息融合的混架线路状态评估模型;When the prediction accuracy is lower than a preset threshold, the decision tree is pruned to generate a hybrid line status assessment model integrating multiple feature information;

获取当前多特征信息融合向量,将所述当前多特征信息融合向量输入混架线路状态评估模型进行评估,按训练的规则进行状态类别分类,所述混架线路状态评估模型基于当前多特征信息融合向量集中反映的各特征数据,输出混架线路当前状态:正常/预警/故障。Obtain the current multi-feature information fusion vector, input the current multi-feature information fusion vector into the mixed line status assessment model for evaluation, and classify the status category according to the trained rules. The mixed line status assessment model outputs the current status of the mixed line: normal/warning/fault based on the feature data concentratedly reflected by the current multi-feature information fusion vector.

进一步地,所述对所述第一图像进行特征提取,得到几何特征数据,具体包括:Furthermore, the extracting features from the first image to obtain geometric feature data specifically includes:

利用高斯滤波器对所述第一图像进行去噪处理,得到第四图像;Performing denoising processing on the first image using a Gaussian filter to obtain a fourth image;

将所述第四图像进行二值化处理,得到所述第四图像对应的二值化图像;Binarizing the fourth image to obtain a binary image corresponding to the fourth image;

对所述二值化图像进行边缘提取,得到所述二值化图像中的边缘信息,其中,所述边缘信息为二值化图像边缘的坐标点集合;Performing edge extraction on the binary image to obtain edge information in the binary image, wherein the edge information is a set of coordinate points of the edge of the binary image;

根据所述边缘信息获取几何特征数据。Geometric feature data is acquired according to the edge information.

进一步地,所述对所述第一图像进行特征提取,得到纹理特征数据,具体包括:Furthermore, the extracting features of the first image to obtain texture feature data specifically includes:

将所述第一图像划分为多个子图像,获取每个子图像中所有像素点对应的梯度方向和梯度幅度,基于所述梯度方向和所述梯度幅度构建每个子图像对应的梯度直方图,对所述梯度直方图进行归一化处理,得到归一化梯度直方图;Dividing the first image into a plurality of sub-images, obtaining the gradient direction and gradient magnitude corresponding to all pixels in each sub-image, constructing a gradient histogram corresponding to each sub-image based on the gradient direction and the gradient magnitude, and normalizing the gradient histogram to obtain a normalized gradient histogram;

连接每个子图像对应的归一化梯度直方图,得到所述第一图像的HOG纹理特征向量,并将所述HOG纹理特征向量作为纹理特征数据。The normalized gradient histograms corresponding to each sub-image are connected to obtain the HOG texture feature vector of the first image, and the HOG texture feature vector is used as texture feature data.

进一步地,所述采集混架线路的第二图像,对所述第二图像进行特征提取,得到线路倾斜特征数据,具体包括:Furthermore, the collecting of the second image of the mixed-frame line and extracting features from the second image to obtain line tilt feature data specifically includes:

对所述第二图像进行图像矫正处理,得到第五图像;performing image correction processing on the second image to obtain a fifth image;

对所述第五图像中进行线路数据点提取,得到线路数据点集合;Extracting line data points from the fifth image to obtain a line data point set;

对所述线杆数据点集合进行最小二乘法拟合直线处理,得到线路拟合直线;Performing least squares straight line fitting processing on the pole data point set to obtain a line fitting straight line;

根据所述线路拟合直线获取线路倾斜特征数据。The line inclination characteristic data is obtained according to the line fitting straight line.

进一步地,所述采集混架线路的第三图像,对所述第三图像进行特征提取,得到热分布特征数据,具体包括:Furthermore, the collecting of the third image of the mixed rack circuit and extracting features from the third image to obtain thermal distribution feature data specifically includes:

基于红外热成像仪器对待评估的混架线路进行拍摄,得到第三图像;The mixed rack line to be evaluated is photographed using an infrared thermal imaging instrument to obtain a third image;

获取所述第三图像中所有像素点对应的第一温度值;基于所述第一温度值,生成所述第三图像的温度矩阵;Acquire first temperature values corresponding to all pixels in the third image; and generate a temperature matrix of the third image based on the first temperature values;

对所述温度矩阵进行异常温度点提取,得到异常温度点,并基于所述异常温度点,确定所述第三图像的热分布特征数据。Abnormal temperature points are extracted from the temperature matrix to obtain abnormal temperature points, and thermal distribution feature data of the third image is determined based on the abnormal temperature points.

进一步地,所述将所述几何特征数据、所述纹理特征数据、所述连接特征数据、所述线路倾斜特征数据和所述热分布特征数据进行融合,得到多特征融合向量,具体包括:Furthermore, the fusing of the geometric feature data, the texture feature data, the connection feature data, the line tilt feature data and the thermal distribution feature data to obtain a multi-feature fusion vector specifically includes:

基于卷积神经网络将所述几何特征数据、所述纹理特征数据、所述连接特征数据、所述线路倾斜特征数据和所述热分布特征数据分别转换为几何特征向量、纹理特征向量、连接特征向量、线路倾斜特征向量和热分布特征向量;Based on a convolutional neural network, the geometric feature data, the texture feature data, the connection feature data, the line tilt feature data, and the thermal distribution feature data are respectively converted into a geometric feature vector, a texture feature vector, a connection feature vector, a line tilt feature vector, and a thermal distribution feature vector;

分别对所述几何特征向量、所述纹理特征向量、所述连接特征向量、所述线路倾斜特征向量和所述热分布特征向量赋予权重,得到对应的权重系数;assigning weights to the geometric feature vector, the texture feature vector, the connection feature vector, the line tilt feature vector, and the heat distribution feature vector respectively to obtain corresponding weight coefficients;

分别对所述几何特征向量、所述纹理特征向量、所述连接特征向量、所述线路倾斜特征向量和所述热分布特征向量与其对应的权重系数进行相乘,得到对应的加权特征向量;Multiplying the geometric feature vector, the texture feature vector, the connection feature vector, the line tilt feature vector and the heat distribution feature vector by their corresponding weight coefficients respectively to obtain corresponding weighted feature vectors;

将所述几何特征向量、所述纹理特征向量、所述连接特征向量、所述线路倾斜特征向量和所述热分布特征向量对应的加权特征向量进行线性相加,得到多特征融合向量。The weighted feature vectors corresponding to the geometric feature vector, the texture feature vector, the connection feature vector, the line tilt feature vector, and the heat distribution feature vector are linearly added to obtain a multi-feature fusion vector.

一种基于多特征信息融合的混架线路状态评估系统,所述系统包括:A hybrid line status assessment system based on multi-feature information fusion, the system comprising:

第一图像特征提取模块,用于采集混架线路的第一图像,对所述第一图像进行特征提取,得到几何特征数据、纹理特征数据和连接特征数据;A first image feature extraction module, used for collecting a first image of the mixed rack line, performing feature extraction on the first image, and obtaining geometric feature data, texture feature data, and connection feature data;

第二图像特征提取模块,用于采集混架线路的第二图像,对所述第二图像进行特征提取,得到线路倾斜特征数据;A second image feature extraction module, used for collecting a second image of the mixed-frame line, performing feature extraction on the second image, and obtaining line tilt feature data;

第三图像特征提取模块,采集混架线路的第三图像,对所述第三图像进行特征提取,得到热分布特征数据;A third image feature extraction module collects a third image of the mixed rack circuit, performs feature extraction on the third image, and obtains thermal distribution feature data;

多特征数据融合向量模块,用于将所述几何特征数据、所述纹理特征数据、所述连接特征数据、所述线路倾斜特征数据和所述热分布特征数据进行融合,得到多特征融合向量;A multi-feature data fusion vector module, used for fusing the geometric feature data, the texture feature data, the connection feature data, the line inclination feature data and the thermal distribution feature data to obtain a multi-feature fusion vector;

混架线路状态评估模块,用于构建多特征信息融合的混架线路状态评估模型,将所述多特征信息融合向量输入到所述多特征信息融合的混架线路状态评估模型中进行混架线路状态评估,得到混架线路状态评估结果。The mixed line state assessment module is used to construct a mixed line state assessment model of multi-feature information fusion, input the multi-feature information fusion vector into the mixed line state assessment model of multi-feature information fusion to perform mixed line state assessment, and obtain a mixed line state assessment result.

本申请还提供一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现上述任一项基于多特征信息融合的混架线路状态评估方法的步骤。The present application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of any one of the above-mentioned mixed-frame line status assessment methods based on multi-feature information fusion are implemented.

本申请还提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述任一项基于多特征信息融合的混架线路状态评估方法的步骤。The present application also provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of any one of the above-mentioned mixed-frame line status assessment methods based on multi-feature information fusion are implemented.

本申请提出了一种基于多特征信息融合的混架线路状态评估方法及系统,其中所述方法通过采集混架线路的第一图像,对所述第一图像进行特征提取,得到几何特征数据、纹理特征数据和连接特征数据;采集混架线路的第二图像,对所述第二图像进行特征提取,得到线路倾斜特征数据;采集混架线路的第三图像,对所述第三图像进行特征提取,得到热分布特征数据;将所述几何特征数据、所述纹理特征数据、所述连接特征数据、所述线路倾斜特征数据和所述热分布特征数据进行融合,得到多特征融合向量;构建多特征信息融合的混架线路状态评估模型,将所述多特征信息融合向量输入到所述多特征信息融合的混架线路状态评估模型中进行混架线路状态评估,得到混架线路状态评估结果。通过上述方法,提高了混架线路状态评估结果的可靠性和准确性。The present application proposes a method and system for evaluating the state of a mixed rack line based on multi-feature information fusion, wherein the method acquires a first image of the mixed rack line, extracts features from the first image, and obtains geometric feature data, texture feature data, and connection feature data; acquires a second image of the mixed rack line, extracts features from the second image, and obtains line tilt feature data; acquires a third image of the mixed rack line, extracts features from the third image, and obtains thermal distribution feature data; fuses the geometric feature data, the texture feature data, the connection feature data, the line tilt feature data, and the thermal distribution feature data to obtain a multi-feature fusion vector; constructs a mixed rack line state evaluation model with multi-feature information fusion, and inputs the multi-feature information fusion vector into the mixed rack line state evaluation model with multi-feature information fusion to perform mixed rack line state evaluation and obtain a mixed rack line state evaluation result. Through the above method, the reliability and accuracy of the mixed rack line state evaluation result are improved.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为本申请基于多特征信息融合的混架线路状态评估方法的一实施例流程示意图;FIG1 is a flow chart of an embodiment of a hybrid line status assessment method based on multi-feature information fusion according to the present application;

图2为本申请基于多特征信息融合的混架线路状态评估方法的一实施例流程示意图;FIG2 is a flow chart of an embodiment of a hybrid line status assessment method based on multi-feature information fusion according to the present application;

图3为本申请基于多特征信息融合的混架线路状态评估方法的一实施例流程示意图;FIG3 is a flow chart of an embodiment of a hybrid line status assessment method based on multi-feature information fusion according to the present application;

图4为本申请基于多特征信息融合的混架线路状态评估方法的一实施例流程示意图;FIG4 is a flow chart of an embodiment of a hybrid line status assessment method based on multi-feature information fusion according to the present application;

图5为本申请基于多特征信息融合的混架线路状态评估方法的一实施例流程示意图;FIG5 is a flow chart of an embodiment of a hybrid line status assessment method based on multi-feature information fusion according to the present application;

图6为本申请基于多特征信息融合的混架线路状态评估方法的一实施例流程示意图;FIG6 is a flow chart of an embodiment of a hybrid line status assessment method based on multi-feature information fusion according to the present application;

图7为本申请基于多特征信息融合的混架线路状态评估方法的一实施例流程示意图;FIG7 is a flow chart of an embodiment of a hybrid line status assessment method based on multi-feature information fusion according to the present application;

图8为本申请多特征信息融合的混架线路状态评估系统的一实施例结构示意图;FIG8 is a schematic structural diagram of an embodiment of a hybrid line status assessment system for multi-feature information fusion of the present application;

图9为本申请计算机设备的一实施例结构示意框图。FIG. 9 is a schematic block diagram of the structure of a computer device according to an embodiment of the present application.

本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings.

具体实施方式DETAILED DESCRIPTION

为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

参照图1,本申请实施例提供一种基于多特征信息融合的混架线路状态评估方法,包括步骤S10-S50,对于基于多特征信息融合的混架线路状态评估方法的各个步骤的详细阐述如下。1 , an embodiment of the present application provides a hybrid line status assessment method based on multi-feature information fusion, including steps S10-S50. The steps of the hybrid line status assessment method based on multi-feature information fusion are described in detail as follows.

S10、根采集混架线路的第一图像,对所述第一图像进行特征提取,得到几何特征数据、纹理特征数据和连接特征数据;S10, collecting a first image of the mixed-frame line, extracting features from the first image to obtain geometric feature data, texture feature data, and connection feature data;

本实施例中,对所述第一图像进行特征提取,得到几何特征数据,具体包括:利用高斯滤波器对所述第一图像进行去噪处理,得到第四图像;将所述第四图像进行二值化处理,得到所述第四图像对应的二值化图像;对所述二值化图像进行边缘提取,得到所述二值化图像中的边缘信息,其中,所述边缘信息为二值化图像边缘的坐标点集合;根据所述边缘信息获取几何特征数据。对所述第一图像进行特征提取,得到纹理特征数据,具体包括:将所述第一图像划分为多个子图像,获取每个子图像中所有像素点对应的梯度方向和梯度幅度,基于所述梯度方向和所述梯度幅度构建每个子图像对应的梯度直方图,对所述梯度直方图进行归一化处理,得到归一化梯度直方图;连接每个子图像对应的归一化梯度直方图,得到所述第一图像的HOG纹理特征向量,并将所述HOG纹理特征向量作为纹理特征数据。In this embodiment, feature extraction is performed on the first image to obtain geometric feature data, which specifically includes: denoising the first image using a Gaussian filter to obtain a fourth image; binarizing the fourth image to obtain a binary image corresponding to the fourth image; edge extraction is performed on the binary image to obtain edge information in the binary image, wherein the edge information is a set of coordinate points of the edge of the binary image; and geometric feature data is obtained according to the edge information. Feature extraction is performed on the first image to obtain texture feature data, which specifically includes: dividing the first image into multiple sub-images, obtaining the gradient direction and gradient amplitude corresponding to all pixels in each sub-image, constructing a gradient histogram corresponding to each sub-image based on the gradient direction and the gradient amplitude, normalizing the gradient histogram to obtain a normalized gradient histogram; connecting the normalized gradient histograms corresponding to each sub-image to obtain the HOG texture feature vector of the first image, and using the HOG texture feature vector as texture feature data.

S20、采集混架线路的第二图像,对所述第二图像进行特征提取,得到线路倾斜特征数据;S20, collecting a second image of the mixed-frame line, performing feature extraction on the second image, and obtaining line tilt feature data;

本实施例中,对所述第二图像进行图像矫正处理,得到第五图像;对所述第五图像中进行线路数据点提取,得到线路数据点集合;对所述线杆数据点集合进行最小二乘法拟合直线处理,得到线路拟合直线;根据所述线路拟合直线获取线路倾斜特征数据。In this embodiment, image correction processing is performed on the second image to obtain a fifth image; line data points are extracted from the fifth image to obtain a line data point set; least squares straight line fitting processing is performed on the pole data point set to obtain a line fitting straight line; and line inclination feature data is obtained based on the line fitting straight line.

S30、采集混架线路的第三图像,对所述第三图像进行特征提取,得到热分布特征数据;S30, collecting a third image of the mixed rack circuit, performing feature extraction on the third image, and obtaining thermal distribution feature data;

本实施例中,基于红外热成像仪器对待评估的混架线路进行拍摄,得到第三图像;获取所述第三图像中所有像素点对应的第一温度值;基于所述第一温度值,生成所述第三图像的温度矩阵;对所述温度矩阵进行异常温度点提取,得到异常温度点,并基于所述异常温度点,确定所述第三图像的热分布特征数据。In this embodiment, the mixed-rack line to be evaluated is photographed by an infrared thermal imaging instrument to obtain a third image; the first temperature values corresponding to all pixels in the third image are obtained; based on the first temperature values, a temperature matrix of the third image is generated; abnormal temperature points are extracted from the temperature matrix to obtain abnormal temperature points, and based on the abnormal temperature points, thermal distribution characteristic data of the third image is determined.

S40、将所述几何特征数据、所述纹理特征数据、所述连接特征数据、所述线路倾斜特征数据和所述热分布特征数据进行融合,得到多特征融合向量;S40, fusing the geometric feature data, the texture feature data, the connection feature data, the line inclination feature data and the thermal distribution feature data to obtain a multi-feature fusion vector;

本实施例中,基于卷积神经网络将所述几何特征数据、所述纹理特征数据、所述连接特征数据、所述线路倾斜特征数据和所述热分布特征数据分别转换为几何特征向量、纹理特征向量、连接特征向量、线路倾斜特征向量和热分布特征向量;分别对所述几何特征向量、所述纹理特征向量、所述连接特征向量、所述线路倾斜特征向量和所述热分布特征向量赋予权重,得到对应的权重系数;分别对所述几何特征向量、所述纹理特征向量、所述连接特征向量、所述线路倾斜特征向量和所述热分布特征向量与其对应的权重系数进行相乘,得到对应的加权特征向量;将所述几何特征向量、所述纹理特征向量、所述连接特征向量、所述线路倾斜特征向量和所述热分布特征向量对应的加权特征向量进行线性相加,得到多特征融合向量。In this embodiment, based on a convolutional neural network, the geometric feature data, the texture feature data, the connection feature data, the line tilt feature data and the thermal distribution feature data are respectively converted into geometric feature vectors, texture feature vectors, connection feature vectors, line tilt feature vectors and thermal distribution feature vectors; weights are respectively assigned to the geometric feature vectors, the texture feature vectors, the connection feature vectors, the line tilt feature vectors and the thermal distribution feature vectors to obtain corresponding weight coefficients; the geometric feature vectors, the texture feature vectors, the connection feature vectors, the line tilt feature vectors and the thermal distribution feature vectors are respectively multiplied by their corresponding weight coefficients to obtain corresponding weighted feature vectors; the weighted feature vectors corresponding to the geometric feature vectors, the texture feature vectors, the connection feature vectors, the line tilt feature vectors and the thermal distribution feature vectors are linearly added to obtain a multi-feature fusion vector.

S50、构建多特征信息融合的混架线路状态评估模型,将所述多特征信息融合向量输入到所述多特征信息融合的混架线路状态评估模型中进行混架线路状态评估,得到混架线路状态评估结果。S50: construct a mixed-frame line state assessment model based on multi-feature information fusion, input the multi-feature information fusion vector into the mixed-frame line state assessment model based on multi-feature information fusion to perform mixed-frame line state assessment, and obtain a mixed-frame line state assessment result.

本实施例中,获取历史多特征信息融合向量,并将每个融合特征向量标注为A/T/E三个状态,分别代表正常状态、预警状态和故障状态;将所述历史多特征信息融合向量集分为训练集和测试集,并基于所述训练集概率分布的基尼指数以及信息增益率,构建决策树;将所述测试集输入至所述决策树并计算预测精度;当所述预测精度低于预设阈值时对所述决策树进行剪枝,生成多特征信息融合的混架线路状态评估模型;获取当前多特征信息融合向量,将所述当前多特征信息融合向量输入混架线路状态评估模型进行评估,按训练的规则进行状态类别分类,所述混架线路状态评估模型基于当前多特征信息融合向量集中反映的各特征数据,输出混架线路当前状态:正常/预警/故障。In this embodiment, a historical multi-feature information fusion vector is obtained, and each fused feature vector is labeled as three states A/T/E, which represent normal state, warning state and fault state respectively; the historical multi-feature information fusion vector set is divided into a training set and a test set, and a decision tree is constructed based on the Gini index of the probability distribution of the training set and the information gain rate; the test set is input into the decision tree and the prediction accuracy is calculated; when the prediction accuracy is lower than a preset threshold, the decision tree is pruned to generate a mixed line state assessment model of multi-feature information fusion; the current multi-feature information fusion vector is obtained, and the current multi-feature information fusion vector is input into the mixed line state assessment model for assessment, and the state category is classified according to the training rules. The mixed line state assessment model outputs the current state of the mixed line: normal/warning/fault based on each feature data reflected in the current multi-feature information fusion vector set.

在一个实施例中,所述构建多特征信息融合的混架线路状态评估模型,将所述多特征信息融合向量输入到所述多特征信息融合的混架线路状态评估模型中进行混架线路状态评估,得到混架线路状态评估结果,具体包括:获取历史多特征信息融合向量,并将每个融合特征向量标注为A/T/E三个状态,分别代表正常状态、预警状态和故障状态;将所述历史多特征信息融合向量集分为训练集和测试集,并基于所述训练集概率分布的基尼指数以及信息增益率,构建决策树;将所述测试集输入至所述决策树并计算预测精度;将所述测试集输入至所述决策树并计算预测精度;当所述预测精度低于预设阈值时对所述决策树进行剪枝,生成多特征信息融合的混架线路状态评估模型;获取当前多特征信息融合向量,将所述当前多特征信息融合向量输入混架线路状态评估模型进行评估,按训练的规则进行状态类别分类,所述混架线路状态评估模型基于当前多特征信息融合向量集中反映的各特征数据,输出混架线路当前状态:正常/预警/故障。In one embodiment, the construction of a mixed-frame line state assessment model based on multi-feature information fusion, inputting the multi-feature information fusion vector into the mixed-frame line state assessment model based on multi-feature information fusion to perform mixed-frame line state assessment, and obtaining a mixed-frame line state assessment result, specifically includes: obtaining historical multi-feature information fusion vectors, and marking each fusion feature vector as three states A/T/E, representing a normal state, a warning state, and a fault state, respectively; dividing the historical multi-feature information fusion vector set into a training set and a test set, and constructing a decision tree based on the Gini index of the probability distribution of the training set and the information gain rate. ; Input the test set into the decision tree and calculate the prediction accuracy; Input the test set into the decision tree and calculate the prediction accuracy; When the prediction accuracy is lower than a preset threshold, prune the decision tree to generate a mixed line status assessment model with multi-feature information fusion; Obtain the current multi-feature information fusion vector, input the current multi-feature information fusion vector into the mixed line status assessment model for assessment, and classify the status category according to the training rules. The mixed line status assessment model outputs the current status of the mixed line: normal/warning/fault based on the feature data reflected in the current multi-feature information fusion vector.

本实施例中,具体地,以历史多特征信息融合向量的全集作为根节点,以历史多特 征信息融合向量中筛选的特征属性作为内部节点,以分类结果作为叶节点,生成决策树模 型。选择信息增益最大的特征属性作为筛选的特征属性,根据如下公式确定信息增益:(S) =-,其中E(S)为已知历史多特征信息融合向量S的信息熵;γm为第m类 样本在样本数据集S中所占比例;L为样本数据集S中的类别数目,每个融合特征向量被标注 为A/T/E三个类别,分别代表正常状态、预警状态和故障状态,这些标注基于已知的运行数 据和故障案例,确保了标注的准确性;假设有一个测试集包含100个样本,用决策树模型对 这些样本进行了预测,并且有85个样本的预测结果是正确的,有15个样本的预测结果是错 误的,则决策树模型在这个测试集上的预测精度为85%,高于设定的预设阈值80%,从根节点 开始,根据数据特征进行分裂,直到所有的叶子节点都满足停止分裂的条件,如果低于预设 阈值,则停止分裂,生成多特征信息融合的混架线路状态评估模型,获取当前多特征信息融 合向量,将所述当前多特征信息融合向量输入混架线路状态评估模型进行评估,按训练的 规则进行状态类别分类,所述混架线路状态评估模型基于当前多特征信息融合向量集中反 映的各特征数据,输出混架线路当前状态:正常/预警/故障。 In this embodiment, specifically, the decision tree model is generated with the full set of historical multi-feature information fusion vectors as the root node, the feature attributes selected in the historical multi-feature information fusion vectors as the internal nodes, and the classification results as the leaf nodes. The feature attribute with the largest information gain is selected as the selected feature attribute, and the information gain is determined according to the following formula: (S) =- , where E(S) is the information entropy of the known historical multi-feature information fusion vector S; γ m is the proportion of the mth class of samples in the sample data set S; L is the number of categories in the sample data set S, and each fused feature vector is labeled as three categories A/T/E, representing normal state, warning state and fault state respectively. These labels are based on known operating data and fault cases to ensure the accuracy of the labels; assuming that there is a test set containing 100 samples, these samples are predicted by a decision tree model, and the prediction results of 85 samples are correct, and the prediction results of 15 samples are wrong, then the prediction accuracy of the decision tree model on this test set is 85%, which is higher than the preset threshold of 80%. Starting from the root node, split according to the data features until all leaf nodes meet the conditions for stopping splitting. If it is lower than the preset threshold, stop splitting, generate a hybrid line state evaluation model with multi-feature information fusion, obtain the current multi-feature information fusion vector, input the current multi-feature information fusion vector into the hybrid line state evaluation model for evaluation, and classify the state categories according to the training rules. The hybrid line state evaluation model outputs the current state of the hybrid line: normal/warning/fault based on the feature data reflected in the current multi-feature information fusion vector.

在一个实施例中,所述对所述第一图像进行特征提取,得到几何特征数据,具体包括:利用高斯滤波器对所述第一图像进行去噪处理,得到第四图像;将所述第四图像进行二值化处理,得到所述第四图像对应的二值化图像;对所述二值化图像进行边缘提取,得到所述二值化图像中的边缘信息,其中,所述边缘信息为二值化图像边缘的坐标点集合;根据所述边缘信息获取几何特征数据。In one embodiment, the feature extraction of the first image to obtain geometric feature data specifically includes: denoising the first image using a Gaussian filter to obtain a fourth image; binarizing the fourth image to obtain a binarized image corresponding to the fourth image; performing edge extraction on the binarized image to obtain edge information in the binarized image, wherein the edge information is a set of coordinate points of the edge of the binarized image; and obtaining geometric feature data based on the edge information.

本实施例中,具体地,将第四图像转换为灰度图像,这样每个像素点只有一个灰度值,使用全局阈值方法对灰度图像进行二值化处理,设定像素点阈值为128,大于128的像素点设置为255,表示为白色,小于等于128的像素点设置为0表示为黑色。得到了黑白二值化图像,其中白色部分代表物体,黑色部分代表背景。使用Canny边缘检测算法对黑白二值图像进行处理,以提取图像中物体与背景的边界。Canny算法检测出图像中的强边缘,将其显示在新的图像中,得到黑色背景上的白色边缘线。查找边缘的轮廓,并计算边缘的长度。通过遍历所有的轮廓,并使用cv2.arcLength()函数计算每个轮廓的长度,最终得到第四图像中边缘的总长度作为特征数据输出。In this embodiment, specifically, the fourth image is converted into a grayscale image, so that each pixel has only one grayscale value, and the grayscale image is binarized using a global threshold method, and the pixel threshold is set to 128, and the pixels greater than 128 are set to 255, which are represented as white, and the pixels less than or equal to 128 are set to 0, which are represented as black. A black and white binary image is obtained, in which the white part represents the object and the black part represents the background. The black and white binary image is processed using the Canny edge detection algorithm to extract the boundary between the object and the background in the image. The Canny algorithm detects the strong edge in the image, displays it in a new image, and obtains a white edge line on a black background. Find the outline of the edge and calculate the length of the edge. By traversing all the outlines and using the cv2.arcLength() function to calculate the length of each outline, the total length of the edge in the fourth image is finally obtained as the feature data output.

在一个实施例中,所述对所述第一图像进行特征提取,得到纹理特征数据,具体包括:将所述第一图像划分为多个子图像,获取每个子图像中所有像素点对应的梯度方向和梯度幅度,基于所述梯度方向和所述梯度幅度构建每个子图像对应的梯度直方图,对所述梯度直方图进行归一化处理,得到归一化梯度直方图;连接每个子图像对应的归一化梯度直方图,得到所述第一图像的HOG纹理特征向量,并将所述HOG纹理特征向量作为纹理特征数据。In one embodiment, the feature extraction of the first image to obtain texture feature data specifically includes: dividing the first image into multiple sub-images, obtaining the gradient direction and gradient amplitude corresponding to all pixels in each sub-image, constructing a gradient histogram corresponding to each sub-image based on the gradient direction and the gradient amplitude, normalizing the gradient histogram to obtain a normalized gradient histogram; connecting the normalized gradient histograms corresponding to each sub-image to obtain the HOG texture feature vector of the first image, and using the HOG texture feature vector as the texture feature data.

本实施例中,具体地,在一实施例中,将第一图像转换为灰度图像,因为HOG方法对灰度图像效果更好。然后,可以对第一图像进行一些预处理,如调整大小、去除噪声等。计算梯度:对预处理后的第一图像计算梯度,通常使用Sobel算子等方法计算图像的水平和垂直方向上的梯度。计算梯度直方图:将第一图像分成8*8单元格,在每个单元格内统计梯度的方向和大小信息,并将其组成直方图。在本实施例中梯度方向划分成9个方向区间,然后统计每个区间内梯度的累积值。块归一化:将图像分成更大的区域,每个块包含多个单元格。在每个块内,对所有的单元格的直方图进行归一化,特征向量的拼接:将所有块内的归一化直方图连接成一个特征向量,该特征向量即为HOG特征。In this embodiment, specifically, in one embodiment, the first image is converted into a grayscale image because the HOG method works better for grayscale images. Then, the first image can be preprocessed, such as resizing, removing noise, etc. Calculate the gradient: Calculate the gradient of the preprocessed first image, usually using methods such as the Sobel operator to calculate the gradient of the image in the horizontal and vertical directions. Calculate the gradient histogram: Divide the first image into 8*8 cells, count the direction and size information of the gradient in each cell, and form a histogram. In this embodiment, the gradient direction is divided into 9 direction intervals, and then the cumulative value of the gradient in each interval is counted. Block normalization: Divide the image into larger areas, each block contains multiple cells. In each block, the histograms of all cells are normalized, and the feature vector is spliced: The normalized histograms in all blocks are connected into a feature vector, which is the HOG feature.

具体地,在另一实施例中,对所述第一图像进行特征提取,得到纹理特征数据,还包括:对所述第一图像进行特征提取,得到纹理特征数据;具体的,将所述第一图像划分为多个子图像,获取每个子图像中所有像素点对应的第一LBP值,基于所述第一LBP值计算每个子图像对应的直方图,对所述直方图进行归一化处理,得到归一化直方图;连接每个子图像对应的归一化直方图,得到所述第二图像的LBP纹理特征向量,并将所述LBP纹理特征向量作为纹理特征数据。具体的,通过选取每个子图像中的一个第一像素点,基于所述第一像素点,获取与所述第一像素点相邻的8个像素点的第一灰度值,并分别将所述第一灰度值与第一像素点对应的第二灰度值进行比较,若第一灰度值大于第二灰度值,则该第一灰度值所对应的像素点的位置被标记为1,否则为0;基于上述操作,这样,将3*3邻域内除中心像素点外的8个像素点对应的二进制数,并基于8个像素点对应的二进制数,得到该窗口中心像素点的LBP值,即第一像素点对应的第一LBP值;重复上述操作,直至获取每个子图像中所有像素点对应的第一LBP值。一实施例中,基于所述第一LBP值计算每个子图像对应的直方图。具体的,基于每个子图像中的所有像素点对应的第一LBP值,统计每个第一LBP值出现的概率,基于所述概率,生成每个子图像对应的直方图。Specifically, in another embodiment, feature extraction is performed on the first image to obtain texture feature data, which also includes: feature extraction is performed on the first image to obtain texture feature data; specifically, the first image is divided into multiple sub-images, and a first LBP value corresponding to all pixels in each sub-image is obtained, and a histogram corresponding to each sub-image is calculated based on the first LBP value, and the histogram is normalized to obtain a normalized histogram; the normalized histogram corresponding to each sub-image is connected to obtain an LBP texture feature vector of the second image, and the LBP texture feature vector is used as texture feature data. Specifically, by selecting a first pixel point in each sub-image, based on the first pixel point, obtaining the first grayscale value of 8 pixels adjacent to the first pixel point, and respectively comparing the first grayscale value with the second grayscale value corresponding to the first pixel point, if the first grayscale value is greater than the second grayscale value, the position of the pixel point corresponding to the first grayscale value is marked as 1, otherwise it is 0; based on the above operation, in this way, the binary numbers corresponding to the 8 pixels in the 3*3 neighborhood except the central pixel point, and based on the binary numbers corresponding to the 8 pixels, the LBP value of the central pixel point of the window, that is, the first LBP value corresponding to the first pixel point, is obtained; repeat the above operation until the first LBP value corresponding to all pixels in each sub-image is obtained. In one embodiment, the histogram corresponding to each sub-image is calculated based on the first LBP value. Specifically, based on the first LBP values corresponding to all pixels in each sub-image, the probability of each first LBP value appearing is counted, and based on the probability, the histogram corresponding to each sub-image is generated.

在一个实施例中,所述采集混架线路的第二图像,对所述第二图像进行特征提取,得到线路倾斜特征数据,具体包括:对所述第二图像进行图像矫正处理,得到第五图像;对所述第五图像中进行线路数据点提取,得到线路数据点集合;对所述线杆数据点集合进行最小二乘法拟合直线处理,得到线路拟合直线;根据所述线路拟合直线获取线路倾斜特征数据。In one embodiment, the method of acquiring a second image of the mixed-frame line and extracting features from the second image to obtain line inclination feature data specifically includes: performing image correction processing on the second image to obtain a fifth image; extracting line data points from the fifth image to obtain a line data point set; performing least squares straight line fitting processing on the pole data point set to obtain a line fitting straight line; and obtaining line inclination feature data based on the line fitting straight line.

本实施例中,将第二图像转换为灰度图像,然后应用Canny边缘检测算法来检测线路的轮廓,得到第二图像中线路的边缘信息,经过边缘检测后,得到了第二图像中线路的轮廓,遍历轮廓并提取轮廓上的像素点,表示为[(x1,y1),(x2,y2),...,(xn,yn)],使用最小二乘法拟合方法,对提取的线路数据点进行直线拟合,可以得到线路的拟合直线方程,表示为:y=mx+b。根据拟合得到的直线方程,计算出线路的倾斜角度m,以及截距b等信息,用于描述线路的倾斜情况。In this embodiment, the second image is converted into a grayscale image, and then the Canny edge detection algorithm is applied to detect the contour of the line to obtain the edge information of the line in the second image. After edge detection, the contour of the line in the second image is obtained, and the contour is traversed and the pixel points on the contour are extracted, which are expressed as [(x1, y1), (x2, y2), ..., (xn, yn)]. The least squares fitting method is used to perform straight line fitting on the extracted line data points to obtain the fitted straight line equation of the line, which is expressed as: y = mx + b. According to the fitted straight line equation, the inclination angle m of the line, as well as the intercept b and other information are calculated to describe the inclination of the line.

在一个实施例中,所述采集混架线路的第三图像,对所述第三图像进行特征提取,得到热分布特征数据,具体包括:基于红外热成像仪器对待评估的混架线路进行拍摄,得到第三图像;获取所述第三图像中所有像素点对应的第一温度值;基于所述第一温度值,生成所述第三图像的温度矩阵;对所述温度矩阵进行异常温度点提取,得到异常温度点,并基于所述异常温度点,确定所述第三图像的热分布特征数据。In one embodiment, the method of acquiring a third image of the mixed-rack circuit, performing feature extraction on the third image, and obtaining thermal distribution feature data specifically includes: photographing the mixed-rack circuit to be evaluated based on an infrared thermal imaging instrument to obtain a third image; obtaining a first temperature value corresponding to all pixels in the third image; generating a temperature matrix of the third image based on the first temperature value; extracting abnormal temperature points from the temperature matrix to obtain abnormal temperature points, and determining the thermal distribution feature data of the third image based on the abnormal temperature points.

本实施例中,具体地,基于红外热成像仪器对待评估的混架线路进行拍摄,得到一个320x240像素的第三图像,据热成像仪器的参数和校准信息,将第三图像的像素值转换为温度值,提取每个像素点对应的温度值,创建320*240的矩阵,所有元素初始化为0。将第三图像按照图像的像素顺序,把提取的像素点对应的温度值填入矩阵相应的位置。更具体地,假设我们得到了以下部分温度值,图像中的第一个像素点(0,0)对应的温度值是25°C,图像中的第二个像素点(0,1)对应的温度值是26°C,图像中的第三个像素点(0,2)对应的温度值是27°C,依此类推...将这些温度值填入矩阵的第一行,第二行,第三行,以此类推,直到填满整个矩阵。最终得到一个320x240的温度矩阵,其中每个元素代表图像中对应像素点的温度值。遍历温度矩阵中的每个像素点。对于每个像素点,检查其温度是否超出设定的异常范围,在本实施例中设置小于30°C或大于40°C的温度范围。如果温度超出异常范围,则将该像素点标记为异常温度点,遍历直到所有像素点都被检查,得到异常温度点,对异常温度点进行聚类分析,如K均值聚类,将异常温度点分为不同的簇,每个簇代表一个线路或者部分线路的热分布情况。进一步分析每个簇的形状、大小和位置,确定所述第三图像的热分布特征数据。In this embodiment, specifically, the mixed-frame circuit to be evaluated is photographed based on an infrared thermal imaging instrument to obtain a third image of 320x240 pixels. According to the parameters and calibration information of the thermal imaging instrument, the pixel values of the third image are converted into temperature values, the temperature values corresponding to each pixel are extracted, and a 320*240 matrix is created, and all elements are initialized to 0. The third image is filled with the temperature values corresponding to the extracted pixels into the corresponding positions of the matrix according to the pixel order of the image. More specifically, assuming that we have obtained the following partial temperature values, the temperature value corresponding to the first pixel point (0,0) in the image is 25°C, the temperature value corresponding to the second pixel point (0,1) in the image is 26°C, the temperature value corresponding to the third pixel point (0,2) in the image is 27°C, and so on... Fill these temperature values into the first row, second row, third row, and so on, until the entire matrix is filled. Finally, a 320x240 temperature matrix is obtained, in which each element represents the temperature value of the corresponding pixel point in the image. Traverse each pixel point in the temperature matrix. For each pixel point, check whether its temperature exceeds the set abnormal range. In this embodiment, a temperature range of less than 30°C or greater than 40°C is set. If the temperature exceeds the abnormal range, the pixel point is marked as an abnormal temperature point, and the abnormal temperature points are obtained by traversing until all pixel points are checked. Cluster analysis is performed on the abnormal temperature points, such as K-means clustering, to divide the abnormal temperature points into different clusters, each cluster representing the thermal distribution of a line or part of the line. The shape, size and position of each cluster are further analyzed to determine the thermal distribution feature data of the third image.

在一个实施例中,所述将所述几何特征数据、所述纹理特征数据、所述连接特征数据、所述线路倾斜特征数据和所述热分布特征数据进行融合,得到多特征融合向量,具体包括:基于卷积神经网络将所述几何特征数据、所述纹理特征数据、所述连接特征数据、所述线路倾斜特征数据和所述热分布特征数据分别转换为几何特征向量、纹理特征向量、连接特征向量、线路倾斜特征向量和热分布特征向量;分别对所述几何特征向量、所述纹理特征向量、所述连接特征向量、所述线路倾斜特征向量和所述热分布特征向量赋予权重,得到对应的权重系数;分别对所述几何特征向量、所述纹理特征向量、所述连接特征向量、所述线路倾斜特征向量和所述热分布特征向量与其对应的权重系数进行相乘,得到对应的加权特征向量;将所述几何特征向量、所述纹理特征向量、所述连接特征向量、所述线路倾斜特征向量和所述热分布特征向量对应的加权特征向量进行线性相加,得到多特征融合向量。In one embodiment, the fusing of the geometric feature data, the texture feature data, the connection feature data, the line tilt feature data and the thermal distribution feature data to obtain a multi-feature fusion vector specifically includes: based on a convolutional neural network, converting the geometric feature data, the texture feature data, the connection feature data, the line tilt feature data and the thermal distribution feature data into a geometric feature vector, a texture feature vector, a connection feature vector, a line tilt feature vector and a thermal distribution feature vector, respectively; assigning weights to the geometric feature vector, the texture feature vector, the connection feature vector, the line tilt feature vector and the thermal distribution feature vector, respectively, to obtain corresponding weight coefficients; multiplying the geometric feature vector, the texture feature vector, the connection feature vector, the line tilt feature vector and the thermal distribution feature vector with their corresponding weight coefficients, respectively, to obtain corresponding weighted feature vectors; linearly adding the weighted feature vectors corresponding to the geometric feature vector, the texture feature vector, the connection feature vector, the line tilt feature vector and the thermal distribution feature vector, to obtain a multi-feature fusion vector.

本实施例中,具体地,有两个特征向量A和B,它们分别表示几何特征数据和纹理特征向量的两个不同特征。特征向量A表示为[0.2,0.3,0.5],特征向量B表示为[0.1,0.4,0.6],为每个特征向量分配一个权重,假设权重分别为0.7和0.3,使用加权平均法,我们按以下步骤进行特征融合:将特征向量A乘以权重0.7,[0.2*0.7,0.3*0.7,0.5*0.7]=[0.14,0.21,0.35],将特征向量B乘以权重0.3:[0.1*0.3,0.4*0.3,0.6*0.3]=[0.03,0.12,0.18],将两个加权结果相加得到融合特征向量:[0.14+0.03,0.21+0.12,0.35+0.18]=[0.17,0.33,0.53]最终,我们得到了一个融合特征向量[0.17,0.33,0.53],从而得到多特征融合向量。In this embodiment, specifically, there are two feature vectors A and B, which represent two different features of geometric feature data and texture feature vectors respectively. Feature vector A is represented as [0.2, 0.3, 0.5], feature vector B is represented as [0.1, 0.4, 0.6], and a weight is assigned to each feature vector. Assuming that the weights are 0.7 and 0.3 respectively, using the weighted average method, we perform feature fusion in the following steps: multiply feature vector A by weight 0.7, [0.2*0.7, 0.3*0.7, 0.5*0.7] = [0.14, 0.21, 0.35], multiply feature vector B by Weight 0.3: [0.1*0.3, 0.4*0.3, 0.6*0.3]=[0.03, 0.12, 0.18], add the two weighted results to get the fused feature vector: [0.14+0.03, 0.21+0.12, 0.35+0.18]=[0.17, 0.33, 0.53] Finally, we get a fused feature vector [0.17, 0.33, 0.53], thus getting a multi-feature fusion vector.

参照图8,本申请提供一种基于多特征信息融合的混架线路状态评估系统,所述系统包括:8 , the present application provides a hybrid line status assessment system based on multi-feature information fusion, the system comprising:

第一图像特征提取模块10,用于采集混架线路的第一图像,对所述第一图像进行特征提取,得到几何特征数据、纹理特征数据和连接特征数据;A first image feature extraction module 10 is used to collect a first image of the hybrid line, perform feature extraction on the first image, and obtain geometric feature data, texture feature data, and connection feature data;

第二图像特征提取模块20,用于采集混架线路的第二图像,对所述第二图像进行特征提取,得到线路倾斜特征数据;A second image feature extraction module 20 is used to collect a second image of the mixed-frame line, perform feature extraction on the second image, and obtain line tilt feature data;

第三图像特征提取模块30,采集混架线路的第三图像,对所述第三图像进行特征提取,得到热分布特征数据;A third image feature extraction module 30 collects a third image of the mixed rack circuit, performs feature extraction on the third image, and obtains thermal distribution feature data;

多特征数据融合向量模块40,用于将所述几何特征数据、所述纹理特征数据、所述连接特征数据、所述线路倾斜特征数据和所述热分布特征数据进行融合,得到多特征融合向量;A multi-feature data fusion vector module 40 is used to fuse the geometric feature data, the texture feature data, the connection feature data, the line tilt feature data and the heat distribution feature data to obtain a multi-feature fusion vector;

混架线路状态评估模块50,用于构建多特征信息融合的混架线路状态评估模型,将所述多特征信息融合向量输入到所述多特征信息融合的混架线路状态评估模型中进行混架线路状态评估,得到混架线路状态评估结果。The mixed line state assessment module 50 is used to construct a mixed line state assessment model of multi-feature information fusion, input the multi-feature information fusion vector into the mixed line state assessment model of multi-feature information fusion to perform mixed line state assessment, and obtain a mixed line state assessment result.

如上所述,可以理解地,本申请中提出的所述的多特征信息融合的混架线路状态评估系统的各组成部分可以实现如上所述的基于多特征信息融合的混架线路状态评估方法任一项的功能。As described above, it can be understood that the various components of the mixed-frame line state assessment system based on multi-feature information fusion proposed in the present application can realize the functions of any one of the mixed-frame line state assessment methods based on multi-feature information fusion described above.

在一个实施例中,所述第一图像特征提取模块10还包括执行:In one embodiment, the first image feature extraction module 10 further comprises executing:

利用高斯滤波器对所述第一图像进行去噪处理,得到第四图像;Performing denoising processing on the first image using a Gaussian filter to obtain a fourth image;

将所述第四图像进行二值化处理,得到所述第四图像对应的二值化图像;Binarizing the fourth image to obtain a binary image corresponding to the fourth image;

对所述二值化图像进行边缘提取,得到所述二值化图像中的边缘信息,其中,所述边缘信息为二值化图像边缘的坐标点集合;Performing edge extraction on the binary image to obtain edge information in the binary image, wherein the edge information is a set of coordinate points of the edge of the binary image;

根据所述边缘信息获取几何特征数据。Geometric feature data is acquired according to the edge information.

在一个实施例中,所述第一图像特征提取模块10还包括执行:In one embodiment, the first image feature extraction module 10 further comprises executing:

将所述第一图像划分为多个子图像,获取每个子图像中所有像素点对应的梯度方向和梯度幅度,基于所述梯度方向和所述梯度幅度构建每个子图像对应的梯度直方图,对所述梯度直方图进行归一化处理,得到归一化梯度直方图;Dividing the first image into a plurality of sub-images, obtaining the gradient direction and gradient magnitude corresponding to all pixels in each sub-image, constructing a gradient histogram corresponding to each sub-image based on the gradient direction and the gradient magnitude, and normalizing the gradient histogram to obtain a normalized gradient histogram;

连接每个子图像对应的归一化梯度直方图,得到所述第一图像的HOG纹理特征向量,并将所述HOG纹理特征向量作为纹理特征数据。The normalized gradient histograms corresponding to each sub-image are connected to obtain the HOG texture feature vector of the first image, and the HOG texture feature vector is used as texture feature data.

在一个实施例中,所述第二图像特征提取模块20还包括执行:In one embodiment, the second image feature extraction module 20 further comprises executing:

对所述第二图像进行图像矫正处理,得到第五图像;performing image correction processing on the second image to obtain a fifth image;

对所述第五图像中进行线路数据点提取,得到线路数据点集合;Extracting line data points from the fifth image to obtain a line data point set;

对所述线杆数据点集合进行最小二乘法拟合直线处理,得到线路拟合直线;Performing least squares straight line fitting processing on the pole data point set to obtain a line fitting straight line;

根据所述线路拟合直线获取线路倾斜特征数据。The line inclination characteristic data is obtained according to the line fitting straight line.

在一个实施例中,所述第三图像特征提取模块30还包括执行:In one embodiment, the third image feature extraction module 30 further includes executing:

基于红外热成像仪器对待评估的混架线路进行拍摄,得到第三图像;The mixed rack line to be evaluated is photographed using an infrared thermal imaging instrument to obtain a third image;

获取所述第三图像中所有像素点对应的第一温度值;基于所述第一温度值,生成所述第三图像的温度矩阵;Acquire first temperature values corresponding to all pixels in the third image; and generate a temperature matrix of the third image based on the first temperature values;

对所述温度矩阵进行异常温度点提取,得到异常温度点,并基于所述异常温度点,确定所述第三图像的热分布特征数据。Abnormal temperature points are extracted from the temperature matrix to obtain abnormal temperature points, and thermal distribution feature data of the third image is determined based on the abnormal temperature points.

在一个实施例中,所述多特征数据融合向量模块40还包括执行:In one embodiment, the multi-feature data fusion vector module 40 further includes executing:

基于卷积神经网络将所述几何特征数据、所述纹理特征数据、所述连接特征数据、所述线路倾斜特征数据和所述热分布特征数据分别转换为几何特征向量、纹理特征向量、连接特征向量、线路倾斜特征向量和热分布特征向量;Based on a convolutional neural network, the geometric feature data, the texture feature data, the connection feature data, the line tilt feature data, and the thermal distribution feature data are respectively converted into a geometric feature vector, a texture feature vector, a connection feature vector, a line tilt feature vector, and a thermal distribution feature vector;

分别对所述几何特征向量、所述纹理特征向量、所述连接特征向量、所述线路倾斜特征向量和所述热分布特征向量赋予权重,得到对应的权重系数;assigning weights to the geometric feature vector, the texture feature vector, the connection feature vector, the line tilt feature vector, and the heat distribution feature vector respectively to obtain corresponding weight coefficients;

分别对所述几何特征向量、所述纹理特征向量、所述连接特征向量、所述线路倾斜特征向量和所述热分布特征向量与其对应的权重系数进行相乘,得到对应的加权特征向量;Multiplying the geometric feature vector, the texture feature vector, the connection feature vector, the line tilt feature vector and the heat distribution feature vector by their corresponding weight coefficients respectively to obtain corresponding weighted feature vectors;

将所述几何特征向量、所述纹理特征向量、所述连接特征向量、所述线路倾斜特征向量和所述热分布特征向量对应的加权特征向量进行线性相加,得到多特征融合向量。The weighted feature vectors corresponding to the geometric feature vector, the texture feature vector, the connection feature vector, the line tilt feature vector, and the heat distribution feature vector are linearly added to obtain a multi-feature fusion vector.

在一个实施例中,所述混架线路状态评估模块50还包括执行:In one embodiment, the hybrid line status evaluation module 50 further includes executing:

获取历史多特征信息融合向量,并将每个融合特征向量标注为A/T/E三个状态,分别代表正常状态、预警状态和故障状态;Obtain the historical multi-feature information fusion vector, and mark each fusion feature vector as three states: A/T/E, which represent the normal state, warning state, and fault state respectively;

将所述历史多特征信息融合向量集分为训练集和测试集,并基于所述训练集概率分布的基尼指数以及信息增益率,构建决策树;Dividing the historical multi-feature information fusion vector set into a training set and a test set, and constructing a decision tree based on the Gini index and information gain rate of the probability distribution of the training set;

将所述测试集输入至所述决策树并计算预测精度;Inputting the test set into the decision tree and calculating the prediction accuracy;

当所述预测精度低于预设阈值时对所述决策树进行剪枝,生成多特征信息融合的混架线路状态评估模型;When the prediction accuracy is lower than a preset threshold, the decision tree is pruned to generate a hybrid line status assessment model integrating multiple feature information;

获取当前多特征信息融合向量,将所述当前多特征信息融合向量输入混架线路状态评估模型进行评估,按训练的规则进行状态类别分类,所述混架线路状态评估模型基于当前多特征信息融合向量集中反映的各特征数据,输出混架线路当前状态:正常/预警/故障。Obtain the current multi-feature information fusion vector, input the current multi-feature information fusion vector into the mixed line status assessment model for evaluation, and classify the status category according to the trained rules. The mixed line status assessment model outputs the current status of the mixed line: normal/warning/fault based on the feature data concentratedly reflected by the current multi-feature information fusion vector.

参照图9,本申请实施例中还提供一种计算机设备,该计算机设备的内部结构可以如图9所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口和显示装置及输入装置。其中,该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机设备的显示装置用于显示交互页面。该计算机设备的输入装置用于接收用户的输入。该计算机设备设计的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质。该非易失性存储介质存储有操作系统、计算机程序和数据库。该计算机设备的数据库用于存放原始数据。该计算机程序被处理器执行时以实现一种基于多特征信息融合的混架线路状态评估方法。Referring to Figure 9, a computer device is also provided in an embodiment of the present application, and the internal structure of the computer device can be shown in Figure 9. The computer device includes a processor, a memory, a network interface, a display device and an input device connected through a system bus. Among them, the network interface of the computer device is used to communicate with an external terminal through a network connection. The display device of the computer device is used to display an interactive page. The input device of the computer device is used to receive user input. The processor designed for the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium. The non-volatile storage medium stores an operating system, a computer program and a database. The database of the computer device is used to store raw data. When the computer program is executed by the processor, a mixed rack line status assessment method based on multi-feature information fusion is implemented.

上述处理器执行上述的基于多特征信息融合的混架线路状态评估方法,所述方法包括:采集混架线路的第一图像,对所述第一图像进行特征提取,得到几何特征数据、纹理特征数据和连接特征数据;采集混架线路的第二图像,对所述第二图像进行特征提取,得到线路倾斜特征数据;采集混架线路的第三图像,对所述第三图像进行特征提取,得到热分布特征数据;将所述几何特征数据、所述纹理特征数据、所述连接特征数据、所述线路倾斜特征数据和所述热分布特征数据进行融合,得到多特征融合向量;构建多特征信息融合的混架线路状态评估模型,将所述多特征信息融合向量输入到所述多特征信息融合的混架线路状态评估模型中进行混架线路状态评估,得到混架线路状态评估结果。通过上述方法,提高了混架线路状态评估结果的可靠性和准确性。The processor executes the mixed line state assessment method based on multi-feature information fusion, the method comprising: collecting a first image of the mixed line, extracting features from the first image, obtaining geometric feature data, texture feature data and connection feature data; collecting a second image of the mixed line, extracting features from the second image, obtaining line tilt feature data; collecting a third image of the mixed line, extracting features from the third image, obtaining thermal distribution feature data; fusing the geometric feature data, the texture feature data, the connection feature data, the line tilt feature data and the thermal distribution feature data to obtain a multi-feature fusion vector; constructing a mixed line state assessment model with multi-feature information fusion, inputting the multi-feature information fusion vector into the mixed line state assessment model with multi-feature information fusion to perform mixed line state assessment, and obtaining a mixed line state assessment result. Through the method, the reliability and accuracy of the mixed line state assessment result are improved.

本申请还提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被所述处理器执行时实现一种基于多特征信息融合的混架线路状态评估方法,采集混架线路的第一图像,对所述第一图像进行特征提取,得到几何特征数据、纹理特征数据和连接特征数据;采集混架线路的第二图像,对所述第二图像进行特征提取,得到线路倾斜特征数据;采集混架线路的第三图像,对所述第三图像进行特征提取,得到热分布特征数据;将所述几何特征数据、所述纹理特征数据、所述连接特征数据、所述线路倾斜特征数据和所述热分布特征数据进行融合,得到多特征融合向量;构建多特征信息融合的混架线路状态评估模型,将所述多特征信息融合向量输入到所述多特征信息融合的混架线路状态评估模型中进行混架线路状态评估,得到混架线路状态评估结果。The present application also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by the processor, a mixed line state assessment method based on multi-feature information fusion is implemented, which includes collecting a first image of the mixed line, performing feature extraction on the first image, and obtaining geometric feature data, texture feature data, and connection feature data; collecting a second image of the mixed line, performing feature extraction on the second image, and obtaining line tilt feature data; collecting a third image of the mixed line, performing feature extraction on the third image, and obtaining thermal distribution feature data; fusing the geometric feature data, the texture feature data, the connection feature data, the line tilt feature data, and the thermal distribution feature data to obtain a multi-feature fusion vector; constructing a mixed line state assessment model with multi-feature information fusion, and inputting the multi-feature information fusion vector into the mixed line state assessment model with multi-feature information fusion to perform mixed line state assessment, and obtaining a mixed line state assessment result.

所述计算机可读存储介质提供了一种基于多特征信息融合的混架线路状态评估方法,所述方法包括:采集混架线路的第一图像,对所述第一图像进行特征提取,得到几何特征数据、纹理特征数据和连接特征数据;采集混架线路的第二图像,对所述第二图像进行特征提取,得到线路倾斜特征数据;采集混架线路的第三图像,对所述第三图像进行特征提取,得到热分布特征数据;将所述几何特征数据、所述纹理特征数据、所述连接特征数据、所述线路倾斜特征数据和所述热分布特征数据进行融合,得到多特征融合向量;构建多特征信息融合的混架线路状态评估模型,将所述多特征信息融合向量输入到所述多特征信息融合的混架线路状态评估模型中进行混架线路状态评估,得到混架线路状态评估结果。通过上述方法,提高了混架线路状态评估结果的可靠性和准确性。The computer-readable storage medium provides a method for evaluating the state of a mixed rack line based on multi-feature information fusion, the method comprising: collecting a first image of the mixed rack line, extracting features from the first image, and obtaining geometric feature data, texture feature data, and connection feature data; collecting a second image of the mixed rack line, extracting features from the second image, and obtaining line tilt feature data; collecting a third image of the mixed rack line, extracting features from the third image, and obtaining thermal distribution feature data; fusing the geometric feature data, the texture feature data, the connection feature data, the line tilt feature data, and the thermal distribution feature data to obtain a multi-feature fusion vector; constructing a mixed rack line state evaluation model with multi-feature information fusion, inputting the multi-feature information fusion vector into the mixed rack line state evaluation model with multi-feature information fusion to perform mixed rack line state evaluation, and obtaining a mixed rack line state evaluation result. Through the above method, the reliability and accuracy of the mixed rack line state evaluation result are improved.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的和实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可以包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双速据率SDRAM(SSRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media provided in this application and used in the embodiments may include non-volatile and/or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、装置、物品或者方法不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、装置、物品或者方法所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、装置、物品或者方法中还存在另外的相同要素。It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, device, article or method. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, device, article or method including the element.

以上所述仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above description is only a preferred embodiment of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims (9)

1.一种基于多特征信息融合的混架线路状态评估方法,其特征在于,包括:1. A hybrid line status assessment method based on multi-feature information fusion, characterized by comprising: 采集混架线路的第一图像,对所述第一图像进行特征提取,得到几何特征数据、纹理特征数据和连接特征数据;Collecting a first image of the mixed rack line, performing feature extraction on the first image to obtain geometric feature data, texture feature data and connection feature data; 采集混架线路的第二图像,对所述第二图像进行特征提取,得到线路倾斜特征数据;Collecting a second image of the mixed-frame line, performing feature extraction on the second image, and obtaining line tilt feature data; 采集混架线路的第三图像,对所述第三图像进行特征提取,得到热分布特征数据;Collecting a third image of the mixed rack circuit, performing feature extraction on the third image, and obtaining thermal distribution feature data; 将所述几何特征数据、所述纹理特征数据、所述连接特征数据、所述线路倾斜特征数据和所述热分布特征数据进行融合,得到多特征融合向量;Fusing the geometric feature data, the texture feature data, the connection feature data, the line tilt feature data and the heat distribution feature data to obtain a multi-feature fusion vector; 构建多特征信息融合的混架线路状态评估模型,将所述多特征信息融合向量输入到所述多特征信息融合的混架线路状态评估模型中进行混架线路状态评估,得到混架线路状态评估结果;Constructing a mixed-frame line state assessment model based on multi-feature information fusion, inputting the multi-feature information fusion vector into the mixed-frame line state assessment model based on multi-feature information fusion to perform mixed-frame line state assessment, and obtaining a mixed-frame line state assessment result; 所述构建多特征信息融合的混架线路状态评估模型,将所述多特征信息融合向量输入到所述多特征信息融合的混架线路状态评估模型中进行混架线路状态评估,得到混架线路状态评估结果,具体包括:The step of constructing a mixed-frame line state assessment model by fusion of multiple feature information, inputting the multiple feature information fusion vector into the mixed-frame line state assessment model by fusion of multiple feature information to perform mixed-frame line state assessment, and obtaining a mixed-frame line state assessment result specifically includes: 获取历史多特征信息融合向量,并将每个融合特征向量标注为A/T/E三个状态,分别代表正常状态、预警状态和故障状态;Obtain the historical multi-feature information fusion vector, and mark each fusion feature vector as three states: A/T/E, which represent the normal state, warning state, and fault state respectively; 将所述历史多特征信息融合向量集分为训练集和测试集,并基于所述训练集概率分布的基尼指数以及信息增益率,构建决策树;Dividing the historical multi-feature information fusion vector set into a training set and a test set, and constructing a decision tree based on the Gini index and information gain rate of the probability distribution of the training set; 将所述测试集输入至所述决策树并计算预测精度;Inputting the test set into the decision tree and calculating the prediction accuracy; 当所述预测精度低于预设阈值时对所述决策树进行剪枝,生成多特征信息融合的混架线路状态评估模型;When the prediction accuracy is lower than a preset threshold, the decision tree is pruned to generate a hybrid line status assessment model integrating multiple feature information; 获取当前多特征信息融合向量,将所述当前多特征信息融合向量输入混架线路状态评估模型进行评估,按训练的规则进行状态类别分类,所述混架线路状态评估模型基于当前多特征信息融合向量集中反映的各特征数据,输出混架线路当前状态:正常/预警/故障。Obtain the current multi-feature information fusion vector, input the current multi-feature information fusion vector into the mixed line status assessment model for evaluation, and classify the status category according to the trained rules. The mixed line status assessment model outputs the current status of the mixed line: normal/warning/fault based on the feature data concentratedly reflected by the current multi-feature information fusion vector. 2.如权利要求1所述的一种基于多特征信息融合的混架线路状态评估方法,其特征在于,所述对所述第一图像进行特征提取,得到几何特征数据,具体包括:2. A hybrid line status assessment method based on multi-feature information fusion according to claim 1, characterized in that the feature extraction of the first image to obtain geometric feature data specifically includes: 利用高斯滤波器对所述第一图像进行去噪处理,得到第四图像;Performing denoising processing on the first image using a Gaussian filter to obtain a fourth image; 将所述第四图像进行二值化处理,得到所述第四图像对应的二值化图像;Binarizing the fourth image to obtain a binary image corresponding to the fourth image; 对所述二值化图像进行边缘提取,得到所述二值化图像中的边缘信息,其中,所述边缘信息为二值化图像边缘的坐标点集合;Performing edge extraction on the binary image to obtain edge information in the binary image, wherein the edge information is a set of coordinate points of the edge of the binary image; 根据所述边缘信息获取几何特征数据。Geometric feature data is acquired according to the edge information. 3.如权利要求1所述的一种基于多特征信息融合的混架线路状态评估方法,其特征在于,所述对所述第一图像进行特征提取,得到纹理特征数据,具体包括:3. A hybrid line status assessment method based on multi-feature information fusion as claimed in claim 1, characterized in that the feature extraction of the first image to obtain texture feature data specifically includes: 将所述第一图像划分为多个子图像,获取每个子图像中所有像素点对应的梯度方向和梯度幅度;Divide the first image into multiple sub-images, and obtain the gradient direction and gradient amplitude corresponding to all pixels in each sub-image; 基于所述梯度方向和所述梯度幅度构建每个子图像对应的梯度直方图,对所述梯度直方图进行归一化处理,得到归一化梯度直方图;constructing a gradient histogram corresponding to each sub-image based on the gradient direction and the gradient amplitude, and normalizing the gradient histogram to obtain a normalized gradient histogram; 连接每个子图像对应的归一化梯度直方图,得到所述第一图像的HOG纹理特征向量,并将所述HOG纹理特征向量作为纹理特征数据。The normalized gradient histograms corresponding to each sub-image are connected to obtain the HOG texture feature vector of the first image, and the HOG texture feature vector is used as texture feature data. 4.如权利要求1所述的一种基于多特征信息融合的混架线路状态评估方法,其特征在于,所述采集混架线路的第二图像,对所述第二图像进行特征提取,得到线路倾斜特征数据,具体包括:4. A hybrid line status assessment method based on multi-feature information fusion according to claim 1, characterized in that said collecting a second image of the hybrid line, extracting features from the second image, and obtaining line tilt feature data specifically comprises: 对所述第二图像进行图像矫正处理,得到第五图像;performing image correction processing on the second image to obtain a fifth image; 对所述第五图像中进行线路数据点提取,得到线路数据点集合;Extracting line data points from the fifth image to obtain a line data point set; 对所述线路数据点集合进行最小二乘法拟合直线处理,得到线路拟合直线;Performing least squares straight line fitting processing on the line data point set to obtain a line fitting straight line; 根据所述线路拟合直线获取线路倾斜特征数据。The line inclination characteristic data is obtained according to the line fitting straight line. 5.如权利要求1所述的一种基于多特征信息融合的混架线路状态评估方法,其特征在于,所述采集混架线路的第三图像,对所述第三图像进行特征提取,得到热分布特征数据,具体包括:5. A method for evaluating the state of a hybrid line based on multi-feature information fusion according to claim 1, characterized in that said collecting a third image of the hybrid line, extracting features from the third image, and obtaining thermal distribution feature data specifically comprises: 基于红外热成像仪器对待评估的混架线路进行拍摄,得到第三图像;The mixed rack line to be evaluated is photographed using an infrared thermal imaging instrument to obtain a third image; 获取所述第三图像中所有像素点对应的第一温度值;Acquire first temperature values corresponding to all pixels in the third image; 基于所述第一温度值,生成所述第三图像的温度矩阵;generating a temperature matrix of the third image based on the first temperature value; 对所述温度矩阵进行异常温度点提取,得到异常温度点,并基于所述异常温度点,确定所述第三图像的热分布特征数据。Abnormal temperature points are extracted from the temperature matrix to obtain abnormal temperature points, and thermal distribution feature data of the third image is determined based on the abnormal temperature points. 6.如权利要求1所述的一种基于多特征信息融合的混架线路状态评估方法,其特征在于,所述将所述几何特征数据、所述纹理特征数据、所述连接特征数据、所述线路倾斜特征数据和所述热分布特征数据进行融合,得到多特征融合向量,具体包括:6. A hybrid line status assessment method based on multi-feature information fusion as claimed in claim 1, characterized in that the step of fusing the geometric feature data, the texture feature data, the connection feature data, the line tilt feature data and the thermal distribution feature data to obtain a multi-feature fusion vector specifically comprises: 基于卷积神经网络将所述几何特征数据、所述纹理特征数据、所述连接特征数据、所述线路倾斜特征数据和所述热分布特征数据分别转换为几何特征向量、纹理特征向量、连接特征向量、线路倾斜特征向量和热分布特征向量;Based on a convolutional neural network, the geometric feature data, the texture feature data, the connection feature data, the line tilt feature data, and the thermal distribution feature data are respectively converted into a geometric feature vector, a texture feature vector, a connection feature vector, a line tilt feature vector, and a thermal distribution feature vector; 分别对所述几何特征向量、所述纹理特征向量、所述连接特征向量、所述线路倾斜特征向量和所述热分布特征向量赋予权重,得到对应的权重系数;assigning weights to the geometric feature vector, the texture feature vector, the connection feature vector, the line tilt feature vector, and the heat distribution feature vector respectively to obtain corresponding weight coefficients; 分别对所述几何特征向量、所述纹理特征向量、所述连接特征向量、所述线路倾斜特征向量和所述热分布特征向量与其对应的权重系数进行相乘,得到对应的加权特征向量;Multiplying the geometric feature vector, the texture feature vector, the connection feature vector, the line tilt feature vector and the heat distribution feature vector by their corresponding weight coefficients respectively to obtain corresponding weighted feature vectors; 将所述几何特征向量、所述纹理特征向量、所述连接特征向量、所述线路倾斜特征向量和所述热分布特征向量对应的加权特征向量进行线性相加,得到多特征融合向量。The weighted feature vectors corresponding to the geometric feature vector, the texture feature vector, the connection feature vector, the line tilt feature vector, and the heat distribution feature vector are linearly added to obtain a multi-feature fusion vector. 7.一种基于多特征信息融合的混架线路状态评估系统,用以实现如权利要求1-6任一项所述的评估方法,其特征在于,所述系统包括:7. A hybrid line status assessment system based on multi-feature information fusion, used to implement the assessment method according to any one of claims 1 to 6, characterized in that the system comprises: 第一图像特征提取模块,用于采集混架线路的第一图像,对所述第一图像进行特征提取,得到几何特征数据、纹理特征数据和连接特征数据;A first image feature extraction module, used for collecting a first image of the mixed rack line, performing feature extraction on the first image, and obtaining geometric feature data, texture feature data, and connection feature data; 第二图像特征提取模块,用于采集混架线路的第二图像,对所述第二图像进行特征提取,得到线路倾斜特征数据;A second image feature extraction module, used for collecting a second image of the mixed-frame line, performing feature extraction on the second image, and obtaining line tilt feature data; 第三图像特征提取模块,采集混架线路的第三图像,对所述第三图像进行特征提取,得到热分布特征数据;A third image feature extraction module collects a third image of the mixed rack circuit, performs feature extraction on the third image, and obtains thermal distribution feature data; 多特征数据融合向量模块,用于将所述几何特征数据、所述纹理特征数据、所述连接特征数据、所述线路倾斜特征数据和所述热分布特征数据进行融合,得到多特征融合向量;A multi-feature data fusion vector module, used for fusing the geometric feature data, the texture feature data, the connection feature data, the line inclination feature data and the thermal distribution feature data to obtain a multi-feature fusion vector; 混架线路状态评估模块,用于构建多特征信息融合的混架线路状态评估模型,将所述多特征信息融合向量输入到所述多特征信息融合的混架线路状态评估模型中进行混架线路状态评估,得到混架线路状态评估结果。The mixed line state assessment module is used to construct a mixed line state assessment model of multi-feature information fusion, input the multi-feature information fusion vector into the mixed line state assessment model of multi-feature information fusion to perform mixed line state assessment, and obtain a mixed line state assessment result. 8.一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求1至6中任一项所述的基于多特征信息融合的混架线路状态评估方法的步骤。8. A computer device, comprising a memory and a processor, wherein the memory stores a computer program, wherein the processor implements the steps of the mixed line status assessment method based on multi-feature information fusion according to any one of claims 1 to 6 when executing the computer program. 9.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1至6中任一项基于多特征信息融合的混架线路状态评估方法的步骤。9. A computer-readable storage medium having a computer program stored thereon, characterized in that when the computer program is executed by a processor, the steps of the method for evaluating the state of a hybrid line based on multi-feature information fusion according to any one of claims 1 to 6 are implemented.
CN202410796214.8A 2024-06-20 2024-06-20 Hybrid line status assessment method and system based on multi-feature information fusion Active CN118365973B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410796214.8A CN118365973B (en) 2024-06-20 2024-06-20 Hybrid line status assessment method and system based on multi-feature information fusion

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410796214.8A CN118365973B (en) 2024-06-20 2024-06-20 Hybrid line status assessment method and system based on multi-feature information fusion

Publications (2)

Publication Number Publication Date
CN118365973A CN118365973A (en) 2024-07-19
CN118365973B true CN118365973B (en) 2024-08-23

Family

ID=91885257

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410796214.8A Active CN118365973B (en) 2024-06-20 2024-06-20 Hybrid line status assessment method and system based on multi-feature information fusion

Country Status (1)

Country Link
CN (1) CN118365973B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116310274A (en) * 2023-02-27 2023-06-23 深圳供电局有限公司 State evaluation method for power transmission and transformation equipment
CN117394311A (en) * 2023-09-26 2024-01-12 国网宁夏电力有限公司经济技术研究院 A distribution network resilience assessment and emergency control method based on multi-source information fusion

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117421998B (en) * 2023-12-18 2024-03-12 国网湖北省电力有限公司经济技术研究院 A health status assessment system for overhead transmission lines based on multi-modal data

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116310274A (en) * 2023-02-27 2023-06-23 深圳供电局有限公司 State evaluation method for power transmission and transformation equipment
CN117394311A (en) * 2023-09-26 2024-01-12 国网宁夏电力有限公司经济技术研究院 A distribution network resilience assessment and emergency control method based on multi-source information fusion

Also Published As

Publication number Publication date
CN118365973A (en) 2024-07-19

Similar Documents

Publication Publication Date Title
CN111524137B (en) Cell identification counting method and device based on image identification and computer equipment
CN111814902A (en) Target detection model training method, target recognition method, device and medium
CN111813997B (en) Intrusion analysis method, device, equipment and storage medium
CN111461068B (en) Chromosome metaphase map identification and segmentation method
CN112381837B (en) Image processing method and electronic equipment
CN112633297B (en) Target object identification method and device, storage medium and electronic device
CN108537286B (en) An Accurate Recognition Method of Complex Targets Based on Key Area Detection
CN114359787A (en) Target attribute identification method and device, computer equipment and storage medium
CN112419202B (en) Automatic recognition system for wild animal images based on big data and deep learning
CN112884782B (en) Biological object segmentation method, apparatus, computer device, and storage medium
US20230215125A1 (en) Data identification method and apparatus
CN111932545A (en) Image processing method, target counting method and related device thereof
JP2016099835A (en) Image processor, image processing method, and program
CN112037180B (en) Chromosome segmentation method and device
CN112465821A (en) Multi-scale pest image detection method based on boundary key point perception
CN118365973B (en) Hybrid line status assessment method and system based on multi-feature information fusion
CN111382638A (en) Image detection method, device, equipment and storage medium
CN116883755B (en) Rural construction environment monitoring method, system, equipment and storage medium
CN114445716B (en) Key point detection method, key point detection device, computer device, medium, and program product
CN117765348A (en) Target detection model deployment method, target detection method and electronic equipment
JP4176175B2 (en) Pattern recognition device
CN116645325A (en) Defect marking method and device for photovoltaic panel, medium and electronic equipment
CN112699809B (en) Vaccinia category identification method, device, computer equipment and storage medium
CN111353349B (en) Human body key point detection method and device, electronic equipment and storage medium
CN116110070A (en) Communication engineering drawing recognition method and device

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
GR01 Patent grant
GR01 Patent grant