A method and device for determining the height of a building
A technology for building heights and buildings, applied in measuring devices, height/level measurement, photo interpretation, etc., can solve problems such as low efficiency and high cost, and achieve the effect of reducing costs and improving acquisition efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0033] Figure 1A It is a flowchart of a method for determining the height of a building provided by Embodiment 1 of the present invention. The method can be executed by a building height calculation device, wherein the device can be implemented by software and / or hardware, and is generally integrated in a server capable of image processing.
[0034] see Figure 1A , the method of this embodiment includes the following operations:
[0035] S101. Acquire an original picture including a building image.
[0036] In the above operations, the original picture can be a picture taken of the building by at least one camera. When the building is taken by one camera, the picture taken under two-dimensional conditions is taken as the original picture; When more than one camera shoots a building from different angles, it is first necessary to process and stitch together a series of photographs containing the images of the building to obtain a panoramic picture that can show the building ...
Embodiment 2
[0059] Figure 2A It is a flow chart of a method for determining the height of a building provided by Embodiment 2 of the present invention. The analysis method for the height of a building is based on the above Embodiment 1. Further, before determining the pixel height of a building, perform The preprocessing of the picture eliminates the interference in the picture and improves the accuracy of the calculation. There are many pretreatment methods, which can be used alone or in combination.
[0060] Before performing edge detection on the building image in the projected picture, it also includes:
[0061] S201. Extract gray values of pixels of different colors in a set area at the top of the projected picture.
[0062] Pixels usually use the three primary colors of red, green, and blue, so the gray values of these three different color pixels can be extracted.
[0063] S202. Calculate the gray value difference between the blue pixel and other color pixels according to t...
Embodiment 3
[0078] image 3It is a flowchart of a method for determining the height of a building provided by an embodiment of the present invention. This embodiment provides a preferred embodiment based on the foregoing embodiments.
[0079] see image 3 , the method of this embodiment includes the following operations:
[0080] S301. Acquire an original picture including a building image.
[0081] S302. Determine a projection elevation angle of the original picture on the set sphere according to the distance between the collection location of the original picture and the building.
[0082] S303. Attach the original picture as a texture on the surface of the set sphere to form a projected picture.
[0083] S304. Set the center of the set sphere as a shooting viewport, and map the projected picture into the projected viewport, so as to eliminate wide-angle distortion of the panoramic picture.
[0084] S305. Extract gray values of pixels of different colors in a set area on the top ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


