CN107743198B - Photographing method, terminal and storage medium - Google Patents

Photographing method, terminal and storage medium Download PDF

Info

Publication number
CN107743198B
CN107743198B CN201711024825.7A CN201711024825A CN107743198B CN 107743198 B CN107743198 B CN 107743198B CN 201711024825 A CN201711024825 A CN 201711024825A CN 107743198 B CN107743198 B CN 107743198B
Authority
CN
China
Prior art keywords
groups
terminal
screen
lens group
image
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
CN201711024825.7A
Other languages
Chinese (zh)
Other versions
CN107743198A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201711024825.7A priority Critical patent/CN107743198B/en
Publication of CN107743198A publication Critical patent/CN107743198A/en
Application granted granted Critical
Publication of CN107743198B publication Critical patent/CN107743198B/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/62Control of parameters via user interfaces
    • 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

Abstract

The invention discloses a photographing method, which is applied to a terminal.A screen edge of the terminal is provided with N groups of lens groups; wherein N is a natural number greater than or equal to 2, the method comprises the following steps: receiving a photographing instruction; acquiring N groups of image information through N groups of lens groups according to the photographing instruction; and splicing the N groups of image information to obtain a target image. The invention also provides a terminal and a computer readable storage medium, and by implementing the scheme, the visual effect of the screen is improved on the premise of ensuring the photographing function of the front camera.

Description

Photographing method, terminal and storage medium
Technical Field
The present invention relates to the field of image processing technologies, and in particular, to a photographing method, a terminal, and a storage medium.
Background
With the continuous development of communication technology, people not only require the terminal to provide more functions, but also require the terminal to have better visual effect. Currently, a full screen is a common definition of the terminal industry for the ultra-high screen ratio terminal design. The terminal with the full screen is widely recognized by users, and can provide better visual effect.
However, due to the limitation of the prior art, in the existing full-screen terminal, the front camera occupies a part of the position of the front screen of the terminal, which affects the layout of the full-screen, causes the waste of the full-screen space, and the visual effect of the terminal screen is poor.
Disclosure of Invention
In order to solve the above problem, embodiments of the present invention provide a photographing method, a terminal, and a storage medium, where the terminal can collect image information according to each group of lens groups on the edge of a screen and combine the image information, and on the premise of ensuring the photographing function of a front-facing camera, the visual effect of the screen is improved.
The technical scheme of the invention is realized as follows:
the embodiment of the invention provides a photographing method, which is applied to a terminal, wherein N groups of lens groups are arranged on the edge of a screen of the terminal; wherein N is a natural number greater than or equal to 2, the method comprising:
receiving a photographing instruction;
obtaining N groups of image information through the N groups of lens groups according to the photographing instruction;
and splicing the N groups of image information to obtain a target image.
In the above solution, a corresponding image sensor is disposed under each of the N groups of lens assemblies, and the obtaining N groups of image information through the N groups of lens assemblies according to the photographing instruction includes:
and according to the photographing instruction, projecting the light transmitted by each group of lens groups in the N groups of lens groups to a corresponding image sensor to obtain the N groups of image information.
In the above scheme, when N equals 4, the upper left side of screen is provided with upper left lens group, the upper right side of screen is provided with upper right lens group, the left side below of screen is provided with lower left lens group, the right side below of screen is provided with lower right lens group, upper left lens group, upper right lens group, lower left lens group and lower right lens group are convex lens group.
In the foregoing solution, after the N groups of image information are pieced to obtain the target image, the method further includes:
and displaying the target image on the screen.
In the foregoing solution, after the N groups of image information are pieced to obtain the target image, the method further includes:
receiving a saving instruction;
and storing the target image to a preset storage position according to a preset image format according to the storage instruction.
In the foregoing solution, after the target image is stored in a preset storage location according to a preset image format according to the storage instruction, the method further includes:
receiving a deleting instruction;
and closing the target image displayed on the screen according to the deleting instruction, and deleting the target image.
An embodiment of the present invention provides a terminal, where the terminal includes: a screen, a processor, a memory, and a communication bus;
n groups of lens groups are arranged on the edge of the screen; wherein N is a natural number greater than or equal to 2;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is used for executing the photographing program stored in the memory so as to realize the following steps:
receiving a photographing instruction; obtaining N groups of image information through the N groups of lens groups according to the photographing instruction; and splicing the N groups of image information to obtain a target image.
In the above terminal, a corresponding image sensor is disposed below each of the N groups of lens groups, and the processor is specifically configured to execute the photographing program, so as to implement the following steps:
and according to the photographing instruction, projecting the light transmitted by each group of lens groups in the N groups of lens groups to a corresponding image sensor to obtain the N groups of image information.
In the above terminal, when N is equal to 4, the upper left side of the screen is provided with an upper left lens group, the upper right side of the screen is provided with an upper right lens group, the left lower side of the screen is provided with a lower left lens group, the right lower side of the screen is provided with a lower right lens group, and the upper left lens group, the upper right lens group, the lower left lens group and the lower right lens group are convex lens groups.
In the above terminal, the processor is further configured to execute the photographing program after the N sets of image information are pieced together to obtain the target image, so as to implement the following steps:
and displaying the target image on the screen.
In the above terminal, the processor is further configured to execute the photographing program after the N sets of image information are pieced together to obtain the target image, so as to implement the following steps:
receiving a saving instruction; and storing the target image to a preset storage position according to a preset image format according to the storage instruction.
In the above terminal, the processor is further configured to execute the photographing program after storing the target image in a preset image format to a preset storage location according to the storage instruction, so as to implement the following steps:
receiving a deleting instruction; and deleting the target image according to the deleting instruction.
An embodiment of the present invention provides a computer-readable storage medium storing one or more programs, which can be executed by one or more processors to implement the photographing method of the claims.
Therefore, in the technical scheme of the embodiment of the invention, N groups of lens groups are arranged on the edge of the screen of the terminal; wherein, N is a natural number more than or equal to 2, and the terminal receives a photographing instruction; acquiring N groups of image information through N groups of lens groups according to the photographing instruction; and splicing the N groups of image information to obtain a target image. That is to say, in the technical solution of the embodiment of the present invention, the lens of the front camera of the terminal is split into multiple groups of lens groups to be hidden on the edge of the screen. In the prior art, the front camera of the terminal needs to occupy a part of the screen for setting. Therefore, compared with the prior art, the photographing method, the terminal and the storage medium provided by the embodiment of the invention have the advantages that the terminal can collect and combine image information according to each group of lens groups on the edge of the screen, and the visual effect of the screen is improved on the premise of ensuring the function of the front camera.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of an alternative mobile terminal for implementing various embodiments of the present invention;
fig. 2 is a diagram of a communication network system architecture according to an embodiment of the present invention;
fig. 3 is a first schematic flow chart of a photographing method according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an exemplary terminal screen with four lens groups disposed on the edge of the terminal screen according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating an exemplary image stitching effect provided by an embodiment of the present invention;
fig. 6 is a second schematic flowchart of a photographing method according to an embodiment of the present invention;
fig. 7 is a third schematic flowchart of a photographing method according to an embodiment of the present invention;
fig. 8 is a schematic diagram of an exemplary screen where a terminal receives a delete instruction according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
It should be understood that the embodiments described herein are only for explaining the technical solutions of the present invention, and are not intended to limit the scope of the present invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of an optional mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: radio Frequency (RF) unit 101, Wi-Fi module 102, audio output unit 103, audio/video (a/V) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 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. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access 2000(Code Division Multiple Access 2000, CDMA2000), Wideband Code Division Multiple Access (WCDMA), Time Division-Synchronous Code Division Multiple Access (TD-SCDMA), Frequency Division duplex Long Term Evolution (FDD-LTE), and Time Division duplex Long Term Evolution (TDD-LTE), etc.
Wi-Fi belongs to a short-distance wireless transmission technology, and a mobile terminal can help a user to receive and send emails, browse webpages, access streaming media and the like through a Wi-Fi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the Wi-Fi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the Wi-Fi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the Wi-Fi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation or suppression algorithms to cancel or suppress noise or interference generated during reception and transmission of audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 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), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 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 107 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 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of 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 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. 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 108 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 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 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 109 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 110 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 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 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 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes User Equipment (UE) 201, Evolved UMTS Terrestrial Radio Access Network (E-UTRAN) 202, Evolved Packet Core Network (EPC) 203, and IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include a Mobility Management Entity (MME) 2031, a Home Subscriber Server (HSS) 2032, other MMEs 2033, a Serving Gateway (SGW) 2034, a packet data network gateway (PDN Gate Way, PGW)2035, and a Policy and Charging Rules Function (PCRF) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IP Multimedia Subsystem (IMS) or other IP services, and the like.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and communication network system, the present invention provides various embodiments of the method.
Example one
The embodiment of the invention provides a photographing method, and fig. 3 is a first schematic flow chart of the photographing method provided by the embodiment of the invention. As shown in fig. 3, the method mainly comprises the following steps:
s301, receiving a photographing instruction.
In the embodiment of the invention, when a user needs to use the function of front-end photographing, a photographing instruction needs to be sent to the terminal, and the terminal photographs according to the received photographing instruction.
It should be noted that the embodiment of the present invention is applied to a situation where the terminal implements a photographing function of the front-facing camera.
It should be noted that, in the embodiment of the present invention, N groups of lens groups are disposed on the edge of the screen of the terminal, where N is a natural number greater than or equal to 2. The terminal can realize the function of shooing of leading camera through the N group's of lens group that sets up on the screen edge.
Fig. 4 is a schematic diagram illustrating an exemplary terminal screen provided with four groups of lenses at an edge thereof according to an embodiment of the present invention. As shown in fig. 4, when N is equal to 4, an upper left lens group 1 is disposed at the upper left of the screen, an upper right lens group 2 is disposed at the upper right of the screen, a lower left lens group 3 is disposed at the lower left of the screen, a lower right lens group 4 is disposed at the lower right of the screen, and the upper left lens group 1, the upper right lens group 2, the lower left lens group 3, and the lower right lens group 4 are convex lens groups.
It is understood that the combination of the upper left lens group 1, the upper right lens group 2, the lower left lens group 3, and the lower right lens group 4 is a combined lens group. That is to say, the combination of the upper left lens group 1, the upper right lens group 2, the lower left lens group 3 and the lower right lens group 4 is a complete front-end camera lens, and each of the upper left lens group 1, the upper right lens group 2, the lower left lens group 3 and the lower right lens group 4 can realize a corresponding photographing function.
It is understood that, in the embodiment of the present invention, since the upper left lens group 1, the upper right lens group 2, the lower left lens group 3 and the lower right lens group 4 are convex lens groups, according to the characteristics of the convex lenses, the edges thereof are thin, the middle thereof is thick, and the surfaces thereof are spherical, the imaging range is large, that is, the photographing range of the terminal can be expanded.
It can be understood that, in the embodiment of the present invention, the larger the value of N, that is, the more lens groups are disposed on the edge of the screen of the terminal, the larger the photographing range of the terminal is.
It should be noted that, in the embodiment of the present invention, the N groups of lens groups may be convex lens groups, because the convex lenses can converge light, and achieve an imaging effect. However, if other lenses capable of achieving the imaging effect appear in the future, the embodiment of the present invention is also applicable, that is, the embodiment of the present invention is not limited to the specific type of the N groups of lenses.
Specifically, the terminal may receive the photographing instruction in a bright screen state or a dead screen state.
For example, when the terminal is in a bright screen state, the user may find and enter a photographing application in the applications of the terminal, select a photographing option, and send a photographing instruction to the terminal. And then, the terminal directly takes a picture.
For example, when the terminal is in the screen-off state, the user can quickly press two volume-down keys on the side surfaces of the terminal, the terminal receives a photographing instruction, the screen-off state is changed into the screen-on state, and the terminal directly photographs after the screen-on state is changed.
It should be noted that, in the embodiment of the present invention, the specific form of the terminal receiving the photographing instruction may be set autonomously by the user in advance on the terminal. Therefore, if a form in which another terminal receives the photographing instruction appears in the future, the embodiment of the present invention is also applicable, that is, the embodiment of the present invention does not limit the specific form in which the terminal receives the photographing instruction.
It can be understood that, in the prior art, a terminal with a full screen needs to leave a fixed setting position for a front camera on a screen, and therefore, a part which cannot be displayed is still left on the screen of the terminal, that is, the full screen is not completely realized, only the screen of the terminal occupies a higher ratio, and such a design affects the layout of the full screen on the terminal, which causes the waste of the full screen space and the visual effect of the terminal screen is poor. However, in the embodiment of the present invention, the lens group of the front camera is decomposed and divided into N lens groups, which are disposed at the edge of the terminal screen, that is, the front camera is hidden, so that the visual effect of the screen is improved on the premise of ensuring the photographing function of the front camera.
S302, obtaining N groups of image information through N groups of lens groups according to the photographing instruction.
In the embodiment of the invention, after the terminal receives the photographing instruction, according to the photographing instruction, a group of image information can be obtained through each group of lens groups in the N groups of lens groups arranged on the edge of the terminal screen, that is, the terminal can obtain the N groups of image information.
It should be noted that, in the embodiment of the present invention, of the N groups of lens groups disposed on the edge of the screen of the terminal, an image sensor, that is, a photosensitive element, is disposed under each group of lens groups. That is, the terminal is further provided with N image sensors, which correspond to the N groups of lens groups one to one.
It should be noted that, in the embodiment of the present invention, the image sensor may be a charge coupled device or a metal oxide semiconductor device. The charge coupled device is generally used in a terminal with a higher requirement for image quality, and the metal oxide semiconductor device is generally used in a terminal with a lower requirement for image quality. Specific image sensors embodiments of the present invention are not limited.
Specifically, in the embodiment of the present invention, the terminal projects the light transmitted by each group of lens groups in the N groups of lens groups to the corresponding image sensor according to the photographing instruction, so as to obtain the N groups of image information.
Exemplarily, in the embodiment of the present invention, when N is equal to 4, that is, when the terminal is as shown in fig. 4, four groups of lens groups are provided, since the upper left lens group 1, the upper right lens group 2, the lower left lens group 3, and the lower right lens group 4 are all convex lens groups, light is converged according to the convex lens imaging principle. The light of the upper left part of the terminal passes through the refraction of the upper left lens group 1, can obtain corresponding formation of image, project corresponding image sensor, obtain first group image information promptly, and is the same, the light of the upper right part of the terminal passes through the refraction of the upper right lens group 2, can obtain corresponding formation of image, project corresponding image sensor, obtain second group image information promptly, the light of the lower left part of the terminal passes through the refraction of the lower left lens group 3, can obtain corresponding formation of image, project corresponding image sensor, obtain third group image information promptly, the light of the lower right part of the terminal passes through the refraction of the lower right lens group 4, can obtain corresponding formation of image, project corresponding image sensor, obtain fourth group image information promptly. The first group of image information is an image of an object corresponding to the upper left of the front surface of the screen, the second group of image information is an image of an object corresponding to the upper right of the front surface of the screen, the third group of image information is an image of an object corresponding to the lower left of the front surface of the screen, and the fourth group of image information is an image of an object corresponding to the lower right of the front surface of the screen.
It should be noted that, in the embodiment of the present invention, whether the image sensor provided on the terminal is a charge coupled device or a metal oxide semiconductor device is used as a basic means by image capture. The core of the image sensor is a photosensitive diode, the photosensitive diode can generate output current after receiving light irradiation through a lens group, and the intensity of the current corresponds to the intensity of the light irradiation. Further, the image sensor further includes: an amplifier and an analog-to-digital conversion circuit. The output current of the photodiode is too weak to be directly converted by the analog-to-digital conversion circuit, so that the output current is amplified by the amplifier, then the amplified output current is subjected to analog-to-digital conversion by the analog-to-digital conversion circuit, and finally the binary digital image information is output to other related processing chips. That is, the N sets of image information finally obtained by the N image processors in the embodiment of the present invention are actually N sets of binary digital image information.
It can be understood that, in the embodiment of the present invention, the larger the value of N is, the more image information groups obtained by the terminal are, the less the content of each group of image information is, the more accurate it is, and the better the effect of the finally obtained target image is.
And S303, splicing the N groups of image information to obtain a target image.
In the embodiment of the invention, after the terminal obtains the N groups of image information through the N groups of lens groups, the N groups of image information are spliced to obtain the target image.
Specifically, in the embodiment of the present invention, image stitching software may be installed in advance on the terminal, and when the terminal obtains N sets of image information, the image stitching software automatically performs stitching processing on the obtained N sets of image information, so as to obtain the target image.
Fig. 5 is a schematic diagram of an exemplary image mosaic effect provided by an embodiment of the present invention. As shown in fig. 5, an image 1 is obtained by the upper left lens group 1 in fig. 4, an image 2 is obtained by the upper right lens group 2 in fig. 4, an image 3 is obtained by the lower left lens group 3 in fig. 4, and an image 4 is obtained by the lower right lens group 4 in fig. 4. And the terminal splices the image 1, the image 2, the image 3 and the image 4 through image splicing software to obtain a target image 5.
It should be noted that, in the embodiment of the present invention, a user may set image matching software on a terminal according to the needs of the user, the image matching software may further have an image processing function, and when the image matching software matches N sets of image information, some image processing or optimization may also be performed, so as to obtain a target image with better quality. The embodiment of the present invention is not limited to the specific image stitching software.
It can be understood that, in the embodiment of the present invention, the user may also preset the image processing mode required by the user in the image mosaic software. Such as denoising, white balancing, sharpening, etc. And finally obtaining a target image meeting the requirements of the user.
It should be noted that the specific preset image processing method is not limited in the embodiments of the present invention.
Illustratively, after obtaining N sets of image information, the terminal may perform denoising processing on the N sets of image information through image splicing software to obtain N sets of denoised image information, and then splice the N sets of denoised image information to obtain a target image.
Illustratively, after obtaining N sets of image information, the terminal may perform color processing on the N sets of image information through image stitching software to obtain N sets of black-and-white image information, then perform sharpening processing on the N sets of black-and-white image information to obtain N sets of black-and-white and sharpened image information, and then stitch the N sets of black-and-white and sharpened image information to obtain the target image.
It should be noted that, in the embodiment of the present invention, the image splicing software in the terminal may first process the N sets of image information one by one according to a preset image processing manner, and then splice the processed N sets of image information to obtain the target image, or may first splice the N sets of image information to obtain the preprocessed image, and then process the preprocessed image according to the preset image processing manner to obtain the target image. That is, the specific processing sequence of the image stitching software is not limited in the embodiments of the present invention.
Fig. 6 is a second flowchart illustrating a photographing method according to an embodiment of the present invention. As shown in fig. 6, after step S303, the photographing method provided by the embodiment of the invention further includes step S304. The method comprises the following specific steps:
s304, displaying the target image on a screen.
In the embodiment of the present invention, after obtaining the target image, the terminal further needs to present the target image to the user, that is, the target image is displayed on the screen desktop.
It can be understood that, in the embodiment of the present invention, after the terminal obtains the target image, the target image may be displayed on the screen desktop according to a preset display manner.
It should be noted that, in the embodiment of the present invention, a preset display mode may be stored in the terminal, and a specific display mode is set by the user according to the needs or preferences of the user. The embodiment of the present invention is not limited to the specific display mode.
Illustratively, if the preset display mode stored in the terminal is full-screen display, after the terminal obtains a target image, the target image is covered on the whole screen, if the preset display mode stored in the terminal is a thumbnail display mode, after the terminal obtains the target image, the target image is displayed on the screen in a thumbnail mode, if the preset display mode stored in the terminal is target image and attribute information display, after the terminal obtains the target image, the target image is displayed on a screen desktop in a preset proportion, and information such as shooting time, size and the like of the target image is displayed at a specified position.
It should be noted that, in the embodiment of the present invention, when the preset display mode is not stored on the terminal, the terminal may display the target image on the screen desktop according to the default display mode of the system.
Fig. 7 is a third schematic flowchart of a photographing method according to an embodiment of the present invention. As shown in fig. 7, after step S303, the photographing method according to the embodiment of the present invention further includes steps S305 to S308. The method comprises the following specific steps:
s305, receiving a saving instruction.
In the embodiment of the invention, after the terminal obtains the target image, the user can select and store the target image according to the effect of the target image.
Specifically, in the embodiment of the present invention, when the user determines that the target image needs to be saved, a saving instruction is sent to the terminal, and the terminal receives the saving instruction and executes a corresponding response.
S306, storing the target image to a preset storage position according to a preset image format according to the storage instruction.
In the embodiment of the invention, after receiving the storage instruction, the terminal stores the target image to the preset storage position according to the preset image format according to the storage instruction.
It should be noted that, in the embodiment of the present invention, the user may preset an image format and a storage location on the terminal according to the user's own needs. The specific preset image format and the preset storage location are not limited in the embodiments of the present invention.
It can be understood that, in the embodiment of the present invention, after the terminal receives the saving instruction, it needs to first determine whether the current format of the target image is the same as the preset image format. And if the current format of the target image is the same as the preset image format, the terminal directly stores the target image to a preset storage position in the current format. If the current format of the target image is different from the preset image format, the terminal converts the current format of the target image into the preset image format and then stores the target image converted into the preset image format in a preset storage position.
Illustratively, the preset image format on the terminal is Joint Photographic Experts Group (JPEG) format, and the preset storage location is a memory card. After the terminal receives the storage instruction, it needs to first determine whether the current format of the target image is the JPEG format. If the current format of the target image is JPEG format, the terminal directly saves the target image to the memory card in JPEG format. If the current Format of the target Image is a Tag Image File Format (TIFF), the terminal converts the target Image from TIFF to JPEG Format through Image Format conversion software, and then stores the target Image converted to JPEG Format in a memory card.
It should be noted that, when the terminal stores the target image in the preset storage location according to the preset image format, the terminal may also appropriately compress the target image and then store the target image, so as to save the space of the preset storage location.
It can be understood that, if the storage location is not preset on the terminal, the terminal may also autonomously read the storage locations of each internal portion, and store the target image to the storage location with the largest remaining storage space according to the preset image format, or search the storage location with the largest number of images stored according to the preset image format, and store the target image at the location, which is convenient for the user to quickly search and call.
For example, if the storage location is not preset on the terminal, the terminal autonomously reads the internal storage location of each part. If two storage positions exist on the terminal, the two storage positions are respectively as follows: memory cards and local storage. And when the terminal reads that the residual storage space of the memory card is smaller than the residual storage space of the local storage, the target image is stored in the memory card according to the preset image format. Or searching the storage position with the most images stored according to the preset image format, storing the target image to the storage card according to the preset image format when the terminal reads that the number of the images stored in the storage card according to the preset image format is more than that of the images stored in the local storage according to the preset image format, and storing the target image to the local storage according to the preset image format when the terminal reads that the number of the images stored in the storage card according to the preset image format is less than that of the images stored in the local storage according to the preset image format.
S307, receiving a deleting instruction.
In the embodiment of the invention, after the terminal saves the target image, the user can select to delete the target image according to the effect of the target image.
Specifically, in the embodiment of the present invention, when the user determines that the target image needs to be deleted, a deletion instruction is sent to the terminal, and the terminal receives the deletion instruction and executes a corresponding response.
And S308, deleting the target image according to the deleting instruction.
In the embodiment of the invention, after the terminal receives the deleting instruction, the target image is deleted according to the deleting instruction.
Specifically, in the embodiment of the present invention, if the target image is displayed on the screen, the user may directly press the target image on the screen for a long time, and the option list corresponding to the target image is displayed on the screen, and the target image is selected to be deleted. If the target image is not displayed on the screen, the user can open a preset storage position of the target image, open an option list corresponding to the target image in the preset storage position of the target image, and select deletion in the option list, namely, the terminal receives a deletion instruction and deletes the stored target image.
Fig. 7 is a schematic diagram of an exemplary screen where a terminal receives a delete instruction according to an embodiment of the present invention. As shown in fig. 7, when the user determines to delete the target image, the user may open the saved list corresponding to the target image, select the "delete" option, and delete the target image.
The embodiment of the invention provides a photographing method.A screen edge of a terminal is provided with N groups of lens groups; wherein, N is a natural number more than or equal to 2, and the terminal receives a photographing instruction; acquiring N groups of image information through N groups of lens groups according to the photographing instruction; and splicing the N groups of image information to obtain a target image. That is to say, in the technical solution of the embodiment of the present invention, the lens of the front camera of the terminal is split into multiple groups of lens groups to be hidden on the edge of the screen. In the prior art, the front camera of the terminal needs to occupy a part of the screen for setting. Therefore, compared with the prior art, the photographing method provided by the embodiment of the invention has the advantages that the terminal can collect image information according to each group of lens groups on the edge of the screen and can be spliced, and the visual effect of the screen is improved on the premise of ensuring the function of the front camera.
Example two
Fig. 9 is a schematic structural diagram of a terminal according to an embodiment of the present invention. As shown in fig. 9, the terminal includes: a screen 901, a processor 902, a memory 903, and a communication bus 904;
the edge of the screen 901 is provided with N groups of lens groups 905; wherein N is a natural number greater than or equal to 2;
the communication bus 904 is used for realizing connection communication between the processor 902 and the memory 903;
the processor 902 is configured to execute the photographing program stored in the memory 903 to implement the following steps:
receiving a photographing instruction; acquiring N groups of image information through the N groups of lens groups 905 according to the photographing instruction; and splicing the N groups of image information to obtain a target image.
Optionally, a corresponding image sensor is disposed below each group of lenses in the N groups of lenses 905, and the processor 902 is specifically configured to execute the photographing program, so as to implement the following steps:
and projecting the light transmitted by each group of lens groups in the N groups of lens groups 905 to a corresponding image sensor according to the photographing instruction to obtain the N groups of image information.
Optionally, when N equals 4, the upper left side of screen is provided with upper left lens group, the upper right side of screen is provided with upper right lens group, the left side below of screen is provided with left lower lens group, the right side below of screen is provided with right lower lens group, upper left lens group, upper right lens group, left lower lens group and right lower lens group are convex lens group.
Optionally, the processor 902 is further configured to execute the photographing program after the N groups of image information are pieced together to obtain the target image, so as to implement the following steps:
and displaying the target image on the screen.
Optionally, the processor 902 is further configured to execute the photographing program after the N groups of image information are pieced together to obtain the target image, so as to implement the following steps:
receiving a saving instruction; and storing the target image to a preset storage position according to a preset image format according to the storage instruction.
Optionally, after the processor 902 stores the target image in a preset image format to a preset storage location according to the storage instruction, the processor is further configured to execute the photographing program, so as to implement the following steps:
receiving a deleting instruction; and deleting the target image according to the deleting instruction.
The embodiment of the invention provides a terminal, wherein N groups of lens groups are arranged on the edge of a screen of the terminal; wherein, N is a natural number more than or equal to 2, and the terminal receives a photographing instruction; acquiring N groups of image information through N groups of lens groups according to the photographing instruction; and splicing the N groups of image information to obtain a target image. That is to say, in the technical solution of the embodiment of the present invention, the lens of the front camera of the terminal is split into multiple groups of lens groups to be hidden on the edge of the screen. In the prior art, the front camera of the terminal needs to occupy a part of the screen for setting. Therefore, compared with the prior art, the terminal provided by the embodiment of the invention can collect image information according to each group of lens groups on the edge of the screen and splice the image information, and improves the visual effect of the screen on the premise of ensuring the function of the front camera.
An embodiment of the present invention provides a computer-readable storage medium storing one or more programs, which can be executed by one or more processors to implement the above-described photographing method. The computer-readable storage medium may be a volatile Memory (volatile Memory), such as a Random-Access Memory (RAM); or a non-volatile Memory (non-volatile Memory), such as a Read-Only Memory (ROM), a flash Memory (flash Memory), a Hard Disk (Hard Disk Drive, HDD) or a Solid-State Drive (SSD); or may be a respective device, such as a mobile phone, computer, tablet device, personal digital assistant, etc., that includes one or any combination of the above-mentioned memories.
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.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
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 (6)

1. A photographing method is characterized in that the photographing method is applied to a terminal, and N groups of lens groups are arranged on the edge of a screen of the terminal; the terminal realizes the photographing function of the front camera through the N groups of lens groups; wherein N is a natural number greater than or equal to 2, the method comprising:
receiving a photographing instruction;
obtaining N groups of image information through the N groups of lens groups according to the photographing instruction;
splicing the N groups of image information to obtain a target image;
the image sensor who corresponds is provided with under each group's battery of N group's battery, according to the instruction of shooing, through N group's battery of batteries obtains N group image information, include:
according to the photographing instruction, projecting the light transmitted by each group of lens groups in the N groups of lens groups to a corresponding image sensor to obtain the N groups of image information;
when N equals 4, the upper left side of screen is provided with upper left lens group, the upper right side of screen is provided with upper right lens group, the left side below of screen is provided with left side lower lens group, the right side below of screen is provided with right side lower lens group, upper left lens group upper right lens group left side lower lens group with right side lower lens group is convex lens group.
2. The method of claim 1, wherein after the stitching the N sets of image information to obtain the target image, the method further comprises:
and displaying the target image on the screen.
3. The method according to any one of claims 1-2, wherein after the stitching the N sets of image information to obtain the target image, the method further comprises:
receiving a saving instruction;
and storing the target image to a preset storage position according to a preset image format according to the storage instruction.
4. The method according to claim 3, wherein after the target image is saved to a preset storage location according to the saving instruction, the method further comprises:
receiving a deleting instruction;
and deleting the target image according to the deleting instruction.
5. A terminal, characterized in that the terminal comprises: a screen, a processor, a memory, and a communication bus;
n groups of lens groups are arranged on the edge of the screen; the terminal realizes the photographing function of the front camera through the N groups of lens groups; wherein N is a natural number greater than or equal to 2;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is used for executing the photographing program stored in the memory so as to realize the following steps:
receiving a photographing instruction; obtaining N groups of image information through the N groups of lens groups according to the photographing instruction; splicing the N groups of image information to obtain a target image;
a corresponding image sensor is arranged below each of the N groups of lens assemblies, and the processor is specifically configured to execute the photographing program to implement the following steps:
according to the photographing instruction, projecting the light transmitted by each group of lens groups in the N groups of lens groups to a corresponding image sensor to obtain the N groups of image information;
when N equals 4, the upper left side of screen is provided with upper left lens group, the upper right side of screen is provided with upper right lens group, the left side below of screen is provided with left side lower lens group, the right side below of screen is provided with right side lower lens group, upper left lens group upper right lens group left side lower lens group with right side lower lens group is convex lens group.
6. A computer-readable storage medium, characterized in that the computer-readable storage medium stores one or more programs which are executable by one or more processors to implement the method of any one of claims 1-4.
CN201711024825.7A 2017-10-27 2017-10-27 Photographing method, terminal and storage medium Active CN107743198B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711024825.7A CN107743198B (en) 2017-10-27 2017-10-27 Photographing method, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711024825.7A CN107743198B (en) 2017-10-27 2017-10-27 Photographing method, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN107743198A CN107743198A (en) 2018-02-27
CN107743198B true CN107743198B (en) 2021-06-15

Family

ID=61238323

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711024825.7A Active CN107743198B (en) 2017-10-27 2017-10-27 Photographing method, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN107743198B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN208027665U (en) 2018-04-28 2018-10-30 京东方科技集团股份有限公司 Display device
CN110418059B (en) * 2019-07-30 2021-12-24 联想(北京)有限公司 Image processing method and device applied to electronic equipment, electronic equipment and medium
WO2021056540A1 (en) * 2019-09-29 2021-04-01 Oppo广东移动通信有限公司 Display screen, display assembly and electronic device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984452A (en) * 2012-10-29 2013-03-20 东莞宇龙通信科技有限公司 Camera terminal and photographing self method thereof
CN204258933U (en) * 2014-11-19 2015-04-08 锐达互动科技股份有限公司 A kind of removable optical image touches integrated frame

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106713708A (en) * 2016-11-28 2017-05-24 上海传英信息技术有限公司 Camera system for intelligent terminal, and intelligent terminal
CN107071244A (en) * 2017-03-09 2017-08-18 蔡思强 A kind of front camera concealing technology suitable for mobile terminal device
CN106878509A (en) * 2017-03-31 2017-06-20 努比亚技术有限公司 A kind of control method of mobile terminal, mobile terminal and storage medium
CN107295260A (en) * 2017-07-27 2017-10-24 深圳市泰衡诺科技有限公司 A kind of method, photo taking and photo camera for smart machine

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984452A (en) * 2012-10-29 2013-03-20 东莞宇龙通信科技有限公司 Camera terminal and photographing self method thereof
CN204258933U (en) * 2014-11-19 2015-04-08 锐达互动科技股份有限公司 A kind of removable optical image touches integrated frame

Also Published As

Publication number Publication date
CN107743198A (en) 2018-02-27

Similar Documents

Publication Publication Date Title
CN108900790B (en) Video image processing method, mobile terminal and computer readable storage medium
CN107959795B (en) Information acquisition method, information acquisition equipment and computer readable storage medium
CN108459799B (en) Picture processing method, mobile terminal and computer readable storage medium
CN113556492B (en) Thumbnail generation method, mobile terminal and readable storage medium
CN112995467A (en) Image processing method, mobile terminal and storage medium
CN107743198B (en) Photographing method, terminal and storage medium
CN108536383B (en) Game control method, game control equipment and computer readable storage medium
CN107896304B (en) Image shooting method and device and computer readable storage medium
CN111885307A (en) Depth-of-field shooting method and device and computer readable storage medium
CN112367443A (en) Photographing method, mobile terminal and computer-readable storage medium
CN109739414B (en) Picture processing method, mobile terminal and computer readable storage medium
CN110177207B (en) Backlight image shooting method, mobile terminal and computer readable storage medium
CN112135060B (en) Focusing processing method, mobile terminal and computer storage medium
CN112532838B (en) Image processing method, mobile terminal and computer storage medium
WO2022252158A1 (en) Photographing method, mobile terminal and readable storage medium
CN107784629B (en) Panoramic photo filter processing method and mobile terminal
CN109495683B (en) Interval shooting method and device and computer readable storage medium
CN108335301B (en) Photographing method and mobile terminal
CN108989695B (en) Initial automatic exposure convergence method, mobile terminal and computer-readable storage medium
CN113542605A (en) Camera shooting control method, mobile terminal and storage medium
CN113194227A (en) Processing method, mobile terminal and storage medium
CN108600618B (en) Shooting control method and device and computer readable storage medium
CN107566745B (en) Shooting method, terminal and computer readable storage medium
CN112135047A (en) Image processing method, mobile terminal and computer storage medium
CN113840062B (en) Camera control method, mobile terminal and readable storage medium

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