CN108198144A - Image processing method, device, storage medium and electronic equipment - Google Patents
Image processing method, device, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN108198144A CN108198144A CN201711466296.6A CN201711466296A CN108198144A CN 108198144 A CN108198144 A CN 108198144A CN 201711466296 A CN201711466296 A CN 201711466296A CN 108198144 A CN108198144 A CN 108198144A
- Authority
- CN
- China
- Prior art keywords
- optimization
- image
- sample
- characteristic information
- optimized
- 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
- 238000003672 processing method Methods 0.000 title claims abstract description 28
- 238000005457 optimization Methods 0.000 claims abstract description 265
- 238000012545 processing Methods 0.000 claims abstract description 64
- 230000015654 memory Effects 0.000 claims description 27
- 238000004590 computer program Methods 0.000 claims description 13
- 230000008878 coupling Effects 0.000 claims description 2
- 238000010168 coupling process Methods 0.000 claims description 2
- 238000005859 coupling reaction Methods 0.000 claims description 2
- 238000001514 detection method Methods 0.000 claims description 2
- 230000006978 adaptation Effects 0.000 abstract description 5
- 238000000034 method Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 10
- 238000012512 characterization method Methods 0.000 description 8
- 230000000694 effects Effects 0.000 description 5
- 241000208340 Araliaceae Species 0.000 description 4
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 4
- 235000003140 Panax quinquefolius Nutrition 0.000 description 4
- 235000008434 ginseng Nutrition 0.000 description 4
- 239000004615 ingredient Substances 0.000 description 4
- 230000003542 behavioural effect Effects 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 239000003795 chemical substances by application Substances 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000007717 exclusion Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/77—Retouching; Inpainting; Scratch removal
-
- 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/58—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/583—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/90—Dynamic range modification of images or parts thereof
- G06T5/92—Dynamic range modification of images or parts thereof based on global image properties
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10024—Color image
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Library & Information Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Processing Or Creating Images (AREA)
Abstract
The embodiment of the present application discloses a kind of image processing method, device, storage medium and electronic equipment, wherein, which is included when detecting that user optimizes processing to image, acquires the corresponding characteristic information of image and Optimal Parameters sample as an optimization;The multiple optimization samples of continuous acquisition, and establish optimization database;The characteristic information of image to be optimized is acquired, and according to characteristic information matching optimization database, obtains corresponding objective optimization sample;Image to be optimized is handled according to the Optimal Parameters that objective optimization sample indicates.The application is by acquiring the custom of user's processing image and establishing optimization database, according to the characteristic information matching optimization database of image to be optimized, determine that the Optimal Parameters of adaptation user's custom handle image to be optimized, the quick and accurate processing to image is realized, improves the efficiency of image procossing.
Description
Technical field
This application involves technical field of image processing, and in particular to a kind of image processing method, device, storage medium and electricity
Sub- equipment.
Background technology
At present, with the high speed development of terminal technology, among increasingly going deep into people’s lives such as smart mobile phone, user is past
It is largely applied, such as application of taking pictures, game application, map application toward that can be installed on smart mobile phone.
Wherein, user often optimizes photo processing, to beautify photograph after by taking pictures using shooting photo
Piece, but user is required for adjust the parameter of photo manually per suboptimization, it is comparatively laborious, even if current smart mobile phone can provide
Many general optimization templates, but for different photos, the specific aim of optimization is not strong or can not meet the need of user
It asks.
Invention content
In view of this, the embodiment of the present application provides a kind of image processing method, device, storage medium and electronic equipment,
The efficiency of image procossing can be promoted.
In a first aspect, a kind of image processing method for providing of the embodiment of the present application, including:
When detecting that user optimizes processing to image, the corresponding characteristic information of acquisition described image and optimization ginseng
Count sample as an optimization;
The multiple optimization samples of continuous acquisition, and establish optimization database;
It acquires the characteristic information of image to be optimized, and the optimization database is matched according to the characteristic information, obtain pair
The objective optimization sample answered;
The image to be optimized is handled according to the Optimal Parameters that the objective optimization sample indicates.
Second aspect, a kind of image processing apparatus for providing of the embodiment of the present application, including:
Collecting unit, for when detecting that user optimizes processing to image, acquiring the corresponding feature of described image
Information and Optimal Parameters sample as an optimization;
Unit is established, for the multiple optimization samples of continuous acquisition, and establishes optimization database;
Matching unit for acquiring the characteristic information of image to be optimized, and matches the optimization according to the characteristic information
Database obtains corresponding objective optimization sample;
Processing unit, for the Optimal Parameters that are indicated according to the objective optimization sample to the image to be optimized at
Reason.
The third aspect, storage medium provided by the embodiments of the present application, is stored thereon with computer program, when the computer
When program is run on computers so that the computer performs the image processing method provided such as the application any embodiment.
Fourth aspect, electronic equipment provided by the embodiments of the present application, including processor and memory, the memory has meter
Calculation machine program, which is characterized in that the processor is by calling the computer program, for performing such as any implementation of the application
The image processing method that example provides.
The embodiment of the present application is by acquiring the custom of user's processing image and establishing optimization database, according to image to be optimized
Characteristic information matching optimization database, determine adaptation user custom Optimal Parameters image to be optimized is handled, realize
Quick and accurate processing to image improves the efficiency of image procossing.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, for
For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is the application scenarios schematic diagram of image processing method provided by the embodiments of the present application.
Fig. 2 is a flow diagram of image processing method provided by the embodiments of the present application.
Fig. 3 is another flow diagram of image processing method provided by the embodiments of the present application.
Fig. 4 is a structure diagram of image processing apparatus provided by the embodiments of the present application.
Fig. 5 is another structure diagram of image processing apparatus provided by the embodiments of the present application.
Fig. 6 is a structure diagram of electronic equipment provided by the embodiments of the present application.
Fig. 7 is another structure diagram of electronic equipment provided by the embodiments of the present application.
Specific embodiment
Schema is please referred to, wherein identical element numbers represent identical component, the principle of the application is to implement one
It is illustrated in appropriate computing environment.The following description be based on illustrated the application specific embodiment, should not be by
It is considered as limitation the application other specific embodiments not detailed herein.
In the following description, the specific embodiment of the application will be with reference to as the step performed by one or multi-section computer
And symbol illustrates, unless otherwise stating clearly.Therefore, these steps and operation will have to mention for several times is performed by computer, this paper institutes
The computer execution of finger includes by representing with the computer processing unit of the electronic signal of the data in a structuring pattern
Operation.This operation is converted at the data or the position being maintained in the memory system of the computer, reconfigurable
Or in addition change the running of the computer in a manner of known to the tester of this field.The data structure that the data are maintained
For the provider location of the memory, there is the specific feature as defined in the data format.But the application principle is with above-mentioned text
Word illustrates that be not represented as a kind of limitation, this field tester will appreciate that plurality of step as described below and behaviour
Also it may be implemented in hardware.
Term as used herein " module " can regard the software object to be performed in the arithmetic system as.It is as described herein
Different components, module, engine and service can be regarded as the objective for implementation in the arithmetic system.And device as described herein and side
Method can be implemented in a manner of software, can also be implemented on hardware certainly, within the application protection domain.
Term " first ", " second " and " third " in the application etc. is for distinguishing different objects rather than for retouching
State particular order.In addition, term " comprising " and " having " and their any deformations, it is intended that cover non-exclusive include.
Such as contain the step of process, method, system, product or the equipment of series of steps or module is not limited to list or
Module, but some embodiments further include the step of not listing or module or some embodiments further include for these processes,
Method, product or equipment intrinsic other steps or module.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments
It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical
Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and
Implicitly understand, embodiment described herein can be combined with other embodiments.
The embodiment of the present application provides a kind of image processing method, and the executive agent of the image processing method can be the application
The image processing apparatus of embodiment offer or the electronic equipment for being integrated with the image processing apparatus, the wherein image procossing fill
It puts and the mode of hardware or software may be used realizes.Wherein, electronic equipment can be smart mobile phone, tablet computer, palm electricity
The equipment such as brain, laptop or desktop computer.
Referring to Fig. 1, Fig. 1 is the application scenarios schematic diagram of image processing method provided by the embodiments of the present application, with image
For processing unit integrates in the electronic device, when detecting that user optimizes processing to image, image correspondence is acquired
Characteristic information and Optimal Parameters sample as an optimization;The multiple optimization samples of continuous acquisition, and establish optimization database;Acquisition
The characteristic information of image to be optimized, and according to this feature information matches optimization database, obtain corresponding objective optimization sample;
The image to be optimized is handled according to the Optimal Parameters that the objective optimization sample indicates.
It specifically, can be in historical time section, when detecting that user optimizes image processing such as shown in Fig. 1
When, acquire the corresponding characteristic information of the image (personage or landscape class image information, image saturation information, image taking
Weather state information etc. when location information and image taking) and Optimal Parameters (color range parameter, contrast level parameter, saturation
Spend parameter etc.) sample as an optimization;The multiple optimization samples of continuous acquisition, and establish optimization database;Acquire image to be optimized
Characteristic information (personage or landscape class image information, image saturation information, image taking location information and image taking
When weather state information etc.), and according to this feature information (personage or landscape class image information, image saturation information, figure
Weather state information the etc. when location information and image taking of picture shooting) the optimization database is matched, obtain corresponding mesh
Mark optimization sample, the Optimal Parameters (color range parameter, contrast level parameter, saturation parameters etc.) indicated according to the objective optimization sample
The image to be optimized is handled.So that handling image to be optimized fast and accurately.
Referring to Fig. 2, Fig. 2 is the flow diagram of image processing method provided by the embodiments of the present application.The application is implemented
The idiographic flow for the image processing method that example provides can be as follows:
201st, when detecting that user optimizes processing to image, the corresponding characteristic information of acquisition image and optimization ginseng
Count sample as an optimization.
Wherein, when user using image procossing using being completed to image procossing when, be judged to detecting user to image into
Row optimization processing, the corresponding corresponding characteristic information of the image and the Optimal Parameters of acquiring are as an optimization sample set.
The corresponding characteristic information of the image corresponds to the current state information of characterization image, and this feature information can be by multiple spies
Sign is formed, for example, personage or landscape class image feature information, image saturation characteristic information, image taking Site characterization
Weather characteristics status information etc. when information and image taking.
The adjustment parameter of image when the Optimal Parameters optimize image processing for user is joined with the adjusting of the image
It is several that image is handled, preferable effect of optimization can be obtained, which can be made of multiple parameters, for example, color
Rank parameter, contrast level parameter, saturation parameters etc..
It should be noted that saturation degree refers to the purity of the bright-coloured degree, also referred to as color of color.Saturation degree depends on the color
In the ratio of ingredient containing color and colour killing ingredient (grey).Ingredient containing color is bigger, and saturation degree is bigger;Colour killing ingredient is bigger, saturation degree
It is smaller.Color range is to represent the standard of index of brightness of image power, that is, our colo r index for saying.Contrast refers to a width
In image light and shade region it is most bright it is white and most dark it is black between different brightness levels measurement, disparity range is bigger to represent comparison more
Greatly, the smaller representative comparison of disparity range is smaller.
202nd, the multiple optimization samples of continuous acquisition, and establish optimization database.
Wherein, multiple optimization samples can be included by optimizing in database, each sample that optimizes includes image in optimization pair
The characteristic information and Optimal Parameters answered.It can include in historical time section, the multiple optimization samples of continuous acquisition.Historical time
Section, such as can be 7 days, 14 days etc. in the past.
In one embodiment, can also optimization database be established by the optimization sample of continuous acquisition preset quantity,
Data result analytical judgment is carried out with the optimization database of the optimization sample comprising preset quantity, it is ensured that the section of analysis result
Learn property and it is comprehensive.
203rd, the characteristic information of image to be optimized is acquired, and according to characteristic information matching optimization database, is obtained corresponding
Objective optimization sample.
In one embodiment, user can pass through the shape on the image to be optimized when browsing image to be optimized
Into translucent optimization button, when user clicks the optimization button, can the corresponding characteristic information for acquiring the image to be optimized,
And according to characteristic information matching optimization database.
Wherein, due to saving multiple optimization samples in optimization database, each optimization sample includes image in optimization
Corresponding characteristic information and Optimal Parameters, can be according to every in the characteristic information of image to be optimized successively matching optimization database
Characteristic information in one optimization sample, obtains similarity value, the similarity value is higher, illustrates the characteristic information of the image to be optimized
It is higher with the collocation degree of optimization sample.
It in one embodiment, can be using the highest optimization sample of similarity value as objective optimization sample.In another kind
In possible embodiment, a predetermined threshold value can be set, optimization sample of the similarity value higher than predetermined threshold value is determined as mesh
Mark optimization sample set, is determined as objective optimization sample according to the optimization sample that user selects in the objective optimization sample set.
It should be strongly noted that in the embodiment of the present application, the characteristic information acquired in step 201 and 203 is identical spy
Sign, such as:Personage or landscape class image feature information, image saturation characteristic information, image taking Site characterization information
And weather characteristics status information etc. during image taking.
204th, the Optimal Parameters indicated according to objective optimization sample handle image to be optimized.
Specifically, the image to be optimized is handled according to the Optimal Parameters indicated in objective optimization sample, due to this
Characteristic information in objective optimization sample and the characteristic information in the processing image to be optimized are closest, so excellent with the target
The Optimal Parameters changed in sample handle the image to be optimized, and preferably the image to be optimized can be optimized.
From the foregoing, it will be observed that the embodiment of the present application by acquire user handle image custom and establish optimization database, according to
The characteristic information matching optimization database of image to be optimized determines that the Optimal Parameters of adaptation user's custom carry out image to be optimized
Processing, realizes the quick and accurate processing to image, improves the efficiency of image procossing.
Further, due to each optimization sample in optimization database, when including reflection user and handling image usually
Behavioural habits multiple features, therefore the embodiment of the present application can cause it is more personalized and intelligent to image procossing.
Further, it realizes that Image Processing parameter obtains based on optimization database matching, the standard of image procossing can be promoted
True property is more bonded the use habit of user.
Below by the basis of the method described in above-described embodiment, the sorting technique of the application is described further.Ginseng
Fig. 3 is examined, which can include:
301st, when detecting that user optimizes processing to image, the corresponding characteristic information of acquisition image and optimization ginseng
Count sample as an optimization.
Wherein, when user using image procossing using being completed to image procossing when, be judged to detecting user to image into
Row optimization processing, the corresponding corresponding characteristic information of the image and the Optimal Parameters of acquiring are as an optimization sample set.
The corresponding characteristic information of the image corresponds to the current state information of characterization image, and this feature information can be by multiple spies
Sign is formed, for example, personage or landscape class image feature information, image saturation characteristic information, image taking Site characterization
Weather characteristics status information etc. when information and image taking.
The adjustment parameter of image when the Optimal Parameters optimize image processing for user is joined with the adjusting of the image
It is several that image is handled, preferable effect of optimization can be obtained, which can be made of multiple parameters, for example, color
Rank parameter, contrast level parameter, saturation parameters etc..
One specific optimization sample can be as shown in table 1 below, including characteristic information and Optimal Parameters, needs what is illustrated
It is that the characteristic information and Optimal Parameters shown in table 1 are only for example, in practice, the characteristic information that an optimization sample is included
Quantity and Optimal Parameters quantity, can be more than than information shown in table 1 quantity, information shown in table 1 can also be less than
Quantity, the specific features information and Optimal Parameters taken can also be different from shown in table 1, are not especially limited herein.
Dimension | Characteristic information | Optimal Parameters |
1 | Personage or landscape class image feature information | Color range parameter |
2 | Image saturation characteristic information | Contrast level parameter |
3 | The Site characterization information of image taking | Saturation parameters |
4 | Weather characteristics status information during image taking |
Table 1
302nd, the multiple optimization samples of continuous acquisition.
Since this implementation will be accomplished that image optimization is handled, so needing to acquire a certain number of optimization samples, with reality
Now establish the condition of optimization database.
Whether the quantity for the 303rd, judging to optimize sample reaches predetermined threshold value.
Wherein, when judging that the quantity for optimizing sample reaches predetermined threshold value, step S303 is performed;When judge optimize sample
When this quantity is not up to predetermined threshold value, illustrates that the quantity of current optimization sample is also not enough to establish optimization database, return
Step S302 is performed, continues optimization of collection sample.
304th, optimization database is established.
Wherein, when judging that the quantity for optimizing sample reaches predetermined threshold value, the quantity for illustrating to optimize sample reaches certain
Scale with this, establishes optimization optimization database, and the sample size of optimization database at this time is scientific and entirely
Face property.
305th, the characteristic information of image to be optimized is acquired, and each in characteristic information successively matching optimization database
Optimize sample, obtain multiple similarity values.
Wherein it is possible to by forming translucent optimization button on the image to be optimized, when user clicks the optimization
Button, can the corresponding characteristic information for acquiring the image to be optimized, and according to characteristic information matching optimization database.
Due to saving multiple optimization samples in optimization database, it is corresponding in optimization that each optimization sample includes image
Characteristic information and Optimal Parameters, it is possible to according to each in the characteristic information of image to be optimized successively matching optimization database
Optimize the characteristic information in sample, obtain multiple similarity values, the similarity value is higher, illustrates the feature letter of the image to be optimized
It ceases higher with the collocation degree of optimization sample.
For example, believed by the personage or landscape class image feature information, image saturation feature for acquiring image to be optimized
Weather characteristics status information when breath, the Site characterization information of image taking and image taking.And optimize each in database
Optimization sample all includes the place of personage or landscape class image feature information, image saturation characteristic information, image taking
Weather characteristics status information when characteristic information and image taking.Therefore the personage of the two or landscape class characteristics of image are believed
When breath, the Site characterization information of image saturation characteristic information, image taking and image taking weather characteristics status information into
Row similarity mode can obtain multiple similarity values.
306th, multiple similarity values and predetermined threshold value are compared successively.
Wherein, when similarity value is higher than predetermined threshold value, illustrate the characteristic information of image to be optimized and optimization sample
The collocation degree of characteristic information is higher than standard, i.e. similarity-rough set between two images is big.When similarity value is less than predetermined threshold value
When, illustrate that the collocation degree of the characteristic information and the characteristic information of optimization sample of image to be optimized is less than standard, i.e. two images
Between similarity-rough set it is small.
307th, optimization sample of the similarity value higher than predetermined threshold value is determined as objective optimization sample set
Wherein it is possible to by similarity higher than predetermined threshold value, i.e., the spy of the characteristic information and optimization sample of image to be optimized
The collocation degree of reference breath is determined as objective optimization sample set higher than the optimization sample of standard.It can be wrapped in the objective optimization sample set
Include multiple optimization samples.
In one embodiment, the multiple optimization samples that can include the objective optimization sample set are with translucent text
This frame is shown on pending image, can receive the instruction that user manually selects optimization sample.
308th, selection instruction of the user to objective optimization sample set is received.
Wherein, the optimization sample that user can manually in selection target optimization sample set, is selecting a certain optimization sample
When, the Optimal Parameters included in the optimization sample can be transferred, preview optimization processing, user's preview are carried out to the pending image
Effect of optimization, if feeling, preview effect of optimization is bad, can switch another optimization sample and carry out preview, if feeling preview optimization effect
Fruit meets expection, it may be determined that the optimization sample generates selection instruction.
309th, corresponding objective optimization sample is determined, and join according to the optimization that objective optimization sample indicates according to selection instruction
It is several that image to be optimized is handled.
Wherein, the determining objective optimization sample of user's selection is obtained, and according to the optimization indicated in the objective optimization sample
Parameter optimizes processing to image to be optimized.By in the optimization sample high with image similarity to be optimized, selecting user
The objective optimization sample liked calls the corresponding Optimal Parameters of objective optimization sample to optimize image to be optimized, true
The hommization demand under the premise of image fast and accurately handles, being more close to the users is protected.
In one embodiment, corresponding objective optimization sample is being determined, and according to objective optimization sample according to selection instruction
After the Optimal Parameters of this instruction handle image to be optimized, further include:
(1) it detects whether to collect optimization sample.
Wherein, when detecting that user manually adjusts the Optimal Parameters of image, electronic equipment can still acquire the image pair
Characteristic information and Optimal Parameters, and sample as an optimization, when detect collect new optimization sample when, perform step
(2)
(2) the optimization sample is replaced into the optimization sample that storage time is first in the optimization database.
Wherein, since the image procossing of user custom is unlikely to be unalterable, so needing anywhere or anytime to excellent
Change database in optimization sample carry out immediate updating, i.e., when detect collect new optimization sample when, by the new optimization
Sample replaces the optimization sample that storage time is first in optimization database, and with this, the optimization sample in realization optimization database is more
New rule is the queue-type storage rule of first in first out, keeps the instantaneity of the data of optimization database.
From the foregoing, it will be observed that the embodiment of the present application by acquire user handle image custom and establish optimization database, according to
The characteristic information matching optimization database of image to be optimized determines that the Optimal Parameters of adaptation user's custom carry out image to be optimized
Processing, realizes the quick and accurate processing to image, improves the efficiency of image procossing.
Further, due to each optimization sample in optimization database, when including reflection user and handling image usually
Behavioural habits multiple features, therefore the embodiment of the present application can cause it is more personalized and intelligent to image procossing.
Further, it realizes that Image Processing parameter obtains based on optimization database matching, the standard of image procossing can be promoted
True property is more bonded the use habit of user.
A kind of image processing apparatus is additionally provided in one embodiment.Referring to Fig. 4, Fig. 4 is provided for the embodiment of the present application
Image processing apparatus structure diagram.Wherein the image processing apparatus is applied to electronic equipment, the image processing apparatus packet
It includes collecting unit 401, establish unit 402, matching unit 403 and processing unit 404, it is as follows:
The collecting unit 401, for when detecting that user optimizes processing to image, acquiring the corresponding spy of the image
Reference ceases and Optimal Parameters sample as an optimization;
This establishes unit 402, for the multiple optimization samples of continuous acquisition, and establishes optimization database;
The matching unit 403, for acquiring the characteristic information of image to be optimized, and according to the optimization of this feature information matches
Database obtains corresponding objective optimization sample;
The processing unit 404, for being carried out according to the Optimal Parameters that the objective optimization sample indicates to the image to be optimized
Processing.
In one embodiment, with reference to figure 5, which can include:
Coupling subelement 4031 for acquiring the characteristic information of image to be optimized, and matches successively according to this feature information
Each optimization sample in the optimization database, obtains multiple similarity values.
Determination subelement 4032, for the highest optimization sample of similarity value to be determined as objective optimization sample.
In one embodiment, with reference to figure 5, which further includes:
Detection unit 405, for detecting whether collecting optimization sample.
Replacement unit 406, for when detect collect optimization sample when, which is replaced into the optimization database
The first optimization sample of middle storage time.
Wherein, the step of each unit performs in image processing apparatus can refer to the method step of above method embodiment description
Suddenly.The image processing apparatus can integrate in the electronic device, such as mobile phone, tablet computer.
When it is implemented, Yi Shang each unit can be independent entity realization, arbitrary combination can also be carried out, as
Same or several entities realize, more than the specific implementation of each unit can be found in the embodiment of front, details are not described herein.
From the foregoing, it will be observed that the present embodiment image processing apparatus detects that user is excellent to image progress by working as collecting unit 401
When changing processing, the corresponding characteristic information of the image and Optimal Parameters sample as an optimization are acquired;Establish 402 continuous acquisition of unit
Multiple optimization samples, and establish optimization database;Matching unit 403 acquires the characteristic information of image to be optimized, and according to the spy
The sign information matches optimization database, obtains corresponding objective optimization sample;Processing unit 404 refers to according to the objective optimization sample
The Optimal Parameters shown handle the image to be optimized.The quick and accurate processing to image is realized, improves image
The efficiency of processing.
The embodiment of the present application also provides a kind of electronic equipment.Referring to Fig. 6, electronic equipment 500 include processor 501 and
Memory 502.Wherein, processor 501 is electrically connected with memory 502.
The processor 500 is the control centre of electronic equipment 500, utilizes various interfaces and the entire electronic equipment of connection
Various pieces, computer program in memory 502 and call by operation or load store and be stored in memory
Data in 502 perform the various functions of electronic equipment 500 and handle data, so as to carry out whole prison to electronic equipment 500
Control.
The memory 502 can be used for storage software program and module, and processor 501 is stored in memory by operation
502 computer program and module, so as to perform various functions application and data processing.Memory 502 can mainly include
Storing program area and storage data field, wherein, storing program area can storage program area, the computer needed at least one function
Program (such as sound-playing function, image player function etc.) etc.;Storage data field can be stored uses institute according to electronic equipment
Data of establishment etc..In addition, memory 502 can include high-speed random access memory, non-volatile memories can also be included
Device, for example, at least a disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory
502 can also include Memory Controller, to provide access of the processor 501 to memory 502.
In the embodiment of the present application, the processor 501 in electronic equipment 500 can be according to the steps, by one or one
The corresponding instruction of process of a above computer program is loaded into memory 502, and be stored in by the operation of processor 501
Computer program in reservoir 502, it is as follows so as to fulfill various functions:
When detecting that user optimizes processing to image, the corresponding characteristic information of the image and Optimal Parameters are acquired
Sample as an optimization;
The multiple optimization samples of continuous acquisition, and establish optimization database;
The characteristic information of image to be optimized is acquired, and according to this feature information matches optimization database, is obtained corresponding
Objective optimization sample;
The image to be optimized is handled according to the Optimal Parameters that the objective optimization sample indicates.
In some embodiments, in the characteristic information for acquiring image to be optimized, and this is excellent according to this feature information matches
Change database, when obtaining corresponding objective optimization sample, processor 501 can specifically perform following steps:
The characteristic information of image to be optimized is acquired, and is matched successively according to this feature information each in the optimization database
Optimize sample, obtain multiple similarity values;
The highest optimization sample of similarity value is determined as objective optimization sample.
In some embodiments, when the highest optimization sample of similarity value is determined as objective optimization sample, processing
Device 501 can specifically perform following steps:
Multiple similarity values are compared with predetermined threshold value successively;
Optimization sample of the similarity value higher than predetermined threshold value is determined as objective optimization sample set.
This is handled the image to be optimized according to the Optimal Parameters that the objective optimization sample indicates, including:
Receive selection instruction of the user to objective optimization sample set;
It is instructed according to the selection and determines corresponding objective optimization sample, and joined according to the optimization that the objective optimization sample indicates
It is several that the image to be optimized is handled.
In some embodiments, according to the multiple optimization samples of continuous acquisition, and when establishing optimization database, processor
501 can specifically perform following steps:
The multiple optimization samples of continuous acquisition;
Judge whether the quantity of the optimization sample reaches predetermined threshold value;
When the quantity for judging the optimization sample reaches predetermined threshold value, optimization database is established;
When the quantity for judging the optimization sample is not up to predetermined threshold value, returns and perform the multiple optimization samples of continuous acquisition
The step of.
In some embodiments, the image to be optimized is being carried out according to the Optimal Parameters that the objective optimization sample indicates
After processing, processor 501 can also specifically perform following steps:
It detects whether to collect optimization sample;
When detect collect optimization sample when, it is first which is replaced into storage time in the optimization database
Optimize sample.
It can be seen from the above, the electronic equipment of the embodiment of the present application, by acquiring the custom of user's processing image and establishing excellent
Change database, according to the characteristic information matching optimization database of image to be optimized, determine the Optimal Parameters pair of adaptation user's custom
Image to be optimized is handled, and realizes the quick and accurate processing to image, improves the efficiency of image procossing.
Also referring to Fig. 7, in some embodiments, electronic equipment 500 can also include:Display 503, radio frequency electrical
Road 504, voicefrequency circuit 505 and power supply 506.Wherein, wherein, display 503, radio circuit 504, voicefrequency circuit 505 and
Power supply 506 is electrically connected respectively with processor 501.
The display 503 is displayed for by information input by user or is supplied to the information of user and various figures
User interface, these graphical user interface can be made of figure, text, icon, video and its arbitrary combination.Display
503 can include display panel, in some embodiments, liquid crystal display (Liquid Crystal may be used
Display, LCD) or the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) match
Put display panel.
The radio circuit 504 can be used for transceiving radio frequency signal, with by radio communication with the network equipment or other electronics
Equipment establishes wireless telecommunications, the receiving and transmitting signal between the network equipment or other electronic equipments.
The voicefrequency circuit 505 can be used for providing the audio between user and electronic equipment by loud speaker, microphone and connecing
Mouthful.
The power supply 506 is used to all parts power supply of electronic equipment 500.In some embodiments, power supply 506 can
With logically contiguous by power-supply management system and processor 501, thus charged, discharged by power-supply management system realization management,
And the functions such as power managed.
Although being not shown in Fig. 7, electronic equipment 500 can also include camera, bluetooth module etc., and details are not described herein.
The embodiment of the present application also provides a kind of storage medium, which is stored with computer program, when the computer
When program is run on computers so that the computer performs the image processing method in any of the above-described embodiment, such as:Work as inspection
When measuring user and optimizing processing to image, the corresponding characteristic information of the image and Optimal Parameters sample as an optimization are acquired
This;The multiple optimization samples of continuous acquisition, and establish optimization database;The characteristic information of image to be optimized is acquired, and according to the spy
The sign information matches optimization database, obtains corresponding objective optimization sample;Joined according to the optimization that the objective optimization sample indicates
It is several that the image to be optimized is handled.
In the embodiment of the present application, storage medium can be magnetic disc, CD, read-only memory (Read Only Memory,
ROM) or random access memory (Random Access Memory, RAM) etc..
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, it may refer to the associated description of other embodiment.
It should be noted that for the image processing method of the embodiment of the present application, this field common test personnel can be with
Understand all or part of flow for the image processing method for realizing the embodiment of the present application, be that can be controlled by computer program
Relevant hardware is completed, and the computer program can be stored in a computer read/write memory medium, be such as stored in electronics
It in the memory of equipment, and is performed, may include in the process of implementation such as image by least one processor in the electronic equipment
The flow of the embodiment of processing method.Wherein, the storage medium can be magnetic disc, CD, read-only memory, arbitrary access note
Recall body etc..
For the image processing apparatus of the embodiment of the present application, each function module can be integrated in a processing chip
In or modules be individually physically present, can also two or more modules be integrated in a module.It is above-mentioned
The form that hardware had both may be used in integrated module is realized, can also be realized in the form of software function module.It is described integrated
If module realized in the form of software function module and be independent product sale or in use, one can also be stored in
In a computer read/write memory medium, the storage medium is for example read-only memory, disk or CD etc..
Above to a kind of image processing method, device, storage medium and the electronic equipment that the embodiment of the present application is provided into
It has gone and has been discussed in detail, the principle and implementation of this application are described for specific case used herein, implements above
The explanation of example is merely used to help understand the present processes and its core concept;Meanwhile for those skilled in the art, according to
According to the thought of the application, there will be changes in specific embodiments and applications, in conclusion the content of the present specification
It should not be construed as the limitation to the application.
Claims (10)
1. a kind of image processing method, which is characterized in that including:
When detecting that user optimizes processing to image, the corresponding characteristic information of acquisition described image and Optimal Parameters are made
To optimize sample;
The multiple optimization samples of continuous acquisition, and establish optimization database;
The characteristic information of image to be optimized is acquired, and the optimization database is matched according to the characteristic information, is obtained corresponding
Objective optimization sample;
The image to be optimized is handled according to the Optimal Parameters that the objective optimization sample indicates.
2. image processing method as described in claim 1, which is characterized in that acquire the characteristic information of image to be optimized, and root
The optimization database is matched according to the characteristic information, obtains corresponding objective optimization sample, including:
It acquires the characteristic information of image to be optimized, and is matched successively according to the characteristic information each in the optimization database
Optimize sample, obtain multiple similarity values;
The highest optimization sample of similarity value is determined as objective optimization sample.
3. image processing method as claimed in claim 2, which is characterized in that be determined as the highest optimization sample of similarity value
Objective optimization sample, including:
Multiple similarity values are compared with predetermined threshold value successively;
Optimization sample of the similarity value higher than predetermined threshold value is determined as objective optimization sample set;
The Optimal Parameters indicated according to the objective optimization sample handle the image to be optimized, including:
Receive selection instruction of the user to objective optimization sample set;
Corresponding objective optimization sample is determined, and join according to the optimization that the objective optimization sample indicates according to the selection instruction
It is several that the image to be optimized is handled.
4. image processing method as claimed in claim 3, which is characterized in that according to the multiple optimization samples of continuous acquisition, and build
Vertical optimization database, including:
The multiple optimization samples of continuous acquisition;
Judge whether the quantity of the optimization sample reaches predetermined threshold value;
When the quantity for judging the optimization sample reaches predetermined threshold value, optimization database is established;
When the quantity for judging the optimization sample is not up to predetermined threshold value, returns and perform the multiple optimization samples of continuous acquisition
Step.
5. such as Claims 1-4 any one of them image processing method, which is characterized in that according to the objective optimization sample
After the Optimal Parameters of instruction handle the image to be optimized, further include:
It detects whether to collect optimization sample;
When detect collect optimization sample when, it is first that the optimization sample is replaced into storage time in the optimization database
Optimize sample.
6. a kind of image processing apparatus, which is characterized in that including:
Collecting unit, for when detecting that user optimizes processing to image, acquiring the corresponding characteristic information of described image
And Optimal Parameters sample as an optimization;
Unit is established, for the multiple optimization samples of continuous acquisition, and establishes optimization database;
Matching unit for acquiring the characteristic information of image to be optimized, and matches the optimization data according to the characteristic information
Library obtains corresponding objective optimization sample;
Processing unit, the Optimal Parameters for being indicated according to the objective optimization sample handle the image to be optimized.
7. image processing apparatus as claimed in claim 6, which is characterized in that the matching unit includes:
Coupling subelement for acquiring the characteristic information of image to be optimized, and is matched according to the characteristic information described excellent successively
Change each optimization sample in database, obtain multiple similarity values;
Determination subelement, for the highest optimization sample of similarity value to be determined as objective optimization sample.
8. image processing apparatus as claimed in claim 7, which is characterized in that described device further includes:
Detection unit, for detecting whether collecting optimization sample;
Replacement unit, for when detect collect optimization sample when, will it is described optimization sample replace it is described optimization database in
The first optimization sample of storage time.
9. a kind of storage medium, is stored thereon with computer program, which is characterized in that when the computer program on computers
During operation so that the computer performs such as image processing method described in any one of claim 1 to 5.
10. a kind of electronic equipment, including processor and memory, the memory has computer program, which is characterized in that described
Processor is by calling the computer program, for performing such as image processing method described in any one of claim 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711466296.6A CN108198144A (en) | 2017-12-28 | 2017-12-28 | Image processing method, device, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711466296.6A CN108198144A (en) | 2017-12-28 | 2017-12-28 | Image processing method, device, storage medium and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108198144A true CN108198144A (en) | 2018-06-22 |
Family
ID=62586097
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711466296.6A Pending CN108198144A (en) | 2017-12-28 | 2017-12-28 | Image processing method, device, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108198144A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108965770A (en) * | 2018-08-30 | 2018-12-07 | Oppo广东移动通信有限公司 | Image processing template generation method, device, storage medium and mobile terminal |
CN110910726A (en) * | 2018-09-14 | 2020-03-24 | 苏州迪芬德物联网科技有限公司 | Intelligent circuit adjusting experiment device |
CN115760609A (en) * | 2022-11-14 | 2023-03-07 | 王育新 | Image optimization method and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107292817A (en) * | 2017-06-30 | 2017-10-24 | 广东欧珀移动通信有限公司 | A kind of image processing method, device, storage medium and terminal |
CN107330859A (en) * | 2017-06-30 | 2017-11-07 | 广东欧珀移动通信有限公司 | A kind of image processing method, device, storage medium and terminal |
CN107358241A (en) * | 2017-06-30 | 2017-11-17 | 广东欧珀移动通信有限公司 | Image processing method, device, storage medium and electronic equipment |
CN107369142A (en) * | 2017-06-29 | 2017-11-21 | 北京小米移动软件有限公司 | Image processing method and device |
CN107492067A (en) * | 2017-09-07 | 2017-12-19 | 维沃移动通信有限公司 | A kind of image beautification method and mobile terminal |
-
2017
- 2017-12-28 CN CN201711466296.6A patent/CN108198144A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107369142A (en) * | 2017-06-29 | 2017-11-21 | 北京小米移动软件有限公司 | Image processing method and device |
CN107292817A (en) * | 2017-06-30 | 2017-10-24 | 广东欧珀移动通信有限公司 | A kind of image processing method, device, storage medium and terminal |
CN107330859A (en) * | 2017-06-30 | 2017-11-07 | 广东欧珀移动通信有限公司 | A kind of image processing method, device, storage medium and terminal |
CN107358241A (en) * | 2017-06-30 | 2017-11-17 | 广东欧珀移动通信有限公司 | Image processing method, device, storage medium and electronic equipment |
CN107492067A (en) * | 2017-09-07 | 2017-12-19 | 维沃移动通信有限公司 | A kind of image beautification method and mobile terminal |
Non-Patent Citations (2)
Title |
---|
YUEYANG887969: "美图秀秀IOS系统操作使用手册", 《百度文库 HTTPS://WENKU.BAIDU.COM/VIEW/4844DCDA856A561252D36F93.HTML》 * |
美人妆: "用过那么多自拍APP,只有这9款用完不用修图", 《微信公众号》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108965770A (en) * | 2018-08-30 | 2018-12-07 | Oppo广东移动通信有限公司 | Image processing template generation method, device, storage medium and mobile terminal |
CN110910726A (en) * | 2018-09-14 | 2020-03-24 | 苏州迪芬德物联网科技有限公司 | Intelligent circuit adjusting experiment device |
CN115760609A (en) * | 2022-11-14 | 2023-03-07 | 王育新 | Image optimization method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107945769B (en) | Ambient light intensity detection method and device, storage medium and electronic equipment | |
CN103871051B (en) | Image processing method, device and electronic equipment | |
CN109951627B (en) | Image processing method, image processing device, storage medium and electronic equipment | |
CN108701439B (en) | Image display optimization method and device | |
CN109086742A (en) | scene recognition method, scene recognition device and mobile terminal | |
US20190355122A1 (en) | Device, Method, and Graphical User Interface for Processing Document | |
CN110060213A (en) | Image processing method, device, storage medium and electronic equipment | |
CN111506758B (en) | Method, device, computer equipment and storage medium for determining article name | |
CN108898082B (en) | Picture processing method, picture processing device and terminal equipment | |
CN104580019B (en) | Network service provider method and device | |
CN110246110B (en) | Image evaluation method, device and storage medium | |
CN108921941A (en) | Image processing method, device, storage medium and electronic equipment | |
CN109086680A (en) | Image processing method, device, storage medium and electronic equipment | |
CN113316778B (en) | Equipment recommendation method and related product | |
CN108198144A (en) | Image processing method, device, storage medium and electronic equipment | |
CN106250421A (en) | A kind of method shooting process and terminal | |
CN106650570A (en) | Article finding method and terminal | |
CN108427586B (en) | Using push terminal, method and the computer readable storage medium of theme | |
CN109298912A (en) | Adjusting method, device, storage medium and the electronic equipment of subject color | |
CN108197225A (en) | Sorting technique, device, storage medium and the electronic equipment of image | |
CN111984803A (en) | Multimedia resource processing method and device, computer equipment and storage medium | |
CN108924439B (en) | Image processing method and related product | |
CN114117206A (en) | Recommendation model processing method and device, electronic equipment and storage medium | |
CN112036492B (en) | Sample set processing method, device, equipment and storage medium | |
CN108234758A (en) | Display methods, device, storage medium and the electronic equipment of application |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180622 |
|
RJ01 | Rejection of invention patent application after publication |