CN110072058B - Image shooting device and method and terminal - Google Patents

Image shooting device and method and terminal Download PDF

Info

Publication number
CN110072058B
CN110072058B CN201910451269.4A CN201910451269A CN110072058B CN 110072058 B CN110072058 B CN 110072058B CN 201910451269 A CN201910451269 A CN 201910451269A CN 110072058 B CN110072058 B CN 110072058B
Authority
CN
China
Prior art keywords
image
camera
combined
shooting
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910451269.4A
Other languages
Chinese (zh)
Other versions
CN110072058A (en
Inventor
司徒铨标
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201910451269.4A priority Critical patent/CN110072058B/en
Publication of CN110072058A publication Critical patent/CN110072058A/en
Application granted granted Critical
Publication of CN110072058B publication Critical patent/CN110072058B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/95Computational photography systems, e.g. light-field imaging systems
    • H04N23/951Computational photography systems, e.g. light-field imaging systems by using two or more images to influence resolution, frame rate or aspect ratio

Abstract

The invention relates to an image shooting device, an image shooting method and a terminal, relates to the technical field of terminal shooting, and aims to solve the technical problem that details of a preset area are not clear when a super-wide-angle camera is used for shooting in the prior art. According to the image shooting method, the first camera is used for obtaining the first image, the second camera is used for obtaining the second image, the first camera is an ultra-wide-angle camera, so that the field angles of the first camera and the second camera are different, namely the first image obtained through the first camera can completely reflect the whole scene, the second camera obtains the second image of the preset area of the whole scene with higher quality, and even if the combined image is amplified after the first image and the second image are combined, the preset area can still have better detail expression due to the fact that the second image is combined.

Description

Image shooting device and method and terminal
Technical Field
The present invention relates to the field of terminal shooting technologies, and in particular, to an image shooting device, an image shooting method, and a terminal.
Background
With the popularization of smart phones, dual cameras and even multiple cameras become standard accessories of the mobile phones. The super wide-angle camera can obtain a better panoramic shooting effect, and because the content in the photo is more, the details of a specified area in the shot photo are easy to be unclear. When a viewer zooms in a picture taken at a super-wide angle after taking the picture, it is not easy to recognize the details of a designated area of the picture. For example, when a building with a large volume is shot, details such as characters on the building cannot be clearly recognized in order to make all the scenes be taken into the shot picture. When watching the photo, the viewer can not clearly recognize the characters in the photo, so that the user experience is poor.
Disclosure of Invention
The invention provides an image shooting device, an image shooting method and a terminal, which are used for solving the technical problem that details of a designated area are not clear when a super-wide-angle camera is used for shooting in the prior art.
According to a first aspect of the present invention, there is provided an image capturing method comprising the steps of: the method comprises the following operation steps:
obtaining a first image through a first camera and obtaining a second image through a second camera;
synthesizing the first image and the second image to obtain a combined image;
the second image can at least cover a part of the preset area of the first image, and the first camera is an ultra-wide-angle camera.
In one embodiment, the first camera and the second camera are simultaneously captured to obtain the first image and the second image.
In one embodiment, the first image is a frame image formed by a preview picture shot by the first camera;
the second image is a frame image formed by scaling a preview picture shot by the second camera according to the size of the first image.
In one embodiment, the second image is displayed on the first image in the form of a window in a preview mode of the image photographing terminal.
In one embodiment, in a preview mode of an image capture terminal, coordinates of the second image on the first image are recorded.
In one embodiment, the first camera and the second camera are located on the same side of the image capturing terminal.
According to a second aspect of the present invention, there is provided an image capturing apparatus comprising:
the shooting module comprises a first camera and a second camera, wherein the first camera is used for obtaining a first image, and the second camera is used for obtaining a second image; and
a processing module: the image processing device is used for synthesizing the first image and the second image to obtain a combined image;
the second image can at least cover a part of the preset area of the first image, and the first shooting camera is an ultra-wide-angle camera.
In one embodiment, the first camera and the second camera are simultaneously captured to obtain the first image and the second image.
In one embodiment, the image processing apparatus further comprises a reading module capable of reading the first image, the second image, and the combined image, respectively.
According to a third aspect of the present invention, there is provided an image capturing terminal including the image capturing apparatus described above.
Compared with the prior art, the invention has the advantages that: because the first camera is an ultra-wide angle camera, the field angles of the first camera and the second camera are different, namely, a first picture obtained by the first camera can completely reflect the whole scene, and the second camera obtains a second image of a preset area of the whole scene with higher quality, so that after the first image and the second image are synthesized, even if the combined image is amplified, the second image is synthesized in the preset area, and therefore, the first camera and the second camera still have better detail expression.
Drawings
The invention will be described in more detail hereinafter on the basis of embodiments and with reference to the accompanying drawings.
FIG. 1 is a flow chart of an image capture method in one embodiment of the invention;
fig. 2 is a schematic diagram of a combined image shown in a preview mode of an image capturing terminal in an embodiment of the present invention.
Detailed Description
The invention will be further explained with reference to the drawings.
As shown in fig. 1, according to a first aspect of the invention, there is provided an image photographing method including the following steps.
First, a first image is obtained by a first camera. And obtaining a second image through the second camera while the first camera obtains the first image. Wherein, first camera is super wide angle camera, and it can obtain the first image that comprehensively expresses whole scene. The second camera is a common camera, and the first camera and the second camera have different field angles, so that different pictures can be obtained. I.e. the first image can fully represent the entire scene and the second image can cover at least part of the preset area of the first image, i.e. the second image can completely cover the preset area of the first image, or the second image can cover only part of the preset area of the first image, so that the second image can represent the preset area or part of the preset area of the same scene, but the second image has a better detail representation capability than the first image.
The preset area may be some preset areas, such as a central area of the first image.
Generally, an angle formed by two edges of a lens through which an object image of a target to be measured can pass is called an angle of view. For shooting, the size of the field angle determines the visual field range of an image, and the larger the field angle is, the larger the visual field is, so that the ultra-wide-angle camera can shoot the larger the visual field, and the obtained scene is more comprehensive.
By synchronously starting the first camera and the second camera, the image information of different fields of view can be acquired simultaneously, so that the real-time performance of image processing is improved, and the phenomenon that the second image cannot cover the preset area of the first image or cannot be seamlessly connected with the corresponding position of the first image due to inconsistent acquisition time is avoided.
Optionally, the first and second images with different angles of view are obtained by adjusting focal lengths of the first and second cameras. It is understood that, in the case where the image heights are the same, the larger the focal length is, the smaller the angle of field is, and the more limited the field range at the time of shooting is.
The following description will take the preset area as the central area of the first image as an example. Specifically, the first image is a frame image formed by a preview picture shot by a first camera, and the second image is a frame image formed by a preview picture shot by a second camera after scaling according to the size of the first image. When the second image completely covers the central area of the first image, the preview picture shot by the second camera is reduced to be consistent with the size of the central area.
The above-mentioned image obtaining method can adopt various feasible embodiments in the prior art, and is not described herein again.
In a preview mode of the image photographing terminal, the second image is displayed on the first image in the form of a window. As shown in fig. 2, the first image is an image captured by the first camera in the preview mode, the second image is an image obtained by scaling down an image captured by the second camera in the preview mode, the image in the frame a in fig. 2 is the second image, and the rest is displayed as the first image. The edges of the second image are marked with a colored border. The second image is completely overlaid in the same scene in the first image, i.e. it can be seamlessly joined to the first image. In the image shown in fig. 2, details such as characters can be clearly expressed by enlarging the portion where the frame a is located.
The preview mode described in the present invention refers to a preparation stage of photographing. That is, after the photographing function of the image photographing apparatus is started, the image photographing apparatus may automatically enter a photographing preview mode, or select an option in a function menu to enter the mode. The user can obtain a satisfactory shooting effect and shoot by observing the scene to be shot fed back in real time through the viewing window in the shooting preview mode and adjusting the shooting parameters.
Further, in a preview mode of the image photographing terminal, the second image may be displayed in a scaled manner according to an input of the user. For example, when the user double-clicks the frame position of the second image, the second image is displayed in a scaled-up manner; when the user double-clicks the position of the frame of the second image again, the second image is displayed in a scaled-down manner. Or when the user presses the frame position of the second image for a long time, the second image is displayed in a scale-up manner; when the user releases, the second image is displayed scaled down.
Further, in the preview mode of the image capturing terminal, the coordinates of the second image on the first image are recorded. The position of the second image on the first image is determined by the coordinate data.
And secondly, compressing and storing the first image, synchronously compressing and attaching the second image to the first image, and synthesizing the first image and the second image according to the recorded coordinate data of the second image to obtain a combined image. By having the second image at least partially cover the central region of the first image, the central region of the combined image obtained has a better detail expression capability, enabling the scene to be clearly expressed even when it is enlarged.
When the first image (or the second image) is compressed and stored, a file in a form of jpeg or the like can be generated.
It should be noted that the central region in the present invention is, for example, a circular region with the central point of the first image as the origin and the predetermined length as the radius; or a rectangular region having a predetermined length as a middle point and a predetermined length as a length and a width. The area enclosed by the frame a in fig. 2 is the central area of the first image.
As shown in fig. 1, the image shooting method starts a combined shooting mode, and when a user inputs a shooting instruction, the ultra-wide-angle camera and the common camera synchronously shoot; simultaneously recording the coordinates of the image obtained by the common camera on the image obtained by the ultra-wide-angle camera; and then compressing and storing the image data, and combining the image data into a jpeg file.
According to a second aspect of the invention, an image photographing apparatus includes a photographing module and a processing module. The shooting module comprises a first camera and a second camera, the first camera is used for obtaining a first image, the second camera is used for simultaneously obtaining a second image, and the second image at least can cover a part of a preset area of the first image. The processing module is used for synthesizing the first image and the second image to obtain a combined image.
Furthermore, the first camera is a super wide-angle camera, and the second camera is a common camera. It is understood that the number of the common cameras can be one or more than one.
In addition, the image capturing apparatus of the present invention further includes a reading module, wherein the reading module is capable of reading the first image, the second image, and the combined image, respectively. In other words, the reading module can acquire the first image data, the second image data, the coordinate data, and the combined image data, respectively, so that the first image or the second image can be separately read and displayed by the reading module, and the combined data can also be read to display the combined image. For example, the reading module is a gallery module, wherein the gallery module reads compressed data of the first image to display the first image, and loads the second image data and the coordinate data synchronously to display the combined image.
In addition, when other modules (such as third-party software) open the image, the acquired image data is only the first image data.
According to a third aspect of the invention, the invention provides an image capturing terminal comprising the image capturing apparatus described above. The image capturing terminal of the present invention is, for example, a smartphone.
While the invention has been described with reference to a preferred embodiment, various modifications may be made and equivalents may be substituted for elements thereof without departing from the scope of the invention. In particular, the technical features mentioned in the embodiments can be combined in any way as long as there is no structural conflict. It is intended that the invention not be limited to the particular embodiments disclosed, but that the invention will include all embodiments falling within the scope of the appended claims.

Claims (7)

1. An image capturing method, characterized by comprising the following operation steps:
obtaining a first image through a first camera and obtaining a second image through a second camera;
synthesizing the first image and the second image to obtain a combined image;
the second image can at least cover a part of preset area of the first image, and the first camera is an ultra-wide-angle camera;
the first image is a frame image formed by a preview picture shot by the first camera;
the second image is a frame image formed by scaling a preview picture shot by the second camera according to the size of the first image;
in a preview mode of the image shooting terminal, the second image is displayed on the first image in a window form, the edge of the second image is marked by a frame with color, and the second image can be displayed in a scaling mode according to the input of a user;
and in a preview mode of the image shooting terminal, recording the coordinates of the second image on the first image, and synthesizing the first image and the second image according to the recorded coordinate data of the second image to obtain a combined image.
2. The image capturing method according to claim 1, wherein the first camera and the second camera are captured simultaneously to obtain the first image and the second image.
3. The image capturing method according to claim 1 or 2, wherein the first camera and the second camera are located on the same side of an image capturing terminal.
4. An image capturing apparatus, characterized by comprising:
the shooting module comprises a first camera and a second camera, wherein the first camera is used for obtaining a first image, and the second camera is used for obtaining a second image; and
a processing module: the image processing device is used for synthesizing the first image and the second image to obtain a combined image;
the second image can at least cover a part of preset area of the first image, and the first camera is an ultra-wide-angle camera;
the first image is a frame image formed by a preview picture shot by the first camera;
the second image is a frame image formed by scaling a preview picture shot by the second camera according to the size of the first image;
in a preview mode of the image shooting terminal, the second image is displayed on the first image in a window form, the edge of the second image is marked by a frame with color, and the second image can be displayed in a scaling mode according to the input of a user;
and in a preview mode of the image shooting terminal, recording the coordinates of the second image on the first image, and synthesizing the first image and the second image according to the recorded coordinate data of the second image to obtain a combined image.
5. The image capture device of claim 4, wherein the first camera and the second camera are captured simultaneously to obtain the first image and the second image.
6. The image capturing apparatus according to claim 4 or 5, characterized by further comprising a reading module capable of reading the first image, the second image, and the combined image, respectively.
7. An image capturing terminal characterized by comprising the image capturing apparatus according to claims 4 to 6.
CN201910451269.4A 2019-05-28 2019-05-28 Image shooting device and method and terminal Active CN110072058B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910451269.4A CN110072058B (en) 2019-05-28 2019-05-28 Image shooting device and method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910451269.4A CN110072058B (en) 2019-05-28 2019-05-28 Image shooting device and method and terminal

Publications (2)

Publication Number Publication Date
CN110072058A CN110072058A (en) 2019-07-30
CN110072058B true CN110072058B (en) 2021-05-25

Family

ID=67371800

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910451269.4A Active CN110072058B (en) 2019-05-28 2019-05-28 Image shooting device and method and terminal

Country Status (1)

Country Link
CN (1) CN110072058B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110661971A (en) * 2019-09-03 2020-01-07 RealMe重庆移动通信有限公司 Image shooting method and device, storage medium and electronic equipment
CN111062881A (en) * 2019-11-20 2020-04-24 RealMe重庆移动通信有限公司 Image processing method and device, storage medium and electronic equipment
CN111787224B (en) * 2020-07-10 2022-07-12 深圳传音控股股份有限公司 Image acquisition method, terminal device and computer-readable storage medium
CN112492213B (en) * 2020-12-04 2022-04-08 维沃移动通信有限公司 Image shooting method and device and electronic equipment
CN113727029B (en) * 2021-11-03 2022-03-18 武汉星巡智能科技有限公司 Intelligent order generation method for combining collected images at multiple visual angles and intelligent vending machine
CN113723383B (en) * 2021-11-03 2022-06-28 武汉星巡智能科技有限公司 Order generation method for synchronously identifying commodities in same area at different visual angles and intelligent vending machine

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012083685A (en) * 2010-10-12 2012-04-26 Next Core Co Ltd Video camera with zoom lens
CN104010135A (en) * 2013-02-26 2014-08-27 三星电子株式会社 Apparatus and method for photographing image
CN109743561A (en) * 2018-12-29 2019-05-10 努比亚技术有限公司 A kind of terminal image pickup method, camera terminal and computer readable storage medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104394308B (en) * 2014-11-28 2017-11-07 广东欧珀移动通信有限公司 Method and terminal that dual camera is taken pictures with different visual angles
US9712751B2 (en) * 2015-01-22 2017-07-18 Apple Inc. Camera field of view effects based on device orientation and scene content
CN106303231A (en) * 2016-08-05 2017-01-04 深圳市金立通信设备有限公司 A kind of image processing method and terminal
CN106454121B (en) * 2016-11-11 2020-02-07 努比亚技术有限公司 Double-camera shooting method and device
CN106454131B (en) * 2016-11-29 2019-09-06 Oppo广东移动通信有限公司 Photographic method, device and the terminal of terminal
CN206524898U (en) * 2017-01-21 2017-09-26 深圳市为创视讯智能有限责任公司 Panorama image shooting apparatus and image processing system
CN107087107B (en) * 2017-05-05 2019-11-29 中国科学院计算技术研究所 Image processing apparatus and method based on dual camera
CN108650442A (en) * 2018-05-16 2018-10-12 Oppo广东移动通信有限公司 Image processing method and device, storage medium, electronic equipment
CN109379528A (en) * 2018-12-20 2019-02-22 Oppo广东移动通信有限公司 Imaging method, imaging device, electronic device and medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012083685A (en) * 2010-10-12 2012-04-26 Next Core Co Ltd Video camera with zoom lens
CN104010135A (en) * 2013-02-26 2014-08-27 三星电子株式会社 Apparatus and method for photographing image
CN109743561A (en) * 2018-12-29 2019-05-10 努比亚技术有限公司 A kind of terminal image pickup method, camera terminal and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《基于无人车的图像拼接算法研究》;陈凯丽;《中国优秀硕士学位论文全文数据库 信息科技辑》;20150731;I138-1004 *

Also Published As

Publication number Publication date
CN110072058A (en) 2019-07-30

Similar Documents

Publication Publication Date Title
CN110072058B (en) Image shooting device and method and terminal
CN107580178B (en) Image processing method and device
CN102938825B (en) A kind ofly to take pictures and the method for video and device
US9313400B2 (en) Linking-up photographing system and control method for linked-up cameras thereof
JP6942940B2 (en) Image processing equipment, image processing methods and programs
CN105049569A (en) Panoramic photo composition method based on front and back cameras of cellphone
JP5127787B2 (en) Compound eye photographing apparatus and control method thereof
KR20160128366A (en) Mobile terminal photographing method and mobile terminal
KR20130112574A (en) Apparatus and method for improving quality of enlarged image
CN106233722B (en) The automatic alignment of imaging sensor in multicamera system
CN112991245B (en) Dual-shot blurring processing method, device, electronic equipment and readable storage medium
KR20120012201A (en) Method for photographing panorama picture
CN110072059A (en) Image capturing device, method and terminal
TWI520604B (en) Image pickup device and image preview system and image preview method thereof
JP4848230B2 (en) Image processing method, imaging apparatus, image processing apparatus, and program
JP4748442B2 (en) Imaging apparatus and program thereof
CN111787224A (en) Image acquisition method, terminal device and computer-readable storage medium
CN108810326B (en) Photographing method and device and mobile terminal
CN111200686A (en) Photographed image synthesizing method, terminal, and computer-readable storage medium
US8531556B2 (en) Imaging apparatus and recording medium with program recorded therein
US20190007607A1 (en) Image capturing device, image processing method and image processing device
CN106488128B (en) Automatic photographing method and device
CN112136311B (en) Image processing method, image processing device, imaging system and storage medium
CN112104796B (en) Image processing method and device, electronic equipment and computer readable storage medium
WO2020238312A1 (en) Photographing method and apparatus, storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant