CN103188520A - Image adjusting method and image adjusting device - Google Patents

Image adjusting method and image adjusting device Download PDF

Info

Publication number
CN103188520A
CN103188520A CN2011104487925A CN201110448792A CN103188520A CN 103188520 A CN103188520 A CN 103188520A CN 2011104487925 A CN2011104487925 A CN 2011104487925A CN 201110448792 A CN201110448792 A CN 201110448792A CN 103188520 A CN103188520 A CN 103188520A
Authority
CN
China
Prior art keywords
pixel
image
reference information
adjustment
numbering
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011104487925A
Other languages
Chinese (zh)
Other versions
CN103188520B (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201110448792.5A priority Critical patent/CN103188520B/en
Publication of CN103188520A publication Critical patent/CN103188520A/en
Priority to HK13109679.4A priority patent/HK1182564A1/en
Application granted granted Critical
Publication of CN103188520B publication Critical patent/CN103188520B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides an image adjusting method and an image adjusting device. The method comprises the steps that an image adjusting request is received; preset adjusting reference information is queried, wherein the adjusting reference information comprises numbers for indicating an adjusting sequence of pixel points in the original image, the numbers of the pixel points with the same energy value sequencing in each line or each row of pixels are the same, and the energy value sequencing is in accordance with a sequence from small to large; the corresponding pixel points of the original image are adjusted according to the sequence from small to large; and a target image in accordance with the image adjusting request is formed. According to the image adjusting method and the image adjusting device, in an image adjusting process, an image adjusting rate is increased; the calculated quantity of equipment is reduced; and the performance of the equipment is improved.

Description

A kind of image adjusting method and device
Technical field
The application relates to technical field of image processing, particularly a kind of image adjusting method and device.
Background technology
Along with the Internet epigraph quantity sharp increase, image need show at different web page areas with different sizes, also needs simultaneously to carry out real-time convergent-divergent according to user's demand.Particularly relate to a large amount of image informations in e-commerce field, and same width of cloth image need show the user with different sizes usually.Therefore, how picture size is adjusted, to satisfy internet web page to the requirement of image size, become the emphasis of research day by day.
Existing image adjusting method, usually adopt the mode of image convergent-divergent, when needs are adjusted picture size, original image is carried out corresponding computing according to the image adjustment algorithm, determine and wait to delete or pixel to be copied, then in image to be adjusted the deletion or copy these pixels, can form the target image of target size.
But, in the webpage design process, because a width of cloth original image may need to be adjusted into the target image of a plurality of different size sizes, adopt the conventional images method of adjustment, carry out all needing calling graph as adjustment algorithm, for example interpolation algorithm when image is adjusted at every turn, carry out corresponding computing.The target image quantity that obtains when needs will make image adjust speed and reduce, and increase the amount of calculation of equipment more for a long time, make equipment performance descend.
Summary of the invention
The application's technical problem to be solved provides a kind of image adjusting method, carries out image in the prior art to adjust efficient low in order to solve, and influence the technical problem of equipment performance.
The application also provides a kind of image adjusting device, in order to guarantee said method realization and application in practice.
A kind of image adjusting method comprises:
Receive image adjustment request;
The adjustment reference information that inquiry is default, described adjustment reference information comprises the numbering that is used to indicate each pixel adjustment order in the original image, the numbering of the identical pixel of energy value ordering is identical in each row or each row pixel, and the energy value ordering meets order from small to large;
According to described numbering order from small to large, the corresponding pixel points of original image is adjusted, form the target image that meets described image adjustment request.
Preferably, described adjustment reference information comprises that first adjusts reference information and the second adjustment reference information, described first adjusts the numbering that reference information comprises the pixel adjustment order that is used to indicate each row pixel in the original image, and described second adjusts reference information comprises the pixel adjustment serial number that is used to indicate each row pixel in the original image;
Then the default adjustment reference information of described inquiry is specially:
According to the target size in the described image adjustment request, inquire about first of corresponding described target size and adjust reference information and/or the second adjustment reference information.
Preferably, set in advance described first according to following method and adjust reference information:
A1, from original image, select an initial row pixel, and the pixel of selecting energy value minimum wherein is as target pixel points;
It is the candidate pixel point that B1, selection and described target pixel points are expert in the adjacent delegation with described target pixel points adjacent pixels point;
C1, from described candidate pixel point, select the pixel of energy value minimum as target pixel points;
D1, execution in step B1~step C1, each row in described pending image is all selected target pixel points;
E1, the image slot that will be formed by the target pixel points in the above-mentioned steps are defined as first energy line;
F1, in described original image, get rid of described first energy line after, execution in step A1~step e 1, all first energy lines in determining described original image;
G1, according to the energy value of pixel, calculate the energy value of each first energy line, and each first energy line sorted according to its energy value order from small to large and numbering is set;
H1, with the numbering of each the first energy line numbering as it each pixel that comprises, be saved to described first and adjust in the reference information.
Preferably, set in advance second according to following method and adjust reference information:
A2, from original image, select an initial row pixel, and the pixel of selecting energy value minimum wherein is as target pixel points;
Be the candidate pixel point with described target pixel points adjacent pixels point in the adjacent row with described target pixel points column of B2, selection;
C2, from described candidate pixel point, select the pixel of energy value minimum as target pixel points;
D2, execution in step B2~step C2, each row in described pending image are all selected target pixel points;
E2, the line that will be formed by the target pixel points in the above-mentioned steps are defined as second energy line;
F2, in described pending image, get rid of described second energy line after, execution in step A2~step e 2, all second energy lines in determining described original image;
G2, according to the energy value of pixel, calculate the energy value of each second energy line, and each second energy line sorted according to its energy value order from small to large and numbering is set;
H2, with the numbering of each the second energy line numbering as its each pixel that comprises, be saved to described second and adjust in the reference information.
Preferably, set in advance described first in the following manner and adjust reference information:
Calculate the energy value of each row pixel;
Sort and numbering is set according to the energy value order from small to large of each row pixel;
With the numbering of each the row pixel numbering as its each pixel that comprises, be saved to first and adjust in the reference information.
Preferably, set in advance described second in the following manner and adjust reference information:
Calculate the energy value of each row pixel;
Each row pixel is sorted according to energy value order from small to large and numbering is set;
The numbering of each row pixel as the numbering of its each pixel that comprises, is saved to first and adjusts in the reference information.
Preferably, calculate the energy value of each pixel in the following manner:
Described original image is carried out rim detection, calculate the first rim detection value of each pixel;
According to the preselected area in the original image, with the rim detection value of each pixel in the described preselected area, increase or reduce corresponding numerical value according to the preselected area type and obtain the edge energy value;
With the energy value of described edge energy value as each pixel in the preselected area, described rim detection value is as the energy value of removing pixel in other outer zone of preselected area in the original image.
Preferably, described according to from small to large order of numbering, the corresponding pixel points adjustment of original image is comprised:
According to numbering order from small to large, determine numbering to be adjusted and corresponding pixel to be adjusted thereof;
Adjust type according to the image in the described image adjustment request, described pixel to be adjusted is copied or deletes.
A kind of image adjusting method comprises:
Receive image and amplify request;
The adjustment reference information that inquiry is default, described adjustment reference information comprises the numbering of the adjustment order that is used to indicate the presetted pixel point in the reference picture, described reference picture amplifies pre-set dimension by original image and obtains, described presetted pixel point obtains by copying all or part of original image pixels point, and the energy value ordering of the pixel of the original image that the numbering of described presetted pixel point and this presetted pixel point are corresponding in the row or column pixel is corresponding;
According to described numbering order from small to large, the corresponding presetted pixel point in the described reference picture is adjusted, form the target image that meets described image adjustment request.
Preferably, described adjustment reference information comprises that the 3rd adjusts reference information and the 4th adjustment reference information, the described the 3rd adjusts reference information comprises and is used to indicate in its corresponding reference image the numbering of the adjustment order of presetted pixel point in each row pixel, and the described the 4th adjusts reference information comprises and be used to indicate in its corresponding reference image the adjustment of presetted pixel point numbering in proper order in each row pixel;
Then the default adjustment reference information of described inquiry is specially:
According to target size in the described image adjustment request, inquiry to should target size the 3rd adjust reference information or the 4th and adjust reference information;
Then described according to described numbering order from small to large, the corresponding presetted pixel point in the described reference picture is adjusted, form the target image that meets described image adjustment request and be specially:
According to described numbering order from small to large, the described the 3rd corresponding presetted pixel point of adjusting in reference information corresponding reference image or the 4th adjustment reference information corresponding reference image is adjusted, form the target image that meets described target size.
Preferably, obtain reference picture in the following manner in advance, and the 3rd adjustment reference information be set:
A3, according to pre-set dimension, determine in the original image that pixel copies number in each row pixel;
B3, from described original image, select an initial row pixel, select the pixel of energy value minimum wherein as target pixel points;
It is the candidate pixel point that C3, selection and described target pixel points are expert in the adjacent delegation with described target pixel points adjacent pixels point;
D3, from described candidate pixel point, select the pixel of energy value minimum as target pixel points;
E3, execution in step C3~step D3, each row in described original image is all selected target pixel points;
F3, the image slot that will be formed by the target pixel points in the above-mentioned steps are defined as first energy line;
G3, in described original image, get rid of described first energy line after, execution in step B3~step F 3, all first energy lines in determining described original image;
H3, according to the energy value of pixel, calculate the energy value of each first energy line, and according to energy value order from small to large, select to copy several and wait to copy first energy line;
I3, copy and describedly wait to copy first energy line and obtain default first energy line, form reference picture, the pixel that default first energy line is comprised is as the presetted pixel point;
J3, will wait to copy the putting in order as the putting in order and corresponding numbering is set of default first energy line of first energy line, with the numbering of described default first energy line numbering as its presetted pixel point that comprises, be saved in the 3rd adjustment reference information.
Preferably, obtain reference picture in the following manner in advance, and the 4th adjustment reference information be set:
A4, according to pre-set dimension, determine in the original image that pixel copies number in each row pixel;
B4, from described original image, select an initial row pixel, select the pixel of energy value minimum wherein as target pixel points;
Be the candidate pixel point with described target pixel points adjacent pixels point in the adjacent row with described target pixel points column of C4, selection;
D4, from described candidate pixel point, select the pixel of energy value minimum as target pixel points;
E4, execution in step C4~step D4, each row in described original image is all selected target pixel points;
F4, the image slot that will be formed by the target pixel points in the above-mentioned steps are defined as second energy line;
G4, in described original image, get rid of described second energy line after, execution in step B4~step F 4, all second energy lines in determining described original image;
H4, according to the energy value of pixel, calculate the energy value of each second energy line, and according to energy value order from small to large, select to copy several and wait to copy first energy line;
I4, copy and describedly wait to copy second energy line and obtain default second energy line, form reference picture, the pixel that default second energy line is comprised is as the presetted pixel point;
J4, will wait to copy the putting in order as the putting in order and corresponding numbering is set of default second energy line of second energy line, with the numbering of described default second energy line numbering as its presetted pixel point that comprises, be saved in the 4th adjustment reference information.
A kind of image adjusting device comprises:
Receiver module is used for receiving image adjustment request;
Enquiry module, be used for the default adjustment reference information of inquiry, described adjustment reference information comprises the numbering that is used to indicate in the original image each pixel adjustment order, and the numbering of the identical pixel of energy value ordering is identical in each row or each row pixel, and the energy value ordering meets order from small to large;
Adjusting module is used for according to described numbering order from small to large, and the corresponding pixel points of original image is adjusted, and forms the target image that meets described image adjustment request.
Preferably, described adjustment reference information comprises that first adjusts reference information and the second adjustment reference information, described first adjusts the numbering that reference information comprises the pixel adjustment order that is used to indicate each row pixel in the original image, and described second adjusts reference information comprises the pixel adjustment serial number that is used to indicate each row pixel in the original image;
Then described enquiry module specifically is used for the adjustment size according to described image adjustment request, inquires about first of corresponding described adjustment size and adjusts reference information and/or the second adjustment reference information.
Preferably, described adjusting module comprises:
Determination module is used for determining to adjust in the described image adjustment request pixel to be adjusted of size correspondence according to numbering order from small to large;
Adjust submodule, be used for adjusting type according to the image of described image adjustment request, described pixel to be adjusted is copied or deletes.
A kind of image adjusting device comprises:
Receiver module is used for receiving image and amplifies request;
Enquiry module, be used for the default adjustment reference information of inquiry, described adjustment reference information comprises the numbering of the adjustment order that is used to indicate the presetted pixel point in the reference picture, described reference picture amplifies pre-set dimension by original image and obtains, described presetted pixel point obtains by copying all or part of original image pixels point, and the energy value ordering of the pixel of the original image that the numbering of described presetted pixel point and this presetted pixel point are corresponding in the row or column pixel is corresponding;
Adjusting module is used for according to described numbering order from small to large, and the point of the presetted pixel in the described reference picture is adjusted, and forms the target image that meets described image adjustment request.
Preferably, described adjustment reference information comprises that the 3rd adjusts reference information and the 4th adjustment reference information, the described the 3rd adjusts reference information comprises and is used to indicate in its corresponding reference image the numbering of the adjustment order of presetted pixel point in each row pixel, and the described the 4th adjusts reference information comprises in its corresponding reference image of indication the adjustment numbering in proper order of presetted pixel point in each row pixel;
Then described enquiry module specifically is used for adjusting the reference information target size according to described image, inquiry to should target size the 3rd adjust reference information or the 4th and adjust reference information;
Described adjusting module specifically is used for according to described numbering order from small to large, the described the 3rd corresponding presetted pixel point of adjusting in reference information corresponding reference image or the 4th adjustment reference information corresponding reference image is adjusted, formed the target image that meets described target size.
Compared with prior art, the application comprises following advantage:
In this application, when receiving image adjustment request, at first inquire about default adjustment reference information, this adjustment reference information comprises the numbering that is used to indicate pixel adjustment order in the original image, then according to this numbering order from small to large, corresponding pixel points in the original image is adjusted, formation meets the target image of image adjustment request, owing to need not to carry out complex calculations, only needs to carry out query manipulation, can realize the image adjustment, thereby improved image and adjusted efficient, when needs obtain a plurality of different target image, can significantly reduce the amount of calculation of equipment, when improving image adjustment efficient, also improved equipment performance.
Certainly, arbitrary product of enforcement the application might not need to reach simultaneously above-described all advantages.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the present application, the accompanying drawing of required use is done to introduce simply in will describing embodiment below, apparently, accompanying drawing in describing below only is some embodiment of the application, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow chart of a kind of image adjusting method embodiment 1 of the application;
Fig. 2 is the flow chart of a kind of image adjusting method embodiment 2 of the application;
Fig. 3 is that the application first adjusts in the reference information a kind of numbering schematic diagram of each pixel correspondence of original image;
Fig. 4 is that the application second adjusts in the reference information a kind of numbering schematic diagram of each pixel correspondence of original image;
Fig. 5 is that the application first adjusts in the reference information, the another kind of each pixel correspondence of original image numbering schematic diagram;
Fig. 6 is that the application second adjusts in the reference information, the another kind of each pixel correspondence of original image numbering schematic diagram;
Fig. 7 is the flow chart of a kind of image adjusting method embodiment 3 of the application;
Fig. 8 is the flow chart of a kind of image adjusting method embodiment 4 of the application;
Fig. 9 is that the application the 3rd adjusts in the reference information a kind of numbering schematic diagram that presetted pixel point is corresponding;
Figure 10 is that the application the 4th adjusts in the reference information a kind of numbering schematic diagram that presetted pixel point is corresponding;
Figure 11 is the structural representation of a kind of image adjusting device embodiment 1 of the application;
Figure 12 is that a kind of image adjusting device of the application is implemented 2 structural representation;
Figure 13 is the structural representation of a kind of image adjusting device embodiment 3 of the application.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is clearly and completely described, obviously, described embodiment only is the application's part embodiment, rather than whole embodiment.Based on the embodiment among the application, those of ordinary skills are not making the every other embodiment that obtains under the creative work prerequisite, all belong to the scope of the application's protection.
The application can be used in numerous general or special purpose calculation element environment or the configuration.For example: personal computer, server computer, handheld device or portable set, plate equipment, multiprocessor device, comprise distributed computing environment (DCE) of above any device or equipment etc.
The application can describe in the general context of the computer executable instructions of being carried out by computer, for example program module.Usually, program module comprises the routine carrying out particular task or realize particular abstract data type, program, object, assembly, data structure etc.Also can in distributed computing environment (DCE), put into practice the application, in these distributed computing environment (DCE), be executed the task by the teleprocessing equipment that is connected by communication network.In distributed computing environment (DCE), program module can be arranged in the local and remote computer-readable storage medium that comprises memory device.
One of main thought of the application can comprise, when receiving image adjustment request, at first inquire about default adjustment reference information, this adjustment reference information comprises the numbering that is used to indicate pixel adjustment order in the original image, then according to this numbering order from small to large, corresponding pixel points in the original image is adjusted, formation meets the target image of image adjustment request, owing to need not to carry out complex calculations, only need to carry out query manipulation, can realize the image adjustment, thereby can improve image and adjust efficient, when needs obtain a plurality of different target image, can significantly reduce the amount of calculation of equipment, when improving image adjustment efficient, also improved equipment performance.
With reference to figure 1, show the flow chart of a kind of image adjusting method embodiment 1 of the application, can may further comprise the steps:
Step 101: receive image adjustment request.
When receiving image adjustment request, can adjust original image at image adjustment request, to form target image.
In the embodiment of the present application, the adjustment of image included but not limited to the processing operation that picture size is adjusted.
Image is formed by different pixels point, and its size is represented with m*n usually, represents that namely this image comprises m row pixel and the capable pixel of n, and each row pixel comprises n pixel, and each row pixel comprises m pixel.For example the image size is 640*480, and its pixel that comprises is 30720, and wherein, 640 are each pixel number of comprising of row pixel, 480 pixel numbers that comprise for each row pixel.
This image adjustment request can comprise target size, adjusts adjustment information such as type.
In actual applications, present embodiment can specifically be applied in the webpage design process, this image adjustment request can be after client receives user's indication operation, and triggering sends, adjustment information such as the target size that comprises in the described image adjustment request, adjustment type can be that the user provides, also can be that client is operated according to user's indication, from the adjustment information of preserving, obtain.
Present embodiment can also be applied to the Web page image adjustment that the display requirement according to different applications client carries out, because the different client for example browser of mobile phone, computer etc. represents the requirement difference to image, when the webpage that receives different clients when image processing server obtains request, namely trigger image adjustment request, and according to the represent requirement of different clients to image, determine adjustment information such as target size, adjustment type.
Certainly above-mentioned is exemplaryly to have introduced two kinds of image adjustment and use, and the embodiment of the present application is not limited in the above-mentioned application that Web page image is adjusted, as long as the adjustment of adopting the application's embodiment that image is carried out all should belong to the application's protection range.
Step 102: the adjustment reference information that inquiry is default, described adjustment reference information comprises the numbering that is used to indicate each pixel adjustment order in the original image, the numbering of the identical pixel of energy value ordering is identical in each row or each row pixel, and the energy value ordering meets order from small to large.
In the present embodiment, at first set in advance the adjustment reference information according to original image, this adjustment reference information comprises the numbering of corresponding each pixel, and numbering is one group of orderly identifier, and for example numbering can be 1,2,3..., also can be A, B, C... etc.Because the adjustment operation to image namely is that the pixel that image comprises is adjusted, and for example copies or delete the pixel that needs adjustment in image.
Wherein, described adjustment reference information can be to arrange at the image processing server end, and is kept in the image processing server, can preserve with document form or tabular form.After receiving image adjustment request, can from the internal memory of image processing server, obtain corresponding file or tabulation, inquire about this default adjustment reference information, to obtain the numbering of each pixel correspondence.
The image adjustment comprises the convergent-divergent of picture size, when therefore image being dwindled adjustment, numbering namely is the order that is used to indicate the pixel deletion, can determine according to numbering which pixel can preferentially be deleted in its corresponding pixel, when and for example image being amplified adjustment, namely be to be used to indicate the order that pixel copies, can determine according to numbering which pixel can preferentially be replicated in its corresponding pixel.
The setting of described adjustment reference information, the process that the numbering of each pixel also namely is set can adopt multiple mode.For guaranteeing the display effect after image is adjusted, present embodiment preferably sorts to determine the adjustment order of pixel according to the energy value of pixel, because it is the adjustment that the pixel to each row pixel or each row pixel carries out that image is adjusted essence, the number that each is gone or each row pixel is adjusted needs identical, and it is identical that therefore the pixel numbering that energy value sorts identical in each row or each row pixel is set.The energy value ordering of pixel also can be adopted multiple mode, need meet order from small to large, so that its energy value of pixel of less numbering correspondence also is less.
According to the energy value of pixel, the detailed process of adjusting reference information is set introduces in detail among the embodiment below.
Wherein, the energy value of pixel refer to can represent pixel point significance level the pixel point value, can be by image being carried out the rim detection value of the pixel that rim detection obtains, can certainly be self-defining characterizing the value of pixel significance level,
Step 103: according to described numbering order from small to large, the corresponding pixel points of original image is adjusted, formed the target image that meets described image adjustment request.
When image is adjusted, it is the adjustment of pixel to be adjusted being carried out at each row pixel or each row pixel, for example the original image of 640*480 size is reduced into the target image of 320*480 size, need be with 320 pixels of each row pixel deletion of original image.The image of 4*3 size is enlarged into the target image of 4*5 size, then needs to obtain 2 new pixels with selecting 2 pixels to copy in each row pixel of original image.
Because numbering is the adjustment order that is used to indicate original image pixels point that sets in advance, it is one group of orderly numerical value.When original image is adjusted, be that the pixel that it is corresponding is adjusted, and namely is the adjustment that the less pixel of energy value is preferentially carried out, and not influence the quality of image, can guarantee the display effect of image according to numbering order from small to large.
For example comprise five pixels in the one-row pixels, the numbering of its correspondence that arranges is respectively 2,1,4,3,5, in the time of need adjusting two pixels, then according to numbering order from small to large, then select the pixel of numbering 1 and 2 correspondences to adjust, and for example the numbering of She Zhiing is respectively B, A, D, C, E, then selects the pixel of A and B correspondence to adjust.
In actual applications, particularly in the process that webpage is designed, original image may need to be adjusted into the target image of different size size, the embodiment of the present application at first is provided for indicating the numbering of its pixel adjustment order at original image, when carrying out the image adjustment at every turn, directly reference information is adjusted in inquiry, directly its corresponding pixel adjustment is got final product according to numbering order from small to large, therefore can improve the efficient that image is adjusted, reduce the equipment operand when at every turn carrying out the image adjustment.
In the present embodiment, when receiving image adjustment request, directly inquire about the adjustment reference information that sets in advance, be identified for indicating the numbering of original image pixels point adjustment order, and according to numbering order from small to large, pixel to the original image correspondence is adjusted, and can form the target image that meets described image adjustment request.In the time need repeatedly adjusting to obtain the target image of different sizes to original image, adopt the embodiment of the present application, when this is adjusted, directly inquiry adjustment reference information gets final product, need not computing repeatedly, therefore improved the efficient that image is adjusted, reduced the amount of calculation of equipment simultaneously.
With reference to figure 2, the flow chart of a kind of image adjustment algorithm of the application embodiment 2 is shown, can may further comprise the steps:
Step 201: receive image adjustment request.
Described image adjustment request can comprise information such as target size and adjustment type.Target size refers to the size of target image, adjusts type and comprises the amplification adjustment and dwindle adjustment.
Step 202: according to the target size in the described image adjustment request, inquire about first of corresponding described adjustment size and adjust reference information and/or the second adjustment reference information, described first adjusts the numbering that reference information comprises the pixel adjustment order that is used to indicate each row pixel in the original image, and described second adjusts reference information comprises the pixel adjustment serial number that is used to indicate each row pixel in the original image.
Because the adjustment to image normally adjusts the pixel in the capable pixel of image or the pixel in the row pixel, therefore the adjustment reference information that sets in advance can comprise that first adjusts reference information and the second adjustment reference information.Adjust reference information by first and preserve the pixel adjustment numbering in proper order that is used to indicate each row pixel in the original image, preserve the pixel that is used for each row pixel of original image by the second adjustment reference information and adjust serial number.
Can determine the number that the pixel needs are adjusted in the capable pixel of original image or the row pixel according to target size.For example original image size is 4*4, and target size is 6*4, then needs two pixels in the capable pixel of original image are adjusted, and then inquires about first and adjusts reference information; If target size is 4*2, need adjust two pixels in the original image row pixel, then inquire about second and adjust reference information; If target size is 2*3, need respectively two pixels in the capable pixel of original image and a pixel in the row pixel are adjusted, then inquire about first and adjust reference information and the second adjustment reference information.
The first adjustment reference information is set can adopts multiple mode, provide first kind of possible mode below, can adopt following step to arrange in advance:
A1, from original image, select an initial row pixel, select the pixel of energy value minimum wherein as target pixel points.
Also namely according to the energy value size of each pixel in this initial row pixel, determine the pixel of pixel energy value minimum as target pixel points.
Described initial row pixel can be any delegation in the original image, preferably, can select the delegation of two ends row pixel as the initial row pixel.
Wherein, the energy value of described pixel specifically can be by image being carried out the rim detection value that rim detection obtains.
In addition, in actual applications, can also be according to user's different demands, namely the user wishes in the image which pixel need keep and is not adjusted, and which pixel can preferentially be adjusted, and comes the energy value of concrete calculating pixel point, and a kind of account form is:
At first, described original image is carried out rim detection, calculate the rim detection value of each pixel.
The rim detection value can be used for weighing pixel in the significance level of original image, and the rim detection value is more big, represents that its corresponding pixel is more important, and its computational process specifically can adopt sobel (Suo Beier) operator.Can certainly adopt difference operator, other edge detection operator such as Laplace (Laplce) operator comes the edge calculation detected value.
Secondly, according to the preselected area in the original image, with the rim detection value of each pixel in the described preselected area, increase or reduce certain numerical value according to the preselected area type and obtain the edge energy value.
The preselected area type can comprise main reserve area and less important reserve area.
The rim detection value of the pixel that comprises in the main reserve area is increased certain numerical value, preferably, the rim detection value can be increased prearranged multiple, for example increase twice or three times.
The rim detection value of the pixel that comprises in the less important reserve area is reduced certain numerical value, preferably, the rim detection value can be reduced prearranged multiple.
Wherein, the numerical value of the numerical value of increase and minimizing can be the same or different.
At last, with the energy value of described edge energy value as each pixel in the preselected area, described rim detection value is as the energy value of pixel in other zone.
It is the candidate pixel point that B1, selection and described target pixel points are expert in the adjacent delegation with described target pixel points adjacent pixels point.
Also namely at first select the one-row pixels adjacent with the capable pixel at described target pixel points place, from this row pixel, determine the candidate pixel point then, the candidate pixel point is and this target pixel points adjacent pixels point, can be adjacent with target pixel points two, and perhaps three pixels.
C1, from described candidate pixel point, select the pixel of energy value minimum as target pixel points.
With the pixel of energy value minimum in the candidate pixel point as new target pixel points.
D1, execution in step B1~step C1, each row in described pending image is all selected target pixel points.
Operation according to step B1~step C1 continues to carry out, and all selects target pixel points in each row pixel.
E1, the image slot that will be formed by the target pixel points in the above-mentioned steps are defined as first energy line.
The target pixel points of determining in each row pixel can form an image slot in original image, determine that then this image slot is first energy line.
F1, in described original image, get rid of described first energy line after, execution in step A1~step e 1, all first energy lines in determining described original image.
After getting rid of described first energy line, also namely to the original image of the pixel that do not comprise determined first energy line, continue the operation of execution in step A1~step e 1, until determining all first energy lines, also namely determine several first energy lines of pixel that every capable pixel comprises.For example the image size is m*n, then can determine m bar first energy line.
After wherein determining first first energy line, when determining the first follow-up energy line, selecting the operation of initial row pixel in the performed steps A 1 from original image can be fixed current initial row pixel, also can be again optional delegation.
G1, according to the energy value of pixel, calculate the energy value of each first energy line, and each first energy line sorted according to its energy value order from small to large and numbering is set.
The energy value that calculates first energy line specifically can be by the energy value addition of each pixel that it is comprised, itself and the energy value of value as this first energy line, also can be the mean value of the energy value of pixel that this first energy line is comprised, the energy value of this first energy line the most.
Energy value from small to large the order of each first energy line according to first energy line sorted, so each pixel that this first energy line comprises is identical with the ordering of this first energy line in all first energy lines in the energy value ordering that it is expert at.
Putting in order according to this is that first energy line arranges corresponding numbering.
H1, with the numbering of each the first energy line numbering as it each pixel that comprises, be saved to described first and adjust in the reference information.
Illustrate, suppose that original image size is 4*4, referring to Fig. 3, show first and adjust in the reference information a kind of numbering schematic diagram of each pixel correspondence of original image.Each pixel in the corresponding original image of the grid divided among this figure, numerical value is and is the set numbering of each pixel among the figure, employing be integer numerical value, numerical value has namely represented the adjustment order.Certainly, in actual applications, its pixel that comprises of image has a lot, and the application is for the convenience on describing and clear, the size of original image that has been exemplary definition.
According to the described mode of above-described embodiment the pixel numbering is set, namely represented the adjustment order of pixel, adjust the pixel to be adjusted of selective sequential according to this, be the not high pixel of significance level, therefore it is adjusted the display effect that can not influence image, the body matter that can keep image can improve and adjust the back image quality in images.
In actual applications, the above-mentioned process of determining first energy line also is the operation of steps A 1~step e 1, can adopt corresponding function calculation formula to calculate, suppose that the image size is m*n, pixel energy value E (i, j) expression, this computing formula is specially:
L x={L x(1),L x(2),…,L x(n)}={(x(j),j)|j=1,2,…,n};
x(1)=min 1≤k≤m{E(k,1)};
x(j)={i|E(i,j)=min[E(x(j-1)-1,j),E(x(j-1),j),E(x(j-1)+1,j]},j=2,3,…,n。
Can determine article one first energy line by above-mentioned formula, other first energy lines also are to carry out computing with reference to above-mentioned formula, and only the pixel of Ji Suaning does not comprise the pixel that fixed first energy line comprises.
In like manner, the described second adjustment reference information is set and also can adopts multiple mode.Provide wherein a kind of possible set-up mode below, can comprise the steps:
A2, from original image, select an initial row pixel, select the pixel of energy value minimum wherein as target pixel points.
Described initial row pixel can be any row in the original image, preferably, can select row of two ends row pixel as initial row pixel.
The calculating of the energy value of pixel can be described referring to above-described embodiment, do not repeat them here.
Be the candidate pixel point with described target pixel points adjacent pixels point in the adjacent row with described target pixel points column of B2, selection.
C2, from described candidate pixel point, select the pixel of energy value minimum as target pixel points.
D2, execution in step B2~step C2, each row in described pending image are all selected target pixel points.
E2, the line that will be formed by the target pixel points in the above-mentioned steps are defined as second energy line.
F2, in described pending image, get rid of described second energy line after, execution in step B2~step F 2, all second energy lines in determining described original image.
G2, according to the energy value of pixel, calculate the energy value of each second energy line, and each second energy line sorted according to its energy value order from small to large and numbering is set.
H2, with the numbering of each the second energy line numbering as its each pixel that comprises, be saved to described second and adjust in the reference information.
In the present embodiment, described second its difference of setting up procedure of adjusting reference information and the above-mentioned first adjustment reference information is, described second to adjust reference information be row pixel at original image, come for pixel arranges numbering, other aspects can be mutually referring to.Therefore fairly simple at the description of the described second adjustment reference information.
Illustrate, suppose that original image size is 4*4, referring to Fig. 4, show second and adjust in the reference information a kind of numbering schematic diagram of each pixel correspondence of original image.Each pixel in the corresponding original image of the grid of dividing among this figure, numerical value is and is the set numbering of each pixel among the figure, and what numbering adopted is integer numerical value, and numerical value has namely represented the adjustment order.
According to the described mode of above-described embodiment the pixel numbering is set, namely represented the adjustment order of pixel, adjust the pixel to be adjusted of selective sequential according to this, be the not high pixel of significance level, therefore it is adjusted the display effect that can not influence image, the body matter that can keep image can improve and adjust the back image quality in images.
In actual applications, the above-mentioned process of determining second energy line also is the operation of steps A 2~step e 2, can adopt corresponding function calculation formula to calculate, suppose that the image size is m*n, pixel energy value E (i, j) expression, this computing formula is specially:
L y={L y(1),L y(2),…,L y(n)}={i,y(i))|i=1,2,…,m};
y(1)=min 1≤k≤n{E(1,k)};
y(i)={j|E(i,j)=min[E(i,y(i-1)-1),E(i,x(i-1)),E(i,y(i-1)+1]},i=2,3,…,m。
Can determine article one second energy line by above-mentioned formula, other second energy lines also are to carry out computing with reference to above-mentioned formula, and only the pixel of Ji Suaning is not at the pixel that comprises that fixed second energy line comprises.
In addition, as the possible set-up mode of another kind, described first setting up procedure of adjusting reference information can comprise:
At first, calculate the energy value of each row pixel.
Concrete, can with the energy value of each pixel of comprising in each row pixel with value or the mean value energy value as each row pixel.
Secondly, sort according to the energy value order from small to large of each row pixel and numbering is set.
At last, with the numbering of each the row pixel numbering as its each pixel that comprises, be saved to first and adjust in the reference information.
Each row pixel is sorted according to energy value order from small to large, and the pixel that comprises in the row pixel is identical with the ordering of this row pixel in all row pixels in the energy value ordering that it is expert at.Therefore identical its numbering of pixel of energy value ordering is identical.
Illustrate, suppose that original image size is 4*4, referring to Fig. 5, show first and adjust in the reference information, the another kind of each pixel correspondence of original image numbering schematic diagram.Each pixel in the corresponding original image of the grid of dividing among this figure, numerical value is and is the set numbering of each pixel among the figure, and what numbering adopted is integer numerical value, and numerical value has namely represented the adjustment order.
In addition, as the possible set-up mode of another kind, described second setting up procedure of adjusting reference information can comprise:
Calculate the energy value of each row pixel.
Concrete, can with the energy value of each pixel of comprising in each row pixel with value or the mean value energy value as each row pixel.
Each row pixel is sorted according to energy value order from small to large and numbering is set.
The numbering of each row pixel as the numbering of its each pixel that comprises, is saved to first and adjusts in the reference information.
Each row pixel is sorted according to energy value order from small to large, and the pixel that comprises in the row pixel is identical with the ordering of this row pixel in all row pixels in the energy value ordering of its column.Therefore identical its numbering of pixel of energy value ordering is identical.
Illustrate, suppose that original image size is 4*4, referring to Fig. 5, show second and adjust in the reference information, the another kind of each pixel correspondence of original image numbering schematic diagram.Each pixel in the corresponding original image of the grid of dividing among this figure, numerical value is and is the set numbering of each pixel among the figure, and what numbering adopted is integer numerical value, and numerical value has namely represented the adjustment order.
Need to prove, in the present embodiment, the first adjustment reference information and second is adjusted reference information and has been provided two kinds of possible set-up modes respectively, when adjusting the arranging of reference information, the first adjustment reference information and second is adjusted reference information and all can be adopted separately first kind of set-up mode or second kind of set-up mode to arrange, also can adopt its first kind of set-up mode to arrange by the first adjustment reference information, and the second adjustment reference information adopts its second kind of set-up mode to arrange, perhaps the first adjustment reference information adopts its second kind of set-up mode to arrange, and the second adjustment reference information adopts its first kind of set-up mode to arrange.
Certainly, the described adjustment reference information of present embodiment set-up mode not only is defined in above-mentioned institute act mode.
Step 203: according to numbering order from small to large, determine numbering to be adjusted and corresponding pixel to be adjusted thereof.
According to the target size in the image adjustment request, can determine the number that pixel need be adjusted in row pixel or the row pixel.Described numbering to be adjusted refers to according to from small to large order of numbering selected to adjusting several numbering.According to this numbering to be adjusted, can determine its corresponding pixel in original image, be pixel to be adjusted.
Step 204: the adjustment type according in the described image adjustment request, copy or delete described pixel to be adjusted.
Adjust type and comprise the amplification adjustment and dwindle adjustment, if image adjustment request is that requirement is amplified image, then need to copy pixel to be adjusted, obtain new pixel; If require during image adjustment request image is dwindled, then need to delete pixel to be adjusted.
Wherein, described pixel to be adjusted is copied, can directly be pixel to be adjusted be expert at or column in either side in the both sides that are adjacent increase the pixel identical with this pixel to be adjusted.
The image adjustment may need the height to image, perhaps width, perhaps height and width are all adjusted, and wherein the adjustment to picture altitude namely is that the pixel in the row pixel of image is adjusted, and namely are that the pixel in the capable pixel of image is adjusted to the adjustment of picture traverse.
With the original image of 4*4 size, carry out image at different image adjustment requests and be adjusted into example below, describe several possible adjustment situations:
Hypothetical target is of a size of 6*4, then need two pixels in each row pixel of original image are adjusted, then inquire about first and adjust reference information, according to numbering order from small to large, choose less two and be numbered numbering to be adjusted, its corresponding pixel is pixel to be adjusted, and its deletion is got final product.
And for example, target size is 4*2, need two pixels in each row pixel of original image be copied, obtain two new pixels, then inquire about described second and adjust reference information, according to numbering order from small to large, choose less two and be numbered numbering to be adjusted, its corresponding pixel is pixel to be adjusted, and it is copied.
And for example, target size is 2*3, need respectively two pixels in each row pixel of original image and a pixel in the Ge Lie pixel are adjusted, then inquire about first respectively and adjust reference information and the second adjustment reference information, and according to numbering order from small to large, determine that first adjusts the pixel of two the less numbering correspondences in the reference information as pixel to be adjusted, second adjusts the corresponding pixel of a less numbering in the reference information as pixel to be adjusted, the pixel of determining to be adjusted is deleted get final product.
In the present embodiment, set in advance first respectively and adjust reference information and the second adjustment reference information.When receiving image adjustment request, according to the target size requirement in the request, the corresponding first adjustment reference information or second of inquiry is adjusted reference information.Adjust reference information or second numbering of adjusting in the reference information according to first then, pixel in image line pixel or the row pixel is adjusted, to obtain meeting the target image of target size, described first adjusts reference information and second, and to adjust numbering in the reference information be the setting that the energy value according to pixel carries out, display quality after the adjustment of the pixel of its representative order can guarantee image adjusted, therefore present embodiment has guaranteed the display effect of image when improving equipment performance and image adjustment efficient.
With reference to figure 7, show the flow chart of a kind of image adjusting method embodiment 3 of the application, present embodiment is to describe at the operation that image amplifies, described method can comprise:
Step 701: receive image and amplify request.
Described image amplifies request can comprise information such as target size.Target size namely refers to the size of target image.
Step 702: the adjustment reference information that inquiry is default, described adjustment reference information comprises the numbering of the adjustment order that is used to indicate the presetted pixel point in the reference picture, described reference picture amplifies pre-set dimension by original image and obtains, described presetted pixel point obtains by copying all or part of original image pixels point, and the energy value ordering of the pixel of the original image that the numbering of described presetted pixel point and this presetted pixel point are corresponding in the row or column pixel is corresponding.
Present embodiment at first amplifies original image according to pre-set dimension, forms reference picture.This pre-set dimension refers to the full-size that can amplify when original image is adjusted, its full-size that does not influence its display effect in the time of can amplifying according to original image is determined.
It is reproduction process to pixel in the original image that original image is amplified the process nature that obtains reference picture, the pixel that increases newly in original image of reference picture is the presetted pixel point, and it is to obtain by copying some or all of original image pixels point.Original image is amplified the process that pre-set dimension obtains reference picture, can be according to the ordering of the energy value of original image pixels point, determine pixel to be copied, and then this is treated that the copy pixel point copies and obtains.For example the original image size size is 300*300, and the full-size after it amplifies is 300*500, then needs 200 pixels in each row pixel of original image are copied, and resulting new pixel is the presetted pixel point.
When original image is carried out amplifieroperation, essence is the reduction operation that this reference picture is carried out in the pre-set dimension scope, therefore what set adjustment reference information comprised is the numbering that is used to indicate this presetted pixel point adjustment order, and the energy value of pixel in the row or column pixel of the original image that numbering and this presetted pixel point are corresponding sorts corresponding.
Original image is enlarged into reference picture, and corresponding adjustment reference information is set multiple mode can be arranged, can introduce in detail among the embodiment below.
Step 703: according to described numbering order from small to large, the presetted pixel point in the corresponding reference picture of described adjustment reference information is adjusted, formed the target image that meets described image adjustment request.
After inquiry adjustment reference information is known the numbering of presetted pixel point in the reference picture, can be according to this numbering order from small to large, this adjustment reference information corresponding reference image is adjusted, and namely is the adjustment that the less pixel of energy value is preferentially carried out, to obtain target image.
For example original image size is 300*300, reference picture is of a size of 300*500, if target image is of a size of 300*420, then namely be with 80 pixels of the presetted pixel point deletion in each row pixel in the reference picture, and these 80 pixels are to determine from the corresponding preset pixel according to numbering order from small to large.
In the present embodiment, when the adjustment that need amplify original image, in advance original image is amplified pre-set dimension and obtain reference picture, and the pixel for increasing newly, namely the presetted pixel point arranges to number to be saved to and adjusts in the reference information, when receiving image adjustment request, directly this adjustment reference information of inquiry according to the order of numbering, is adjusted the presetted pixel point, also namely carry out deletion action, can obtain target image.In the time need obtaining the target image of different size according to original image, adopt the embodiment of the present application, the amount of calculation of equipment in the time of can reducing each the adjustment has improved the performance that image is adjusted efficient and equipment.
With reference to figure 8, show the method for a kind of image adjusting method embodiment 4 of the application, present embodiment is to describe at the operation that image amplifies, described method can comprise:
Step 801: receive image and amplify request.
Described image amplifies request can comprise information such as target size.Target size namely refers to the size of target image.
Step 802: amplify target size in the request according to described image, inquiry to should target size the 3rd adjust reference information or the 4th and adjust reference information.The described the 3rd adjusts reference information comprises and is used to indicate in its corresponding reference image the numbering of the adjustment order of presetted pixel point in each row pixel, and the described the 4th adjusts reference information comprises and be used to indicate in its corresponding reference image the adjustment of presetted pixel point numbering in proper order in each row pixel.
It is the pixel number that increases its row pixel or row pixel that original image is amplified essence, therefore the adjustment reference information that sets in advance comprises that the 3rd adjusts reference information and the 4th adjustment reference information, and corresponding reference picture comprises that the corresponding the 3rd adjusts the reference picture of reference information and the reference picture that correspondence the 4th is adjusted reference information.
The described the 3rd adjusts reference information comprises and is used to indicate in its corresponding reference image the numbering of the adjustment order of presetted pixel point in each row pixel, and the described the 4th adjusts reference information comprises and be used to indicate in its corresponding reference image the adjustment of presetted pixel point numbering in proper order in each row pixel.
Wherein, the setting of the 3rd adjustment reference information and the formation of corresponding reference image thereof can be adopted multiple mode, provide its a kind of possible set-up mode below, can may further comprise the steps:
A3, according to pre-set dimension, determine in the original image that pixel copies number in each row pixel.
Pre-set dimension is the full-size of the reference picture of the formation after original image amplifies.Copy number and refer to that original image amplifies the pixel number that need adjust when forming reference picture, for example original image size is 8*8, pre-set dimension is 12*8, and then to copy number be 4 to pixel, need select 4 pixels copy to obtain 4 new pixels from each row pixel.
B3, from described original image, select an initial row pixel, select the pixel of energy value minimum wherein as target pixel points.
It is the candidate pixel point that C3, selection and described target pixel points are expert in the adjacent delegation with described target pixel points adjacent pixels point;
D3, from described candidate pixel point, select the pixel of energy value minimum as target pixel points;
E3, execution in step C3~step D3, each row in described original image is all selected target pixel points;
F3, the image slot that will be formed by the target pixel points in the above-mentioned steps are defined as second energy line;
G3, in described original image, get rid of described first energy line after, execution in step B3~step F 3, all first energy lines in determining described original image.
The operation of step B3~step G3 can not repeat them here referring to the operation of 1 execution of steps A 1~step F in above-described embodiment 2.
H3, according to the energy value of pixel, calculate the energy value of each first energy line, and according to the energy value order from small to large of first energy line, select to copy several and wait to copy first energy line.
The energy value computational process of first energy line in the energy value computational process of first energy line and above-described embodiment is identical, and detailed process can be described referring to embodiment 2.
Waiting to copy first energy line is the first less energy line of energy value in all first energy lines.
I3, copy and describedly wait to copy first energy line and obtain default first energy line, form reference picture, the pixel that default first energy line is comprised is as the presetted pixel point.
Copying described first energy line of waiting to copy, also is to wait to copy the pixel that first energy line comprises and copy described, and the resulting first new energy line is default first energy line, and the pixel that described default first energy line comprises is the presetted pixel point.The described process of waiting to copy first energy line that copies namely is that either side in the both sides of will wait to be adjacent during copying the included pixel of first energy line is expert at increases the pixel identical with it, namely obtains target pixel points, the formation reference picture.
Formed reference picture is to select the first lower energy line of energy value to copy from original image to obtain, and therefore can guarantee the display effect of reference picture, makes to the body matter influence of amplifying the back image little.
J3, will wait to copy the putting in order as the putting in order and corresponding numbering is set of default first energy line of first energy line, with the numbering of described default first energy line numbering as its presetted pixel point that comprises, be saved in the 3rd adjustment reference information.
For example, certain delegation's pixel packets is drawn together four pixels, the energy value ordering of its place first energy line is 4,1,2,3, suppose to treat that the copy pixel point has 2 in each row, then selecting puts in order is that first energy line at 1 and 2 pixel place copies and obtains default first energy line, forms reference picture.Then clooating sequence is that the numbering of the first energy line corresponding preset, first energy line at 1 pixel place can be set to 1, and the numbering of all presetted pixel points that it is included is 1; Putting in order is that the numbering of the first energy line corresponding preset, first energy line at 2 pixel place can be set to 2, and the numbering of all presetted pixel points that it comprises is 2, and numbering also can be with A and B certainly, and perhaps other have numerical sequence to represent.
Suppose that original image size is 4*4, the pre-set dimension of reference picture is 6*4, referring to Fig. 9, shows the 3rd and adjusts in the reference information a kind of numbering schematic diagram that presetted pixel point is corresponding.Each pixel in the corresponding reference picture of the grid divided among this figure, the grid correspondence pixel to be copied of dash area among the figure, the grid that numbering is set is the corresponding preset pixel, employing be integer numerical value, numerical value has namely represented the adjustment order.
Wherein, the setting of the 4th adjustment reference information and the formation of corresponding reference image thereof can be adopted multiple mode, provide wherein a kind of possible set-up mode below, can may further comprise the steps:
A4, according to pre-set dimension, determine in the original image that pixel copies number in each row pixel.
B4, from described original image, select an initial row pixel, select the pixel of energy value minimum wherein as target pixel points.
Be the candidate pixel point with described target pixel points adjacent pixels point in the adjacent row with described target pixel points column of C4, selection.
D4, from described candidate pixel point, select the pixel of energy value minimum as target pixel points;
E4, execution in step C4~step D4, each row in described original image is all selected target pixel points.
F4, the image slot that will be formed by the target pixel points in the above-mentioned steps are defined as second energy line.
G4, in described original image, get rid of described second energy line after, execution in step B4~step F 4, all second energy lines in determining described original image.
H4, according to the energy value of pixel, calculate the energy value of each second energy line, and according to energy value order from small to large, select to copy several and wait to copy first energy line.
I4, copy and describedly wait to copy second energy line and obtain default second energy line, form reference picture, the pixel that default second energy line is comprised is as the presetted pixel point.
J4, will wait to copy the putting in order as the putting in order and corresponding numbering is set of default second energy line of second energy line, with the numbering of described default second energy line numbering as its presetted pixel point that comprises, be saved in the 4th adjustment reference information.
In the present embodiment, the described the 4th adjusts reference information and corresponding reference image and the above-mentioned the 3rd its difference of setting up procedure of adjusting reference information and corresponding reference image thereof thereof is, described the 4th adjustment reference information is the row pixel at reference picture, come for the presetted pixel point arranges numbering, other aspects can be mutually referring to.Therefore fairly simple at the description of described the 4th adjustment reference information.
Illustrate, suppose that original image size is 4*4, the pre-set dimension of reference picture is 4*6, referring to Figure 10, shows the 4th and adjusts in the reference information a kind of numbering schematic diagram that presetted pixel point is corresponding.Each pixel in the corresponding reference picture of the grid of dividing among this figure, the grid correspondence pixel to be copied of dash area among the figure, the grid that numbering is set is the corresponding preset pixel, and what numbering adopted is integer numerical value, and numerical value has namely represented the adjustment order.
Wherein, the described the 3rd adjusts reference information and corresponding reference image thereof, can also obtain according to the possible set-up mode of another kind, as described below:
At first according to pre-set dimension, determine in the original image that pixel copies number in each row pixel.
Calculate the energy value of each row pixel in the original image then, and according to the row pixel energy value order from small to large, selection copies several capable pixels to be copied, in original image, copy the copy pixel point for the treatment of that comprises in the capable pixel described to be copied and obtain the presetted pixel point, form reference picture.
Treat pixel that copy pixel point is expert at all row putting in order in pixels according to presetted pixel point is corresponding, for described presetted pixel point arranges numbering to putting in order, be saved to the 3rd and adjust in the reference information.
Wherein, the described the 4th adjusts reference information and corresponding reference image thereof, can also obtain according to the possible set-up mode of another kind, as described below:
At first according to pre-set dimension, determine in the original image that pixel copies number in each row pixel.
Calculate the energy value of each row pixel in the original image then, and according to the energy value order from small to large of row pixel, selection copies several row pixels to be copied, in original image, copy the copy pixel point for the treatment of that comprises in the row pixel described to be copied and obtain the presetted pixel point, form reference picture.
Treat copy pixel point column pixel putting in order in all row pixels according to presetted pixel point is corresponding, for described presetted pixel point arranges numbering to putting in order, be saved to the 4th and adjust in the reference information.
Step 803: according to described numbering order from small to large, the described the 3rd corresponding presetted pixel point of adjusting in reference information corresponding reference image or the 4th adjustment reference information corresponding reference image is adjusted, formed the target image that meets described target size.
When according to target size, inquiry be the 3rd when adjusting reference information, then at first determine the adjustment number of the presetted pixel point that needs are adjusted in every capable pixel according to target size; Secondly according to numbering order from small to large, determine to adjust several numberings to be adjusted; Adjust in the reference information corresponding reference image the described the 3rd then, determine the corresponding pixel to be adjusted of described numbering to be adjusted; With the pixel deletion to be adjusted in this reference picture, can obtain target image afterwards.
When according to target size, inquiry be the 4th when adjusting reference information, then at first determine the adjustment number of the presetted pixel point that needs are adjusted in every row pixel according to target size; Secondly according to numbering order from small to large, determine to adjust several numberings to be adjusted; Adjust in the reference information corresponding reference image the described the 4th then, determine the corresponding pixel to be adjusted of described numbering to be adjusted; With the pixel deletion to be adjusted in this reference picture, can obtain target image afterwards.
In the present embodiment, set in advance the 3rd respectively and adjust reference information and the 4th adjustment reference information and corresponding reference image thereof.When receiving image amplification request, according to the target size requirement in the request, corresponding the 3rd adjustment reference information or the 4th of inquiry is adjusted reference information.Adjust reference information or the 4th numbering of adjusting in the reference information according to the 3rd then, pixel in the reference picture is deleted to obtain meeting the target image of target size, the described the 3rd adjusts reference information and the 4th, and to adjust numbering in the reference information be the setting that the energy value according to pixel carries out, display quality after the adjustment of the pixel of its representative order can guarantee image adjusted, therefore present embodiment has guaranteed the display effect of image when improving equipment performance and image adjustment efficient.
For aforesaid each method embodiment, for simple description, so it all is expressed as a series of combination of actions, but those skilled in the art should know, the application is not subjected to the restriction of described sequence of movement, because according to the application, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in the specification all belongs to preferred embodiment, and related action and module might not be that the application is necessary.
Corresponding with the method that a kind of image adjusting method embodiment 1 of above-mentioned the application provides, with reference to Figure 11, the application also provides a kind of image device embodiment 1, and in the present embodiment, this device can comprise:
Receiver module 1101 is used for receiving image adjustment request.
In the practical application that Web page image is adjusted, described receiver module 1101 can be that the client that receives triggers the image adjustment request that sends, and also can be that the image processing server that receives triggers the image adjustment request that sends.
Enquiry module 1102, be used for the default adjustment reference information of inquiry, described adjustment reference information comprises the numbering that is used to indicate each pixel adjustment order in the original image, the numbering of the identical pixel of energy value ordering is identical in each row or each row pixel, and the energy value ordering meets order from small to large.
Default adjustment reference information can adopt multiple mode, specifically can not repeat them here referring to described in the method embodiment.
After the adjustment reference information that should preset set, described device can also comprise the preservation module, was used for preserving this default adjustment reference information.
When the described device of present embodiment can be integrated in the image processing server, this adjustment reference information can specifically be kept in the internal memory of image processing server, and described preservation module also namely refers to the internal memory of server.
Adjusting module 1103 is used for according to described numbering order from small to large, and the corresponding pixel points of original image is adjusted, and forms the target image that meets described image adjustment request.
In the present embodiment, when receiving image adjustment request, the default adjustment reference information of first-selected inquiry, be identified for indicating the numbering of original image pixels point adjustment order, and according to numbering order from small to large, pixel to the original image correspondence is adjusted, and can form the target image that meets described image adjustment request.In the time need repeatedly adjusting to obtain the target image of different sizes to original image, adopt the embodiment of the present application, when this is adjusted, directly inquiry adjustment reference information gets final product, need not computing repeatedly, therefore improved the efficient that image is adjusted, reduced the amount of calculation of equipment simultaneously.
Corresponding with the method that a kind of image adjusting method embodiment 2 of above-mentioned the application provides, with reference to Figure 12, the application also provides a kind of image device embodiment 1, and in the present embodiment, this device can comprise:
Receiver module 1201 is used for receiving image adjustment request.
Enquiry module 1202, be used for the target size according to described image adjustment request, inquire about first of corresponding described adjustment size and adjust reference information and/or the second adjustment reference information, described first adjusts the numbering that reference information comprises the pixel adjustment order that is used to indicate each row pixel in the original image, and described second adjusts reference information comprises the pixel adjustment serial number that is used to indicate each row pixel in the original image.
Because the adjustment to image normally adjusts the pixel in the capable pixel of image or the pixel in the row pixel, therefore the adjustment reference information that sets in advance can comprise that first adjusts reference information and the second adjustment reference information.Adjust reference information by first and preserve the pixel adjustment numbering in proper order that is used to indicate each row pixel in the original image, preserve the pixel that is used for each row pixel of original image by the second adjustment reference information and adjust serial number.
The default first adjustment reference information or second is adjusted its set-up mode of reference information and can be adopted multiple mode, specifically can not repeat them here referring to described in the method embodiment.
Determination module 1203 is used for determining numbering to be adjusted and corresponding pixel to be adjusted thereof according to numbering order from small to large.
Adjust submodule 1204, be used for the adjustment type according to described image adjustment request, described pixel to be adjusted is copied or deletes.
In the present embodiment, set in advance first respectively and adjust reference information and the second adjustment reference information.When receiving image adjustment request, according to the target size requirement in the request, the corresponding first adjustment reference information or second of inquiry is adjusted reference information.Adjust reference information or second numbering of adjusting in the reference information according to first then, pixel in image line pixel or the row pixel is adjusted, to obtain meeting the target image of target size, described first adjusts reference information and second, and to adjust numbering in the reference information be the setting that the energy value according to pixel carries out, display quality after the adjustment of the pixel of its representative order can guarantee image adjusted, therefore present embodiment has guaranteed the display effect of image when improving equipment performance and image adjustment efficient.
The application also provides a kind of image adjusting device embodiment 3, shows its structural representation with reference to Figure 13, and described device can comprise:
Receiver module 1301 is used for receiving image and amplifies request.
Described image amplifies request can comprise information such as target size.Target size namely refers to the size of target image.
Enquiry module 1302, be used for the default adjustment reference information of inquiry, described adjustment reference information comprises the numbering of the adjustment order that is used to indicate the presetted pixel point in the reference picture, described reference picture amplifies pre-set dimension by original image and obtains, described presetted pixel point obtains by copying all or part of original image pixels point, and the energy value ordering of the pixel of the original image that the numbering of described presetted pixel point and this presetted pixel point are corresponding in the row or column pixel is corresponding.
It is the pixel number that increases its row pixel or row pixel that original image is amplified essence, therefore the adjustment reference information that sets in advance comprises that the 3rd adjusts reference information and the 4th adjustment reference information, and corresponding reference picture comprises that the corresponding the 3rd adjusts the reference picture of reference information and the reference picture that correspondence the 4th is adjusted reference information.
The described the 3rd adjusts reference information comprises and is used to indicate in its corresponding reference image the numbering of the adjustment order of presetted pixel point in each row pixel, and the described the 4th adjusts reference information comprises and be used to indicate in its corresponding reference image the adjustment of presetted pixel point numbering in proper order in each row pixel.
Therefore described enquiry module specifically is used for amplifying according to described image the target size of request, inquiry to should target size the 3rd adjust reference information or the 4th and adjust reference information.The described the 3rd adjusts reference information comprises and is used to indicate in its corresponding reference image the numbering of the adjustment order of presetted pixel point in each row pixel, and the described the 4th adjusts reference information comprises and be used to indicate in its corresponding reference image the adjustment of presetted pixel point numbering in proper order in each row pixel.
Wherein, the 3rd concrete set-up mode of adjusting reference information or the 4th adjustment reference information can not repeat them here referring to described in the method embodiment.
Adjusting module 1303 is used for according to described numbering order from small to large, and the point of the presetted pixel in the described reference picture is adjusted, and forms the target image that meets described image adjustment request.
Adjust reference information and comprise that the 3rd adjusts reference information or the 4th adjustment reference information, then described adjusting module can specifically be used for according to described numbering order from small to large, the described the 3rd corresponding presetted pixel point of adjusting in reference information corresponding reference image or the 4th adjustment reference information corresponding reference image is adjusted, formed the target image that meets described target size
In the present embodiment, set in advance the 3rd respectively and adjust reference information and the 4th adjustment reference information and corresponding reference image thereof.When receiving image amplification request, according to the target size requirement in the request, corresponding the 3rd adjustment reference information or the 4th of inquiry is adjusted reference information.Adjust reference information or the 4th numbering of adjusting in the reference information according to the 3rd then, pixel in the reference picture is deleted to obtain meeting the target image of target size, the described the 3rd adjusts reference information and the 4th, and to adjust numbering in the reference information be the setting that the energy value according to pixel carries out, display quality after the adjustment of the pixel of its representative order can guarantee image adjusted, therefore present embodiment has guaranteed the display effect of image when improving equipment performance and image adjustment efficient.
The described device of present embodiment can be integrated on the server of picture processing, described server can be corresponding web server etc., also can link to each other with image processing server as an entity separately, in addition, need to prove, when the described method of the application adopts software to realize, can be used as a newly-increased function of image processing server, can write corresponding program separately, the application does not limit the implementation of described method or device yet.
Need to prove that each embodiment in this specification all adopts the mode of going forward one by one to describe, what each embodiment stressed is and the difference of other embodiment that identical similar part is mutually referring to getting final product between each embodiment.For device class embodiment, because it is similar substantially to method embodiment, so description is fairly simple, relevant part gets final product referring to the part explanation of method embodiment.
At last, also need to prove, in this article, relational terms such as first and second grades only is used for an entity or operation are made a distinction with another entity or operation, and not necessarily requires or hint and have the relation of any this reality or in proper order between these entities or the operation.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby make and comprise that process, method, article or the equipment of a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or also be included as the intrinsic key element of this process, method, article or equipment.Do not having under the situation of more restrictions, the key element that is limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
For the convenience of describing, be divided into various unit with function when describing above the device and describe respectively.Certainly, when implementing the application, can in same or a plurality of softwares and/or hardware, realize the function of each unit.
As seen through the above description of the embodiments, those skilled in the art can be well understood to the application and can realize by the mode that software adds essential general hardware platform.Based on such understanding, the part that the application's technical scheme contributes to prior art in essence in other words can embody with the form of software product, this computer software product can be stored in the storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of some part of each embodiment of the application or embodiment.
More than a kind of search method, Apparatus and system that the application is provided be described in detail, used specific case herein the application's principle and execution mode are set forth, the explanation of above embodiment just is used for helping to understand the application's method and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to the application's thought, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as the restriction to the application.

Claims (17)

1. an image adjusting method is characterized in that, comprising:
Receive image adjustment request;
The adjustment reference information that inquiry is default, described adjustment reference information comprises the numbering that is used to indicate each pixel adjustment order in the original image, the numbering of the identical pixel of energy value ordering is identical in each row or each row pixel, and the energy value ordering meets order from small to large;
According to described numbering order from small to large, the corresponding pixel points of original image is adjusted, form the target image that meets described image adjustment request.
2. method according to claim 1, it is characterized in that, described adjustment reference information comprises that first adjusts reference information and the second adjustment reference information, described first adjusts the numbering that reference information comprises the pixel adjustment order that is used to indicate each row pixel in the original image, and described second adjusts reference information comprises the pixel adjustment serial number that is used to indicate each row pixel in the original image;
Then the default adjustment reference information of described inquiry is specially:
According to the target size in the described image adjustment request, inquire about first of corresponding described target size and adjust reference information and/or the second adjustment reference information.
3. method according to claim 2 is characterized in that, sets in advance described first according to following method and adjusts reference information:
A1, from original image, select an initial row pixel, and the pixel of selecting energy value minimum wherein is as target pixel points;
It is the candidate pixel point that B1, selection and described target pixel points are expert in the adjacent delegation with described target pixel points adjacent pixels point;
C1, from described candidate pixel point, select the pixel of energy value minimum as target pixel points;
D1, execution in step B1~step C1, each row in described pending image is all selected target pixel points;
E1, the image slot that will be formed by the target pixel points in the above-mentioned steps are defined as first energy line;
F1, in described original image, get rid of described first energy line after, execution in step A1~step e 1, all first energy lines in determining described original image;
G1, according to the energy value of pixel, calculate the energy value of each first energy line, and each first energy line sorted according to its energy value order from small to large and numbering is set;
H1, with the numbering of each the first energy line numbering as it each pixel that comprises, be saved to described first and adjust in the reference information.
4. method according to claim 2 is characterized in that, sets in advance second according to following method and adjusts reference information:
A2, from original image, select an initial row pixel, and the pixel of selecting energy value minimum wherein is as target pixel points;
Be the candidate pixel point with described target pixel points adjacent pixels point in the adjacent row with described target pixel points column of B2, selection;
C2, from described candidate pixel point, select the pixel of energy value minimum as target pixel points;
D2, execution in step B2~step C2, each row in described pending image are all selected target pixel points;
E2, the line that will be formed by the target pixel points in the above-mentioned steps are defined as second energy line;
F2, in described pending image, get rid of described second energy line after, execution in step A2~step e 2, all second energy lines in determining described original image;
G2, according to the energy value of pixel, calculate the energy value of each second energy line, and each second energy line sorted according to its energy value order from small to large and numbering is set;
H2, with the numbering of each the second energy line numbering as its each pixel that comprises, be saved to described second and adjust in the reference information.
5. method according to claim 2 is characterized in that, sets in advance described first in the following manner and adjusts reference information:
Calculate the energy value of each row pixel;
Sort and numbering is set according to the energy value order from small to large of each row pixel;
With the numbering of each the row pixel numbering as its each pixel that comprises, be saved to first and adjust in the reference information.
6. method according to claim 2 is characterized in that, sets in advance described second in the following manner and adjusts reference information:
Calculate the energy value of each row pixel;
Each row pixel is sorted according to energy value order from small to large and numbering is set;
The numbering of each row pixel as the numbering of its each pixel that comprises, is saved to first and adjusts in the reference information.
7. according to each described method of claim 1~6, it is characterized in that, calculate the energy value of each pixel in the following manner:
Described original image is carried out rim detection, calculate the first rim detection value of each pixel;
According to the preselected area in the original image, with the rim detection value of each pixel in the described preselected area, increase or reduce corresponding numerical value according to the preselected area type and obtain the edge energy value;
With the energy value of described edge energy value as each pixel in the preselected area, described rim detection value is as the energy value of removing pixel in other outer zone of preselected area in the original image.
8. method according to claim 1 is characterized in that, and is described according to from small to large order of numbering, and the corresponding pixel points adjustment of original image is comprised:
According to numbering order from small to large, determine numbering to be adjusted and corresponding pixel to be adjusted thereof;
Adjust type according to the image in the described image adjustment request, described pixel to be adjusted is copied or deletes.
9. an image adjusting method is characterized in that, comprising:
Receive image and amplify request;
The adjustment reference information that inquiry is default, described adjustment reference information comprises the numbering of the adjustment order that is used to indicate the presetted pixel point in the reference picture, described reference picture amplifies pre-set dimension by original image and obtains, described presetted pixel point obtains by copying all or part of original image pixels point, and the energy value ordering of the pixel of the original image that the numbering of described presetted pixel point and this presetted pixel point are corresponding in the row or column pixel is corresponding;
According to described numbering order from small to large, the corresponding presetted pixel point in the described reference picture is adjusted, form the target image that meets described image adjustment request.
10. method according to claim 9, it is characterized in that, described adjustment reference information comprises that the 3rd adjusts reference information and the 4th adjustment reference information, the described the 3rd adjusts reference information comprises and is used to indicate in its corresponding reference image the numbering of the adjustment order of presetted pixel point in each row pixel, and the described the 4th adjusts reference information comprises and be used to indicate in its corresponding reference image the adjustment of presetted pixel point numbering in proper order in each row pixel;
Then the default adjustment reference information of described inquiry is specially:
Amplify target size in the request according to described image, inquiry to should target size the 3rd adjust reference information or the 4th and adjust reference information;
Then described according to described numbering order from small to large, the corresponding presetted pixel point in the described reference picture is adjusted, form the target image that meets described image adjustment request and be specially:
According to described numbering order from small to large, the described the 3rd corresponding presetted pixel point of adjusting in reference information corresponding reference image or the 4th adjustment reference information corresponding reference image is adjusted, form the target image that meets described target size.
11. method according to claim 10 is characterized in that, obtains reference picture in the following manner in advance, and the 3rd adjustment reference information is set:
A3, according to pre-set dimension, determine in the original image that pixel copies number in each row pixel;
B3, from described original image, select an initial row pixel, select the pixel of energy value minimum wherein as target pixel points;
It is the candidate pixel point that C3, selection and described target pixel points are expert in the adjacent delegation with described target pixel points adjacent pixels point;
D3, from described candidate pixel point, select the pixel of energy value minimum as target pixel points;
E3, execution in step C3~step D3, each row in described original image is all selected target pixel points;
F3, the image slot that will be formed by the target pixel points in the above-mentioned steps are defined as first energy line;
G3, in described original image, get rid of described first energy line after, execution in step B3~step F 3, all first energy lines in determining described original image;
H3, according to the energy value of pixel, calculate the energy value of each first energy line, and according to energy value order from small to large, select to copy several and wait to copy first energy line;
I3, copy and describedly wait to copy first energy line and obtain default first energy line, form reference picture, the pixel that default first energy line is comprised is as the presetted pixel point;
J3, will wait to copy the putting in order as the putting in order and corresponding numbering is set of default first energy line of first energy line, with the numbering of described default first energy line numbering as its presetted pixel point that comprises, be saved in the 3rd adjustment reference information.
12. method according to claim 10 is characterized in that, obtains reference picture in the following manner in advance, and the 4th adjustment reference information is set:
A4, according to pre-set dimension, determine in the original image that pixel copies number in each row pixel;
B4, from described original image, select an initial row pixel, select the pixel of energy value minimum wherein as target pixel points;
Be the candidate pixel point with described target pixel points adjacent pixels point in the adjacent row with described target pixel points column of C4, selection;
D4, from described candidate pixel point, select the pixel of energy value minimum as target pixel points;
E4, execution in step C4~step D4, each row in described original image is all selected target pixel points;
F4, the image slot that will be formed by the target pixel points in the above-mentioned steps are defined as second energy line;
G4, in described original image, get rid of described second energy line after, execution in step B4~step F 4, all second energy lines in determining described original image;
H4, according to the energy value of pixel, calculate the energy value of each second energy line, and according to energy value order from small to large, select to copy several and wait to copy first energy line;
I4, copy and describedly wait to copy second energy line and obtain default second energy line, form reference picture, the pixel that default second energy line is comprised is as the presetted pixel point;
J4, will wait to copy the putting in order as the putting in order and corresponding numbering is set of default second energy line of second energy line, with the numbering of described default second energy line numbering as its presetted pixel point that comprises, be saved in the 4th adjustment reference information.
13. an image adjusting device is characterized in that, comprising:
Receiver module is used for receiving image adjustment request;
Enquiry module, be used for the default adjustment reference information of inquiry, described adjustment reference information comprises the numbering that is used to indicate in the original image each pixel adjustment order, and the numbering of the identical pixel of energy value ordering is identical in each row or each row pixel, and the energy value ordering meets order from small to large;
Adjusting module is used for according to described numbering order from small to large, and the corresponding pixel points of original image is adjusted, and forms the target image that meets described image adjustment request.
14. device according to claim 13, it is characterized in that, described adjustment reference information comprises that first adjusts reference information and the second adjustment reference information, described first adjusts the numbering that reference information comprises the pixel adjustment order that is used to indicate each row pixel in the original image, and described second adjusts reference information comprises the pixel adjustment serial number that is used to indicate each row pixel in the original image;
Then described enquiry module specifically is used for the adjustment size according to described image adjustment request, inquires about first of corresponding described adjustment size and adjusts reference information and/or the second adjustment reference information.
15. device according to claim 13 is characterized in that, described adjusting module comprises:
Determination module is used for determining to adjust in the described image adjustment request pixel to be adjusted of size correspondence according to numbering order from small to large;
Adjust submodule, be used for adjusting type according to the image of described image adjustment request, described pixel to be adjusted is copied or deletes.
16. an image adjusting device is characterized in that, comprising:
Receiver module is used for receiving image and amplifies request;
Enquiry module, be used for the default adjustment reference information of inquiry, described adjustment reference information comprises the numbering of the adjustment order that is used to indicate the presetted pixel point in the reference picture, described reference picture amplifies pre-set dimension by original image and obtains, described presetted pixel point obtains by copying all or part of original image pixels point, and the energy value ordering of the pixel of the original image that the numbering of described presetted pixel point and this presetted pixel point are corresponding in the row or column pixel is corresponding;
Adjusting module is used for according to described numbering order from small to large, and the point of the presetted pixel in the described reference picture is adjusted, and forms the target image that meets described image adjustment request.
17. device according to claim 16, it is characterized in that, described adjustment reference information comprises that the 3rd adjusts reference information and the 4th adjustment reference information, the described the 3rd adjusts reference information comprises and is used to indicate in its corresponding reference image the numbering of the adjustment order of presetted pixel point in each row pixel, and the described the 4th adjusts reference information comprises in its corresponding reference image of indication the adjustment numbering in proper order of presetted pixel point in each row pixel;
Then described enquiry module specifically is used for amplifying the request target size according to described image, inquiry to should target size the 3rd adjust reference information or the 4th and adjust reference information;
Described adjusting module specifically is used for according to described numbering order from small to large, the described the 3rd corresponding presetted pixel point of adjusting in reference information corresponding reference image or the 4th adjustment reference information corresponding reference image is adjusted, formed the target image that meets described target size.
CN201110448792.5A 2011-12-28 2011-12-28 A kind of image adjusting method and device Active CN103188520B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110448792.5A CN103188520B (en) 2011-12-28 2011-12-28 A kind of image adjusting method and device
HK13109679.4A HK1182564A1 (en) 2011-12-28 2013-08-20 Method and device for image adjustment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110448792.5A CN103188520B (en) 2011-12-28 2011-12-28 A kind of image adjusting method and device

Publications (2)

Publication Number Publication Date
CN103188520A true CN103188520A (en) 2013-07-03
CN103188520B CN103188520B (en) 2016-08-03

Family

ID=48679436

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110448792.5A Active CN103188520B (en) 2011-12-28 2011-12-28 A kind of image adjusting method and device

Country Status (2)

Country Link
CN (1) CN103188520B (en)
HK (1) HK1182564A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106254721A (en) * 2015-06-10 2016-12-21 株式会社东芝 Image data reception device
CN110996132A (en) * 2019-12-26 2020-04-10 合肥道正企智大数据有限公司 Video image splitting, encrypting and transmitting method, device and system
CN111627089A (en) * 2020-07-30 2020-09-04 深圳诚一信科技有限公司 User head portrait picture processing method, device and system and readable storage medium
CN114972111A (en) * 2022-06-16 2022-08-30 慧之安信息技术股份有限公司 Dense crowd counting method based on GAN image restoration
WO2023125500A1 (en) * 2021-12-28 2023-07-06 北京字跳网络技术有限公司 Image processing method and apparatus, electronic device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420508A (en) * 2008-12-02 2009-04-29 西安交通大学 Content related image scaling method
CN101777175A (en) * 2008-07-31 2010-07-14 奥多比公司 Seam-based reduction and expansion of images with color-weighted priority
US20110115942A1 (en) * 2009-09-18 2011-05-19 Teppei Kurita Image processing device, imaging apparatus, imaging processing method, and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101777175A (en) * 2008-07-31 2010-07-14 奥多比公司 Seam-based reduction and expansion of images with color-weighted priority
CN101420508A (en) * 2008-12-02 2009-04-29 西安交通大学 Content related image scaling method
US20110115942A1 (en) * 2009-09-18 2011-05-19 Teppei Kurita Image processing device, imaging apparatus, imaging processing method, and program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106254721A (en) * 2015-06-10 2016-12-21 株式会社东芝 Image data reception device
CN106254721B (en) * 2015-06-10 2020-04-17 株式会社东芝 Image data receiving apparatus
CN110996132A (en) * 2019-12-26 2020-04-10 合肥道正企智大数据有限公司 Video image splitting, encrypting and transmitting method, device and system
CN111627089A (en) * 2020-07-30 2020-09-04 深圳诚一信科技有限公司 User head portrait picture processing method, device and system and readable storage medium
WO2023125500A1 (en) * 2021-12-28 2023-07-06 北京字跳网络技术有限公司 Image processing method and apparatus, electronic device and storage medium
CN114972111A (en) * 2022-06-16 2022-08-30 慧之安信息技术股份有限公司 Dense crowd counting method based on GAN image restoration

Also Published As

Publication number Publication date
HK1182564A1 (en) 2013-11-29
CN103188520B (en) 2016-08-03

Similar Documents

Publication Publication Date Title
US11514045B2 (en) Structured cluster execution for data streams
CN103188520A (en) Image adjusting method and image adjusting device
DE112020004625T5 (en) TRANSPOSED CONVOLUTION WITH SYSTOLIC ARRAY
DE112020003128T5 (en) DILATED CONVOLUTION WITH SYSTOLIC ARRAY
US20180300859A1 (en) Creating a blurred area for an image to reuse for minimizing blur operations
US20160062585A1 (en) Managing objects in panorama display to navigate spreadsheet
US10186022B2 (en) System and method for adaptive pixel filtering
WO2015006061A1 (en) Salient sampling for query size estimation
JP7165018B2 (en) Information processing device, information processing method
CN103823639A (en) Method and system for migrating objects
WO2019018062A1 (en) Organizing images automatically into image grid layout
US9525818B2 (en) Automatic tuning of images based on metadata
CN107391749A (en) A kind of inquiry divides the method that table data realize waterfall stream
CN116521782A (en) Data asset map acquisition method, device, equipment, medium and product
CN110442616B (en) Page access path analysis method and system for large data volume
WO2021082652A1 (en) Information display method and apparatus, and computer-readable storage medium
CN104517273A (en) Image super-resolution processing method and apparatus
JP2021144428A (en) Data processing device and data processing method
Yoon et al. Optimized image resizing using flow-guided seam carving and an interactive genetic algorithm
CN111179175A (en) Image processing method and device based on convolutional neural network and storage medium
CN111753028B (en) Data transmission method, device, equipment and storage medium
CN107341136A (en) Generation method, generating means and the storage medium of sequence index number
CN114612320B (en) Image brightness optimization method, device, computer equipment and storage medium
CN111199144B (en) Document content altering method and device, electronic equipment and readable storage medium
CN106780327A (en) File fragmentation merging method, device and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1182564

Country of ref document: HK

C14 Grant of patent or utility model
GR01 Patent grant
REG Reference to a national code

Ref country code: HK

Ref legal event code: GR

Ref document number: 1182564

Country of ref document: HK