CN107613301A - A kind of image processing method and device - Google Patents
A kind of image processing method and device Download PDFInfo
- Publication number
- CN107613301A CN107613301A CN201710977529.2A CN201710977529A CN107613301A CN 107613301 A CN107613301 A CN 107613301A CN 201710977529 A CN201710977529 A CN 201710977529A CN 107613301 A CN107613301 A CN 107613301A
- Authority
- CN
- China
- Prior art keywords
- original image
- current
- line number
- columns
- macro block
- 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
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 15
- 238000012545 processing Methods 0.000 claims abstract description 24
- 238000000034 method Methods 0.000 claims abstract description 11
- 108010001267 Protein Subunits Proteins 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 8
- 230000006835 compression Effects 0.000 description 5
- 238000007906 compression Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 2
- UFYREEIANXVLMJ-UHFFFAOYSA-N Macroline Natural products CN1C2=CC=CC=C2C(C2)=C1C1N(C)C2C(CO)C(C(=C)C(C)=O)C1 UFYREEIANXVLMJ-UHFFFAOYSA-N 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
Landscapes
- Image Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
The invention discloses a kind of image processing method and device, wherein this method includes:Original image is obtained, original image includes the multiple original image macro blocks for being divided to obtain in advance to the original image;Handle to obtain the corresponding new images for including multiple new images macro blocks based on original image, wherein, the filling macro block that new images macro block includes original image macro block and data set in advance are 0, at least a line includes multiple original image macro blocks in new images, and each original image macro block is respectively positioned on the row behind each original image macro block that the original image macro block is relied in original image in new images.Above-mentioned technical proposal disclosed in the present application, by being handled original image to obtain new images, in new images, each original image macro block is located at the row behind each original image macro block that the original image macro block is relied on, rely between colleague's original image macro block in the absence of leu, so as to accelerate the parallel processing of WebP algorithms, shorten the time of image procossing.
Description
Technical field
The present invention relates to Image Compression field, more specifically to a kind of image processing method and device.
Background technology
WebP be Goole propose a kind of new picture compression form, due to its compression ratio is higher and by both at home and abroad it is major
Internet firm uses.
Referring to Fig. 1, it illustrates the broad flow diagram of WebP Lossy Compression Algorithms in the prior art, first have to image
Yuv data is divided into macro block, wherein, dependence between the macro block marked off being present, (i.e. there is the limit of sequencing in macroblock coding
System).Fig. 2 shows the dependency graph between the macro block included in gained image in the prior art, wherein, lateral arrows represent leu
Rely, i.e., if the data of when wanting encoding current macroblock, it is necessary to known current macro left side macro block, that is, need to ensure current macro
Left side macro block is encoded complete, corresponding diagram 1, it is necessary to which the left side macro block of current macro proceeds to renewal macro block side from macroblock prediction
After boundary (i.e. the left side macro block of current macro has been handled), the coding of current macro could be carried out;Longitudinal arrow represents that row relies on,
I.e. if the data of when wanting encoding current macroblock, it is necessary to known current macro upside macro block, that is, need to ensure the upper of current macro
Side macro block is encoded complete, similar, i.e. corresponding diagram 1 is relied with above-mentioned leu, it is necessary to which the upside macro block of current macro is pre- from macro block
Survey has proceeded to after renewal macroblock boundaries, could carry out the coding of current macro.
By above-mentioned analysis, when needing encoding current macroblock, it is necessary to ensure the left side of current macro, upside, a left side
The encoded complete coding that could carry out current macro of upside macro block.When by row coded macroblocks, rely due to leu be present, just need
To rely by leu after having handled a macro block, the macro block on the right side of the macro block could proceed by subsequent operation from macroblock prediction,
Other macro blocks are similar, and next step operation could be carried out untill all macro blocks have been handled, and this results in processing macro block
Time for being spent is long, WebP algorithm concurrencys are than relatively low.
In summary, it is used to realize that the WebP algorithms of image coding and decoding are present when handling macro block between macro block in the prior art
With strong data dependence, so as to cause image processing time is long, concurrency than it is relatively low the problem of.
The content of the invention
In view of this, it is an object of the invention to provide a kind of image processing method and device, to solve to use in the prior art
Existing when the WebP algorithms for realizing image coding and decoding are handling macro block between macro block has strong data dependence, so as to cause figure
As processing time is long, concurrency than it is relatively low the problem of.
To achieve these goals, the present invention provides following technical scheme:
A kind of image processing method, including:
Original image is obtained, the original image includes the multiple original image macro blocks for being divided to obtain in advance to the original image;
Handle to obtain the corresponding new images for including multiple new images macro blocks based on the original image, wherein, it is described new
Image macro includes the filling macro block that original image macro block and data set in advance are 0, at least a line bag in the new images
Containing multiple original image macro blocks, and each original image macro block is respectively positioned on the original image macro block described in the new images
The row behind each original image macro block relied in original image.
Preferably, handle to obtain the corresponding new images for including multiple new images macro blocks based on the original image, including:
Handle to obtain the corresponding new images for including multiple new images macro blocks based on the original image, wherein, each column is former
Image macro arranges the original included in and either rank identical with the row at the place in the original image where in the new images
Being arranged in for image macro is identical with the original image in the new images, and first row original image macro block is in the new images
In with the original image position it is identical, remaining each column original image macro block is in the new images relative in the original image
In move down a macro block than previous column original image macro block.
Preferably, handle to obtain the corresponding new images for including multiple new images macro blocks based on the original image, including:
Line number and columns based on the original image obtain corresponding new images, and the columns of the new images is equal to the original
The columns of image, the line number of the new images are equal to the columns and line number sum and 1 difference of the original image;
According to the new images by the first row to last column and in every row by first order to last according to
The secondary each new images macro block determined in the new images is current macro, judges the type of the current macro;
If the type of current macro is filling to the macro block of upper right side or filled to the macro block of lower left side, it is determined that current grand
Block is filling macro block;
If the type of current macro is original image macro block, it is determined that the data that current macro should have are in the original image
The data of corresponding original image macro block.
Preferably, the type for determining the current macro is to fill macro block or original image macro block, including:
Line number, the columns of the original image and the minimum value of 1 difference residing for the current macro are got, if described work as
Columns residing for preceding macro block is more than the minimum value, and less than or equal to the columns of the new images, it is determined that it is described current
The type of macro block is filling macro block of the filling to upper right side;
If the columns residing for the current macro is more than or equal to 0, and less than or equal to residing for the current macro
The difference of line number and the line number of the original image, it is determined that the type of the current macro is grand for the filling of filling to lower left side
Block;
If the columns residing for the current macro is more than the line number of the line number and the original image residing for the current macro
Difference, and be less than or equal to the minimum value, it is determined that the type of the current macro is original image macro block.
Preferably, original image macro block corresponding with the original image macro block in each new images in the original image is determined, is wrapped
Include:
It is determined that it is current line number that current line number, which subtracts 1, current columns adds 1 to be current columns;
The current line number for judging to obtain whether is equal to -1 or currently whether columns is equal to the columns of the new images, if working as
Preceding line number is not equal to -1 and current columns is not equal to the columns of the new images, then exports the numerical value of current line number and current columns
Numerical value, determine the numerical value of the current line number and data of the numerical value in the original image on relevant position of current columns for pair
The data that the N+1 original image macro block should have in the new images are answered, wherein, N is to have performed the current line number of determination
The number of 1 the step of adding 1 to be current columns for current line number and current columns is subtracted, the N+1 original image macro block is according to true
Determine the N+1 original image macro block that the order of current macro is determined, and it is current to return to execution to determine that current line number subtracts 1
The step of line number and current columns add 1 to be current columns, until determining that each original image macro block should have in the new images
Data untill;
If current line number be equal to -1 or/and current columns be equal to the columns of the new images, it is determined that iteration line number, which adds, 1 is
Iteration line number, judges whether iteration line number is less than the line number of the new images, if iteration line number is less than the line number of the new images,
Then setting iteration columns to be equal to, 0, current line number is equal to iteration line number, current columns is equal to 0, and returns to execution and export current line number
Numerical value and current columns numerical value the step of;If iteration line number is not less than the line number of the new images, iteration line number is judged
Whether it is less than the columns of the new images, if iteration line number is less than the columns of the new images, sets iteration line number to be equal to institute
State the line number of new images, current line number subtracts 1 equal to iteration line number, current columns is equal to iteration columns, and return execution output work as
The step of numerical value of the numerical value of preceding line number and current columns;If iteration line number is not less than the columns of the new images, return is held
The step of numerical value of the capable numerical value for exporting current line number and current columns;
Wherein, current line number, current columns, iteration line number, the initial value of iteration columns are 0.
A kind of image processing apparatus, including:
First acquisition module, is used for:Original image is obtained, the original image includes and in advance the original image divided to obtain
Multiple original image macro blocks;
Second acquisition module, is used for:Based on the original image handle to obtain corresponding to include multiple new images macro blocks
New images, wherein, the filling macro block that the new images macro block includes original image macro block and data set in advance are 0 is described new
At least a line includes multiple original image macro blocks in image, and each original image macro block is respectively positioned in the new images
The row behind each original image macro block that the original image macro block is relied in the original image.
Preferably, second acquisition module includes:
Acquiring unit, it is used for:Handle to obtain the corresponding new figure for including multiple new images macro blocks based on the original image
Picture, wherein, row of each column original image macro block where in the new images are identical with the row at the place in the original image and appoint
Being arranged in for the original image macro block included in one row is identical with the original image in the new images, and first row original image is grand
Block in the new images with the original image position it is identical, remaining each column original image macro block is relative in the new images
In moving down a macro block than previous column original image macro block in the original image.
Preferably, the acquiring unit includes:
Determination subelement, it is used for:Line number and columns based on the original image obtain corresponding new images, the new images
Columns be equal to the columns of the original image, the line numbers of the new images is equal to the columns and line number sum and 1 of the original image
Difference;According to the new images by the first row to last column and in every row by first order to last successively
Determine that each new images macro block in the new images is current macro, judge the type of the current macro;If current macro
Type for filling to upper right side macro block or filling to lower left side macro block, it is determined that current macro for filling macro block;If work as
The type of preceding macro block is original image macro block, it is determined that the data that current macro should have are grand to correspond to original image in the original image
The data of block.
Preferably, the determination subelement includes:
Judgment sub-unit, it is used for:Get line number residing for the current macro, the columns and 1 difference of the original image
Minimum value, if the columns residing for the current macro is more than the minimum value, and less than or equal to the row of the new images
Number, it is determined that the type of the current macro is filling macro block of the filling to upper right side;If the columns residing for the current macro
More than or equal to 0, and it is less than or equal to the difference of the line number of the line number and the original image residing for the current macro, then really
The type of the fixed current macro is filling macro block of the filling to lower left side;If the columns residing for the current macro is more than described
The difference of line number and the line number of the original image residing for current macro, and it is less than or equal to the minimum value, it is determined that institute
The type for stating current macro is original image macro block.
Preferably, the determination subelement includes:
Subelement is exported, is used for:It is determined that it is current line number that current line number, which subtracts 1, current columns adds 1 to be current columns;Sentence
Disconnected obtained current line number whether is equal to -1 or currently whether columns is equal to the columns of the new images, if current line number
It is not equal to the columns of the new images in -1 and current columns, then exports the numerical value of current line number and the numerical value of current columns, really
The data of the numerical value of the fixed current line number and the numerical value of current columns in the original image on relevant position are corresponding described new
The data that the N+1 original image macro block should have in image, wherein, N subtracts 1 to work as to have performed the current line number of determination
The number for the step of preceding line number and current columns add 1 to be current columns, the N+1 original image macro block are according to determination current macro
The N+1 original image macro block being determined of order, and return to execution and determine that current line number subtracts 1 as current line number and current
The step of columns adds 1 to be current columns, untill each original image macro block should have in the new images data are determined;
If current line number is equal to -1 or/and currently columns is equal to the columns of the new images, it is determined that iteration line number adds 1 to be iteration row
Number, judges whether iteration line number is less than the line number of the new images, if iteration line number is less than the line number of the new images, sets
Iteration columns is equal to 0, current line number and is equal to iteration line number, current columns equal to 0, and returns to the numerical value for performing and exporting current line number
The step of with the numerical value of current columns;If iteration line number is not less than the line number of the new images, judge whether iteration line number is small
In the columns of the new images, if iteration line number is less than the columns of the new images, iteration line number is set to be equal to the new figure
The line number of picture, current line number subtract 1 equal to iteration line number, current columns is equal to iteration columns, and return to execution and export current line number
Numerical value and current columns numerical value the step of;If iteration line number is not less than the columns of the new images, return performs output
Currently the step of numerical value of the numerical value of line number and current columns;Wherein, current line number, current columns, iteration line number, iteration columns
Initial value be 0.
Provided by the invention a kind of image processing method and device, wherein this method include:Obtain original image, original image
Include the multiple original image macro blocks for being divided to obtain in advance to the original image;Handle to obtain corresponding include based on original image
The new images of multiple new images macro blocks, wherein, the filling that new images macro block includes original image macro block and data set in advance are 0
Macro block, at least a line includes multiple original image macro blocks in new images, and each original image macro block is respectively positioned in new images
The row behind each original image macro block that the original image macro block is relied in original image.Above-mentioned technical side disclosed in the present application
Case, first, original image is obtained, comprising the multiple original image macro blocks for being divided to obtain in advance to the original image in original image, so
Afterwards, handle to obtain the corresponding new images for including multiple new images macro blocks, in new images, new images based on original image
The filling macro block that macro block includes original image macro block and data are 0, and in order to which the parallel computation of WebP algorithms can be realized, need
Ensure that at least a line includes multiple original image macro blocks in new images, and in new images macro block, each original image is grand
Block is respectively positioned on the row behind each original image macro block that the original image macro block is relied in original image, that is, the original between going together
Rely between image macro in the absence of leu, that is to say, that there is no the limitation of coded sequence between the macro block of colleague, now, if right
The macro block of colleague is encoded, when first macro block, which completes macroblock prediction, enters next step, second macro block of colleague
Macroblock prediction can then be entered, i.e., when the macro block handled carries out next step, follow-up macro block can follow processing closely,
The multiple macro blocks of WebP algorithm parallel processings can be thus realized, rather than needs to wait as existing technical scheme and is locating
After the macro block of reason has been handled, next macro block ability start to process, so as to improve the concurrency of algorithm, shorten at image
The time of reason.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
The embodiment of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis
The accompanying drawing of offer obtains other accompanying drawings.
Fig. 1 is the broad flow diagram of WebP Lossy Compression Algorithms in the prior art;
Fig. 2 is the dependency graph in gained image between the macro block that includes in the prior art;
Fig. 3 is a kind of flow chart of image processing method provided in an embodiment of the present invention;
Fig. 4 is provided in an embodiment of the present invention a kind of based on the new images obtained after handling the image shown in Fig. 2
In dependency graph between the original image macro block that includes;
Fig. 5 is corresponding with the original image macro block in each new images in a kind of determination original image provided in an embodiment of the present invention
Original image macro block a kind of embodiment flow chart;
Fig. 6 is the row of the original image macro block included in a kind of embodiment provided in an embodiment of the present invention in original image
List intention;
Fig. 7 is the arrangement schematic diagram of the new images macro block included in the new images that the original image of corresponding diagram 6 obtains;
Fig. 8 is a kind of structural representation of image processing apparatus provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made
Embodiment, belong to the scope of protection of the invention.
Referring to Fig. 3, it illustrates a kind of flow chart of image processing method, can include:
S11:Original image is obtained, original image includes the multiple original image macro blocks for being divided to obtain in advance to the original image.
It should be noted that in embodiments of the present invention, the executive agent of above-mentioned technical proposal can be this corresponding hair
A kind of image processing apparatus that bright embodiment provides.When needing to carry out encoding and decoding to image, firstly, it is necessary to original image is obtained,
And the original image got is divided to obtain multiple original image macro blocks in advance, wherein, to original image carry out division with it is existing
The realization principle divided in technology to image is consistent, can be according to the pixel size of original image or other letters of original image
Breath divides to original image.
S12:Handle to obtain the corresponding new images for including multiple new images macro blocks based on original image, wherein, new images
Macro block includes the filling macro block that original image macro block and data set in advance are 0, in new images at least a line include it is multiple
Original image macro block, and each original image macro block be respectively positioned in new images the original image macro block relied in original image it is each
Row behind original image macro block.
After original image is got, a series of processing can be carried out to original image, obtain corresponding to include multiple new figures
As the new images of macro block, wherein, new images macro block is 0 including the original image macro block in original image and data set in advance
Macro block is filled, wherein, filling the effect of macro block is:Ensure that the quantity of often row macro block is consistent, that is, ensure the program generation of often row macro block
Code-phase is same, the additional workload for reducing program code difference and bringing;And in order to realize the parallel computation of WebP algorithms, then exist
Need at least a line to include multiple original image macro blocks in new images, i.e., ensure often to go there can be multiple macro blocks in new figure
In the presence of, and in new images, each original image macro block is respectively positioned on each original that the original image macro block is relied in original image
Row behind image macro, can thus realize colleague macro block between rely in the absence of leu, namely colleague macro block between not
There is the limitation of coded sequence again, now, when the macro block gone together in new images carries out WebP algorithm process, when first macro block
When completing macroblock prediction progress next step program, second macro block of colleague can then enter macroblock prediction program, that is, go together
Macro block can follow processing closely according to putting in order, and realize that the pipelining-stage of macro block accelerates, so as to improve the concurrency of algorithm, shorten figure
As the time of processing.In addition, above-mentioned technical proposal provided in an embodiment of the present invention is applicable not only to WebP algorithms, it is applied also for
He can meet so that the scene for the requirement that above-mentioned technical proposal provided in an embodiment of the present invention is smoothly realized, the present invention's
Within protection domain.
It should be noted that above-mentioned mentioned parallel algorithm can be in FPGA (Field-Programmable Gate
Array, field programmable gate array), realize on the framework such as GPU (Graphics Processing Unit, graphics processor).
Above-mentioned technical proposal disclosed in the present application, first, original image is obtained, includes in advance to enter the original image in original image
The obtained multiple original image macro blocks of row division, then, handle to obtain based on original image and corresponding include multiple new images
The new images of macro block, in new images, new images macro block includes original image macro block and data are 0 filling macro block, and is
The parallel computation of WebP algorithms can be realized, it is necessary to ensure that at least a line includes multiple original image macro blocks in new images,
And in new images macro block, each original image macro block is respectively positioned on each artwork that the original image macro block is relied in original image
As the row behind macro block, that is, rely between the original image macro block between going together in the absence of leu, that is to say, that between the macro block of colleague
There is no the limitation of coded sequence, now, if being encoded to the macro block of colleague, completes macroblock prediction when first macro block and enters
During next step, second macro block of colleague can then enter macroblock prediction, i.e., the macro block that ought handling carries out next
During step, follow-up macro block can follow processing closely, can thus realize the multiple macro blocks of WebP algorithm parallel processings, rather than as existing
After the macro block that some technical schemes equally need wait handling has been handled, next macro block ability start to process, so as to
The concurrency of algorithm can be improved, shortens the time of image procossing.
A kind of image processing method provided in an embodiment of the present invention, based on original image handle to obtain corresponding to include it is multiple
The new images of new images macro block, it can include:
Handle to obtain the corresponding new images for including multiple new images macro blocks based on original image, wherein, each column original image
The row that arranges the original image macro block that in the row in original image place identical and either rank includes of the macro block where in new images
Be listed in new images it is identical with original image, first row original image macro block in new images with original image position it is identical,
Remaining each column original image macro block moves down a macro block relative in original image in new images than previous column original image macro block.
In the new images obtained based on original image, each column original image macro block in new images where row with original image
The row at place are identical, and in order to ensure that image does not change, and the original image macro block included in either rank is arranged in new figure
It is identical with original image as in, and in new images, the position of first row original image macro block and the position in original image
It is identical, in order to weaken colleague macro block between leu rely, then remaining each column original image macro block in new images relative in artwork
A macro block is moved down than previous column original image macro block as in, at this point it is possible to so that the macro block that each original image macro block is relied on
The row being respectively positioned on before the original image macro block, i.e., the original image macro block is independent of any macro block gone together with it.Therefore, when right
When the original image macro block is encoded, it is ensured that the original image macro block that the original image macro block is relied on to have encoded, so as to
Realize the parallel acceleration of algorithm.
As a specific embodiment, above-mentioned technical proposal can be illustrated, refer to Fig. 4, it illustrates this hair
Bright embodiment provides a kind of based on the original image macro block included in the new images obtained after handling the image shown in Fig. 2
Between dependency graph, wherein, the macro blocks of dark parts represents original image macro block, and the macro block of light-colored part represents filling macro block, from figure
In as can be seen that the original image macro block that is relied on of original image macro block is respectively positioned on two rows above the original image macro block, and go together it
Between no longer there is dependence.
A kind of image processing method provided in an embodiment of the present invention, based on original image handle to obtain corresponding to include it is multiple
The new images of new images macro block, it can include:
Line number and columns based on original image obtain corresponding new images, and the columns of new images is equal to the columns of original image,
The line number of new images is equal to the columns and line number sum and 1 difference of original image;
It is to last column and true successively by first order to last in every row by the first row according to new images
The each new images macro block determined in new images is current macro, judges the type of current macro;
If the type of current macro is filling to the macro block of upper right side or filled to the macro block of lower left side, it is determined that current grand
Block is filling macro block;
If the type of current macro is original image macro block, it is determined that the data that current macro should have are corresponding in original image
The data of original image macro block.
When virtually being rotated to original image, corresponding image virtual Rotation Algorithm can be:Count the row of original image
Number and columns, the columns of new images is equal to the columns of original image after line number and columns based on original image are virtually rotated,
The line number of new images is equal to the columns and line number sum and 1 difference of original image.For virtually rotating in obtained new images, press
According to the first row first, the first row second ..., until last column last (namely by the first row to last column
And by first to last in every row) order determine that each new images macro block is current macro successively, judge current
Macro block is type, the macro block of the macro block or filling if filling to upper right side to lower left side, it is determined that current macro is grand to fill
Block, and the data that should have according to above-mentioned mentioned determination current macro are 0;If original image macro block, it is determined that current
The data that macro block should have are that the data of original image macro block are corresponded in original image.Accordingly calculated for original image in the application
Obtain corresponding new images substantially realizes the virtual rotation to original image by above-mentioned corresponding calculating, to determine in original image
The position that each original image macro block should be located in virtual new images, and then realized based on obtained position to original image macro block
The processing such as next code.Wherein virtually rotation and virtual new images are to rotate and new images are virtual not enter truly
Row and not necessary being, namely realize corresponding rotation simply by corresponding calculating in the application and obtain the effect of new images
Fruit, defining position that each original image macro block should be in virtual new images (namely should be right according to what kind of order
Each original image macro block should be handled by carry out next code etc.), and really original image is not rotated and not obtained really pair
The new images answered, carried out very so as to reduce because carrying out truly rotation institute increased operating time and reduction original image to original image
Memory source after real rotation shared by gained new images.
A kind of image processing method provided in an embodiment of the present invention, the type for determining current macro are filling macro block or artwork
As macro block, can include:
Line number, the columns of original image and the minimum value of 1 difference residing for current macro are got, if residing for current macro
Columns is more than minimum value, and less than or equal to the columns of new images, it is determined that the type of current macro is filling to upper right side
Filling macro block;
If the columns residing for current macro is more than or equal to 0, and less than or equal to the line number residing for current macro and original
The difference of the line number of image, it is determined that the type of current macro is filling macro block of the filling to lower left side;
If the columns residing for current macro is more than the difference of the line number of the line number and original image residing for current macro, and small
In or equal to minimum value, it is determined that the type of current macro is original image macro block.
In above-mentioned mentioned image virtual Rotation Algorithm, the type for determining current macro is filling macro block or original image
The specific implementation of macro block can be:After determining current macro, obtain current macro residing for line number, original image columns with
Minimum value between both 1 differences, if the columns residing for current macro is more than minimum value, and less than or equal to new images
Columns, it is determined that the type of current macro is filling macro block of the filling to upper right side;If the columns residing for current macro be more than or
Equal to 0, and less than or equal to the line number and the difference of the line number of original image residing for current macro, it is determined that the class of current macro
Type is filling macro block of the filling to lower left side;If the columns residing for current macro is more than line number and original image residing for current macro
Line number difference, and be less than or equal to minimum value, it is determined that the type of current macro is original image macro block, wherein, currently
Line number and columns residing for macro block calculate according to the arrangement of macro block in new images since 0, i.e., current macro is in the first row
When residing line number be 0, the current macro columns residing in first row is 0, the line number residing for current macro subsequently determined
And columns is by that analogy, will not be repeated here.Virtual rotation gained new images can be accurately determined out in this manner
In each current macro type.
A kind of image processing method provided in an embodiment of the present invention, determine in original image with the original image in each new images
Original image macro block corresponding to macro block, it can include:
It is determined that it is current line number that current line number, which subtracts 1, current columns adds 1 to be current columns;
The current line number for judging to obtain whether is equal to -1 or currently whether columns is equal to the columns of new images, if current line
Number is not equal to -1 and current columns is not equal to the columns of new images, then exports the numerical value of current line number and the numerical value of current columns,
Determine that the numerical value of the current line number and data of the numerical value in original image on relevant position of current columns are in corresponding new images
The data that the N+1 original image macro block should have, wherein, N determines that current line number subtracts 1 and is current line number and works as to have performed
The number for the step of preceding columns adds 1 to be current columns, the N+1 original image macro block are true according to the order institute for determining current macro
The N+1 original image macro block made, and return to execution and determine that current line number subtracts 1 and added for current line number and current columns and 1 be
The step of current columns, untill each original image macro block should have in new images data are determined;
If current line number is equal to -1 or/and currently columns is equal to the columns of new images, it is determined that iteration line number adds 1 to be iteration
Line number, judges whether iteration line number is less than the line number of new images, if iteration line number is less than the line number of new images, sets Iterative Sequence
Number is equal to 0, current line number is equal to iteration line number, current columns is equal to 0, and returns and perform the numerical value that exports current line number and current
The step of numerical value of columns;If iteration line number is not less than the line number of new images, judge whether iteration line number is less than new images
Columns, if iteration line number is less than the columns of new images, iteration line number is set to be equal to the line number of new images, current line number equal to repeatedly
Function in an acting capacity of that number subtracts 1, current columns is equal to iteration columns, and return to the numerical value of the numerical value for performing the current line number of output and current columns
Step;If iteration line number is not less than the columns of new images, the number for performing the numerical value and current columns that export current line number is returned
The step of value;
Wherein, current line number, current columns, iteration line number, the initial value of iteration columns are 0.
During to original image virtually rotate using above-mentioned mentioned image virtual algorithm, if current grand
The type of block is original image macro block, it is determined that the data that current macro should have are that the number of original image macro block is corresponded in original image
According to, wherein, in order to determine current macro should with data, it needs to be determined that go out in original image with current macro with it is corresponding close
The original image macro block of system, namely it needs to be determined that go out in new images in each original image macro block and original image each original image macro block it
Between corresponding relation, specifically, determine original image macro block corresponding with the original image macro block in each new images in original image
Detailed process can include:Since first original image determined macro block, it is determined that it is current line that current line number, which subtracts 1,
Number, current columns add 1 to be current columns;The current line number for judging to obtain whether is equal to -1 or currently whether columns is equal to new figure
The columns of picture, if judging the columns that current line number is not equal to -1 and current columns is not equal to new images macro block, output is current
The numerical value of the numerical value of columns and current columns, determine the current line number numerical value and current columns numerical value it is corresponding in original image
Data on position are the data that the N+1 original image macro block should have in corresponding new images, wherein, N is above-mentioned to have performed
It is determined that current line number subtracts the number of 1 the step of adding 1 to be current columns for current columns and current columns, the N+1 original image
Macro block is according to the N+1 original image macro block being determined of order for determining current macro, it is determined that the original image macro block is answered
After the data having, return to execution and determine that current line number subtracts 1 and adds 1 step for being current columns for current line number and current columns
Suddenly, untill each original image macro block should have in new images data are determined;
If judge the columns that current line number is equal to -1 or/and current columns is equal to new images, it is determined that iteration line number adds 1
For iteration line number, judge whether iteration line number is less than the line number of new images, if iteration line number is less than the line number of new images, set
Iteration columns is equal to 0, current line number and is equal to iteration line number, current columns equal to 0, and returns to the numerical value for performing and exporting current line number
The step of with the numerical value of current columns;If iteration line number is not less than the line number of new images, it is new to judge whether iteration line number is less than
The columns of image, if iteration line number is less than the line number of new images, iteration line number is set to be equal to line number, the current line number of new images
Subtract 1 equal to iteration line number, current columns is equal to iteration columns, and return and perform the numerical value for exporting current line number and current columns
The step of numerical value;If iteration line number is not less than the columns of new images, returns and perform the numerical value for exporting current line number and work as forefront
The step of several numerical value;Wherein, current line number, current columns, iteration line number, the initial value of iteration columns are 0, also,
The step of numerical value of the above-mentioned mentioned numerical value for returning to the current line number of execution output and current columns and subsequent process are upper
State and described in detail when occurring for the first time, be will not be repeated here.
Understand that first macro block in new images is original image macro block based on the above-mentioned processing to original image, be then based on working as
Preceding line number, the initial value that current columns is 0, it may be determined that the data that first original image macro block should have in new images are artwork
The data that the 0th row, the macro block on the 0th column position should have as in, afterwards, artwork can be traveled through according to above-mentioned mentioned flow
The data of each macro block as in, and the data on corresponding macro block are defined as obtaining in new images the virtual rotation of original image progress
The data that corresponding original image macro block should have, determine the specific stream for the data that each original image macro block in new images should have
Journey such as Fig. 5, it illustrates it is provided in an embodiment of the present invention it is a kind of determination original image in the original image macro block in each new images
A kind of flow chart of embodiment of corresponding original image macro block, wherein, cur_row, cur_col represent current line respectively
Line number, current columns, map_row, map_col represent iteration line number, iteration columns, row_num, col_num difference table respectively
Show line number, the columns of new images, and cur_row, cur_col, map_row, map_col initial value are 0.
As a specific embodiment, technical scheme can be specifically described, referring to Fig. 6, it is this
The arrangement schematic diagram of the original image macro block included in a kind of embodiment that inventive embodiments provide in original image, Cong Zhongke
To get the line number of original image as 4, columns 5, then line number and columns based on new images line number and columns and original image
The line number that relation can get new images is 8, columns 5.Can be to original image using above-mentioned mentioned technical scheme
Rotation is simulated, and in new images, the macro block of the 0th row, the 0th row is defined as into current macro, sentenced using mentioned condition
Breaking, its type be original image macro block (the 1st original image macro block), and corresponding 0th row, the 0th row in original image, then understands new
The data that 0th row in image, the macro block on the 0th column position should have are the 0th row in original image, the macro block institute on the 0th column position
The data having, it is current line number that the 1st time, which performs above-mentioned mentioned really settled preceding line number to subtract 1, and current columns adds 1 to be current
The flow of columns, the numerical value for exporting current line number is 1, the numerical value of current columns is 0, now, the numerical value of current line number is 1, when
The numerical value of preceding columns is that the data on 0 relevant position in original image are that the 2nd original image macro block should have in corresponding new images
Some data.Then, the macro block of the 0th row in new images, the 1st row is defined as current macro, utilizes above-mentioned mentioned bar
Part judges its filling macro block for filling to upper right side, then data corresponding to the macro block are 0, similar, it is determined that follow-up grand
The data that block should have, until determining that the 1st row, the current macro of the 0th row are original image macro block (the 2nd original image macro block), then
It is current line number that 2nd time, which performs above-mentioned mentioned really settled preceding line number to subtract 1, and current columns adds 1 flow for being current columns,
The numerical value for exporting current line number is 0, the numerical value of current columns is 1, and now, the numerical value of current line number is the 0, numerical value of current columns
It is the data that the 3rd original image macro block should have in corresponding new images for the data on 1 relevant position in original image, with this
Analogize, until determining the data that the 7th row in new images, the macro block (i.e. last macro block in new images) of the 4th row should have
Untill.Finally, the arrangement for the new images macro block for obtaining including in the new images that the original image of the corresponding diagram 6 shown in Fig. 7 obtains is shown
It is intended to.
The embodiment of the present invention additionally provides a kind of image processing apparatus, as shown in figure 8, can include:
First acquisition module 11, is used for:Original image is obtained, original image includes and divided what is obtained to the original image in advance
Multiple original image macro blocks;
Second acquisition module 12, is used for:Based on original image handle to obtain corresponding to include the new of multiple new images macro blocks
Image, wherein, new images macro block includes original image macro block and data set in advance for 0 filling macro block, in new images at least
There is a line to include multiple original image macro blocks, and each original image macro block is respectively positioned on the original image macro block in artwork in new images
The row behind each original image macro block relied on as in.
A kind of image processing apparatus provided in an embodiment of the present invention, the second acquisition module can include:
Acquiring unit, it is used for:Handle to obtain the corresponding new images for including multiple new images macro blocks based on original image, its
In, each column original image macro block arranges the original included in and either rank identical with the row at the place in original image where in new images
Being arranged in new images for image macro is identical with original image, and first row original image macro block is in new images and in original image
Middle position is identical, remaining each column original image macro block in new images relative in original image than under previous column original image macro block
Move a macro block.
A kind of image processing apparatus provided in an embodiment of the present invention, acquiring unit can include:
Determination subelement, it is used for:Line number and columns based on original image obtain corresponding new images, the columns of new images etc.
In the columns of original image, the line number of new images is equal to the columns and line number sum and 1 difference of original image;According to new images by
A line determines each new images in new images to last column and in every row by first order to last successively
Macro block is current macro, judges the type of current macro;If the type of current macro is macro block of the filling to upper right side or filling
To the macro block of lower left side, it is determined that current macro is filling macro block;If the type of current macro is original image macro block, it is determined that when
The data that preceding macro block should have are that the data of original image macro block are corresponded in original image.
A kind of image processing apparatus provided in an embodiment of the present invention, determination subelement can include:
Judgment sub-unit, it is used for:Line number, the columns of original image and the minimum value of 1 difference residing for current macro are got,
If the columns residing for current macro is more than minimum value, and less than or equal to the columns of new images, it is determined that the class of current macro
Type is filling macro block of the filling to upper right side;If the columns residing for current macro is more than or equal to 0, and less than or equal to current
The difference of the line number of line number and original image residing for macro block, it is determined that the type of current macro is grand for the filling of filling to lower left side
Block;If columns residing for current macro is more than the difference of the line number of the line number and original image residing for current macro, and be less than or
Equal to minimum value, it is determined that the type of current macro is original image macro block.
A kind of image processing apparatus provided in an embodiment of the present invention, determination subelement can include:
Subelement is exported, is used for:It is determined that it is current line number that current line number, which subtracts 1, current columns adds 1 to be current columns;Sentence
Disconnected obtained current line number whether is equal to -1 or currently whether columns is equal to the columns of new images, if current line number is not equal to -1
And current columns is not equal to the columns of new images, then exports the numerical value of current line number and the numerical value of current columns, determine that this is current
Data of the numerical value of the numerical value of line number and current columns in original image on relevant position are the N+1 artwork in corresponding new images
As the data that macro block should have, wherein, N determines that current line number subtracts 1 and is current line number and current columns adds and 1 is to have performed
The number of the step of current columns, the N+1 original image macro block is according to the N+1 that is determined of order for determining current macro
Individual original image macro block, and return to execution and determine that current line number subtracts 1 and adds 1 step for being current columns for current line number and current columns
Suddenly, untill each original image macro block should have in new images data are determined;If current line number is equal to -1 or/and current
Columns is equal to the columns of new images, it is determined that iteration line number adds 1 to be iteration line number, judges whether iteration line number is less than new images
Line number, if iteration line number is less than the line number of new images, sets iteration columns to be equal to 0, current line number and be equal to iteration line number, current
Columns is equal to 0, and the step of return to the numerical value for performing the numerical value for exporting current line number and current columns;If iteration line number is not less than
The line number of new images, then judge whether iteration line number is less than the columns of new images, if iteration line number is less than the columns of new images,
Iteration line number is set equal to line number, the current line number of new images subtract 1 equal to iteration line number, current columns is equal to iteration columns, and
The step of returning to the numerical value for performing the numerical value for exporting current line number and current columns;If iteration line number is not less than the row of new images
Count, then the step of numerical value of the numerical value of the current line number of return execution output and current columns;Wherein, current line number, current columns,
Iteration line number, the initial value of iteration columns are 0.
The explanation of relevant portion refers to the embodiment of the present invention in a kind of image processing apparatus provided in an embodiment of the present invention
The detailed description of corresponding part, will not be repeated here in a kind of image processing method provided.In addition, the present invention implements what is provided
The part consistent with corresponding to technical scheme realization principle in the prior art and unspecified in above-mentioned technical proposal, in order to avoid excessively
Repeat.
The foregoing description of the disclosed embodiments, those skilled in the art are enable to realize or using the present invention.To this
A variety of modifications of a little embodiments will be apparent for a person skilled in the art, and generic principles defined herein can
Without departing from the spirit or scope of the present invention, to realize in other embodiments.Therefore, the present invention will not be limited
The embodiments shown herein is formed on, and is to fit to consistent with principles disclosed herein and features of novelty most wide
Scope.
Claims (10)
- A kind of 1. image processing method, it is characterised in that including:Original image is obtained, the original image includes the multiple original image macro blocks for being divided to obtain in advance to the original image;Handle to obtain the corresponding new images for including multiple new images macro blocks based on the original image, wherein, the new images Macro block includes original image macro block and data set in advance for 0 filling macro block, and at least a line includes in the new images Multiple original image macro blocks, and each original image macro block is respectively positioned on the original image macro block in the artwork in the new images The row behind each original image macro block relied on as in.
- 2. according to the method for claim 1, it is characterised in that based on the original image handle to obtain corresponding to include it is more The new images of individual new images macro block, including:Handle to obtain the corresponding new images for including multiple new images macro blocks based on the original image, wherein, each column original image Macro block arranges the original image included in and either rank identical with the row at the place in the original image where in the new images Being arranged in for macro block is identical with the original image in the new images, first row original image macro block in the new images with Position is identical in the original image, and remaining each column original image macro block is in the new images relative to equal in the original image A macro block is moved down than previous column original image macro block.
- 3. according to the method for claim 2, it is characterised in that based on the original image handle to obtain corresponding to include it is more The new images of individual new images macro block, including:Line number and columns based on the original image obtain corresponding new images, and the columns of the new images is equal to the original image Columns, the line numbers of the new images is equal to the columns of the original image and line number sum and 1 difference;It is to last column and true successively by first order to last in every row by the first row according to the new images Each new images macro block in the fixed new images is current macro, judges the type of the current macro;If the type of current macro for filling to upper right side macro block or filling to lower left side macro block, it is determined that current macro is Fill macro block;If the type of current macro is original image macro block, it is determined that the data that current macro should have are corresponding in the original image The data of original image macro block.
- 4. according to the method for claim 3, it is characterised in that the type for determining the current macro is filling macro block or original Image macro, including:Line number, the columns of the original image and the minimum value of 1 difference residing for the current macro are got, if described current grand Columns residing for block is more than the minimum value, and less than or equal to the columns of the new images, it is determined that the current macro Type for filling to upper right side filling macro block;If the columns residing for the current macro is more than or equal to 0, and less than or equal to the line number residing for the current macro With the difference of the line number of the original image, it is determined that the type of the current macro is filling macro block of the filling to lower left side;If the columns residing for the current macro is more than the difference of the line number of the line number and the original image residing for the current macro Value, and it is less than or equal to the minimum value, it is determined that the type of the current macro is original image macro block.
- 5. according to the method for claim 4, it is characterised in that determine in the original image with the artwork in each new images The original image macro block as corresponding to macro block, including:It is determined that it is current line number that current line number, which subtracts 1, current columns adds 1 to be current columns;The current line number for judging to obtain whether is equal to -1 or currently whether columns is equal to the columns of the new images, if current line Number is not equal to -1 and current columns is not equal to the columns of the new images, then exports the numerical value of current line number and the number of current columns Value, determine the numerical value of the current line number and data of the numerical value in the original image on relevant position of current columns for correspondence institute The data that the N+1 original image macro block should have in new images are stated, wherein, N subtracts 1 to have performed the current line number of determination The number for the step of adding 1 to be current columns for current line number and current columns, the N+1 original image macro block are current according to determining The N+1 original image macro block that the order of macro block is determined, and return execution determine current line number subtract 1 for current line number and The step of current columns adds 1 to be current columns, until determining the data that each original image macro block should have in the new images Untill;If current line number is equal to -1 or/and currently columns is equal to the columns of the new images, it is determined that iteration line number adds 1 to be iteration Line number, judges whether iteration line number is less than the line number of the new images, if iteration line number is less than the line number of the new images, sets Put iteration columns and be equal to iteration line number, current columns equal to 0 equal to 0, current line number, and return to the number for performing and exporting current line number The step of numerical value of value and current columns;If iteration line number is not less than the line number of the new images, whether iteration line number is judged Less than the columns of the new images, if iteration line number is less than the columns of the new images, iteration line number is set to be equal to described new The line number of image, current line number subtract 1 equal to iteration line number, current columns is equal to iteration columns, and return to execution output current line The step of numerical value of several numerical value and current columns;If iteration line number is not less than the columns of the new images, it is defeated to return to execution Go out current line number numerical value and current columns numerical value the step of;Wherein, current line number, current columns, iteration line number, the initial value of iteration columns are 0.
- A kind of 6. image processing apparatus, it is characterised in that including:First acquisition module, is used for:Obtain original image, the original image include in advance the original image is divided to obtain it is more Individual original image macro block;Second acquisition module, is used for:Handle to obtain the corresponding new figure for including multiple new images macro blocks based on the original image Picture, wherein, the filling macro block that the new images macro block includes original image macro block and data set in advance are 0, the new images In at least a line include multiple original image macro blocks, and each original image macro block is respectively positioned on the original in the new images The row behind each original image macro block that image macro is relied in the original image.
- 7. device according to claim 6, it is characterised in that second acquisition module includes:Acquiring unit, it is used for:Handle to obtain the corresponding new images for including multiple new images macro blocks based on the original image, its In, each column original image macro block arranging in and either rank identical with the row at the place in the original image where in the new images Comprising original image macro block be arranged in identical with the original image in the new images, first row original image macro block is in institute State in new images with the original image position it is identical, remaining each column original image macro block is in the new images relative in institute State in original image and move down a macro block than previous column original image macro block.
- 8. device according to claim 7, it is characterised in that the acquiring unit includes:Determination subelement, it is used for:Line number and columns based on the original image obtain corresponding new images, the row of the new images Number is equal to the columns of the original image, and the line number of the new images is equal to the columns and line number sum and 1 difference of the original image Value;Determined successively according to the new images by the first row to last column and by first order to last in every row Each new images macro block in the new images is current macro, judges the type of the current macro;If the class of current macro Type is filling to the macro block of upper right side or filled to the macro block of lower left side, it is determined that current macro is filling macro block;It is if current grand The type of block is original image macro block, it is determined that the data that current macro should have are to correspond to original image macro block in the original image Data.
- 9. device according to claim 8, it is characterised in that the determination subelement includes:Judgment sub-unit, it is used for:Get line number residing for the current macro, the columns of the original image and 1 difference most Small value, if the columns residing for the current macro is more than the minimum value, and it is less than or equal to the columns of the new images, then The type for determining the current macro is the filling macro block of filling to upper right side;If the columns residing for the current macro be more than or Equal to 0, and less than or equal to the difference of the line number residing for the current macro and the line number of the original image, it is determined that described The type of current macro is filling macro block of the filling to lower left side;If the columns residing for the current macro is more than described current grand The difference of line number and the line number of the original image residing for block, and it is less than or equal to the minimum value, it is determined that it is described current The type of macro block is original image macro block.
- 10. device according to claim 9, it is characterised in that the determination subelement includes:Subelement is exported, is used for:It is determined that it is current line number that current line number, which subtracts 1, current columns adds 1 to be current columns;Judge The current line number arrived whether is equal to -1 or currently whether columns is equal to the columns of the new images, if current line number is not equal to -1 And current columns is not equal to the columns of the new images, then exports the numerical value of current line number and the numerical value of current columns, it is determined that should The data of the numerical value of current line number and the numerical value of current columns in the original image on relevant position are the corresponding new images In the data that should have of the N+1 original image macro block, wherein, to have performed, described to determine that current line number subtracts 1 be current line to N The number for the step of number and current columns add 1 to be current columns, the N+1 original image macro block are according to the suitable of determination current macro The N+1 original image macro block that sequence is determined, and it is current line number and current columns to return to execution to determine that current line number subtracts 1 The step of adding 1 to be current columns, untill each original image macro block should have in the new images data are determined;If work as Preceding line number is equal to -1 or/and currently columns is equal to the columns of the new images, it is determined that iteration line number adds 1 to be iteration line number, sentences Whether disconnected iteration line number is less than the line number of the new images, if iteration line number is less than the line number of the new images, sets iteration Columns is equal to 0, current line number and is equal to iteration line number, current columns equal to 0, and returns and perform the numerical value for exporting current line number and work as The step of numerical value of preceding columns;If iteration line number is not less than the line number of the new images, judge whether iteration line number is less than institute The columns of new images is stated, if iteration line number is less than the columns of the new images, sets iteration line number to be equal to the new images Line number, current line number subtract 1 equal to iteration line number, current columns is equal to iteration columns, and return to the number for performing and exporting current line number The step of numerical value of value and current columns;If iteration line number is not less than the columns of the new images, returns and perform output currently The step of numerical value of the numerical value of line number and current columns;Wherein, current line number, current columns, iteration line number, iteration columns just Initial value is 0.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710977529.2A CN107613301B (en) | 2017-10-17 | 2017-10-17 | Image processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710977529.2A CN107613301B (en) | 2017-10-17 | 2017-10-17 | Image processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107613301A true CN107613301A (en) | 2018-01-19 |
CN107613301B CN107613301B (en) | 2020-05-26 |
Family
ID=61078794
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710977529.2A Active CN107613301B (en) | 2017-10-17 | 2017-10-17 | Image processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107613301B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108419078A (en) * | 2018-06-06 | 2018-08-17 | 郑州云海信息技术有限公司 | Image processing method based on WebP image compression algorithms and device |
CN108769684A (en) * | 2018-06-06 | 2018-11-06 | 郑州云海信息技术有限公司 | Image processing method based on WebP image compression algorithms and device |
CN108932129A (en) * | 2018-06-26 | 2018-12-04 | 郑州云海信息技术有限公司 | A kind of acceleration system and method for WebP cataloged procedure medium entropy encryption algorithm |
CN108960177A (en) * | 2018-07-13 | 2018-12-07 | 苏州浪潮智能软件有限公司 | A kind of method and device that gesture is carried out to digitized processing |
CN108989805A (en) * | 2018-06-06 | 2018-12-11 | 郑州云海信息技术有限公司 | Image processing method and device based on WebP image compression algorithm |
CN112135142A (en) * | 2019-06-25 | 2020-12-25 | Oppo广东移动通信有限公司 | Picture decoding method and related product |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007129433A1 (en) * | 2006-04-17 | 2007-11-15 | Toshihiro Minami | Dynamic image encoding device and dynamic image encoding method |
CN101252691A (en) * | 2008-03-12 | 2008-08-27 | 中兴通讯股份有限公司 | Method for multi-processor to parallel implement high-definition picture filtering |
CN101389030A (en) * | 2008-10-23 | 2009-03-18 | 华为技术有限公司 | Encoding method, system and video encoder |
CN101686388A (en) * | 2008-09-24 | 2010-03-31 | 国际商业机器公司 | Video streaming encoding device and method thereof |
WO2011105137A1 (en) * | 2010-02-25 | 2011-09-01 | 株式会社メガチップス | Apparatus for encoding images and system for transmitting images |
CN102625108A (en) * | 2012-03-30 | 2012-08-01 | 浙江大学 | Multi-core-processor-based H.264 decoding method |
CN107392838A (en) * | 2017-07-27 | 2017-11-24 | 郑州云海信息技术有限公司 | WebP compression parallel acceleration methods and device based on OpenCL |
-
2017
- 2017-10-17 CN CN201710977529.2A patent/CN107613301B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007129433A1 (en) * | 2006-04-17 | 2007-11-15 | Toshihiro Minami | Dynamic image encoding device and dynamic image encoding method |
CN101252691A (en) * | 2008-03-12 | 2008-08-27 | 中兴通讯股份有限公司 | Method for multi-processor to parallel implement high-definition picture filtering |
CN101686388A (en) * | 2008-09-24 | 2010-03-31 | 国际商业机器公司 | Video streaming encoding device and method thereof |
CN101389030A (en) * | 2008-10-23 | 2009-03-18 | 华为技术有限公司 | Encoding method, system and video encoder |
WO2011105137A1 (en) * | 2010-02-25 | 2011-09-01 | 株式会社メガチップス | Apparatus for encoding images and system for transmitting images |
CN102625108A (en) * | 2012-03-30 | 2012-08-01 | 浙江大学 | Multi-core-processor-based H.264 decoding method |
CN107392838A (en) * | 2017-07-27 | 2017-11-24 | 郑州云海信息技术有限公司 | WebP compression parallel acceleration methods and device based on OpenCL |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108419078A (en) * | 2018-06-06 | 2018-08-17 | 郑州云海信息技术有限公司 | Image processing method based on WebP image compression algorithms and device |
CN108769684A (en) * | 2018-06-06 | 2018-11-06 | 郑州云海信息技术有限公司 | Image processing method based on WebP image compression algorithms and device |
CN108989805A (en) * | 2018-06-06 | 2018-12-11 | 郑州云海信息技术有限公司 | Image processing method and device based on WebP image compression algorithm |
CN108419078B (en) * | 2018-06-06 | 2021-11-09 | 郑州云海信息技术有限公司 | Image processing method and device based on WebP image compression algorithm |
CN108769684B (en) * | 2018-06-06 | 2022-03-22 | 郑州云海信息技术有限公司 | Image processing method and device based on WebP image compression algorithm |
CN108932129A (en) * | 2018-06-26 | 2018-12-04 | 郑州云海信息技术有限公司 | A kind of acceleration system and method for WebP cataloged procedure medium entropy encryption algorithm |
CN108960177A (en) * | 2018-07-13 | 2018-12-07 | 苏州浪潮智能软件有限公司 | A kind of method and device that gesture is carried out to digitized processing |
CN108960177B (en) * | 2018-07-13 | 2020-12-22 | 浪潮金融信息技术有限公司 | Method and device for performing digital processing on gesture |
CN112135142A (en) * | 2019-06-25 | 2020-12-25 | Oppo广东移动通信有限公司 | Picture decoding method and related product |
Also Published As
Publication number | Publication date |
---|---|
CN107613301B (en) | 2020-05-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107613301A (en) | A kind of image processing method and device | |
JP6956803B2 (en) | Tiling image compression using neural networks | |
CN111553471A (en) | Data analysis processing method and device | |
CN107809642A (en) | For encoding video pictures and method, encoding device and the decoding device of decoding | |
CN113159143B (en) | Infrared and visible light image fusion method and device based on jump connection convolution layer | |
CN111951269B (en) | Image processing method and related equipment | |
US20230177652A1 (en) | Image restoration method and apparatus, and electronic device | |
CN115908753B (en) | Method and related device for reconstructing whole-body human body grid surface | |
CN113570695A (en) | Image generation method and device and electronic equipment | |
CN109324984A (en) | The method and apparatus of cyclic addressing are used in convolution algorithm | |
CN115082371B (en) | Image fusion method and device, mobile terminal equipment and readable storage medium | |
CN108832935B (en) | RLE algorithm implementation method, system, equipment and computer storage medium | |
KR102526970B1 (en) | Single image super-resolution netwokr technique using superimposed structure and average concentraion module | |
CN115953446A (en) | Depth estimation method and device based on error correction and electronic equipment | |
CN111541901B (en) | Picture decoding method and device | |
CN115170418A (en) | Degradation-compliant low-rank high-dimensional image filling model and filling method and system thereof | |
CN106339975A (en) | Digital image secret sharing method, restoration method and devices | |
CN112437308A (en) | WebP coding method and device | |
CN110503193A (en) | A kind of pond operation method and circuit based on ROI | |
CN111372084A (en) | Parallel reasoning method and system for neural network coding and decoding tool | |
CN108304191B (en) | Function dynamic calling method and device | |
CN103679815A (en) | Visible shell generation method and device based on surface search | |
CN117132767B (en) | Small target detection method, device, equipment and readable storage medium | |
WO2024066829A1 (en) | Feature map processing method and apparatus and computer readable storage medium | |
CN115311138B (en) | Image super-resolution method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200426 Address after: 215100 No. 1 Guanpu Road, Guoxiang Street, Wuzhong Economic Development Zone, Suzhou City, Jiangsu Province Applicant after: SUZHOU LANGCHAO INTELLIGENT TECHNOLOGY Co.,Ltd. Address before: 450018 Henan province Zheng Dong New District of Zhengzhou City Xinyi Road No. 278 16 floor room 1601 Applicant before: ZHENGZHOU YUNHAI INFORMATION TECHNOLOGY Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |