WO2020125196A1 - Terminal and photographing method, storage medium, and electronic device - Google Patents
Terminal and photographing method, storage medium, and electronic device Download PDFInfo
- Publication number
- WO2020125196A1 WO2020125196A1 PCT/CN2019/112892 CN2019112892W WO2020125196A1 WO 2020125196 A1 WO2020125196 A1 WO 2020125196A1 CN 2019112892 W CN2019112892 W CN 2019112892W WO 2020125196 A1 WO2020125196 A1 WO 2020125196A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- camera
- slit
- framing
- image
- terminal
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 57
- 238000009432 framing Methods 0.000 claims description 107
- 238000006073 displacement reaction Methods 0.000 claims description 18
- 238000004590 computer program Methods 0.000 claims description 15
- 238000010586 diagram Methods 0.000 description 35
- 238000012545 processing Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 4
- 239000011521 glass Substances 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000003384 imaging method Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000017525 heat dissipation Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/57—Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/0202—Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
- H04M1/026—Details of the structure or mounting of specific components
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/0202—Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
- H04M1/026—Details of the structure or mounting of specific components
- H04M1/0264—Details of the structure or mounting of specific components for a camera module assembly
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/0202—Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
- H04M1/026—Details of the structure or mounting of specific components
- H04M1/0266—Details of the structure or mounting of specific components for a display module assembly
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/50—Constructional details
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/95—Computational photography systems, e.g. light-field imaging systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/95—Computational photography systems, e.g. light-field imaging systems
- H04N23/951—Computational photography systems, e.g. light-field imaging systems by using two or more images to influence resolution, frame rate or aspect ratio
Definitions
- the present invention relates to the field of image processing, and in particular, to a terminal, a shooting method, a storage medium, and an electronic device.
- the area of the display area of the terminal device in the terminal device is becoming larger and larger, that is, the screen area of the display area (ie, screen) in the terminal device is gradually increasing.
- the screen area of the display area (ie, screen) in the terminal device is gradually increasing.
- one of the bottlenecks restricting the further increase of the screen ratio in the terminal device is the setting of the front camera in the terminal device. Due to the common applications in the current terminal, such as video communication, self-timer, etc., all need to rely on the front camera to be able to Realization, so the front camera cannot be omitted.
- the camera in the related art often needs to be placed side by side with the screen in the terminal device, that is, the camera and the screen are integrated in the front end of the terminal device.
- the terminal device can only increase the screen ratio by increasing the area of the screen in the area where the camera is not located, and cannot perform screen layout for the area where the camera is located. Therefore, the screen ratio of the terminal device in the related art cannot Further improve.
- the terminal device is affected by the layout of the front camera and cannot increase the screen ratio, and no effective solution has been proposed in the related art.
- Embodiments of the present invention provide a terminal, a shooting method, a storage medium, and an electronic device based on the terminal, to at least solve the problem that the terminal device in the related art is affected by the layout of the front camera and cannot increase the screen ratio.
- a terminal including: a housing, a display panel, and a camera; the camera is disposed inside the terminal, and is located in a gap formed by the display panel and the housing The rear.
- a shooting method which is applied to a terminal, and the terminal includes: a housing, a display panel, a camera, and a displacement component; the camera is disposed inside the terminal and is located Behind the gap formed by the display panel and the housing, the displacement component is connected to the camera for driving the camera to move in the vertical direction of the gap; the method includes:
- a storage medium in which a computer program is stored, wherein the computer program is configured to execute the steps in any one of the above method embodiments during runtime.
- an electronic device including a memory and a processor, the memory stores a computer program, the processor is configured to run the computer program to perform any of the above The steps in the method embodiment.
- FIG. 1 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
- FIG. 2 is a schematic diagram (1) of the movement position of a camera according to an embodiment of the present invention
- FIG. 3 is a schematic diagram (2) of camera movement positions provided according to an embodiment of the present invention.
- FIG. 4 is a schematic diagram of a shooting position of a camera according to an embodiment of the present invention.
- FIG. 5 is a flowchart of a shooting method according to an embodiment of the present invention.
- FIG. 6 is a schematic diagram of a first shooting area according to an embodiment of the present invention.
- FIG. 7 is a schematic diagram of a second shooting area according to an embodiment of the present invention.
- FIG. 8 is a schematic diagram of the position of the center line provided according to an embodiment of the present invention.
- FIG. 9 is a schematic structural diagram of a front camera of a mobile phone according to a specific embodiment of the present invention.
- FIG. 10 is a schematic diagram of a working coordinate system for a front camera provided according to a specific embodiment of the present invention.
- FIG. 11 is a schematic diagram of a focus position in a working coordinate system of a front camera according to a specific embodiment of the present invention.
- FIG. 12 is a working schematic diagram of the position of the upper edge of the slit corresponding to the front camera according to a specific embodiment of the present invention.
- FIG. 13 is a working schematic diagram of the position of the lower edge of the slit corresponding to the front camera according to a specific embodiment of the present invention.
- FIG. 14 is a schematic diagram of a process of acquiring a front camera image in a frame rate period according to an embodiment of the present invention
- 15 is a schematic diagram of an image of an upper half region provided according to a specific embodiment of the present invention.
- 16 is a schematic diagram of an image of a lower half area provided according to a specific embodiment of the present invention.
- 17 is a schematic diagram of a complete image provided according to a specific embodiment of the present invention.
- FIG. 18 is a schematic diagram of image processing according to a specific embodiment of the present invention.
- FIG. 19 is a structural block diagram of a photographing device according to an embodiment of the present invention.
- FIG. 1 is a schematic structural diagram of a terminal provided according to an embodiment of the present invention.
- the terminal includes: a housing 102, a display panel 104, and a camera 106; Inside the terminal, it is located behind the gap 108 formed by the display panel 104 and the housing 102.
- the terminal is provided with a camera behind the gap formed by the display panel and the case of the terminal, thereby increasing the screen ratio of the terminal. Therefore, the terminal in this embodiment can solve the problem that the terminal device in the related art is affected by the layout of the front camera and cannot increase the screen ratio.
- the terminals in this embodiment include but are not limited to mobile phones, tablet computers, PCs, wearable devices, etc. Any terminal with a front camera function and including a case and a display panel can be used as the terminal.
- the terminal in the embodiment; the present invention does not limit the specific type of terminal.
- the housing is a shell forming a cover for the terminal.
- the housing includes an upper end surface, a lower end surface, a side end surface, a front end surface, and a rear end surface.
- the front end surface of the housing is provided with an opening for installing a display panel , Used to install the display panel; when the display panel is installed in the above opening, the display panel and the housing constitute the terminal as a whole.
- the above-mentioned housing may be an integrally formed component, or may be a combination of multiple components (such as a back cover and a side wall of a mobile phone).
- the present invention does not limit the structure of the housing.
- the above-mentioned gap may be a gap naturally formed between the display panel and the housing during the assembly process, or may be a gap further artificially provided according to needs based on the gap formed by the above-mentioned assembly.
- a glass panel or a capacitive touch component is usually provided outside the display panel.
- the slit in this embodiment may be provided under the glass panel, or in the area corresponding to the slit of the glass panel Slotted.
- the above-mentioned camera is used to instruct the front-facing camera located at the front end of the terminal in the terminal.
- the camera is located inside the terminal and behind the gap formed by the display panel and the case. Between the display panel and the display panel; because the gap in the above embodiment is formed between the housing and the display panel, when the camera is inside the terminal, the camera and the gap are distributed on the front end surface and inside of the terminal, respectively, thereby forming a stagger Distributed structure; In order to make the camera react as quickly as possible during the work, the camera and the gap should be located at a height relative to each other (the terminal is placed vertically in use as a reference), or the camera and the gap are located The height position is within a reasonable difference.
- the area between the housing and the display panel is also provided with components such as control components, storage components, power components, heat dissipation components, etc.
- the type and layout method are not limited.
- the camera in the terminal of this embodiment is provided inside the terminal, only the gap formed between the display panel and the case remains in the front end surface of the terminal, that is, the end surface where the display panel of the terminal is located.
- the width of the slit in this embodiment is significantly smaller than the physical width of the camera in this direction. Therefore, the end face of the terminal It is no longer necessary to reserve a space equal to the corresponding area of the camera, thereby further increasing the screen ratio of the front end of the terminal.
- the terminal further includes:
- the displacement component 110 is provided inside the terminal and connected to the camera, and is used to drive the camera to move in the vertical direction of the slit.
- the above displacement component is used to control the camera to move in the vertical direction of the slit, so that the camera can shoot at different angles relative to the edge of the slit at different positions of the slit; according to the optical principle, the camera is different from the edge of the slit
- the images obtained during the shooting at different angles are also different, that is, the displacement component controls the camera to move in the vertical direction of the slit, so that the camera can obtain images at different angles, and the relevant images can be processed to obtain the complete image.
- the terminal in this embodiment improves the screen ratio of the terminal while also ensuring a good shooting effect.
- the above displacement assembly includes at least one connecting portion for connecting the camera, and a driving portion for driving the connecting portion and the camera assembly to move
- the above displacement assembly may include a connection formed by a screw
- the composition is not limited, and any displacement component that can achieve the above-mentioned functions belongs to the protection scope of the present invention.
- the above-mentioned driving part should also include a control part for controlling the driving part to drive the connecting part to move, thereby controlling the movement of the camera; the control part can adopt a control unit independently integrated with the driving part, such as a memory storing control instructions , And a controller for sending control commands, etc., may also combine the control part with the terminal's own control module, that is, integrate the control commands for the displacement component and the camera in the CPU of the relevant terminal device.
- a direct or indirect electrical connection is formed between the control unit and the drive unit, that is, the drive unit, the connection unit, and the camera can move correspondingly under the control command generated by the control unit;
- the specific connection mode between the driving parts may be a physical connection or a wireless communication connection, which is not limited in the present invention.
- the displacement component 110 includes:
- the slide rail 1102 is arranged along the vertical direction of the gap 108;
- the driving component 1104 is connected to the camera 106 and is used to drive the camera 106 to move along the slide rail 1102.
- FIG. 2 is a schematic diagram (1) of the camera movement position provided according to an embodiment of the present invention
- FIG. 3 is a schematic diagram (2) of the camera movement position provided according to an embodiment of the present invention.
- the camera is moving Under the control of the driving component in the assembly, the slide rail is moved to the corresponding position of the upper edge and the lower edge of the slit respectively to perform shooting processing to complete the movement in the vertical direction of the slit.
- FIG. 4 is a schematic diagram of a camera shooting position according to an embodiment of the present invention.
- the terminal includes: a housing 102, The display panel 104, the camera 106, and the displacement component 110; the camera 106 is disposed inside the terminal and is located behind the gap 108 formed by the display panel 104 and the housing 102, and the displacement component 110 is connected to the camera 106 for driving the camera 106 along The slit 108 moves in the vertical direction; in addition, in this embodiment, the position where the camera shoots includes the first edge 1082 and the second edge 1084 of the slit 108.
- FIG. 5 is a flowchart of a shooting method according to an embodiment of the present invention. As shown in FIG. 5, the method in this embodiment includes:
- the terminal sets the camera behind the gap formed by the display panel and the housing of the terminal, and the above-mentioned shooting method moves the camera in the vertical direction of the gap by driving the camera to different shooting areas Perform framing shooting to obtain framing images of different shooting areas, and form framing images by stitching the framing images of the above different shooting areas, thereby improving the screen ratio of the terminal and ensuring the shooting effect of the front camera . Therefore, the shooting method in this embodiment can solve the problem that the terminal device in the related art is affected by the layout of the front camera and cannot increase the screen ratio.
- step S202 and step S204 can be interchanged, that is, step S204 can be executed first, and then S202 can be executed.
- the execution subjects of steps S202 to S206 are all control components.
- the control components can be integrated into the control module of the terminal, that is, the movement of the camera in step S202 and step S204 is realized by the CPU of the terminal device, Shooting and stitching processing for images in step S206.
- the control component may also be controlled by an independent first control component to move and shoot the camera in steps S202 and S204.
- the independent second control component implements the image splicing process in step S206. Be limited.
- the first edge of the slit in step S202 indicates the corresponding edge position of the slit relative to the side of the case.
- the first edge is The upper edge of the gap.
- the above first shooting area is used to indicate the corresponding shooting image when the camera is located at the first edge of the slit.
- FIG. 6 is a schematic diagram of the first shooting area according to an embodiment of the present invention. As shown in FIG. 6, when the camera is located at the slit When the camera is located at the slit When the first edge corresponds to the position, according to the optical principle, the shooting range of the camera corresponds to the lower half area relative to the slit, that is, the first shooting area in this embodiment is the above lower half area.
- the camera moves to the first edge of the slit, which is used to instruct the camera to move to a position flush with the first edge of the slit, instead of making the camera contact the first edge.
- the second edge of the slit in step S204 indicates the corresponding edge position of the slit relative to the side of the display panel.
- the first edge is the lower edge of the slit.
- the above second shooting area is used to indicate the corresponding shooting image when the camera is located at the second edge position of the slit.
- FIG. 7 is a schematic diagram of the second shooting area according to an embodiment of the present invention. As shown in FIG.
- the shooting range of the camera corresponds to the upper half area relative to the slit, that is, the second shooting area in this embodiment is the upper half area. It should be further noted that the camera moves to the second edge of the slit, which is used to instruct the camera to move to a position flush with the second edge of the slit, rather than contacting the camera with the second edge.
- the camera can locate the lower body of the portrait when the camera is located at the first edge of the gap, and can shoot the upper body of the portrait when the camera is located at the second edge of the gap , By stitching or combining the above upper body image and the lower body image, a complete portrait image can be synthesized.
- the method before driving the camera to move to the first edge of the slit in the vertical direction of the slit, the method further includes:
- the coordinate axis is established according to the collected position information, wherein the extending direction of the slit is the X axis, the vertical direction of the slit is the Y axis, and the viewing direction is the Z axis.
- the time when the camera is initialized is used to indicate the time when the terminal starts to work.
- the terminal enters the power-on state from the shutdown state or enters the working state from the sleep state; in the camera initialization, the The control component instructs the camera to obtain the first edge position and the second edge position of the slit, specifically the image including the first edge and the second edge of the slit can be acquired through the camera, and the first of the camera slit can be obtained according to the processing or recognition of the image The corresponding position of the edge and the second edge.
- the extension direction of the first edge or the second edge can be used as the slit extension direction, that is, the X axis, and the first edge and the second edge
- the relative direction of is the vertical direction of the slit, which is the Y axis, and the shooting direction of the camera is the Z axis.
- the method further includes:
- FIG. 8 is a schematic diagram of the position of the center line according to an embodiment of the present invention.
- the central position of one edge 1082 and the second edge 1084 is the above-mentioned middle line 1086.
- the above-mentioned centerline position can be used for the camera's focusing process. After the camera completes the focusing process, the camera's initialization is completed. In addition, the above-mentioned midline position can also be used for the camera to reset after completing the shooting methods of steps S202 to S206.
- step S206 stitching the framing image of the first shooting area and the framing image of the second shooting area to form a shooting framing image includes:
- the feature points in the framing image of the first shooting area and the framing image of the second shooting area are usually used to indicate the basic pixels constituting the framing image, and the completeness can be obtained by stitching the basic pixels Shooting framing image; the feature points in the framing image of the first shooting area and the framing image of the second shooting area can be overlapped with each other in the stitching process of the framing image of the first shooting area and the framing image of the second shooting area As the reference point.
- the framing image in the first shooting area or the framing image in the second shooting area is not a ratio of 1:2 compared to the framing image, after stitching the framing image in the first shooting area and the framing image in the second shooting area, you need to A certain ratio can be reduced to obtain a shooting view image that can be displayed normally in the terminal; it should be noted that the above ratio is related to the width of the slit in the vertical direction in this embodiment, and the present invention does not make a specific setting for the ratio limited.
- the photographing framing image is stored as the photographing image.
- the above-mentioned storing of the captured framing image is to store the captured framing image in the storage module of the terminal, and display it to the user through an application such as “album”.
- the shooting method of this embodiment can also display the above-mentioned captured framing image in real time on the display panel of the terminal.
- At least one set of framing operations for the first shooting area, framing operations for the second shooting area, and stitching operations for the framing images are completed at least within one refresh period of the camera.
- the above one refresh cycle refers to the refresh cycle of each frame of image in the display panel, that is, in this embodiment, the displacement of the camera between the first edge and the second edge of the slit is completed in one refresh cycle ,
- the shooting of the framing image at the corresponding position and the stitching operation of the framing image; the above technical solution can make the display panel display the image without delay due to the shooting method in this embodiment.
- the shooting method in this embodiment is used for continuous shooting or video calling, multiple sets of operations can also be completed within one refresh cycle, and images with the best resolution among the multiple sets of operations can be selected and saved.
- the method according to the above embodiments can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware, but in many cases the former is Better implementation.
- the technical solution of the present invention can be embodied in the form of a software product in essence or part that contributes to the existing technology, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk,
- the CD-ROM includes several instructions to enable a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods of various embodiments of the present invention.
- This specific embodiment is specifically described with a mobile phone terminal.
- the mobile phone in this specific embodiment adopts a scheme in which the front camera and the front and back of the screen are overlapped instead of the scheme in which the screen and the front camera are arranged in parallel in the related art;
- the front camera is arranged inside the mobile phone, and the gap between the display panel and the mobile phone housing is used to realize the framing of the front camera.
- 9 is a schematic structural diagram of a front camera of a mobile phone according to a specific embodiment of the present invention. As shown in FIG.
- a gap 306 is formed between the housing 302 of the mobile phone and the display screen 304, and the front camera 308 is disposed on the housing 302 of the mobile phone Inside, and opposite to the above-mentioned gap 306, the front camera 308 is also connected with a sliding device inside the housing, such as a slide rail, the front camera 308 can be specifically along the slide rail in the width direction of the gap (that is, the phone is placed vertically In the height direction).
- the outside of the display screen 304 is also covered with a glass panel 310.
- the width of the above-mentioned slit 306 is significantly smaller than the conventional width of the front camera 308. Therefore, the mobile phone in this specific embodiment can achieve a significant increase in the screen ratio at the front end.
- FIG. 10 is a schematic diagram of the working coordinate system of the front camera according to a specific embodiment of the present invention. As shown in FIG. 10, the reference for establishing the coordinate system is as follows step:
- FIG. 11 is a specific embodiment according to the present invention
- the schematic diagram of the focus position in the working coordinate system of the front camera is provided. As shown in FIG. 11, the coordinate axis uses the (0, 0) position shown in FIG. 11 as the focus position to establish the X axis.
- the front camera 308 adjusts the displacement in the Y-axis direction and moves to the point (0, 0), at which time the camera focuses on the center of the gap.
- the front camera 308 When the mobile phone activates the front camera each time, the front camera 308 is set to automatically perform the above process, that is, the focus coordinates of the front camera 308 are (0, 0); in addition, each time the front camera 308 completes its work will also ( 0,0) as the return position of the front camera 308.
- FIG. 12 is a schematic diagram of the work of the front camera corresponding to the position of the upper edge of the slit according to a specific embodiment of the present invention, as shown in the figure As shown in 12, the front camera completes the framing of the lower half of the area at the corresponding position on the upper edge of the gap.
- FIG. 13 is a schematic diagram of the work of the front camera corresponding to the position of the lower edge of the slit according to a specific embodiment of the present invention. As shown in FIG. 13, the front camera 308 is completed at the position corresponding to the lower edge of the slit For the framing of the upper half;
- FIG. 14 is a schematic diagram of an image acquisition process of a front camera in a frame rate period according to an embodiment of the present invention. As shown in FIG. 14, the upward arrow in FIG. 14 indicates that the front camera moves upward to acquire the image of the lower half, and the downward arrow This means that the front camera moves downward to obtain the upper half of the image.
- the image processing chip in the mobile phone such as CPU or DSP, performs feature point extraction and analysis on a set of two images in the upper and lower half of the real-time group;
- the above-mentioned stitched image is selected proportionally, and the selection principle is to display the image scene information with the largest current display ratio.
- FIG. 15 is the upper half provided according to an embodiment of the present invention A schematic diagram of the area image
- FIG. 16 is a schematic diagram of the lower half image provided according to an embodiment of the present invention
- FIG. 17 is a schematic diagram of the complete image provided according to an embodiment of the present invention. It should be noted that this specific embodiment is more clear Show the acquisition of images.
- Figure 15 and Figure 16 are the images taken when the mobile phone is in a horizontal state, so the front camera acquires the images at the left and right angles of the actual orientation of the slit during the shooting process; By stitching the images in FIG. 15 and FIG. 16, the image shown in FIG. 17 can be obtained.
- FIG. 18 is an image process according to a specific embodiment of the present invention. Schematic.
- each refresh frame period completes the above S1 to S5 and repeats continuously.
- the final processed image is stored as a photographed picture within a current refresh frame period.
- an imaging device is also provided.
- the imaging device in this embodiment is applied to the terminal of Embodiment 1, and the device is used to implement the above embodiments and preferred implementations, and descriptions that have already been described will not be repeated.
- the term "module” may implement a combination of software and/or hardware that performs predetermined functions.
- the devices described in the following embodiments are preferably implemented in software, implementation of hardware or a combination of software and hardware is also possible and conceived.
- FIG. 19 is a structural block diagram of an imaging device according to an embodiment of the present invention. As shown in FIG. 19, the device includes:
- the first framing module 302 is used to drive the camera to move to the first edge of the slit in the vertical direction of the slit, and view the first shooting area through the slit;
- the second framing module 304 is used to drive the camera to move in the vertical direction of the slit to the second edge of the slit opposite to the first edge, and view the second shooting area through the slit;
- the stitching module 306 is used to stitch the framing image of the first shooting area and the framing image of the second shooting area to form a shot framing image.
- the terminal sets the camera behind the gap formed by the display panel and the case of the terminal, and the shooting device drives the camera to move in the vertical direction of the gap and performs framing shooting for different shooting areas.
- the framing images of different shooting areas are spliced to form a shooting framing image, so as to increase the screen ratio of the terminal and ensure the shooting effect of the front camera. Therefore, the photographing device in this embodiment can solve the problem that the terminal device in the related art is affected by the layout of the front camera and cannot increase the screen ratio.
- the method before driving the camera to move to the first edge of the slit in the vertical direction of the slit, the method further includes:
- the coordinate axis is established according to the collected position information, wherein the extending direction of the slit is the X axis, the vertical direction of the slit is the Y axis, and the viewing direction is the Z axis.
- the method further includes:
- stitching the framing image of the first shooting area and the framing image of the second shooting area to form a shot framing image includes:
- the method further includes:
- the above-mentioned shooting device completes at least one set of framing operations for the first shooting area, framing operations for the second shooting area, and stitching operations of the framing images in one refresh period of the camera.
- the above modules can be implemented by software or hardware, and the latter can be implemented by the following methods, but not limited to this: the above modules are all located in the same processor; or, the above modules can be combined in any combination The forms are located in different processors.
- An embodiment of the present invention further provides a storage medium in which a computer program is stored, wherein the computer program is set to execute any of the steps in the above method embodiments during runtime.
- the above storage medium may be set to store a computer program for performing the following steps:
- the above storage medium may include, but is not limited to: a USB flash drive, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), Various media that can store computer programs, such as removable hard disks, magnetic disks, or optical disks.
- An embodiment of the present invention also provides an electronic device, including a memory and a processor, where the computer program is stored in the memory, and the processor is configured to run the computer program to perform the steps in any one of the foregoing method embodiments.
- the electronic device may further include a transmission device and an input-output device, wherein the transmission device is connected to the processor, and the input-output device is connected to the processor.
- the above processor may be configured to perform the following steps through a computer program:
- the camera is arranged behind the gap formed by the display panel and the casing of the terminal, thereby increasing the screen ratio of the terminal. Therefore, the present invention can solve the problem that the terminal device in the related art is not affected by the layout of the front camera and cannot increase the screen ratio.
- modules or steps of the present invention can be implemented by a general-purpose computing device, they can be concentrated on a single computing device, or distributed in a network composed of multiple computing devices Above, optionally, they can be implemented with program code executable by the computing device, so that they can be stored in the storage device to be executed by the computing device, and in some cases, can be in a different order than here
- the steps shown or described are performed, or they are made into individual integrated circuit modules respectively, or multiple modules or steps among them are made into a single integrated circuit module to achieve. In this way, the present invention is not limited to any specific combination of hardware and software.
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Computing Systems (AREA)
- Theoretical Computer Science (AREA)
- Studio Devices (AREA)
Abstract
The present invention provides a terminal and a photographing method, a storage medium, and an electronic device. The terminal comprises a housing, a display panel, and a camera, wherein the camera is disposed inside the terminal, and is located behind the gap formed by the display panel and the housing.
Description
相关申请的交叉引用Cross-reference of related applications
本申请基于申请号为201811543971.5、申请日为2018年12月17日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on a Chinese patent application with an application number of 201811543971.5 and an application date of December 17, 2018, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby incorporated by reference.
本发明涉及图像处理领域,具体而言,涉及一种终端及拍摄方法、存储介质、电子装置。The present invention relates to the field of image processing, and in particular, to a terminal, a shooting method, a storage medium, and an electronic device.
随着面板技术的发展以及用户需求的激增,终端设备的显示区域在终端设备中的面积所占比例越来越大,即终端设备中显示区域(即屏幕)的屏占比在逐渐增加。目前,制约终端设备中的屏占比进一步提高的瓶颈之一是终端设备中前置摄像头的设置,由于目前的终端中的常见应用,如视频通信、自拍等,均需依赖于前置摄像头得以实现,故前置摄像头无法省去。With the development of panel technology and the surge in user demand, the area of the display area of the terminal device in the terminal device is becoming larger and larger, that is, the screen area of the display area (ie, screen) in the terminal device is gradually increasing. At present, one of the bottlenecks restricting the further increase of the screen ratio in the terminal device is the setting of the front camera in the terminal device. Due to the common applications in the current terminal, such as video communication, self-timer, etc., all need to rely on the front camera to be able to Realization, so the front camera cannot be omitted.
为保证摄像头的显示效果,相关技术中摄像头往往需要与终端设备中的屏幕进行并列放置,即将摄像头与屏幕并列集成在终端设备的前端。在上述摄像头的布局方式下,终端设备仅能通过增加屏幕在非摄像头所在区域的面积以提高屏占比,而无法对于摄像头所在区域进行屏幕布局,因此,相关技术中终端设备的屏占比无法进一步提高。In order to ensure the display effect of the camera, the camera in the related art often needs to be placed side by side with the screen in the terminal device, that is, the camera and the screen are integrated in the front end of the terminal device. In the above camera layout method, the terminal device can only increase the screen ratio by increasing the area of the screen in the area where the camera is not located, and cannot perform screen layout for the area where the camera is located. Therefore, the screen ratio of the terminal device in the related art cannot Further improve.
针对上述相关技术中,终端设备受前置摄像头的布局影响而无法提高屏占比的问题,相关技术中尚未提出有效的解决方案。In view of the above related art, the terminal device is affected by the layout of the front camera and cannot increase the screen ratio, and no effective solution has been proposed in the related art.
发明内容Summary of the invention
本发明实施例提供了一种终端以及基于该终端的拍摄方法、存储介质、电子装置,以至少解决相关技术中终端设备受前置摄像头的布局影响而无法提高屏占比的问题。Embodiments of the present invention provide a terminal, a shooting method, a storage medium, and an electronic device based on the terminal, to at least solve the problem that the terminal device in the related art is affected by the layout of the front camera and cannot increase the screen ratio.
根据本发明的一个实施例,提供了一种终端,包括:壳体、显示面板和摄像头;所述摄像头设置在所述终端的内部,并位于所述显示面板与所述壳体所形成的缝隙的后方。According to an embodiment of the present invention, a terminal is provided, including: a housing, a display panel, and a camera; the camera is disposed inside the terminal, and is located in a gap formed by the display panel and the housing The rear.
根据本发明的另一个实施例,还提供了一种拍摄方法,应用于终端,所述终端包括:壳体、显示面板、摄像头和位移组件;所述摄像头设置在所述终端的内部,并位于所述显示面板与所述壳体所形成的缝隙的后方,所述位移组件与所述摄像头连接,用于驱动所述摄像头沿所述缝隙的垂直方向移动;所述方法包括:According to another embodiment of the present invention, there is also provided a shooting method, which is applied to a terminal, and the terminal includes: a housing, a display panel, a camera, and a displacement component; the camera is disposed inside the terminal and is located Behind the gap formed by the display panel and the housing, the displacement component is connected to the camera for driving the camera to move in the vertical direction of the gap; the method includes:
驱动所述摄像头沿所述缝隙的垂直方向移动至所述缝隙的第一边沿,并通过所述缝隙对第一拍摄区域进行取景;Driving the camera to move to the first edge of the slit in the vertical direction of the slit, and framing the first shooting area through the slit;
驱动所述摄像头沿所述缝隙的垂直方向移动至所述缝隙的与所述第一边沿相对的第二边沿,并通过所述缝隙对第二拍摄区域进行取景;Driving the camera to move in the vertical direction of the slit to the second edge of the slit opposite to the first edge, and framing the second shooting area through the slit;
将所述第一拍摄区域的取景图像与所述第二拍摄区域的取景图像进行拼接形成拍摄取景图像。Stitching the framing image of the first shooting area and the framing image of the second shooting area to form a shooting framing image.
根据本发明的又一个实施例,还提供了一种存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。According to yet another embodiment of the present invention, there is also provided a storage medium in which a computer program is stored, wherein the computer program is configured to execute the steps in any one of the above method embodiments during runtime.
根据本发明的又一个实施例,还提供了一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行上述任一项方法实施例中的步骤。According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory and a processor, the memory stores a computer program, the processor is configured to run the computer program to perform any of the above The steps in the method embodiment.
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are used to provide a further understanding of the present invention and form a part of the present application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an undue limitation on the present invention. In the drawings:
图1是根据本发明实施例提供的终端的结构示意图;FIG. 1 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
图2是根据本发明实施例提供的摄像头运动位置的示意图(一);FIG. 2 is a schematic diagram (1) of the movement position of a camera according to an embodiment of the present invention;
图3是根据本发明实施例提供的摄像头运动位置的示意图(二);FIG. 3 is a schematic diagram (2) of camera movement positions provided according to an embodiment of the present invention;
图4是根据本发明实施例提供的摄像头拍摄位置的示意图;4 is a schematic diagram of a shooting position of a camera according to an embodiment of the present invention;
图5是根据本发明实施例提供的拍摄方法的流程图;5 is a flowchart of a shooting method according to an embodiment of the present invention;
图6是根据本发明实施例提供的第一拍摄区域示意图;6 is a schematic diagram of a first shooting area according to an embodiment of the present invention;
图7是根据本发明实施例提供的第二拍摄区域示意图;7 is a schematic diagram of a second shooting area according to an embodiment of the present invention;
图8是根据本发明实施例提供的中线位置的示意图;8 is a schematic diagram of the position of the center line provided according to an embodiment of the present invention;
图9是根据本发明具体实施例提供的手机前置摄像头结构示意图;9 is a schematic structural diagram of a front camera of a mobile phone according to a specific embodiment of the present invention;
图10是根据本发明具体实施例提供的前置摄像头工作用坐标系的示意图;10 is a schematic diagram of a working coordinate system for a front camera provided according to a specific embodiment of the present invention;
图11是根据本发明具体实施例提供的前置摄像头工作坐标系中对焦位置的示意图;11 is a schematic diagram of a focus position in a working coordinate system of a front camera according to a specific embodiment of the present invention;
图12是根据本发明具体实施例提供的前置摄像头对应缝隙上边沿位置的工作示意图;FIG. 12 is a working schematic diagram of the position of the upper edge of the slit corresponding to the front camera according to a specific embodiment of the present invention;
图13是根据本发明具体实施例提供的前置摄像头对应缝隙下边沿位置的工作示意图;13 is a working schematic diagram of the position of the lower edge of the slit corresponding to the front camera according to a specific embodiment of the present invention;
图14是根据本发明实施例提供的帧率周期内前置摄像头图像获取流程示意图;14 is a schematic diagram of a process of acquiring a front camera image in a frame rate period according to an embodiment of the present invention;
图15是根据本发明具体实施例提供的上半区图像的示意图;15 is a schematic diagram of an image of an upper half region provided according to a specific embodiment of the present invention;
图16是根据本发明具体实施例提供的下半区图像的示意图;16 is a schematic diagram of an image of a lower half area provided according to a specific embodiment of the present invention;
图17是根据本发明具体实施例提供的完整图像的示意图;17 is a schematic diagram of a complete image provided according to a specific embodiment of the present invention;
图18是根据本发明具体实施例提供的图像处理的示意图;18 is a schematic diagram of image processing according to a specific embodiment of the present invention;
图19是根据本发明实施例提供的拍摄装置的结构框图。19 is a structural block diagram of a photographing device according to an embodiment of the present invention.
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。Hereinafter, the present invention will be described in detail with reference to the drawings and in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other if there is no conflict.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that the terms “first” and “second” in the description and claims of the present invention and the above drawings are used to distinguish similar objects, and do not have to be used to describe a specific order or sequence.
实施例1Example 1
在本实施例中提供了一种终端,图1是根据本发明实施例提供的终端的结构示意图;如图1所示,终端包括:壳体102、显示面板104和摄像头106;摄像头106设置在终端的内部,并位于显示面板104与壳体102所形成的缝隙108的后方。A terminal is provided in this embodiment. FIG. 1 is a schematic structural diagram of a terminal provided according to an embodiment of the present invention. As shown in FIG. 1, the terminal includes: a housing 102, a display panel 104, and a camera 106; Inside the terminal, it is located behind the gap 108 formed by the display panel 104 and the housing 102.
在上述实施例中,上述终端通过将摄像头设置在终端的所述显示面板与所述壳体所形成的缝隙的后方,从而提高了终端的屏占比。因此,本实施例中的终端可以解决相关技术中终端设备受前置摄像头的布局影响而无法提高屏占比的问题。In the above embodiment, the terminal is provided with a camera behind the gap formed by the display panel and the case of the terminal, thereby increasing the screen ratio of the terminal. Therefore, the terminal in this embodiment can solve the problem that the terminal device in the related art is affected by the layout of the front camera and cannot increase the screen ratio.
需要进一步说明的是,本实施例中的终端包括但不限于手机、平板电脑、PC、可穿戴设备等,任何具有前置摄像功能,并包括有壳体以及显示面板的终端,均可作为本实施例中的终端;本发明对于终端的具体种类不做限定。It should be further noted that the terminals in this embodiment include but are not limited to mobile phones, tablet computers, PCs, wearable devices, etc. Any terminal with a front camera function and including a case and a display panel can be used as the terminal The terminal in the embodiment; the present invention does not limit the specific type of terminal.
上述终端中,壳体即为对于终端形成包覆的外壳,通常而言,壳体包括上端面、下端面、侧端面、前端面以及后端面,壳体前端面开设有用于安装显示面板的开口,用于安装显示面板;当显示面板安装在上述开口之中时,显示面板与壳体构成终端整体。需要说明的是,上述壳体可以是一体成形的部件,也可以是多个部件连接而成(如手机的后盖与侧围),本发明对于壳体的结构不做限定。In the above terminal, the housing is a shell forming a cover for the terminal. Generally, the housing includes an upper end surface, a lower end surface, a side end surface, a front end surface, and a rear end surface. The front end surface of the housing is provided with an opening for installing a display panel , Used to install the display panel; when the display panel is installed in the above opening, the display panel and the housing constitute the terminal as a whole. It should be noted that the above-mentioned housing may be an integrally formed component, or may be a combination of multiple components (such as a back cover and a side wall of a mobile phone). The present invention does not limit the structure of the housing.
上述显示面板与壳体之间进行装配过程中,由于显示面板与壳体之间同一部件,则必然存在一定的空隙,该空隙即构成上述实施例中所述的缝隙。上述缝隙可以是显示面板与壳体之间在装配过程中自然形成的缝隙,也可以是在上述装配形成的缝隙基础上,根据需要进一步人为设置的缝隙。需要说明的是,以手机为例,显示面板外部通常还设置有玻璃面板或电容触控组件,本实施例中的缝隙即可以设置在玻璃面板下方,也可以在玻璃面板与缝隙对应的区域进行开槽。During the assembly process between the display panel and the housing, because there is the same component between the display panel and the housing, there must be a certain gap, and the gap constitutes the gap described in the above embodiment. The above-mentioned gap may be a gap naturally formed between the display panel and the housing during the assembly process, or may be a gap further artificially provided according to needs based on the gap formed by the above-mentioned assembly. It should be noted that, taking a mobile phone as an example, a glass panel or a capacitive touch component is usually provided outside the display panel. The slit in this embodiment may be provided under the glass panel, or in the area corresponding to the slit of the glass panel Slotted.
上述摄像头用于指示终端中位于终端前端的前置摄像头,摄像头设置在终端的内部,并位于显示面 板与壳所形成的缝隙的后方,则具体指示将前置摄像头设置在终端内部,即壳体与显示面板之间;由于上述实施例中的缝隙形成于壳体与显示面板之间,因此,当摄像头位于终端内部时,摄像头与缝隙则分别分布在终端在前端面以及内部,进而形成了错落分布的结构;为使得摄像头在工作过程中尽可能的及时反应,摄像头应与缝隙应位于彼此相对的高度位置(以终端在使用状态下竖直放置的方式作为参考),或摄像头与缝隙所处的高度位置位于合理的差值内。上述壳体与显示面板之间的区域内除设置有本实施例中的摄像头外,还设置有诸如控制部件、存储部件、电源部件、散热部件等等,本发明对于终端内部除摄像头外的部件类型及其布局方式不做限定。The above-mentioned camera is used to instruct the front-facing camera located at the front end of the terminal in the terminal. The camera is located inside the terminal and behind the gap formed by the display panel and the case. Between the display panel and the display panel; because the gap in the above embodiment is formed between the housing and the display panel, when the camera is inside the terminal, the camera and the gap are distributed on the front end surface and inside of the terminal, respectively, thereby forming a stagger Distributed structure; In order to make the camera react as quickly as possible during the work, the camera and the gap should be located at a height relative to each other (the terminal is placed vertically in use as a reference), or the camera and the gap are located The height position is within a reasonable difference. In addition to the camera in this embodiment, the area between the housing and the display panel is also provided with components such as control components, storage components, power components, heat dissipation components, etc. The type and layout method are not limited.
由于本实施例的终端中将摄像头设置在终端的内部,故在终端的前端面,即终端的显示面板所在端面之中,仅保留有显示面板与壳体之间形成的缝隙。相较于相关技术中将摄像头直接设置在终端的前端的方案(即摄像头与显示面板并列),本实施例中的缝隙的宽度明显小于摄像头在该方向上的物理宽度,因此,终端的端面之上的不再需要预留与摄像头的对应面积相等的空间,进而使得终端前端的屏占比得以进一步提高。Since the camera in the terminal of this embodiment is provided inside the terminal, only the gap formed between the display panel and the case remains in the front end surface of the terminal, that is, the end surface where the display panel of the terminal is located. Compared with the solution in the related art in which the camera is directly placed at the front end of the terminal (that is, the camera is in parallel with the display panel), the width of the slit in this embodiment is significantly smaller than the physical width of the camera in this direction. Therefore, the end face of the terminal It is no longer necessary to reserve a space equal to the corresponding area of the camera, thereby further increasing the screen ratio of the front end of the terminal.
在一可选实施例中,终端还包括:In an alternative embodiment, the terminal further includes:
位移组件110,设置在终端的内部,并与摄像头连接,用于驱动摄像头沿缝隙的垂直方向移动。The displacement component 110 is provided inside the terminal and connected to the camera, and is used to drive the camera to move in the vertical direction of the slit.
需要进一说明的是,上述位移组件用于控制摄像头沿缝隙的垂直方向移动,以另摄像头可在缝隙的不同位置实现相对于缝隙边缘不同角度的拍摄;根据光学原理,摄像头相对于缝隙边缘不同角度的拍摄过程中获取的图像也是不同的,即位移组件控制摄像头沿缝隙的垂直方向移动过程中即可使得摄像头获取不同角度下的图像,对于上述图像进行相关处理后即可获取完整的图像以供用户操作。因此,本实施例中的终端在提高了终端的屏占比的同时,还可保证良好的拍摄效果。It should be further noted that the above displacement component is used to control the camera to move in the vertical direction of the slit, so that the camera can shoot at different angles relative to the edge of the slit at different positions of the slit; according to the optical principle, the camera is different from the edge of the slit The images obtained during the shooting at different angles are also different, that is, the displacement component controls the camera to move in the vertical direction of the slit, so that the camera can obtain images at different angles, and the relevant images can be processed to obtain the complete image. For user operation. Therefore, the terminal in this embodiment improves the screen ratio of the terminal while also ensuring a good shooting effect.
为实现摄像组件的移动,上述位移组件至少包括一个用于连接摄像头的连接部,以及一个用于驱动连接部以及摄像组件进行移动的驱动部,例如,上述位移组件可包括由丝杆构成的连接部以及微型电机构成的驱动部,或由滑轨构成的连接部以及由驱动轮构成的驱动部,或采用集成有上述连接部与驱动部的电动推杆等等;本发明对于位移组件的具体构成不做限定,任何可实现上述功能的位移组件均属于本发明的保护范围。In order to achieve the movement of the camera assembly, the above displacement assembly includes at least one connecting portion for connecting the camera, and a driving portion for driving the connecting portion and the camera assembly to move, for example, the above displacement assembly may include a connection formed by a screw The drive part composed of the motor and the micro motor, or the connection part composed of the slide rail and the drive part composed of the drive wheel, or the electric push rod integrated with the above-mentioned connection part and the drive part, etc.; The composition is not limited, and any displacement component that can achieve the above-mentioned functions belongs to the protection scope of the present invention.
上述驱动部还应包括有控制部,以用于控制驱动部驱使连接部进行运动,进而控制摄像头的移动;控制部即可以采用独立与驱动部集成设置的控制单元,例如存储有控制指令的存储器,以及用于发送控制指令的控制器等,也可以将控制部与终端自身的控制模块相结合,即在相关终端设备的CPU中集成对于位移组件以及摄像头的控制指令。上述任何一种方式中,控制部与驱动部之间形成直接或间接的电连接,即可使得驱动部、连接部以及摄像头可在控制部产生的控制指令的下产生对应的移动;控制部与驱动部之间的具体连接方式可采用物理连接或无线通信连接,本发明对此不作限定。The above-mentioned driving part should also include a control part for controlling the driving part to drive the connecting part to move, thereby controlling the movement of the camera; the control part can adopt a control unit independently integrated with the driving part, such as a memory storing control instructions , And a controller for sending control commands, etc., may also combine the control part with the terminal's own control module, that is, integrate the control commands for the displacement component and the camera in the CPU of the relevant terminal device. In any of the above methods, a direct or indirect electrical connection is formed between the control unit and the drive unit, that is, the drive unit, the connection unit, and the camera can move correspondingly under the control command generated by the control unit; The specific connection mode between the driving parts may be a physical connection or a wireless communication connection, which is not limited in the present invention.
在一可选实施例中,位移组件110包括:In an alternative embodiment, the displacement component 110 includes:
滑轨1102,沿缝隙108的垂直方向设置;The slide rail 1102 is arranged along the vertical direction of the gap 108;
驱动部件1104,与摄像头106相连,用于驱动摄像头106沿滑轨1102移动。The driving component 1104 is connected to the camera 106 and is used to drive the camera 106 to move along the slide rail 1102.
需要进一步说明的是,上述滑轨即可作为上述实施例中的连接部,驱动部件即可作为上述实施例中的驱动部。图2是根据本发明实施例提供的摄像头运动位置的示意图(一),图3是根据本发明实施例提供的摄像头运动位置的示意图(二),如图2与图3所示,摄像头在位移组件中的驱动部件控制下,沿滑轨分别运动至相对于缝隙的上边缘对应位置以及下边缘对应位置进行拍摄处理,以完成沿缝隙的垂直方向的移动。It should be further noted that the above-mentioned slide rail can be used as the connecting portion in the above-mentioned embodiment, and the driving member can be used as the driving portion in the above-mentioned embodiment. 2 is a schematic diagram (1) of the camera movement position provided according to an embodiment of the present invention, and FIG. 3 is a schematic diagram (2) of the camera movement position provided according to an embodiment of the present invention. As shown in FIGS. 2 and 3, the camera is moving Under the control of the driving component in the assembly, the slide rail is moved to the corresponding position of the upper edge and the lower edge of the slit respectively to perform shooting processing to complete the movement in the vertical direction of the slit.
实施例2Example 2
在本实施例中提供了一种拍摄方法,应用于上述实施例中的终端,图4是根据本发明实施例提供的摄像头拍摄位置的示意图,如图4所示,终端包括:壳体102、显示面板104、摄像头106和位移组件110;摄像头106设置在终端的内部,并位于显示面板104与壳体102所形成的缝隙108的后方,位移 组件110与摄像头106连接,用于驱动摄像头106沿缝隙108的垂直方向移动;此外,本实施例中摄像头进行拍摄的位置包括缝隙108的第一边沿1082以及第二边沿1084。图5是根据本发明实施例提供的拍摄方法的流程图,如图5所示,本实施例中的方法包括:In this embodiment, a shooting method is provided, which is applied to the terminal in the above embodiment. FIG. 4 is a schematic diagram of a camera shooting position according to an embodiment of the present invention. As shown in FIG. 4, the terminal includes: a housing 102, The display panel 104, the camera 106, and the displacement component 110; the camera 106 is disposed inside the terminal and is located behind the gap 108 formed by the display panel 104 and the housing 102, and the displacement component 110 is connected to the camera 106 for driving the camera 106 along The slit 108 moves in the vertical direction; in addition, in this embodiment, the position where the camera shoots includes the first edge 1082 and the second edge 1084 of the slit 108. FIG. 5 is a flowchart of a shooting method according to an embodiment of the present invention. As shown in FIG. 5, the method in this embodiment includes:
S202,驱动摄像头沿缝隙的垂直方向移动至缝隙的第一边沿,并通过缝隙对第一拍摄区域进行取景;S202, driving the camera to move to the first edge of the slit in the vertical direction of the slit, and framing the first shooting area through the slit;
S204,驱动摄像头沿缝隙的垂直方向移动至缝隙的与第一边沿相对的第二边沿,并通过缝隙对第二拍摄区域进行取景;S204, driving the camera to move in the vertical direction of the slit to the second edge of the slit opposite to the first edge, and framing the second shooting area through the slit;
S206,将第一拍摄区域的取景图像与第二拍摄区域的取景图像进行拼接形成拍摄取景图像。S206, stitching the framing image of the first shooting area and the framing image of the second shooting area to form a shooting framing image.
在上述实施例中,上述终端将摄像头设置在终端的所述显示面板与所述壳体所形成的缝隙的后方,上述拍摄方法则通过驱动摄像头在缝隙的垂直方向上移动并对于不同的拍摄区域进行取景拍摄,以获取不同拍摄区域的取景图像,通过对于上述不同拍摄区域的取景图像进行拼接即形成拍摄取景图像,从而在提高终端的屏占比的同时,亦可确保前置摄像头的拍摄效果。因此,本实施例中的拍摄方法可以解决相关技术中终端设备受前置摄像头的布局影响而无法提高屏占比的问题。In the above embodiment, the terminal sets the camera behind the gap formed by the display panel and the housing of the terminal, and the above-mentioned shooting method moves the camera in the vertical direction of the gap by driving the camera to different shooting areas Perform framing shooting to obtain framing images of different shooting areas, and form framing images by stitching the framing images of the above different shooting areas, thereby improving the screen ratio of the terminal and ensuring the shooting effect of the front camera . Therefore, the shooting method in this embodiment can solve the problem that the terminal device in the related art is affected by the layout of the front camera and cannot increase the screen ratio.
在一可选实施例中,步骤S202和步骤S204的执行顺序是可以相互调换的,即可以先执行步骤S204,然后再执行S202。In an alternative embodiment, the execution order of step S202 and step S204 can be interchanged, that is, step S204 can be executed first, and then S202 can be executed.
在一可选实施例中,步骤S202至S206的执行主体均为控制组件,控制组件可以统一集成在终端的控制模块中,即通过终端设备的CPU实现对于步骤S202与步骤S204中摄像头的移动、拍摄以及步骤S206中对于图像的拼接处理。控制组件也可以由独立的第一控制组件控制步骤S202与步骤S204中摄像头的移动与拍摄,由独立的第二控制组件实现步骤S206中对于图像的拼接处理,本发明对于控制组件的具体构成不做限定。In an alternative embodiment, the execution subjects of steps S202 to S206 are all control components. The control components can be integrated into the control module of the terminal, that is, the movement of the camera in step S202 and step S204 is realized by the CPU of the terminal device, Shooting and stitching processing for images in step S206. The control component may also be controlled by an independent first control component to move and shoot the camera in steps S202 and S204. The independent second control component implements the image splicing process in step S206. Be limited.
如图4所示,上述步骤S202中缝隙的第一边沿即指示缝隙中相对于壳体一侧的对应的边沿位置,当终端在常规使用状态下处于竖直放置的方式时,第一边沿即为缝隙的上边沿。上述第一拍摄区域用于指示摄像头位于缝隙的第一边沿位置时所对应的拍摄图像,图6是根据本发明实施例提供的第一拍摄区域示意图,如图6所示,当摄像头位于缝隙的第一边沿对应位置时,根据光学原理,摄像头的拍摄范围对应为相对于缝隙的下半区区域,即本实施例中的第一拍摄区域为上述下半区区域。需要进一步说明的是,摄像头移动至缝隙的第一边沿,用于指示摄像头移动至与缝隙的第一边沿所处高度齐平的位置,而并非使得摄像头与第一边沿接触。上述步骤S204中缝隙的第二边沿即指示缝隙中相对于显示面板一侧的对应的边沿位置,当终端在常规使用状态下处于竖直放置的方式时,第一边沿即为缝隙的下边沿。上述第二拍摄区域用于指示摄像头位于缝隙的第二边沿位置时所对应的拍摄图像,图7是根据本发明实施例提供的第二拍摄区域示意图,如图7所示,当摄像头位于缝隙的第二边沿对应位置时,根据光学原理,摄像头的拍摄范围对应为相对于缝隙的上半区区域,即本实施例中的第二拍摄区域为上述上半区区域。需要进一步说明的是,摄像头移动至缝隙的第二边沿,用于指示摄像头移动至与缝隙的第二边沿所处高度齐平的位置,而并非使得摄像头与第二边沿接触。As shown in FIG. 4, the first edge of the slit in step S202 indicates the corresponding edge position of the slit relative to the side of the case. When the terminal is placed vertically in the normal use state, the first edge is The upper edge of the gap. The above first shooting area is used to indicate the corresponding shooting image when the camera is located at the first edge of the slit. FIG. 6 is a schematic diagram of the first shooting area according to an embodiment of the present invention. As shown in FIG. 6, when the camera is located at the slit When the first edge corresponds to the position, according to the optical principle, the shooting range of the camera corresponds to the lower half area relative to the slit, that is, the first shooting area in this embodiment is the above lower half area. It should be further noted that the camera moves to the first edge of the slit, which is used to instruct the camera to move to a position flush with the first edge of the slit, instead of making the camera contact the first edge. The second edge of the slit in step S204 indicates the corresponding edge position of the slit relative to the side of the display panel. When the terminal is placed vertically in the normal use state, the first edge is the lower edge of the slit. The above second shooting area is used to indicate the corresponding shooting image when the camera is located at the second edge position of the slit. FIG. 7 is a schematic diagram of the second shooting area according to an embodiment of the present invention. As shown in FIG. 7, when the camera is located at the slit When the second edge corresponds to the position, according to the optical principle, the shooting range of the camera corresponds to the upper half area relative to the slit, that is, the second shooting area in this embodiment is the upper half area. It should be further noted that the camera moves to the second edge of the slit, which is used to instruct the camera to move to a position flush with the second edge of the slit, rather than contacting the camera with the second edge.
以人像的拍摄为例,当用户需要对于自身人像进行取景时,摄像头位于缝隙的第一边沿时即可对于人像的下半身进行拍摄,摄像头位于缝隙的第二边沿时即可对于人像的上半身进行拍摄,对于上述上半身图像与下半身图像进行拼接或结合处理,即可合成得到完整的人像图像。Taking the portrait shooting as an example, when the user needs to frame his own portrait, the camera can locate the lower body of the portrait when the camera is located at the first edge of the gap, and can shoot the upper body of the portrait when the camera is located at the second edge of the gap , By stitching or combining the above upper body image and the lower body image, a complete portrait image can be synthesized.
在一可选实施例中,上述步骤S202中,在驱动摄像头沿缝隙的垂直方向移动至缝隙的第一边沿之前,还包括:In an optional embodiment, in the above step S202, before driving the camera to move to the first edge of the slit in the vertical direction of the slit, the method further includes:
当摄像头初始化时,采集缝隙的第一边沿和第二边沿的位置信息;When the camera is initialized, the position information of the first and second edges of the gap is collected;
根据所采集的位置信息建立坐标轴,其中,缝隙延伸方向为X轴,缝隙的垂直方向为Y轴,取景方向为Z轴。The coordinate axis is established according to the collected position information, wherein the extending direction of the slit is the X axis, the vertical direction of the slit is the Y axis, and the viewing direction is the Z axis.
需要进一步说明的是,上述摄像头初始化的时刻用于指示终端开始工作的时刻,通常为终端自关机状态进入至开机状态,或终端自休眠状态进入至工作状态两种情况;上述摄像头初始化中,可由控制组 件指示摄像头获取缝隙的第一边沿位置以及第二边沿位置,具体可通过摄像头获取包括缝隙第一边沿与第二边沿在内的图像,根据对于图像的处理或识别以获取摄像缝隙的第一边沿以及第二边沿的对应位置。It should be further noted that the time when the camera is initialized is used to indicate the time when the terminal starts to work. Usually, the terminal enters the power-on state from the shutdown state or enters the working state from the sleep state; in the camera initialization, the The control component instructs the camera to obtain the first edge position and the second edge position of the slit, specifically the image including the first edge and the second edge of the slit can be acquired through the camera, and the first of the camera slit can be obtained according to the processing or recognition of the image The corresponding position of the edge and the second edge.
进一步的,在摄像头获取缝隙的第一边沿与第二边沿的前提下,即可将第一边沿或第二边沿的延伸方向作为缝隙延伸方向,即为X轴,将第一边沿与第二边沿的相对方向作为缝隙的垂直方向,即为Y轴,并将摄像头的拍摄取景方向作为Z轴。Further, on the premise that the camera acquires the first edge and the second edge of the slit, the extension direction of the first edge or the second edge can be used as the slit extension direction, that is, the X axis, and the first edge and the second edge The relative direction of is the vertical direction of the slit, which is the Y axis, and the shooting direction of the camera is the Z axis.
在一可选实施例中,上述根据所采集的位置信息建立坐标轴之后,还包括:In an optional embodiment, after the coordinate axis is established according to the collected position information, the method further includes:
根据所建立的坐标轴计算出第一边沿和第二边沿之间的中线位置;Calculate the midline position between the first edge and the second edge according to the established coordinate axis;
驱动摄像头沿Y轴移动至中线位置,并对摄像头进行对焦。Drive the camera to move to the centerline position along the Y axis, and focus the camera.
需要进一步说明的是,上述第一边沿和第二边沿之间的中线位置具体用于指示缝隙的中央位置,图8是根据本发明实施例提供的中线位置的示意图,如图8所示,第一边沿1082与第二边沿1084的中央位置即为上述中线1086。上述中线位置可用于摄像头的对焦处理,当摄像头完成对焦处理后,即完成了摄像头的初始化。此外,上述中线位置还可以用于摄像头完成步骤S202至S206的拍摄方法后进行复位。It should be further noted that the position of the center line between the first edge and the second edge is specifically used to indicate the center position of the gap. FIG. 8 is a schematic diagram of the position of the center line according to an embodiment of the present invention. As shown in FIG. 8, The central position of one edge 1082 and the second edge 1084 is the above-mentioned middle line 1086. The above-mentioned centerline position can be used for the camera's focusing process. After the camera completes the focusing process, the camera's initialization is completed. In addition, the above-mentioned midline position can also be used for the camera to reset after completing the shooting methods of steps S202 to S206.
在一可选实施例中,上述步骤S206中,将第一拍摄区域的取景图像与第二拍摄区域的取景图像进行拼接形成拍摄取景图像,包括:In an optional embodiment, in the above step S206, stitching the framing image of the first shooting area and the framing image of the second shooting area to form a shooting framing image includes:
分别提取第一拍摄区域的取景图像和第二拍摄区域的取景图像中的特征点;Extract feature points in the framing image of the first shooting area and the framing image of the second shooting area, respectively;
根据所提取的特征点将第一拍摄区域的取景图像和第二拍摄区域的取景图像拼接成拍摄取景图像;Stitching the framing image of the first shooting area and the framing image of the second shooting area into a shooting framing image according to the extracted feature points;
根据预设显示比例对拍摄取景图像进行比例选取。Proportionally select the captured view image according to the preset display scale.
需要进一步说明的是,上述第一拍摄区域的取景图像与第二拍摄区域的取景图像中的特征点,通常用于指示构成取景图像的基本像素点,通过对于基本像素点的拼接即可得到完整的拍摄取景图像;上述第一拍摄区域的取景图像与第二拍摄区域的取景图像中的特征点在拼接过程中,可将第一拍摄区域的取景图像与第二拍摄区域的取景图像中相互重合的特征点作为参照。It should be further noted that the feature points in the framing image of the first shooting area and the framing image of the second shooting area are usually used to indicate the basic pixels constituting the framing image, and the completeness can be obtained by stitching the basic pixels Shooting framing image; the feature points in the framing image of the first shooting area and the framing image of the second shooting area can be overlapped with each other in the stitching process of the framing image of the first shooting area and the framing image of the second shooting area As the reference point.
由于第一拍摄区域的取景图像或第二拍摄区域的取景图像较于拍摄取景图像并非是1:2的比例,故将第一拍摄区域的取景图像与第二拍摄区域的取景图像拼接后,需进行一定比例的缩小方可得到可在终端中正常显示的拍摄取景图像;需要说明的是,上述比例与本实施例中的缝隙在垂直方向上的宽度相关,本发明对于比例的具体设置不做限定。Since the framing image in the first shooting area or the framing image in the second shooting area is not a ratio of 1:2 compared to the framing image, after stitching the framing image in the first shooting area and the framing image in the second shooting area, you need to A certain ratio can be reduced to obtain a shooting view image that can be displayed normally in the terminal; it should be noted that the above ratio is related to the width of the slit in the vertical direction in this embodiment, and the present invention does not make a specific setting for the ratio limited.
在一可选实施例中,上述步骤S206中,将第一拍摄区域的取景图像与第二拍摄区域的取景图像进行拼接形成拍摄取景图像之后,将拍摄取景图像进行存储以作为拍摄图像。In an alternative embodiment, in the above step S206, after the framing image of the first shooting area and the framing image of the second shooting area are stitched to form a photographing framing image, the photographing framing image is stored as the photographing image.
需要进一步说明的是,上述将拍摄取景图像进行存储即将拍摄取景图像存储在终端的存储模块中,并通过“相册”等应用向用户展示。除上述存储操作外,本实施例的拍摄方法也可以将上述拍摄取景图像在终端的显示面板中进行实时显示。It should be further noted that the above-mentioned storing of the captured framing image is to store the captured framing image in the storage module of the terminal, and display it to the user through an application such as “album”. In addition to the above-mentioned storage operation, the shooting method of this embodiment can also display the above-mentioned captured framing image in real time on the display panel of the terminal.
在一可选实施例中,在摄像头的一个刷新周期内最少完成一组第一拍摄区域取景操作、第二拍摄区域取景操作以及取景图像的拼接操作。In an alternative embodiment, at least one set of framing operations for the first shooting area, framing operations for the second shooting area, and stitching operations for the framing images are completed at least within one refresh period of the camera.
需要进一步说明的是,上述一个刷新周期是指显示面板内每一帧图像的刷新周期,即本实施例中通过在一个刷新周期内完成摄像头在缝隙的第一边沿与第二边沿之间的位移,对应位置取景图像的拍摄以及取景图像的拼接操作;上述技术方案可使得显示面板在显示图像时并不会由于本实施例中的拍摄方法而产生延时。当本实施例中的拍摄方法用于连拍或视频通话时,还可以在一个刷新周期内可完成多组操作,并选取多组操作中对应清晰度最佳的图像进行保存。It should be further noted that the above one refresh cycle refers to the refresh cycle of each frame of image in the display panel, that is, in this embodiment, the displacement of the camera between the first edge and the second edge of the slit is completed in one refresh cycle , The shooting of the framing image at the corresponding position and the stitching operation of the framing image; the above technical solution can make the display panel display the image without delay due to the shooting method in this embodiment. When the shooting method in this embodiment is used for continuous shooting or video calling, multiple sets of operations can also be completed within one refresh cycle, and images with the best resolution among the multiple sets of operations can be selected and saved.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使 得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware, but in many cases the former is Better implementation. Based on this understanding, the technical solution of the present invention can be embodied in the form of a software product in essence or part that contributes to the existing technology, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The CD-ROM includes several instructions to enable a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods of various embodiments of the present invention.
为进一步说明本实施例中的摄影终端的结构及其工作方式,以下通过具体实施例的方式进行详细说明:To further explain the structure and working mode of the photographing terminal in this embodiment, the following detailed description will be made by way of specific embodiments:
具体实施例1Specific Example 1
本具体实施例以手机终端进行具体说明,本具体实施例中的手机采用前置摄像头与屏幕前后重叠设置的方案,而非相关技术中屏幕与前置摄像头并列设置的方案;具体而言,本具体实施例中将前置摄像头设置在手机内部,并利用显示面板与手机壳体之间的缝隙实现前置摄像头的取景。图9是根据本发明具体实施例提供的手机前置摄像头的结构示意图,如图9所示,手机的壳体302与显示屏304之间形成缝隙306,前置摄像头308设置在手机壳体302内部,且与上述缝隙306彼此相对,前置摄像头308在壳体内部还连接有滑动装置,如滑轨,前置摄像头308具体可沿滑轨在缝隙的宽度方向上(即手机竖直放置下的高度方向)上进行滑动。显示屏304的外部还覆盖有玻璃面板310。This specific embodiment is specifically described with a mobile phone terminal. The mobile phone in this specific embodiment adopts a scheme in which the front camera and the front and back of the screen are overlapped instead of the scheme in which the screen and the front camera are arranged in parallel in the related art; In a specific embodiment, the front camera is arranged inside the mobile phone, and the gap between the display panel and the mobile phone housing is used to realize the framing of the front camera. 9 is a schematic structural diagram of a front camera of a mobile phone according to a specific embodiment of the present invention. As shown in FIG. 9, a gap 306 is formed between the housing 302 of the mobile phone and the display screen 304, and the front camera 308 is disposed on the housing 302 of the mobile phone Inside, and opposite to the above-mentioned gap 306, the front camera 308 is also connected with a sliding device inside the housing, such as a slide rail, the front camera 308 can be specifically along the slide rail in the width direction of the gap (that is, the phone is placed vertically In the height direction). The outside of the display screen 304 is also covered with a glass panel 310.
上述缝隙306的宽度明显小于前置摄像头308的常规宽度,因此,本具体实施例中的手机可在前端实现屏占比的显著提升。The width of the above-mentioned slit 306 is significantly smaller than the conventional width of the front camera 308. Therefore, the mobile phone in this specific embodiment can achieve a significant increase in the screen ratio at the front end.
本具体实施例中的前置摄像头进行工作时的步骤如下所述:The steps of the front camera in this specific embodiment when working are as follows:
S1,当前置摄像头308启动时,采集缝隙边缘。前置摄像头308启动用于指示前置摄像头308进行初始化处理,该启动工作可以设定在手机每次开机后,也可以设置在手机每次结束休眠后。前置摄像头308采集缝隙边缘可通过建立坐标系的方式得以实现,图10是根据本发明具体实施例提供的前置摄像头工作坐标系的示意图,如图10所示,该坐标系的建立参照如下步骤:S1, when the front camera 308 is started, the edge of the gap is collected. The start of the front camera 308 is used to instruct the front camera 308 to perform an initialization process. The start work can be set after the mobile phone is turned on each time, or can be set after the mobile phone ends sleep every time. The acquisition of the edge of the gap by the front camera 308 can be achieved by establishing a coordinate system. FIG. 10 is a schematic diagram of the working coordinate system of the front camera according to a specific embodiment of the present invention. As shown in FIG. 10, the reference for establishing the coordinate system is as follows step:
S1.1,建立坐标系,以缝隙306的长度方向为X轴;以缝隙306的宽度方向或前置摄像头308的运动方向为Y轴;以前置摄像头308取景方向为Z轴,其中X轴Y轴相互垂直;S1.1, establishing a coordinate system, taking the length direction of the slit 306 as the X axis; taking the width direction of the slit 306 or the movement direction of the front camera 308 as the Y axis; taking the front camera 308 viewing direction as the Z axis, where the X axis is Y The axes are perpendicular to each other;
S1.2,在手机开机后,即前置摄像头308上电时,前置摄像头308保持静止并扫描缝隙306的上下边沿对应的上下边沿信息,上下边沿信息具体为上边沿与下边沿所在高度位置;S1.2, after the mobile phone is turned on, that is, when the front camera 308 is powered on, the front camera 308 remains stationary and scans the upper and lower edge information corresponding to the upper and lower edges of the gap 306, and the upper and lower edge information is specifically the height position of the upper edge and the lower edge ;
S1.3,根据采集到的上下边沿信息,在步骤S1.1中建立的坐标系上标注上下边沿信息对应的坐标。S1.3. According to the collected upper and lower edge information, the coordinates corresponding to the upper and lower edge information are marked on the coordinate system established in step S1.1.
S2,根据坐标系中的缝隙306上下边沿信息对应的坐标,计算缝隙306中心线对应的坐标;具体而言,可定义上边沿缝隙与Y轴相交位置为Y1,定义下边沿缝隙与Y轴相交位置为Y2,定义线段Y1-Y2的中点为X和Y坐标平面的(0,0)点,建立X坐标轴,此坐标轴即为缝隙中心线312;图11是根据本发明具体实施例提供的前置摄像头工作坐标系中对焦位置的示意图,如图11所示,该坐标轴以图11中示意的(0,0)位置作为对焦焦点位置进行X轴的建立。S2, according to the coordinates corresponding to the upper and lower edge information of the gap 306 in the coordinate system, calculate the coordinates corresponding to the center line of the gap 306; specifically, the position where the upper edge gap intersects the Y axis can be defined as Y1, and the lower edge gap intersects the Y axis The position is Y2, the midpoint of the line segment Y1-Y2 is defined as the (0,0) point of the X and Y coordinate planes, and the X coordinate axis is established, and this coordinate axis is the gap center line 312; FIG. 11 is a specific embodiment according to the present invention The schematic diagram of the focus position in the working coordinate system of the front camera is provided. As shown in FIG. 11, the coordinate axis uses the (0, 0) position shown in FIG. 11 as the focus position to establish the X axis.
完成上述设置后,前置摄像头308做Y轴方向位移调整,运动至(0,0)点,此时摄像头对焦缝隙中心。After completing the above settings, the front camera 308 adjusts the displacement in the Y-axis direction and moves to the point (0, 0), at which time the camera focuses on the center of the gap.
当手机每次启动前置摄像头时,设置前置摄像头308自动执行上述流程,即使得前置摄像头308对焦坐标的(0,0);此外,在前置摄像头308每次完成工作后亦将(0,0)作为前置摄像头308的回归复位位置。When the mobile phone activates the front camera each time, the front camera 308 is set to automatically perform the above process, that is, the focus coordinates of the front camera 308 are (0, 0); in addition, each time the front camera 308 completes its work will also ( 0,0) as the return position of the front camera 308.
S3,当前置摄像头308需要进行工作时,首先控制前置摄像头308实时运动至上边沿信息对应坐标,前置摄像头308在缝隙上边沿对应位置时,可采集到更多的下半区景物,因此,前置摄像头308在完成对焦后,需运动至缝隙上边沿信息坐标位置对于下半区进行取景;图12是根据本发明具体实施例提供的前置摄像头对应缝隙上边沿位置的工作示意图,如图12所示,前置摄像头在缝隙上边沿对应位置完成对于下半区的取景。S3, when the current camera 308 needs to work, first control the front camera 308 to move to the coordinates corresponding to the upper edge information in real time. When the front camera 308 is at the corresponding position of the upper edge of the gap, more scenes in the lower half can be collected. Therefore, After the front camera 308 has finished focusing, it needs to move to the coordinate position of the upper edge of the slit for framing the lower half of the area; FIG. 12 is a schematic diagram of the work of the front camera corresponding to the position of the upper edge of the slit according to a specific embodiment of the present invention, as shown in the figure As shown in 12, the front camera completes the framing of the lower half of the area at the corresponding position on the upper edge of the gap.
S4,同理,前置摄像头308在缝隙下边沿对应位置时,可采集到更多的上半区景物,因此,前置摄像头308在完成上半区的取景处理后,需运动至缝隙下边沿信息坐标位置对于上半区进行取景;图13是根据本发明具体实施例提供的前置摄像头对应缝隙下边沿位置的工作示意图,如图13所示,前置摄像头308在缝隙下边沿对应位置完成对于上半区的取景;S4. Similarly, when the front camera 308 is at the corresponding position on the lower edge of the gap, more scenes in the upper half can be collected. Therefore, the front camera 308 needs to move to the lower edge of the gap after completing the framing process in the upper half. The information coordinate position is used for framing the upper half of the region; FIG. 13 is a schematic diagram of the work of the front camera corresponding to the position of the lower edge of the slit according to a specific embodiment of the present invention. As shown in FIG. 13, the front camera 308 is completed at the position corresponding to the lower edge of the slit For the framing of the upper half;
图14是根据本发明实施例提供的帧率周期内前置摄像头图像获取流程示意图,如图14所示,图14中向上箭头即表示前置摄像头向上运动以获取下半区图像,向下箭头即表示前置摄像头向下运动以获取上半区图像。FIG. 14 is a schematic diagram of an image acquisition process of a front camera in a frame rate period according to an embodiment of the present invention. As shown in FIG. 14, the upward arrow in FIG. 14 indicates that the front camera moves upward to acquire the image of the lower half, and the downward arrow This means that the front camera moves downward to obtain the upper half of the image.
S5,由于上述S3与S4中获取的下半区图像与上半区图像均为局部景相,故需对于上述下半区图像与上半区图像进行实时拼接,以得到完整的景物图像;具体的图像拼接过程如下:S5, because the lower half image and the upper half image obtained in the above S3 and S4 are partial scenes, it is necessary to stitch the lower half image and the upper half image in real time to obtain a complete scene image; specific The image stitching process is as follows:
S5.1,手机中的图像处理芯片,如CPU或DSP,针对实时的一组上下半区两幅图像进行特征点提取和分析;S5.1, the image processing chip in the mobile phone, such as CPU or DSP, performs feature point extraction and analysis on a set of two images in the upper and lower half of the real-time group;
S5.2,根据两幅图片的特征点做增加尺寸的拼接;S5.2, according to the feature points of the two pictures to increase the size of the stitching;
S5.3,根据当前手机显示的尺寸比例,对上述完成拼接的图像做比例选取,选取原则为显示当前显示比例最大的图像景物信息。S5.3, according to the size ratio of the current mobile phone display, the above-mentioned stitched image is selected proportionally, and the selection principle is to display the image scene information with the largest current display ratio.
S5.4,如果在一个刷新帧率周期内,完成多组图像拼接,并在多组图像中选取更清晰的图像作为待显示的图像;图15是根据本发明实施例提供的上半区图像的示意图,图16是根据本发明实施例提供的下半区图像的示意图,图17是根据本发明实施例提供的完整图像的示意图,需要注意的是,本具体实施例为更清楚的展示图像的获取,图15与图16均为手机处于水平状态下进行拍摄的图像,故前置摄像头在拍摄过程中分别获取的是位于缝隙实际方位的左侧及右侧角度下的图像;对于图15与图16中的图像进行拼接,即可得到图17中所示的图像。S5.4, if multiple groups of image stitching are completed within one refresh frame rate period, and a clearer image is selected from the multiple groups of images as the image to be displayed; FIG. 15 is the upper half provided according to an embodiment of the present invention A schematic diagram of the area image, FIG. 16 is a schematic diagram of the lower half image provided according to an embodiment of the present invention, and FIG. 17 is a schematic diagram of the complete image provided according to an embodiment of the present invention. It should be noted that this specific embodiment is more clear Show the acquisition of images. Both Figure 15 and Figure 16 are the images taken when the mobile phone is in a horizontal state, so the front camera acquires the images at the left and right angles of the actual orientation of the slit during the shooting process; By stitching the images in FIG. 15 and FIG. 16, the image shown in FIG. 17 can be obtained.
S5.5,在手机中显示完成处理的图像。S5.5, display the processed image on the mobile phone.
上述S1至S5均需在一个帧率刷新周期内完成;此时终端设备显示的图片为完成拼接且特征明显的清晰图片。All of the above S1 to S5 need to be completed within one frame rate refresh cycle; at this time, the picture displayed by the terminal device is a clear picture with stitching and obvious features.
综上,本具体实施例中的前置摄像头在拍摄过程中所进行的图像实时拼接的处理包括有图像的获取、分析以及拼接三部分构成,图18是根据本发明具体实施例提供的图像处理的示意图。In summary, the process of real-time image stitching performed by the front camera in the shooting process in this specific embodiment includes three parts: image acquisition, analysis, and stitching. FIG. 18 is an image process according to a specific embodiment of the present invention. Schematic.
此外,如果手机处于连续预览模式,如视频通信等,那么每一个刷新帧周期完成一次上述S1至S5,不断重复。In addition, if the mobile phone is in the continuous preview mode, such as video communication, etc., then each refresh frame period completes the above S1 to S5 and repeats continuously.
如果手机处于拍照模式,那么在当前的一个刷新帧周期内,存储最终处理完成的图像,作为拍照图片。If the mobile phone is in the photographing mode, the final processed image is stored as a photographed picture within a current refresh frame period.
实施例3Example 3
在本实施例中还提供了一种摄像装置,本实施例中的摄像装置应用于实施例1的终端,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In this embodiment, an imaging device is also provided. The imaging device in this embodiment is applied to the terminal of Embodiment 1, and the device is used to implement the above embodiments and preferred implementations, and descriptions that have already been described will not be repeated. As used below, the term "module" may implement a combination of software and/or hardware that performs predetermined functions. Although the devices described in the following embodiments are preferably implemented in software, implementation of hardware or a combination of software and hardware is also possible and conceived.
图19是根据本发明实施例提供的摄像装置的结构框图,如图19所示,该装置包括:FIG. 19 is a structural block diagram of an imaging device according to an embodiment of the present invention. As shown in FIG. 19, the device includes:
第一取景模块302,用于驱动摄像头沿缝隙的垂直方向移动至缝隙的第一边沿,并通过缝隙对第一拍摄区域进行取景;The first framing module 302 is used to drive the camera to move to the first edge of the slit in the vertical direction of the slit, and view the first shooting area through the slit;
第二取景模块304,用于驱动摄像头沿缝隙的垂直方向移动至缝隙的与第一边沿相对的第二边沿,并通过缝隙对第二拍摄区域进行取景;The second framing module 304 is used to drive the camera to move in the vertical direction of the slit to the second edge of the slit opposite to the first edge, and view the second shooting area through the slit;
拼接模块306,用于将第一拍摄区域的取景图像与第二拍摄区域的取景图像进行拼接形成拍摄取景图像。The stitching module 306 is used to stitch the framing image of the first shooting area and the framing image of the second shooting area to form a shot framing image.
在上述实施例中,上述终端将摄像头设置在终端的显示面板与壳体所形成的缝隙的后方,上述拍摄装置则通过驱动摄像头在缝隙的垂直方向上移动并对于不同的拍摄区域进行取景拍摄,以获取不同拍摄区域的取景图像,通过对于上述不同拍摄区域的取景图像进行拼接即形成拍摄取景图像,从而在提高终端的屏占比的同时,亦可确保前置摄像头的拍摄效果。因此,本实施例中的拍摄装置可以解决相关技术中终端设备受前置摄像头的布局影响而无法提高屏占比的问题。In the above embodiment, the terminal sets the camera behind the gap formed by the display panel and the case of the terminal, and the shooting device drives the camera to move in the vertical direction of the gap and performs framing shooting for different shooting areas. To obtain the framing images of different shooting areas, the framing images of the above different shooting areas are spliced to form a shooting framing image, so as to increase the screen ratio of the terminal and ensure the shooting effect of the front camera. Therefore, the photographing device in this embodiment can solve the problem that the terminal device in the related art is affected by the layout of the front camera and cannot increase the screen ratio.
在一可选实施例中,第一取景模块302中,在驱动摄像头沿缝隙的垂直方向移动至缝隙的第一边沿之前,还包括:In an optional embodiment, in the first framing module 302, before driving the camera to move to the first edge of the slit in the vertical direction of the slit, the method further includes:
当摄像头初始化时,采集缝隙的第一边沿和第二边沿的位置信息;When the camera is initialized, the position information of the first and second edges of the gap is collected;
根据所采集的位置信息建立坐标轴,其中,缝隙延伸方向为X轴,缝隙的垂直方向为Y轴,取景方向为Z轴。The coordinate axis is established according to the collected position information, wherein the extending direction of the slit is the X axis, the vertical direction of the slit is the Y axis, and the viewing direction is the Z axis.
在一可选实施例中,上述根据所采集的位置信息建立坐标轴之后,还包括:In an optional embodiment, after the coordinate axis is established according to the collected position information, the method further includes:
根据所建立的坐标轴计算出第一边沿和第二边沿之间的中线位置;Calculate the midline position between the first edge and the second edge according to the established coordinate axis;
驱动摄像头沿Y轴移动至中线位置,并对摄像头进行对焦。Drive the camera to move to the centerline position along the Y axis, and focus the camera.
在一可选实施例中,上述拼接模块306中,将第一拍摄区域的取景图像与第二拍摄区域的取景图像进行拼接形成拍摄取景图像,包括:In an optional embodiment, in the above-mentioned stitching module 306, stitching the framing image of the first shooting area and the framing image of the second shooting area to form a shot framing image includes:
分别提取第一拍摄区域的取景图像和第二拍摄区域的取景图像中的特征点;Extract feature points in the framing image of the first shooting area and the framing image of the second shooting area, respectively;
根据所提取的特征点将第一拍摄区域的取景图像和第二拍摄区域的取景图像拼接成拍摄取景图像;Stitching the framing image of the first shooting area and the framing image of the second shooting area into a shooting framing image according to the extracted feature points;
根据预设显示比例对拍摄取景图像进行比例选取。Proportionally select the captured view image according to the preset display scale.
在一可选实施例中,上述拼接模块306中,将第一拍摄区域的取景图像与第二拍摄区域的取景图像进行拼接形成拍摄取景图像之后,还包括:In an optional embodiment, in the above-mentioned stitching module 306, after stitching the framing image of the first shooting area and the framing image of the second shooting area to form a shot framing image, the method further includes:
将拍摄取景图像进行存储以作为拍摄图像。Store the captured framing image as the captured image.
在一可选实施例中,上述拍摄装置在摄像头的一个刷新周期内最少完成一组第一拍摄区域取景操作、第二拍摄区域取景操作以及取景图像的拼接操作。In an alternative embodiment, the above-mentioned shooting device completes at least one set of framing operations for the first shooting area, framing operations for the second shooting area, and stitching operations of the framing images in one refresh period of the camera.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。It should be noted that the above modules can be implemented by software or hardware, and the latter can be implemented by the following methods, but not limited to this: the above modules are all located in the same processor; or, the above modules can be combined in any combination The forms are located in different processors.
实施例4Example 4
本发明的实施例还提供了一种存储介质,该存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。An embodiment of the present invention further provides a storage medium in which a computer program is stored, wherein the computer program is set to execute any of the steps in the above method embodiments during runtime.
可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的计算机程序:Optionally, in this embodiment, the above storage medium may be set to store a computer program for performing the following steps:
S1,驱动摄像头沿缝隙的垂直方向移动至缝隙的第一边沿,并通过缝隙对第一拍摄区域进行取景;S1, driving the camera to move to the first edge of the slit in the vertical direction of the slit, and framing the first shooting area through the slit;
S2,驱动摄像头沿缝隙的垂直方向移动至缝隙的与第一边沿相对的第二边沿,并通过缝隙对第二拍摄区域进行取景;S2, driving the camera to move in the vertical direction of the slit to the second edge of the slit opposite to the first edge, and framing the second shooting area through the slit;
S3,将第一拍摄区域的取景图像与第二拍摄区域的取景图像进行拼接形成拍摄取景图像。S3, stitching the framing image in the first shooting area and the framing image in the second shooting area to form a shooting framing image.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。Optionally, for specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiments and optional implementation manners, and details are not repeated in this embodiment.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储计算机程序的介质。Optionally, in this embodiment, the above storage medium may include, but is not limited to: a USB flash drive, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), Various media that can store computer programs, such as removable hard disks, magnetic disks, or optical disks.
实施例5Example 5
本发明的实施例还提供了一种电子装置,包括存储器和处理器,该存储器中存储有计算机程序,该处理器被设置为运行计算机程序以执行上述任一项方法实施例中的步骤。An embodiment of the present invention also provides an electronic device, including a memory and a processor, where the computer program is stored in the memory, and the processor is configured to run the computer program to perform the steps in any one of the foregoing method embodiments.
可选地,上述电子装置还可以包括传输设备以及输入输出设备,其中,该传输设备和上述处理器连接,该输入输出设备和上述处理器连接。Optionally, the electronic device may further include a transmission device and an input-output device, wherein the transmission device is connected to the processor, and the input-output device is connected to the processor.
可选地,在本实施例中,上述处理器可以被设置为通过计算机程序执行以下步骤:Optionally, in this embodiment, the above processor may be configured to perform the following steps through a computer program:
S1,驱动摄像头沿缝隙的垂直方向移动至缝隙的第一边沿,并通过缝隙对第一拍摄区域进行取景;S1, driving the camera to move to the first edge of the slit in the vertical direction of the slit, and framing the first shooting area through the slit;
S2,驱动摄像头沿缝隙的垂直方向移动至缝隙的与第一边沿相对的第二边沿,并通过缝隙对第二拍 摄区域进行取景;S2, driving the camera to move in the vertical direction of the slit to the second edge of the slit opposite to the first edge, and framing the second shooting area through the slit;
S3,将第一拍摄区域的取景图像与第二拍摄区域的取景图像进行拼接形成拍摄取景图像。S3, stitching the framing image in the first shooting area and the framing image in the second shooting area to form a shooting framing image.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。Optionally, for specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiments and optional implementation manners, and details are not repeated in this embodiment.
在本发明的上述实施例中,通过将摄像头设置在终端的所述显示面板与所述壳体所形成的缝隙的后方,从而提高了终端的屏占比。因此,本发明可以解决相关技术中终端设备受前置摄像头的布局影响而无法提高屏占比的问题。In the above embodiments of the present invention, the camera is arranged behind the gap formed by the display panel and the casing of the terminal, thereby increasing the screen ratio of the terminal. Therefore, the present invention can solve the problem that the terminal device in the related art is not affected by the layout of the front camera and cannot increase the screen ratio.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above-mentioned modules or steps of the present invention can be implemented by a general-purpose computing device, they can be concentrated on a single computing device, or distributed in a network composed of multiple computing devices Above, optionally, they can be implemented with program code executable by the computing device, so that they can be stored in the storage device to be executed by the computing device, and in some cases, can be in a different order than here The steps shown or described are performed, or they are made into individual integrated circuit modules respectively, or multiple modules or steps among them are made into a single integrated circuit module to achieve. In this way, the present invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modification, equivalent replacement, and improvement made within the principles of the present invention should be included in the protection scope of the present invention.
Claims (11)
- 一种终端,包括:壳体、显示面板和摄像头,其中,A terminal includes: a housing, a display panel and a camera, wherein,所述摄像头设置在所述终端的内部,并位于所述显示面板与所述壳体所形成的缝隙的后方。The camera is disposed inside the terminal, and is located behind the gap formed by the display panel and the housing.
- 根据权利要求1所述的终端,其中,所述终端还包括:The terminal according to claim 1, wherein the terminal further comprises:位移组件,设置在所述终端的内部,并与所述摄像头连接,用于驱动所述摄像头沿所述缝隙的垂直方向移动。A displacement component is provided inside the terminal, and is connected to the camera to drive the camera to move in the vertical direction of the gap.
- 根据权利要求2所述的终端,其中,所述位移组件包括:The terminal according to claim 2, wherein the displacement component comprises:滑轨,沿所述缝隙的垂直方向设置;The slide rail is set along the vertical direction of the gap;驱动部件,与所述摄像头相连,用于驱动所述摄像头沿所述滑轨移动。The driving component is connected to the camera and used to drive the camera to move along the slide rail.
- 一种拍摄方法,应用于终端,其中,所述终端包括:壳体、显示面板、摄像头和位移组件;所述摄像头设置在所述终端的内部,并位于所述显示面板与所述壳体所形成的缝隙的后方,所述位移组件与所述摄像头连接,用于驱动所述摄像头沿所述缝隙的垂直方向移动;所述方法包括:A shooting method applied to a terminal, wherein the terminal includes: a housing, a display panel, a camera, and a displacement component; the camera is disposed inside the terminal, and is located between the display panel and the housing Behind the formed gap, the displacement component is connected to the camera for driving the camera to move in the vertical direction of the gap; the method includes:驱动所述摄像头沿所述缝隙的垂直方向移动至所述缝隙的第一边沿,并通过所述缝隙对第一拍摄区域进行取景;Driving the camera to move to the first edge of the slit in the vertical direction of the slit, and framing the first shooting area through the slit;驱动所述摄像头沿所述缝隙的垂直方向移动至所述缝隙的与所述第一边沿相对的第二边沿,并通过所述缝隙对第二拍摄区域进行取景;Driving the camera to move in the vertical direction of the slit to the second edge of the slit opposite to the first edge, and framing the second shooting area through the slit;将所述第一拍摄区域的取景图像与所述第二拍摄区域的取景图像进行拼接形成拍摄取景图像。Stitching the framing image of the first shooting area and the framing image of the second shooting area to form a shooting framing image.
- 根据权利要求4所述的方法,其中,在驱动所述摄像头沿所述缝隙的垂直方向移动至所述缝隙的第一边沿之前,还包括:The method according to claim 4, wherein before driving the camera to move to the first edge of the slit in the vertical direction of the slit, further comprising:当所述摄像头初始化时,采集所述缝隙的所述第一边沿和所述第二边沿的位置信息;When the camera is initialized, the position information of the first edge and the second edge of the gap is collected;根据所采集的位置信息建立坐标轴,其中,所述缝隙延伸方向为X轴,所述缝隙的垂直方向为Y轴,所述取景方向为Z轴。A coordinate axis is established according to the collected position information, wherein the extending direction of the slit is the X axis, the vertical direction of the slit is the Y axis, and the viewing direction is the Z axis.
- 根据权利要求5所述的方法,其中,根据所采集的位置信息建立坐标轴之后,还包括:The method according to claim 5, wherein after establishing the coordinate axis according to the collected position information, further comprising:根据所建立的所述坐标轴计算出所述第一边沿和所述第二边沿之间的中线位置;Calculating the position of the midline between the first edge and the second edge according to the established coordinate axis;驱动所述摄像头沿所述Y轴移动至所述中线位置,并对所述摄像头进行对焦。Driving the camera to move to the centerline position along the Y axis, and focusing the camera.
- 根据权利要求4所述的方法,其中,将所述第一拍摄区域的取景图像与所述第二拍摄区域的取景图像进行拼接形成拍摄取景图像,包括:The method according to claim 4, wherein stitching the framing image of the first photographing area and the framing image of the second photographing area to form a photographing framing image includes:分别提取所述第一拍摄区域的取景图像和所述第二拍摄区域的取景图像中的特征点;Extracting feature points in the framing image of the first shooting area and the framing image of the second shooting area, respectively;根据所提取的特征点将所述第一拍摄区域的取景图像和所述第二拍摄区域的取景图像拼接成所述拍摄取景图像;Stitching the framing image of the first shooting area and the framing image of the second shooting area into the captured framing image according to the extracted feature points;根据预设显示比例对所述拍摄取景图像进行比例选取。Proportional selection of the captured viewfinder image according to a preset display ratio.
- 根据权利要求4所述的方法,其中,将所述第一拍摄区域的取景图像与所述第二拍摄区域的取景图像进行拼接形成拍摄取景图像之后,还包括:The method according to claim 4, wherein after stitching the framing image of the first photographing area and the framing image of the second photographing area to form a photographed framing image, further comprising:将所述拍摄取景图像进行存储以作为拍摄图像。The captured viewfinder image is stored as a captured image.
- 根据权利要求4所述的方法,其中,在所述摄像头的一个刷新周期内最少完成一组所述第一拍摄区域取景操作、所述第二拍摄区域取景操作以及所述取景图像的拼接操作。The method according to claim 4, wherein at least a group of the first shooting area framing operation, the second shooting area framing operation, and the framing image stitching operation are completed at least within one refresh period of the camera.
- 一种存储介质,其中,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行所述权利要求4至9任一项中所述的方法。A storage medium, wherein a computer program is stored in the storage medium, wherein the computer program is configured to execute the method described in any one of claims 4 to 9 when it is run.
- 一种电子装置,包括存储器和处理器,其中,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行所述权利要求4至9任一项中所述的方法。An electronic device includes a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute any one of claims 4 to 9. method.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811543971.5 | 2018-12-17 | ||
CN201811543971.5A CN111327795B (en) | 2018-12-17 | 2018-12-17 | Terminal, shooting method, storage medium and electronic device |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020125196A1 true WO2020125196A1 (en) | 2020-06-25 |
Family
ID=71102048
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/112892 WO2020125196A1 (en) | 2018-12-17 | 2019-10-24 | Terminal and photographing method, storage medium, and electronic device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111327795B (en) |
WO (1) | WO2020125196A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111929765A (en) * | 2020-08-18 | 2020-11-13 | 昆山工研院新型平板显示技术中心有限公司 | Display panel and light guide structure thereof |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103731605A (en) * | 2013-12-16 | 2014-04-16 | 宇龙计算机通信科技(深圳)有限公司 | Photographing method and terminal |
JP2015133647A (en) * | 2014-01-15 | 2015-07-23 | 株式会社発明屋 | Camera hiding device |
CN105120179A (en) * | 2015-09-22 | 2015-12-02 | 三星电子(中国)研发中心 | Shooting method and device |
CN107613057A (en) * | 2017-10-31 | 2018-01-19 | 北京小米移动软件有限公司 | Electronic equipment |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN207369131U (en) * | 2017-09-30 | 2018-05-15 | 上海爱优威软件开发有限公司 | A kind of mobile terminal case and mobile terminal for supporting 360 degree of pan-shots |
CN207968590U (en) * | 2018-03-29 | 2018-10-12 | 绿灯实验室(深圳)科技有限公司 | Camera module and shield mobile terminal comprehensively |
CN207926673U (en) * | 2018-04-03 | 2018-09-28 | 信利光电股份有限公司 | A kind of comprehensive screen mobile phone |
CN108762397A (en) * | 2018-06-08 | 2018-11-06 | Oppo广东移动通信有限公司 | Control method, control assembly, electronic equipment and the storage medium of slide assemblies |
-
2018
- 2018-12-17 CN CN201811543971.5A patent/CN111327795B/en active Active
-
2019
- 2019-10-24 WO PCT/CN2019/112892 patent/WO2020125196A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103731605A (en) * | 2013-12-16 | 2014-04-16 | 宇龙计算机通信科技(深圳)有限公司 | Photographing method and terminal |
JP2015133647A (en) * | 2014-01-15 | 2015-07-23 | 株式会社発明屋 | Camera hiding device |
CN105120179A (en) * | 2015-09-22 | 2015-12-02 | 三星电子(中国)研发中心 | Shooting method and device |
CN107613057A (en) * | 2017-10-31 | 2018-01-19 | 北京小米移动软件有限公司 | Electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN111327795A (en) | 2020-06-23 |
CN111327795B (en) | 2022-04-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2779628B1 (en) | Image processing method and device | |
WO2015081555A1 (en) | Photographing method for dual-camera device and dual-camera device | |
CN103945045A (en) | Method and device for data processing | |
CN110365896B (en) | Control method and electronic equipment | |
CN113840070B (en) | Shooting method, shooting device, electronic equipment and medium | |
WO2021098070A1 (en) | Terminal mirror surface photographing method, terminal, and computer-readable storage medium | |
CN108347564B (en) | Mobile terminal and control method and control device of rotary camera module of mobile terminal | |
KR20240004839A (en) | Filming methods, devices and electronics | |
CN109690568A (en) | A kind of processing method and mobile device | |
US9088720B2 (en) | Apparatus and method of displaying camera view area in portable terminal | |
WO2021139764A1 (en) | Method and device for image processing, electronic device, and storage medium | |
CN110876018B (en) | Mobile terminal, control method of mobile terminal, and computer storage medium | |
KR20150091064A (en) | Method and system for capturing a 3d image using single camera | |
KR20210101087A (en) | An electronic device and method for displaying image at the electronic device | |
WO2020125196A1 (en) | Terminal and photographing method, storage medium, and electronic device | |
CN113542463B (en) | Video shooting device and method based on folding screen, storage medium and mobile terminal | |
WO2021238317A1 (en) | Panoramic image capture method and device | |
CN108696698B (en) | Image pickup device, electronic equipment and image acquisition method | |
CN115379118B (en) | Camera switching method and device, electronic equipment and readable storage medium | |
CN116489504A (en) | Control method of camera module, camera module and electronic equipment | |
WO2021078302A1 (en) | Terminal, photographing method, storage medium, and electronic device | |
TW201926251A (en) | Panoramic camera, image processing system, and image processing method | |
CN104754201A (en) | Electronic device and information processing method | |
CN112135088A (en) | Method for displaying trial assembly effect, trial assembly terminal and storage medium | |
CN211429358U (en) | Intelligent terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19899682 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 16/11/2021) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19899682 Country of ref document: EP Kind code of ref document: A1 |