WO2016145831A1 - Procédé et dispositif d'acquisition d'image - Google Patents

Procédé et dispositif d'acquisition d'image Download PDF

Info

Publication number
WO2016145831A1
WO2016145831A1 PCT/CN2015/091780 CN2015091780W WO2016145831A1 WO 2016145831 A1 WO2016145831 A1 WO 2016145831A1 CN 2015091780 W CN2015091780 W CN 2015091780W WO 2016145831 A1 WO2016145831 A1 WO 2016145831A1
Authority
WO
WIPO (PCT)
Prior art keywords
resolution
image
terminal
consistent
camera
Prior art date
Application number
PCT/CN2015/091780
Other languages
English (en)
Chinese (zh)
Inventor
潘春岭
汪文领
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016145831A1 publication Critical patent/WO2016145831A1/fr

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

Definitions

  • the present invention relates to the field of image capture, and in particular to an image acquisition method and apparatus.
  • the objective resolution of the test camera needs to be tested, and the ISO resolution Chart for Electronics Still Cameras needs to be adjusted when the test sample is turned on and the camera is set to the maximum resolution.
  • the distance between the images makes the image of the card clear, and the horizontal frame is parallel to the horizontal frame of the picture.
  • the shooting is to make the effective height of the card (the height inside the thick frame) just fill the picture.
  • the ratio of horizontal pixels to vertical pixels is 4:3, so that the captured image is within the black line.
  • the size of the picture (pixel) stored by the camera is generally two, 4:3 resolution or 16:9 resolution, and the highest pixel aspect ratio of the mobile phone is also taken in two resolutions.
  • the size of the mobile phone screen is VGA, QVGA, WVGA, etc., the aspect ratio is usually 4:3, 3:2, 16:10, 15:9, 16:9, etc.; when the mobile phone enters the full-screen photo, when When the size ratio of the mobile phone screen is 4:3 or 16:9, the photo taken is also a resolution picture of 4:3 or 16:9, then the captured image can be achieved and the horizontal direction is achieved.
  • the thick frame is parallel to the horizontal frame of the picture.
  • the shooting is to make the effective height of the card (the height inside the thick frame) just fill the picture to ensure the correctness of the resolution test.
  • the screen size ratio of the mobile phone does not meet 4:3 or In the case of 16:9, there is a difference between the full-screen mode and the captured photo, which causes the test resolution to fail and cannot be detected.
  • the embodiment of the invention provides a method and a device for acquiring an image, so as to solve at least the problem that the upper and lower sides of the mobile phone preview interface do not display an image when the screen size ratio of the mobile phone is inconsistent with the resolution of the mobile phone camera in the related art. .
  • a method for acquiring an image including: acquiring a first resolution of the display screen of the terminal and a second resolution of the terminal camera before previewing the image acquired by the terminal camera in full screen And comparing the first resolution and the second resolution; acquiring an image that is consistent with the second resolution when the first resolution and the second resolution are inconsistent.
  • the acquiring an image that is consistent with the second resolution includes: generating a finder frame that is consistent with the second resolution; and acquiring an image that is framing according to the framing frame.
  • the method further includes: saving an image that is framing according to the framing frame, and displaying an image that is framing through the finder frame.
  • acquiring the first resolution of the terminal display screen and the second resolution of the terminal camera include: reading the first resolution of the display screen from a hardware configuration information table of the terminal Reading the resolution of the last set image from the terminal to obtain the second resolution.
  • the first resolution and the second resolution respectively comprise a plurality of resolutions.
  • an image obtaining apparatus including: a first acquiring module, configured to acquire a first resolution of the terminal display screen and before previewing an image acquired by the terminal camera in full screen a second resolution of the terminal camera; a comparison module configured to compare the first resolution and the second resolution; and a second acquisition module configured to be at the first resolution and the second resolution When the rates are inconsistent, an image that is consistent with the second resolution is acquired.
  • the second obtaining module includes: a generating unit configured to generate a finder frame that is consistent with the second resolution; and a first acquiring unit configured to acquire an image that is framing according to the framing frame.
  • the device further includes: a processing module, configured to save an image that is framing according to the finder frame, and display the framing through the finder frame image.
  • a processing module configured to save an image that is framing according to the finder frame, and display the framing through the finder frame image.
  • the first obtaining module includes: a second acquiring unit, configured to read the first resolution of the display screen from a hardware configuration information table of the terminal; and a third acquiring unit, configured to The resolution of the last set image is read from the terminal to obtain the second resolution.
  • the first resolution and the second resolution respectively comprise a plurality of resolutions.
  • the first resolution of the terminal display screen and the second resolution of the terminal camera are acquired, and then the first resolution and the second resolution are compared.
  • the first resolution and the second resolution are inconsistent, an image that is consistent with the second resolution is obtained, that is, when the resolution of the terminal camera and the display screen are inconsistent, the corresponding image is obtained based on the resolution of the camera. Therefore, in the related art, when the screen size ratio of the mobile phone is inconsistent with the resolution of the mobile phone camera, the upper and lower sides of the mobile phone preview interface do not display an image, thereby improving the user experience.
  • FIG. 1 is a flowchart of a method of acquiring an image according to an embodiment of the present invention
  • FIG. 2 is a block diagram showing the structure of an image acquiring apparatus according to an alternative embodiment of the present invention.
  • FIG. 3 is a block diagram 1 of an optional structure of an image acquiring apparatus according to an alternative embodiment of the present invention.
  • FIG. 4 is a block diagram 2 of an optional structure of an image acquiring apparatus according to an alternative embodiment of the present invention.
  • FIG. 5 is a block diagram 3 of an optional structure of an image acquiring apparatus according to an alternative embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a relationship between a full-screen preview photographing result and an actual preview interface according to an alternative embodiment of the present invention
  • FIG. 7 is a flow chart of a method for photographing a specific scale view according to an alternative embodiment of the present invention.
  • FIG. 8 is a schematic diagram of a preview prompt box effect according to an alternative embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for acquiring an image according to an embodiment of the present invention. As shown in FIG. 1 , the process includes the following steps:
  • Step S102 acquiring a first resolution of the terminal display screen and a second resolution of the terminal camera before previewing the image acquired by the terminal camera in full screen;
  • Step S104 comparing the first resolution and the second resolution
  • Step S106 Acquire an image that is consistent with the second resolution when the first resolution and the second resolution are inconsistent.
  • the first resolution of the terminal display screen and the second resolution of the terminal camera are acquired, and then the first resolution and the second resolution are acquired.
  • the ratio is compared, when the first resolution and the second resolution are inconsistent, an image that is consistent with the second resolution is acquired, that is, in the embodiment, when the resolution of the terminal camera and the display screen are inconsistent, the camera is used.
  • the resolution is accurate to obtain the corresponding image, thereby solving the problem in the related art that when the screen size ratio of the mobile phone is inconsistent with the resolution of the mobile phone camera, the upper and lower sides of the mobile phone preview interface will not display the image, and the user is improved. Experience the effect.
  • Step S11 generating a finder frame that is consistent with the second resolution
  • Step S12 Acquire an image for framing according to the framing frame.
  • the first resolution may be 15:9, two The second resolution is 4:3. At this time, the first resolution and the second resolution are inconsistent. Therefore, a 4:3 framing frame is generated on the terminal display screen, and the framing of the image is performed through the finder frame.
  • the method of the embodiment further includes: saving an image according to the framing frame, and displaying the image framing through the finder frame; that is, saving in the embodiment.
  • the image is an image that matches the resolution of the camera.
  • the optional implementation manner of this embodiment may be implemented as follows:
  • Step S21 reading the first resolution of the display screen from the hardware configuration information table of the terminal;
  • Step S22 Read the resolution of the last set image from the terminal to obtain the second resolution.
  • the first resolution and the second resolution in this embodiment respectively include multiple resolutions, for example, the first resolution may be 4:3, 3:2, 16:10, 15:9, and 16:9. One, and the second resolution can be one of 4:3, 16:9.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • module may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • the apparatus includes: a first acquiring module 22 configured to acquire a terminal display before previewing an image acquired by a terminal camera in a full screen. a first resolution of the screen and a second resolution of the terminal camera; the comparison module 24 is coupled to the first acquisition module 22 and configured to compare the first resolution and the second resolution; the second acquisition module 26, and the comparison module 24 coupling connection, configured to acquire an image consistent with the second resolution when the first resolution and the second resolution are inconsistent.
  • the second obtaining module 26 includes: a generating unit 32 configured to generate a framing consistent with the second resolution.
  • the first acquisition unit 34 is coupled to the generating unit 32 and configured to acquire an image that is framing according to the finder frame.
  • FIG. 4 is a block diagram 2 of an optional structure of an image acquiring apparatus according to an alternative embodiment of the present invention. As shown in FIG. 4, after acquiring an image consistent with a second resolution, the apparatus further includes: a processing module 42, and The two obtaining modules 26 are coupled and configured to save an image framing according to the framing frame and display an image framing through the framing frame.
  • FIG. 5 is a block diagram 3 of an optional structure of an image acquiring apparatus according to an alternative embodiment of the present invention, as shown in FIG. 5,
  • the obtaining module 22 includes: a second obtaining unit 52 configured to read the first resolution of the display screen from the hardware configuration information table of the terminal; the third obtaining unit 54 is coupled to the second obtaining unit 52 and configured as a slave terminal. The resolution of the last set image is read to obtain the second resolution.
  • the first resolution and the second resolution respectively comprise a plurality of resolutions.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
  • an imaging preview frame prompt is generated according to the set shooting image size ratio, and the image in the preview frame is the image range of the actual generated photo.
  • FIG. 6 is a schematic diagram showing the relationship between a full-screen preview photographing result and an actual preview interface according to an alternative embodiment of the present invention.
  • the ratio of digital photos is now 4:3 and 16:9, while the screen size ratio of mobile phones is 4:3, 3:2, 16:10, 15:9 and 16:9, any two Combination, in the case of full-screen mode preview, there will be a non-obtained situation.
  • FIG. 7 is a flow chart of a method for photographing a specific scale view according to an alternative embodiment of the present invention. As shown in FIG. 7, the steps of the method include:
  • Step S701 Collect hardware information of the mobile phone, where the hardware information includes: a mobile phone LCD hardware resolution and an LCD hardware size information;
  • Step S702 Acquire a pixel ratio of the LCD
  • Step S703 setting a camera resolution
  • Step S704 collecting the resolution set by the mobile phone camera, wherein the resolution of the camera may be 4:3 or 16:9;
  • Step S705 it is determined whether the LCD resolution and the resolution of the camera are consistent; when the determination result is no, step S706 is performed;
  • Step S706 full screen preview
  • Step S707 Generate a preview frame prompt to take a photo.
  • the resolution and size information of the LCD screen in the mobile phone needs to be read from the mobile phone hardware configuration information table, and it is determined whether the screen has the characteristics of 4:3 or 16:9, and the mobile phone is recorded. Proportional characteristics. Further, the camera setting module of the mobile phone reads the last set photo resolution information and preview status information, and mainly determines whether it is a full screen preview or a non-full screen preview, and calculates a ratio relationship of the resolution of the photo set by the mobile phone camera, and the judgment is 4 :3 is still a 16:9 relationship and saved.
  • FIG. 8 is a schematic diagram of a preview prompt box effect according to an alternative embodiment of the present invention.
  • the dotted line box shown in Figure 8 indicates that the photo can be left on the photo. Outside the dotted frame, although the preview interface can be seen, the captured photo cannot be saved on the photo.
  • the actual framing range data needs to be transferred to the entry function of the image storage operation to ensure the range of the prompt box in the user preview interface and the actually saved photo range.
  • the data is consistent.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • S1 obtaining a first resolution of the terminal display screen and a second resolution of the terminal camera before previewing the image acquired by the terminal camera in full screen;
  • S3 Acquire an image consistent with the second resolution when the first resolution and the second resolution are inconsistent.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the first resolution of the terminal display screen and the second resolution of the terminal camera are acquired, and then the first resolution and the second resolution are compared.
  • the first resolution and the second resolution are inconsistent, an image that is consistent with the second resolution is obtained, that is, when the resolution of the terminal camera and the display screen are inconsistent, the corresponding image is obtained based on the resolution of the camera. Therefore, in the related art, when the screen size ratio of the mobile phone is inconsistent with the resolution of the mobile phone camera, the upper and lower sides of the mobile phone preview interface do not display an image, thereby improving the user experience.

Landscapes

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

Abstract

L'invention concerne un procédé et un dispositif d'acquisition d'image. Le procédé consiste à : avant de prévisualiser, en plein écran, une image acquise par un appareil photo d'un terminal, acquérir un premier taux de résolution d'un écran d'affichage du terminal et un second taux de résolution de l'appareil photo du terminal; comparer le premier taux de résolution au second taux de résolution; et, si le premier taux de résolution n'est pas cohérent avec le second taux de résolution, acquérir une image ayant un taux de résolution cohérent avec le second taux de résolution. La présente invention résout le problème lié, dans l'état de la technique, au fait qu'une image ne peut pas être affichée à un bord supérieur et un bord inférieur d'une interface de prévisualisation d'un téléphone mobile lorsqu'une proportion dimensionnelle d'un écran de téléphone mobile n'est pas cohérente avec le taux de résolution d'un appareil photo de téléphone mobile. L'invention améliore ainsi l'expérience de l'utilisateur.
PCT/CN2015/091780 2015-09-08 2015-10-12 Procédé et dispositif d'acquisition d'image WO2016145831A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510566761.8A CN106506932A (zh) 2015-09-08 2015-09-08 图像的获取方法及装置
CN201510566761.8 2015-09-08

Publications (1)

Publication Number Publication Date
WO2016145831A1 true WO2016145831A1 (fr) 2016-09-22

Family

ID=56919725

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/091780 WO2016145831A1 (fr) 2015-09-08 2015-10-12 Procédé et dispositif d'acquisition d'image

Country Status (2)

Country Link
CN (1) CN106506932A (fr)
WO (1) WO2016145831A1 (fr)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114390199A (zh) * 2018-10-15 2022-04-22 华为技术有限公司 一种拍摄方法及电子设备
CN114422694A (zh) * 2022-01-18 2022-04-29 杭州逗酷软件科技有限公司 预览分辨率适配方法和装置、电子设备
CN116091392A (zh) * 2022-08-16 2023-05-09 荣耀终端有限公司 图像处理方法、***及存储介质

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110636354A (zh) * 2019-06-10 2019-12-31 青岛海信电器股份有限公司 一种显示设备
CN111010513B (zh) * 2019-12-23 2021-07-02 北大方正集团有限公司 画面采集方法、***和终端设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1592364A (zh) * 2003-08-27 2005-03-09 富士胶片株式会社 图像信号输出方法及数字照相机
CN1812495A (zh) * 2004-12-22 2006-08-02 索尼株式会社 图像拾取设备、向导框显示控制方法及计算机程序
CN101785294A (zh) * 2007-08-27 2010-07-21 索尼公司 成像设备和成像方法

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1225895C (zh) * 2003-07-01 2005-11-02 致伸科技股份有限公司 取景辅助方法与装置
US20050146631A1 (en) * 2004-01-07 2005-07-07 Shelton Michael J. In-camera cropping to standard photo sizes
CN103546689B (zh) * 2013-10-11 2018-02-13 Tcl集团股份有限公司 android***外接摄像头的分辨率获取方法及装置
CN103888670B (zh) * 2014-02-21 2018-06-01 联想(北京)有限公司 一种信息处理方法和电子设备

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1592364A (zh) * 2003-08-27 2005-03-09 富士胶片株式会社 图像信号输出方法及数字照相机
CN1812495A (zh) * 2004-12-22 2006-08-02 索尼株式会社 图像拾取设备、向导框显示控制方法及计算机程序
CN101785294A (zh) * 2007-08-27 2010-07-21 索尼公司 成像设备和成像方法

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114390199A (zh) * 2018-10-15 2022-04-22 华为技术有限公司 一种拍摄方法及电子设备
CN114422694A (zh) * 2022-01-18 2022-04-29 杭州逗酷软件科技有限公司 预览分辨率适配方法和装置、电子设备
CN114422694B (zh) * 2022-01-18 2024-03-26 杭州逗酷软件科技有限公司 预览分辨率适配方法和装置、电子设备
CN116091392A (zh) * 2022-08-16 2023-05-09 荣耀终端有限公司 图像处理方法、***及存储介质
CN116091392B (zh) * 2022-08-16 2023-10-20 荣耀终端有限公司 图像处理方法、***及存储介质

Also Published As

Publication number Publication date
CN106506932A (zh) 2017-03-15

Similar Documents

Publication Publication Date Title
CA2969482C (fr) Procede et appareil pour acquisition et fusion de cartes de profondeur a technologies multiples
WO2016145831A1 (fr) Procédé et dispositif d'acquisition d'image
US20230027389A1 (en) Distance determination method, apparatus and system
US8937669B2 (en) Image processing apparatus, control method thereof, and program
AU2015320751B2 (en) Distance measurement device for motion picture camera focus applications
US9332195B2 (en) Image processing apparatus, imaging apparatus, and image processing method
US20190172214A1 (en) Measurement method and apparatus
WO2018228466A1 (fr) Procédé et appareil d'affichage de région de mise au point, et dispositif terminal
JP2018121233A (ja) 文字認識可能な画像を撮影するためのガイド表示を行う、カメラ機能を有する携帯可能な情報処理装置、その表示制御方法、及びプログラム
KR102198172B1 (ko) 촬영 정보 관리 방법 및 촬영 정보 관리 방법을 실행시키는 프로그램이 설치된 작업자 단말기
US20120201465A1 (en) Image processing apparatus
CN103795927B (zh) 一种拍照方法及***
US10009545B2 (en) Image processing apparatus and method of operating the same
WO2015196681A1 (fr) Procédé de traitement d'images et dispositif électronique
CN111201773A (zh) 拍摄方法及装置、移动终端及计算机可读存储介质
CN106488128B (zh) 一种自动拍照的方法及装置
JP2013149034A (ja) 画像表示装置、画像表示方法及びプログラム
KR101860778B1 (ko) 촬영 이미지 편집 방법 및 이에 적용되는 장치
KR100781680B1 (ko) 카메라 폰의 사진 파일 저장 및 전송 방법
WO2017071560A1 (fr) Procédé et dispositif de traitement d'image
CN114945072A (zh) 双摄像头帧同步处理方法、装置、用户终端及存储介质
US20160323490A1 (en) Extensible, automatically-selected computational photography scenarios
JP2017184021A (ja) コンテンツ提供装置及びコンテンツ提供プログラム
CN107087114B (zh) 一种拍摄的方法及装置
CN108431867B (zh) 一种数据处理方法及终端

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: 15885203

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15885203

Country of ref document: EP

Kind code of ref document: A1