CN106611440B - Method and device for extracting live-action picture - Google Patents

Method and device for extracting live-action picture Download PDF

Info

Publication number
CN106611440B
CN106611440B CN201510700518.0A CN201510700518A CN106611440B CN 106611440 B CN106611440 B CN 106611440B CN 201510700518 A CN201510700518 A CN 201510700518A CN 106611440 B CN106611440 B CN 106611440B
Authority
CN
China
Prior art keywords
camera
live
extracting
parameter information
intersection
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
CN201510700518.0A
Other languages
Chinese (zh)
Other versions
CN106611440A (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.)
Navinfo Co Ltd
Original Assignee
Navinfo 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 Navinfo Co Ltd filed Critical Navinfo Co Ltd
Priority to CN201510700518.0A priority Critical patent/CN106611440B/en
Publication of CN106611440A publication Critical patent/CN106611440A/en
Application granted granted Critical
Publication of CN106611440B publication Critical patent/CN106611440B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/05Geographic models

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Geometry (AREA)
  • Software Systems (AREA)
  • Remote Sensing (AREA)
  • Computer Graphics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention provides a method and a device for extracting a live-action picture, which relate to the extraction of the live-action picture, and the method comprises the following steps: acquiring imported three-dimensional data and preset configuration table information, wherein the configuration table information at least comprises: at least one longitude and latitude coordinate, intersection type information, camera basic parameter information corresponding to the intersection type and graphic attribute parameter information; determining at least one live-action map position needing to be extracted in the three-dimensional data according to the at least one longitude and latitude coordinate; acquiring the type of the intersection of the at least one live-action map position; acquiring a camera position according to the corresponding camera basic parameter information of the intersection type in a configuration table and the corresponding position of the at least one longitude and latitude coordinate in the three-dimensional data; and according to the graphic attribute parameter information, under the camera position, automatically extracting at least one live-action picture through the camera.

Description

Method and device for extracting live-action picture
Technical Field
The present invention relates to a method for extracting a live-action image, and more particularly, to a method and an apparatus for extracting a live-action image.
Background
The appearance of the electronic map brings great convenience to daily life of people. An electronic map, i.e., a digital map, is a map that is digitally stored and referred to using computer technology. The method for storing and consulting the electronic map generally uses vector type image storage, and the map scale can be enlarged, reduced or rotated without influencing the display effect.
In the using process of the electronic map, the related extraction technology of the live-action map is limited to manual manufacturing by a user in the prior art, the prior art does not have the function of automatically associating information such as longitude and latitude, camera parameters and the like to intersections in the electronic map, the automatic extraction of the live-action map graph through a platform cannot be realized, and when a large amount of live-action maps are required to be extracted, the operation workload is large, and the operation is very inconvenient.
Disclosure of Invention
In order to overcome the problems, the invention provides a method and a device for extracting a live-action picture, which match the position of the live-action picture to be extracted with imported three-dimensional data and further determine the position of a camera to realize automatic extraction of the live-action picture, thereby solving the problem that the live-action picture graph cannot be generated through automatic extraction of a platform in the prior art.
In order to solve the technical problem, the invention adopts the following technical scheme:
a method of extracting a live view, comprising:
acquiring imported three-dimensional data and preset configuration table information, wherein the configuration table information at least comprises: at least one longitude and latitude coordinate, intersection type information, camera basic parameter information corresponding to the intersection type and graphic attribute parameter information; determining at least one live-action picture position needing to be extracted in the three-dimensional data according to the at least one longitude and latitude coordinate; acquiring the type of the intersection of the at least one live-action map position; acquiring a camera position according to the camera basic parameter information corresponding to the intersection type in a configuration table and the corresponding position of the at least one longitude and latitude coordinate in the three-dimensional data; and automatically extracting at least one live-action picture by the camera under the camera position according to the graphic attribute parameter information.
Optionally, the step of obtaining the camera position according to the camera basic parameter information corresponding to the intersection type in the configuration table and the corresponding position of the at least one longitude and latitude coordinate in the three-dimensional data includes:
acquiring a viewpoint position of the camera according to a corresponding position of the at least one longitude and latitude coordinate in the three-dimensional data;
the camera basic parameter information includes: and acquiring the lens position of the camera according to the relative position information of the camera and the intersection.
Optionally, the step of automatically extracting at least one live-action view by the camera comprises:
adjusting the camera within a preset adjustment range until a final image is selected at the position of the at least one live-action picture; and automatically extracting the final graph.
Optionally, the method further comprises: after at least one live-action picture is automatically extracted through the camera, a file corresponding to each time the operation of automatically extracting at least one live-action picture is executed is generated, wherein the at least one live-action picture is included in the file.
Optionally, the graphic attribute parameter information at least includes: graph size, resolution, bit depth, number.
An apparatus for extracting a live view, comprising:
the first obtaining module is configured to obtain imported three-dimensional data and preset configuration table information, where the configuration table information at least includes: at least one longitude and latitude coordinate, intersection type information, camera basic parameter information corresponding to the intersection type and graphic attribute parameter information; the association module is used for determining at least one real scene graph position needing to be extracted in the three-dimensional data according to the at least one longitude and latitude coordinate and acquiring the intersection type of the at least one real scene graph position; the second acquisition module is used for acquiring the position of the camera according to the corresponding basic parameter information of the camera in the configuration table of the intersection type and the corresponding position of the at least one longitude and latitude coordinate in the three-dimensional data; and the extraction module is used for automatically extracting at least one live-action picture through the camera under the camera position according to the graphic attribute parameter information.
Optionally, the second obtaining module is further configured to:
acquiring a viewpoint position of the camera according to a corresponding position of the at least one longitude and latitude coordinate in the three-dimensional data; the camera basic parameter information includes: and acquiring the lens position of the camera according to the relative position information of the camera and the intersection.
Optionally, the extracting module is further configured to: adjusting the camera within a preset adjustment range until a final image is selected at the position of the at least one live-action picture; and automatically extracting the final graph.
Optionally, the method further comprises: and the generating module is used for generating a file corresponding to the operation of automatically extracting at least one live-action picture every time after the at least one live-action picture is automatically extracted by the camera, wherein the file comprises the at least one live-action picture.
Optionally, the graphic attribute parameter information at least includes: graph size, resolution, bit depth, number.
The invention has the beneficial effects that:
according to the invention, when the live-action picture is extracted, the position of the live-action picture to be extracted is matched with the imported three-dimensional data, the position of the camera is obtained through the corresponding position of the imported coordinate position in the three-dimensional data, the camera basic parameter information corresponding to the intersection type of the position of the live-action picture to be extracted and the at least one longitude and latitude coordinate, and finally the automatic extraction of the live-action picture by the camera is realized, so that the function of automatically extracting the live-action picture graph is realized, the problem of production efficiency and cost of the graph data is solved, compared with the existing manual manufacturing process, the whole construction period is greatly shortened, and the cost is reduced.
Drawings
FIG. 1 shows a first flow chart of the method of the present invention;
FIG. 2 shows a second flowchart of the method of the present invention;
FIG. 3 shows a third flowchart of the method of the present invention;
FIG. 4 shows a first schematic configuration of the apparatus of the present invention;
fig. 5 shows a second construction of the device according to the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As shown in fig. 1, the present invention discloses a method for extracting a live-action picture, comprising:
step 100: acquiring imported three-dimensional data and preset configuration table information, wherein the configuration table information at least comprises: at least one longitude and latitude coordinate, intersection type information, camera basic parameter information corresponding to the intersection type and graphic attribute parameter information;
step 200: determining at least one live-action map position needing to be extracted in the three-dimensional data according to the at least one longitude and latitude coordinate;
step 300: acquiring the type of the intersection of the at least one live-action image position;
step 400: acquiring a camera position according to the camera basic parameter information corresponding to the intersection type in a configuration table and the corresponding position of the at least one longitude and latitude coordinate in the three-dimensional data;
step 500: and automatically extracting at least one live-action picture by the camera at the position of the camera according to the graphic attribute parameter information.
In a specific application, before extraction, information included in a configuration table needs to be written, and configuration table data is preset, where the configuration table information at least includes information that needs to be used: longitude and latitude coordinates, intersection type information, camera basic parameter information corresponding to the intersection type and graphic attribute information. After the programmed configuration table is imported, the information content in the configuration table can be obtained and used, the three-dimensional data in the configuration table can form a map model, the live-action image is extracted in the map model, in the extraction process, the longitude and latitude coordinates in the configuration table are automatically associated with the three-dimensional data, the specific position of the live-action image to be extracted in the three-dimensional data is further determined, the corresponding crossing type is known from the specific position, the position of a camera used for collecting the live-action image in the three-dimensional data is obtained by matching the camera basic parameter information corresponding to the crossing type in the configuration table with the longitude and latitude coordinates in the corresponding position in the three-dimensional data, the live-action image can be extracted by the camera according to preset graphic attribute parameters, wherein the camera basic parameter information corresponding to the crossing type at least comprises the camera photographic parameters, the relative position with the crossing, the shooting angle and the like, the imported configuration table information mentioned above is obtained, and the imported information in the configuration table can be a batch or batch importing according to specific needs.
In the actual extraction process, the extraction of the live-action pictures is performed in batches each time, and each operation is not only to extract only one live-action picture, so that the number of latitude coordinates in the preset configuration table is at least one, and the corresponding position of the live-action picture to be extracted is also at least one.
As shown in fig. 2, the step of obtaining the camera position according to the camera basic parameter information corresponding to the intersection type in the configuration table and the corresponding position of the at least one longitude and latitude coordinate in the three-dimensional data includes:
step 410: acquiring a viewpoint position of the camera according to the at least one longitude and latitude coordinate;
step 420: the camera basic parameter information includes: and acquiring the lens position of the camera according to the relative position information of the camera and the intersection.
And calculating and generating a camera lens position according to the relative position information of the camera and the intersection in the camera parameter table, wherein the position of the whole camera in the three-dimensional data is formed by the viewpoint position of the camera and the lens position of the camera.
Further, as shown in fig. 3, the step of automatically extracting at least one live view by the camera includes:
step 510: adjusting the camera within a preset adjustment range until a final image is selected at the position of the at least one live-action picture;
step 520: the final graph is automatically extracted.
In the extraction process of the live-action image, after the position of the camera in the three-dimensional data is determined, in order to avoid that the imaging effect and the angle of the camera position automatically generated by the camera are not optimal, the camera can be finely adjusted until a relatively better-effect image is selected in the fine adjustment range, because at least one live-action image position is required to be extracted, and at least one corresponding extraction camera is required, the camera can be respectively subjected to fine adjustment confirmation, and then the final image with the better effect is automatically extracted.
Further, the method for extracting the live-action image further comprises the following steps: after at least one live-action image is automatically extracted through the camera, a file corresponding to each time the operation of automatically extracting at least one live-action image is executed is generated, and the at least one live-action image is included in the file.
After each batch of live-action drawing is performed, in order to ensure the convenience of storage and management of the at least one extracted live-action drawing, a file corresponding to each batch of drawing operation may be generated, and the at least one live-action drawing may be placed in the file.
Wherein, the mentioned graphic attribute parameter information at least comprises: graph size, resolution, bit depth, number.
As shown in fig. 4, the present invention also discloses a device for extracting a live-action picture, comprising:
the first obtaining module is used for obtaining the imported three-dimensional data and preset configuration table information, and the configuration table information at least comprises: at least one longitude and latitude coordinate, intersection type information, camera basic parameter information corresponding to the intersection type and graphic attribute parameter information;
the association module is used for determining at least one real scene graph position needing to be extracted in the three-dimensional data according to the at least one longitude and latitude coordinate and acquiring the intersection type of the at least one real scene graph position;
the second acquisition module is used for acquiring the position of the camera according to the basic parameter information of the camera corresponding to the type of the intersection in the configuration table and the at least one longitude and latitude coordinate;
and the extraction module is used for automatically extracting at least one live-action picture through the camera according to the graphic attribute parameter information under the position of the camera.
The device for extracting the live-action image comprises a first acquisition module, a correlation module, a second acquisition module, an extraction module and the like, wherein the platform of the device has functions of importing three-dimensional data and importing a configuration table, the configuration table data needs to be preset before the live-action image is extracted, and the configuration table information at least comprises the following required information: the method comprises the steps that longitude and latitude coordinates, intersection type information, basic camera parameter information corresponding to intersection types and graphic attribute information are acquired by a first acquisition module, imported three-dimensional data and configuration table information are acquired by a correlation module, the correlation module is automatically correlated to a live-action image position needing to be extracted in the three-dimensional data according to the longitude and latitude coordinates provided in a configuration table, after at least one live-action image position needing to be extracted is determined, the intersection type corresponding to the live-action image position is determined, then the camera position is acquired by a second acquisition module, and the live-action image is extracted by an extraction module through a camera. In the device, the information in the configuration table can be imported in a batch mode, and the information can also be imported in a batch mode according to specific requirements.
In the actual extraction process, the extraction of the live-action pictures is performed in batches each time, and each operation is not only to extract only one live-action picture, so that the number of latitude coordinates in the preset configuration table is at least one, and the corresponding position of the live-action picture to be extracted is also at least one.
Wherein the second obtaining module is further configured to: acquiring a viewpoint position of the camera according to the at least one longitude and latitude coordinate; the camera basic parameter information includes: and acquiring the lens position of the camera according to the relative position information of the camera and the intersection.
Wherein the extraction module is further configured to: adjusting the camera within a preset adjustment range until a final image is selected at the position of the at least one live-action picture; the final graph is automatically extracted.
The device platform for extracting the live-action picture is provided with a fine-tuning camera parameter function and a window, and is provided with a picture frame opening with a display effect, so that the situation that the imaging effect and the angle of the camera position automatically generated by the camera are not optimal is avoided, an operator selects a picture with a relatively good effect in a fine-tuning range through the fine-tuning function, the extracted live-action picture is clear and complete, and after the picture is adjusted, the picture is confirmed in a task bar, and so on, so that the function of large-batch operation is supported.
Further, as shown in fig. 5, the apparatus for extracting a live-action view further includes: the generation module is used for generating a file corresponding to the operation of automatically extracting at least one live-action picture every time after the camera automatically extracts the at least one live-action picture, the file comprises the at least one live-action picture, and the generation module can effectively summarize and store the at least one live-action picture by generating the file corresponding to each batch of extracted live-action pictures, so that the live-action pictures can be simply, conveniently and effectively managed and operated after batch extraction.
Further, the graphic attribute parameter information at least includes: graph size, resolution, bit depth, number.
According to the method and the device, the longitude and latitude, the type of the intersection and the attribute of each project element are imported, the three-dimensional data is used, the attribute is simply adjusted by means of a new development platform, the automatic extraction of the live-action image is achieved, the intersection is automatically matched in the new development platform through the three-dimensional data, the camera is automatically extracted by means of the camera parameters, the overall project effect is saved, and the personnel cost is reduced.
While the preferred embodiments of the present invention have been described, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the following claims.

Claims (10)

1. A method for extracting a live-action picture is characterized by comprising the following steps:
acquiring imported three-dimensional data and preset configuration table information, wherein the configuration table information at least comprises: at least one longitude and latitude coordinate, intersection type information, camera basic parameter information corresponding to the intersection type and graphic attribute parameter information;
determining at least one live-action picture position needing to be extracted in the three-dimensional data according to the at least one longitude and latitude coordinate;
acquiring the type of the intersection of the at least one live-action map position;
acquiring the position of a camera according to the corresponding basic camera parameter information of the intersection type in a configuration table and the corresponding position of the at least one longitude and latitude coordinate in the three-dimensional data, wherein the basic camera parameter information corresponding to the intersection type at least comprises a camera self-photographing parameter, a relative position with the intersection and a photographing angle;
and according to the graphic attribute parameter information, under the camera position, automatically extracting at least one live-action picture through the camera.
2. The method for extracting the live-action map as claimed in claim 1, wherein the step of obtaining the camera position according to the corresponding camera basic parameter information of the intersection type in the configuration table and the corresponding position of the at least one longitude and latitude coordinate in the three-dimensional data comprises:
acquiring a viewpoint position of the camera according to the corresponding position of the at least one longitude and latitude coordinate in the three-dimensional data;
the camera basic parameter information includes: and acquiring the lens position of the camera according to the relative position information of the camera and the intersection.
3. The method of extracting a live-action picture according to claim 1, wherein the step of automatically extracting at least one live-action picture by the camera comprises:
adjusting the camera within a preset adjustment range until a final image is selected at the position of the at least one live-action picture;
and automatically extracting the final graph.
4. The method of extracting a live-action picture according to claim 1, further comprising:
after at least one live-action picture is automatically extracted through the camera, a file corresponding to each time the operation of automatically extracting at least one live-action picture is executed is generated, wherein the at least one live-action picture is included in the file.
5. The method of extracting a live view according to any one of claims 1 to 4,
the graphic attribute parameter information at least includes: graph size, resolution, bit depth, number.
6. An apparatus for extracting a live-action picture, comprising:
the first obtaining module is configured to obtain imported three-dimensional data and preset configuration table information, where the configuration table information at least includes: at least one longitude and latitude coordinate, intersection type information, camera basic parameter information corresponding to the intersection type and graphic attribute parameter information;
the association module is used for determining at least one real scene graph position needing to be extracted in the three-dimensional data according to the at least one longitude and latitude coordinate and acquiring the intersection type of the at least one real scene graph position;
the second acquisition module is used for acquiring the position of the camera according to the camera basic parameter information corresponding to the type of the intersection in the configuration table and the corresponding position of the at least one longitude and latitude coordinate in the three-dimensional data, wherein the camera basic parameter information corresponding to the type of the intersection at least comprises camera self-photographing parameters, a relative position with the intersection and a photographing angle;
and the extraction module is used for automatically extracting at least one live-action picture through the camera under the camera position according to the graphic attribute parameter information.
7. The apparatus for extracting a live-action image of claim 6, wherein the second obtaining module is further configured to:
acquiring a viewpoint position of the camera according to the corresponding position of the at least one longitude and latitude coordinate in the three-dimensional data;
the camera basic parameter information includes: and acquiring the lens position of the camera according to the relative position information of the camera and the intersection.
8. The apparatus for extracting a live-action image as claimed in claim 6, wherein said extracting module is further configured to:
adjusting the camera within a preset adjustment range until a final image is selected at the position of the at least one live-action picture;
and automatically extracting the final graph.
9. The apparatus for extracting a live-action picture according to claim 6, further comprising:
and the generating module is used for generating a file corresponding to each operation of automatically extracting at least one real scene graph after the at least one real scene graph is automatically extracted through the camera, wherein the at least one real scene graph is included in the file.
10. The apparatus for extracting a live view according to any one of claims 6 to 9,
the graphic attribute parameter information at least includes: graph size, resolution, bit depth, number.
CN201510700518.0A 2015-10-26 2015-10-26 Method and device for extracting live-action picture Active CN106611440B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510700518.0A CN106611440B (en) 2015-10-26 2015-10-26 Method and device for extracting live-action picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510700518.0A CN106611440B (en) 2015-10-26 2015-10-26 Method and device for extracting live-action picture

Publications (2)

Publication Number Publication Date
CN106611440A CN106611440A (en) 2017-05-03
CN106611440B true CN106611440B (en) 2022-11-01

Family

ID=58613521

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510700518.0A Active CN106611440B (en) 2015-10-26 2015-10-26 Method and device for extracting live-action picture

Country Status (1)

Country Link
CN (1) CN106611440B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107393014A (en) * 2017-07-17 2017-11-24 广州地理研究所 Applied to the live-action data acquisition method in navigation
CN111797189B (en) * 2020-07-03 2024-03-19 武汉四维图新科技有限公司 Data source quality evaluation method and device, equipment and computer readable storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101290230B (en) * 2008-04-14 2011-03-30 深圳市凯立德软件技术股份有限公司 Road crossing navigation method and navigation system using the navigation method
KR101181967B1 (en) * 2010-12-29 2012-09-11 심광호 3D street view system using identification information.
CN103033190B (en) * 2011-09-30 2015-12-09 北京四维图新科技股份有限公司 The method of display direction billboard realistic picture, device and navigating instrument
CN103398717B (en) * 2013-08-22 2016-04-20 成都理想境界科技有限公司 The location of panoramic map database acquisition system and view-based access control model, air navigation aid
CN103411619B (en) * 2013-08-26 2016-03-23 上海安悦四维信息技术有限公司 A kind of three-dimensional road generation system and method
CN103761274B (en) * 2014-01-09 2017-03-01 深圳先进技术研究院 Method street view database being updated with panoramic camera
CN104598504A (en) * 2014-05-15 2015-05-06 腾讯科技(深圳)有限公司 Information display control method and device for electronic map
CN104462436A (en) * 2014-12-15 2015-03-25 北京奇虎科技有限公司 Display method and device with real-scene weather information inquiring function

Also Published As

Publication number Publication date
CN106611440A (en) 2017-05-03

Similar Documents

Publication Publication Date Title
CN107113415B (en) The method and apparatus for obtaining and merging for more technology depth maps
CN108897468B (en) Method and system for entering into virtual three-dimensional space panorama of house source
CN110300292B (en) Projection distortion correction method, device, system and storage medium
CN109495686B (en) Shooting method and equipment
CN108961152B (en) Method and device for generating plane house type graph
CN109934931B (en) Method and device for collecting image and establishing target object recognition model
CN105005980B (en) Image processing method and device
CN103106272B (en) Interest point information acquisition methods and device
CN112907751B (en) Virtual decoration method, system, equipment and medium based on mixed reality
TW201229962A (en) Augmenting image data based on related 3D point cloud data
WO2015192547A1 (en) Method for taking three-dimensional picture based on mobile terminal, and mobile terminal
CN109997175A (en) Determine the size of virtual objects
US10987198B2 (en) Image simulation method for orthodontics and image simulation device thereof
WO2020211427A1 (en) Segmentation and recognition method, system, and storage medium based on scanning point cloud data
CN108399634B (en) RGB-D data generation method and device based on cloud computing
US20190122423A1 (en) Method and Device for Three-Dimensional Presentation of Surveillance Video
WO2016011860A1 (en) Photographing method of mobile terminal and mobile terminal
CN106373139A (en) Image processing method and device
CN107734207B (en) Video object transformation processing method and device and computing equipment
CN106357979A (en) Photographing method, device and terminal
CN106611440B (en) Method and device for extracting live-action picture
US9684965B1 (en) Obstacle removal using point cloud and depth map data
CN108282622B (en) Photo shooting method and device
CN101729739A (en) Method for rectifying deviation of image
CN107343142A (en) The image pickup method and filming apparatus of a kind of photo

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