The mobile laser scanning (MLS) system can quickly collect the point cloud data of power lines and power line corridors that lay along urban road. Accurate and efficient extraction of power lines from the point cloud is the basis of power line inspections and maintenance. This project presents a complete algorithm for power line extraction and modelling from MLS point clouds. The algorithm first extracted candidate power line points from non-ground points based on the analysis of linear feature. The catenary model is used to model and densify power lines. The sample data provided by the International Society for Photogrammetry and Remote Sensing Working Group (ISPRS WG) III/5 was used to test the performance of the method.
The sample data were provided by the International Society for Photogrammetry and Remote Sensing Working Group (ISPRS WG) III/5. To download the point cloud data from the following three links:
https://github.com/zwshi-pku/3DLiDAR/blob/main/ExtractPowerLine/L037_Sens1_600x250_cloud_8.mat
https://github.com/zwshi-pku/3DLiDAR/blob/main/ExtractPowerLine/L037_Sens1_600x250_cloud_9.mat
https://github.com/zwshi-pku/3DLiDAR/blob/main/ExtractPowerLine/L037_Sens1_600x250_cloud_10.mat
Run in Matlab: demo_extract_powerline.m
%% step0 Mobile LiDAR filtering
clc; clear; close all;
tic
nonGroundPoints = [];
for i=8:10
filename = ['L037_Sens1_600x250_cloud_' num2str(i)];
load([filename '.mat'])
[counts,centers] = hist(ptCloudA.data(:,3),50);
[~,I] = max(counts);
nonGroundIndex = ptCloudA.data(:,3)>centers(I+3);
nonGroundPoints = [nonGroundPoints; ptCloudA.data(nonGroundIndex,1:3)];
end
toc
figure
pcshow(nonGroundPoints)
title('Non ground points')
view(60,25)
print(gcf,'-dpng','-r300', 'f1_nonGroundPoints.png')
%% step1 Extract powerline point points
radius = 0.5;
angleThr = 10;
LThr = 0.98;
tic
isPLIndex = extractPLs(nonGroundPoints,radius,angleThr,LThr);
toc
isPLIndex = logical(isPLIndex);
figure
pcshow(nonGroundPoints(isPLIndex,:))
title('Candidate power line points')
view(60,25)
print(gcf,'-dpng','-r300', 'f2_candidate powerline points.png')
Please consider citing our papers if you find these codes help your research.
Zhenwei Shi, Yi Lin, and Hui Li. Extraction of urban power lines and potential hazard analysis from mobile laser scanning point clouds. International Journal of Remote Sensing 41, no. 9 (2020): 3411-3428.
Zhenwei Shi, Zhizhong Kang, Yi Lin, Yu Liu, and Wei Chen. Automatic recognition of pole-like objects from mobile laser scanning point clouds. Remote Sensing 10, no. 12 (2018): 1891.