CN108712604B - Panoramic shooting method and mobile terminal - Google Patents

Panoramic shooting method and mobile terminal Download PDF

Info

Publication number
CN108712604B
CN108712604B CN201810426450.5A CN201810426450A CN108712604B CN 108712604 B CN108712604 B CN 108712604B CN 201810426450 A CN201810426450 A CN 201810426450A CN 108712604 B CN108712604 B CN 108712604B
Authority
CN
China
Prior art keywords
panoramic image
images
panoramic
mobile terminal
orientation parameters
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
CN201810426450.5A
Other languages
Chinese (zh)
Other versions
CN108712604A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810426450.5A priority Critical patent/CN108712604B/en
Publication of CN108712604A publication Critical patent/CN108712604A/en
Application granted granted Critical
Publication of CN108712604B publication Critical patent/CN108712604B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/698Control of cameras or camera modules for achieving an enlarged field of view, e.g. panoramic image capture
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The embodiment of the invention discloses a panoramic shooting method and a mobile terminal, which are used for solving the problem that an omnidirectional panoramic image cannot be shot quickly and accurately in the prior art. The invention mainly comprises the following steps: the method comprises the steps that under the condition of panoramic shooting, a mobile terminal obtains orientation parameters when images are collected, and the collected images are synthesized into a panoramic image according to the orientation parameters; and determining whether to output the panoramic image according to the integrity value of the synthesized panoramic image. Therefore, the three-dimensional dead-angle-free omnibearing panoramic shooting can be quickly and accurately realized.

Description

Panoramic shooting method and mobile terminal
Technical Field
The invention relates to the field of terminals, in particular to a panoramic shooting method and a mobile terminal.
Background
Along with the demand that present people experience to shooing, the panorama shooting technique constantly promotes.
The existing panoramic shooting mainly shoots a shooting scene pair based on a single direction (horizontal direction or longitudinal direction), so the obtained image is also a panoramic image in the single direction and cannot shoot a complete panoramic image. For example, when a landscape panoramic image is taken, the portrait view in the scene cannot be seen; similarly, when a longitudinal panoramic image is shot, a transverse scene in the scene cannot be seen.
Therefore, it is highly desirable to find a new panoramic photographing scheme.
Disclosure of Invention
The embodiment of the invention provides a panoramic shooting method and a mobile terminal, and aims to solve the problem that a 360-degree panoramic image cannot be obtained quickly and accurately in the prior art.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, a panorama shooting method is provided, which is applied to a mobile terminal, and includes:
the mobile terminal acquires orientation parameters when images are acquired under the condition of panoramic shooting, and synthesizes the acquired images into a panoramic image according to the orientation parameters;
and determining whether to output the panoramic image according to the integrity value of the synthesized panoramic image.
In a second aspect, a mobile terminal is provided, which includes:
the synthesis module is used for acquiring orientation parameters when images are acquired under the condition of panoramic shooting and synthesizing the acquired images into panoramic images according to the orientation parameters;
and the output module is used for determining whether to output the panoramic image according to the integrated integrity value of the panoramic image.
In a third aspect, a mobile terminal is provided, which includes: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method according to the first aspect.
In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the method according to the first aspect.
In the embodiment of the invention, the acquired images are synthesized into the panoramic image through the orientation parameters during the acquisition of the images, and whether the omnidirectional panoramic image is output or not is determined based on the integrity value of the synthesized panoramic image. And then, realizing the synthesis of the panoramic image based on the orientation parameters, and realizing the output of the omnidirectional panoramic image based on the integrity value of the synthesized panoramic image. Therefore, the three-dimensional dead-angle-free omnibearing panoramic shooting can be quickly and accurately realized.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
FIG. 1a is a schematic diagram illustrating steps of a panorama shooting method according to an embodiment of the present invention;
fig. 1b is a schematic diagram illustrating a specific step of step 102 in the panorama shooting method according to an embodiment of the present invention;
FIG. 1c is a second schematic diagram illustrating steps of a panorama shooting method according to an embodiment of the present invention;
fig. 2a is a schematic diagram illustrating specific steps of a panorama shooting method according to an embodiment of the present invention;
fig. 2b is a schematic diagram illustrating a specific step of step 201 in the panorama shooting method according to an embodiment of the present invention;
fig. 3a is one of the block diagrams of the mobile terminal according to an embodiment of the present invention;
fig. 3b is a specific diagram of an output module in the mobile terminal according to an embodiment of the present invention;
fig. 3c is a second schematic block diagram of a mobile terminal according to an embodiment of the present invention;
fig. 4 is a hardware diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The panoramic shooting scheme can acquire images at various angles such as up, down, left, right, front and back, and realize three-dimensional non-dead-angle omni-directional panoramic shooting based on the azimuth parameters during image acquisition, so as to finally obtain the omni-directional panoramic image. It should be understood that the execution subject of the panoramic shooting scheme according to the embodiment of the present invention may be a mobile terminal with a camera function, for example, a mobile phone, a tablet computer, an intelligent wearable device, and the like.
Referring to fig. 1a, a schematic step diagram of a panoramic shooting method provided in an embodiment of the present invention is shown, where the panoramic shooting method is applied to a mobile terminal, and mainly includes the following steps:
step 101: the mobile terminal acquires orientation parameters when images are acquired under the condition of panoramic shooting, and synthesizes the acquired images into panoramic images according to the orientation parameters.
The panoramic shooting is that an image pickup device serving as a shooting subject is in a panoramic shooting mode, and in the panoramic shooting mode, images of a shooting scene can be collected based on any direction.
It should be understood that the orientation parameters according to the embodiments of the present invention are determined based on the shooting position or the shooting angle of the camera device when the image is captured.
Step 102: and determining whether to output the panoramic image according to the integrity value of the synthesized panoramic image.
In the embodiment of the invention, the acquired images are synthesized into the panoramic image through the orientation parameters during the acquisition of the images, and whether the panoramic image is output or not is determined based on the integrity value of the synthesized panoramic image. And then, realizing the synthesis of the panoramic image based on the orientation parameters, and realizing the output of the omnidirectional panoramic image based on the integrity value of the synthesized panoramic image. Therefore, the three-dimensional dead-angle-free omnibearing panoramic shooting can be quickly and accurately realized.
It should be understood that, in the present invention, outputting a panoramic image includes: and transmitting the panoramic image to other equipment or displaying the panoramic image on a mobile terminal.
Optionally, step 101 specifically includes: and according to the orientation parameters when the images are collected, sequentially adding the collected images to the target positions, which are the same as the orientation parameters, in the panoramic image shooting template to synthesize the panoramic image.
Here, the panoramic image capture template may be a panoramic image capture template related to orientation parameters, which is preset to realize an omnidirectional panoramic image, and includes a plurality of target positions to each of which an image having the same orientation parameters as those of the target positions can be added. Therefore, the panoramic image can be more accurately synthesized based on the preset panoramic image shooting template and the orientation parameters.
Based on the technical solution of step 101, the following two specific implementation manners can be referred to:
the first method is as follows:
and acquiring a plurality of images, sequentially adding the acquired images to target positions in a panoramic image shooting template, which are the same as corresponding orientation parameters, according to the orientation parameters when each image in the plurality of images is acquired, and synthesizing the panoramic image. The method can collect the images firstly and then synthesize all the collected images into the panoramic image, so that the requirement on a processor is low and the synthesis scheme is more accurate.
The second method comprises the following steps:
acquiring an image, adding the image to a target position in a panoramic image shooting template, which is the same as the orientation parameter, according to the orientation parameter of the image, then acquiring a next image, adding the next image to a target position in the panoramic image shooting template, which is the same as the orientation parameter of the next image, according to the orientation parameter of the next image, sequentially and circularly acquiring and adding the images in all the orientations, and synthesizing the panoramic image. The method can synthesize the image into the panoramic image shooting template after one image is collected, and does not need to wait until all the images are collected and then synthesize, so that certain processing time is saved, and the synthesis scheme is more efficient.
Optionally, in the embodiment of the present invention, the omnidirectional panoramic image should be complete, but in consideration of the existence of the shooting error and the synthesis error, the synthesized panoramic image may have a few image deletions without affecting the overall effect of the omnidirectional panoramic image, and therefore, whether the omnidirectional panoramic image can be output or not may be determined by the relationship between the integrity value of the synthesized panoramic image and the preset threshold. Then, referring to fig. 1b, step 102 may specifically include:
step 1021: and judging whether the integrity value of the synthesized panoramic image is greater than a preset threshold value.
It should be understood that the completeness value of the synthesized panoramic image may be an index indicating whether the panoramic image is an omnidirectional panoramic image; the preset threshold may be a value set according to an empirical value or a processing capability of the processor.
According to the ratio of the vacant target position in the panoramic image shooting template to the panoramic image shooting template, assuming that A is a numerical value smaller than 1, and the integrity value of the synthesized panoramic image can be represented by 1-A.
According to another realizable scheme, the number B of the orientation parameters corresponding to the target position in the panoramic image shooting template is hit according to the orientation parameters in the synthesized panoramic image, and the integrity value of the synthesized panoramic image can be represented by B.
In fact, a preferred implementation of step 1021 is to determine whether the synthesized panoramic image is complete, that is, whether images are added to all target positions of the panoramic image shooting template.
Step 1022: and if the output value is larger than a preset threshold value, determining to output the panoramic image.
And if the integrity value of the synthesized panoramic image is greater than a preset threshold value, determining to output the omnidirectional panoramic image. In addition, the omnibearing panoramic image can be displayed on the display interface or stored.
Through the steps 1021 to 1022, whether to output the omnidirectional panoramic image can be determined based on the integrity value of the synthesized panoramic image, so that the omnidirectional panoramic image can be flexibly controlled to be output, and the omnidirectional panoramic shooting effect is improved.
Optionally, the three-dimensional data acquired by the gyroscope of the mobile terminal is used as the orientation parameter when the image is acquired, that is, the three-dimensional data of the space where the mobile terminal is located is acquired through the gyroscope arranged inside the mobile terminal. Preferably, the three coordinate parameters of XYZ in the space rectangular coordinate are used for representing, the mobile terminal shoots in different directions, and the values of the three coordinate parameters of the gyroscope are different accordingly. The orientation of the mobile terminal can be positioned through the three-dimensional data of the gyroscope, and then the panoramic image can be synthesized according to the orientation parameters and whether the omnidirectional panoramic image is output or not can be determined.
In fact, besides the three-dimensional data, the shooting angle of view when the image is collected may be used as the orientation parameter, which is not limited in the embodiment of the present invention.
Optionally, in the embodiment of the present invention, as shown in fig. 1c, the method further includes:
step 103: and smoothing the joint position of the panoramic image.
Wherein the smoothing process includes at least: a registration process and/or a blurring process. The registration process is mainly directed to a small number of repeated images, especially repeated parts at the splice locations; the blurring process is mainly directed to a small number of missing images, especially missing parts at the splice location.
It should be understood that in the embodiment of the present invention, the smoothing process is not only performed after step 101, but also performed after any image synthesis process is completed. The smooth processing can eliminate the image connection defect caused by repetition and deletion at the connection position of the image, so that the omnibearing panoramic image is more real and natural, and the image synthesis effect is improved.
The technical solution of the present invention is described in detail by specific embodiments with reference to fig. 2 a.
Step 201: in the case of panoramic photography, images of a photographic scene are acquired.
Here, it is determined that the mobile phone is an execution subject of the panorama shooting method, and the mobile phone may acquire an image of a shooting scene through the front camera or the rear camera in a second manner.
In the embodiment of the present invention, the image carries: image information and three-dimensional data; correspondingly, referring to fig. 2b, step 201 may specifically include:
step 2011: and acquiring image information of a shooting scene under the panoramic shooting condition.
It should be understood that the image information refers to content related to the scene image.
Step 2012: and acquiring the three-dimensional data of the mobile phone when the image information is acquired.
Specifically, three-dimensional data representing the orientation of the mobile phone can be obtained through detection of a gyroscope sensor in the mobile phone, and the three-dimensional data can be replaced by other orientation parameters.
Step 2013: adding the three-dimensional data markers to an image in the image information.
In fact, the three-dimensional data and the image information can be added into the image to obtain the collected image. Or marking the three-dimensional data in the image information, and then adding the image information marked with the three-dimensional data to the image to obtain the acquired image. The embodiment of the present invention is not limited to this, and the image information may be added to the three-dimensional data.
Step 202: and synthesizing the acquired images into a panoramic image according to the orientation parameters when the images are acquired.
The step is realized in a mode two corresponding to the method, namely, the images are immediately synthesized into the panoramic image shooting template after being collected.
Step 203: and judging whether the integrity value of the synthesized panoramic image is greater than a preset threshold, if so, executing the step 204, otherwise, skipping to the step 201.
Step 204: an output panoramic image is determined.
The mobile phone judges whether the value of the integrity of the synthesized panoramic image is larger than a preset threshold value or not according to the value of the integrity of the synthesized panoramic image, if the value of the integrity of the synthesized panoramic image is larger than the preset threshold value, the synthesis of the image is complete, the omnidirectional panoramic image can be displayed or stored, if the value of the integrity of the synthesized panoramic image is not larger than the preset threshold value, the image is absent (the absence is explained as large-range image absence and should be distinguished from small-range image absence at a joint gap), and the previous steps are required to be returned to continue to collect the synthesized panoramic image until the value of the integrity of the synthesized panoramic image is larger than the preset threshold value (namely the image is completely synthesized). Therefore, whether scenes which are not shot exist can be judged based on the integrity value of the synthesized panoramic image, image loss caused by the fact that the scenes are not shot at a certain azimuth angle is prevented, and accuracy of shooting the omnibearing panoramic image is improved.
An embodiment of the present invention further provides a mobile terminal, and as shown in fig. 3a, the mobile terminal mainly includes:
the synthesis module 301 is configured to, under the panoramic shooting condition, obtain orientation parameters when an image is acquired, and synthesize the acquired image into a panoramic image according to the orientation parameters.
An output module 302, configured to determine whether to output the panoramic image according to the integrity value of the synthesized panoramic image.
Optionally, the synthesis module 301 is specifically configured to:
and according to the orientation parameters when the images are collected, sequentially adding the collected images to the target positions, which are the same as the orientation parameters, in the panoramic image shooting template to synthesize the panoramic image.
Optionally, as shown in fig. 3b, the output module 302 specifically includes:
a judging unit 3021, configured to judge whether a value of the integrity of the synthesized panoramic image is greater than a preset threshold.
A determining unit 3022 configured to determine to output the panoramic image if greater than a preset threshold.
Optionally, the three-dimensional data acquired by the gyroscope of the mobile terminal is used as the orientation parameter when the image is acquired.
Optionally, as shown in fig. 3c, the mobile terminal further includes:
and the processing module 303 is configured to perform smoothing processing on the joint position of the panoramic image.
According to the technical scheme, the acquired images are synthesized into the panoramic image according to the azimuth parameters during image acquisition, and whether the omnidirectional panoramic image is output or not is determined according to the integrity value of the synthesized panoramic image. And then, realizing the synthesis of the panoramic image based on the orientation parameters, and realizing the output of the omnidirectional panoramic image according to the integrity value of the synthesized panoramic image. Thus, omnidirectional panoramic shooting can be achieved.
Figure 4 is a schematic diagram of a hardware configuration of a mobile terminal implementing various embodiments of the present invention,
the mobile terminal 400 includes, but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor 410, and power supply 411. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 4 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Wherein, the processor 410 is configured to synthesize the acquired images into a panoramic image based on the orientation parameters when the images are acquired in the panoramic mode, and determine whether to output an omnidirectional panoramic image based on the integrity of the synthesized panoramic image;
according to the technical scheme, the acquired images are synthesized into the panoramic image based on the azimuth parameters during image acquisition, and whether the omnidirectional panoramic image is output or not is determined based on the integrity of the synthesized panoramic image. Further, synthesis of the panoramic image is realized based on the orientation parameters, and output of the omnidirectional panoramic image is realized based on the integrity of the synthesized panoramic image. Thus, omnidirectional panoramic shooting can be achieved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 410; in addition, the uplink data is transmitted to the base station. Typically, radio unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio unit 401 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 402, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 403 may convert audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output as sound. Also, the audio output unit 403 may also provide audio output related to a specific function performed by the mobile terminal 400 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
The input unit 404 is used to receive audio or video signals. The input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 406. The image frames processed by the graphic processor 4041 may be stored in the memory 409 (or other storage medium) or transmitted via the radio frequency unit 401 or the network module 402. The microphone 4042 may receive sound, and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 401 in case of the phone call mode.
The mobile terminal 400 also includes at least one sensor 405, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 4061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 4061 and/or the backlight when the mobile terminal 400 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 405 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
The display unit 406 is used to display information input by the user or information provided to the user. The Display unit 406 may include a Display panel 4061, and the Display panel 4061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 407 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. Touch panel 4071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 4071 using a finger, a stylus, or any suitable object or attachment). The touch panel 4071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 410, receives a command from the processor 410, and executes the command. In addition, the touch panel 4071 can be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may include other input devices 4072. Specifically, the other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 4071 can be overlaid on the display panel 4061, and when the touch panel 4071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 410 to determine the type of the touch event, and then the processor 410 provides a corresponding visual output on the display panel 4061 according to the type of the touch event. Although in fig. 4, the touch panel 4071 and the display panel 4061 are two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 4071 and the display panel 4061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 408 is an interface through which an external device is connected to the mobile terminal 400. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 408 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 400 or may be used to transmit data between the mobile terminal 400 and external devices.
The memory 409 may be used to store software programs as well as various data. The memory 409 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 409 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 410 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 409 and calling data stored in the memory 409, thereby integrally monitoring the mobile terminal. Processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The mobile terminal 400 may further include a power supply 411 (e.g., a battery) for supplying power to various components, and preferably, the power supply 411 may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the mobile terminal 400 includes some functional modules that are not shown, and thus, are not described in detail herein.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the panoramic shooting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (7)

1. A panoramic shooting method is applied to a mobile terminal and is characterized by comprising the following steps:
the mobile terminal acquires orientation parameters when images are acquired under the condition of panoramic shooting, and synthesizes the acquired images into a panoramic image according to the orientation parameters; the panoramic shooting is based on non-single longitudinal or transverse multi-dimensional panoramic shooting, and direction connecting lines identified by all the orientation parameters are not single longitudinal or transverse;
determining whether to output the panoramic image according to the integrity value of the synthesized panoramic image;
wherein the content of the first and second substances,
synthesizing the acquired images into a panoramic image according to the orientation parameters, and specifically comprising the following steps:
after all the images are collected, according to the orientation parameters when the images are collected, the collected images are sequentially added to the target positions, which are the same as the orientation parameters, in the panoramic image shooting template, and a panoramic image is synthesized;
the determining whether to output the panoramic image according to the integrity value of the synthesized panoramic image specifically includes:
judging whether the integrity value of the synthesized panoramic image is larger than a preset threshold value or not;
and if the output value is larger than a preset threshold value, determining to output the panoramic image.
2. The method of claim 1, wherein three-dimensional data acquired by the mobile terminal gyroscope is used as orientation parameters when acquiring images.
3. The method of claim 1, further comprising:
and smoothing the joint position of the panoramic image.
4. A mobile terminal, comprising:
the synthesis module is used for acquiring orientation parameters when images are acquired under the condition of panoramic shooting and synthesizing the acquired images into panoramic images according to the orientation parameters; the panoramic shooting is based on non-single longitudinal or transverse multi-dimensional panoramic shooting, and direction connecting lines identified by all the orientation parameters are not single longitudinal or transverse;
the output module is used for determining whether to output the panoramic image according to the integrity value of the synthesized panoramic image;
the synthesis module is specifically configured to:
after all the images are collected, according to the orientation parameters when the images are collected, the collected images are sequentially added to the target positions, which are the same as the orientation parameters, in the panoramic image shooting template, and a panoramic image is synthesized;
the output module specifically includes:
the judging unit is used for judging whether the integrity value of the synthesized panoramic image is greater than a preset threshold value or not;
a determining unit for determining to output the panoramic image if greater than a preset threshold.
5. The mobile terminal of claim 4, wherein three-dimensional data collected by the mobile terminal gyroscope is used as orientation parameters when collecting images.
6. The mobile terminal of claim 4, further comprising:
and the processing module is used for carrying out smoothing processing on the connection position of the panoramic image.
7. A mobile terminal, comprising: memory, processor and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the method according to any one of claims 1-3.
CN201810426450.5A 2018-05-07 2018-05-07 Panoramic shooting method and mobile terminal Active CN108712604B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810426450.5A CN108712604B (en) 2018-05-07 2018-05-07 Panoramic shooting method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810426450.5A CN108712604B (en) 2018-05-07 2018-05-07 Panoramic shooting method and mobile terminal

Publications (2)

Publication Number Publication Date
CN108712604A CN108712604A (en) 2018-10-26
CN108712604B true CN108712604B (en) 2022-02-01

Family

ID=63867882

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810426450.5A Active CN108712604B (en) 2018-05-07 2018-05-07 Panoramic shooting method and mobile terminal

Country Status (1)

Country Link
CN (1) CN108712604B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109828668A (en) * 2019-01-30 2019-05-31 维沃移动通信有限公司 A kind of display control method and electronic equipment
CN114697516B (en) * 2020-12-25 2023-11-10 花瓣云科技有限公司 Three-dimensional model reconstruction method, apparatus and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004061808A (en) * 2002-07-29 2004-02-26 K-S Creative Studio:Kk Panoramic photographing device
CN105376530A (en) * 2015-10-27 2016-03-02 南京泓众电子科技有限公司 Panorama video image generation device based on fixed position
CN106373091A (en) * 2016-09-05 2017-02-01 山东省科学院自动化研究所 Automatic panorama parking aerial view image splicing method, system and vehicle
CN106952311A (en) * 2017-03-02 2017-07-14 山东省科学院自动化研究所 Auxiliary parking system and method based on panoramic mosaic data mapping tables
CN107566730A (en) * 2017-09-27 2018-01-09 维沃移动通信有限公司 A kind of panoramic picture image pickup method and mobile terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150288880A1 (en) * 2014-04-07 2015-10-08 Wu-Hsiung Chen Image capturing method and image capturing apparatus
CN105761233A (en) * 2014-12-15 2016-07-13 南京理工大学 FPGA-based real-time panoramic image mosaic method
CN106952257B (en) * 2017-03-21 2019-12-03 南京大学 A kind of curved surface label open defect detection method based on template matching and similarity calculation
CN107707825B (en) * 2017-11-27 2019-12-03 维沃移动通信有限公司 A kind of panorama shooting method, mobile terminal and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004061808A (en) * 2002-07-29 2004-02-26 K-S Creative Studio:Kk Panoramic photographing device
CN105376530A (en) * 2015-10-27 2016-03-02 南京泓众电子科技有限公司 Panorama video image generation device based on fixed position
CN106373091A (en) * 2016-09-05 2017-02-01 山东省科学院自动化研究所 Automatic panorama parking aerial view image splicing method, system and vehicle
CN106952311A (en) * 2017-03-02 2017-07-14 山东省科学院自动化研究所 Auxiliary parking system and method based on panoramic mosaic data mapping tables
CN107566730A (en) * 2017-09-27 2018-01-09 维沃移动通信有限公司 A kind of panoramic picture image pickup method and mobile terminal

Also Published As

Publication number Publication date
CN108712604A (en) 2018-10-26

Similar Documents

Publication Publication Date Title
US20220279116A1 (en) Object tracking method and electronic device
CN109660723B (en) Panoramic shooting method and device
CN108881733B (en) Panoramic shooting method and mobile terminal
CN107707817B (en) video shooting method and mobile terminal
CN108989672B (en) Shooting method and mobile terminal
CN108989678B (en) Image processing method and mobile terminal
CN109474786B (en) Preview image generation method and terminal
CN108038825B (en) Image processing method and mobile terminal
CN107730460B (en) Image processing method and mobile terminal
CN107948505B (en) Panoramic shooting method and mobile terminal
CN110062171B (en) Shooting method and terminal
CN108924414B (en) Shooting method and terminal equipment
CN108763998B (en) Bar code identification method and terminal equipment
CN110213485B (en) Image processing method and terminal
CN110602389B (en) Display method and electronic equipment
CN111010511B (en) Panoramic body-separating image shooting method and electronic equipment
CN109803110B (en) Image processing method, terminal equipment and server
CN111432195A (en) Image shooting method and electronic equipment
CN108924422B (en) Panoramic photographing method and mobile terminal
CN108174110B (en) Photographing method and flexible screen terminal
CN111447365B (en) Shooting method and electronic equipment
CN110312070B (en) Image processing method and terminal
CN108712604B (en) Panoramic shooting method and mobile terminal
CN111031246A (en) Shooting method and electronic equipment
CN109104564B (en) Shooting prompting method and terminal equipment

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