CN113489900A - Image focusing method and device - Google Patents
Image focusing method and device Download PDFInfo
- Publication number
- CN113489900A CN113489900A CN202110736783.XA CN202110736783A CN113489900A CN 113489900 A CN113489900 A CN 113489900A CN 202110736783 A CN202110736783 A CN 202110736783A CN 113489900 A CN113489900 A CN 113489900A
- Authority
- CN
- China
- Prior art keywords
- area
- focusing
- image
- current
- displaying
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 230000004044 response Effects 0.000 claims abstract description 4
- 230000008569 process Effects 0.000 abstract description 3
- 238000003672 processing method Methods 0.000 abstract 1
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000004065 semiconductor 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/60—Control of cameras or camera modules
- H04N23/67—Focus control based on electronic image sensor signals
-
- 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/62—Control of parameters via user interfaces
-
- 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
- H04N23/631—Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
- H04N23/632—Graphical 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
-
- 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/67—Focus control based on electronic image sensor signals
- H04N23/675—Focus control based on electronic image sensor signals comprising setting of focusing regions
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Studio Devices (AREA)
Abstract
The embodiment of the invention provides an image processing method and device, relates to the technical field of image processing, and aims to solve the problem of low manual focusing operation efficiency. The method comprises the following steps: receiving a focusing adjustment instruction of a user in a manual focusing mode; adjusting a current focus position in response to the focus adjustment instruction; and displaying the current focusing area according to the adjusted focus position. The embodiment of the invention is suitable for the process of focusing in image shooting.
Description
[ technical field ] A method for producing a semiconductor device
The present invention relates to the field of image processing technologies, and in particular, to a method and an apparatus for focusing an image.
[ background of the invention ]
Electronic devices such as mobile phones, tablet computers, and digital cameras have become a necessity in human life, and taking pictures using these electronic devices is the most common function used by users.
In order to make the photographed image clearer, focusing is required during photographing. The focusing method includes an automatic focusing method and a manual focusing method. Compared with an automatic focusing mode, the manual focusing mode has higher focusing precision and lower error rate.
However, the manual focusing method greatly depends on the analysis and judgment of the focusing state of the image by human eyes, so the manual focusing method has low operation efficiency and high requirement on the user.
[ summary of the invention ]
In view of this, embodiments of the present invention provide an image focusing method and apparatus, so as to solve the problem of low efficiency of manual focusing operation.
In one aspect, an embodiment of the present invention provides an image focusing method, where the method includes:
receiving a focusing adjustment instruction of a user in a manual focusing mode;
adjusting a current focus position in response to the focus adjustment instruction;
and displaying the current focusing area according to the adjusted focus position.
The above-mentioned aspect and any possible implementation manner further provide an implementation manner, after displaying the current focusing area according to the adjusted focus position, further including:
determining an image to be focused according to the current focusing area;
and amplifying and displaying the image to be focused in a preview area.
The above-described aspect and any possible implementation further provide an implementation in which the preview area is displayed in a first predetermined area of a display interface.
The aspect described above and any possible implementation manner further provide an implementation manner, before the displaying the image to be focused in the preview area in an enlarged manner, further including:
judging whether the current focusing area is overlapped with the preset area or not;
the displaying the image to be focused in the preview area in an enlarged manner comprises:
when the current focusing area is overlapped with the preset area, adjusting and displaying the preview area to a second preset area of the display interface;
when the current focusing area is not overlapped with the preset area, the preview area is maintained to be displayed in the first preset area of the display interface.
On the other hand, the embodiment of the present invention further provides an apparatus for focusing an image, where the apparatus includes:
the receiving unit is used for receiving a focusing adjustment instruction of a user in a manual focusing mode;
the adjusting unit is used for responding to the focusing adjusting instruction and adjusting the current focus position;
the display unit is used for displaying the current focusing area according to the adjusted focus position;
the foregoing aspects and any possible implementations further provide an implementation, where the display unit is further configured to determine an image to be focused according to the current focusing area; and amplifying and displaying the image to be focused in a preview area.
The above-described aspect and any possible implementation further provide an implementation in which the preview area is displayed in a first predetermined area of a display interface.
The above-described aspects and any possible implementations further provide an implementation, where the apparatus further includes:
the judging unit is used for judging whether the current focusing area is overlapped with the preset area or not;
the display unit is further used for adjusting and displaying the preview area to a second preset area of the display interface when the current focusing area is overlapped with the preset area; when the current focusing area is not overlapped with the preset area, the preview area is maintained to be displayed in the first preset area of the display interface.
According to the image focusing method and device provided by the embodiment of the invention, when manual focusing is started, the focus position is displayed in the display interface, so that a user can check the position of the focus in the picture, and the user can clearly check the focusing condition.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
FIG. 1 is a flow chart of a method for image processing according to an embodiment of the present invention;
FIG. 2 is a flow chart of another method of image processing provided by embodiments of the present invention;
FIG. 3 is a diagram illustrating focusing effect of shooting according to an embodiment of the present invention;
FIG. 4 is a block diagram of an image processing apparatus according to an embodiment of the present invention;
fig. 5 is a block diagram of another image processing apparatus according to an embodiment of the present invention.
[ detailed description ] embodiments
For better understanding of the technical solutions of the present invention, the following detailed descriptions of the embodiments of the present invention are provided with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
An embodiment of the present invention provides a method for focusing an image, as shown in fig. 1, the method includes:
101. in the manual focusing mode, a focusing adjustment instruction of a user is received.
According to different manual focusing modes, the focusing function can provide a focusing sliding shaft or a multi-point touch mode for a user, and correspondingly, the focusing adjustment instruction generally refers to sliding on a focusing line or multi-point touch of the user.
102. And responding to the focusing adjustment instruction, and adjusting the current focus position.
And the user can adjust the focal length of the camera based on the focusing instruction, and the corresponding focal position is determined by the sensor and fed back to the display interface.
103. And displaying the current focusing area according to the adjusted focus position.
Wherein the focusing area is generally shown by a selection frame of a specific shape, such as a circular frame.
Compared with the prior art that the focusing effect can be only checked on a small-area screen by naked eyes, the image focusing method provided by the embodiment of the invention can enable a user to clearly determine the focus position so as to finish more accurate focusing.
Further, in order to enable the user to clearly see the focusing condition, the method provided by the embodiment of the present invention further enlarges the image in the focusing area, so that the user can view the focusing condition more clearly, and the related flow is as shown in fig. 2, and after the step 103, the method includes:
104. and determining an image to be focused according to the current focusing area.
The image to be focused is an image in a certain range with a focusing position as a center.
105. And amplifying and displaying the image to be focused in a preview area.
The preview area is displayed in a first preset area of the display interface, generally the upper right corner, and the focusing position is generally in the center of the screen according to the focusing condition of actual shooting, and the upper right corner can be prevented from being overlapped with the focusing area to a certain extent, so that the watching of a user is not influenced.
Of course, if the focusing position of the object or landscape photographed by the user coincides with the first predetermined area, it is necessary to determine in advance whether there is coincidence between the current focusing area and the predetermined area when the preview area is displayed. When the current focusing area is overlapped with the preset area, the preview area is adjusted and displayed to a second preset area of the display interface. When the current focusing area is not overlapped with the preset area, the preview area is maintained to be displayed in the first preset area of the display interface.
For convenience of understanding, referring to the terminal display interface shown in fig. 3 as an example, in the expert mode (manual focusing mode), the user may perform focusing operation by sliding left and right on the focusing line, the focusing area is displayed in the center of the screen, and the preview area in the upper right corner displays an enlarged focusing image.
The embodiment of the present invention further provides an image focusing device, which can be used for implementing the foregoing method flows, and the composition of the image focusing device is shown in fig. 4, where the image focusing device includes:
the receiving unit 21 is configured to receive a focus adjustment instruction of a user in a manual focus mode.
And an adjusting unit 22, configured to adjust the current focus position in response to the focus adjustment instruction.
And the display unit 23 is configured to display the current focusing area according to the adjusted focus position.
Optionally, the display unit 23 is further configured to determine an image to be focused according to the current focusing area. And amplifying and displaying the image to be focused in a preview area.
Optionally, the preview area is displayed in a first predetermined area of the display interface.
Optionally, as shown in fig. 4, the apparatus further includes:
and the judging unit 24 is used for judging whether the current focusing area is overlapped with the preset area or not.
The display unit 23 is further configured to adjust and display the preview area to a second predetermined area of the display interface when the current focusing area coincides with the predetermined area. When the current focusing area is not overlapped with the preset area, the preview area is maintained to be displayed in the first preset area of the display interface.
Compared with the prior art that the focusing effect can be only checked on a small-area screen by naked eyes, the image focusing device provided by the embodiment of the invention can enable a user to clearly determine the focus position so as to finish more accurate focusing.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions in actual implementation, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a Processor (Processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.
Claims (8)
1. A method of image focusing, the method comprising:
receiving a focusing adjustment instruction of a user in a manual focusing mode;
adjusting a current focus position in response to the focus adjustment instruction;
and displaying the current focusing area according to the adjusted focus position.
2. The method of claim 1, further comprising, after the displaying the current in-focus area according to the adjusted focus position:
determining an image to be focused according to the current focusing area;
and amplifying and displaying the image to be focused in a preview area.
3. The method of claim 2, wherein the preview area is displayed in a first predetermined area of a display interface.
4. The method according to claim 3, wherein before the displaying the image to be focused in the preview area in an enlarged manner, the method further comprises:
judging whether the current focusing area is overlapped with the preset area or not;
the displaying the image to be focused in the preview area in an enlarged manner comprises:
when the current focusing area is overlapped with the preset area, adjusting and displaying the preview area to a second preset area of the display interface;
when the current focusing area is not overlapped with the preset area, the preview area is maintained to be displayed in the first preset area of the display interface.
5. An apparatus for image focusing, the apparatus comprising:
the receiving unit is used for receiving a focusing adjustment instruction of a user in a manual focusing mode;
the adjusting unit is used for responding to the focusing adjusting instruction and adjusting the current focus position;
and the display unit is used for displaying the current focusing area according to the adjusted focus position.
6. The apparatus of claim 5, wherein the display unit is further configured to; determining an image to be focused according to the current focusing area; and amplifying and displaying the image to be focused in a preview area.
7. The apparatus of claim 6, wherein the preview area is displayed in a first predetermined area of a display interface.
8. The apparatus of claim 7, further comprising:
the judging unit is used for judging whether the current focusing area is overlapped with the preset area or not;
the display unit is further used for adjusting and displaying the preview area to a second preset area of the display interface when the current focusing area is overlapped with the preset area; when the current focusing area is not overlapped with the preset area, the preview area is maintained to be displayed in the first preset area of the display interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110736783.XA CN113489900A (en) | 2021-06-30 | 2021-06-30 | Image focusing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110736783.XA CN113489900A (en) | 2021-06-30 | 2021-06-30 | Image focusing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113489900A true CN113489900A (en) | 2021-10-08 |
Family
ID=77936716
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110736783.XA Pending CN113489900A (en) | 2021-06-30 | 2021-06-30 | Image focusing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113489900A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130271637A1 (en) * | 2012-04-17 | 2013-10-17 | Samsung Electronics Co., Ltd. | Apparatus and method for controlling focus |
WO2017101456A1 (en) * | 2015-12-14 | 2017-06-22 | 惠州Tcl移动通信有限公司 | Point focusing method and system for shooting image, and mobile terminal |
CN106993131A (en) * | 2017-03-13 | 2017-07-28 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN107087102A (en) * | 2017-03-13 | 2017-08-22 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN108304134A (en) * | 2018-01-31 | 2018-07-20 | 上海与德科技有限公司 | Preview interface processing method and electronic equipment |
CN112312016A (en) * | 2020-10-28 | 2021-02-02 | 维沃移动通信有限公司 | Shooting processing method and device, electronic equipment and readable storage medium |
CN112584043A (en) * | 2020-12-08 | 2021-03-30 | 维沃移动通信有限公司 | Auxiliary focusing method and device, electronic equipment and storage medium |
-
2021
- 2021-06-30 CN CN202110736783.XA patent/CN113489900A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130271637A1 (en) * | 2012-04-17 | 2013-10-17 | Samsung Electronics Co., Ltd. | Apparatus and method for controlling focus |
WO2017101456A1 (en) * | 2015-12-14 | 2017-06-22 | 惠州Tcl移动通信有限公司 | Point focusing method and system for shooting image, and mobile terminal |
CN106993131A (en) * | 2017-03-13 | 2017-07-28 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN107087102A (en) * | 2017-03-13 | 2017-08-22 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN108304134A (en) * | 2018-01-31 | 2018-07-20 | 上海与德科技有限公司 | Preview interface processing method and electronic equipment |
CN112312016A (en) * | 2020-10-28 | 2021-02-02 | 维沃移动通信有限公司 | Shooting processing method and device, electronic equipment and readable storage medium |
CN112584043A (en) * | 2020-12-08 | 2021-03-30 | 维沃移动通信有限公司 | Auxiliary focusing method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2854005B1 (en) | Preview picture presentation method, device and terminal | |
CN108419016B (en) | Shooting method and device and terminal | |
US9628703B2 (en) | Mobile terminal and controlling method thereof | |
EP2523450B1 (en) | Handheld electronic device with dual image capturing method and computer program product | |
EP3346329B1 (en) | Image processing method and apparatus | |
RU2629436C2 (en) | Method and scale management device and digital photographic device | |
EP2283642B1 (en) | Method, apparatus, and computer program product for presenting burst images | |
EP2981061A1 (en) | Method and apparatus for displaying self-taken images | |
CN103945045A (en) | Method and device for data processing | |
CN104270579B (en) | A kind of terminal applies interface pixel method of adjustment and terminal | |
CN107800951B (en) | Electronic device and lens switching method thereof | |
JP2018503269A (en) | Preview image display method and apparatus | |
CN106791451B (en) | Photographing method of intelligent terminal | |
CN111970437B (en) | Text shooting method, wearable device and storage medium | |
JP6283329B2 (en) | Augmented Reality Object Recognition Device | |
CN105578020B (en) | Self-timer system and method | |
CN103179349A (en) | Automatic photographing method and device | |
KR20170011876A (en) | Image processing apparatus and method for operating thereof | |
KR20130081439A (en) | Apparatus and method for displaying camera view area in a portable terminal | |
CN112672058B (en) | Shooting method and device | |
CN114422687B (en) | Preview image switching method and device, electronic equipment and storage medium | |
CN113489900A (en) | Image focusing method and device | |
CN105306829A (en) | Method and device for taking pictures | |
CN112653841B (en) | Shooting method and device and electronic equipment | |
CN112689086B (en) | Information determination method, electronic equipment and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20211008 |
|
RJ01 | Rejection of invention patent application after publication |