Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making under the creative work prerequisite the every other embodiment obtained, belong to the scope of protection of the invention.
Terminal described in the embodiment of the present invention can comprise: mobile phone, panel computer, notebook computer etc., above-mentioned terminal is only for example, and non exhaustive, including but not limited to above-mentioned terminal.Below will take mobile phone as example, method and the terminal of the volume picture classification described in the embodiment of the present invention will be specifically described.
Referring to Fig. 1, it is the embodiment schematic flow sheet of the method for the picture classification that provides of the embodiment of the present invention.The method of the picture classification described in the present embodiment comprises step:
S101, determine and have the reference picture of specific characteristic and the similarity of non-reference picture, and described similarity is divided into to N level.
At some in feasible embodiment, the picture that there is specific characteristic in the present embodiment can be include the picture of character facial feature, also can be the picture that comprises particular scene or picture of specific background etc.The character facial feature can comprise: character facial profile, character facial face etc.; Particular scene can be flower or other plant, animal or object, and the flower of take is example, comprises colored color, profile etc.
S102, be stored to respectively different picture-storage positions by described non-reference picture according to the different layers level of similarity.
At some in feasible embodiment, terminal primary importance described in the present embodiment specifically can be the mobile phone picture library, the picture number of storing in user's mobile phone picture library is huger, when the kind of picture is many, when the user searches a certain individual in picture library or some people's photo, difficulty can be larger, want that all pictures of a certain individual are all found out to difficulty larger, so, in order to facilitate the cellphone subscriber to check a certain individual in mobile phone or some people's photo, can first from the mobile phone picture library, choose all people's thing picture, and the personage's picture that will choose is classified, and be stored in respectively different memory location (for example different file), the user can search the picture (photo) of corresponding file to browse related person according to the actual requirements.In specific implementation, specific characteristic described in the present embodiment is mainly the character facial feature, wherein, above-mentioned character facial feature can comprise: character facial profile, character facial face etc. can judge whether this picture is personage's picture by features such as identification personage's face mask or face.Concrete, can pass through face recognition technology, choose the picture (the personage's picture that there is the character facial feature) with specific characteristic from all pictures of mobile phone picture library, and these pictures are separately deposited to designated storage location (such as new folder etc.).In specific implementation, personage's picture in the mobile phone picture library may comprise a plurality of personages' picture, for example, the photo that can comprise a plurality of people such as first, second, third, fourth, so chosen personage's picture from all pictures of mobile phone picture library after, also can further identify by face recognition technology, judge, personage's picture of choosing is classified, stored according to different personages.
At some in feasible embodiment, chosen personage's picture from the mobile phone picture library after, can calculate the similarity of each personage's picture in personage's picture of choosing, also can preset a plurality of (for example N, N is greater than 1 natural number) predetermined threshold value of similarity, and according to the predetermined threshold value of default similarity, similarity is divided into to N level, and then by the similarity between picture, each personage's picture is classified according to the different layers level of similarity, and be stored to respectively different memory locations.In specific implementation, when calculating the similarity of each personage's picture get, mobile phone can first from all people's thing picture, choose any one (any pictures that comprises designated person) as reference picture, according to the similarity of each character facial feature of character facial feature calculation of the character facial feature of reference picture and other personage's pictures (being each non-reference picture), then the similarity of comprehensive each character facial feature is determined the similarity of reference picture and each non-reference picture.Wherein, the similarity of above-mentioned character facial feature can comprise: the similarity of the similarity of the ratio of character facial profile, character facial face shape, size, ratio etc., for example, distance between two of personages, the height of nose, width, the degree of depth of eye socket, the height of cheekbone, the similarity of each character facial features such as profile of lower jaw and lower jaw.For example, can preset the predetermined threshold value of a plurality of personage's picture similarities, and to take any pictures in all personage's pictures be reference, calculate the similarity of other personage's pictures and this picture, and will reach with the similarity of this picture all personage's picture-storage to the first assigned addresses (can by this picture also default storage to this first assigned address) of the first predetermined threshold value (being assumed to be the value that similarity is the highest) according to the result of calculation of similarity, to reach with the similarity of this picture all personage's picture-storage to the K assigned addresses of K predetermined threshold value, wherein, K is the natural number that is less than N, the similarity that can set the first predetermined threshold value in the predetermined threshold value of similarity is the highest, the similarity of N predetermined threshold value is minimum, sort descending like this.Concrete, above-mentioned the first assigned address to the K assigned address can be concrete some or a plurality of files.For example, the personage's picture obtained from the mobile phone picture library has 40 altogether, comprising 10, the photo (being assumed to be numbering 1-10) of first, 10, the photo of second (being assumed to be numbering 11-20), 10, third photo (being assumed to be numbering 21-30), 10, the photo of fourth (being assumed to be numbering 31-40).After mobile phone gets these personage's pictures, take that to number 1 picture be reference, calculate the similarity of other personage's pictures and this picture, if judgement is learnt 9 personage's pictures of numbering 2-10 and the similarity of this picture and is reached above-mentioned the first predetermined threshold value (similarity is the first level), can judge and learn that these 10 personage's pictures are the picture (being the photo of first) with same characteristic features, and then the file 1(that these 10 personage's pictures can be stored in the mobile phone picture library specifically can be newly-built file or default file), when the user wants to browse the photo of first, direct opened file folder 1.In like manner, can pass through the calculating of the similarity of personage's picture, if judgement is learnt the picture of numbering 11-20 and the similarity of the picture of numbering 1 and reached the second predetermined threshold value (similarity is the second level), picture (photo of the second) classification of numbering 11-20 can be stored to the file 2 in the mobile phone picture library; If judgement is learnt the picture (third photo) of numbering 21-30 and the similarity of the picture of numbering 1 and reached the 3rd predetermined threshold value (similarity is the 3rd level), the picture classification of numbering 21-30 can be stored to the file 3 in the mobile phone picture library; If judgement is learnt the picture (third photo) of numbering 31-40 and the similarity of the picture of numbering 1 and is reached the 4th predetermined threshold value (similarity is the 4th level), the picture classification of numbering 31-40 can be stored to the file 4 in the mobile phone picture library, so analogize all people's thing picture is classified according to the different layers level of similarity and is stored to different picture-storage positions, the user can open the photo that corresponding file is browsed related person according to the demand of oneself.
S103, when on the memory location that gets the picture that similarity is the K level, instruction is adjusted in the classification of the first picture, according to described classification adjust instruction will described the first picture-storage the picture-storage position of corresponding level extremely.
At some in feasible embodiment, when mobile phone calculates the similarity of each personage's picture, may be because a certain pictures or the reason such as plurality of pictures is unintelligible or picture processing program is made mistakes, make the similarity judgement of picture make mistakes, thereby a certain pictures or plurality of pictures (i.e. the first picture) are stored to wrong memory location.For example, the user takes the photo of second and (for example numbers 11, 12 etc.) time, hand has been shaken and has been made photograph taking unintelligible, while perhaps taking, angle does not set the character facial None-identified made in photo, while perhaps taking, because having blocked face, the hair style of second make the photo of second the reason such as can't identify well, make photo to second carry out similarity while calculating, mistake (numbers 11 by the photo of second, the similarity of similarity 12) and the photo of first is judged to be similarity and reaches the first predetermined threshold value (similarity is the first level), and then by the photo storage of second to the memory location (file 1) of first, now, the photo of second (numbering 13-20) (numbers 11 with the photo of second, 12) similarity is judged as similarity and reaches the second predetermined threshold value.The user is when browsing photo, can find the photo of the middle second occurred in memory location (file 1) of the photo of first, now, the user needs 2 photos (numbering 11, the 12) adjustment of classifying to second, the memory location (file 2) by these 2 photo storage to the photo of second.In specific implementation, can preset the edit pattern that picture classification is adjusted, and set corresponding editing operation button (can comprise physical button, virtual key, slip button), sort out and stagger the time when the user finds that there is a certain or plurality of pictures (i.e. the first picture), can select to enter the edit pattern (can click or grow and enter by the picture of makeing mistakes) that picture classification is adjusted, and click corresponding editing operation button (comprising the slip mobile phone screen) to the adjustment of classifying of this picture, by this picture-storage to correct memory location.For example, when the user finds that the photo (numbering 11,12) of second stores the file of photo of first into, can select to enter the edit pattern that picture classification is adjusted, concrete, can click or long by this picture (photo of second (numbering 11,12)), enter into the picture classification adjustment modes, and selecting the classification that edit key that this picture is corresponding sends this picture to the embedded in mobile phone processing module to adjust instruction.The classification that the embedded in mobile phone processing module gets the photo (numbering 11,12) of second in file 1 can be adjusted this picture after adjusting instruction automatically, without the user, is manually adjusted.In specific implementation, glide direction when above-mentioned classification is adjusted instruction and be can be the terminal user and control the first picture and move, can be according to user's glide direction by picture-storage to corresponding memory location.Concrete, when instruction is adjusted in the classification that mobile phone gets on the storage folder of the picture that similarity is the K level or plurality of pictures, if while according to the classification adjustment instruction judgement got, learning that glide direction is first direction, for example above-mentioned one or plurality of pictures can be stored to similarity, than K level high-level (K-1 level, wherein the K level is than the low level of K-1 level) the picture-storage position, wherein, above-mentioned first direction can comprise and is parallel to the direction of mobile phone screen to the mobile phone top, perhaps being parallel to mobile phone screen waits to the right perpendicular to the mobile phone top.If judgement learns that glide direction is second direction, for example above-mentioned one or plurality of pictures can be stored to similarity, than K level low-level (K+1 level, wherein the K level is than the high level of K+1 level) the picture-storage position, wherein, above-mentioned second direction can comprise and be parallel to the direction of mobile phone screen to mobile phone end part, or is parallel to mobile phone screen and waits left perpendicular to the mobile phone top.For example, when personage's picture memory error, after instruction is adjusted in the classification that mobile phone gets the photo (numbering 11,12) of above-mentioned second, judgement learns that the slide glide direction of picture of user is above-mentioned second direction, this picture (photo of second (numbering 11,12)) can be stored to above-mentioned the second assigned address (file 2, memory location with the similarity of numbering 1 the picture picture that is the second level), carry out the manual classification adjustment without the user.In specific implementation, when instruction is adjusted in the classification that mobile phone gets on the storage folder of the picture that similarity is the K level or plurality of pictures, also can directly this pictures or plurality of pictures for example be stored to, than the memory location of the picture of the low level (or high level) of this similarity level, K+1 level (the K level is than the high level of K+1 level).In specific implementation, when personage's picture memory error, mobile phone gets the photo of above-mentioned second and (numbers 11, 12) after instruction is adjusted in classification, because the photo of second (numbers 11, the memory location of the photo that 12) current memory location the is first memory location of the similarity of numbering 1 the picture picture that is the first level (with), so when mobile phone gets above-mentioned numbering 11, after instruction is adjusted in the classification of 12 picture, can directly by this picture, (photo of second (numbers 11, 12)) be stored to above-mentioned the second assigned address (file 2, memory location with the similarity of numbering 1 the picture picture that is the second level), carry out the manual classification adjustment without the user.In addition, if the numbering 21 of the picture of memory error in above-mentioned file 1, during 22 third photo, to number 21 according to said method, 22 picture is adjusted to that the second assigned address (being file 2) is found afterwards or is wrong, the user can click again or long by this picture, (photo of second (numbers 11, 12)) enter into the picture classification adjustment modes, and select the edit key that this picture is corresponding to send the classification adjustment instruction of this picture to the embedded in mobile phone processing module, after mobile phone gets corresponding adjustment instruction, can be by numbering 21, 22 picture continues to move backward, be stored to the memory location (file 3) that reaches the picture (third photo) of the 3rd level with the similarity of numbering 1 picture.The like, the picture of picture-storage position memory error that can each similarity level is corresponding is adjusted, until by picture-storage to correct memory location.Concrete, when personage's picture memory error, need to classify while adjusting, after mobile phone gets the classification adjustment instruction of certain picture, representative picture list that also can the similarity level of picture is corresponding exports current user's browser interface to, the user can select a picture from this list, and the picture of memory error is adjusted to the picture-storage position that this picture is corresponding.Wherein, the similarity that above-mentioned representative picture is maximum pictures in Zhong Yugai memory location, the corresponding picture memory location of each similarity level reaches the picture of highest level, the list that the representative picture that above-mentioned representative picture list is each similarity level is rearranged according to the similarity hierarchic sequence with numbering 1.Be that the cellphone subscriber can directly select the picture (naked eyes judgement) the highest with the similarity of this picture according to the representative picture list, and the memory location of picture that will be the highest with the similarity of this picture is chosen to be target storage position, so by this picture-storage to this target storage position.
Personage's picture that the method for the picture classification described in the present embodiment can will be chosen according to the similarity of personage's picture from the mobile phone picture library is classified, personage's picture is classified according to different people object plane hole, facilitate the user to browse, search, and carry out the automatic classification adjustment sorting out the picture of classification being made mistakes according to the similarity between personage's picture of staggering the time, without the user, manually adjust, can reduce the workload that personage's picture classification and classification are adjusted, improve the regulated efficiency that reaches of personage's picture classification, improved the convenience of mobile phone user picture.
Referring to Fig. 2, it is the example structure schematic diagram of the terminal that provides of the embodiment of the present invention.Terminal described in the present embodiment comprises:
Determination module 20, have the reference picture of specific characteristic and the similarity of non-reference picture for determining, and described similarity be divided into to N level.
Sort module 30, for being stored to respectively different picture-storage positions by described non-reference picture according to the different layers level of similarity.
Adjusting module 40, while for the classification of the first picture on the memory location getting the picture that similarity is the K level, adjusting instruction, according to described classification adjust instruction will described the first picture-storage the picture-storage position of corresponding level extremely.
At some in feasible embodiment, the terminal (as Fig. 3) described in the present embodiment also comprises:
Choose module 10, for all pictures from the storage of terminal primary importance, choose the picture with specific characteristic.
At some in feasible embodiment, above-mentioned determination module 20 when determining the similarity of reference picture with specific characteristic and non-reference picture, specifically for:
According to the similarity of the character facial feature of the character facial feature of each the non-reference picture of character facial feature calculation in described each picture with specific characteristic and reference picture, the similarity of the character facial feature of comprehensive described each non-reference picture and described reference picture is determined the similarity of described each non-reference picture and described reference picture.
At some in feasible embodiment, it is the glide direction of described terminal user when controlling described the first picture and moving that instruction is adjusted in above-mentioned classification, above-mentioned adjusting module 40 adjust instruction according to described classification will described the first picture-storage extremely during the picture-storage position of corresponding level, specifically for:
When described glide direction is first direction, by described the first picture-storage to the picture-storage position of similarity than described K level high-level;
When described glide direction is second direction, by described the first picture-storage to the picture-storage position of similarity than described K level low-level.
At some in feasible embodiment, the picture that there is specific characteristic in the present embodiment can be include the picture of character facial feature, also can be the picture that comprises particular scene or picture of specific background etc.The character facial feature can comprise: character facial profile, character facial face etc.; Particular scene can be flower or other plant, animal or object, and the flower of take is example, comprises colored color, profile etc.
At some in feasible embodiment, terminal primary importance described in the present embodiment specifically can be the mobile phone picture library, the picture number of storing in user's mobile phone picture library is huger, when the kind of picture is many, when the user searches a certain individual in picture library or some people's photo, difficulty can be larger, want that all pictures of a certain individual are all found out to difficulty larger, so, in order to facilitate the cellphone subscriber to check a certain individual in mobile phone or some people's photo, can first from the mobile phone picture library, choose all people's thing picture, and the personage's picture that will choose is classified, and be stored in respectively different memory location (for example different file), the user can search the picture (photo) of corresponding file to browse related person according to the actual requirements.In specific implementation, specific characteristic described in the present embodiment is mainly the character facial feature, wherein, above-mentioned character facial feature can comprise: character facial profile, character facial face etc. can judge whether this picture is personage's picture by features such as identification personage's face mask or face.Concrete, can first by choosing module 10, choose personage's picture from the mobile phone picture library, concrete, choose module 10 and can pass through face recognition technology, choose the picture (the personage's picture that there is the character facial feature) with specific characteristic from all pictures of mobile phone picture library, and these pictures are separately deposited to designated storage location (such as new folder etc.).In specific implementation, personage's picture in the mobile phone picture library may comprise a plurality of personages' picture, for example, the photo that can comprise a plurality of people such as first, second, third, fourth, so mobile phone is by choosing after module 10 chosen personage's picture from all pictures of mobile phone picture library, also can further identify by face recognition technology, judge, personage's picture of choosing is classified, stored according to different personages.In specific implementation, choose the step S101 in the embodiment of method of the picture classification that specific implementation process that how module 10 to choose personage's picture from picture library can provide referring to the embodiment of the present invention, do not repeat them here.
At some in feasible embodiment, choose after module 10 chosen personage's picture from the mobile phone picture library, 20 of determination modules can calculate the similarity of each personage's picture in personage's picture of choosing, also can preset a plurality of (for example N, N is greater than 1 natural number) predetermined threshold value of similarity, and according to the predetermined threshold value of default similarity, similarity is divided into to N level, 30 of sort modules can by the similarity between picture by each personage's picture the different levels according to similarity, and be stored to respectively different memory locations.In specific implementation, when can calculating the similarity of each personage's picture that get by determination module 20, mobile phone can first from all people's thing picture, choose any one (any pictures that comprises designated person) as reference picture, according to the similarity of each character facial feature of character facial feature calculation of the character facial feature of reference picture and other personage's pictures (being each non-reference picture), then the similarity of comprehensive each character facial feature is determined the similarity of reference picture and each non-reference picture.Wherein, the similarity of above-mentioned character facial feature can comprise: the similarity of the similarity of the ratio of character facial profile, character facial face shape, size, ratio etc., for example, distance between two of personages, the height of nose, width, the degree of depth of eye socket, the height of cheekbone, the similarity of each character facial features such as profile of lower jaw and lower jaw.For example, determination module 20 can preset the predetermined threshold value of a plurality of personage's picture similarities, and to take any pictures in all personage's pictures be reference, calculate the similarity of other personage's pictures and this picture, 30 of sort modules can will reach with the similarity of this picture all personage's picture-storage to the first assigned addresses (can by this picture also default storage to this first assigned address) of the first predetermined threshold value (being assumed to be the value that similarity is the highest) according to the result of calculation of similarity, to reach with the similarity of this picture all personage's picture-storage to the K assigned addresses of K predetermined threshold value, wherein, K is the natural number that is less than N, the similarity that can set the first predetermined threshold value in the predetermined threshold value of similarity is the highest, the similarity of N predetermined threshold value is minimum, sort descending like this.Concrete, above-mentioned the first assigned address to the K assigned address can be concrete some or a plurality of files.For example, choose personage's picture that module 10 obtains from the mobile phone picture library and altogether have 40,10, photo (being assumed to be numbering 1-10) comprising first, 10, the photo of second (being assumed to be numbering 11-20), 10, third photo (being assumed to be numbering 21-30), 10, the photo of fourth (being assumed to be numbering 31-40).Mobile phone is by choosing after module 10 gets these personage's pictures, can take by determination module 20 that to number 1 picture be reference, calculates the similarity of other personage's pictures and this picture, and then by sort module 30, these personage's pictures sorted out.If sort module 30 judgements learn that 9 personage's pictures of numbering 2-10 and the similarity of this picture reach above-mentioned the first predetermined threshold value (similarity is the first level), can judge and learn that these 10 personage's pictures are the picture (being the photo of first) with same characteristic features, and then the file 1(that these 10 personage's pictures can be stored in the mobile phone picture library specifically can be newly-built file or default file), when the user wants to browse the photo of first, direct opened file folder 1.In like manner, sort module 30 is by the judgement of the similarity of personage's picture, if judgement is learnt the picture of numbering 11-20 and the similarity of the picture of numbering 1 and reached the second predetermined threshold value (similarity is the second level), picture (photo of the second) classification of numbering 11-20 can be stored to the file 2 in the mobile phone picture library; If judgement is learnt the picture (third photo) of numbering 21-30 and the similarity of the picture of numbering 1 and reached the 3rd predetermined threshold value (similarity is the 3rd level), the picture classification of numbering 21-30 can be stored to the file 3 in the mobile phone picture library; If judgement is learnt the picture (third photo) of numbering 31-40 and the similarity of the picture of numbering 1 and is reached the 4th predetermined threshold value (similarity is the 4th level), the picture classification of numbering 31-40 can be stored to the file 4 in the mobile phone picture library, so analogize all people's thing picture is classified according to the different layers level of similarity and is stored to different picture-storage positions, the user can open the photo that corresponding file is browsed related person according to the demand of oneself.In specific implementation, determination module how to the similarity of choosing personage's picture that module chooses from picture library counted, how sort module to the step S101-S102 in the embodiment of the method for choosing the picture classification that specific implementation process that personage's picture that module chooses from picture library classified can provide referring to the embodiment of the present invention, do not repeat them here.
At some in feasible embodiment, when determination module 20 calculates the similarity of each personage's picture, may be because a certain pictures or the reason such as plurality of pictures is unintelligible or picture processing program is made mistakes, make the similarity judgement of picture make mistakes, thereby a certain pictures or plurality of pictures (i.e. the first picture) are stored to wrong memory location.For example, the user takes the photo of second and (for example numbers 11, 12 etc.) time, hand has been shaken and has been made photograph taking unintelligible, while perhaps taking, angle does not set the character facial None-identified made in photo, while perhaps taking, because having blocked face, the hair style of second make the photo of second the reason such as can't identify well, make the photo of 20 pairs of second of determination module carry out similarity while calculating, mistake (numbers 11 by the photo of second, the similarity of similarity 12) and the photo of first is judged to be similarity and reaches the first predetermined threshold value (similarity is the first level), make sort module 30 by the photo storage of second to the memory location (file 1) of first, now, the photo of second (numbering 13-20) (numbers 11 with the photo of second, 12) similarity is judged as similarity and reaches the second predetermined threshold value.The user is when browsing photo, can find the photo of the middle second occurred in memory location (file 1) of the photo of first, now, the user needs 2 photos (numbering 11, the 12) adjustment of classifying to second, the memory location (file 2) by these 2 photo storage to the photo of second.In specific implementation, the memory location of the picture that mobile phone can be made mistakes by 30 classification of 40 pairs of sort modules of adjusting module is adjusted, concrete, adjusting module 40 can preset the edit pattern that picture classification is adjusted, and set corresponding editing operation button and (can comprise physical button, virtual key, the slip button), sort out and stagger the time when the user finds that there is a certain or plurality of pictures (i.e. first personage's picture), can select to enter the edit pattern (can click or grow and enter by the picture of makeing mistakes) that picture classification is adjusted, and click corresponding editing operation button (comprising the slip mobile phone screen) to the adjustment of classifying of this picture, by this picture-storage to correct memory location.For example, when the user finds that the photo (numbering 11,12) of second stores the file of photo of first into, can select to enter the edit pattern that picture classification is adjusted, concrete, can click or long by this picture (photo of second (numbering 11,12)), enter into the picture classification adjustment modes, and selecting the classification that edit key that this picture is corresponding sends this picture to the embedded in mobile phone processing module to adjust instruction.The classification that adjusting module 40 gets the photo (numbering 11,12) of second in file 1 can be adjusted this picture after adjusting instruction automatically, without the user, is manually adjusted.In specific implementation, glide direction when above-mentioned classification is adjusted instruction and be can be the terminal user and control the first picture and move, can be according to user's glide direction by picture-storage to corresponding memory location.Concrete, when instruction is adjusted in the classification that the adjusting module 40 of mobile phone gets on the storage folder of the picture that similarity is the K level or plurality of pictures, if while according to the classification adjustment instruction judgement got, learning that glide direction is first direction, for example above-mentioned one or plurality of pictures can be stored to similarity, than K level high-level (K-1 level, wherein the K level is than the low level of K-1 level) the picture-storage position, wherein, above-mentioned first direction can comprise and is parallel to the direction of mobile phone screen to the mobile phone top, perhaps being parallel to mobile phone screen waits to the right perpendicular to the mobile phone top.If judgement learns that glide direction is second direction, for example above-mentioned one or plurality of pictures can be stored to similarity, than K level low-level (K+1 level, wherein the K level is than the high level of K+1 level) the picture-storage position, wherein, above-mentioned second direction can comprise and be parallel to the direction of mobile phone screen to mobile phone end part, or is parallel to mobile phone screen and waits left perpendicular to the mobile phone top.For example, when 30 pairs of personage's pictures of sort module are classified memory error, the classification that adjusting module 40 gets the photo (numbering 11,12) of above-mentioned second is adjusted judgement after instruction and is learnt that the slide glide direction of picture of user is above-mentioned first direction, this picture (photo of second (numbering 11,12)) can be stored to above-mentioned the second assigned address (file 2, memory location with the similarity of numbering 1 the picture picture that is the second level), carry out the manual classification adjustment without the user.In specific implementation, when instruction is adjusted in the classification that mobile phone gets on the storage folder of the picture that similarity is the K level or plurality of pictures, also can directly this pictures or plurality of pictures for example be stored to, than the memory location of the picture of the low level (or high level) of this similarity level, K+1 level (the K level is than the high level of K+1 level).In specific implementation, when 30 pairs of personage's pictures of sort module are classified memory error, adjusting module 40 gets the photo of above-mentioned second and (numbers 11, 12) after instruction is adjusted in classification, because the photo of second (numbers 11, the memory location of the photo that 12) current memory location the is first memory location of the similarity of numbering 1 the picture picture that is the first level (with), so when adjusting module 40 gets above-mentioned numbering 11, after instruction is adjusted in the classification of 12 picture, can directly by this picture, (photo of second (numbers 11, 12)) be stored to above-mentioned the second assigned address (file 2, memory location with the similarity of numbering 1 the picture picture that is the second level), carry out the manual classification adjustment without the user.In addition, if the numbering 21 of the picture of memory error in above-mentioned file 1, during 22 third photo, adjusting module 40 will number 21, 22 picture is adjusted to the second assigned address (being file 2) user's discovery afterwards or mistake, can again click or long by this picture, (photo of second (numbers 11, 12)) enter into the picture classification adjustment modes, and select the edit key that this picture is corresponding to send the classification adjustment instruction of this picture to the embedded in mobile phone processing module, after the adjusting module 40 of mobile phone gets corresponding adjustment instruction, can be by numbering 21, 22 picture continues to move backward, be stored to the memory location (file 3) that reaches the picture (third photo) of the 3rd level with the similarity of numbering 1 picture.The like, the picture of picture-storage position memory error that can each similarity level is corresponding is adjusted, until by picture-storage to correct memory location.Concrete, when personage's picture memory error, need to classify while adjusting, after adjusting module 40 gets the classification adjustment instruction of certain picture, representative picture list that also can the similarity level of picture is corresponding exports current user's browser interface to, the user can select a picture from this list, and the picture that 40 of adjusting modules can be selected according to the user also is adjusted to by the picture of memory error the picture-storage position that this picture is corresponding.Wherein, the similarity that above-mentioned representative picture is maximum pictures in Zhong Yugai memory location, the corresponding picture memory location of each similarity level reaches the picture of highest level, the list that the representative picture that above-mentioned representative picture list is each similarity level is rearranged according to the similarity hierarchic sequence with numbering 1.Be that the cellphone subscriber can directly select the picture (naked eyes judgement) the highest with the similarity of this picture according to the representative picture list, and the memory location of picture that will be the highest with the similarity of this picture by adjusting module 40 is chosen to be target storage position, so by this picture-storage to this target storage position.In specific implementation, the step S103 in the embodiment of the method for the picture classification that the specific implementation process how adjusting module is adjusted the memory location of the personage's picture after sort module classification storage can provide referring to the embodiment of the present invention, do not repeat them here.
Personage's picture that described in the present embodiment, terminal can will be chosen according to the similarity of personage's picture from the mobile phone picture library is classified, personage's picture is classified according to different people object plane hole, facilitate the user to browse, search, and carry out the automatic classification adjustment sorting out the picture of classification being made mistakes according to the similarity between personage's picture of staggering the time, without the user, manually adjust, can reduce the workload that personage's picture classification and classification are adjusted, improve the regulated efficiency that reaches of personage's picture classification, improved the convenience of mobile phone user picture.
Step in embodiment of the present invention method can be carried out according to actual needs order and adjusted, merges and delete.
Module in embodiment of the present invention device or unit can be merged according to actual needs, divided and be deleted.
Module or unit in all embodiment of the present invention, can pass through universal integrated circuit, CPU(Central Processing Unit for example, central processing unit), or realize by ASIC (Application Specific Integrated Circuit, special IC).
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, to come the hardware that instruction is relevant to complete by computer program, described program can be stored in computer read/write memory medium, this program, when carrying out, can comprise the flow process as the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosed is only preferred embodiment of the present invention, certainly can not limit with this interest field of the present invention, and the equivalent variations of therefore doing according to the claims in the present invention, still belong to the scope that the present invention is contained.