CN106997264A - A kind of method and device for converting picture layout - Google Patents
A kind of method and device for converting picture layout Download PDFInfo
- Publication number
- CN106997264A CN106997264A CN201610051760.4A CN201610051760A CN106997264A CN 106997264 A CN106997264 A CN 106997264A CN 201610051760 A CN201610051760 A CN 201610051760A CN 106997264 A CN106997264 A CN 106997264A
- Authority
- CN
- China
- Prior art keywords
- picture
- typesetting
- pattern
- mobile terminal
- user
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/04845—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/0346—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
Abstract
The embodiment of the invention discloses a kind of method and device for converting picture layout.This method includes:Shake state based on gravity sensing technology for detection mobile terminal;If the shake state of the mobile terminal meets the shake condition of setting, it is determined that the new typesetting pattern of picture;According to the new typesetting pattern, typesetting is carried out to the picture that user selects.The embodiment of the present invention is by using above-mentioned technical proposal, the operation of mobile terminal typesetting pattern is changed in shake state triggering based on mobile terminal, compared in the prior art using the mode of operation for clicking on or sliding progress picture layout, user can effectively be shortened and carry out courses of action and input cost required during picture layout, the typesetting efficiency and interest when user carries out picture layout are improved, usage experience of the user to photograph album class, picture category, editor's class and/or camera-type product is improved.
Description
Technical field
The present invention relates to picture processing field, more particularly to a kind of method and device for converting picture layout.
Background technology
Mobile terminal typically all has camera function, and the shooting for carrying out photo using mobile terminals such as mobile phones has
Convenient, succinct the characteristics of.In recent years, the mobile terminal such as mobile phone becomes increasingly popular in people's daily life, people
The increasing camera for beginning to use mobile terminal carry out the shooting of photo, and completed in photograph taking
Afterwards, people to photo often according to carrying out the processing such as U.S. face, typesetting the need for oneself.
In the prior art, user is generally selected several photos, then passes through horizontal stroke when carrying out photo typesetting
To the different typesetting effect of selection or the puzzle template different by clicking on selection is slided, typesetting is finally confirmed
Pattern.In above-mentioned technical proposal, user carries out not only needing longer courses of action during photo typesetting and higher
Input operation cost, and operation lacks interest, causes product service efficiency low, Consumer's Experience compared with
Difference.
The content of the invention
In view of this, the embodiment of the present invention provides a kind of method and device for converting picture layout, existing to solve
The skill of the longer courses of action of needs and higher input operation cost when having user's progress picture layout in technology
Problem.
In a first aspect, the embodiments of the invention provide a kind of method for converting picture layout, including:
Shake state based on gravity sensing technology for detection mobile terminal;
If the shake state of the mobile terminal meets the shake condition of setting, it is determined that the new typesetting sample of picture
Formula;
According to the new typesetting pattern, typesetting is carried out to the picture that user selects.
Second aspect, the embodiment of the present invention additionally provides a kind of device for converting picture layout, including:
State monitoring module is shaken, for the shake state based on gravity sensing technology for detection mobile terminal;
Typesetting pattern determining module, if the shake state for the mobile terminal meets the shake bar of setting
Part, it is determined that the new typesetting pattern of picture;
Picture layout module, for according to the new typesetting pattern, typesetting to be carried out to the picture that user selects.
The technical scheme of conversion picture layout provided in an embodiment of the present invention, is moved based on gravity sensing technology for detection
The shake state of dynamic terminal simultaneously judges whether the shake state of mobile terminal meets the shake condition of setting, if moving
The shake state of dynamic terminal meets the shake condition of setting, it is determined that the new typesetting pattern of picture, and according to new
The picture that typesetting pattern is selected user carries out typesetting;Otherwise, do not trigger and change mobile terminal typesetting pattern
Operation.The embodiment of the present invention is by using above-mentioned technical proposal, and the shake triggering based on mobile terminal, which is changed, to move
The operation of dynamic terminal typesetting pattern, compared in the prior art using the behaviour for clicking on or sliding progress picture layout
Make mode, can effectively shorten user and carry out courses of action and input cost required during picture layout, carry
High user carries out the typesetting efficiency and interest during picture layout, improves user to photograph album class, picture
The usage experience of class, editor's class and/or camera-type product.
Brief description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, the present invention
Other features, objects and advantages will become more apparent upon:
Fig. 1 is a kind of schematic flow sheet of the method for conversion picture layout that the embodiment of the present invention one is provided;
Fig. 2 is a kind of schematic flow sheet of the method for conversion picture layout that the embodiment of the present invention two is provided;
Fig. 3 is a kind of schematic flow sheet of the method for conversion picture layout that the embodiment of the present invention three is provided;
Fig. 4 is a kind of structured flowchart of the device for conversion picture layout that the embodiment of the present invention four is provided.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this
The specific embodiment of place description is used only for explaining the present invention, rather than limitation of the invention.Also need in addition
It is noted that illustrate only part related to the present invention for the ease of description, in accompanying drawing and it is not all in
Hold.
Embodiment one
The embodiment of the present invention one provides a kind of method for converting picture layout, and this method can be arranged by conversion picture
The device of version is performed, and wherein the device can be realized by software and/or hardware, can typically be integrated in mobile terminal
In.Fig. 1 is the schematic flow sheet of the method for the conversion picture layout of the embodiment of the present invention one.Such as Fig. 1 institutes
Show, methods described includes:
S110, the shake state based on gravity sensing technology for detection mobile terminal.
Gravity sensing, refers to the perception to the gravity direction of the earth.Exemplary, can be by being arranged on shifting
The acceleration transducer of terminal inner is moved to realize the gravity sensing technology of mobile terminal.Wherein, acceleration is passed
Sensor is that one kind can measure acceleration (power acted on when object in accelerator on object, Ke Yishi
One constant, such as terrestrial gravitation/gravity g or variable) electronic equipment, common acceleration
Sensor includes piezoelectric acceleration transducer, piezoresistance type acceleration sensor, capacitance acceleration sensing
Device, servo-type acceleration transducer etc..Accuracy and facility during in view of measurement mobile terminal acceleration
Property, the embodiment of the present invention can measure the acceleration of mobile terminal using piezoelectric acceleration transducer.
Because the direction of mobile terminal acceleration is uncertain, it is preferred, therefore, that in the embodiment of the present invention
The acceleration of mobile terminal is detected using three axle piezoelectric acceleration transducers.In 3-axis acceleration sensor
In, it is divided into X-axis, Y-axis and Z axis, these three axles constitute three-dimensional three dimensions, can be with practical application
The inclined angle of mobile terminal is calculated by these three axles, so that the value of acceleration of gravity is calculated, and then
Determine the acceleration of mobile terminal.
Gained knowledge from related physical, acceleration transducer can by perceiving the inertia force total amount of specific direction
To measure acceleration and gravity, therefore when mobile terminal is at non-accelerating state (static or uniform motion),
Acceleration transducer inside mobile terminal is merely able to detect gravity g, therefore, if the static gripping of user
Mobile terminal is without any action, then the power that terrestrial gravitation applies to its inside acceleration transducer is about
For 1g, if that is, user's static gripping mobile terminal when, its internal acceleration transducer X-axis, Y-axis and Z
It is about 1g that what repacking was measured, which makes a concerted effort,;If user shakes mobile terminal, its internal acceleration transducer will
Detect non-1g power.It therefore, it can the size and Orientation determination of power detected by acceleration transducer
The size and Orientation of acceleration suffered by mobile terminal, thus further determine that mobile terminal acceleration size and
Direction, and then determine the particular state of mobile terminal.
In order to reduce the false triggering of picture layout operation, the shake state of the mobile terminal can include moving
The shake speed and shake number of times of dynamic terminal.Now, when detecting the shake state of mobile terminal, Ke Yitong
Cross the big of the transformation period for detecting mobile terminal acceleration, the change frequency of acceleration and acceleration change value
The small shake speed to determine mobile terminal and shake number of times.
If S120, the mobile terminal shake state meet setting shake condition, it is determined that picture it is new
Typesetting pattern.
It is preferred that, change frequency of the shake condition set as the mobile terminal acceleration in preset time
Changing value more than or equal to the change frequency of setting, and the acceleration is more than or equal to the acceleration of setting
Threshold value.
Here, the change frequency of acceleration can be the change frequency or acceleration in acceleration direction
The change frequency of size.In view of the accuracy of detection, it is preferred that the change frequency of acceleration is acceleration
The change frequency in direction, the changing value of acceleration is the vector value of acceleration change, i.e. if adding before and after change
Velocity attitude does not change, then the changing value of acceleration for change before and after two acceleration subtract each other it is absolute
Value;If change fore-aft acceleration direction changes, the changing value of acceleration is two acceleration before and after change
Absolute value sum.For example, when user is static, if change preacceleration is 1m/s2, direction to
A left side, change post-acceleration is 13m/s2, to the left, then the changing value of this brief acceleration is in direction | 1-13 |=12
m/s2;If change preacceleration is 1m/s2, to the left, change post-acceleration is 7m/s in direction2, direction to
The right side, then the changing value of this brief acceleration be | 1 |+| 7 |=8m/s2。
, can be simultaneously to mobile whole when judging whether the shake state of mobile terminal meets the shake condition of setting
Shake time, acceleration change number of times and the acceleration change value at end are detected and judged;Can also be first
Time, acceleration change number of times and acceleration change value are shaken to it to detect, then judge therein one
Whether individual or two change conditions meet the shake condition of setting, if meet, then to its remaining change bar
Part is judged.Accordingly, sequencing is distinguished when three change conditions to mobile terminal to judge
When (three change conditions of the detection with judging mobile terminal when i.e. different), mobile terminal shakes sentencing for state
Determining process can be:Whether detection mobile terminal frees shake, if not shaking, no longer carries out follow-up
Judge;If mobile terminal shakes, the change time of acceleration of the mobile terminal in preset time is judged
Whether number is more than or equal to the change frequency of setting, if the mobile terminal acceleration change in preset time time
Number then no longer carries out follow-up judgement less than the change frequency of setting;If mobile terminal is in preset time
Acceleration change number of times is more than or equal to the change frequency of setting, then judges the changing value of mobile terminal acceleration
Whether the acceleration rate threshold of setting is more than or equal to, if so, new typesetting pattern then is determined for mobile terminal,
Otherwise the operation for changing mobile terminal typesetting pattern is not triggered.
Exemplary, in the shake condition of setting, preset time could be arranged to any in 1s-5s
Real number, the change frequency of setting could be arranged to the integer in 2-20, and the changing value of acceleration could be arranged to
5m/s2-20m/s2Interior numerical value.For example, preset time could be arranged to 1s, the change frequency of setting can be with
It is set to 4 times, acceleration change value could be arranged to 8m/s2, now, if detection finds to move in 1s
Terminal acceleration change number of times be more than or equal to 4 times, and every time change brief acceleration changing value be both greater than or
Equal to 8m/s2, then can be determined that the shake state of mobile terminal meets the shake condition of setting, determine picture
New typesetting pattern.
Here, the shake condition of the setting can initially be installed in mobile terminal production or mobile terminal system
When default setting is carried out by manufacturer, can also be needed to be set according to its own by user, do not made herein
Limitation.
S130, according to the new typesetting pattern, typesetting is carried out to the picture that user selects.
Here, the new typesetting pattern, can be size and the position and figure in current typesetting pattern of picture box
The size of piece frame and the incomplete same brand-new typesetting pattern in position;Can also be size and the position of picture box
Put identical with position with the size of picture box in previous typesetting pattern, simply changed putting for picture
The new typesetting pattern of position, is not restricted herein.Accordingly, it is described that the picture that user selects is arranged
Version, can be the selecting sequence and the order phase of each picture box in new typesetting pattern that picture is selected according to user
With or opposite order carry out the typesetting of picture, or according to user or default preset order to figure
Piece carries out typesetting, further, it is also possible to be according to selection picture selecting sequence and user or default it is pre-
If the mode that order is combined carries out typesetting to picture.In view of the diversity of picture layout pattern, preferably
, the order of picture can be selected by user in the way of the preset order of user or default are combined
Typesetting is carried out to the picture that user selects.
The embodiment of the present invention is by using above-mentioned technical proposal, based on gravity sensing technology for detection mobile terminal shape
State, judges whether the change frequency of the mobile terminal acceleration in preset time is more than or equal to the change of setting
Whether number of times, and the changing value of mobile terminal acceleration are more than or equal to the acceleration rate threshold set, if
The change frequency of mobile terminal acceleration is more than or equal to the change frequency and acceleration set in preset time
Changing value is more than or equal to the acceleration rate threshold of setting, it is determined that the new typesetting pattern of picture and according to new typesetting
The picture that pattern is selected user carries out typesetting;If the change frequency of mobile terminal acceleration in preset time
Less than the acceleration change number of times of setting, and/or, the changing value of mobile terminal acceleration is less than adding for setting
Threshold speed, then do not trigger the operation for the new typesetting pattern that picture is determined for mobile terminal.The embodiment of the present invention
By using above-mentioned technical proposal, the behaviour of mobile terminal typesetting pattern is changed in the shake triggering based on mobile terminal
Make, can be effectively compared to the mode of operation for carrying out picture layout using click or slip in the prior art
Shorten user and carry out courses of action and input cost required during picture layout, improve user and carry out picture row
Typesetting efficiency and interest during version;Meanwhile, in preset time the change frequency of mobile terminal acceleration and
The shake condition that changing value is satisfied by setting just triggers the operation for converting mobile terminal typesetting pattern, additionally it is possible to have
The maloperation of the reduction conversion picture layout pattern of effect, improves user to photograph album class, picture category, editor's class
And/or the usage experience of camera-type product.
Embodiment two
Fig. 2 show a kind of flow signal of the method for conversion picture layout of the offer of the embodiment of the present invention two
Figure, the present embodiment is optimized on the basis of above-described embodiment:
Further, it is described according to the new typesetting pattern, typesetting, bag are carried out to the picture that user selects
Include:The order selected based on user the picture, determines position of the picture in the new typesetting pattern
Put;According to position of the picture in the new typesetting pattern, typesetting is carried out to the picture that user selects.
Further, the new typesetting pattern for determining picture, including:The picture selected according to the user
Quantity, from default typesetting style library screen candidate's typesetting pattern;From candidate's typesetting pattern with
Machine determines new typesetting pattern, or, according to the priority of candidate's typesetting pattern, it is determined that new typesetting sample
Formula.
Accordingly, as shown in Fig. 2 the method for the present embodiment includes following operation:
S210, the shake state based on gravity sensing technology for detection mobile terminal.
If the shake state of S220, the mobile terminal meets the shake condition of setting, according to the user
The quantity of the picture of selection, screens candidate's typesetting pattern from default typesetting style library.
Here, default typesetting style library can be arranged in mobile terminal, server can also be arranged on and put down
In platform, it is contemplated that the storage of mobile terminal and operating pressure, it is preferred that default typesetting style library can be set
Put in the server platform corresponding with mobile terminal.The typesetting pattern included in typesetting style library can be by
Mobile terminal producer pre-set and store mobile terminal or server platform in, can also make in user
With the photograph album class of mobile terminal, picture category, editor class or camera-type product before, by user according to oneself
Custom voluntarily sets the typesetting pattern included in default typesetting style library with hobby and is saved into mobile whole
In end or server platform.For example, user can carry out default typesetting sample when for the first time using mobile terminal
The setting for the typesetting pattern that Shi Kunei is included, can also be for the first time using the photograph album class of mobile terminal, picture
The setting of typesetting pattern included in default typesetting style library is carried out when class, editor's class or camera-type product.
It is preferred that, when setting default typesetting style library, it will can include in default typesetting style library
Typesetting pattern is classified and stored according to the difference of its picture number that can carry out typesetting, in order to follow-up
Screening and lookup to the picture layout pattern of default typesetting style library memory storage.
If typesetting style library is set in the terminal, and meets shake condition, then mobile terminal is directly from row
Screening obtains candidate's typesetting pattern in version style library;If typesetting style library is in server platform, and satisfaction is shaken
Dynamic condition, then mobile terminal send typesetting pattern conversion requests to server platform, indicate server platform from
Candidate's typesetting pattern is screened in typesetting style library, and candidate's typesetting pattern is returned into mobile terminal, by moving
Terminal determines new typesetting pattern according to candidate's typesetting pattern;In addition, server platform determines candidate's typesetting pattern
Afterwards, it can continue to determine new typesetting pattern, and new typesetting pattern returned into mobile terminal.
Specifically, the quantity of the picture selected according to the user, is sieved from default typesetting style library
Candidate's typesetting pattern is selected, can be included:The quantity of the picture selected according to user, from default typesetting pattern
Filtered out in storehouse the included picture box quantity typesetting pattern equal with the quantity for the picture that user selects using as
Candidate's typesetting pattern.If for example, the picture of user's selection is 5, being sieved from default typesetting style library
It is candidate's typesetting pattern to select the typesetting pattern comprising 5 picture boxs.
S230, determine new typesetting pattern at random from candidate's typesetting pattern, or, according to the candidate
The priority of typesetting pattern, it is determined that new typesetting pattern.
It is preferred that, in the priority according to candidate's typesetting pattern, it is determined that before new typesetting pattern,
Also include:The picture selected using face recognition technology user carries out recognition of face, determines in the picture
Personage's picture;According to sequence of the personage's picture in the picture that user selects, the candidate row is determined
The priority of pressing formula.
It is exemplary when determining new typesetting pattern according to the priority of candidate's typesetting pattern, can by
The picture of family selection carry out the result of recognition of face as determine one of candidate's typesetting pattern priority consider because
Element, at this point it is possible to carry out recognition of face to the picture that user selects first, is determined according to face recognition result
Personage's picture in user's selection picture, then selects the order of picture to determine personage's picture in row according to user
The location of in pressing formula, improve candidate's typesetting pattern of the personage's picture in primary display area
Priority, or the priority of candidate's typesetting pattern is determined according to the number of personage in picture, so that user
Personage's picture can be preferentially received to be in the template of primary display area to meet when user autodynes to picture
Typesetting demand.Exemplary, when the picture selected user carries out recognition of face, it is possible to use the colour of skin point
The picture progress Face datection that principle is selected user is cut, recycles binary conversion treatment technology to remove noise region
And binary conversion treatment result is shown, finally human face region is outlined with geometric figure, so as to reach recognition of face
Purpose.
S240, the order selected based on user the picture, determine the picture in the new typesetting pattern
In position.
According to oneself degree would generally be liked to carry out the selection of picture in view of user, i.e., user is in selection figure
It would generally select the picture that oneself likes the most during piece first, the picture that then reselection oneself is preferred, with
This analogizes, and therefore, it can select user the order of picture to judge to mark as one of picture layout position
It is accurate.Exemplary, when by typesetting styles store into default typesetting style library, institute can be pre-set
Acquiescence typographical sequences of each picture box and typographical sequences to each picture box enter rower in the typesetting pattern of storage
Number in order to being selected the order of picture to determine position of the picture in new typesetting pattern that user selects according to user
Put.The typographical sequences of each picture box can be as needed in the typesetting pattern stored in default typesetting style library
Flexibly set, for example, the acquiescence row of each picture box can be determined according to position of the picture box in typesetting pattern
Version order, the acquiescence typographical sequences of each picture box can also be determined according to the size of picture box, or use other
Rule determine acquiescence typographical sequences of each picture box etc., be not restricted herein.
S250, the position according to the picture in the new typesetting pattern, are carried out to the picture that user selects
Typesetting.
Exemplary, can be according to each picture box in typesetting pattern when carrying out typesetting to the picture that user selects
Acquiescence typographical sequences carry out typesetting, each picture in typesetting pattern can also be according to their needs set by user
The acquiescence typographical sequences of frame and then the picture progress typesetting sequentially selected according to this user, can also be by user
The random typesetting of picture of selection is not restricted herein into new typesetting pattern.
The embodiment of the present invention is by using above-mentioned technical proposal, and movement is changed in the shake triggering based on mobile terminal
The operation of terminal typesetting pattern, can effectively shorten user carry out during picture layout required courses of action and
Cost is inputted, typesetting efficiency and interest when user carries out picture layout is improved.Also, by default
The shake condition that the change frequency and changing value of mobile terminal acceleration are satisfied by setting in time just triggers conversion
The operation of mobile terminal typesetting pattern, can effectively reduce the maloperation of conversion picture layout pattern;Base
The picture for selecting the order of picture to select user in user carries out typesetting, the typesetting sample that can like user
Formula more early occurs, and reduces number of times and the user's conversion picture layout pattern institute of user's conversion picture layout pattern
The time of consuming, improve use body of the user to photograph album class, picture category, editor's class and/or camera-type product
Test.
Embodiment three
Fig. 3 is a kind of flow signal of the method for preferred conversion picture layout that the embodiment of the present invention three is provided
Figure, this method can by conversion picture layout device perform, as shown in figure 3, this method specifically include as
Lower operation:
S301, default typesetting styles store into server platform and pressed the default typesetting pattern
Quantity according to included picture box is classified.
Whether S302, mobile terminal detect user's chosen picture, if so, step S303 is then performed, if
It is no, then perform step S312.
The shake state of S303, the mobile terminal based on gravity sensing technology for detection itself.
S304, the mobile terminal judge whether the shake state meets the shake condition of setting, if so,
Step S304 is then performed,;If it is not, then performing step 312.
It is preferred that, change frequency of the shake condition set as the mobile terminal acceleration in preset time
Changing value more than or equal to the change frequency of setting, and the acceleration is more than or equal to the acceleration of setting
Threshold value.
The picture that S305, the mobile terminal are selected user using face recognition technology carries out recognition of face,
Personage's picture in the picture is determined to generate face recognition result.
S306, the mobile terminal select the order of picture according to the face recognition result and the user
Typesetting pattern conversion requests are generated with quantity, and the typesetting pattern conversion requests are sent to the server
Platform.
S307, the server platform receive the typesetting pattern conversion requests, and according to the typesetting pattern
The quantity of the picture of the user's selection included in request, screens candidate's typesetting sample from default typesetting style library
Formula.
The sequence of S308, the server platform according to personage's picture in the picture that user selects, really
The priority of fixed candidate's typesetting pattern.
The priority of S309, the server platform according to candidate's typesetting pattern, it is determined that new typesetting sample
Formula, and the new typesetting pattern is sent to the mobile terminal.
S310, the mobile terminal reception new typesetting pattern, and the picture is selected based on user
Sequentially, position of the picture in the new typesetting pattern is determined.
The position of S311, the mobile terminal according to the picture in the new typesetting pattern, is selected user
The picture selected carries out typesetting, return to step S303.
S312, end operation.
The embodiment of the present invention is by using above-mentioned technical proposal, and movement is changed in the shake triggering based on mobile terminal
The operation of terminal typesetting pattern, can effectively shorten user carry out during picture layout required courses of action and
Cost is inputted, typesetting efficiency and interest when user carries out picture layout is improved;Also, by that will preset
Typesetting styles store into server platform, can effectively reduce mobile terminal storage pressure, improve
The speed of service of mobile terminal.
Example IV
Fig. 4 is a kind of structured flowchart of the device for conversion picture layout that the embodiment of the present invention four is provided, the dress
Putting can be realized by software and/or hardware, be typically integrated in mobile terminal, can be any by performing the present invention
The method for the conversion picture layout that embodiment is provided realizes the conversion of picture layout pattern.As shown in figure 4,
The device includes:
State monitoring module 410 is shaken, for the shake shape based on gravity sensing technology for detection mobile terminal
State;
Typesetting pattern determining module 420, if the shake state for the mobile terminal meets the shake of setting
Condition, it is determined that the new typesetting pattern of picture;
Picture layout module 430, for according to the new typesetting pattern, arranging the picture that user selects
Version.
Further, the shake condition of the setting can be the change of the mobile terminal acceleration in preset time
Change the change frequency that number of times is more than or equal to setting, and the changing value of the acceleration is more than or equal to setting
Acceleration rate threshold.
Further, the picture layout module 430 can include:Pictures location determining unit, for base
The order selected in user the picture, determines position of the picture in the new typesetting pattern;Figure
Piece typesetting unit, for the position according to the picture in the new typesetting pattern, the figure selected user
Piece carries out typesetting.
Further, the typesetting pattern determining module 420 can include:Candidate pattern screening unit, is used
If meeting default shake condition, the picture selected according to the user in the shake state of the mobile terminal
Quantity, from default typesetting style library screen candidate's typesetting pattern;Typesetting style determination unit, is used for
Determine new typesetting pattern at random from candidate's typesetting pattern, or, according to candidate's typesetting pattern
Priority, it is determined that new typesetting pattern.
Further, the typesetting pattern determining module 420 can also include:Personage's picture determine unit,
For in the priority according to candidate's typesetting pattern, it is determined that before new typesetting pattern, using face
The picture that identification technology is selected user carries out recognition of face, determines personage's picture in the picture;Preferentially
Level determining unit, for the sequence according to personage's picture in the picture that user selects, determines the time
The priority of gather pressing formula.
The device of conversion picture layout provided in an embodiment of the present invention can perform any embodiment of the present invention and be provided
Conversion picture layout method, possess and perform the conversion corresponding functional module of method of picture layout and beneficial
Effect.Not ins and outs of detailed description in the present embodiment, reference can be made to any embodiment of the present invention is provided
Conversion picture layout method.
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.Those skilled in the art
It will be appreciated that the invention is not restricted to specific embodiment described here, can enter for a person skilled in the art
Row it is various it is obvious change, readjust and substitute without departing from protection scope of the present invention.Therefore, though
So the present invention is described in further detail by above example, but the present invention be not limited only to
Upper embodiment, without departing from the inventive concept, can also include other more equivalent embodiments,
And the scope of the present invention is determined by scope of the appended claims.
Claims (10)
1. a kind of method for converting picture layout, it is characterised in that including:
Shake state based on gravity sensing technology for detection mobile terminal;
If the shake state of the mobile terminal meets the shake condition of setting, it is determined that the new typesetting sample of picture
Formula;
According to the new typesetting pattern, typesetting is carried out to the picture that user selects.
2. according to the method described in claim 1, it is characterised in that the shake condition set as
In preset time the change frequency of mobile terminal acceleration be more than or equal to setting change frequency, and it is described plus
The changing value of speed is more than or equal to the acceleration rate threshold of setting.
3. according to the method described in claim 1, it is characterised in that described according to the new typesetting sample
Formula, typesetting is carried out to the picture that user selects, including:
The order selected based on user the picture, determines position of the picture in the new typesetting pattern
Put;
According to position of the picture in the new typesetting pattern, typesetting is carried out to the picture that user selects.
4. according to the method described in claim 1, it is characterised in that the new typesetting sample for determining picture
Formula, including:
The quantity of the picture selected according to the user, screens candidate's typesetting sample from default typesetting style library
Formula;
Determine new typesetting pattern at random from candidate's typesetting pattern, or, according to candidate's typesetting sample
The priority of formula, it is determined that new typesetting pattern.
5. method according to claim 4, it is characterised in that described according to candidate's typesetting
The priority of pattern, it is determined that before new typesetting pattern, in addition to:
The picture selected using face recognition technology user carries out recognition of face, determines the people in the picture
Thing picture;
According to sequence of the personage's picture in the picture that user selects, candidate's typesetting pattern is determined
Priority.
6. a kind of device for converting picture layout, it is characterised in that including:
State monitoring module is shaken, for the shake state based on gravity sensing technology for detection mobile terminal;
Typesetting pattern determining module, if the shake state for the mobile terminal meets the shake bar of setting
Part, it is determined that the new typesetting pattern of picture;
Picture layout module, for according to the new typesetting pattern, typesetting to be carried out to the picture that user selects.
7. device according to claim 6, it is characterised in that the shake condition set as
In preset time the change frequency of mobile terminal acceleration be more than or equal to setting change frequency, and it is described plus
The changing value of speed is more than or equal to the acceleration rate threshold of setting.
8. device according to claim 6, it is characterised in that the picture layout module includes:
Pictures location determining unit, for the order selected based on user the picture, determines the picture
Position in the new typesetting pattern;
Picture layout unit, for the position according to the picture in the new typesetting pattern, is selected user
The picture selected carries out typesetting.
9. method according to claim 6, it is characterised in that the typesetting pattern determining module bag
Include:
Candidate pattern screening unit, if the shake state for the mobile terminal meets default shake condition,
The quantity of the picture then selected according to the user, screens candidate's typesetting sample from default typesetting style library
Formula;
Typesetting style determination unit, for determining new typesetting pattern at random from candidate's typesetting pattern, or
Person, according to the priority of candidate's typesetting pattern, it is determined that new typesetting pattern.
10. device according to claim 9, it is characterised in that the typesetting pattern determining module is also
Including:
Personage's picture determine unit, in the priority according to candidate's typesetting pattern, it is determined that newly
Before typesetting pattern, the picture selected using face recognition technology user carries out recognition of face, it is determined that described
Personage's picture in picture;
Priority determining unit, for the sequence according to personage's picture in the picture that user selects, really
The priority of fixed candidate's typesetting pattern.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610051760.4A CN106997264B (en) | 2016-01-26 | 2016-01-26 | Method and device for changing picture typesetting |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610051760.4A CN106997264B (en) | 2016-01-26 | 2016-01-26 | Method and device for changing picture typesetting |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106997264A true CN106997264A (en) | 2017-08-01 |
CN106997264B CN106997264B (en) | 2020-11-24 |
Family
ID=59428298
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610051760.4A Active CN106997264B (en) | 2016-01-26 | 2016-01-26 | Method and device for changing picture typesetting |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106997264B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109657201A (en) * | 2017-10-10 | 2019-04-19 | 杭州海康威视系统技术有限公司 | A kind of method for displaying typesetting of element, device, electronic equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101510312A (en) * | 2009-03-16 | 2009-08-19 | 广州市有福数码科技有限公司 | Method, device and system for making electronic photo album |
CN102930523A (en) * | 2012-11-12 | 2013-02-13 | 北京奇虎科技有限公司 | Picture processing system and picture slicing implementation method |
CN104079725A (en) * | 2014-07-07 | 2014-10-01 | 中科创达软件股份有限公司 | Incoming call rejection method and device |
CN104598901A (en) * | 2015-03-04 | 2015-05-06 | 陈佩珊 | Method and system for identifying picture characters and typesetting and displaying picture characteristics according to original style by mobile terminal |
CN104637040A (en) * | 2013-11-12 | 2015-05-20 | 携程计算机技术(上海)有限公司 | Method and device utilizing Photoshop to realize picture splicing |
US20150153895A1 (en) * | 2005-03-04 | 2015-06-04 | Apple Inc. | Multi-functional hand-held device |
CN104915332A (en) * | 2015-06-15 | 2015-09-16 | 广东欧珀移动通信有限公司 | Method and device for generating composing template |
-
2016
- 2016-01-26 CN CN201610051760.4A patent/CN106997264B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150153895A1 (en) * | 2005-03-04 | 2015-06-04 | Apple Inc. | Multi-functional hand-held device |
CN101510312A (en) * | 2009-03-16 | 2009-08-19 | 广州市有福数码科技有限公司 | Method, device and system for making electronic photo album |
CN102930523A (en) * | 2012-11-12 | 2013-02-13 | 北京奇虎科技有限公司 | Picture processing system and picture slicing implementation method |
CN104637040A (en) * | 2013-11-12 | 2015-05-20 | 携程计算机技术(上海)有限公司 | Method and device utilizing Photoshop to realize picture splicing |
CN104079725A (en) * | 2014-07-07 | 2014-10-01 | 中科创达软件股份有限公司 | Incoming call rejection method and device |
CN104598901A (en) * | 2015-03-04 | 2015-05-06 | 陈佩珊 | Method and system for identifying picture characters and typesetting and displaying picture characteristics according to original style by mobile terminal |
CN104915332A (en) * | 2015-06-15 | 2015-09-16 | 广东欧珀移动通信有限公司 | Method and device for generating composing template |
Non-Patent Citations (4)
Title |
---|
一线文化: "《从零开始—中老年人学会数码照片处理》", 30 September 2015 * |
刘展,王鹏: "《玩转Android手机》", 28 February 2012 * |
刘成才: "《五邑大学优秀毕业论文集》", 30 April 2008 * |
阿默: "《iPhone摄影:轻触的浪漫》", 31 May 2012 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109657201A (en) * | 2017-10-10 | 2019-04-19 | 杭州海康威视系统技术有限公司 | A kind of method for displaying typesetting of element, device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106997264B (en) | 2020-11-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106030667B (en) | Vehicle running state monitoring arrangement | |
CN101542523B (en) | Detector, detection method, and integrated circuit for detection | |
CN105051492B (en) | Mobile terminal apparatus, recording medium and modification method | |
CN102369549B (en) | Device for creating information for positional estimation of matter, and method for creating information for positional estimation of matter | |
CN102821243A (en) | Image processing device, method of controlling image processing device, and program for causing computer to execute the same method | |
CN105917246A (en) | Range-free proximity determination | |
CN102168986A (en) | Method of estimating stride length, method of calculating movement trajectory, and stride length estimating device | |
CN107871011A (en) | Image processing method, device, mobile terminal and computer-readable recording medium | |
CN105426901B (en) | Method for classifying to the known object in camera view | |
CN111798018A (en) | Behavior prediction method, behavior prediction device, storage medium and electronic equipment | |
CN109959379A (en) | Localization method and electronic equipment | |
US20150262370A1 (en) | Image processing device, image processing method, and image processing program | |
CN107771391A (en) | The determination of the time for exposure of picture frame | |
CN104771891A (en) | Information collection system, information processing system and information display device | |
CN105922268A (en) | Information processing apparatus, processing system, object moving system, and object moving method | |
JP5551563B2 (en) | Content evaluation apparatus, content evaluation system, content evaluation method, and program | |
US20150241243A1 (en) | Method for counting steps and electronic apparatus using the same | |
CN110366100A (en) | Localization method, positioning device, readable storage medium storing program for executing and the terminal device of terminal | |
CN104793857A (en) | Electronic apparatus, system, method | |
CN106796127B (en) | Signal processing apparatus and signal processing method | |
CN109558782A (en) | Information processing unit, information processing system, information processing method and recording medium | |
US20200042795A1 (en) | Method and mobile terminal for providing information based on image | |
CN106997264A (en) | A kind of method and device for converting picture layout | |
CN108829773A (en) | Mobile terminal reads recommended method, mobile terminal and computer readable storage medium | |
CN104168415B (en) | Motion picture reproduction apparatus and its control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |