Abstract

A new method for building 3D models of transformer substation based on mapping and 2D images is proposed in this paper. This method segments objects of equipment in 2D images by using -means algorithm in determining the cluster centers dynamically to segment different shapes and then extracts feature parameters from the divided objects by using FFT and retrieves the similar objects from 3D databases and then builds 3D models by computing the mapping data. The method proposed in this paper can avoid the complex data collection and big workload by using 3D laser scanner. The example analysis shows the method can build coarse 3D models efficiently which can meet the requirements for hazardous area classification and constructions representations of transformer substation.

1. Introduction

In recent years, substations under centralized management control mode has also been exposed to many problems with the increasing size of the grid, such as the following: the station complex and diverse equipment are too difficult to observe, the staff cannot quickly master station equipment environment [15]. Creating a visual system is a great help for the training of the operators. However, traditional workload of 3D modeling for transformer substation is too great, and the work period is too long.

In order to protect the security of staffs and facilitate their training, the 3D models of transformer substation by using laser scanning technology have increasingly aroused concerns of experts [69]. The rise of 3D laser scanning technology can solve the problem of the data acquisition and precision of the model while it may get a lot of points of information that leads to accurate modeling of the substation equipment [1012]. However, the complex substation equipment structure will bring high point density by using 3D laser scanning technology which will increase the difficulty and time data collection and make the model work overload [1315].

3D reconstruction is one of the main research contents of the computer vision technology. In engineering and many other areas, in order to get useful information for research, we usually analyze the 3D structure of the objects. The research on 3D reconstruction has important practical significance and has a broad range of applications, such as archaeology, architecture, materials processing, industrial inspection, and medical imaging equipment industry [1618].

In order to reduce the modeling workload, researchers have raised lots of 3D modeling methods by using 2D images [1921]. Dr. Macro proposed a 3D reconstruction method by using a 2D detector under varying illumination conditions [22]. The method proposed by Dr. Macro is applied in head tracking which can extend the range of head motion and ensure the reconstruction fast and reliable. Literature [23] proposed a 3D modeling method based on 2D sketch. In literature [24] a reconstruction method by using new Zernike comparator is proposed which can provide a more accurate similarity measure, together with the optimal rotation, angle between the patterns, while keeping the same complexity as the classical approach. The method can ensure the automatic transcription of sketched storyboards into reconstructed 3D scenes. These method are more focused on 3D modeling based on texture map image; however the 3D modeling of transformer substation is more focused on the external structure and shape of power equipment in order that staffs can zone security area and understand the environment of the substation easily [25, 26].

The method proposed in this paper is a 3D reconstruction technology based on 2D images which segments objects of equipment in 2D images to consist of a correspondingly shaped device model that is retrieved from the objects library. Then the size, spacing, and other parameters can be determined by the device mapping data. The 3D model established by this method not only can meet the requirements of zoning security, the substation shows, and so on, but also can reduce modeling costs and time greatly.

2. Principle of the Modeling Method

The difficulty of building 3D models from 2D images lies in lack of depth data. The method proposed in this paper takes shot from multiviews of equipment in the substation and then maps the position information of each device and gets equipment size, equipment location coordinates, and other information according to the scale. After making pixel division of the equipment, we retrieve the similar objects from the objects library by using the extracted features. The 3D size dimension of the objects is calculated according to the pixel in the image. Then determine the distance between the device and other aspects based on mapping data to establish the 3D modeling of the transformer substation. The user can also adjust the color and the concrete models. The process of establishing the 3D modeling is shown in Figure 1.

3. Image Segmentation

This paper sets sides of objects as side and side. We solve the energy function by using the improved -means algorithm for cluster of different connection components, and then we can complete the image segmentation.

is the source point and is the terminal point, the connection side between and point is the side. and point are neighbor points, and the connection side between and point is the side.

We create a dynamic array to store values of different segmentation shapes. Every side has a weight value . Segmentation cost is defined as the summation weight value of all sides which is shown as

means the connection side between and point, is the weight value of , is the segmentation cost between the th shape and ()th shape. We define the segmentation cost as the sign of the segmentation effect. The less the segmentation cost is, the better the segmentation effect is. Equation (2) is Gibbs function that can minimize the segmentation cost.

As shown in (2), energy value function consisted of the side energy values and side energy values. is the energy values of side which is the connection side between and point. is the energy values of side which is the connection side between and point. is the parameter used to balance the two values. , are pixels values of and point. is the set of points and is the set of sides.

The th cluster center is defined as , and the Euclidean distance from one point to the th cluster center is and to the previous cluster center is . If the Euclidean distance is smaller, the point will be more similar to the previous cluster center. The Euclidean distance from point to the th cluster center is shown as

We can get that is shown as

According to above-mentioned equations and analytical result, we can get which energy values belong to and which energy values belong to . If a point belongs to neither nor , it will be defined as the ()th source point to repeat above process until all of the points are traversed.

For the side, we determine their respective section according to the relationship with the surrounding pixels. The more similar the and point are, the higher the value of is; on the contrary, the value of will tend to 0. According to the color Euclidean distance between two pixels, we can define the energy value of side connection between the and point as

At last by solving the energy function we can determine the different outer contour shape and centroid of the objects, so that we can complete the image segmentation.

4. Image Reconstruction

This paper extracts feature parameters from the divided objects by using FFT. For pixels are discrete in the 2D image, we can descript the pixels in image as

We set for convenience and then we can get discrete Fourier transform result as

Since the original image has been divided into simple 3D geometric objects that contain a small amount of information, setting can meet the requirement of retrieving. Then we can get th energy response as

Normalizing above equations we can get characteristic component of the target object as

Then we can the similarity degree between the retrieved object and the retrieval object by using Euclidean distance as

Then use the most similar objects after setting their 3D size to reconstruct the equipment.

5. Case Analysis

To verify the validity of the proposed method, we give an example of 3D model reconstruction analysis by combining objects. The 2D image of power equipment models is shown in Figure 2.

As mentioned above, objects shown in Figure 2 are composed of basic shapes. Segment Figure 2 as the method proposed in this paper, and we can get parts of objects as samples shown in Figure 3. In Figure 3 we can see that the basic shapes retrieved from the objects library are similar to the original basic shapes that can meet the requirements of building 3D transformer substation models.

By calculating according to the pixel in the image, we can get the 3D models of independent equipment as shown in Figure 4.

Then determine the distance between the device and other aspects based on mapping data to establish the 3D model of the 2D image as shown in Figure 5. DPI of the image in Figure 5 is 600, and the scale of it is a pixel to 0.48 mm. The distance labeled in the image is 1952 pixels, and the distance converted by the scale is 937 mm while the actual distance shown in Figure 2 is 853 mm. So the result of modeling can meet basic needs.

At last we built a 3D modeling of a transformer substation that its panorama, local view, and local enlarged view are shown as Figures 6, 7, and 8.

To verify the superiority of the method proposed in this paper, we make the curves of precision ratio-times as shown in Figure 9 by using three methods to retrieve a simple model.

As shown in Figure 9, the speed of 3D modeling method based on 2D sketch is the fastest while its precision ratio is lowest. 3D laser scanning technology can make the most accurate modeling; however it will increase the difficulty and time data collection and make the model work overload. The method proposed in this paper can achieve a high accuracy with a little time which can verify the validity of the method.

6. Conclusions

The diverse equipment in transformer station is too difficult to observe and the staff cannot quickly master station equipment environment. In order to protect the security of staffs and facilitate their training, this paper proposed a 3D modeling method based on mapping and 2D images. This method segments objects of equipment in 2D images by using -means algorithm in determining the cluster centers dynamically to segment different shapes and then extracts feature parameters from the divided objects by using FFT and retrieves the similar objects from 3D databases and then builds 3D models by computing the mapping data. The 3D model established by this method not only can meet the requirements of zoning security, the substation shows, and so on, but also can reduce modeling costs and time greatly.

Competing Interests

The authors declare that they have no competing interests.

Acknowledgments

This work is supported by the project National High-Tech R&D Program (863 Program) of China (2015AA050603).