CN104205031A - Image zoom method and equipment - Google Patents

Image zoom method and equipment Download PDF

Info

Publication number
CN104205031A
CN104205031A CN201480000605.9A CN201480000605A CN104205031A CN 104205031 A CN104205031 A CN 104205031A CN 201480000605 A CN201480000605 A CN 201480000605A CN 104205031 A CN104205031 A CN 104205031A
Authority
CN
China
Prior art keywords
scaling pictures
pictures
scaling
treatment
treat
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
Application number
CN201480000605.9A
Other languages
Chinese (zh)
Inventor
章楠楠
倪元强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Device Co Ltd
Original Assignee
Huawei Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Publication of CN104205031A publication Critical patent/CN104205031A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/161Detection; Localisation; Normalisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • H04N23/611Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/69Control of means for changing angle of the field of view, e.g. optical zoom objectives or electronic zooming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04806Zoom, i.e. interaction techniques or interactors for controlling the zooming operation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Studio Devices (AREA)
  • Image Processing (AREA)

Abstract

An embodiment of the invention provides an image zoom method and equipment. The method comprises a step of acquiring an instruction for carrying zoom operation on an image to be zoomed, a step of acquiring attribute information of the image to be zoomed and determing a zoomed point of the image to be zoomed according to the attribute information of the image to be zoomed, a step of zooming the image to be zoomed with the zoomed point as a zooming center. The image zoom method and equipment provided by the embodiment of the invention simplifies operation in the image zoom processing.

Description

Image zooming method and apparatus
Technical field
The embodiment of the present invention relates to picture Processing Technique, relates in particular to a kind of image zooming method and apparatus.
Background technology
Image zooming technology comprises that picture amplifies and picture dwindles two kinds of technology.In daily use, when user browses photo on subscriber equipment, can carry out convergent-divergent processing to picture.
In prior art, when subscriber equipment comprises touch-screen, user determines the position that needs convergent-divergent, then at this, needs the position of convergent-divergent to double-click a point fast, and then subscriber equipment carries out the convergent-divergent of picture centered by this point; Or user needs the position of convergent-divergent to carry out two kneading operations that refer at this, subscriber equipment can carry out the convergent-divergent of picture by two fingers kneadings centered by the central point of the line of screen drop point.When subscriber equipment does not comprise touch-screen, after user has triggered zoom operations by external units such as button or mouses, subscriber equipment can carry out the convergent-divergent of picture centered by the center of picture, then user mobile picture position again, so that show the interested image zooming point of user on the screen of subscriber equipment.
Yet in prior art, subscriber equipment carries out convergent-divergent at the drop point of screen to picture according to user's finger, or carries out convergent-divergent processing according to the center of picture, when user obtains interested image zooming point, operate very loaded down with trivial details.
Summary of the invention
The embodiment of the present invention provides a kind of image zooming method and apparatus, to simplify user in the operation of image zooming processing procedure, improves and controls efficiency.
First aspect, the invention provides a kind of image zooming method, comprising:
Obtain and treat the instruction that scaling pictures carries out zoom operations;
Described in obtaining, treat the attribute information of scaling pictures, according to the described attribute information for the treatment of scaling pictures, described in determining, treat the convergent-divergent point of scaling pictures;
The described convergent-divergent point of take is convergent-divergent center, to described, treats that scaling pictures carries out convergent-divergent processing.
In conjunction with first aspect, in the possible implementation of the first of first aspect, described in treat the attribute information of scaling pictures described in obtaining before, also comprise:
Take pictures obtain described in when scaling pictures, the focal position of taking pictures while focusing on until scaling pictures described in record, using described focal position of taking pictures while focusing on until scaling pictures as the described attribute information for the treatment of scaling pictures;
Described in described obtaining, treat the attribute information of scaling pictures, according to the described attribute information for the treatment of scaling pictures, described in determining, treat the convergent-divergent point of scaling pictures, comprising:
The focal position of taking pictures while focusing on until scaling pictures described in obtaining, using described focal position of taking pictures while focusing on as the described convergent-divergent point for the treatment of scaling pictures.
In conjunction with first aspect, in the possible implementation of the second of first aspect, described in treat the attribute information of scaling pictures described in obtaining before, also comprise:
Described in determining when scaling pictures comprises people's face, to described, treat that scaling pictures carries out recognition of face, described in obtaining, treat in scaling pictures that people's face is in described position for the treatment of scaling pictures, using described people's face in described position for the treatment of scaling pictures as the described attribute information for the treatment of scaling pictures;
Described in described obtaining, treat the attribute information of scaling pictures, according to the described attribute information for the treatment of scaling pictures, described in determining, treat the convergent-divergent point of scaling pictures, comprising:
Obtain described people's face in described position for the treatment of scaling pictures, using described people's face in described position for the treatment of scaling pictures as the described convergent-divergent point for the treatment of scaling pictures.
In conjunction with the possible implementation of the second of first aspect, in the third possible implementation of first aspect, describedly to described, treat that scaling pictures carries out recognition of face, described in obtaining, treat that in scaling pictures, people's face, in described position for the treatment of scaling pictures, comprising:
Described in determining, when scaling pictures comprises people's face, to described, treat that scaling pictures carries out recognition of face, described in obtaining, treat the people's face number in scaling pictures;
In described people's face number, be greater than at 1 o'clock, described in obtaining, treat the size of each one face in scaling pictures, determine people's face that maximum area is corresponding, described in obtaining, treat that people's face corresponding to maximum area described in scaling pictures is in described position for the treatment of scaling pictures; Or,
In described people's face number, be greater than at 1 o'clock, described in obtaining, treat that the people's face that is positioned at predeterminable area in scaling pictures is in described position for the treatment of scaling pictures.
In conjunction with first aspect, in the 4th kind of possible implementation of first aspect, described in treat the attribute information of scaling pictures described in obtaining before, also comprise:
Described in obtaining, treat the picture/mb-type of scaling pictures, according to pictorial information table, determine the zoom area corresponding with described picture/mb-type, using described zoom area as the described attribute information for the treatment of scaling pictures, wherein, in described pictorial information table, store the corresponding relation of picture/mb-type and zoom area;
Described in described obtaining, treat the attribute information of scaling pictures, according to the described attribute information for the treatment of scaling pictures, described in determining, treat the convergent-divergent point of scaling pictures, comprising:
Obtain described zoom area, determine the central point of described zoom area, using the central point of described zoom area as the described convergent-divergent point for the treatment of scaling pictures.
In conjunction with the 4th kind of possible implementation of first aspect, in the 5th kind of possible implementation of first aspect, described in treat the picture/mb-type of scaling pictures described in obtaining before, also comprise:
Obtain the zoom area of the definite normal pictures of user and the picture/mb-type of described normal pictures, set up the corresponding relation of described picture/mb-type and described zoom area, and described corresponding relation is saved in described pictorial information table.
Five kinds of any possible implementations of the first to the in conjunction with first aspect, first aspect, in the 6th kind of possible implementation of first aspect, the described user of obtaining triggers treats the instruction that scaling pictures carries out zoom operations, comprises as lower arbitrary:
Obtain user and to described, treat that institute's scaling pictures carries out the instruction of zoom operations by what treat that the optional position of scaling pictures triggers described in touching;
Obtain user and to described, treat that institute's scaling pictures carries out the instruction of zoom operations by speech trigger;
Obtain user and to described, treat that institute's scaling pictures carries out the instruction of zoom operations by what press that programmable button triggers.
Second aspect, the invention provides a kind of subscriber equipment, comprising:
Instruction acquisition module, treats for obtaining the instruction that scaling pictures carries out zoom operations;
Convergent-divergent point acquisition module, for treating the attribute information of scaling pictures described in obtaining, according to the described attribute information for the treatment of scaling pictures, treats the convergent-divergent point of scaling pictures described in determining;
Convergent-divergent processing module, is convergent-divergent center for take described convergent-divergent point, to described, treats that scaling pictures carries out convergent-divergent processing.
In conjunction with second aspect, in the possible implementation of the first of second aspect, also comprise: the first attribute acquisition module, before treating the attribute information of scaling pictures at described convergent-divergent point acquisition module described in obtaining, take pictures obtain described in when scaling pictures, focal position described in record when scaling pictures is taken pictures focusing, using described focal position when scaling pictures is taken pictures focusing as the described attribute information for the treatment of scaling pictures;
Described convergent-divergent point acquisition module is specifically for the focal position of taking pictures while focusing on until scaling pictures described in obtaining, using described focal position of taking pictures while focusing on as the described convergent-divergent point for the treatment of scaling pictures.
In conjunction with second aspect, in the possible implementation of the second of second aspect, also comprise: the second attribute acquisition module, before treating the attribute information of scaling pictures at described convergent-divergent point acquisition module described in obtaining, described in determining when scaling pictures comprises people's face, to described, treat that scaling pictures carries out recognition of face, described in obtaining, treat in scaling pictures that people's face is in described position for the treatment of scaling pictures, using described people's face in described position for the treatment of scaling pictures as the described attribute information for the treatment of scaling pictures;
Described convergent-divergent point acquisition module specifically for: obtain described people's face in described position for the treatment of scaling pictures, using described people's face in described position for the treatment of scaling pictures as the described convergent-divergent point for the treatment of scaling pictures.
In conjunction with the possible implementation of the second of second aspect, in the third possible implementation of second aspect, described the second attribute acquisition module specifically for:
Described in determining, when scaling pictures comprises people's face, to described, treat that scaling pictures carries out recognition of face, described in obtaining, treat the people's face number in scaling pictures;
In described people's face number, be greater than at 1 o'clock, described in obtaining, treat the size of each one face in scaling pictures, determine people's face that maximum area is corresponding, described in obtaining, treat that people's face corresponding to maximum area described in scaling pictures is in described position for the treatment of scaling pictures; Or,
In described people's face number, be greater than at 1 o'clock, described in obtaining, treat that the people's face that is positioned at predeterminable area in scaling pictures is in described position for the treatment of scaling pictures.
In conjunction with second aspect, in the 4th kind of possible implementation of second aspect, also comprise: the 3rd attribute acquisition module, before treating the attribute information of scaling pictures at described convergent-divergent point acquisition module described in obtaining, described in obtaining, treat the picture/mb-type of scaling pictures, according to pictorial information table, determine the zoom area corresponding with described picture/mb-type, using described zoom area as the described attribute information for the treatment of scaling pictures, wherein, in described pictorial information table, store the corresponding relation of picture/mb-type and zoom area;
Described convergent-divergent point acquisition module specifically for: obtain described zoom area, determine the central point of described zoom area, using the central point of described zoom area as the described convergent-divergent point for the treatment of scaling pictures.
The 4th kind of possible implementation in conjunction with second aspect, in the 5th kind of possible implementation of second aspect, also comprise: relation is set up module, before treating the picture/mb-type of scaling pictures at described convergent-divergent point acquisition module described in obtaining, obtain the zoom area of the definite normal pictures of user and the picture/mb-type of described normal pictures, set up the corresponding relation of described picture/mb-type and described zoom area, and described corresponding relation is saved in described pictorial information table.
In conjunction with five kinds of any possible implementations of the first to the of second aspect, second aspect, in the 6th kind of possible implementation of second aspect, described instruction acquisition module, specifically for being achieved as follows arbitrary in mode:
Obtain user and to described, treat that institute's scaling pictures carries out the instruction of zoom operations by what treat that the optional position of scaling pictures triggers described in touching;
Obtain user and to described, treat that institute's scaling pictures carries out the instruction of zoom operations by speech trigger;
Obtain user and to described, treat that institute's scaling pictures carries out the instruction of zoom operations by what press that programmable button triggers.
The third aspect, the invention provides a kind of subscriber equipment, comprising:
Input media, treats for obtaining the instruction that scaling pictures carries out zoom operations;
Processor, for treating the attribute information of scaling pictures described in obtaining, according to the described attribute information for the treatment of scaling pictures, treats the convergent-divergent point of scaling pictures described in determining, the described convergent-divergent point of take is convergent-divergent center, to described, treats that scaling pictures carries out convergent-divergent processing.
In conjunction with the third aspect, in the possible implementation of the first of the third aspect, described processor also for, before described input media is treated the attribute information of scaling pictures described in obtaining, take pictures obtain described in when scaling pictures, focal position described in record when scaling pictures is taken pictures focusing, using described focal position when scaling pictures is taken pictures focusing as the described attribute information for the treatment of scaling pictures;
Described processor is specifically for the focal position of taking pictures while focusing on until scaling pictures described in obtaining, using described focal position of taking pictures while focusing on as the described convergent-divergent point for the treatment of scaling pictures.
In conjunction with the third aspect, in the possible implementation of the second of the third aspect, described processor also for: before described input media is treated the attribute information of scaling pictures described in obtaining, described in determining when scaling pictures comprises people's face, to described, treat that scaling pictures carries out recognition of face, described in obtaining, treat in scaling pictures that people's face is in described position for the treatment of scaling pictures, using described people's face in described position for the treatment of scaling pictures as the described attribute information for the treatment of scaling pictures;
Described processor specifically for: obtain described people's face in described position for the treatment of scaling pictures, using described people's face in described position for the treatment of scaling pictures as the described convergent-divergent point for the treatment of scaling pictures.
In conjunction with the possible implementation of the second of the third aspect, in the third possible implementation of the third aspect, described processor is used for, described in determining when scaling pictures comprises people's face, to described, treat that scaling pictures carries out recognition of face, described in obtaining, treat that in scaling pictures, people's face, in described position for the treatment of scaling pictures, is specially:
Described in determining, when scaling pictures comprises people's face, to described, treat that scaling pictures carries out recognition of face, described in obtaining, treat the people's face number in scaling pictures;
In described people's face number, be greater than at 1 o'clock, described in obtaining, treat the size of each one face in scaling pictures, determine people's face that maximum area is corresponding, described in obtaining, treat that people's face corresponding to maximum area described in scaling pictures is in described position for the treatment of scaling pictures; Or,
In described people's face number, be greater than at 1 o'clock, described in obtaining, treat that the people's face that is positioned at predeterminable area in scaling pictures is in described position for the treatment of scaling pictures.
In conjunction with the third aspect, in the 4th kind of possible implementation of the third aspect, described processor also for, before described input media is treated the attribute information of scaling pictures described in obtaining, described in obtaining, treat the picture/mb-type of scaling pictures, according to pictorial information table, determine the zoom area corresponding with described picture/mb-type, using described zoom area as the described attribute information for the treatment of scaling pictures, wherein, in described pictorial information table, store the corresponding relation of picture/mb-type and zoom area;
Described processor specifically for: obtain described zoom area, determine the central point of described zoom area, using the central point of described zoom area as the described convergent-divergent point for the treatment of scaling pictures.
The 4th kind of possible implementation in conjunction with the third aspect, in the 5th kind of possible implementation of the third aspect, described processor also for, before described input media is treated the picture/mb-type of scaling pictures described in obtaining, obtain the zoom area of the definite normal pictures of user and the picture/mb-type of described normal pictures, set up the corresponding relation of described picture/mb-type and described zoom area, and described corresponding relation is saved in described pictorial information table.
In conjunction with five kinds of any possible implementations of the first to the of the third aspect, the third aspect, in the 6th kind of possible implementation of the third aspect, described input media obtains the instruction that scaling pictures carries out zoom operations for the treatment of of user's triggering, is specially:
Described input media obtains user and to described, treats that institute's scaling pictures carries out the instruction of zoom operations by what treat that the optional position of scaling pictures triggers described in touching; Or,
Described input media obtains user and to described, treats that institute's scaling pictures carries out the instruction of zoom operations by speech trigger; Or,
Described input media obtains user and to described, treats that institute's scaling pictures carries out the instruction of zoom operations by what press that programmable button triggers.
The image zooming method and apparatus that the embodiment of the present invention provides, by obtaining the instruction that scaling pictures carries out zoom operations for the treatment of of user's triggering; Described in obtaining, treat the attribute information of scaling pictures, according to the described attribute information for the treatment of scaling pictures, described in determining, treat the convergent-divergent point of scaling pictures; The described convergent-divergent point of take is convergent-divergent center, to described, treat that scaling pictures carries out convergent-divergent processing, user does not need to determine convergent-divergent center, but determine the interested convergent-divergent of user center by subscriber equipment, and then subscriber equipment carries out convergent-divergent processing, simplified the operation of user in image zooming processing procedure, improved and controlled efficiency.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the process flow diagram of image zooming embodiment of the method one of the present invention;
Fig. 2 is the process flow diagram of image zooming embodiment of the method two of the present invention;
Fig. 3 is the process flow diagram of image zooming embodiment of the method three of the present invention;
Fig. 4 is the schematic diagram of face recognition result embodiment mono-of the present invention;
Fig. 5 is the schematic diagram of face recognition result embodiment bis-of the present invention;
Fig. 6 is the schematic diagram of face recognition result embodiment tri-of the present invention;
Fig. 7 is the process flow diagram of image zooming embodiment of the method four of the present invention;
Fig. 8 is the structural representation of subscriber equipment embodiment mono-of the present invention;
Fig. 9 is the structural representation of subscriber equipment embodiment bis-of the present invention;
Figure 10 is the structural representation of subscriber equipment embodiment tri-of the present invention;
Figure 11 is the structural representation of subscriber equipment embodiment tetra-of the present invention;
Figure 12 is the structural representation of subscriber equipment embodiment five of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Fig. 1 is the process flow diagram of image zooming embodiment of the method one of the present invention.The executive agent of the present embodiment is subscriber equipment, and this subscriber equipment can be by software and/or hardware are realized arbitrarily.This subscriber equipment is specifically as follows mobile phone, video camera, camera, computer etc., and other can carry out the subscriber equipment of picture processing, also can be used as the executive agent of the present embodiment.For the specific implementation of the subscriber equipment of the present embodiment, the present embodiment repeats no more herein.As shown in Figure 1, the method for the present embodiment can comprise:
Step 101, obtain and treat the instruction that scaling pictures carries out zoom operations;
Step 102, treat the attribute information of scaling pictures described in obtaining, according to the described attribute information for the treatment of scaling pictures, described in determining, treat the convergent-divergent point of scaling pictures;
Step 103, the described convergent-divergent point of take are convergent-divergent center, to described, treat that scaling pictures carries out convergent-divergent processing.
In specific implementation process, user can carry out convergent-divergent processing to the picture of storing on subscriber equipment, it will be understood by those skilled in the art that the picture that this picture can be downloaded from the Internet for user, also can by subscriber equipment, be taken pictures and be obtained for user.For the source of picture, the present embodiment is not done concrete restriction herein.
Particularly, in step 101, subscriber equipment only, getting after subscriber equipment treats the instruction that scaling pictures carries out zoom operations, just carries out convergent-divergent processing to picture.
In specific implementation process, subscriber equipment obtains the instruction that scaling pictures carries out zoom operations for the treatment of of user's triggering, comprises following possible implementation.
A possible implementation, obtains user and to described, treats that institute's scaling pictures carries out the instruction of zoom operations by what treat that the optional position of scaling pictures triggers described in touching.
Particularly, when subscriber equipment comprises touch-screen, when user need to treat scaling pictures and carries out zoom operations, user is after opening and treating scaling pictures, and user can treat that the optional position of scaling pictures is triggered by touching and treat the instruction that scaling pictures carries out zoom operations.
In specific implementation process, on touch-screen, there are two kinds of capacitance type sensors, mutual capacitance and self-capacitances.Mutual capacitance, detects for realizing multiple point touching.Self-capacitance can produce the signal more powerful than mutual capacitance, detects the induction of farther finger, but due to the effect of a kind of being known as " ghost (ghosting) ", cannot carry out multiple spot detection.Mutual capacitance has been used for normal touching induction, comprises multi-point touch.Therefore,, according to the not same-action of touch-screen upper sensor electric capacity, the scaling pictures for the treatment of that user touches touch screen display comprises contact touch-control and two kinds of situations of suspension touch-control.For contact touch-control, mainly the multiple point touching by mutual capacitance detects realization.For suspension touch-control, mainly by self-capacitance, detect the finger that hovers over top.
It will be understood by those skilled in the art that above-mentioned is only how schematic explanation realizes contact touch-control and suspension touch-control, and the present embodiment, to realizing the implementation of contact touch-control and suspension touch-control, is not particularly limited.
Another kind of possible implementation, obtains user and to described, treats that institute's scaling pictures carries out the instruction of zoom operations by speech trigger.
Particularly, when subscriber equipment comprises microphone, when user need to treat scaling pictures and carries out zoom operations, user, after opening and treating scaling pictures, can pass through voice, such as triggerings such as " image zoomings ", treats the instruction that scaling pictures carries out convergent-divergent.When the acoustic sensor on subscriber equipment perceives user's voice or the receiver on subscriber equipment and receives the signal of this " image zooming ", semanteme to these voice is identified, if semanteme is image zooming, get the instruction that scaling pictures carries out convergent-divergent for the treatment of of user's triggering.
The implementation that another is possible, obtains user and to described, treats that institute's scaling pictures carries out the instruction of zoom operations by what press that programmable button triggers.
Particularly, when user need to treat scaling pictures and carries out zoom operations, user presses programmable button, and the pressure transducer on subscriber equipment equipment perceives user while pressing programmable button, gets the instruction that scaling pictures carries out convergent-divergent for the treatment of that user triggers.It will be appreciated by those skilled in the art that, in the present embodiment, subscriber equipment can comprise touch-screen, also can not comprise touch-screen, can comprise that microphone also can not comprise microphone, as long as this subscriber equipment comprises function button, can be using any function key arranging on subscriber equipment as programmable button.
It will be appreciated by those skilled in the art that, the present embodiment is not limited to above-mentioned possible implementation, it can also be other possible implementation, for example, subscriber equipment also can pass through light sensor, gas sensor, temp-sensitive sensor etc., and the treat institute scaling pictures corresponding with sensor that obtains user's triggering carries out the instruction of zoom operations.
In step 102, subscriber equipment obtains the attribute information for the treatment of scaling pictures.Wherein, the attribute information for the treatment of scaling pictures refers to attribute and the information for the treatment of that scaling pictures itself has.For example, focal position in the time of, can focusing on for taking pictures, people's face are in the size of the position for the treatment of scaling pictures, picture etc.
According to the attribute information for the treatment of scaling pictures, determine the convergent-divergent point for the treatment of scaling pictures again.For example,, using the focal position when taking pictures of scaling pictures focuses on as convergent-divergent point.
In step 103, subscriber equipment, with convergent-divergent point definite in step 102, as the convergent-divergent center for the treatment of scaling pictures, is treated scaling pictures and is carried out convergent-divergent processing.
The image zooming method that the embodiment of the present invention provides, by obtaining the instruction that scaling pictures carries out zoom operations for the treatment of of user's triggering; Described in obtaining, treat the attribute information of scaling pictures, according to the described attribute information for the treatment of scaling pictures, described in determining, treat the convergent-divergent point of scaling pictures; The described convergent-divergent point of take is convergent-divergent center, to described, treat that scaling pictures carries out convergent-divergent processing, user does not need to determine convergent-divergent center, but determine the interested convergent-divergent of user center by subscriber equipment, and then subscriber equipment carries out convergent-divergent processing, simplified the operation of user in image zooming processing procedure, improved and controlled efficiency.
Adopt several specific embodiments below, the image zooming method that the embodiment of the present invention is provided is elaborated, specifically can be with reference to Fig. 2 to Fig. 4.
Fig. 2 is the process flow diagram of image zooming embodiment of the method two of the present invention.As shown in Figure 2, the image zooming method that the present embodiment provides, comprising:
Step 201, take pictures obtain described in when scaling pictures, the focal position of taking pictures while focusing on until scaling pictures described in record, using described focal position of taking pictures while focusing on until scaling pictures as the described attribute information for the treatment of scaling pictures;
Step 202, obtain and treat that to described scaling pictures carries out the instruction of zoom operations;
Step 203, the focal position of taking pictures while focusing on until scaling pictures described in obtaining, using described focal position of taking pictures while focusing on as the described convergent-divergent point for the treatment of scaling pictures;
Step 204, the described convergent-divergent point of take are convergent-divergent center, to described, treat that scaling pictures carries out convergent-divergent processing.
In the present embodiment, step 202 is similar with step 101, and step 204 is similar with step 103, and the present embodiment repeats no more herein.
In the present embodiment, in step 201, when this is while obtaining by shooting style until scaling pictures, subscriber equipment is being taken pictures while obtaining until scaling pictures, the record focal position while focusing on of taking pictures, and using focal position as the attribute information for the treatment of scaling pictures.It will be understood by those skilled in the art that the attribute information for the treatment of scaling pictures comprises the various information for the treatment of scaling pictures, herein, just using focal position as a kind of attribute information for the treatment of scaling pictures.
In step 203, subscriber equipment getattr information, obtains the focal position of taking pictures while focusing in dependency information, and the focal position while focusing on taking pictures is as the described convergent-divergent point for the treatment of scaling pictures.
It will be understood by those skilled in the art that in the present embodiment, that by taking pictures, obtains treats scaling pictures, can, in advance using focal position as the attribute information for the treatment of scaling pictures, be kept in subscriber equipment together with treating convergent-divergent photo.User, need to treat scaling pictures and carry out convergent-divergent while processing, can directly use this attribute information, not need again to obtain, directly from step 202, start to carry out.
The image zooming method that the embodiment of the present invention provides, described in obtaining by taking pictures, when scaling pictures, focal position when record is taken pictures and focused on, using described focal position of taking pictures while focusing on as the described attribute information for the treatment of scaling pictures; Obtain the instruction that scaling pictures carries out zoom operations for the treatment of of user's triggering; The focal position of taking pictures described in obtaining while focusing on, using described focal position of taking pictures while focusing on as the described convergent-divergent point for the treatment of scaling pictures; The described convergent-divergent point of take is convergent-divergent center, to described, treats that scaling pictures carries out convergent-divergent processing.The scaling pictures for the treatment of obtaining owing to taking pictures only has a focus, so when user is during at convergent-divergent photo, using focal position as convergent-divergent point, using this convergent-divergent point as convergent-divergent center, treat scaling pictures and carry out convergent-divergent, not only better focus on user's focus, also simplified user's operation.
Fig. 3 is the process flow diagram of image zooming embodiment of the method three of the present invention.As shown in Figure 3, the image zooming method that the present embodiment provides, comprising:
Step 301, described in determining when scaling pictures comprises people's face, to described, treat that scaling pictures carries out recognition of face, described in obtaining, treat in scaling pictures that people's face is in described position for the treatment of scaling pictures, using described people's face in described position for the treatment of scaling pictures as the described attribute information for the treatment of scaling pictures;
Step 302, obtain and treat that to described scaling pictures carries out the instruction of zoom operations;
Step 303, obtain described people's face in described position for the treatment of scaling pictures, using described people's face in described position for the treatment of scaling pictures as the described convergent-divergent point for the treatment of scaling pictures;
Step 304, the described convergent-divergent point of take are convergent-divergent center, to described, treat that scaling pictures carries out convergent-divergent processing.
In the present embodiment, step 302 is similar with step 101, and step 304 is similar with step 103, and the present embodiment repeats no more herein.
The scaling pictures for the treatment of in the present embodiment can be the photographic work with artificial subject, or the picture of human beings.The present embodiment is elaborated to specific implementation process below.
In step 301, by face recognition technology, treating scaling pictures identifies, determine and to treat in scaling pictures, whether comprising people's face, if treat, scaling pictures comprises people's face, described in obtaining, treat in scaling pictures that people's face is in described position for the treatment of scaling pictures, using described people's face in described position for the treatment of scaling pictures as the described attribute information for the treatment of scaling pictures.The face identification method that face recognition technology in the present embodiment relates to is specifically as follows the face identification method of geometric properties, the face identification method of the face identification method of neural network, elastic graph coupling, the face identification method of support vector machine etc.For concrete face identification method, the present embodiment repeats no more herein.
Further, according to the number for the treatment of people's face number in scaling pictures, step 301 specifically can be divided into following two kinds of possible implementations.
The implementation that the first is possible, treats that scaling pictures comprises people's face described in determining, to described, treats that scaling pictures carries out recognition of face, treats the people's face number in scaling pictures described in obtaining; When people's face number is 1, obtain and treat in scaling pictures that people's face is in the position for the treatment of scaling pictures, using people's face in the position for the treatment of scaling pictures as the attribute information for the treatment of scaling pictures.
Particularly, when people's face number is 1, as shown in Figure 4, Fig. 4 is the schematic diagram of face recognition result embodiment mono-of the present invention, in Fig. 4, and the recognition result of the position behaviour face that black wire frame institute frame is lived.In Fig. 4, comprise people's face.Wherein, the center of black wire frame is to treat in scaling pictures that people's face is in the position for the treatment of scaling pictures, then using people's face in the position for the treatment of scaling pictures as the attribute information for the treatment of scaling pictures.
The implementation that the second is possible, when people's face number is while being a plurality of, is divided into again two kinds of possible situations, specific as follows:
Possible situation is: determine and treat that scaling pictures comprises people's face, treat scaling pictures and carry out recognition of face, obtain people's face number for the treatment of in scaling pictures; When people's face number is greater than 1, determine people's face corresponding to maximum area in a plurality of people's faces, described in obtaining, treat that people's face corresponding to maximum area described in scaling pictures is in described position for the treatment of scaling pictures, then, using this people's face in the position for the treatment of scaling pictures as the attribute information for the treatment of scaling pictures.
Particularly, when people's face number is while being a plurality of, as shown in Figure 5, Fig. 5 is the schematic diagram of face recognition result embodiment bis-of the present invention, in Fig. 5, and the recognition result of the position behaviour face that black wire frame institute frame is lived.In Fig. 5, comprise 3 people's faces.Now, obtain the size of 3 people's faces, the area of people's face that is positioned at the top is maximum, now, obtains this people's face in the position for the treatment of scaling pictures, then, using this people's face in the position for the treatment of scaling pictures as the attribute information for the treatment of scaling pictures.
Another kind of possible situation is: determine and treat that scaling pictures comprises people's face, treat scaling pictures and carry out recognition of face, obtain people's face number for the treatment of in scaling pictures; When described people's face number is greater than 1, described in obtaining, treat that the people's face that is positioned at predeterminable area in scaling pictures is in described position for the treatment of scaling pictures.
Particularly, the predeterminable area in the present embodiment can be default central area, default upper area, and default lower area, default left part region, default right areas etc., for the concrete region of predeterminable area representative, the present embodiment is not particularly limited herein.The concrete example of take is example, and when people's face number is while being a plurality of, as shown in Figure 6, Fig. 6 is the schematic diagram of face recognition result embodiment tri-of the present invention, in Fig. 6, and the recognition result of the position behaviour face that black wire frame institute frame is lived.In Fig. 6, identify altogether 5 people's faces.Count from left to right, the 3rd people's face is positioned at default central area, obtains the 3rd people's face in the position for the treatment of scaling pictures, then, using this people's face in the position for the treatment of scaling pictures as the attribute information for the treatment of scaling pictures.
It will be understood by those skilled in the art that the attribute information for the treatment of scaling pictures comprises the various information for the treatment of scaling pictures, in the various embodiments described above, just using people's face in the position for the treatment of scaling pictures as a kind of attribute information for the treatment of scaling pictures.
Further, in specific implementation process, step 301 does not have strict sequential relationship with step 302.Can be in advance using people's face in the position for the treatment of scaling pictures as the attribute information for the treatment of scaling pictures, also can get that user triggers treat the instruction that scaling pictures carries out zoom operations after, obtain people's face in the position for the treatment of scaling pictures, and as attribute information.
In step 303, described in obtaining, treats by subscriber equipment the attribute information of scaling pictures, from the described attribute information for the treatment of scaling pictures, obtain people's face in described position for the treatment of scaling pictures, using described people's face in described position for the treatment of scaling pictures as the described convergent-divergent point for the treatment of scaling pictures.
The embodiment of the present invention is by treating that to described scaling pictures carries out recognition of face, treats in scaling pictures that people's face is in described position for the treatment of scaling pictures described in obtaining, using described people's face in described position for the treatment of scaling pictures as the described attribute information for the treatment of scaling pictures; Obtain the instruction that scaling pictures carries out zoom operations for the treatment of of user's triggering; Described in obtaining, treat the attribute information of scaling pictures, from the described attribute information for the treatment of scaling pictures, obtain described people's face in described position for the treatment of scaling pictures, using described people's face in described position for the treatment of scaling pictures as the described convergent-divergent point for the treatment of scaling pictures; The described convergent-divergent point of take is convergent-divergent center, to described, treats that scaling pictures carries out convergent-divergent processing.When user is during at convergent-divergent photo, using people's face position as convergent-divergent point, using this convergent-divergent point as convergent-divergent center, treat scaling pictures and carry out convergent-divergent, not only better focus on user's focus, also simplified user's operation.
Fig. 7 is the process flow diagram of image zooming embodiment of the method four of the present invention.As shown in Figure 7, the image zooming method that the present embodiment provides, comprising:
Step 701, the zoom area of obtaining the definite normal pictures of user and the picture/mb-type of described normal pictures, set up the corresponding relation of described picture/mb-type and described zoom area, and described corresponding relation be saved in described pictorial information table;
Step 702, treat the picture/mb-type of scaling pictures described in obtaining, according to pictorial information table, determine the zoom area corresponding with described picture/mb-type, using described zoom area as the described attribute information for the treatment of scaling pictures;
Step 703, obtain and treat that to described scaling pictures carries out the instruction of zoom operations;
Step 704, obtain described zoom area, determine the central point of described zoom area, using the central point of described zoom area as the described convergent-divergent point for the treatment of scaling pictures;
Step 705, the described convergent-divergent point of take are convergent-divergent center, to described, treat that scaling pictures carries out convergent-divergent processing.
In the present embodiment, step 703 is similar with step 101, and step 705 is similar with step 103, and the present embodiment repeats no more herein.
In step 701, model pictorial information table, it will be understood by those skilled in the art that pictorial information table can set up by the subscriber equipment in the present embodiment, also can be established in advance by other subscriber equipment, is pre-stored in the subscriber equipment of the present embodiment.Pictorial information table Main Function is the historical behavior rule according to user, determines zoom area.
In specific implementation process, subscriber equipment obtains the zoom area of the definite normal pictures of user and the picture/mb-type of described normal pictures, set up the corresponding relation of described picture/mb-type and described zoom area, and described corresponding relation is saved in described pictorial information table, pictorial information table is for storing the corresponding relation of picture/mb-type and zoom area.
Wherein, normal pictures is the picture that subscriber equipment has been determined zoom area.Can gather the zoom area for the treatment of scaling pictures that user determines in the past, as the zoom area of normal pictures.Or, to a plurality of users, provide a plurality of standard pictures, by a plurality of users, determined the zoom area of each standard picture, then Information Monitoring, integrates, and sets up the corresponding relation of picture/mb-type and zoom area, and corresponding relation is saved in pictorial information table.Picture/mb-type is specifically as follows various scenery pictures, various personage's pictures or various animal pictures etc.For example, when picture/mb-type is scenery picture, because the scene that scenery picture is related is more, therefore, zoom area can be the central area of described scenery picture, can be also the region at the main scene place of described scenery picture; When picture/mb-type is personage's picture, because people's face multidigit is in the middle and upper part of image, therefore, zoom area can be the region, middle and upper part of picture; When picture/mb-type is animal picture, different animals, its corresponding zoom area is also different, when this animal is birds, zoom area can be for the region, middle and upper part of picture, and when this animal is terraria, zoom area can be the region, middle and lower part of picture.For the corresponding relation of picture/mb-type and zoom area, the present embodiment is not particularly limited herein.
In step 702, obtain the picture/mb-type for the treatment of scaling pictures, in pictorial information table, determine the zoom area corresponding with picture/mb-type, using zoom area as the attribute information for the treatment of scaling pictures.
Particularly, in pictorial information table, stored the corresponding relation of picture/mb-type and the zoom area of normal pictures, when the convergent-divergent point obtaining until scaling pictures, first obtain the picture/mb-type for the treatment of scaling pictures, then will treat that the picture/mb-type of scaling pictures mates with the picture/mb-type of normal pictures in pictorial information table, when the picture/mb-type of the picture/mb-type until scaling pictures and normal pictures in pictorial information table is consistent, using zoom area corresponding to the picture/mb-type of pictorial information table Plays picture as the zoom area for the treatment of scaling pictures, and as the attribute information for the treatment of scaling pictures.
For example, getting after scaling pictures, by image recognition technology, determine and treat that the picture/mb-type of scaling pictures is scenery picture, mate with the picture/mb-type of normal pictures in pictorial information table, when the picture/mb-type of normal pictures is scenery picture, the match is successful, and the zoom area that this normal pictures in pictorial information table is corresponding is treated to the zoom area of scaling pictures as this, and using this zoom area as the attribute information for the treatment of scaling pictures.
Again for example, getting after scaling pictures, by image recognition technology, determine and treat that the picture/mb-type of scaling pictures is the birds picture in animal picture, mate with the picture/mb-type of normal pictures in pictorial information table, when the picture/mb-type of normal pictures is birds picture, the match is successful, and the zoom area that this normal pictures in pictorial information table is corresponding is treated to the zoom area of scaling pictures as this, and using this zoom area as the attribute information for the treatment of scaling pictures.
For other specific embodiment, the present embodiment repeats no more herein.It will be understood by those skilled in the art that the attribute information for the treatment of scaling pictures comprises the various information for the treatment of scaling pictures, in the various embodiments described above, just using zoom area as a kind of attribute information for the treatment of scaling pictures.
Further, in specific implementation process, step 702 does not have strict sequential relationship with step 703.Can be in advance using zoom area as the attribute information for the treatment of scaling pictures, also can get that user triggers treat the instruction that scaling pictures carries out zoom operations after, obtain the picture/mb-type for the treatment of scaling pictures, in pictorial information table, determine the zoom area corresponding with picture/mb-type, using zoom area as the attribute information for the treatment of scaling pictures.
In step 704, subscriber equipment obtains the attribute information for the treatment of scaling pictures, from treating, the attribute information of scaling pictures, to obtain zoom area, determines the central point of zoom area, using the central point of zoom area as the described convergent-divergent point for the treatment of scaling pictures.
The image zooming method that the embodiment of the present invention provides, by obtaining the zoom area of the definite normal pictures of user and the picture/mb-type of described normal pictures, set up the corresponding relation of described picture/mb-type and described zoom area, and described corresponding relation is saved in described pictorial information table; Described in obtaining, treat the picture/mb-type of scaling pictures, in pictorial information table, determine the zoom area corresponding with described picture/mb-type, using described zoom area as the described attribute information for the treatment of scaling pictures; Obtain the instruction that scaling pictures carries out zoom operations for the treatment of of user's triggering; Described in obtaining, treat the attribute information of scaling pictures, from the described attribute information for the treatment of scaling pictures, obtain described zoom area, determine the central point of described zoom area, using the central point of described zoom area as the described convergent-divergent point for the treatment of scaling pictures; The described convergent-divergent point of take is convergent-divergent center, to described, treats that scaling pictures carries out convergent-divergent processing.When user is during at convergent-divergent photo, according to user's historical behavior is movable, determine convergent-divergent point, using this convergent-divergent point as convergent-divergent center, treat scaling pictures and carry out convergent-divergent, not only better focus on user's focus, also simplified user's operation.
Fig. 8 is the structural representation of subscriber equipment embodiment mono-of the present invention.As shown in Figure 8, the subscriber equipment 80 that the embodiment of the present invention provides, comprising: instruction acquisition module 801, convergent-divergent point acquisition module 802, convergent-divergent processing module 803.
Instruction acquisition module 801, treats for obtaining the instruction that scaling pictures carries out zoom operations;
Convergent-divergent point acquisition module 802, for treating the attribute information of scaling pictures described in obtaining, according to the described attribute information for the treatment of scaling pictures, treats the convergent-divergent point of scaling pictures described in determining;
Convergent-divergent processing module 803, is convergent-divergent center for take described convergent-divergent point, to described, treats that scaling pictures carries out convergent-divergent processing.
The subscriber equipment that the embodiment of the present invention provides, can be used for carrying out the technical scheme of said method embodiment, and its technique effect and know-why are similar, and the present embodiment repeats no more herein.
Fig. 9 is the structural representation of subscriber equipment embodiment bis-of the present invention.As shown in Figure 9, the present embodiment is on the basis of Fig. 8 embodiment, also comprise: the first attribute acquisition module 804, before treating the attribute information of scaling pictures at described convergent-divergent point acquisition module described in obtaining, take pictures obtain described in when scaling pictures, focal position described in record when scaling pictures is taken pictures focusing, using described focal position when scaling pictures is taken pictures focusing as the described attribute information for the treatment of scaling pictures;
Described convergent-divergent point acquisition module 802 is specifically for the focal position of taking pictures while focusing on until scaling pictures described in obtaining, using described focal position of taking pictures while focusing on as the described convergent-divergent point for the treatment of scaling pictures.
The subscriber equipment that the embodiment of the present invention provides, can be used for carrying out the technical scheme of said method embodiment, and its technique effect and know-why are similar, and the present embodiment repeats no more herein.
Figure 10 is the structural representation of subscriber equipment embodiment tri-of the present invention.As shown in figure 10, the present embodiment is on the basis of Fig. 8 embodiment, also comprise: the second attribute acquisition module 805, before treating the attribute information of scaling pictures at described convergent-divergent point acquisition module described in obtaining, described in determining when scaling pictures comprises people's face, to described, treat that scaling pictures carries out recognition of face, described in obtaining, treat in scaling pictures that people's face is in described position for the treatment of scaling pictures, using described people's face in described position for the treatment of scaling pictures as the described attribute information for the treatment of scaling pictures;
Described convergent-divergent point acquisition module 802 specifically for: obtain described people's face in described position for the treatment of scaling pictures, using described people's face in described position for the treatment of scaling pictures as the described convergent-divergent point for the treatment of scaling pictures.
Alternatively, described the second attribute acquisition module 805 specifically for:
Described in determining, when scaling pictures comprises people's face, to described, treat that scaling pictures carries out recognition of face, described in obtaining, treat the people's face number in scaling pictures;
In described people's face number, be greater than at 1 o'clock, described in obtaining, treat the size of each one face in scaling pictures, determine people's face that maximum area is corresponding, described in obtaining, treat that people's face corresponding to maximum area described in scaling pictures is in described position for the treatment of scaling pictures; Or,
In described people's face number, be greater than at 1 o'clock, described in obtaining, treat that the people's face that is positioned at predeterminable area in scaling pictures is in described position for the treatment of scaling pictures.
The subscriber equipment that the embodiment of the present invention provides, can be used for carrying out the technical scheme of said method embodiment, and its technique effect and know-why are similar, and the present embodiment repeats no more herein.
Figure 11 is the structural representation of subscriber equipment embodiment tetra-of the present invention.As shown in figure 11, the present embodiment is on the basis of Fig. 8 embodiment, also comprise: the 3rd attribute acquisition module 806, before treating the attribute information of scaling pictures at described convergent-divergent point acquisition module described in obtaining, described in obtaining, treat the picture/mb-type of scaling pictures, according to pictorial information table, determine the zoom area corresponding with described picture/mb-type, using described zoom area as the described attribute information for the treatment of scaling pictures, wherein, in described pictorial information table, store the corresponding relation of picture/mb-type and zoom area;
Described convergent-divergent point acquisition module 802 specifically for: obtain described zoom area, determine the central point of described zoom area, using the central point of described zoom area as the described convergent-divergent point for the treatment of scaling pictures.
Alternatively, also comprise: relation is set up module 807, before treating the picture/mb-type of scaling pictures at described convergent-divergent point acquisition module described in obtaining, obtain the zoom area of the definite normal pictures of user and the picture/mb-type of described normal pictures, set up the corresponding relation of described picture/mb-type and described zoom area, and described corresponding relation is saved in described pictorial information table.
The subscriber equipment that the embodiment of the present invention provides, can be used for carrying out the technical scheme of said method embodiment, and its technique effect and know-why are similar, and the present embodiment repeats no more herein.
Alternatively, on the basis of Fig. 8 to Figure 11 embodiment, described instruction acquisition module 801, specifically for being achieved as follows arbitrary in mode:
Obtain user and to described, treat that institute's scaling pictures carries out the instruction of zoom operations by what treat that the optional position of scaling pictures triggers described in touching;
Obtain user and to described, treat that institute's scaling pictures carries out the instruction of zoom operations by speech trigger;
Obtain user and to described, treat that institute's scaling pictures carries out the instruction of zoom operations by what press that programmable button triggers.
Figure 12 is the structural representation of subscriber equipment embodiment five of the present invention.As shown in figure 12, the subscriber equipment 90 that the embodiment of the present invention provides comprises, input media 901 and processor 902.
Input media 901, treats for obtaining the instruction that scaling pictures carries out zoom operations;
Processor 902, for treating the attribute information of scaling pictures described in obtaining, according to the described attribute information for the treatment of scaling pictures, treats the convergent-divergent point of scaling pictures described in determining, the described convergent-divergent point of take is convergent-divergent center, to described, treats that scaling pictures carries out convergent-divergent processing.
Alternatively, described processor 902 also for, before described input media 901 is treated the attribute information of scaling pictures described in obtaining, take pictures obtain described in when scaling pictures, focal position described in record when scaling pictures is taken pictures focusing, using described focal position when scaling pictures is taken pictures focusing as the described attribute information for the treatment of scaling pictures;
Described processor 902 is specifically for the focal position of taking pictures while focusing on until scaling pictures described in obtaining, using described focal position of taking pictures while focusing on as the described convergent-divergent point for the treatment of scaling pictures.
Alternatively, described processor 902 also for: before described input media 901 is treated the attribute information of scaling pictures described in obtaining, described in determining when scaling pictures comprises people's face, to described, treat that scaling pictures carries out recognition of face, described in obtaining, treat in scaling pictures that people's face is in described position for the treatment of scaling pictures, using described people's face in described position for the treatment of scaling pictures as the described attribute information for the treatment of scaling pictures;
Described processor 902 specifically for: obtain described people's face in described position for the treatment of scaling pictures, using described people's face in described position for the treatment of scaling pictures as the described convergent-divergent point for the treatment of scaling pictures.
Alternatively, described processor 902 for, described in determining, when scaling pictures comprises people's face, to described, treat that scaling pictures carries out recognition of face, described in obtaining, treat that in scaling pictures, people's face, in described position for the treatment of scaling pictures, is specially:
Described in determining, when scaling pictures comprises people's face, to described, treat that scaling pictures carries out recognition of face, described in obtaining, treat the people's face number in scaling pictures;
In described people's face number, be greater than at 1 o'clock, described in obtaining, treat the size of each one face in scaling pictures, determine people's face that maximum area is corresponding, described in obtaining, treat that people's face corresponding to maximum area described in scaling pictures is in described position for the treatment of scaling pictures; Or,
In described people's face number, be greater than at 1 o'clock, described in obtaining, treat that the people's face that is positioned at predeterminable area in scaling pictures is in described position for the treatment of scaling pictures.
Alternatively, described processor 902 also for, before described input media 901 is treated the attribute information of scaling pictures described in obtaining, described in obtaining, treat the picture/mb-type of scaling pictures, according to pictorial information table, determine the zoom area corresponding with described picture/mb-type, using described zoom area as the described attribute information for the treatment of scaling pictures, wherein, in described pictorial information table, store the corresponding relation of picture/mb-type and zoom area;
Described processor 902 specifically for: obtain described zoom area, determine the central point of described zoom area, using the central point of described zoom area as the described convergent-divergent point for the treatment of scaling pictures.
Alternatively, described processor 902 also for, before described input media 901 is treated the picture/mb-type of scaling pictures described in obtaining, obtain the zoom area of the definite normal pictures of user and the picture/mb-type of described normal pictures, set up the corresponding relation of described picture/mb-type and described zoom area, and described corresponding relation is saved in described pictorial information table.
Alternatively, described input media 901 obtains the instruction that scaling pictures carries out zoom operations for the treatment of of user's triggering, is specially:
Described input media 901 obtains user and to described, treats that institute's scaling pictures carries out the instruction of zoom operations by what treat that the optional position of scaling pictures triggers described in touching; Or,
Described input media 901 obtains user and to described, treats that institute's scaling pictures carries out the instruction of zoom operations by speech trigger; Or,
Described input media 901 obtains user and to described, treats that institute's scaling pictures carries out the instruction of zoom operations by what press that programmable button triggers.
The subscriber equipment that the embodiment of the present invention provides, can be used for carrying out the technical scheme of said method embodiment, and its technique effect and know-why are similar, and the present embodiment repeats no more herein.
One of ordinary skill in the art will appreciate that: all or part of step that realizes above-mentioned each embodiment of the method can complete by the relevant hardware of programmed instruction.Aforesaid program can be stored in a computer read/write memory medium.This program, when carrying out, is carried out the step that comprises above-mentioned each embodiment of the method; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CDs.
Finally it should be noted that: each embodiment, only in order to technical scheme of the present invention to be described, is not intended to limit above; Although the present invention is had been described in detail with reference to aforementioned each embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or some or all of technical characterictic is wherein equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (21)

1. an image zooming method, is characterized in that, comprising:
Obtain and treat the instruction that scaling pictures carries out zoom operations;
Described in obtaining, treat the attribute information of scaling pictures, according to the described attribute information for the treatment of scaling pictures, described in determining, treat the convergent-divergent point of scaling pictures;
The described convergent-divergent point of take is convergent-divergent center, to described, treats that scaling pictures carries out convergent-divergent processing.
2. method according to claim 1, is characterized in that, described in treat the attribute information of scaling pictures described in obtaining before, also comprise:
Take pictures obtain described in when scaling pictures, the focal position of taking pictures while focusing on until scaling pictures described in record, using described focal position of taking pictures while focusing on until scaling pictures as the described attribute information for the treatment of scaling pictures;
Described in described obtaining, treat the attribute information of scaling pictures, according to the described attribute information for the treatment of scaling pictures, described in determining, treat the convergent-divergent point of scaling pictures, comprising:
The focal position of taking pictures while focusing on until scaling pictures described in obtaining, using described focal position of taking pictures while focusing on as the described convergent-divergent point for the treatment of scaling pictures.
3. method according to claim 1, is characterized in that, described in treat the attribute information of scaling pictures described in obtaining before, also comprise:
Described in determining when scaling pictures comprises people's face, to described, treat that scaling pictures carries out recognition of face, described in obtaining, treat in scaling pictures that people's face is in described position for the treatment of scaling pictures, using described people's face in described position for the treatment of scaling pictures as the described attribute information for the treatment of scaling pictures;
Described in described obtaining, treat the attribute information of scaling pictures, according to the described attribute information for the treatment of scaling pictures, described in determining, treat the convergent-divergent point of scaling pictures, comprising:
Obtain described people's face in described position for the treatment of scaling pictures, using described people's face in described position for the treatment of scaling pictures as the described convergent-divergent point for the treatment of scaling pictures.
4. method according to claim 3, is characterized in that, describedly to described, treats that scaling pictures carries out recognition of face, treats that in scaling pictures, people's face, in described position for the treatment of scaling pictures, comprising described in obtaining:
Described in determining, when scaling pictures comprises people's face, to described, treat that scaling pictures carries out recognition of face, described in obtaining, treat the people's face number in scaling pictures;
In described people's face number, be greater than at 1 o'clock, described in obtaining, treat the size of each one face in scaling pictures, determine people's face that maximum area is corresponding, described in obtaining, treat that people's face corresponding to maximum area described in scaling pictures is in described position for the treatment of scaling pictures; Or,
In described people's face number, be greater than at 1 o'clock, described in obtaining, treat that the people's face that is positioned at predeterminable area in scaling pictures is in described position for the treatment of scaling pictures.
5. method according to claim 1, is characterized in that, described in treat the attribute information of scaling pictures described in obtaining before, also comprise:
Described in obtaining, treat the picture/mb-type of scaling pictures, according to pictorial information table, determine the zoom area corresponding with described picture/mb-type, using described zoom area as the described attribute information for the treatment of scaling pictures, wherein, in described pictorial information table, store the corresponding relation of picture/mb-type and zoom area;
Described in described obtaining, treat the attribute information of scaling pictures, according to the described attribute information for the treatment of scaling pictures, described in determining, treat the convergent-divergent point of scaling pictures, comprising:
Obtain described zoom area, determine the central point of described zoom area, using the central point of described zoom area as the described convergent-divergent point for the treatment of scaling pictures.
6. method according to claim 5, is characterized in that, described in treat the picture/mb-type of scaling pictures described in obtaining before, also comprise:
Obtain the zoom area of the definite normal pictures of user and the picture/mb-type of described normal pictures, set up the corresponding relation of described picture/mb-type and described zoom area, and described corresponding relation is saved in described pictorial information table.
7. according to the method described in claim 1 to 6 any one, it is characterized in that, described in obtain the instruction that scaling pictures carries out zoom operations for the treatment of that user triggers, comprise as lower arbitrary:
Obtain user and to described, treat that institute's scaling pictures carries out the instruction of zoom operations by what treat that the optional position of scaling pictures triggers described in touching;
Obtain user and to described, treat that institute's scaling pictures carries out the instruction of zoom operations by speech trigger;
Obtain user and to described, treat that institute's scaling pictures carries out the instruction of zoom operations by what press that programmable button triggers.
8. a subscriber equipment, is characterized in that, comprising:
Instruction acquisition module, treats for obtaining the instruction that scaling pictures carries out zoom operations;
Convergent-divergent point acquisition module, for treating the attribute information of scaling pictures described in obtaining, according to the described attribute information for the treatment of scaling pictures, treats the convergent-divergent point of scaling pictures described in determining;
Convergent-divergent processing module, is convergent-divergent center for take described convergent-divergent point, to described, treats that scaling pictures carries out convergent-divergent processing.
9. subscriber equipment according to claim 8, it is characterized in that, also comprise: the first attribute acquisition module, before treating the attribute information of scaling pictures at described convergent-divergent point acquisition module described in obtaining, take pictures obtain described in when scaling pictures, focal position described in record when scaling pictures is taken pictures focusing, using described focal position when scaling pictures is taken pictures focusing as the described attribute information for the treatment of scaling pictures;
Described convergent-divergent point acquisition module is specifically for the focal position of taking pictures while focusing on until scaling pictures described in obtaining, using described focal position of taking pictures while focusing on as the described convergent-divergent point for the treatment of scaling pictures.
10. subscriber equipment according to claim 8, it is characterized in that, also comprise: the second attribute acquisition module, before treating the attribute information of scaling pictures at described convergent-divergent point acquisition module described in obtaining, described in determining when scaling pictures comprises people's face, to described, treat that scaling pictures carries out recognition of face, described in obtaining, treat in scaling pictures that people's face is in described position for the treatment of scaling pictures, using described people's face in described position for the treatment of scaling pictures as the described attribute information for the treatment of scaling pictures;
Described convergent-divergent point acquisition module specifically for: obtain described people's face in described position for the treatment of scaling pictures, using described people's face in described position for the treatment of scaling pictures as the described convergent-divergent point for the treatment of scaling pictures.
11. subscriber equipmenies according to claim 10, is characterized in that, described the second attribute acquisition module specifically for:
Described in determining, when scaling pictures comprises people's face, to described, treat that scaling pictures carries out recognition of face, described in obtaining, treat the people's face number in scaling pictures;
In described people's face number, be greater than at 1 o'clock, described in obtaining, treat the size of each one face in scaling pictures, determine people's face that maximum area is corresponding, described in obtaining, treat that people's face corresponding to maximum area described in scaling pictures is in described position for the treatment of scaling pictures; Or,
In described people's face number, be greater than at 1 o'clock, described in obtaining, treat that the people's face that is positioned at predeterminable area in scaling pictures is in described position for the treatment of scaling pictures.
12. subscriber equipmenies according to claim 8, it is characterized in that, also comprise: the 3rd attribute acquisition module, before treating the attribute information of scaling pictures at described convergent-divergent point acquisition module described in obtaining, described in obtaining, treat the picture/mb-type of scaling pictures, according to pictorial information table, determine the zoom area corresponding with described picture/mb-type, using described zoom area as the described attribute information for the treatment of scaling pictures, wherein, in described pictorial information table, store the corresponding relation of picture/mb-type and zoom area;
Described convergent-divergent point acquisition module specifically for: obtain described zoom area, determine the central point of described zoom area, using the central point of described zoom area as the described convergent-divergent point for the treatment of scaling pictures.
13. subscriber equipmenies according to claim 12, it is characterized in that, also comprise: relation is set up module, before treating the picture/mb-type of scaling pictures at described convergent-divergent point acquisition module described in obtaining, obtain the zoom area of the definite normal pictures of user and the picture/mb-type of described normal pictures, set up the corresponding relation of described picture/mb-type and described zoom area, and described corresponding relation is saved in described pictorial information table.
Subscriber equipment described in 14. according to Claim 8 to 13 any one, is characterized in that, described instruction acquisition module, specifically for being achieved as follows arbitrary in mode:
Obtain user and to described, treat that institute's scaling pictures carries out the instruction of zoom operations by what treat that the optional position of scaling pictures triggers described in touching;
Obtain user and to described, treat that institute's scaling pictures carries out the instruction of zoom operations by speech trigger;
Obtain user and to described, treat that institute's scaling pictures carries out the instruction of zoom operations by what press that programmable button triggers.
15. 1 kinds of subscriber equipmenies, is characterized in that, comprising:
Input media, treats for obtaining the instruction that scaling pictures carries out zoom operations;
Processor, for treating the attribute information of scaling pictures described in obtaining, according to the described attribute information for the treatment of scaling pictures, treats the convergent-divergent point of scaling pictures described in determining, the described convergent-divergent point of take is convergent-divergent center, to described, treats that scaling pictures carries out convergent-divergent processing.
16. subscriber equipmenies according to claim 15, it is characterized in that, described processor also for, before described input media is treated the attribute information of scaling pictures described in obtaining, take pictures obtain described in when scaling pictures, focal position described in record when scaling pictures is taken pictures focusing, using described focal position when scaling pictures is taken pictures focusing as the described attribute information for the treatment of scaling pictures;
Described processor is specifically for the focal position of taking pictures while focusing on until scaling pictures described in obtaining, using described focal position of taking pictures while focusing on as the described convergent-divergent point for the treatment of scaling pictures.
17. subscriber equipmenies according to claim 15, it is characterized in that, described processor also for: before described input media is treated the attribute information of scaling pictures described in obtaining, described in determining when scaling pictures comprises people's face, to described, treat that scaling pictures carries out recognition of face, described in obtaining, treat in scaling pictures that people's face is in described position for the treatment of scaling pictures, using described people's face in described position for the treatment of scaling pictures as the described attribute information for the treatment of scaling pictures;
Described processor specifically for: obtain described people's face in described position for the treatment of scaling pictures, using described people's face in described position for the treatment of scaling pictures as the described convergent-divergent point for the treatment of scaling pictures.
18. subscriber equipmenies according to claim 17, is characterized in that, described processor is used for, described in determining when scaling pictures comprises people's face, to described, treat that scaling pictures carries out recognition of face, described in obtaining, treat that in scaling pictures, people's face, in described position for the treatment of scaling pictures, is specially:
Described in determining, when scaling pictures comprises people's face, to described, treat that scaling pictures carries out recognition of face, described in obtaining, treat the people's face number in scaling pictures;
In described people's face number, be greater than at 1 o'clock, described in obtaining, treat the size of each one face in scaling pictures, determine people's face that maximum area is corresponding, described in obtaining, treat that people's face corresponding to maximum area described in scaling pictures is in described position for the treatment of scaling pictures; Or,
In described people's face number, be greater than at 1 o'clock, described in obtaining, treat that the people's face that is positioned at predeterminable area in scaling pictures is in described position for the treatment of scaling pictures.
19. subscriber equipmenies according to claim 15, it is characterized in that, described processor also for, before described input media is treated the attribute information of scaling pictures described in obtaining, described in obtaining, treat the picture/mb-type of scaling pictures, according to pictorial information table, determine the zoom area corresponding with described picture/mb-type, using described zoom area as the described attribute information for the treatment of scaling pictures, wherein, in described pictorial information table, store the corresponding relation of picture/mb-type and zoom area;
Described processor specifically for: obtain described zoom area, determine the central point of described zoom area, using the central point of described zoom area as the described convergent-divergent point for the treatment of scaling pictures.
20. subscriber equipmenies according to claim 19, it is characterized in that, described processor also for, before described input media is treated the picture/mb-type of scaling pictures described in obtaining, obtain the zoom area of the definite normal pictures of user and the picture/mb-type of described normal pictures, set up the corresponding relation of described picture/mb-type and described zoom area, and described corresponding relation is saved in described pictorial information table.
21. according to claim 15 to the subscriber equipment described in 20 any one, it is characterized in that, described input media obtains the instruction that scaling pictures carries out zoom operations for the treatment of of user's triggering, is specially:
Described input media obtains user and to described, treats that institute's scaling pictures carries out the instruction of zoom operations by what treat that the optional position of scaling pictures triggers described in touching; Or,
Described input media obtains user and to described, treats that institute's scaling pictures carries out the instruction of zoom operations by speech trigger; Or,
Described input media obtains user and to described, treats that institute's scaling pictures carries out the instruction of zoom operations by what press that programmable button triggers.
CN201480000605.9A 2014-02-24 2014-02-24 Image zoom method and equipment Pending CN104205031A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/072466 WO2015123888A1 (en) 2014-02-24 2014-02-24 Image zoom method and device

Publications (1)

Publication Number Publication Date
CN104205031A true CN104205031A (en) 2014-12-10

Family

ID=52088177

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201480000605.9A Pending CN104205031A (en) 2014-02-24 2014-02-24 Image zoom method and equipment

Country Status (2)

Country Link
CN (1) CN104205031A (en)
WO (1) WO2015123888A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106406702A (en) * 2016-09-19 2017-02-15 天脉聚源(北京)传媒科技有限公司 An image display method and device
CN106780363A (en) * 2016-11-21 2017-05-31 北京金山安全软件有限公司 Picture processing method and device and electronic equipment
CN107368253A (en) * 2017-07-06 2017-11-21 努比亚技术有限公司 Picture Zoom display method, mobile terminal and storage medium
CN109446890A (en) * 2018-09-11 2019-03-08 浙江大有集团有限公司 Collective-owned enterprise's encased column base site operation personnel's face identification device
CN110764764A (en) * 2019-09-16 2020-02-07 平安科技(深圳)有限公司 Webpage-side image fixing and stretching method and device, computer equipment and storage medium
CN111556248A (en) * 2020-05-09 2020-08-18 Tcl移动通信科技(宁波)有限公司 Shooting method, shooting device, storage medium and mobile terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005012674A (en) * 2003-06-20 2005-01-13 Canon Inc Image display method, program of executing it, and image display apparatus
JP2006295242A (en) * 2005-04-05 2006-10-26 Olympus Imaging Corp Digital camera
CN101783129B (en) * 2009-01-04 2012-12-05 虹软(杭州)科技有限公司 Image scaling device and image scaling method
JP5101544B2 (en) * 2009-02-13 2012-12-19 富士通株式会社 Imaging device, imaging method, imaging program, and portable terminal device
CN101751901B (en) * 2009-12-18 2014-09-24 康佳集团股份有限公司 Method and device for playing dynamic electronic album
US8504941B2 (en) * 2011-10-31 2013-08-06 Utc Fire & Security Corporation Digital image magnification user interface

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106406702A (en) * 2016-09-19 2017-02-15 天脉聚源(北京)传媒科技有限公司 An image display method and device
CN106406702B (en) * 2016-09-19 2019-09-13 天脉聚源(北京)传媒科技有限公司 A kind of image display method and device
CN106780363A (en) * 2016-11-21 2017-05-31 北京金山安全软件有限公司 Picture processing method and device and electronic equipment
CN106780363B (en) * 2016-11-21 2019-07-23 北京金山安全软件有限公司 Picture processing method and device and electronic equipment
CN107368253A (en) * 2017-07-06 2017-11-21 努比亚技术有限公司 Picture Zoom display method, mobile terminal and storage medium
CN107368253B (en) * 2017-07-06 2020-12-29 努比亚技术有限公司 Picture zooming display method, mobile terminal and storage medium
CN109446890A (en) * 2018-09-11 2019-03-08 浙江大有集团有限公司 Collective-owned enterprise's encased column base site operation personnel's face identification device
CN110764764A (en) * 2019-09-16 2020-02-07 平安科技(深圳)有限公司 Webpage-side image fixing and stretching method and device, computer equipment and storage medium
CN110764764B (en) * 2019-09-16 2024-03-01 平安科技(深圳)有限公司 Webpage end image fixed stretching method and device, computer equipment and storage medium
CN111556248A (en) * 2020-05-09 2020-08-18 Tcl移动通信科技(宁波)有限公司 Shooting method, shooting device, storage medium and mobile terminal
CN111556248B (en) * 2020-05-09 2021-09-03 Tcl移动通信科技(宁波)有限公司 Shooting method, shooting device, storage medium and mobile terminal

Also Published As

Publication number Publication date
WO2015123888A1 (en) 2015-08-27

Similar Documents

Publication Publication Date Title
CN104205031A (en) Image zoom method and equipment
KR101819985B1 (en) Method, device, program and computer-readable recording medium for controlling application
RU2667027C2 (en) Method and device for video categorization
CN104866199B (en) Button operation processing method and processing device under singlehanded mode, electronic equipment
CN106341522A (en) Mobile Terminal And Method For Controlling The Same
CN106060374A (en) Photographic apparatus, control method thereof, and non-transitory computer-readable recording medium
JP6104227B2 (en) Image identification method and image identification apparatus
CN103108127A (en) Method for shooting pictures through portable device and portable device
CN105892868A (en) Screen capture method and screen capture device
CN106339695B (en) Face similarity detection method, device and terminal
CN104506769A (en) Shooting method and terminal
CN110413114A (en) Interaction control method and device under video scene, server, readable storage medium storing program for executing
CN206595991U (en) A kind of double-camera mobile terminal
US11679301B2 (en) Step counting method and apparatus for treadmill
JP2016527577A (en) User command execution method, execution device, program, and storage medium
CN106879263A (en) A kind of image pickup method and mobile device
CN111064930B (en) Split screen display method, display terminal and storage device
CN106896915A (en) Input control method and device based on virtual reality
CN111201768B (en) Shooting focusing method and device
KR101793442B1 (en) Method , device, program and recording medium for image deletion thereof
CN112308864A (en) Image processing method and device, electronic equipment and storage medium
KR20150126192A (en) Electric apparatus and method for taking a photogragh in electric apparatus
CN105204712B (en) The display methods and device of folder icon
CN106604101A (en) Live streaming interaction method and device
CN105427228A (en) Photograph watermarking processing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20141210