CN105955996A - Image processing method and device - Google Patents
Image processing method and device Download PDFInfo
- Publication number
- CN105955996A CN105955996A CN201610245517.6A CN201610245517A CN105955996A CN 105955996 A CN105955996 A CN 105955996A CN 201610245517 A CN201610245517 A CN 201610245517A CN 105955996 A CN105955996 A CN 105955996A
- Authority
- CN
- China
- Prior art keywords
- picture
- geographical position
- grouped
- packet
- photo folder
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/51—Indexing; Data structures therefor; Storage structures
Abstract
The invention embodiment provides an image processing method and device; the image processing method comprises the following steps: receiving an inputted image grouping order, and obtaining images in an image folder and image geography position information, wherein the image grouping order is used for indicating image grouping according to set time and geography position rules, and the geography position information is used for indicating the geography positions to where the images are taken; grouping the obtained images according to the time and geography position rules indicated by the image grouping order and the obtained geography position information. The image processing method and device and improve image searching efficiency and usage experience, and can mitigate system and user operation burdens, thus improving image processing efficiency.
Description
Technical field
The present invention relates to technical field of data processing, particularly relate to a kind of image processing method and device.
Background technology
Along with developing rapidly of electronic technology, the various electronic equipments with image collecting function meet the tendency
And give birth to, such as, smart mobile phone, panel computer or other terminal unit etc..User can pass through
Image collecting device in these equipment such as photographic head is taken pictures, and then obtains picture.
At present, terminal unit, after obtaining picture, uses the pattern of acquiescence to carry out the picture obtained
Packet and preservation, it is common that in units of year, picture is preserved.So, user is carrying out figure
When sheet is searched or carries out subsequent treatment, in units of year, picture can be made a look up, Jin Erjin
Row is corresponding to be processed.
But, on the one hand, this mode needs to make a look up from substantial amounts of picture, takes time and effort,
Inefficiency;On the other hand, a lot of users, after having shot one group of picture, are required for whole group of figure
Sheet processes, and existing single picture is searched and processing mode also cannot the demand of user.
Summary of the invention
It is an object of the invention to provide a kind of image processing method and device, to solve existing terminal
Picture packet mode in equipment is not easy to search, it is impossible to the problem meeting user's request.
According to an aspect of the present invention, it is provided that a kind of image processing method, including: receive input
Picture packet instruction, obtain the picture in Photo folder and the geographical location information of described picture,
Wherein, described picture packet instruction is for indicating the time according to setting and geographical position rule to figure
Sheet is grouped, geographical position when described geographical location information is for indicating shooting picture;According to
Described picture is grouped the time indicated by instruction and geographical position rule and the described geographical position obtained
Information, is grouped the picture obtained.
Preferably, described time and geographical position rule include at least one of: determine according to
When picture is grouped by one time period, it is picture packet according to the first geographical position precision of picture;
Determine when picture being grouped according to the second time period, according to the second geographical position precision of picture
It is grouped for picture;Determine when picture being grouped according to the 3rd time period, according to the 3rd of picture the
Geographical position precision is picture packet;Wherein, the time interval of described first time period is less than described
The time interval of the second time period;The time interval of described second time period is less than described 3rd time
The time interval of section;Described first geographical position precision is higher than described second geographical position precision, institute
State the second geographical position precision higher than described 3rd geographical position precision.
Preferably, described determine when picture being grouped according to first time period, according to picture
First geographical position precision is that picture packet comprises determining that when being daily grouped picture, according to
The block of the first geographical position instruction of picture is picture packet;Described determine according to the second time period
When picture is grouped, it is that picture packet includes according to the second geographical position precision of picture: really
When determining monthly picture to be grouped, according to the minimum row administrative division of the second geographical position instruction of picture
Divide picture packet into;Described determine when picture being grouped according to the 3rd time period, according to picture
The 3rd geographical position precision be that picture packet comprises determining that when being daily grouped picture, root
Picture packet is divided into according to the maximum row administrative division of the 3rd geographical position instruction of picture.
Preferably, described image processing method also includes: after receiving picture preservation instruction, obtain
Currently used time and geographical position is regular and the geographical location information of picture to be saved;According to obtaining
Described time taken and geographical position is regular and the geographical location information of described picture to be saved, to institute
State picture to be saved to be grouped.
Preferably, after the step that described all pictures to obtaining are grouped, described method
Also include: set up corresponding Photo folder for each packet and show described Photo folder, its
In, each described Photo folder includes all pictures in the packet of correspondence;Receive one
The operation of Photo folder;According to described operation, at described Photo folder to be operated
Reason.
Preferably, the operation to Photo folder includes: Photo folder is shared operation, or
Person, the amendment to Photo folder operates.
Preferably, the picture in described acquisition Photo folder and the geographical location information of described picture
Step include: obtain all pictures in Photo folder;Whether judge in described all pictures
There is the picture not comprising geographical location information;If not existing, then obtain in described Photo folder
The geographical location information of all pictures;If existing, then obtain described Photo folder and include ground
The geographical location information of the picture of reason positional information.
According to a further aspect in the invention, additionally provide a kind of picture processing device, including: first
Acquisition module, for receiving the picture packet instruction of input, obtain the picture in Photo folder and
The geographical location information of described picture, wherein, the packet instruction of described picture is for indicating according to setting
Time and geographical position rule picture is grouped, described geographical location information is used for indicating bat
Take the photograph geographical position during picture;Grouping module, for according to indicated by the packet instruction of described picture
Time and geographical position rule and the described geographical location information obtained, carried out point the picture obtained
Group.
Preferably, described time and geographical position rule include at least one of: determine according to
When picture is grouped by one time period, it is picture packet according to the first geographical position precision of picture;
Determine when picture being grouped according to the second time period, according to the second geographical position precision of picture
It is grouped for picture;Determine when picture being grouped according to the 3rd time period, according to the 3rd of picture the
Geographical position precision is picture packet;Wherein, the time interval of described first time period is less than described
The time interval of the second time period;The time interval of described second time period is less than described 3rd time
The time interval of section;Described first geographical position precision is higher than described second geographical position precision, institute
State the second geographical position precision higher than described 3rd geographical position precision.
Preferably, described determine when picture being grouped according to first time period, according to picture
First geographical position precision is that picture packet comprises determining that when being daily grouped picture, according to
The block of the first geographical position instruction of picture is picture packet;Described determine according to the second time period
When picture is grouped, it is that picture packet includes according to the second geographical position precision of picture: really
When determining monthly picture to be grouped, according to the minimum row administrative division of the second geographical position instruction of picture
Divide picture packet into;Described determine when picture being grouped according to the 3rd time period, according to picture
The 3rd geographical position precision be that picture packet comprises determining that when being daily grouped picture, root
Picture packet is divided into according to the maximum row administrative division of the 3rd geographical position instruction of picture.
Preferably, described picture processing device also includes: the second acquisition module, is used for receiving figure
After sheet preserves instruction, obtain the currently used time and geographical position is regular and the ground of picture to be saved
Reason positional information;Described grouping module, is additionally operable to according to the described time obtained and geographical position rule
Then and the geographical location information of described picture to be saved, described picture to be saved is grouped.
Preferably, described picture processing device also includes: display module, at described packet mould
After all pictures obtained are grouped by block, set up corresponding Photo folder for each packet
And show described Photo folder, wherein, each described Photo folder includes the packet of correspondence
In all pictures;Receiver module, for receiving the operation to a Photo folder;Process mould
Block, for according to described operation, processes described Photo folder to be operated.
Preferably, the operation to Photo folder includes: Photo folder is shared operation, or
Person, the amendment to Photo folder operates.
Preferably, described first acquisition module is at the picture obtained in Photo folder and described picture
Geographical location information time: obtain all pictures in Photo folder;Judge described all pictures
In whether there is the picture not comprising geographical location information;If not existing, then obtain described picture literary composition
The geographical location information of all pictures in part folder;If existing, then obtain in described Photo folder
Geographical location information including the picture of geographical location information.
The picture processing scheme provided by the embodiment of the present invention, terminal unit is from time and geographical position
Put two dimensions picture is grouped.Such as, during with sky for unit, terminal unit is according to shooting
Position, block during picture is picture packet;During with the moon for unit, terminal unit is according to shooting picture
Time the first less administrative division (certain district having under its command such as certain city) be picture packet;With year it is
During unit, terminal unit according to shooting picture time larger row administrative division draw (as certain city, certain province or
Certain country of person) it is picture packet.By picture being grouped from two dimensions, plurality of pictures is built
Vertical the most careful and clear and definite packet, the picture in same packet has higher relatedness.Rear
In continuous operation, on the one hand, make user more a small amount of picture to be made a look up, carry
High search efficiency and experience;On the other hand, same packet can be carried out integrated operation,
Without selecting picture one by one, both alleviated the operation burden of system and user, also improved at picture
Reason efficiency.
Accompanying drawing explanation
Fig. 1 is the flow chart of steps of a kind of image processing method of according to embodiments of the present invention;
Fig. 2 is the flow chart of steps of a kind of image processing method of according to embodiments of the present invention two;
Fig. 3 is the flow chart of steps of a kind of image processing method of according to embodiments of the present invention three;
Fig. 4 is the picture interface signal after a kind of in embodiment illustrated in fig. 3 has carried out picture processing
Figure;
Fig. 5 is that the picture interface after the another kind in embodiment illustrated in fig. 3 has carried out picture processing shows
It is intended to;
Fig. 6 is that the picture interface after another in embodiment illustrated in fig. 3 has carried out picture processing shows
It is intended to;
Fig. 7 is the structured flowchart of a kind of picture processing device of according to embodiments of the present invention four;
Fig. 8 is the structured flowchart of a kind of picture processing device of according to embodiments of the present invention five;
Fig. 9 is the structural representation of a kind of terminal unit of according to embodiments of the present invention six.
Detailed description of the invention
Describe the exemplary embodiment of the present invention below in conjunction with the accompanying drawings in detail.
Embodiment one
With reference to Fig. 1, it is shown that the step of a kind of image processing method of according to embodiments of the present invention
Flow chart.
The image processing method of the present embodiment comprises the following steps:
Step S102: receive the picture packet instruction of input, obtain the picture in Photo folder and
The geographical location information of described picture.
Wherein, picture packet instruction is for indicating the time according to setting and geographical position rule to figure
Sheet is grouped, geographical position when geographical location information is for indicating shooting picture.
System is provided with and is available for multiple (two and two or more) picture packet instruction that user selects,
As, daily it is grouped, is monthly grouped, be grouped per year, or by setting time period packet etc., user
The packet instruction of corresponding picture can be selected, in corresponding Photo folder according to the demand of oneself
Picture is grouped.Wherein, Photo folder can be the system phase of the whole picture of the system of preserving
Volume, it is also possible to be system or user is self-built, part picture in the whole picture of system of only preserving
Photo folder.
The metadata of picture has the relevant information of picture, such as, geographical position during shooting picture
Information, namely the geographical location information of picture, shooting time information, image credit information etc..
In the embodiment of the present invention, need to use the geographical location information of picture.
Step S104: according to the time indicated by picture packet instruction and geographical position rule and acquisition
Geographical location information, to obtain picture be grouped.
After determining the picture packet instruction that user selects, i.e. can determine that the packet instruction of this picture is right
The time answered and geographical position rule, and then according to this rule, picture is grouped.
By the image processing method of the present embodiment, terminal unit is from time and two, geographical position dimension
Picture is grouped by degree.Such as, during with sky for unit, terminal unit according to shooting picture time
Position, block is picture packet;During with the moon for unit, terminal unit according to shooting picture time less
The first administrative division (certain district having under its command such as certain city) be picture packet;During with year for unit,
Terminal unit is drawn (such as certain city, certain province or certain state according to larger row administrative division during shooting picture
Family) it is picture packet.By picture being grouped from two dimensions, plurality of pictures is set up the thinnest
Making peace clear and definite packet, the picture in same packet has higher relatedness.In subsequent operation,
On the one hand, make user more a small amount of picture to be made a look up, improve lookup effect
Rate and experience;On the other hand, same packet can be carried out integrated operation, it is not necessary to select one by one
Select picture, both alleviated the operation burden of system and user, also improved picture processing efficiency.
Embodiment two
With reference to Fig. 2, it is shown that the step of a kind of image processing method of two according to embodiments of the present invention
Flow chart.
The image processing method of the present invention, as a example by terminal unit is as mobile terminal, is entered by the present embodiment
Row explanation.But it should be understood by those skilled in the art that other terminal unit, as panel computer,
Personal computers etc. can also refer to the present embodiment and realize the picture processing scheme of the present invention.
The image processing method of the present embodiment comprises the following steps:
Step S202: mobile terminal receives the picture packet instruction of input, obtains in Photo folder
Picture and the geographical location information of described picture.
Wherein, picture packet instruction is for indicating the time according to setting and geographical position rule to figure
Sheet is grouped, geographical position when geographical location information is for indicating shooting picture.
Every pictures all has corresponding picture metadata information, such as shooting time, the picture of picture
Geographical location information, the source-information etc. of picture.But can not get rid of, in some situation
Under, picture metadata information does not the most comprise the geographical location information of picture.
Therefore, in a kind of feasible pattern, mobile terminal picture in obtaining Photo folder and figure
During the geographical location information of the picture in sheet file, using mark mode to indicate those does not has ground
The picture of reason positional information, as with special marking or field identification geographical location information field, rear
In continuous process, the geographical location information field of this type is carried out special handling, e.g., it is right
The picture answered is unified to be divided into one group and indicates this packet.
In another kind of feasible pattern, mobile terminal picture in obtaining Photo folder and described figure
During the geographical location information of sheet, first obtain all pictures in Photo folder;Then judge all
Whether picture exists the picture not comprising geographical location information;If not existing, then obtain picture literary composition
The geographical location information of all pictures in part folder;If existing, the most only obtaining in Photo folder and wrapping
Include the geographical location information of the picture of geographical location information.Under this mode, can simply be existence ground
The picture of reason positional information carries out the picture processing scheme of embodiment of the present invention offer, alleviates process
Burden, decreases picture processing data volume.And for there is no those pictures of geographical location information,
Can be appropriately arranged with according to the actual requirements by those skilled in the art and process, be divided into as unified
One group and mark etc..
Certainly, mobile terminal can also obtain all pictures in Photo folder and all pictures
Geographical location information, then, using do not comprise geographical location information those pictures as special
Geographical location information picture, and then be further processed.
Step S204: mobile terminal is according to the time indicated by picture packet instruction and geographical position rule
Then and obtain geographical location information, to obtain picture be grouped.
Time and geographical position rule are for from time dimension and geography dimension, the two dimension
Determine how and picture is grouped.
A kind of feasible time and geographical position rule can include at least one of:
Determine when picture being grouped according to first time period, according to the first geographical position of picture
Precision is picture packet;
Determine when picture being grouped according to the second time period, according to the second geographical position of picture
Precision is picture packet;
Determine when picture being grouped according to the 3rd time period, according to the 3rd geographical position of picture
Precision is picture packet;
Wherein, the time interval of first time period is less than the time interval of the second time period;When second
Between the time interval of section less than the time interval of the 3rd time period;First geographical position precision is higher than the
Two geographical position precision, the second geographical position precision is higher than the 3rd geographical position precision.
Such as, determine when picture being grouped according to first time period, according to the first ground of picture
Reason positional precision is that picture packet may include that and determines when being daily grouped picture, according to figure
The block of the first geographical position instruction of sheet is picture packet, such as so-and-so street or so-and-so community or
So-and-so park of person etc..
The most such as, determine when picture being grouped according to the second time period, according to the second of picture
Geographical position precision is that picture packet may include that and determines when being monthly grouped picture, according to
The first row administrative division of the second geographical position instruction of picture divides picture packet into, such as Haidian District, Chaoyang
District etc..
The most such as, determine when picture being grouped according to the 3rd time period, according to the 3rd of picture the
Geographical position precision is that picture packet may include that and determines when being daily grouped picture, according to
Second administrative division of the 3rd geographical position instruction of picture is picture packet, e.g., Beijing, river
North saves Shijiazhuang City or direct Hebei province etc..
It should be noted that the rank of above-mentioned first administrative division is less than the rank of the second administrative division.
So far, it is achieved that to picture from the packet of two dimensions of time and geographical position.
After grouping, user also has the operational requirements to the picture after packet.It is different from existing need
Selecting picture one by one and then carry out the mode operated, the embodiment of the present invention is in order to meet user to association
The disposed of in its entirety demand of one group of picture in close relations, it is provided that the behaviour to the picture packet after packet
Make, as described below.
Step S206: mobile terminal is that each packet is set up corresponding Photo folder and shows picture
File.
Wherein, all pictures during each Photo folder includes the packet of correspondence.
Step S208: mobile terminal receives some the picture literary composition at least one Photo folder
The operation of part folder.
Wherein, the operation to Photo folder includes but not limited to: Photo folder is shared behaviour
Make, or, the amendment of Photo folder is operated, as entirety delete, entirety be outlined or
Overall duplication or other suitable disposed of in its entirety.In the embodiment of the present invention, to Photo folder
Disposed of in its entirety means all pictures in this Photo folder are all carried out identical operation, it is not necessary to pin
Single picture is carried out.Certainly, in addition, user is when needed, it is also possible to open this picture
Therein single or part picture are operated by file accordingly.
Step S210: mobile terminal is according to described operation, at Photo folder to be operated
Reason.
Such as, entirety is shared or overall duplication etc..
By above-mentioned steps, effectively meet the demand that picture is carried out disposed of in its entirety of user,
Improve picture processing efficiency and speed, simplify user operation.
It should be noted that in the case of picture has been carried out packet, if receiving new figure
Sheet, still needs to be grouped this picture being newly received.
Therefore, in the present embodiment, after existing picture is grouped, if the new figure of preservation such as having
During sheet, it is also possible to proceed as follows: mobile terminal receives new picture and preserves instruction;Connecing
Receive after picture preserves instruction, obtain the currently used time and geographical position is regular and figure to be saved
The geographical location information of sheet;Time and geographical position according to obtaining is regular and the ground of picture to be saved
Reason positional information, is grouped picture to be saved.That is, after having picture packet, if
Have new picture to be preserved, mobile terminal can by current rule of classification, namely the current time and
Geographical position rule, is applied to new picture to be saved, is grouped it.By this kind of mode,
The concordance of rule of classification has been effectively ensured.
By the image processing method of the present embodiment, terminal unit is from time and two, geographical position dimension
Picture is grouped by degree.By picture being grouped from two dimensions, plurality of pictures is set up more
Careful and clear and definite packet, the picture in same packet has higher relatedness.In subsequent operation
In, on the one hand, make user more a small amount of picture to be made a look up, improve and look into
Look for efficiency and experience;On the other hand, same packet can be carried out integrated operation, it is not necessary to by
One selects picture, had both alleviated the operation burden of system and user, and had also improved picture processing efficiency.
Embodiment three
With reference to Fig. 3, it is shown that the step of a kind of image processing method of three according to embodiments of the present invention
Flow chart.
The image processing method of the present invention is illustrated by the present embodiment with the form of an instantiation,
Wherein, terminal unit is as a example by smart mobile phone.But being not limited to this, those skilled in the art should be bright
, this example is merely illustrative, and those skilled in the art can be according to practical situation, right
Technological means in the present embodiment realizes the picture processing scheme of the present invention after being appropriately modified, its
Belong to protection scope of the present invention.
The image processing method of the present embodiment comprises the following steps:
Step S302: smart mobile phone receives the picture packet instruction of user's input, determines that this picture divides
Time and geographical position that group instruction is corresponding are regular.
In the present embodiment, in units of sky, it is that picture is grouped according to the block of picture.
Step S304: smart mobile phone obtains all pictures in Photo folder and the ground of all pictures
Reason positional information.
In the present embodiment, as a example by the Photo folder system photograph album as smart mobile phone.But it is not limited to
This, the present embodiment scheme also can for certain concrete Photo folder or certain sub-pictures file,
Such as " wechat ", carry out picture packet.
Step S306: smart mobile phone judges in all pictures, if exist and not there is geographical position letter
The picture of breath;If not existing, then perform step S308;If existing, then use the labelling mark of setting
Know the picture without geographical location information, go to step S308.
Wherein, the labelling of setting can be appropriately arranged with according to the actual requirements by those skilled in the art,
Picture marking can be different from conventional geographical position letter with the geographical location information of labelling picture
Cease or not there is geographical location information;Special geographical position character mark can also be used, this
This is not restricted by bright embodiment.
Step S308: smart mobile phone, in units of sky, indicates according to the geographical location information of picture
Block is all pictures packet in Photo folder.
A kind of in units of sky, according to the block of the geographical location information instruction of picture in system photograph album
Display interface after being grouped for all pictures in system photograph album is as shown in Figure 4.The picture of Fig. 4 shows
Show in interface, only give the example that a picture under in units of sky is grouped, but should in reality
In with, the picture of every day can include multiple packet after grouping.
Additionally, as it was previously stated, user in actual use, it is also possible in units of the moon to picture literary composition
Picture in part folder is grouped.A kind of in units of the moon, according to the geography of picture in system photograph album
(administrative division of less rank is north in the present embodiment in first administrative division of positional information instruction
Administrative area under Jing Shi linchpin) it is the display interface such as Fig. 5 after all pictures in system photograph album are grouped
Shown in.Equally, in the picture display interface of Fig. 5, only give a figure under in units of the moon
The example of sheet packet, but in actual applications, picture monthly can include multiple points after grouping
Group.
And when the picture in Photo folder being grouped in units of year, it is a kind of in units of year,
According in system photograph album picture geographical location information instruction the second administrative division (bigger rank
Administrative division, for city-level administrative area in the present embodiment) it is after all pictures in system photograph album are grouped
Display interface as shown in Figure 6.Equally, in the picture display interface of Fig. 6, only give with the moon
The example being grouped for a picture under unit, but in actual applications, picture monthly is in packet
After can include multiple packet.
Step S310: smart mobile phone is that Photo folder is set up in each packet.
Step S312: smart mobile phone shows each Photo folder and the operation choosing to this document folder
?.
Wherein, described option of operation includes but not limited to: shares operation, replicate operation, deletion behaviour
Work, edit operation etc..The present embodiment is as a example by sharing operation.
Step S314: smart mobile phone receives user and some Photo folder is shared the finger of operation
Order.
When user selects to share operation for some Photo folder, in this Photo folder
All pictures all will be shared.
Step S316: after smart mobile phone receives the instruction that Photo folder is shared operation by user,
All pictures in this Photo folder are shared wechat circle of friends.
By the present embodiment, smart mobile phone is possible not only to effectively be grouped picture, Er Qiefang
User's operation to picture, both alleviated intelligent mobile phone system operation burden, also simplify
User operation, improves user's experience.
Embodiment four
With reference to Fig. 7, it is shown that the structure of a kind of picture processing device of four according to embodiments of the present invention
Block diagram.
The picture processing device of the embodiment of the present invention includes: the first acquisition module 402, is used for receiving
The picture packet instruction of input, obtains the picture in Photo folder and the geographical position of described picture
Information, wherein, picture packet instruction is right according to the time set and geographical position rule for instruction
Picture is grouped, geographical position when geographical location information is for indicating shooting picture;Packet mould
Block 404, for regular and acquisition according to the time indicated by picture packet instruction and geographical position
Geographical location information, is grouped the picture obtained.
The picture processing device provided by the present embodiment, terminal unit is from time and geographical position two
Picture is grouped by individual dimension.Such as, during with sky for unit, terminal unit is according to shooting picture
Time position, block be picture packet;During with the moon for unit, terminal unit according to shooting picture time
Less the first administrative division (certain district having under its command such as certain city) is picture packet;In units of year
Time, terminal unit according to shooting picture time larger row administrative division draw (as certain city, certain province or certain
Individual country) it is picture packet.By picture being grouped from two dimensions, plurality of pictures is set up more
For careful and clear and definite packet, the picture in same packet has higher relatedness.Follow-up behaviour
In work, on the one hand, make user more a small amount of picture to be made a look up, improve
Search efficiency and experience;On the other hand, same packet can be carried out integrated operation, it is not necessary to
Select picture one by one, both alleviated the operation burden of system and user, and also improved picture processing effect
Rate.
Embodiment five
With reference to Fig. 8, it is shown that the structure of a kind of picture processing device of five according to embodiments of the present invention
Block diagram.
The picture processing device of the present embodiment includes: the first acquisition module 502, is used for receiving input
Picture packet instruction, obtain the picture in Photo folder and the geographical location information of described picture,
Wherein, picture is entered according to the time set and geographical position rule by picture packet instruction for instruction
Row packet, geographical position when geographical location information is for indicating shooting picture;Grouping module 504,
For according to the time indicated by picture packet instruction and geographical position rule and the geographical position obtained
Information, is grouped the picture obtained.
Preferably, time and geographical position rule include at least one of:
Determine when picture being grouped according to first time period, according to the first geographical position of picture
Precision is picture packet;Determine when picture being grouped according to the second time period, according to picture
Second geographical position precision is picture packet;Determine when picture being grouped according to the 3rd time period,
The 3rd geographical position precision according to picture is picture packet.Wherein, between the time of first time period
Every the time interval less than the second time period;The time interval of the second time period was less than for the 3rd time period
Time interval;First geographical position precision is higher than the second geographical position precision, the second geographical position
Precision is higher than the 3rd geographical position precision.
Preferably, determine when picture being grouped according to first time period, according to the first of picture
Geographical position precision is that picture packet comprises determining that when being daily grouped picture, according to picture
First geographical position instruction block be picture packet;Determine according to the second time period, picture to be entered
Row packet time, according to the second geographical position precision of picture be picture packet comprise determining that the most right
When picture is grouped, divide picture into according to the first row administrative division of the second geographical position instruction of picture
Packet;Determine when picture being grouped according to the 3rd time period, according to the 3rd geographical position of picture
Putting precision is that picture packet comprises determining that when being daily grouped picture, according to the 3rd of picture the
Second administrative division of geographical position instruction is picture packet;Wherein, the rank of the first administrative division
Rank less than the second administrative division.
Preferably, the picture processing device of the present embodiment also includes: the second acquisition module 506, uses
After receiving picture preservation instruction, obtain currently used time and geographical position rule and wait to protect
Deposit the geographical location information of picture;Grouping module 504, is additionally operable to according to the time obtained and geography
Location rule and the geographical location information of picture to be saved, be grouped picture to be saved.
Preferably, the picture processing device of the present embodiment also includes: display module 508, is used for
After all pictures obtained are grouped by grouping module 504, set up correspondence for each packet
Photo folder also shows Photo folder, and wherein, each Photo folder includes dividing of correspondence
All pictures in group;Receiver module 510, for receiving the operation to a Photo folder;
Processing module 512, for according to described operation, processes Photo folder to be operated.
Preferably, the operation to Photo folder includes: Photo folder is shared operation, or
Person, the amendment to Photo folder operates.
Preferably, the first acquisition module 502 is at the picture obtained in Photo folder and described picture
Geographical location information time: obtain all pictures in Photo folder;Judge all pictures are
No existence does not comprise the picture of geographical location information;If not existing, then obtain in Photo folder
The geographical location information of all pictures;If existing, then obtain Photo folder and include geographical position
The geographical location information of the picture of information.
The picture processing device of the present embodiment is used for realizing scheming accordingly in aforesaid plurality of embodiment of the method
Sheet processing method, and there is the beneficial effect of corresponding embodiment of the method, do not repeat them here.
Embodiment six
The embodiment of the present invention additionally provides a kind of terminal unit, its hardware architecture diagram such as Fig. 9 institute
Show.
Terminal unit includes processor 602, memorizer 604 and bus 606.Wherein, processor
602, memorizer 604 is communicated by bus 606.
In terminal unit, processor 602, for receiving the picture packet instruction of input, obtains picture
Picture in file and the geographical location information of described picture, wherein, picture packet instruction is used for
Indicating and be grouped picture according to the time set and geographical position rule, geographical location information is used
Geographical position when instruction shooting picture;According to the time indicated by picture packet instruction and geography
Location rule and the geographical location information of acquisition, be grouped the picture obtained.Wherein, picture
Picture and the geographical location information of described picture in file are maintained in memorizer 604.
In the optional embodiment of one, memorizer 604 is preserved at least one of time
With geographical position rule, comprise determining that when picture being grouped according to first time period, according to
First geographical position precision of picture is picture packet;Determine and according to the second time period, picture is carried out
During packet, it is picture packet according to the second geographical position precision of picture;Determine according to the 3rd time
When picture is grouped by section, it is picture packet according to the 3rd geographical position precision of picture.Wherein,
The time interval of first time period is less than the time interval of the second time period;The time of the second time period
Interval is less than the time interval of the 3rd time period;First geographical position precision is higher than the second geographical position
Precision, the second geographical position precision is higher than the 3rd geographical position precision.
In the optional embodiment of one, the time preserved in memorizer 604 and geographical position rule
In then, determine when picture being grouped according to first time period, according to the first geographical position of picture
Putting precision is that picture packet comprises determining that when being daily grouped picture, according to the first of picture
The block of geographical position instruction is picture packet;Determine and according to the second time period, picture is grouped
Time, it is that picture packet comprises determining that monthly to enter picture according to the second geographical position precision of picture
During row packet, divide picture packet into according to the first row administrative division of the second geographical position instruction of picture;
Determine when picture being grouped according to the 3rd time period, according to the 3rd geographical position precision of picture
Comprise determining that when daily picture being grouped for picture packet, according to the 3rd of picture geographical position
The second administrative division putting instruction is picture packet;Wherein, the rank of the first administrative division is less than the
The rank of two administrative divisions.
In the optional embodiment of one, processor 602 also receive picture preserve instruction after,
From memorizer 604, obtain the currently used time and geographical position is regular and the ground of picture to be saved
Reason positional information;And then, time and geographical position according to obtaining is regular and the ground of picture to be saved
Reason positional information, is grouped picture to be saved.
In the optional embodiment of one, all pictures obtained also are being carried out by processor 602
After packet, set up corresponding Photo folder for each packet and show Photo folder, wherein,
Each Photo folder includes all pictures in the packet of correspondence;Receive a picture file
The operation of folder;And, according to described operation, Photo folder to be operated is processed.
In the optional embodiment of one, the operation to Photo folder includes: to picture file
Folder share operation, or, the amendment to Photo folder operates.
In the optional embodiment of one, the processor 602 picture in obtaining Photo folder
And during the geographical location information of described picture: obtain all pictures in Photo folder;Judge institute
Have in picture and whether there is the picture not comprising geographical location information;If not existing, then obtain picture
The geographical location information of all pictures in file;If existing, then obtain in Photo folder and wrap
Include the geographical location information of the picture of geographical location information.
Should be appreciated that the terminal unit provided according to embodiments of the present invention can realize in Fig. 1 to Fig. 3
The corresponding flow process of each method, for sake of simplicity, do not repeat them here, in said method embodiment
Associated description be also applied for the present embodiment.
Additionally, the embodiment of the present invention additionally provides a kind of computer program, this computer program includes
Computer-readable code, when this computer-readable code runs on the terminal device, causes terminal
Equipment performs the image processing method of any one in aforesaid plurality of embodiment of the method.
Further, the embodiment of the present invention additionally provides a kind of computer-readable medium, wherein stores
The computer program stated.
It may be noted that according to the needs implemented, all parts/step described in this application can be torn open
It is divided into more components/steps, it is possible to by two or more components/steps or the part of components/steps
The components/steps that operational group synthesis is new, to realize the purpose of the present invention.
Above-mentioned the method according to the invention can realize in hardware, firmware, or is implemented as storing
Software in record medium (such as CD ROM, RAM, floppy disk, hard disk or magneto-optic disk) or meter
Calculation machine code, or it is implemented through the original storage of network download in remotely record medium or nonvolatile
In machine readable media and the computer code in local recording medium will be stored in, thus retouch at this
The method stated can be stored in use general purpose computer, application specific processor or able to programme or specialized hardware
Such software processes on the record medium of (such as ASIC or FPGA).It is appreciated that meter
Calculation machine, processor, microprocessor controller or programmable hardware include storing or to receive software or meter
The storage assembly (such as, RAM, ROM, flash memory etc.) of calculation machine code, when described software or calculating
When machine code is by computer, processor or hardware access and execution, it is achieved processing method described here.
Additionally, when general purpose computer accesses for the code of the process that realization is shown in which, the execution of code
General purpose computer is converted to the special-purpose computer of the process being shown in which for execution.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not
Be confined to this, any those familiar with the art in the technical scope that the invention discloses,
Change can be readily occurred in or replace, all should contain within protection scope of the present invention.Therefore, originally
The protection domain of invention should be as the criterion with described scope of the claims.
Claims (14)
1. an image processing method, it is characterised in that including:
Receive the picture packet instruction of user's input, obtain the picture in Photo folder and described figure
The geographical location information of sheet, wherein, the packet instruction of described picture is for indicating according to the time set
Being grouped picture with geographical position rule, described geographical location information is used for indicating shooting picture
Time geographical position;
Described in the time indicated by the packet instruction of described picture and geographical position rule and acquisition
Geographical location information, is grouped the picture obtained.
Method the most according to claim 1, it is characterised in that described time and geographical position
Rule includes at least one of:
Determine when picture being grouped according to first time period, according to the first geographical position of picture
Precision is picture packet;
Determine when picture being grouped according to the second time period, according to the second geographical position of picture
Precision is picture packet;
Determine when picture being grouped according to the 3rd time period, according to the 3rd geographical position of picture
Precision is picture packet;
Wherein, the time interval of described first time period is less than the time interval of described second time period;
The time interval of described second time period is less than the time interval of described 3rd time period;Described first
Geographical position precision is higher than described second geographical position precision, and described second geographical position precision is higher than
Described 3rd geographical position precision.
Method the most according to claim 2, it is characterised in that
Described determining when being grouped picture according to first time period, first according to picture is geographical
Positional precision is that picture packet comprises determining that when being daily grouped picture, according to the of picture
The block of one geographical position instruction is picture packet;
Described determining when being grouped picture according to the second time period, second according to picture is geographical
Positional precision is that picture packet comprises determining that when being monthly grouped picture, according to the of picture
The first row administrative division of two geographical position instructions divides picture packet into;
Described determining when being grouped picture according to the 3rd time period, the 3rd according to picture is geographical
Positional precision is that picture packet comprises determining that when being daily grouped picture, according to the of picture
Second administrative division of three geographical position instructions is picture packet;
Wherein, the rank of the first administrative division is less than the rank of the second administrative division.
4. according to the method described in any one of claims 1 to 3, it is characterised in that described method
Also include:
After receiving picture preservation instruction, obtain currently used time and geographical position rule and treat
Preserve the geographical location information of picture;
Described time and geographical position according to obtaining is regular and the geographical position of described picture to be saved
Information, is grouped described picture to be saved.
5. according to the method described in any one of claims 1 to 3, it is characterised in that described right
After all pictures obtained carry out the step being grouped, described method also includes:
Set up corresponding Photo folder for each packet and show described Photo folder, wherein,
Each described Photo folder includes all pictures in the packet of correspondence;
Receive the operation to a Photo folder;
According to described operation, described Photo folder to be operated is processed.
Method the most according to claim 5, it is characterised in that the operation to Photo folder
Including: Photo folder is shared operation, or, the amendment to Photo folder operates.
7. according to the method described in any one of claims 1 to 3, it is characterised in that described acquisition
Picture and the step of the geographical location information of described picture in Photo folder include:
Obtain all pictures in Photo folder;
Judge whether described all pictures exist the picture not comprising geographical location information;
If not existing, then obtain the geographical location information of all pictures in described Photo folder;
If existing, then obtain the geography that described Photo folder includes the picture of geographical location information
Positional information.
8. a picture processing device, it is characterised in that including:
First acquisition module, for receiving the picture packet instruction of input, obtains in Photo folder
Picture and the geographical location information of described picture, wherein, described picture packet instruction be used for indicating
Being grouped picture according to the time set and geographical position rule, described geographical location information is used
Geographical position when instruction shooting picture;
Grouping module, for according to the time indicated by the packet instruction of described picture and geographical position rule
Then and obtain described geographical location information, to obtain picture be grouped.
Device the most according to claim 8, it is characterised in that described time and geographical position
Rule includes at least one of:
Determine when picture being grouped according to first time period, according to the first geographical position of picture
Precision is picture packet;
Determine when picture being grouped according to the second time period, according to the second geographical position of picture
Precision is picture packet;
Determine when picture being grouped according to the 3rd time period, according to the 3rd geographical position of picture
Precision is picture packet;
Wherein, the time interval of described first time period is less than the time interval of described second time period;
The time interval of described second time period is less than the time interval of described 3rd time period;Described first
Geographical position precision is higher than described second geographical position precision, and described second geographical position precision is higher than
Described 3rd geographical position precision.
Device the most according to claim 9, it is characterised in that
Described determining when being grouped picture according to first time period, first according to picture is geographical
Positional precision is that picture packet comprises determining that when being daily grouped picture, according to the of picture
The block of one geographical position instruction is picture packet;
Described determining when being grouped picture according to the second time period, second according to picture is geographical
Positional precision is that picture packet comprises determining that when being monthly grouped picture, according to the of picture
The first row administrative division of two geographical position instructions divides picture packet into;
Described determining when being grouped picture according to the 3rd time period, the 3rd according to picture is geographical
Positional precision is that picture packet comprises determining that when being daily grouped picture, according to the of picture
Second administrative division of three geographical position instructions is picture packet;
Wherein, the rank of the first administrative division is less than the rank of the second administrative division.
11. according to Claim 8 to the device described in 10 any one, it is characterised in that described dress
Put and also include:
Second acquisition module, after being used for receiving picture preservation instruction, obtains the currently used time
And the geographical location information of to be saved picture regular with geographical position;
Described grouping module, is additionally operable to according to the described time obtained and geographical position regular and described
The geographical location information of picture to be saved, is grouped described picture to be saved.
12. according to Claim 8 to the device described in 10 any one, it is characterised in that described dress
Put and also include:
Display module, after all pictures obtained being grouped in described grouping module,
Set up corresponding Photo folder for each packet and show described Photo folder, wherein, each
Described Photo folder includes all pictures in the packet of correspondence;
Receiver module, for receiving the operation to a Photo folder;
Processing module, for according to described operation, at described Photo folder to be operated
Reason.
13. devices according to claim 12, it is characterised in that the behaviour to Photo folder
Work includes: Photo folder is shared operation, or, the amendment to Photo folder operates.
14. according to Claim 8 to the device described in 10 any one, it is characterised in that described
One acquisition module is when the geographical location information of the picture obtained in Photo folder and described picture:
Obtain all pictures in Photo folder;Judge whether described all pictures exist not comprise ground
The picture of reason positional information;If not existing, then obtain all pictures in described Photo folder
Geographical location information;If existing, then obtain described Photo folder and include geographical location information
The geographical location information of picture.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610245517.6A CN105955996A (en) | 2016-04-19 | 2016-04-19 | Image processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610245517.6A CN105955996A (en) | 2016-04-19 | 2016-04-19 | Image processing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105955996A true CN105955996A (en) | 2016-09-21 |
Family
ID=56918108
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610245517.6A Pending CN105955996A (en) | 2016-04-19 | 2016-04-19 | Image processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105955996A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106776789A (en) * | 2016-11-22 | 2017-05-31 | 维沃移动通信有限公司 | The sorting technique and mobile terminal of a kind of image |
CN107644092A (en) * | 2017-09-27 | 2018-01-30 | 广东欧珀移动通信有限公司 | Photo management method, photo management device and intelligent terminal |
CN108875037A (en) * | 2018-06-26 | 2018-11-23 | 清远网博信息技术有限公司 | Polymorphic type picture classification sort method and system |
CN110413817A (en) * | 2019-07-30 | 2019-11-05 | 腾讯科技(武汉)有限公司 | Method and apparatus for being clustered to picture |
-
2016
- 2016-04-19 CN CN201610245517.6A patent/CN105955996A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106776789A (en) * | 2016-11-22 | 2017-05-31 | 维沃移动通信有限公司 | The sorting technique and mobile terminal of a kind of image |
CN106776789B (en) * | 2016-11-22 | 2018-11-30 | 维沃移动通信有限公司 | A kind of classification method and mobile terminal of image |
CN107644092A (en) * | 2017-09-27 | 2018-01-30 | 广东欧珀移动通信有限公司 | Photo management method, photo management device and intelligent terminal |
CN108875037A (en) * | 2018-06-26 | 2018-11-23 | 清远网博信息技术有限公司 | Polymorphic type picture classification sort method and system |
CN110413817A (en) * | 2019-07-30 | 2019-11-05 | 腾讯科技(武汉)有限公司 | Method and apparatus for being clustered to picture |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104572735B (en) | A kind of picture mark words recommending method and device | |
CN104866501A (en) | Electronic travel photo album generation method and system | |
CN105955996A (en) | Image processing method and device | |
CN109634961A (en) | A kind of paper sample generating method, device, electronic equipment and storage medium | |
CN109829850A (en) | Image processing method, device, equipment and computer-readable medium | |
CN104331515B (en) | A kind of method and system for automatically generating tourism diary | |
CN106686308A (en) | Image focal length detection method and device | |
CN105955992A (en) | Picture processing method and apparatus | |
CN109543770A (en) | Dot character recognition methods and device | |
CN103793521A (en) | Method and device for processing picture | |
CN110458499A (en) | A kind of express delivery order generation method, device, electronic equipment and storage medium | |
CN103428165A (en) | Method and device for grouping social network nodes | |
CN106780325B (en) | A kind of picture joining method and mobile terminal | |
CN109635878A (en) | A kind of painting and calligraphy fidelity identification method and device | |
CN104679879A (en) | Intelligent storage method and intelligent storage device for photo | |
CN107728892A (en) | picture display method, device, terminal and storage medium | |
CN101277394A (en) | Information processing method, information processing apparatus and program | |
CN106022010A (en) | File display method and device | |
CN105354510A (en) | Photo naming method and naming system | |
CN107451036A (en) | Input reminding method, device and equipment | |
CN103955713A (en) | Icon recognition method and device | |
CN109271607A (en) | User Page layout detection method and device, electronic equipment | |
CN104133845A (en) | Multimedia information display method and multimedia information display processing equipment | |
Seo et al. | A photomosaic image generation method using photo annotation in a social network environment | |
CN108510424A (en) | A kind of method and device of image procossing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160921 |