CN107277363A - Image processing method, image processing apparatus and electronic equipment - Google Patents
Image processing method, image processing apparatus and electronic equipment Download PDFInfo
- Publication number
- CN107277363A CN107277363A CN201710601487.2A CN201710601487A CN107277363A CN 107277363 A CN107277363 A CN 107277363A CN 201710601487 A CN201710601487 A CN 201710601487A CN 107277363 A CN107277363 A CN 107277363A
- Authority
- CN
- China
- Prior art keywords
- camera
- target subject
- camera lens
- image
- angle
- 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
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
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Studio Devices (AREA)
Abstract
The application provides a kind of image processing method, image processing apparatus and electronic equipment.Described image processing method, including:Start camera to obtain the base image where target subject;Target subject is focused to obtain the blur-free imaging of the target subject;According to the angle of inclination of the camera lens of position adjustment camera of the target subject in the base image, to obtain result images.Image processing method, device and the electronic equipment of the application is based on shift shaft type camera lens module, realizes the inclination of camera lens, so as to effectively improve the virtualization effect of image.
Description
Technical field
The application is related to mobile communication technology field, more particularly to a kind of image processing method, image processing apparatus and
Electronic equipment.
Background technology
With the development of electronic technology, camera is equipped with increasing electronic equipment to carry out the bat of image
Take the photograph, and the image effect shot is also increasingly paid attention to by user.
Main body is shot, it is necessary to carry out virtualization processing to shooting the scene outside main body, i.e., to shooting main body to be prominent at present
Focusing process is carried out, and virtualization is imaged to shooting other subject outside main body.At present in terms of high-end cameras, Ke Yitong
The camera of rotating camera is crossed to change input path to change the focus of image, and then realizes the virtualization of parts of images.Move
Axle photography (Tilt-shift photography) is the conventional shooting gimmick of one kind on big image camera originally, rotates camera lens,
Skew (Shift) using optical axis corrects perspective distortion with tilting (Tilt), and focal plane progress pair can also be arbitrarily chosen in addition
Jiao, changes definition range, can actually play the effect of the increase depth of field and virtualization background.
However, rotatable shifting lens shaft volume is larger, for electronic equipment, integrated level is poor.And current hand
Machine camera module, image plane and camera lens optical axis are vertical under normal circumstances, and camera lens can only be moved along focusing direction, it is impossible to logical
Cross and rotate the effect that camera lens realizes the increase depth of field and virtualization background.
The content of the invention
The shortcoming of prior art in view of the above, the purpose of the application is to provide a kind of image processing method, image
Processing unit and electronic equipment, the problems such as virtualization effect for solving image in the prior art is not good.
In order to achieve the above objects and other related objects, there is provided a kind of image processing method, bag for the first aspect of the application
Include following steps:Start camera to obtain the base image where target subject;Target subject is focused to obtain
The blur-free imaging of the target subject;According to the camera lens of position adjustment camera of the target subject in the base image
Angle of inclination, to obtain result images.
It is described that target subject is focused to obtain the mesh in some embodiments of the application first aspect
The step of blur-free imaging for marking subject, includes:Determined to shoot burnt according to distance between target subject and the camera lens of camera
Away from;The camera lens of camera is focused according to the shooting focal length of determination to obtain the blur-free imaging of the target subject.
In some embodiments of the application first aspect, in some embodiments of the application first aspect, institute
The step of angle of inclination for the camera lens for stating the position adjustment camera according to target subject in the base image, includes:Root
The incline direction of the camera lens of camera is determined according to position of the target subject in the base image;By the mirror of the camera
Head is adjusted to predetermined inclination angle according to the incline direction of determination.
In some embodiments of the application first aspect, it is described according to target subject in the base image
The step of position determines the incline direction of the camera lens of camera includes:By position of the target subject in the base image
Opposite direction as the camera lens of the camera incline direction.
In some embodiments of the application first aspect, the camera lens by the camera according to determination inclination
The step of direction is adjusted to predetermined inclination angle includes:The camera lens of the camera is adjusted to mirror according to the incline direction of determination
The maximum tilt angle of head.
In some embodiments of the application first aspect, the camera lens by the camera according to determination inclination
The step of direction is adjusted to predetermined inclination angle includes:Based on selection instruction by inclination of the camera lens of the camera according to determination
Direction is adjusted to angle of inclination corresponding with the selection instruction.
The second aspect of the application there is provided a kind of image processing apparatus, including:Image acquisition unit, for passing through shooting
Head obtains the base image where target subject;Processing unit, for being focused to target subject to obtain the mesh
Mark the blur-free imaging of subject;Adjustment unit, for being imaged according to position adjustment of the target subject in the base image
The angle of inclination of the camera lens of head, to obtain result images.
In some embodiments of the application second aspect, the processing unit includes:Focal length determining unit, according to mesh
Distance determines shooting focal length between mark subject and the camera lens of camera;Focusing unit, for the shooting focal length pair according to determination
The camera lens of camera is focused to obtain the blur-free imaging of the target subject.
In some embodiments of the application second aspect, the adjustment unit includes:Direction adjustment unit, for root
The incline direction of the camera lens of camera is determined according to position of the target subject in the base image;Angle adjusting, will
The camera lens of the camera is adjusted to predetermined inclination angle according to the incline direction of determination.
In some embodiments of the application second aspect, the direction adjustment unit is used for target subject in institute
The opposite direction for stating position in base image is used as the incline direction of the camera lens of the camera.
In some embodiments of the application second aspect, the angle adjusting is used for the mirror of the camera
Head is adjusted to the maximum tilt angle of camera lens according to the incline direction of determination.
In some embodiments of the application second aspect, the angle adjusting is used to be based on selection instruction by institute
The camera lens for stating camera is adjusted to angle of inclination corresponding with the selection instruction according to the incline direction of determination.
In some embodiments of the application second aspect, described image processing unit also includes:Display unit, it is described
Display unit is used to be shown the base image of acquisition, the blur-free imaging of target subject and result images.
In some embodiments of the application second aspect, the display unit is additionally operable to selection instruction and based on choosing
The image formed behind the angle of inclination for selecting instruction adjustment camera lens is shown.
The third aspect of the application there is provided a kind of electronic equipment, including:Camera and processor, the processor are used for
By the base image where camera acquisition target subject, target subject is focused to be shot with obtaining the target
The inclination angle of the camera lens of the blur-free imaging of thing and position adjustment camera according to target subject in the base image
Degree, to obtain result images.
In some embodiments of the application third aspect, the electronic equipment also includes:Display screen, for that will obtain
Base image, the blur-free imaging of target subject and result images shown.
As described above, the image processing method of the application, image processing apparatus and electronic equipment, with following beneficial effect
Really:
The image processing method of the application determines the inclination of camera lens by position of the target subject in base image
Direction, and obtain by adjusting the angle of inclination of camera lens high-quality virtualization effect.
Furthermore it is also possible to the size at angle of inclination be controlled based on selection instruction, so as to further improve the virtualization effect of image
Really, and the practicality of equipment and the experience of user are substantially increased.
Brief description of the drawings
Fig. 1 is shown as configuration diagram of the application image processing apparatus in an implementation.
Fig. 2 is shown as the application and is shown as position view of the target subject in base image in the application.
Fig. 3 is shown as the structural representation schematic diagram of the application shift shaft type camera lens module.
Fig. 4 is shown as schematic flow sheet of the application image processing method in an implementation.
Embodiment
Presently filed embodiment is illustrated by particular specific embodiment below, those skilled in the art can be by this explanation
Content disclosed by book understands other advantages and effect of the application easily.
In described below, refer to the attached drawing, accompanying drawing describes some embodiments of the application.It should be appreciated that it is also possible to use
Other embodiment, and can be carried out in the case of without departing substantially from spirit and scope of the present disclosure mechanical composition, structure, electrically with
And the detailed description below operational change should not be considered limiting, and the scope of embodiments herein
Only terms used herein are limited by the claims for the patent announced merely to describing specific embodiment, and not
It is intended to limit the application.The term of space correlation, such as " on ", " under ", "left", "right", " following ", " lower section ", " bottom ",
" top ", " top " etc., can use to illustrate an element or feature shown in figure and another element or spy in the text
The relation levied.
Furthermore, as used in herein, singulative " one ", " one " and "the" are intended to also include plural shape
Formula, unless had opposite instruction in context it will be further understood that term "comprising", " comprising " show there is described spy
Levy, step, operation, element, component, project, species, and/or group, but be not excluded for other one or more features, step, behaviour
Work, element, component, project, the presence of species, and/or group, occur or addition term "or" used herein and "and/or" quilt
Be construed to inclusive, or mean any one or any combinations therefore, " A, B or C " or " A, B and/or C " mean " with
Descend any one:A;B;C;A and B;A and C;B and C;A, B and C " are only when element, function, step or the combination of operation are in some sides
When inherently mutually exclusive under formula, the exception of this definition just occurs.
Referring to Fig. 1, Fig. 1 is shown as configuration diagram of the application image processing apparatus in an implementation, such as scheme
Shown, described image processing unit 100 includes:Image acquisition unit 10, processing unit 20 and adjustment unit 30.
Described image acquiring unit 10 is used to obtain the base image where target subject by camera.Specifically,
Camera can include:Camera lens and photo-sensitive cell.Photo-sensitive cell is, for example, charge coupled cell (Charge Coupled
Device, CCD), complementary matal-oxide semiconductor (Complementary Metal-Oxide Semiconductor,
CMOS) element or other elements.Described image acquiring unit 10 can be the combination of hardware and software, for driving camera to obtain
Take the base image where target subject.Specifically, the image light waves got by photo-sensitive cell are changed pixel by pixel
For electric signal, the electric signal changed is handled by being sent on image acquisition unit frame by frame, to generate suitable imaging
Signal, so as to finally get the base image where target subject.In the present embodiment, target subject is referred to:Camera lens
Image field in target shoot the corresponding subject of main body.
The processing unit 20 is used to target subject is focused to obtain the blur-free imaging of the target subject;
In the present embodiment, the processing unit 20 can include:Focal length determining unit and focusing unit, (not shown) are described
Focal length determining unit is used to determine shooting focal length according to distance between target subject and the camera lens of camera;The focusing unit
The camera lens of camera is focused for the shooting focal length according to determination to obtain the blur-free imaging of the target subject.
In the present embodiment, it is possible to use auto-focusing (Auto Focus) realizes the blur-free imaging of target subject.From
Dynamic focusing is taken pictures available for the camera of camera and mobile phone, so as to allow the fuzzy of picture, spot phenomenon to eliminate, and can handle
Picture becomes clear, bright.Specifically, in the present embodiment, facial auto-focusing (Face Auto Focus) can be passed through
Mode or the mode of manual palpation focusing (Touch Auto Focus) realize the focusing to target subject.
The adjustment unit 30 is used for the mirror of the position adjustment camera according to target subject in the base image
The angle of inclination of head, to obtain result images.
In the present embodiment, the adjustment unit includes:Direction adjustment unit and angle adjusting (not shown).
The direction adjustment unit is used to determine that the camera lens of camera inclines according to position of the target subject in the base image
Tilted direction;The angle adjusting is used to according to the incline direction of determination adjust the camera lens of the camera to predetermined inclination
Angle.Specifically, the direction adjustment unit is used for the opposite direction work of the position by target subject in the base image
For the incline direction of the camera lens of the camera.
By taking mobile phone photograph as an example, referring to Fig. 2, Fig. 2 is shown as position of the target subject in base image in the application
Schematic diagram is put, as illustrated, getting the base image P where target subject F with mobile phone camera, and is shown by display screen
The base image P.Positions of the target subject F in base image P is " upper left ", then the direction adjustment unit will be " right
Under " it is used as the incline direction of camera.Positions of the target subject F in base image P can be by including picture signal
Realize that the platform end of mobile phone includes but is not limited to high pass in the platform end of processor (Image Signal Processing, ISP)
(Qualcomm), Intel (Intel), Samsung (Samsung) etc..
After the incline direction of camera is obtained, the angle of inclination of camera is adjusted by angle adjusting,
In a kind of implementation, the angle adjusting adjusts the camera lens of the camera to camera lens according to the incline direction of determination
Maximum tilt angle.In the above-described example, the working method of the angle adjusting is:According to the incline direction of " bottom right "
The camera lens of camera is adjusted to maximum angle of inclination, the allowable angle of inclination of shifting axle (Tilt-shift) formula camera lens of such as mobile phone
Spend for 1.5 degree.
Shift shaft type (Tilt-shift) optical anti-vibration motor (Optical Image Stabilization, OIS), it is and general
Logical auto-focusing (Auto Focus, AF) motor is different, and the spring suspension system of shift shaft type OIS motors not only allows camera lens edge
The motion of focusing direction, also allows relative to one shaft fulcrum of camera lens to do the small inclination of any direction, angle of inclination is reachable
1.5°.Fig. 3 is refer to, Fig. 3 is shown as the structural representation of the application shift shaft type camera lens module, as illustrated, the shift shaft type
Camera lens module includes:Lens 31, shifting axle focus drive (Tilt/AF actuator) 32, imaging sensor (image
Sensor software module (Tilt/AF algorithm) 34, the shutter starter (shutter release) of axle focusing) 33, are moved
35th, image processor (ISP) 36 and optical anti-vibration gyroscope (OIS gyroscopes) 37.
Photographed scene 40 is shot using the shift shaft type camera lens module shown in Fig. 3 and shown to the display screen of mobile phone
On, and position of the target subject in base image is determined by described image processor 36, such as, target subject is on basis
Position in image is as illustrated, top-left position in base image;Then determine to move axle by shifting axle focusing software module 34
The incline direction of the lens 31 of formula camera lens is " bottom right " and angle of inclination is the maximum tilt angle (such as 1.5 degree) of the lens 31,
Then it is driven to cause lens 31 to the right to inclination, directly by described shifting axle 32 pairs of lens 31 of focus drive
To the maximum tilt angle (such as 1.5 degree) tilted to lens.
In the present embodiment, described image processing unit can also include:Display unit 40.The display unit 40 is used for
The base image of acquisition, the blur-free imaging of target subject and result images are shown.
By taking mobile phone as an example, the display unit can be realized by the touch-screen of mobile phone, and the touch-screen of mobile phone can be based on tactile
Feel and/or tactile contact receives the input of user.The touch sensitive surface that touch-screen formation one receives user's input.Should
On touch-screen and touch screen controller (together with any associated module and/or instruction set in memory) detection touch-screen
Contact (and any movement or interruption of the touch), and by the contact transformation detected into display on the touchscreen
Such as one or more soft-key buttons etc user interface object interaction.In one exemplary embodiment, touch-screen with
Contact point between user corresponds to one or more fingers of user.The touch-screen can use LCD (liquid crystal display) skill
Art or LPD (light emitting polymer displays) technology, but other Display Techniques can be used in other embodiments.Touch-screen and touch
Screen controller can use any one of a variety of Touch technologies to detect contact and its movement or interrupt, these Touch technologies
Including but not limited to electric capacity, resistance, infrared and surface acoustic wave techniques, and other proximity sensor arrays, or for determine with
The other technologies for the one or more points that touch-screen is in contact.Touch-screen shows the visual output from portable set, and touches
Quick plate does not provide visual output.Touch-screen can have the resolution ratio higher than 100dpi.In one exemplary embodiment, touch
Screen can have about 168dpi resolution ratio.User can use any appropriate object or accessory, such as instruction pen, finger
Deng to contact touch-screen.
With continued reference to Fig. 2 and Fig. 3, in other implementations, the angle adjusting can also be based on selection instruction
The camera lens of the camera is adjusted to angle of inclination corresponding with the selection instruction according to the incline direction of determination.It is described aobvious
The image that showing unit can also form to selection instruction and behind the angle of inclination based on selection instruction adjustment camera lens is shown.
Still by taking mobile phone as an example, when the image obtained by shift shaft type camera lens module is shown on the touch-screen of mobile phone, user
Touch focus operation (it is of course also possible to selecting face to focus) can be carried out to the image on touch-screen based on actual demand;This
When " focusing selection instruction " is exported by touch-screen by user, based on " the focusing selection instruction " in shift shaft type camera lens module
Image processor 36 determine target subject (subject i.e. corresponding to the touch operation of user) position in base image
Put, such as target subject is located at the top-left position shown in Fig. 2, then shift shaft type camera lens is determined by shifting axle focusing software module 34
Incline direction is bottom right, while tiltable angular range is shown on the touch-screen of mobile phone.Now, user can be based on tactile
The selection that the feedback information on screen carries out angle of inclination is touched, i.e., " angle of inclination selection instruction " is exported by touch-screen, based on this
Lens 31 are carried out corresponding with " angle of inclination selection instruction " by " angle of inclination selection instruction " by shifting axle focus drive 32
Angle of inclination, and after completing to tilt, the inclination angle of image acquired after tilting, such as user's output is shown on the touchscreen
It is 1.0 degree to spend the corresponding angle of inclination of selection instruction, then the angle of inclination of lens 31 is to tilt 1.0 degree, is tilted after 1.0 degree,
The image of photographed scene 40 is obtained by shift shaft type camera lens module, and the image is shown by touch-screen.Now, due to lens
31 angle of inclination make it that the image in addition to target subject is blurred.If the image virtualization effect after now tilting is not
Ideal, user can also continue to input angle of inclination selection instruction based on user interface, such as continue to increase angle of inclination or reduction
Angle of inclination etc., to reach optimal virtualization effect.
Foregoing selection instruction can be on touch-screen user interface realize input, user interface object is constitution equipment
User interface object, can include but is not limited to text, image, icon, soft-key button (or " virtual push button "), drop-down dish
List, radio button, check box, optional list etc..Shown user interface object can include:For transmission information or
The nonreciprocal object of composition user interface outward appearance, the interactive object for being available for user mutual or its combination.
Base image, selection instruction and angle of inclination of the present embodiment etc. can be stored in memory, memory
It may include high-speed random access memory, and may also include nonvolatile memory, such as one or more disk storages are set
Standby, flash memory device or other non-volatile solid-state memory devices.In certain embodiments, memory can also be included away from one
Or the memory of multiple processors, such as it is attached via the network that RF circuits or outside port and communication network (not shown) are accessed
Plus memory, wherein the communication network can be internet, one or more in-house networks, LAN (LAN), wide area network
(WLAN), storage area network (SAN) etc., or its is appropriately combined.Such as CPU and peripheral hardware of Memory Controller controllable device connect
Access of the other assemblies of mouth etc to memory.
The image processing apparatus of the present embodiment can apply to electronic equipment.The electronic equipment can include:Camera
And processor, the processor be used for by camera acquisition target subject where base image, target subject is entered
Row focusing is to obtain the blur-free imaging of the target subject and position according to target subject in the base image
The angle of inclination of the camera lens of camera is adjusted, to obtain result images.The electronic equipment also includes:Display screen, for that will obtain
Base image, the blur-free imaging of target subject and the result images taken are shown.
The electronic equipment includes but is not limited to notebook computer, tablet personal computer, mobile phone, smart mobile phone, media and broadcast
Device, personal digital assistant (PDA), digital camera etc. are put, includes the combination of wherein two or multinomial.The electronic equipment bag
Include memory, Memory Controller, one or more processing units (CPU), Peripheral Interface, RF circuits, voicefrequency circuit, raise one's voice
Device, microphone, input/output (I/O) subsystem, touch-screen, other outputs or control device, and outside port.These groups
Part is communicated by one or more communication bus or signal wire.The electronic equipment also includes being used to power for various assemblies
Power-supply system.The power-supply system can include power-supply management system, one or more power supplys (such as battery, alternating current
(AC)), charging system, power failure detection circuit, power supply changeover device or inverter, power supply status indicator (such as luminous two
Pole pipe, LED), and other any components associated with distribution with electric energy generation, the management in portable set.
Camera in the electronic equipment of the present embodiment can be realized using the shift shaft type camera lens module shown in Fig. 3.Place
It can include high pass chip of image processor etc. to manage device.The display screen can be touch-screen and provide user interface;
User interface object is the object of the user interface of constitution equipment, can include but is not limited to text, image, icon, soft-key button
(or " virtual push button "), drop-down menu, radio button, check box, optional list etc..Shown user interface object can be with
Including:For transmission information constitute user interface outward appearance nonreciprocal object, be available for user mutual interactive object or
It is combined.
Specifically, photographed scene 40 is shot and shown to mobile phone using the shift shaft type camera lens module shown in Fig. 3
On display screen, and position of the target subject in base image, such as, target subject are determined by described image processor 36
Position in base image is as illustrated, top-left position in base image;It is then true by shifting axle focusing software module 34
Determine shift shaft type camera lens lens 31 incline direction for " bottom right " and angle of inclination be the maximum tilt angle of the lens 31 (such as
1.5 degree), then by it is described shifting axle 32 pairs of lens 31 of focus drive be driven with cause lens 31 to the right to
Tilt, until tilting to the maximum tilt angle (such as 1.5 degree) with lens.
It is of course also possible to the input of selection instruction be carried out based on the user interface on touch-screen by user, i.e., when by shifting axle
The image that formula camera lens module is obtained is shown on the touch-screen of mobile phone, and user can be based on actual demand to the figure on touch-screen
As carrying out touch focus operation (it is of course also possible to selecting face to focus);" focusing choosing is now exported by touch-screen by user
Select instruction ", target subject is determined (i.e. by the image processor 36 in shift shaft type camera lens module based on " the focusing selection instruction "
Subject corresponding to the touch operation of user) position in base image, such as target subject is located at the left side shown in Fig. 2
Upper position, then determine that the incline direction of shift shaft type camera lens is bottom right, while by tiltable angle by shifting axle software module 34 of focusing
Degree scope is shown on the touch-screen of mobile phone.Now, user can carry out angle of inclination based on the feedback information on touch-screen
Selection, i.e., export " angle of inclination selection instruction " by touch-screen, based on " the angle of inclination selection instruction ", is focused and driven by shifting axle
Dynamic device 32 carries out the angle of inclination corresponding with " angle of inclination selection instruction " to lens 31, and after completing to tilt, is touching
Screen display image acquired after tilting, such as the corresponding angle of inclination of angle of inclination selection instruction of user's output is 1.0
Degree, then the angle of inclination of lens 31 is to tilt 1.0 degree, tilts after 1.0 degree, photographed scene 40 is obtained by shift shaft type camera lens module
Image, and the image is shown by touch-screen.Now, due to the angle of inclination of lens 31 cause except target subject it
Outer image is blurred.If the image virtualization effect after now tilting is undesirable, user can also continue to be based on user circle
Face inputs angle of inclination selection instruction, such as continues to increase angle of inclination or reduces angle of inclination, to reach optimal virtualization effect.
At present, because current shift shaft type OIS camera lenses tiltable angle is smaller, the virtualization effect for moving camera shaft is not reached far,
And shift shaft type OIS camera lenses are coordinated long-focus, large aperture camera lens to reduce the depth of field by the image processing apparatus and electronic equipment of the application,
Make virtualization effect more obvious.When camera, which enters, moves axle photograph mode, focused by face, to touch the modes such as auto-focusing true
Surely focus clear object plane, by judging location determination camera lens incline direction of the clear object plane in picture of focusing, so that real
Axle photography is now moved, by such mode, the virtualization effect of image is improved, more improves the experience of user.
With reference to Fig. 4, Fig. 4 is shown as schematic flow sheet of the application image processing method in an implementation, such as figure institute
Show, described image processing method includes:Step S10, starts camera to obtain the base image where target subject;Step
S20, target subject is focused to obtain the blur-free imaging of the target subject;Step S30, exists according to target subject
The angle of inclination of the camera lens of position adjustment camera in the base image, to obtain result images.
In the present embodiment, the step S20, is focused to obtain the clear of the target subject to target subject
The step of clear imaging, includes:Shooting focal length is determined according to distance between target subject and the camera lens of camera;According to determination
Shooting focal length is focused to obtain the blur-free imaging of the target subject to the camera lens of camera.Specifically, it is possible to use
Auto-focusing (Auto Focus) realizes the blur-free imaging of target subject.Auto-focusing can be used for the shooting of camera and mobile phone
Head is taken pictures, and so as to allow the fuzzy of picture, spot phenomenon to eliminate, and picture can be become clear, bright.Specifically, exist
In the present embodiment, can by way of facial auto-focusing (Face Auto Focus) or manual palpation focusing (Touch
Auto Focus) mode realize the focusing to target subject.
The step S30, according to inclining for the camera lens of position adjustment camera of the target subject in the base image
The step of rake angle, includes:The inclination side of the camera lens of camera is determined according to position of the target subject in the base image
To;The camera lens of the camera is adjusted to predetermined inclination angle according to the incline direction of determination.Specifically, in an implementation example
In, the opposite direction of position that can be using target subject in the base image is used as the inclination side of the camera lens of the camera
To while the camera lens of the camera is adjusted to the maximum tilt angle of camera lens according to the incline direction of determination.In another reality
In existing example, the opposite direction of position that can be using target subject in the base image is used as the camera lens of the camera
Incline direction, at the same based on selection instruction by the camera lens of the camera according to the incline direction of determination adjust to the selection
Instruct corresponding angle of inclination.
Specifically, step S30 can be realized by the adjustment unit shown in Fig. 1, the adjustment unit can include:Side
To adjustment unit and angle adjusting (not shown).The direction adjustment unit is used for according to target subject described
Position in base image determines the incline direction of the camera lens of camera;The angle adjusting is used for the camera
Camera lens is adjusted to predetermined inclination angle according to the incline direction of determination.Specifically, the direction adjustment unit is used to clap target
The opposite direction for taking the photograph position of the thing in the base image is used as the incline direction of the camera lens of the camera.
By taking mobile phone photograph as an example, referring to Fig. 2, Fig. 2 is shown as position of the target subject in base image in the application
Put, as illustrated, getting the base image P where target subject F with mobile phone camera, and the base is shown by display screen
Plinth image P.Positions of the target subject F in base image P is " upper left ", then the direction adjustment unit is by " bottom right " conduct
The incline direction of camera.Positions of the target subject F in base image P can be by including image-signal processor
Realize that the platform end of mobile phone includes but is not limited to high pass in the platform end of (Image Signal Processing, ISP)
(Qualcomm), Intel (Intel), Samsung (Samsung) etc..
After the incline direction of camera is obtained, the angle of inclination of camera is adjusted by angle adjusting,
In a kind of implementation, the angle adjusting adjusts the camera lens of the camera to camera lens according to the incline direction of determination
Maximum tilt angle.In the above-described example, the working method of the angle adjusting is:According to the incline direction of " bottom right "
The camera lens of camera is adjusted to maximum angle of inclination, the allowable angle of inclination of shifting axle (Tilt-shift) formula camera lens of such as mobile phone
Spend for 1.5 degree.
Shift shaft type (Tilt-shift) optical anti-vibration motor (Optical Image Stabilization, OIS), it is and general
Logical auto-focusing (Auto Focus, AF) motor is different, and the spring suspension system of shift shaft type OIS motors not only allows camera lens edge
The motion of focusing direction, also allows relative to one shaft fulcrum of camera lens to do the small inclination of any direction, angle of inclination is reachable
1.5°.Fig. 3 is refer to, Fig. 3 is shown as the structural representation of the application shift shaft type camera lens module, as illustrated, the shift shaft type
Camera lens module includes:Lens 31, shifting axle focus drive (Tilt/AF actuator) 32, imaging sensor (image
Sensor software module (Tilt/AF algorithm) 34, the shutter starter (shutter release) of axle focusing) 33, are moved
35th, image processor (ISP) 36 and optical anti-vibration gyroscope (OIS gyroscopes) 37.
Photographed scene 40 is shot using the shift shaft type camera lens module shown in Fig. 3 and shown to the display screen of mobile phone
On, and position of the target subject in base image is determined by described image processor 36, such as, target subject is on basis
Position in image is as illustrated, top-left position in base image;Then determine to move axle by shifting axle focusing software module 34
The incline direction of the lens 31 of formula camera lens is " bottom right " and angle of inclination is the maximum tilt angle (such as 1.5 degree) of the lens 31,
Then it is driven to cause lens 31 to the right to inclination, directly by described shifting axle 32 pairs of lens 31 of focus drive
To the maximum tilt angle (such as 1.5 degree) tilted to lens.
In the present embodiment, described image processing unit can also include:Display unit 40.The display unit 40 is used for
The base image of acquisition, the blur-free imaging of target subject and result images are shown.
By taking mobile phone as an example, the display unit can be realized by the touch-screen of mobile phone, and the touch-screen of mobile phone can be based on tactile
Feel and/or tactile contact receives the input of user.The touch sensitive surface that touch-screen formation one receives user's input.Should
On touch-screen and touch screen controller (together with any associated module and/or instruction set in memory) detection touch-screen
Contact (and any movement or interruption of the touch), and by the contact transformation detected into display on the touchscreen
Such as one or more soft-key buttons etc user interface object interaction.In one exemplary embodiment, touch-screen with
Contact point between user corresponds to one or more fingers of user.The touch-screen can use LCD (liquid crystal display) skill
Art or LPD (light emitting polymer displays) technology, but other Display Techniques can be used in other embodiments.Touch-screen and touch
Screen controller can use any one of a variety of Touch technologies to detect contact and its movement or interrupt, these Touch technologies
Including but not limited to electric capacity, resistance, infrared and surface acoustic wave techniques, and other proximity sensor arrays, or for determine with
The other technologies for the one or more points that touch-screen is in contact.Touch-screen shows the visual output from portable set, and touches
Quick plate does not provide visual output.Touch-screen can have the resolution ratio higher than 100dpi.In one exemplary embodiment, touch
Screen can have about 168dpi resolution ratio.User can use any appropriate object or accessory, such as instruction pen, finger
Deng to contact touch-screen.
With continued reference to Fig. 2 and Fig. 3, in other implementations, the angle adjusting can also be based on selection instruction
The camera lens of the camera is adjusted to angle of inclination corresponding with the selection instruction according to the incline direction of determination.It is described aobvious
The image that showing unit can also form to selection instruction and behind the angle of inclination based on selection instruction adjustment camera lens is shown.
Still by taking mobile phone as an example, when the image obtained by shift shaft type camera lens module is shown on the touch-screen of mobile phone, user
Touch focus operation (it is of course also possible to selecting face to focus) can be carried out to the image on touch-screen based on actual demand;This
When " focusing selection instruction " is exported by touch-screen by user, based on " the focusing selection instruction " in shift shaft type camera lens module
Image processor 36 determine target subject (subject i.e. corresponding to the touch operation of user) position in base image
Put, such as target subject is located at the top-left position shown in Fig. 2, then shift shaft type camera lens is determined by shifting axle focusing software module 34
Incline direction is bottom right, while tiltable angular range is shown on the touch-screen of mobile phone.Now, user can be based on tactile
The selection that the feedback information on screen carries out angle of inclination is touched, i.e., " angle of inclination selection instruction " is exported by touch-screen, based on this
Lens 31 are carried out corresponding with " angle of inclination selection instruction " by " angle of inclination selection instruction " by shifting axle focus drive 32
Angle of inclination, and after completing to tilt, the inclination angle of image acquired after tilting, such as user's output is shown on the touchscreen
It is 1.0 degree to spend the corresponding angle of inclination of selection instruction, then the angle of inclination of lens 31 is to tilt 1.0 degree, is tilted after 1.0 degree,
The image of photographed scene 40 is obtained by shift shaft type camera lens module, and the image is shown by touch-screen.Now, due to lens
31 angle of inclination make it that the image in addition to target subject is blurred.If the image virtualization effect after now tilting is not
Ideal, user can also continue to input angle of inclination selection instruction based on user interface, such as continue to increase angle of inclination or reduction
Angle of inclination etc., to reach optimal virtualization effect.
Foregoing selection instruction can be on touch-screen user interface realize input, user interface object is constitution equipment
User interface object, can include but is not limited to text, image, icon, soft-key button (or " virtual push button "), drop-down dish
List, radio button, check box, optional list etc..Shown user interface object can include:For transmission information or
The nonreciprocal object of composition user interface outward appearance, the interactive object for being available for user mutual or its combination.
Base image, selection instruction and angle of inclination of the present embodiment etc. can be stored in memory, memory
It may include high-speed random access memory, and may also include nonvolatile memory, such as one or more disk storages are set
Standby, flash memory device or other non-volatile solid-state memory devices.In certain embodiments, memory can also be included away from one
Or the memory of multiple processors, such as it is attached via the network that RF circuits or outside port and communication network (not shown) are accessed
Plus memory, wherein the communication network can be internet, one or more in-house networks, LAN (LAN), wide area network
(WLAN), storage area network (SAN) etc., or its is appropriately combined.Such as CPU and peripheral hardware of Memory Controller controllable device connect
Access of the other assemblies of mouth etc to memory.
In summary, the application image processing method, image processing apparatus and electronic equipment, by target subject in base
Position on plinth image determines incline direction and adjustment angle of inclination, so as to obtain the virtualization effect of image, not only effectively
Improve the imaging effect of image, and substantially increase the practicality of equipment.So, the application effectively overcomes existing
Various shortcoming in technology and have high industrial utilization.
The principle and its effect of above-described embodiment only illustrative the application, not for limitation the application.It is any ripe
Know the personage of this technology all can without prejudice to spirit herein and under the scope of, modifications and changes are carried out to above-described embodiment.Cause
This, those of ordinary skill in the art is complete without departing from spirit disclosed herein and institute under technological thought such as
Into all equivalent modifications or change, should be covered by claims hereof.
Claims (10)
1. a kind of image processing method, it is characterised in that comprise the following steps:
Start camera to obtain the base image where target subject;
Target subject is focused to obtain the blur-free imaging of the target subject;
According to the angle of inclination of the camera lens of position adjustment camera of the target subject in the base image, to obtain result
Image.
2. image processing method according to claim 1, it is characterised in that described to be focused to obtain to target subject
The step of blur-free imaging for taking the target subject, includes:
Shooting focal length is determined according to distance between target subject and the camera lens of camera;
The camera lens of camera is focused according to the shooting focal length of determination to obtain the blur-free imaging of the target subject.
3. image processing method according to claim 1, it is characterised in that it is described according to target subject on the basis
The step of angle of inclination of the camera lens of position adjustment camera in image, includes:
The incline direction of the camera lens of camera is determined according to position of the target subject in the base image;
The camera lens of the camera is adjusted to predetermined inclination angle according to the incline direction of determination.
4. image processing method according to claim 3, it is characterised in that it is described according to target subject on the basis
The step of position in image determines the incline direction of the camera lens of camera includes:By target subject in the base image
Position opposite direction as the camera lens of the camera incline direction.
5. image processing method according to claim 3, it is characterised in that the camera lens by camera is according to determination
The step of incline direction is adjusted to predetermined inclination angle includes:
The camera lens of the camera is adjusted to the maximum tilt angle of camera lens according to the incline direction of determination;And/or
The camera lens of the camera is adjusted to corresponding with the selection instruction according to the incline direction of determination based on selection instruction
Angle of inclination.
6. a kind of image processing apparatus, it is characterised in that including:
Image acquisition unit, for passing through the base image where camera acquisition target subject;
Processing unit, for being focused to target subject to obtain the blur-free imaging of the target subject;
Adjustment unit, the inclination angle for the camera lens of the position adjustment camera according to target subject in the base image
Degree, to obtain result images.
7. image processing apparatus according to claim 6, it is characterised in that the processing unit includes:
Focal length determining unit, shooting focal length is determined according to distance between target subject and the camera lens of camera;
Focusing unit, is focused to obtain the target subject for the shooting focal length according to determination to the camera lens of camera
Blur-free imaging.
8. image processing apparatus according to claim 6, it is characterised in that the adjustment unit includes:
Direction adjustment unit, for determining that according to position of the target subject in the base image camera lens of camera inclines
Tilted direction;
Angle adjusting, the camera lens of the camera is adjusted to predetermined inclination angle according to the incline direction of determination.
9. image processing apparatus according to claim 8, it is characterised in that the direction adjustment unit is used for:
Using the opposite direction of position of the target subject in the base image as the camera lens of the camera incline direction;
And/or
The camera lens of the camera is adjusted to the maximum tilt angle of camera lens according to the incline direction of determination.
10. a kind of electronic equipment, it is characterised in that including:Camera and processor, the processor are used to obtain by camera
Take the base image where target subject, target subject is focused to obtain the blur-free imaging of the target subject
And the angle of inclination of the camera lens of the position adjustment camera according to target subject in the base image, to obtain result
Image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710601487.2A CN107277363A (en) | 2017-07-21 | 2017-07-21 | Image processing method, image processing apparatus and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710601487.2A CN107277363A (en) | 2017-07-21 | 2017-07-21 | Image processing method, image processing apparatus and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107277363A true CN107277363A (en) | 2017-10-20 |
Family
ID=60078036
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710601487.2A Pending CN107277363A (en) | 2017-07-21 | 2017-07-21 | Image processing method, image processing apparatus and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107277363A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108307106A (en) * | 2017-12-29 | 2018-07-20 | 维沃移动通信有限公司 | A kind of image processing method, device and mobile terminal |
CN110971803A (en) * | 2019-12-18 | 2020-04-07 | 维沃移动通信有限公司 | Shooting method, shooting device, electronic equipment and medium |
CN111246106A (en) * | 2020-01-22 | 2020-06-05 | 维沃移动通信有限公司 | Image processing method, electronic device, and computer-readable storage medium |
CN112230491A (en) * | 2020-10-30 | 2021-01-15 | 广西代达科技有限公司 | Application method of technical camera capable of automatically focusing |
CN113225473A (en) * | 2020-02-05 | 2021-08-06 | 浙江大华技术股份有限公司 | Method, apparatus, device and medium for auto-focusing |
CN113572947A (en) * | 2020-04-29 | 2021-10-29 | 浙江大华技术股份有限公司 | Image sensor adjusting method and device, storage medium and electronic device |
WO2022012275A1 (en) * | 2020-07-13 | 2022-01-20 | 杭州海康威视数字技术股份有限公司 | Photography lens and adjustment method for photography lens |
CN114500804A (en) * | 2022-01-24 | 2022-05-13 | 横店集团东磁有限公司 | Module suitable for learning tablet front shot picture and implementation method thereof |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005095432A (en) * | 2003-09-25 | 2005-04-14 | Olympus Corp | Imaging device |
US20100245611A1 (en) * | 2009-03-25 | 2010-09-30 | Hon Hai Precision Industry Co., Ltd. | Camera system and image adjusting method for the same |
CN102393473A (en) * | 2011-08-02 | 2012-03-28 | 南京理工大学 | System for testing particle moving speed based on single image |
CN103813104A (en) * | 2014-03-12 | 2014-05-21 | 爱佩仪光电技术(深圳)有限公司 | Method for realizing shift photography and three-dimensional multi-region automatic focusing through touch screen operation |
WO2014187187A1 (en) * | 2013-05-20 | 2014-11-27 | 爱佩仪光电技术(深圳)有限公司 | Method for realizing tilt-shift photography and three-dimensional multi-area auto-focus via touch screen operation |
CN105959534A (en) * | 2016-04-28 | 2016-09-21 | 青岛海信移动通信技术股份有限公司 | Image processing method, device and electronic equipment |
CN105979165A (en) * | 2016-06-02 | 2016-09-28 | 广东欧珀移动通信有限公司 | Blurred photos generation method, blurred photos generation device and mobile terminal |
CN106060398A (en) * | 2016-06-30 | 2016-10-26 | 维沃移动通信有限公司 | Method for automatically adjusting camera and mobile terminal |
CN106210464A (en) * | 2015-05-29 | 2016-12-07 | 奥林巴斯株式会社 | Camera head and the control method of camera head |
-
2017
- 2017-07-21 CN CN201710601487.2A patent/CN107277363A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005095432A (en) * | 2003-09-25 | 2005-04-14 | Olympus Corp | Imaging device |
US20100245611A1 (en) * | 2009-03-25 | 2010-09-30 | Hon Hai Precision Industry Co., Ltd. | Camera system and image adjusting method for the same |
CN102393473A (en) * | 2011-08-02 | 2012-03-28 | 南京理工大学 | System for testing particle moving speed based on single image |
WO2014187187A1 (en) * | 2013-05-20 | 2014-11-27 | 爱佩仪光电技术(深圳)有限公司 | Method for realizing tilt-shift photography and three-dimensional multi-area auto-focus via touch screen operation |
CN103813104A (en) * | 2014-03-12 | 2014-05-21 | 爱佩仪光电技术(深圳)有限公司 | Method for realizing shift photography and three-dimensional multi-region automatic focusing through touch screen operation |
CN106210464A (en) * | 2015-05-29 | 2016-12-07 | 奥林巴斯株式会社 | Camera head and the control method of camera head |
CN105959534A (en) * | 2016-04-28 | 2016-09-21 | 青岛海信移动通信技术股份有限公司 | Image processing method, device and electronic equipment |
CN105979165A (en) * | 2016-06-02 | 2016-09-28 | 广东欧珀移动通信有限公司 | Blurred photos generation method, blurred photos generation device and mobile terminal |
CN106060398A (en) * | 2016-06-30 | 2016-10-26 | 维沃移动通信有限公司 | Method for automatically adjusting camera and mobile terminal |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108307106B (en) * | 2017-12-29 | 2021-01-26 | 维沃移动通信有限公司 | Image processing method and device and mobile terminal |
CN108307106A (en) * | 2017-12-29 | 2018-07-20 | 维沃移动通信有限公司 | A kind of image processing method, device and mobile terminal |
CN110971803A (en) * | 2019-12-18 | 2020-04-07 | 维沃移动通信有限公司 | Shooting method, shooting device, electronic equipment and medium |
CN111246106A (en) * | 2020-01-22 | 2020-06-05 | 维沃移动通信有限公司 | Image processing method, electronic device, and computer-readable storage medium |
US11792351B2 (en) | 2020-01-22 | 2023-10-17 | Vivo Mobile Communication Co., Ltd. | Image processing method, electronic device, and computer-readable storage medium |
WO2021147921A1 (en) * | 2020-01-22 | 2021-07-29 | 维沃移动通信有限公司 | Image processing method, electronic device and computer-readable storage medium |
CN111246106B (en) * | 2020-01-22 | 2021-08-03 | 维沃移动通信有限公司 | Image processing method, electronic device, and computer-readable storage medium |
CN113225473B (en) * | 2020-02-05 | 2022-07-08 | 浙江大华技术股份有限公司 | Method, apparatus, device and medium for auto-focusing |
CN113225473A (en) * | 2020-02-05 | 2021-08-06 | 浙江大华技术股份有限公司 | Method, apparatus, device and medium for auto-focusing |
CN113572947A (en) * | 2020-04-29 | 2021-10-29 | 浙江大华技术股份有限公司 | Image sensor adjusting method and device, storage medium and electronic device |
CN113572947B (en) * | 2020-04-29 | 2023-03-24 | 浙江大华技术股份有限公司 | Image sensor adjusting method and device, storage medium and electronic device |
WO2022012275A1 (en) * | 2020-07-13 | 2022-01-20 | 杭州海康威视数字技术股份有限公司 | Photography lens and adjustment method for photography lens |
CN112230491A (en) * | 2020-10-30 | 2021-01-15 | 广西代达科技有限公司 | Application method of technical camera capable of automatically focusing |
CN114500804A (en) * | 2022-01-24 | 2022-05-13 | 横店集团东磁有限公司 | Module suitable for learning tablet front shot picture and implementation method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107277363A (en) | Image processing method, image processing apparatus and electronic equipment | |
JP5620142B2 (en) | Imaging apparatus and imaging method | |
JP5909889B2 (en) | Imaging control apparatus and imaging control method | |
WO2019205653A1 (en) | Lens module and camera | |
JP2013246313A (en) | Camera and portable terminal apparatus | |
JP2017505553A (en) | Camera control by face detection | |
CN103813104A (en) | Method for realizing shift photography and three-dimensional multi-region automatic focusing through touch screen operation | |
CN104853105B (en) | The fast automatic focusing method of three-dimensional based on the inclined photographic device of controllable camera lens | |
WO2013190906A1 (en) | Display control device, imaging device, and display control method | |
JP2012033104A (en) | Display device and imaging device | |
JP6476349B2 (en) | Imaging apparatus, focus control method, and focus control program | |
CN105446631B (en) | Electronic device and photographic means with camera function | |
CN113287296A (en) | Control method, handheld cloud deck, system and computer readable storage medium | |
CN206977568U (en) | Image processing apparatus and electronic equipment | |
US20240205534A1 (en) | Electronic equipment, method for controlling the same, and recording medium | |
WO2014141612A1 (en) | Image pickup apparatus | |
US11381736B2 (en) | Image capture apparatus and control method | |
KR20170004532A (en) | Wide angle picturing device and mobile apparatus including the same | |
JP2014013398A (en) | Imaging apparatus and method, and program | |
JP7490372B2 (en) | Imaging control device and control method thereof | |
CN112040095B (en) | Electronic device, control method of electronic device, and storage medium | |
US10924680B2 (en) | Image capture control apparatus and method of controlling the same | |
JP2015008417A (en) | Imaging apparatus | |
KR101530517B1 (en) | User terminal performable shooting function and method for adjusting location of shooting icon of the user terminal | |
US20230209177A1 (en) | Imaging apparatus |
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 |