CN104954688B - Image processing method and image processing apparatus - Google Patents

Image processing method and image processing apparatus Download PDF

Info

Publication number
CN104954688B
CN104954688B CN201510366871.XA CN201510366871A CN104954688B CN 104954688 B CN104954688 B CN 104954688B CN 201510366871 A CN201510366871 A CN 201510366871A CN 104954688 B CN104954688 B CN 104954688B
Authority
CN
China
Prior art keywords
image
parameter information
unit
focus point
information
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.)
Active
Application number
CN201510366871.XA
Other languages
Chinese (zh)
Other versions
CN104954688A (en
Inventor
李可巍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510366871.XA priority Critical patent/CN104954688B/en
Publication of CN104954688A publication Critical patent/CN104954688A/en
Application granted granted Critical
Publication of CN104954688B publication Critical patent/CN104954688B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Analysis (AREA)
  • Studio Devices (AREA)

Abstract

The present invention provides a kind of image processing method, method is applied to electronic equipment, and electronic equipment includes at least can be to acquire the image acquisition units of image, and method includes: that image acquisition units is utilized to acquire the first image;Obtain the first parameter information of the image acquisition units when acquiring the first image;Image procossing is carried out to generate the second image to the first image according to the first parameter information, the second image is for identifying the first image.The thumbnail that the present invention makes contains the core feature of image, facilitates lookup of the user to image.

Description

Image processing method and image processing apparatus
Technical field
The present invention relates to the image processing methods and image processing apparatus that are applied to electronic equipment.
Background technique
Currently, universal with digital camera or mobile terminal, photograph becomes increasingly to facilitate, and user can be whenever and wherever possible It just takes pictures, thus generates the photo of magnanimity in digital camera or mobile terminal, how to be found in magnanimity photo desired Photo, what the prior art was realized generally by photograph taking time and photo thumbnail.
However, the thumbnail of picture is all again by picture sheet since the screen size of digital camera or mobile terminal is smaller Body is scaled to be obtained, and when picture file is excessive in file, the display size of each thumbnail becomes very small, several Content therein is not seen, user is difficult to quickly find picture itself by thumbnail.
Summary of the invention
The embodiment of the present invention is designed to provide at a kind of image processing method and image applied to electronic equipment Device is managed, to solve the above technical problems.
According to one embodiment of present invention, a kind of image processing method is provided, method is applied to electronic equipment, electronics Equipment includes at least can be to acquire the image acquisition units of image, and method includes: to utilize image acquisition units acquisition first Image;Obtain the first parameter information of the image acquisition units when acquiring the first image;According to the first parameter information to the first figure As carrying out image procossing to generate the second image, the second image is for identifying the first image.
According to another embodiment of the invention, a kind of image processing apparatus is provided, device is applied to electronic equipment, electricity Sub- equipment includes at least can be to acquire the image acquisition units of image, and device includes: the first image acquisition units, for benefit The first image is acquired with image acquisition units;First parameter information acquiring unit, for obtaining the image when acquiring the first image First parameter information of acquisition unit;Second image generation unit, for carrying out figure to the first image according to the first parameter information As processing to generate the second image, the second image is for identifying the first image.
Acquisition parameter information when the present invention is according to acquisition image, handles the image of acquisition, should with production mark The thumbnail for acquiring image, can facilitate use by the thumbnail of acquisition, the core feature of very clear image using user Lookup of the family to image.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, making below by required in the description to embodiment Attached drawing is briefly described.The accompanying drawings in the following description is only exemplary embodiment of the present invention.
Fig. 1 is image processing method flow chart according to first embodiment of the invention;
Fig. 2 is the exemplary block diagram of the image processing apparatus of second embodiment according to the present invention.
Photo preview schematic diagram when Fig. 3 is focusing according to an embodiment of the present invention shooting;
Fig. 4 a-4c is the first thumbnail acquisition modes schematic diagram according to an embodiment of the present invention;
Fig. 5 a-5b is second of thumbnail acquisition modes schematic diagram according to an embodiment of the present invention;
Fig. 6 a-6b is the third thumbnail acquisition modes schematic diagram according to an embodiment of the present invention;
Specific embodiment
Hereinafter, by preferred embodiments of the present invention will be described in detail with reference to the annexed drawings.Note that in the specification and drawings In, there is substantially the same step and element to be denoted by the same reference numerals, and to the repetition solution of these steps and element Releasing will be omitted.
In following embodiment of the invention, electronic equipment refers to the equipment that can be communicated with other equipment.Electronics is set Standby concrete form includes but is not limited to mobile phone, personal computer, digital camera, personal digital assistant, portable computing Machine, game machine etc..
Fig. 1 describes the flow chart of image processing method 100 according to an embodiment of the invention.Below with reference to figure 1 describes the image processing method of one embodiment of the present of invention.Image processing method 100 can be applied to above-mentioned electronics and set Standby, which can be configured to that image is shown and handled.Wherein, electronic equipment include at least can be to adopt Collect the image acquisition units of image.For example, camera, scanner etc..
Referring to Fig. 1, in step s101, the first image is acquired using image acquisition units.In step s 102, it obtains First parameter information of image acquisition units when acquiring the first image.An example according to the present invention, using on electronic equipment Camera carry out the first image acquisition, later, further obtain acquisition the first image when image acquisition units parameter letter Breath.For example, the first parameter information may include, pair of image resolution ratio, picture size, image acquisition units when Image Acquisition Focus, etc..Wherein, focus point includes manual focus point or auto-focusing point.
An example according to the present invention, the in order to obtain relationship between focus point and the first image of acquisition, Ke Yi When getting the first image of acquisition after the focus point of image acquisition units, further obtains the image focus point and be mapped to first Coordinate position in image.Photo preview schematic diagram when Fig. 3 is focusing according to an embodiment of the present invention shooting.Referring to Fig. 3, when with When family manual focus or image acquisition units auto-focusing, focus frame can be automatically formed according to the position electronic equipment of focus point 310.An example according to the present invention, when focus point is manual focus point, the available user of image acquisition units is chosen Finger touches the coordinate value (X, Y) at screen when focus.When focus point is auto-focusing point, obtains camera and choose focus automatically Central point coordinate value position (X, Y).Above-mentioned coordinate value position for example can be the center position of focus frame 310.To After one Image Acquisition, at the corresponding pixel value position (M, N) of the image file which is corresponded to acquisition, since image is adopted The screen size for collecting unit is proportional to next photo size is shot, therefore according to formula X/Y=M/N, by above-mentioned focus point The coordinate position being mapped in the first image.
Other examples according to the present invention, the acquiring way of the other parameters information such as image resolution ratio, picture size have more Kind.For example, the current setting parameter of electronic equipment can be read directly, the first image of acquisition identify It arrives.
In step s 103, image procossing is carried out to the first image to generate the second image according to the first parameter information, the Two images are for identifying the first image.An example according to the present invention, the second image can be the first image thumbnail or It can be identified for that other images of the first image.Since the corresponding information of the focus point of camera is often the core information in image (core information generally refers to be able to reflect image main contents, feature, the information of attribute) and user wish the important of intake Image information near focus point is extracted production thumbnail by information, and family can be used and understand rapidly in the core of picture Appearance and important information.Therefore, an example according to the present invention, when according to the example in step S102, electronic equipment is got When focus point when acquiring the first image is mapped to the coordinate position in the first image, in step s 103, to the first image packet The content for including the presumptive area of coordinate position is handled, to generate the second image as the thumbnail of the first image.Fig. 4 a-4c It is the schematic diagram that thumbnail is obtained according to focus point.Wherein, Fig. 4 a is photo of the user in the big tree of shooting, Fig. 4 b and Fig. 4 c It is the thumbnail obtained using focus point by two ways respectively.
It specifically, include focus frame 410 in Fig. 4 a, which for example may include position at its center Manual focus point or auto-focusing point.In order to the focus point acquisition of information thumbnail, an example according to the present invention can be with The content of presumptive area in first image shown in Fig. 4 a centered on 410 center of focus frame is cut out to come, thus Obtain thumbnail Fig. 4 b of the first image.B can be seen that the thumbnail thus made and not only contain the first image referring to fig. 4 Core information, moreover, this kind of thumbnail acquisition algorithm is also simple and efficient.Another example according to the present invention, can also be right Image procossing further is carried out to its marginal information or overall effect after the content shearing of presumptive area.For example, being outlined, repairing Decorations be blurred to edge etc., to generate complete beautiful thumbnail.A-4b referring to fig. 4 obtains the mistake of image thumbnails Journey can be, and when shooting big tree Image, user has carried out manual focus, and focus is directed at the upper left side great Shu, then, in step Electronic equipment gets focus point when user shoots the photo in S102, and obtains the coordinate value that focus point is mapped in photo Later, in step s 103, electronic equipment can centered on coordinate value, account for photo length and width 1/5th respectively Content, which is cut out, to be come, and the thumbnail after being modified edge, being outlined as the photo, to obtain Fig. 4 b.
Above-mentioned example, which is described, to be handled image centered on focus point to obtain thumbnail, although containing image Core information, it is likely that obtaining that thumbnail is imperfect, for example, being only a part of shooting set greatly in Fig. 4 b.Therefore, root It, can also be using the focus point information of the image acquisition units obtained in step S102, to the according to another example of the invention One image carries out image recognition, generates thumbnail using the image information identified.For example, corresponding to the first image to focus point On position identified, the image to identify the presumptive area centered on focus point, using the obtained image of identification as The thumbnail of first image.For example, with reference to Fig. 4 c, after user takes pictures to big tree, can choose centered on focus point Region identified that identification obtains complete big tree, and using the complete big tree Image as thumbnail.Compare Fig. 4 b and figure It is more complete that 4c can be seen that the thumbnail image obtained by identification, more can accurate response go out the theme of the first image.
Although above-mentioned example, which only describes to handle the first image, obtains the several method of the second image, this hair It is bright without being limited thereto, for example, above-mentioned processing method can also be applied in combination.For example, on the basis of being identified to the first image, After the core content for obtaining the first image, then sheared or modified, etc..
In addition, an example according to the present invention, presumptive area can be preset according to user preferences.For example, can To set presumptive area as 1/10th of the length and width for accounting for the first image centered on coordinate position arrive one third.It can also To carry out image recognition to the presumptive area for including coordinate position, using the region comprising identifying obtained complete object as predetermined Region.
Another example according to the present invention, if do not got when obtaining the first parameter information in step s 102 pair The coordinate position of corresponding first image of focus.That is, if user does not have when carrying out Image Acquisition using electronic equipment When manual focus or image acquisition units do not have auto-focusing yet, the object for occupying predetermined ratio in the first image can be identified Body generates the second image using the image information of object.Fig. 5 a-5b is to obtain predetermined ratio object when not having focus point and make For the schematic diagram of thumbnail.Wherein, Fig. 5 a is the photo shot to teacup, and Fig. 5 b is the thumbnail of Fig. 5 a.It is above-mentioned The object of predetermined ratio generally can be biggish object in photo, for example, face, portrait, animal, microshot flower, The object as prospect such as teacup.It can be selected and be preset according to user, for example, proportion is greater than the ten of the first image / mono-.It should be noted that background image common in scene can be excluded in advance when larger object in identifying image, For example, sky, meadow etc..Although occupying the larger proportion of image usually as sky, the meadow etc. of background, it is frequently not The key area of user's shooting, it is therefore desirable to exclude in advance.
An example according to the present invention, the identification to the object of predetermined ratio, it is possible, firstly, to know to the first image First area not to determine the first objects in images.For example, can identify that the approximate region comprising predetermined object is made in advance For first area.Then, according to pixel chromaticity distributed intelligence in the first image, the edge pixel of object in the first region is determined Point.That is, being distributed according to pixel chromaticity, the edge pixel point of object is further accurately determined.Due to the coloration of object Distribution is usually successional, therefore by pixel chromaticity distributed intelligence, can accurately find the edge and other content of object Separation, to accurately identify object.Finally, whether the size or ratio of judgment object are greater than a preset threshold, such as Fruit is greater than, it is determined that object is the object for occupying predetermined ratio in the first image.By threshold decision, can determine has centainly The object of area or ratio, as thumbnail.For example, with reference to Fig. 5 a, if the first image is the figure shot to teacupful Picture, and when shooting teacup, user does not have manual focus, and image acquisition units are also without auto-focusing, at this point, electronic equipment The photo can be identified, wherein to be occupied the object of predetermined ratio, i.e. teacup, to obtain Fig. 5 b as Fig. 5 a Thumbnail.In identification process, firstly, first determining the approximate region comprising teacup as first area.Then, further root The edge pixel point of teacup is determined according to pixel chromaticity distribution in photo.Finally, the teacup identified whether be greater than it is pre- Certainty ratio, such as, if 1/5th long and/or wide greater than photo are somebody's turn to do if it is greater, then will identify that the teacup come is used as The thumbnail of photo.
In addition, another example according to the present invention, when the size of object or ratio are less than preset threshold, first is utilized Presumptive area content information generates the second image among image.That is, there is no focus point when if acquiring the first image, There is no the object of larger proportion, then the first image intermediate region content can be used at this time and generate thumbnail.Fig. 6 a-6b is image In when being not greater than the object of predetermined ratio, the acquisition modes schematic diagram of thumbnail.Wherein, Fig. 6 a is that user utilizes electronic equipment The landscape image of shooting, Fig. 6 b are the thumbnails generated according to Fig. 6 a.
An example according to the present invention, can be by centered on image center, the first image length and/or wide five / mono- to being used as thumbnail after the image cut of half.For example, with reference to Fig. 6 a, after user identifies the image, If the object identified, for example, the house on the picture left side or big tree, size are small less than preset ratio, such as long and/or width In the first image length and/or wide 1/5th, then it cannot be used as thumbnail therefore can be with the photograph in the house or big tree Centered on piece central point, the length of the first image and 1/5th wide Partial Shear are come out, i.e. Fig. 6 b, the breviary as photo Figure.
The embodiment of the present invention is realized different thumbnail generation strategies, is effectively obtained according to the different situations of the image of acquisition The core information for having taken image, avoiding existing thumbnail cannot prepare to express the defect of image main contents.Through the invention The thumbnail for the method production that embodiment provides can be used family and be quickly found out oneself desired image, convenient for users, Improve user experience.
Fig. 2 describes the exemplary framework figure of the image processing apparatus 200 of second embodiment according to the present invention.It will ginseng The image processing apparatus of second embodiment of the invention is described according to Fig. 2.Image processing apparatus 200 is and image processing method 100 corresponding functional modules are only briefly described below in order to illustrate the brief introduction of book.Image processing apparatus 200 can be applied to Above-mentioned electronic equipment, the electronic equipment can be configured to that image is shown and handled.Wherein, electronic equipment includes at least It can be to acquire the image acquisition units of image.For example, camera, scanner etc..
Referring to fig. 2, image processing apparatus 200 includes: the first image acquisition units 201, the first parameter information acquiring unit 202, the second image generation unit 203.First image acquisition units 201 acquire the first image using image acquisition units.First Parameter information acquiring unit 202 obtains the first parameter information of the image acquisition units when acquiring the first image.According to the present invention An example, utilize camera on electronic equipment to carry out the acquisition of the first image, later, further obtain the first figure of acquisition As when image acquisition units parameter information.For example, the first parameter information may include, image resolution ratio when Image Acquisition, Picture size, focus point of image acquisition units, etc..Wherein, focus point includes manual focus point or auto-focusing point.
An example according to the present invention, the in order to obtain relationship between focus point and the first image of acquisition, Ke Yi When getting the first image of acquisition after the focus point of image acquisition units, further obtains the image focus point and be mapped to first Coordinate position in image.Photo preview schematic diagram when Fig. 3 is focusing according to an embodiment of the present invention shooting.Referring to Fig. 3, when with When family manual focus or image acquisition units auto-focusing, focus frame can be automatically formed according to the position electronic equipment of focus point 310.An example according to the present invention, when focus point is manual focus point, the available user of image acquisition units is chosen Finger touches the coordinate value (X, Y) at screen when focus.When focus point is auto-focusing point, obtains camera and choose focus automatically Central point coordinate value position (X, Y).Above-mentioned coordinate value position for example can be the center position of focus frame 310.To After one Image Acquisition, at the corresponding pixel value position (M, N) of the image file which is corresponded to acquisition, since image is adopted The screen size for collecting unit is proportional to next photo size is shot, therefore according to formula X/Y=M/N, by above-mentioned focus point The coordinate position being mapped in the first image.
Other examples according to the present invention, the acquiring way of the other parameters information such as image resolution ratio, picture size have more Kind.For example, the current setting parameter of electronic equipment can be read directly, the first image of acquisition identify It arrives.
Second image generation unit 203 carries out image procossing to the first image according to the first parameter information to generate second Image, the second image is for identifying the first image.An example according to the present invention, the second image can be the contracting of the first image Sketch map or other images that can be identified for that the first image.Since the corresponding information of the focus point of camera is often the core in image Information (core information generally refers to be able to reflect image main contents, feature, the information of attribute) and user wish intake Image information near focus point is extracted production thumbnail by important information, and the core that family understands rapidly picture can be used Intracardiac appearance and important information.Therefore, an example according to the present invention, the example in the first parameter information acquiring unit 202, When focus point when electronic equipment gets the first image of acquisition is mapped to the coordinate position in the first image, the second image is generated Unit 203, the content for including the presumptive area of coordinate position to the first image are handled, to generate the second image as first The thumbnail of image.Fig. 4 a-4c is the schematic diagram that thumbnail is obtained according to focus point.Wherein, Fig. 4 a is that user is big in shooting Photo when tree, Fig. 4 b and Fig. 4 c are the thumbnail obtained using focus point by two ways respectively.
It specifically, include focus frame 410 in Fig. 4 a, which for example may include position at its center Manual focus point or auto-focusing point.In order to the focus point acquisition of information thumbnail, an example according to the present invention can be with The content of presumptive area in first image shown in Fig. 4 a centered on 410 center of focus frame is cut out to come, thus Obtain thumbnail Fig. 4 b of the first image.B can be seen that the thumbnail thus made and not only contain the first image referring to fig. 4 Core information, moreover, this kind of thumbnail acquisition algorithm is also simple and efficient.Another example according to the present invention, can also be right Image procossing further is carried out to its marginal information or overall effect after the content shearing of presumptive area.For example, being outlined, repairing Decorations be blurred to edge etc., to generate complete beautiful thumbnail.A-4b referring to fig. 4 obtains the mistake of image thumbnails Journey can be, and when shooting big tree Image, user has carried out manual focus, and focus is directed at the upper left side great Shu, then, the first parameter Information acquisition unit 202 gets focus point when user shoots the photo, and obtains the coordinate that focus point is mapped in photo After value, second image generation unit 203 can centered on coordinate value, account for photo length and width 1/5th respectively Content, which is cut out, to be come, and the thumbnail after being modified edge, being outlined as the photo, to obtain Fig. 4 b.
Above-mentioned example, which is described, to be handled image centered on focus point to obtain thumbnail, although containing image Core information, it is likely that obtaining that thumbnail is imperfect, for example, being only a part of shooting set greatly in Fig. 4 b.Therefore, root According to another example of the invention, pair for the image acquisition units that can also be obtained using the first parameter information acquiring unit 202 Focus information, carries out image recognition to the first image, generates thumbnail using the image information identified.For example, to focus point The position corresponded on the first image is identified that the image to identify the presumptive area centered on focus point will identify Thumbnail of the obtained image as the first image.For example, with reference to Fig. 4 c, after user takes pictures to big tree, can choose Region centered on focus point is identified that identification obtains complete big tree, and using the complete big tree Image as breviary Figure.Compare Fig. 4 b and Fig. 4 c can be seen that by identification obtain thumbnail image it is more complete, more can accurate response go out the first figure The theme of picture.
Although above-mentioned example, which only describes to handle the first image, obtains the several method of the second image, this hair It is bright without being limited thereto, for example, above-mentioned processing method can also be applied in combination.For example, on the basis of being identified to the first image, After the core content for obtaining the first image, then sheared or modified, etc..
In addition, an example according to the present invention, presumptive area can be preset according to user preferences.For example, can To set presumptive area as 1/10th of the length and width for accounting for the first image centered on coordinate position arrive one third.It can also To carry out image recognition to the presumptive area for including coordinate position, using the region comprising identifying obtained complete object as predetermined Region.
Another example according to the present invention, if the first parameter information acquiring unit 202 obtains the first parameter information The coordinate position of corresponding first image of focus point is not got.That is, if user is carrying out figure using electronic equipment When as acquisition, when no manual focus or image acquisition units do not have auto-focusing yet, it can identify and occupy in the first image The object of predetermined ratio generates the second image using the image information of object.Fig. 5 a-5b is obtained pre- when not having focus point Schematic diagram of the certainty ratio object as thumbnail.Wherein, Fig. 5 a is the photo shot to teacup, and Fig. 5 b is Fig. 5 a Thumbnail.The object of above-mentioned predetermined ratio generally can be biggish object in photo, such as face, portrait, animal, microspur The object as prospect such as flower, teacup of shooting.It can be selected and be preset according to user, for example, proportion is greater than / 10th of first image.It should be noted that can be excluded in advance common in scene when larger object in identifying image Background image, for example, sky, meadow etc..Although occupying the larger proportion of image usually as sky, the meadow etc. of background, But it is frequently not the key area of user's shooting, it is therefore desirable to be excluded in advance.
An example according to the present invention, the identification to the object of predetermined ratio, it is possible, firstly, to know to the first image First area not to determine the first objects in images.For example, can identify that the approximate region comprising predetermined object is made in advance For first area.Then, according to pixel chromaticity distributed intelligence in the first image, the edge pixel of object in the first region is determined Point.That is, being distributed according to pixel chromaticity, the edge pixel point of object is further accurately determined.Due to the coloration of object Distribution is usually successional, therefore by pixel chromaticity distributed intelligence, can accurately find the edge and other content of object Separation, to accurately identify object.Finally, whether the size or ratio of judgment object are greater than a preset threshold, such as Fruit is greater than, it is determined that object is the object for occupying predetermined ratio in the first image.By threshold decision, can determine has centainly The object of area or ratio, as thumbnail.For example, with reference to Fig. 5 a, if the first image is the figure shot to teacupful Picture, and when shooting teacup, user does not have manual focus, and image acquisition units are also without auto-focusing, at this point, electronic equipment The photo can be identified, wherein to be occupied the object of predetermined ratio, i.e. teacup, to obtain Fig. 5 b as Fig. 5 a Thumbnail.In identification process, firstly, first determining the approximate region comprising teacup as first area.Then, further root The edge pixel point of teacup is determined according to pixel chromaticity distribution in photo.Finally, the teacup identified whether be greater than it is pre- Certainty ratio, such as, if 1/5th long and/or wide greater than photo are somebody's turn to do if it is greater, then will identify that the teacup come is used as The thumbnail of photo.
In addition, another example according to the present invention, when the size of object or ratio are less than preset threshold, first is utilized Presumptive area content information generates the second image among image.That is, there is no focus point when if acquiring the first image, There is no the object of larger proportion, then the first image intermediate region content can be used at this time and generate thumbnail.Fig. 6 a-6b is image In when being not greater than the object of predetermined ratio, the acquisition modes schematic diagram of thumbnail.Wherein, Fig. 6 a is that user utilizes electronic equipment The landscape image of shooting, Fig. 6 b are the thumbnails generated according to Fig. 6 a.
An example according to the present invention, can be by centered on image center, the first image length and/or wide five / mono- to being used as thumbnail after the image cut of half.For example, with reference to Fig. 6 a, after user identifies the image, If the object identified, for example, the house on the picture left side or big tree, size are small less than preset ratio, such as long and/or width In the first image length and/or wide 1/5th, then it cannot be used as thumbnail therefore can be with the photograph in the house or big tree Centered on piece central point, the length of the first image and 1/5th wide Partial Shear are come out, i.e. Fig. 6 b, the breviary as photo Figure.
The embodiment of the present invention is realized different thumbnail generation strategies, is effectively obtained according to the different situations of the image of acquisition The core information for having taken image, avoiding existing thumbnail cannot prepare to express the defect of image main contents.Through the invention The thumbnail for the method production that embodiment provides can be used family and be quickly found out oneself desired image, convenient for users, Improve user experience.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two.And software module can be set In any form of computer storage medium.In order to clearly illustrate the interchangeability of hardware and software, in the above description Each exemplary composition and step are generally described according to function.These functions are come actually with hardware or software mode It executes, specific application and design constraint depending on technical solution.Those skilled in the art can specifically answer each For using different methods to achieve the described function, but such implementation should not be considered as beyond the scope of the present invention.
Various repair is carried out to the present invention it should be appreciated by those skilled in the art that can be dependent on design requirement and other factors Change, combine, partially combining and replacing, as long as they are in the range of the appended claims and its equivalent.

Claims (12)

1. a kind of image processing method, the method is applied to electronic equipment, and the electronic equipment includes at least can be to adopt Collect the image acquisition units of image, which comprises
The first image is acquired using described image acquisition unit;
Obtain the first parameter information of the described image acquisition unit when acquiring the first image;
Image procossing is carried out to generate the second image, second image to the first image according to first parameter information For identifying the first image;
Wherein, first parameter information includes, when acquiring described image, the focus point information of described image acquisition unit;
The acquisition includes: the step of the first parameter information of described image acquisition unit when acquiring the first image
Described image acquisition unit is obtained when acquiring described image, the focus point in described image acquisition unit is mapped to described Coordinate position in first image;
Wherein, the focus point is manual focus point, and the focus point in described image acquisition unit is mapped to the first image In coordinate position include:
After the first image acquisition, the coordinate value that finger touches at screen when user is chosen focus corresponds to the figure of acquisition At the corresponding pixel value position (M, N) of file, the screen size of described image acquisition unit and the photo size shot It is proportional, according to formula X/Y=M/N, the coordinate position focus point being mapped in the first image.
2. according to the method described in claim 1, wherein, carrying out image to the first image according to first parameter information To generate the second image, second image includes: for the step of identifying the first image for processing
Image recognition is carried out to the first image according to first parameter information;
Second image is generated using the image information identified.
3. method according to claim 1 or 2, wherein
Image procossing is carried out to generate the second image, second image to the first image according to first parameter information Include: for the step of identifying the first image
Content to the first image in the presumptive area including the coordinate position is handled, to generate second figure Picture.
4. method according to claim 1 or 2, wherein
When not getting the coordinate position,
Image procossing is carried out to generate the second image, second image to the first image according to first parameter information Include: for the step of identifying the first image
Identification occupies the object of predetermined ratio in the first image;
Second image is generated using the image information of the object.
5. according to the method described in claim 4, wherein, identification occupies the step of the object of predetermined ratio in the first image Suddenly include:
The first area to determine the object in the first image is identified to the first image;
According to pixel chromaticity distributed intelligence in the first image, edge pixel of the object in the first area is determined Point;
Whether the size or ratio for judging the object are greater than a preset threshold, if it is greater, then determining that the object is described Occupy the object of predetermined ratio in first image.
6. according to the method described in claim 5, wherein, when the size of the object or ratio are less than the preset threshold, Image procossing is carried out to generate the second image to the first image according to first parameter information, second image is used for Identify the first image the step of include:
Second image is generated using presumptive area content information among the first image.
7. a kind of image processing apparatus, described device is applied to electronic equipment, and the electronic equipment includes at least can be to adopt Collect the image acquisition units of image, described device includes:
First image acquisition units, for acquiring the first image using described image acquisition unit;
First parameter information acquiring unit, for obtaining the first ginseng of the described image acquisition unit when acquiring the first image Number information;
Second image generation unit, for carrying out image procossing to the first image according to first parameter information to generate Second image, second image is for identifying the first image;
Wherein, first parameter information includes, when acquiring described image, the focus point information of described image acquisition unit;
The first parameter information acquiring unit includes:
Coordinate position acquiring unit, for obtaining described image acquisition unit when acquiring described image, described image acquisition is single Focus point in member is mapped to the coordinate position in the first image;
Wherein, the focus point is manual focus point, and after the first image acquisition, the coordinate position acquiring unit will be used The coordinate value that finger touches at screen when focus is chosen at family corresponds to the corresponding pixel value position (M, N) of image file of acquisition Place, the screen size of described image acquisition unit is proportional to next photo size is shot, according to formula X/Y=M/N, by institute State the coordinate position that focus point is mapped in the first image.
8. device according to claim 7, wherein second image generation unit includes:
Recognition unit, for carrying out image recognition to the first image according to first parameter information;
Generation unit, for generating second image using the image information identified.
9. device according to claim 7 or 8, wherein
Second image generation unit includes:
Processing unit is handled for the content to the first image in the presumptive area including the coordinate position, with Generate second image.
10. device according to claim 7 or 8, wherein
Second image generation unit includes:
Recognition unit, for when not getting the coordinate position, identification to occupy predetermined ratio in the first image Object;
Generation unit, for generating second image using the image information of the object.
11. device according to claim 10, wherein the recognition unit includes:
First area determination unit determines of the object in the first image for being identified to the first image One region;
Edge pixel point determination unit, for determining that the object exists according to pixel chromaticity distributed intelligence in the first image Edge pixel point in the first area;
Whether judging unit, size or ratio for judging the object are greater than a preset threshold, if it is greater, then determining institute Stating object is the object for occupying predetermined ratio in the first image.
12. device according to claim 11, wherein when the judging unit judges that the size of the object or ratio are small When the preset threshold, the generation unit in second image generation unit further utilizes pre- among the first image Determine region content information and generates second image.
CN201510366871.XA 2015-06-29 2015-06-29 Image processing method and image processing apparatus Active CN104954688B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510366871.XA CN104954688B (en) 2015-06-29 2015-06-29 Image processing method and image processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510366871.XA CN104954688B (en) 2015-06-29 2015-06-29 Image processing method and image processing apparatus

Publications (2)

Publication Number Publication Date
CN104954688A CN104954688A (en) 2015-09-30
CN104954688B true CN104954688B (en) 2018-12-14

Family

ID=54168993

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510366871.XA Active CN104954688B (en) 2015-06-29 2015-06-29 Image processing method and image processing apparatus

Country Status (1)

Country Link
CN (1) CN104954688B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105933612A (en) * 2016-06-29 2016-09-07 联想(北京)有限公司 Image processing method and electronic equipment
CN106851164A (en) * 2017-03-28 2017-06-13 戴金辰 Record image, video generation reservation method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4341408B2 (en) * 2004-01-15 2009-10-07 パナソニック株式会社 Image display method and apparatus
KR101990089B1 (en) * 2012-10-16 2019-06-17 삼성전자주식회사 Method for creating for thumbnail and image an electronic device thereof
CN104252696B (en) * 2013-06-28 2017-12-12 广州华多网络科技有限公司 Obtain the method and device of thumbnail
CN103927713B (en) * 2014-04-23 2017-07-18 锤子科技(北京)有限公司 The acquisition methods and device of picture thumbnail

Also Published As

Publication number Publication date
CN104954688A (en) 2015-09-30

Similar Documents

Publication Publication Date Title
CN104410785B (en) A kind of information processing method and electronic equipment
CN104683692B (en) A kind of continuous shooting method and device
CN105303161A (en) Method and device for shooting multiple people
CN103024271B (en) The electronic equipment of the method for taking pictures on an electronic device and employing the method
JP5110098B2 (en) Display processing apparatus and program
US20150317510A1 (en) Rating photos for tasks based on content and adjacent signals
CN103413268B (en) A kind of photographic method of Automatic Optimal shape of face
CN106961558B (en) Photographing processing method and device
US10594930B2 (en) Image enhancement and repair using sample data from other images
CN101339650A (en) Method for processing photo on terminal and terminal adopting the method
CN104219444A (en) Method and device for processing video shooting
CN103765473A (en) Method of providing adjusted digital image representation of view, and apparatus
CN103533212A (en) Image synthesizing method and apparatus
CN109089045A (en) A kind of image capture method and equipment and its terminal based on multiple photographic devices
CN104954688B (en) Image processing method and image processing apparatus
CN107835373A (en) A kind of mobile terminal and its take pictures beautification method and system
CN103353879B (en) Image processing method and apparatus
CN105578039A (en) Photographic apparatus with photography auxiliary function
CN104735354B (en) A kind of method and device of shooting image
CN105893578A (en) Method and device for selecting photos
US10354125B2 (en) Photograph processing method and system
EP2800349A1 (en) Method and electronic device for generating thumbnail image
CN108132935B (en) Image classification method and image display method
WO2016079609A1 (en) Generation apparatus and method for evaluation information, electronic device and server
CN105160329B (en) A kind of tooth recognition methods, system and camera terminal based on YUV color spaces

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant