CN107317964A - Focusing process method and apparatus - Google Patents
Focusing process method and apparatus Download PDFInfo
- Publication number
- CN107317964A CN107317964A CN201710501167.XA CN201710501167A CN107317964A CN 107317964 A CN107317964 A CN 107317964A CN 201710501167 A CN201710501167 A CN 201710501167A CN 107317964 A CN107317964 A CN 107317964A
- Authority
- CN
- China
- Prior art keywords
- focus frame
- focusing
- image data
- pixel
- described image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 81
- 230000008569 process Effects 0.000 title claims abstract description 46
- 238000012545 processing Methods 0.000 claims description 34
- 230000006854 communication Effects 0.000 description 8
- 238000004891 communication Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 6
- 238000004590 computer program Methods 0.000 description 5
- 230000006378 damage Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 238000003672 processing method Methods 0.000 description 2
- 238000009738 saturating Methods 0.000 description 2
- 238000003860 storage Methods 0.000 description 2
- 241000023320 Luma <angiosperm> Species 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000007175 bidirectional communication Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 230000001186 cumulative effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- OSWPMRLSEDHDFF-UHFFFAOYSA-N methyl salicylate Chemical compound COC(=O)C1=CC=CC=C1O OSWPMRLSEDHDFF-UHFFFAOYSA-N 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/04—Context-preserving transformations, e.g. by using an importance map
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Studio Devices (AREA)
Abstract
Present invention is disclosed a kind of focusing process method and apparatus, it the described method comprises the following steps:View data is gathered, wherein, view data is made up of multiple pixels;Determine the position of focus frame on the image data;Pixel corresponding to the position of focus frame on the image data is carried out transparency process to form pixel focus frame.The embodiment of the present invention carries out transparency process by the pixel of the position by focus frame on the image data, so as to form transparent or translucent pixel focus frame, relative to dark in the prior art, the focus frame of the eye-catching state such as white, the pixel focus frame of transparent or semitransparent state had both allowed users to pick out focusing position, preview image will not be blocked again, so as to maintain the integrality of preview image to greatest extent on the basis of the identification of focusing position is ensured, both the technical problem that focus frame destroys preview image integrality had been efficiently solved, the normal of focus function is not interfered with again to use.
Description
Technical field
The present invention relates to camera technology field, a kind of focusing process method and apparatus are especially related to.
Background technology
Current camera function is widely used in the mobile terminals such as mobile phone, flat board, particularly the camera function in mobile phone
It is stronger and stronger.Preferably shoot experience to bring user, clap photo it is clearer, mobile terminal typically have focusing
Function, shows focus frame on preview image during shooting.
Focusing position is recognized in order to which user can be easy to, current focus frame is generally in dark (such as black), white
Etc. eye-catching color, there is larger contrast in itself with preview image, so that focus frame has blocked the portion of preview image
Subregion, destroys the integrality of preview image, have impact on the normal display of preview image, and then influence the shooting body of user
Test.
Existing solution is the width for reducing the size of focus frame or reducing the lines of focus frame, but this mode
Improvement to above mentioned problem is not obvious, and also reduces the identification of focusing position, and the normal of influence focus function is used.Cause
How this, effectively solve focus frame destruction preview image integrality, be currently to need positive technical problem badly.
The content of the invention
The main object of the present invention is a kind of focusing process method and apparatus of offer, it is intended to solve focus frame destruction preview graph
As the technical problem of integrality.
To achieve these objectives, the embodiment of the present invention proposes a kind of focusing process method, the described method comprises the following steps:
View data is gathered, wherein, described image data are made up of multiple pixels;
Determine position of the focus frame in described image data;To position institute of the focus frame in described image data
The corresponding pixel carries out transparency process to form pixel focus frame.
Alternatively, the pixel corresponding to the position to the focus frame in described image data is carried out at transparence
Reason is included with being formed the step of pixel focus frame:
The chromatic component of pixel corresponding to position of the focus frame in described image data is revised as preset value,
So that the pixel is changed into transparent or semitransparent state, so as to form pixel focus frame.
Alternatively, the span of the preset value is 0-255.
Alternatively, the chromatic component includes U components and V component.
Alternatively, the preset value of the U components and V component is identical or different.
Alternatively, it is described to include the step of determine position of the focus frame in described image data:By position set in advance
Put the position in described image data as focus frame.
Alternatively, it is described to include the step of determine position of the focusing in described image data:
Judge whether user specifies focusing position in described image data;
When user specifies focusing position, the focusing position specified according to user determines focus frame in described image data
On position;
When user not specify focusing position when, using position set in advance as focus frame in described image data
Position.
Alternatively, the focus frame is made up of discrete lines.
The embodiment of the present invention proposes a kind of focusing process device simultaneously, and described device includes:
Acquisition module, for gathering view data, wherein, described image data are made up of multiple pixels;
Determining module, for determining position of the focus frame in described image data;
Processing module, it is saturating for being carried out to the pixel corresponding to position of the focus frame in described image data
Brightization handles to form pixel focus frame.
Alternatively, the processing module is used for:By the picture corresponding to position of the focus frame in described image data
The chromatic component of element is revised as preset value, so that the pixel is changed into transparent or semitransparent state, so as to form pixel focus frame.
Alternatively, the determining module is used for:It regard position set in advance as focus frame position.
Alternatively, the determining module includes:
Judging unit, for judging whether user in described image data specifies focusing position;
First determining unit, for when user specifies focusing position, the focusing position specified according to user is determined pair
Position of the burnt frame in described image data;
Second determining unit, for when user does not specify focusing position, regarding position set in advance as focus frame
Position in described image data.
The embodiment of the present invention also proposes a kind of mobile terminal, the mobile terminal include memory, processor and at least one
It is stored in the memory and is configured as by the application program of the computing device, the application program is configured as
For performing foregoing focusing process method.
A kind of focusing process method that the embodiment of the present invention is provided, passes through the position institute by focus frame on the image data
Corresponding pixel carries out transparency process, so that transparent or translucent pixel focus frame is formed, relative to existing skill
The focus frame of the eye-catching state such as dark color, white in art, the pixel focus frame of transparent or semitransparent state both allows users to distinguish
Know and focusing position, preview image will not be blocked again, so that on the basis of the identification of focusing position is ensured to greatest extent
The integrality of preview image is maintained, the technical problem that focus frame destroys preview image integrality has both been efficiently solved, again will not
The normal of influence focus function is used, and is greatly improved the shooting experience of user.
Brief description of the drawings
Fig. 1 is the flow chart of the embodiment of focusing process method one of the present invention;
Fig. 2 is the particular flow sheet that image taking is carried out using the focusing process method of the embodiment of the present invention;
Fig. 3 is the schematic diagram of focus frame in the embodiment of the present invention;
Fig. 4 is the module diagram of the embodiment of focusing process device one of the present invention;
Fig. 5 is the module diagram of the determining module in Fig. 4.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end
Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached
The embodiment of figure description is exemplary, is only used for explaining the present invention, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singulative " one " used herein, " one
It is individual ", " described " and "the" may also comprise plural form.It is to be further understood that what is used in the specification of the present invention arranges
Diction " comprising " refer to there is the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition
Other one or more features, integer, step, operation, element, component and/or their group.It should be understood that when we claim member
Part is " connected " or during " coupled " to another element, and it can be directly connected or coupled to other elements, or can also exist
Intermediary element.In addition, " connection " used herein or " coupling " can include wireless connection or wireless coupling.It is used herein to arrange
Taking leave "and/or" includes one or more associated wholes or any cell for listing item and all combines.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art
Language and scientific terminology), with the general understanding identical meaning with the those of ordinary skill in art of the present invention.Should also
Understand, those terms defined in such as general dictionary, it should be understood that with the context with prior art
The consistent meaning of meaning, and unless by specific definitions as here, otherwise will not use idealization or excessively formal implication
To explain.
Those skilled in the art of the present technique are appreciated that " terminal " used herein above, " terminal device " both include wireless communication
The equipment of number receiver, it only possesses the equipment of the wireless signal receiver of non-emissive ability, includes receiving again and transmitting hardware
Equipment, its have can on bidirectional communication link, perform two-way communication reception and launch hardware equipment.This equipment
It can include:Honeycomb or other communication equipments, it has single line display or multi-line display or shown without multi-line
The honeycomb of device or other communication equipments;PCS (Personal Communications Service, PCS Personal Communications System), it can
With combine voice, data processing, fax and/or its communication ability;PDA (Personal DigitalAssistant, it is personal
Digital assistants), it can include radio frequency receiver, pager, the Internet/intranet access, web browser, notepad, day
Go through and/or GPS (Global Positioning System, global positioning system) receiver;Conventional laptop and/or palm
Type computer or other equipment, its have and/or conventional laptop and/or palmtop computer including radio frequency receiver or its
His equipment." terminal " used herein above, " terminal device " they can be portable, can transport, installed in the vehicles (aviation,
Sea-freight and/or land) in, or be suitable for and/or be configured in local runtime, and/or with distribution form, operate in the earth
And/or any other position operation in space." terminal " used herein above, " terminal device " can also be communication terminal, on
Network termination, music/video playback terminal, for example, can be PDA, MID (Mobile Internet Device, mobile Internet
Equipment) and/or the equipment such as mobile phone or intelligent television with music/video playing function, set top box.
The focusing process method and apparatus of the embodiment of the present invention, are mainly used in the mobile terminals such as mobile phone, flat board, camera,
Other picture pick-up devices can certainly be applied to.
Reference picture 1, proposes the embodiment of focusing process method one of the present invention, the described method comprises the following steps:
S11, collection view data.
S12, determine the position of focus frame on the image data.
S13, the pixel corresponding to focus frame position on the image data is carried out transparency process to form pixel
Focus frame.
In step S11, mobile terminal gathers view data by the optical sensor of camera, and the view data is by multiple
Pixel is constituted.
In step S12, mobile terminal can determine the position of focus frame on the image data in the following manner:
Alternatively, positional information is pre-set in mobile terminal, focus frame is automatically displayed in advance when shooting every time
On the position of setting, such as middle section of preview interface, because view data is shown in preview interface, is also equivalent to focusing
Frame is located at the middle section of view data.Therefore, mobile terminal directly reads positional information set in advance, will be set in advance
Position of the position as focus frame on the image data.
Alternatively, mobile terminal not only pre-sets positional information, also allows user to specify focusing position manually.Every time
During shooting, if user includes focus frame acquiescence on the position pre-set without focusing position is specified manually;If
User specifies focusing position manually, then focus frame is included to the band of position specified in user.Therefore, mobile terminal is sentenced first
Whether disconnected user specifies focusing position;When user specifies focusing position, then the focusing position specified according to user is determined
The position of focus frame on the image data;When user does not specify focusing position, then position set in advance is regard as focusing
The position of frame on the image data.
For example, mobile terminal judges that the white space whether user clicks preview interface (can certainly be non-blank-white
Region, this is not limited by the present invention), if clicking the white space of preview interface, judge the position that user specified point is hit
It is set to focusing position;If not clicking on the white space of preview interface, judge that user does not specify focusing position.It is mobile whole
The position that user can be clicked on is held as geometric center and draws a geometric figure, the geometric figure is regard as focus frame.This
Outside, it would however also be possible to employ other manner draws focus frame, and the position for such as clicking on user is used as the summit of focus frame, sideline midpoint
Etc..
In the embodiment of the present invention, focus frame can be one, can also at least two.Focus frame can be with rectangular, circle
Etc. any geometric figure, focus frame can be made up of continuous lines, be preferably made up of discrete lines, be limited with maximum
Reduce destruction of the focus frame to the integrality of preview image.
In step S13, when the position of focus frame on the image data is determined after, then to focus frame on the image data
Pixel corresponding to position carries out transparency process, to cause the pixel corresponding to the position of focus frame to be on the image data changed into
Transparent or semitransparent state and form pixel focus frame, relative to being processed as the eye-catching state such as dark color, white in the prior art
Mode, transparent or semitransparent state is both allowed users to pick out focusing position, and the complete of whole preview image will not be destroyed again
Whole property.
When it is implemented, mobile terminal can be by the colourity of the pixel corresponding to the position of focus frame on the image data point
Amount is revised as preset value, so that the pixel of focus frame position is changed into transparent or semitransparent state and pixel focusing is formed
Frame.Preset value may be set in 0-255 intervals, and chromatic component includes U components and V component, and U components and V component are revised as presetting
Value, Y-component keeps constant.The preset value of U components and V component can be with identical or different, for example, U components are revised as into 100, V points
Amount is revised as 200.
For example, it is assumed that the image one of the screen display of mobile terminal has M pixel, mobile terminal collection picture number
According to rear, each pixel of correspondence screen in traversal view data, to the picture corresponding to the position of focus frame on the image data
Element carries out transparency process, and rest of pixels keeps constant, gives view data by screen after all M pixels have been traveled through
Output, then show the preview image of the pixel focus frame with transparent or semitransparent state.
Specifically, as shown in Fig. 2 mobile terminal carries out image taking using the focusing process method of the embodiment of the present invention
Idiographic flow is as follows:
S101, optical sensor collection view data, and send view data to central processing unit.
The optical sensor collection view data of mobile terminal, and view data is converted to sends shifting after data signal to
The central processing unit of dynamic terminal.The view data that optical sensor sends central processing unit to is the view data of yuv format, light
Learn sensor and the pixel of view data is passed into central processing unit one by one in order.Yuv format is that a kind of view data is passed
The defeated form generally used, wherein " Y " represents lightness (Luminance or Luma), that is, grey decision-making, as brightness point
Amount;And that " U " and " V " expression is then colourity (Chrominance or Chroma), effect is to describe colors of image and saturation degree,
For the color of specified pixel, referred to as chromatic component.Luminance component Y and chromatic component U, V are separation in YUV color spaces,
If only Y-component is without U, V component, corresponding image is black and white gray level image.
S102, central processing unit receive view data, and determine the position of focus frame on the image data.
Central processing unit is obtained after the view data of optical sensor transmission, immediately determines that focus frame on the image data
Position.Central processing unit can directly using position set in advance as focus frame on the image data position.Center processing
Device can also judge whether user specifies focusing position;When user specifies focusing position, the focusing specified according to user
Position determines the position of focus frame on the image data;When user does not specify focusing position, position set in advance is made
For the position of focus frame on the image data.
As shown in figure 3, the image of the screen display of mobile terminal is altogether M pixel, it is assumed that M=320, i.e. image chi
Very little is 20x16, totally 320 pixels.In view data reference numeral be 35,36,37,44,45,46,51,62,67,78,243,
254th, 259,270,275,276,277,284,285,286 location of pixels is the position of focus frame on the image data.
S103, central processing unit initialization counter reading C=1.
The reading C=1 of central processing unit initialization counter, starts each pixel in processing view data successively.
S104, central processing unit judge whether the C pixel of view data is in the position of focus frame on the image data
Put.When the C pixel is in the position of focus frame on the image data, into step S105;When the C pixel is not at pair
During burnt frame position on the image data, into step S106.
As shown in figure 3, when counter reading C value for 35,36,37,44,45,46,51,62,67,78,243,
254th, 259,270,275,276,277,284,285 or 286 when, central processing unit then judges that the C pixel exists in focus frame
Position in view data, otherwise judges that the C pixel is not at the position of focus frame on the image data.
S105, central processing unit keep the Y-component of the C pixel constant, and it is preset value to change its U component and V component.
When the C pixel is in the position of focus frame on the image data, central processing unit then carries out saturating to the pixel
Daylight is managed, specifically, keeping the Y-component of the pixel constant, it is preset value to change its U component and V component, such as changes U components
For 100, V component is revised as 200, so that the pixel is changed into translucent.
S106, central processing unit keep the YUV components of the C pixel constant.
When the C pixel is not at the position of focus frame on the image data, central processing unit does not enter then to the pixel
Row processing, keeps the YUV components of the pixel constant.
S107, central processing unit add 1 to the reading C of counter.
After C pixel has been handled, the reading C cumulative 1 of central processing unit then to counter.
S108, central processing unit judge whether the reading C of counter is more than M.As C >=M, into step S109;Work as C<M
When, return to step S104, so circulation, so that modification U components and V component form pixel focusing for all pixels of preset value
Frame.
Central processing unit judges whether the current reading C of counter is more than M.As C >=M, then illustrate institute in view data
There is M pixel is processed to finish, into next step S109.Work as C<During M, then illustrate view data still to be disposed, return
Step S104 continues with next pixel.
S109, central processing unit export the view data with pixel focus frame by display screen.
When all M pixels are disposed in view data, central processing unit then sends view data to display
Screen, display screen then exports the view data, shows the preview image with transparent or semitransparent pixel focus frame.
The focusing process method of the embodiment of the present invention, by by the pixel corresponding to focus frame position on the image data
Transparency process is carried out, so that transparent or translucent pixel focus frame is formed, relative to dark, white in the prior art
The focus frame of the eye-catching state such as color, the pixel focus frame of transparent or semitransparent state both allows users to pick out focusing position
Put, preview image will not be blocked again, so as to maintain preview to greatest extent on the basis of the identification of focusing position is ensured
The integrality of image, had both efficiently solved the technical problem that focus frame destroys preview image integrality, focusing work(is not interfered with again
The normal of energy is used, and is greatly improved the shooting experience of user.
Reference picture 4, proposes the embodiment of focusing process device one of the present invention, and described device includes acquisition module 10, determined
Module 20 and processing module 30, wherein:Acquisition module 10, for gathering view data;Determining module 20, for determining focus frame
Position on the image data;Processing module 30, for entering to the pixel corresponding to focus frame position on the image data
Row transparency process is to form pixel focus frame.
Acquisition module 10 gathers view data by the optical sensor of camera, and the view data is by multiple pixel groups
Into.
Determining module 20 can determine the position of focus frame on the image data in the following manner:
Alternatively, positional information is pre-set in mobile terminal, focus frame is automatically displayed in advance when shooting every time
On the position of setting, such as middle section of preview interface, because view data is shown in preview interface, is also equivalent to focusing
Frame is located at the middle section of view data.Accordingly, it is determined that module 20 directly reads positional information set in advance, it will preset
Position of the position as focus frame on the image data.
Alternatively, mobile terminal not only pre-sets positional information, also allows user to specify focusing position manually.Every time
During shooting, if user includes focus frame acquiescence on the position pre-set without focusing position is specified manually;If
User specifies focusing position manually, then focus frame is included to the band of position specified in user.
Now, as shown in figure 5, determining module 20 includes judging unit 21, the first determining unit 22 and the second determining unit
23, wherein:Judging unit 21, for judging whether user specifies focusing position;First determining unit 22, for referring to as user
When having determined focusing position, then the focusing position specified according to user determines the position of focus frame on the image data;Second determines
Unit 23, for when user not specify focusing position when, then using position set in advance as focus frame on the image data
Position.
For example, judging unit 21 judges that the white space whether user clicks preview interface can certainly be non-blank-white
Region, this is not limited by the present invention), if clicking the white space of preview interface, judge the position that user specified point is hit
It is set to focusing position;If not clicking on the white space of preview interface, judge that user does not specify focusing position.First is true
A geometric figure is drawn in the position that order member 22 can click on user as geometric center, regard the geometric figure as focusing
Frame.So that it is determined that focus frame position.In addition, the first determining unit 22 can also draw focus frame using other manner,
The position that such as user is clicked on is used as the summit of focus frame, sideline midpoint.
In the embodiment of the present invention, focus frame can be one, can also at least two.Focus frame can be with rectangular, circle
Etc. any geometric figure, focus frame can be made up of continuous lines, be preferably made up of discrete lines, be limited with maximum
Reduce destruction of the focus frame to the integrality of preview image.
When the position of focus frame on the image data is determined after, processing module 30 then to focus frame on the image data
Pixel corresponding to position carries out transparency process, to cause the pixel corresponding to the position of focus frame to be on the image data changed into
Transparent or semitransparent state and form pixel focus frame, relative to being processed as the eye-catching state such as dark color, white in the prior art
Mode, transparent or semitransparent state is both allowed users to pick out focusing position, and the complete of whole preview image will not be destroyed again
Whole property.
When it is implemented, processing module 30 can be by the colourity of the pixel corresponding to the position of focus frame on the image data
Component is revised as preset value, so that the pixel of focus frame position is changed into transparent or semitransparent state and pixel focusing is formed
Frame.Preset value may be set in 0-255 intervals, and chromatic component includes U components and V component, and U components and V component are revised as presetting
Value, Y-component keeps constant.The preset value of U components and V component can be with identical or different, for example, U components are revised as into 100, V points
Amount is revised as 200.
The focusing process device of the embodiment of the present invention, is carried out by the pixel that focus frame is formed to pixel focus frame position
Transparency process, so that transparent or translucent pixel focus frame is formed, relative to dark color, white etc. in the prior art
The focus frame of eye-catching state, the pixel focus frame of transparent or semitransparent state both allows users to pick out focusing position, again
Preview image will not be blocked, so as to maintain preview image to greatest extent on the basis of the identification of focusing position is ensured
Integrality, had both efficiently solved the technical problem that focus frame destroys preview image integrality, focus function is not being interfered with again just
Often use, be greatly improved the shooting experience of user.
The present invention simultaneously propose a kind of mobile terminal, the mobile terminal include memory, processor and at least one deposited
Storage is in the memory and is configured as by the application program of the computing device, and the application program is configurable for
Perform focusing process method.The focusing process method comprises the following steps:View data is gathered, the view data is by multiple pictures
Element composition;Determine the position of focus frame on the image data;To the pixel corresponding to the position of the focus frame on the image data
Transparency process is carried out to form pixel focus frame.Focusing process method described in the present embodiment is above-mentioned reality in the present invention
The focusing process method involved by example is applied, be will not be repeated here.
It will be understood by those skilled in the art that the present invention includes being related to for performing one in operation described herein
Or multinomial equipment.These equipment can be for needed for purpose and specially design and manufacture, or general-purpose computations can also be included
Known device in machine.These equipment have the computer program being stored in it, and these computer programs are optionally activated
Or reconstruct.Such computer program, which can be stored in equipment (for example, computer) computer-readable recording medium or be stored in, to be suitable to
Storage e-command is simultaneously coupled in any kind of medium of bus respectively, and the computer-readable medium includes but is not limited to
Any kind of disk (including floppy disk, hard disk, CD, CD-ROM and magneto-optic disk), ROM (Read-Only Memory, it is read-only to deposit
Reservoir), RAM (RandomAccess Memory, random access memory), EPROM (Erasable Programmable Read-
OnlyMemory, Erarable Programmable Read only Memory), EEPROM (Electrically Erasable Programmable
Read-OnlyMemory, EEPROM), flash memory, magnetic card or light card.It is, readable be situated between
Matter includes storing or transmitting any medium of information in the form of it can read by equipment (for example, computer).
Those skilled in the art of the present technique be appreciated that can be realized with computer program instructions these structure charts and/or
The combination of each frame and these structure charts and/or the frame in block diagram and/or flow graph in block diagram and/or flow graph.This technology is led
Field technique personnel be appreciated that these computer program instructions can be supplied to all-purpose computer, special purpose computer or other
The processor of programmable data processing method is realized, so as to pass through the processing of computer or other programmable data processing methods
The scheme that device is specified in the frame or multiple frames to perform structure chart disclosed by the invention and/or block diagram and/or flow graph.
Those skilled in the art of the present technique are appreciated that in the various operations discussed in the present invention, method, flow
Step, measure, scheme can be replaced, changed, combined or deleted.Further, it is each with what is discussed in the present invention
Kind operation, method, other steps in flow, measure, scheme can also be replaced, changed, reset, decomposed, combined or deleted.
Further, it is of the prior art to have and the step in the various operations disclosed in the present invention, method, flow, measure, scheme
It can also be replaced, changed, reset, decomposed, combined or deleted.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the scope of the invention, it is every to utilize
Equivalent structure or equivalent flow conversion that description of the invention and accompanying drawing content are made, or directly or indirectly it is used in other correlations
Technical field, be included within the scope of the present invention.
Claims (10)
1. a kind of focusing process method, it is characterised in that comprise the following steps:
View data is gathered, wherein, described image data are made up of multiple pixels;
Determine position of the focus frame in described image data;
The pixel corresponding to position of the focus frame in described image data is carried out transparency process to form picture
Plain focus frame.
2. focusing process method according to claim 1, it is characterised in that it is described to the focus frame in described image number
Carry out transparency process according to the pixel corresponding to upper position is included with being formed the step of pixel focus frame:
The chromatic component of pixel corresponding to position of the focus frame in described image data is revised as preset value, so that
The pixel is changed into transparent or semitransparent state, so as to form pixel focus frame.
3. focusing process method according to claim 1 or 2, it is characterised in that the determination focus frame is in described image
The step of position in data, includes:Position using position set in advance as focus frame in described image data.
4. focusing process method according to claim 1 or 2, it is characterised in that the determination focusing is in described image number
The step of according to upper position, includes:
Judge whether user specifies focusing position in described image data;
When user specifies focusing position, the focusing position specified according to user determines focus frame in described image data
Position;
When user does not specify focusing position, the position using position set in advance as focus frame in described image data
Put.
5. focusing process method according to claim 1 or 2, it is characterised in that the focus frame is by discrete lines
Constitute.
6. a kind of focusing process device, it is characterised in that including:
Acquisition module, for gathering view data, wherein, described image data are made up of multiple pixels;
Determining module, for determining position of the focus frame in described image data;
Processing module, for carrying out transparence to the pixel corresponding to position of the focus frame in described image data
Handle to form pixel focus frame.
7. focusing process device according to claim 6, it is characterised in that the processing module is used for:By the focusing
The chromatic component of pixel corresponding to position of the frame in described image data is revised as preset value, so that the pixel is changed into
Bright or translucent, so as to form pixel focus frame.
8. the focusing process device according to claim 6 or 7, it is characterised in that the determining module is used for:It will set in advance
Position of the fixed position as focus frame in described image data.
9. the focusing process device according to claim 6 or 7, it is characterised in that the determining module includes:
Judging unit, for judging whether user in described image data specifies focusing position;
First determining unit, for when user specifies focusing position, the focusing position specified according to user to determine focus frame
Position in described image data;
Second determining unit, for when user not specify focusing position when, using position set in advance as focus frame in institute
State the position in view data.
10. the focusing process device according to claim 6 or 7, it is characterised in that the focus frame is by discrete lines
Constitute.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710501167.XA CN107317964A (en) | 2017-06-27 | 2017-06-27 | Focusing process method and apparatus |
PCT/CN2017/099142 WO2019000618A1 (en) | 2017-06-27 | 2017-08-25 | Focusing processing method and apparatus, and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710501167.XA CN107317964A (en) | 2017-06-27 | 2017-06-27 | Focusing process method and apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107317964A true CN107317964A (en) | 2017-11-03 |
Family
ID=60179547
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710501167.XA Pending CN107317964A (en) | 2017-06-27 | 2017-06-27 | Focusing process method and apparatus |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107317964A (en) |
WO (1) | WO2019000618A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108737736A (en) * | 2018-08-27 | 2018-11-02 | 惠州Tcl移动通信有限公司 | A kind of mobile terminal focal control method, mobile terminal and storage medium |
WO2019000618A1 (en) * | 2017-06-27 | 2019-01-03 | 深圳市沃特沃德股份有限公司 | Focusing processing method and apparatus, and mobile terminal |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5283560A (en) * | 1991-06-25 | 1994-02-01 | Digital Equipment Corporation | Computer system and method for displaying images with superimposed partially transparent menus |
CN1769994A (en) * | 2004-11-01 | 2006-05-10 | 三星Techwin株式会社 | Apparatus for and method of processing on-screen display when a shutter mechanism of a digital image processing device is half-pressed |
US20070139430A1 (en) * | 2005-12-21 | 2007-06-21 | Microsoft Corporation | Rendering "gadgets" with a browser |
CN102377938A (en) * | 2010-08-23 | 2012-03-14 | 索尼公司 | Image capturing device, program, and image capturing method |
CN104270562A (en) * | 2014-08-15 | 2015-01-07 | 广东欧珀移动通信有限公司 | Method and device for focusing when photographing |
CN105516590A (en) * | 2015-12-11 | 2016-04-20 | 广东欧珀移动通信有限公司 | Picture processing method and device |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4284998B2 (en) * | 2002-12-26 | 2009-06-24 | ソニー株式会社 | Imaging apparatus and method, and program |
CN101442612A (en) * | 2007-11-22 | 2009-05-27 | 华晶科技股份有限公司 | Digital camera and method for selecting focusing pattern thereof |
JP5999336B2 (en) * | 2012-09-13 | 2016-09-28 | カシオ計算機株式会社 | Imaging apparatus, imaging processing method, and program |
KR20150026565A (en) * | 2013-09-03 | 2015-03-11 | 엘지전자 주식회사 | Mobile terminal and control method thereof |
JP5877406B2 (en) * | 2013-12-06 | 2016-03-08 | パナソニックIpマネジメント株式会社 | Imaging apparatus and imaging system |
CN106020596A (en) * | 2016-05-13 | 2016-10-12 | 厦门美图移动科技有限公司 | Method and device for setting desktop background image of mobile terminal as well as mobile terminal |
CN107124554A (en) * | 2017-05-27 | 2017-09-01 | Tcl移动通信科技(宁波)有限公司 | A kind of mobile terminal and its focusing process method and storage device |
CN107317964A (en) * | 2017-06-27 | 2017-11-03 | 深圳市沃特沃德股份有限公司 | Focusing process method and apparatus |
-
2017
- 2017-06-27 CN CN201710501167.XA patent/CN107317964A/en active Pending
- 2017-08-25 WO PCT/CN2017/099142 patent/WO2019000618A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5283560A (en) * | 1991-06-25 | 1994-02-01 | Digital Equipment Corporation | Computer system and method for displaying images with superimposed partially transparent menus |
CN1769994A (en) * | 2004-11-01 | 2006-05-10 | 三星Techwin株式会社 | Apparatus for and method of processing on-screen display when a shutter mechanism of a digital image processing device is half-pressed |
US20070139430A1 (en) * | 2005-12-21 | 2007-06-21 | Microsoft Corporation | Rendering "gadgets" with a browser |
CN102377938A (en) * | 2010-08-23 | 2012-03-14 | 索尼公司 | Image capturing device, program, and image capturing method |
CN104270562A (en) * | 2014-08-15 | 2015-01-07 | 广东欧珀移动通信有限公司 | Method and device for focusing when photographing |
CN105516590A (en) * | 2015-12-11 | 2016-04-20 | 广东欧珀移动通信有限公司 | Picture processing method and device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019000618A1 (en) * | 2017-06-27 | 2019-01-03 | 深圳市沃特沃德股份有限公司 | Focusing processing method and apparatus, and mobile terminal |
CN108737736A (en) * | 2018-08-27 | 2018-11-02 | 惠州Tcl移动通信有限公司 | A kind of mobile terminal focal control method, mobile terminal and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2019000618A1 (en) | 2019-01-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20060280364A1 (en) | Automatic image cropping system and method for use with portable devices equipped with digital cameras | |
US20090161982A1 (en) | Restoring images | |
EP1584063B1 (en) | Method of displaying an image captured by a digital | |
SG118191A1 (en) | Method and system for contrast enhancement of digital video | |
CN105450923A (en) | Image processing method, image processing device and electronic device | |
CN111369486B (en) | Image fusion processing method and device | |
CN110536172B (en) | Video image display adjusting method, terminal and readable storage medium | |
CN108205671A (en) | Image processing method and device | |
CN104793742B (en) | Shooting preview method and device | |
CN101946519A (en) | Image processing apparatus, imaging device, correction factor calculation method and image processing program | |
CN108923853A (en) | Display methods and device, visible light communication transmission method and device | |
CN106791466A (en) | Shoot light compensation method and device | |
CN113395440A (en) | Image processing method and electronic equipment | |
CN106165409A (en) | Image processing apparatus, camera head, image processing method and program | |
CN101686321A (en) | Method and system for reducing noise in image data | |
CN107317964A (en) | Focusing process method and apparatus | |
CN111881862A (en) | Gesture recognition method and related device | |
CN101006463A (en) | Video processor comprising a sharpness enhancer | |
CN113038002B (en) | Image processing method and device, electronic equipment and readable storage medium | |
CA3180672A1 (en) | System and method to use machine learning to ensure proper installation and/or repair by technicians | |
CN110838088A (en) | Multi-frame noise reduction method and device based on deep learning and terminal equipment | |
CN115439660A (en) | Detection method, detection device, electronic equipment and medium | |
CN101149912A (en) | Method and apparatus for displaying moving images in mobile communication terminal | |
CN114357055A (en) | Display method of call interface, electronic equipment and storage medium | |
CN106447639A (en) | Mobile terminal photograph processing method and 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171103 |
|
RJ01 | Rejection of invention patent application after publication |