CN106127824A - Image encoding/decoding device and method - Google Patents
Image encoding/decoding device and method Download PDFInfo
- Publication number
- CN106127824A CN106127824A CN201610554671.1A CN201610554671A CN106127824A CN 106127824 A CN106127824 A CN 106127824A CN 201610554671 A CN201610554671 A CN 201610554671A CN 106127824 A CN106127824 A CN 106127824A
- Authority
- CN
- China
- Prior art keywords
- color depth
- group
- numerical digit
- result
- pixel
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T9/00—Image coding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/184—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being bits, e.g. of the compressed video stream
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression Of Band Width Or Redundancy In Fax (AREA)
Abstract
The present invention provides a kind of image encoding/decoding device and method.The image encoding/decoding device of the present invention includes: grouping module, for the full color depth parameter of pixels all in image is grouped according to color depth numerical digit height, group result is many group color depth data, and each group color depth data include the color depth parameter of all pixels numerical value in particular number of bits;Sending module, for sending group result in descending order according to corresponding numerical digit;Receiver module, is used for receiving group result;Load-on module, for loading group result the most by group to realize gradually drawing according to corresponding numerical digit.
Description
Technical field
The present invention relates to computer and software technology field thereof, particularly a kind of image encoding/decoding device and side
Method.
Background technology
In computer vision field, picture can be divided into bitmap picture and vectogram picture.Bitmap picture is generally called for short
Image, and vectogram picture is generally called for short figure.A usual image includes a large amount of pixel.When needs show on certain interface
During the image of a big data quantity, the most original method just can be carried out after needing to have read total data, and efficiency is the lowest.
Technical staff proposes one " thumbnail adds artwork " scheme to improve image display efficiency, specific as follows: to deposit simultaneously
Thumbnail that storage is fuzzy and clearly artwork, show thumbnail when artwork has not yet loaded, and in artwork loading procedure
Gradually override thumbnail.But the program needs to preserve two parts of view data, and thumbnail the fuzzyyest and cannot
Give expression to the content of artwork.
Technical staff also proposes another kind " incrementally coding and decoding " scheme to improve efficiency, specific as follows: first to load figure
A few pixels in Xiang, other pixels not loaded all use the neighbouring color parameter having loaded pixel to be filled with, the most gradually
Improve the quantity of the point loaded, make image the most clear.But the program is also only able to display general outline, half image loaded with
Artwork contrast seems and compares distortion.
Therefore, need that to propose a kind of loading efficiency high it is contemplated that content, image encoding/decoding skill that Consumer's Experience is good badly
Art.
Summary of the invention
In view of this, the image encoding/decoding device that the present invention provides a kind of quick display, predictability is good, Consumer's Experience is good
And method.
For achieving the above object, according to an aspect of the invention, it is provided a kind of image encoding/decoding device.
The image encoding/decoding device of the present invention includes: grouping module, for by the full color of pixels all in image
Depth parameter is grouped according to color depth numerical digit height, and group result is many group color depth data, the described color of each group
Depth data includes the color depth parameter of all pixels numerical value in particular number of bits;Sending module, for according to corresponding number
Position sends described group result in descending order;Receiver module, is used for receiving described group result;Load-on module, is used for pressing
Described group result is loaded the most by group to realize gradually drawing according to corresponding numerical digit.
Alternatively, described sending module is additionally operable to: described group result compressed in descending order according to corresponding numerical digit,
Then compression result is sent;Described receiver module is additionally operable to: receives described compression result and decompresses, and restores described packet knot
Really.
Alternatively, described boil down to streaming is compressed, and described decompression is streaming decompression.
Alternatively, described load-on module is additionally operable to: according to corresponding numerical digit in descending order, cyclically performs following operation
Until color depth data are loaded complete described in all groups: obtain the described color depth data of current group, then to image
In each pixel perform following process: if pixel loads complete position, then show by the numerical value of described whole;If pixel is not
Load any position, then press the meansigma methods of neighbor point and show or the value of closest approach shows;If pixel is loaded with part position, then by institute
State particular number of bits and load the color depth data of current group, the numerical value loaded of the relatively high order digit specified is retained, and will
The relatively low order bit stuffing digit 0 specified, then shows.
Alternatively, described grouping module is additionally operable to: the full color depth parameter of pixels all in image is performed according to
The height packet of color depth numerical digit and the dual division operation according to pixel coordinate packet, described group result is position, many group local
Putting color depth data, the described local location color depth data of each group include that the color depth parameter of ad-hoc location pixel is spy
Numerical value on the number of location;Described sending module is additionally operable to: according to corresponding numerical digit in descending order with presetted pixel coordinate sequentially
Send described group result;Described load-on module is additionally operable to: suitable with presetted pixel coordinate in descending order according to corresponding numerical digit
Sequence loads described group result by group to realize gradually drawing.
According to a further aspect in the invention, it is provided that a kind of image encoding/decoding method.
The image encoding/decoding method of the present invention includes: the full color degree of depth of pixels all in image is joined by grouping module
Number is grouped according to color depth numerical digit height, and group result is many group color depth data, respectively organizes described color depth number
According to including the color depth parameter of all pixels numerical value in particular number of bits;Sending module is the most suitable according to corresponding numerical digit
Sequence sends described group result;Receiver module receives described group result;Load-on module is according to corresponding numerical digit in descending order
Load described group result by group to realize gradually drawing.
Alternatively, described sending module sends the step bag of described group result in descending order according to corresponding numerical digit
Include: described group result is compressed in descending order by described sending module according to corresponding numerical digit, then sends compression result;Institute
The step stating the receiver module described group result of reception includes: described receiver module receives described compression result and also decompresses, reduction
Go out described group result.
Alternatively, described boil down to streaming is compressed, and described decompression is streaming decompression.
Alternatively, described load-on module loads described group result to realize the most by group according to corresponding numerical digit
The step gradually drawn includes: according to corresponding numerical digit in descending order, cyclically performs following operation until described in all groups
Color depth data are loaded complete: obtain the described color depth data of current group, then each pixel in image is held
Row is following to be processed: if pixel loads complete position, then show by the numerical value of described whole;If pixel does not loads any position, then
Show by the meansigma methods of neighbor point or the value of closest approach shows;If pixel is loaded with part position, then described particular number of bits is added
Carry the color depth data of current group, the numerical value loaded of the relatively high order digit specified is retained, and the relatively low number that will specify
Position stuffing digit 0, then shows.
Alternatively, described grouping module by the full color depth parameter of pixels all in image according to color depth numerical digit
The step that height carries out being grouped includes: perform the full color depth parameter of pixels all in image according to color depth numerical digit
Height packet and the dual division operation according to pixel coordinate packet, described group result is many group local location color depth numbers
According to, the described local location color depth data of each group include the color depth parameter of ad-hoc location pixel number in particular number of bits
Value;The step that described sending module sends described group result in descending order according to corresponding numerical digit includes: described transmission mould
Block sends described group result with presetted pixel coordinate order in descending order according to corresponding numerical digit;Described load-on module according to
Corresponding numerical digit loads described group result the most by group and includes with the step realizing gradually drawing: according to corresponding numerical digit
Described group result is loaded in descending order by group to realize gradually drawing with presetted pixel coordinate order.
It is the biggest to Color influences owing to bitmap color being in the most high-order value.According to this characteristic, according to the present invention's
Technical scheme uses step-by-step grouping strategy color depth information to be divided into multi-group data, then according to add to low level order from a high position
Carry multi-group data.First loading the high-order information in color depth parameter, load low-order information afterwards, this is equivalent to the most first fill out
Fill rough color and refill fine color.So mean also to be able to show as best one can in the case of data not yet load completely
Go out the color information of artwork, it is possible to make user predict major part picture material, reduce period of reservation of number, thus promote user
Experience.Additionally, the image encoding/decoding device of the present invention and method are without generating and preserving thumbnail, have simple and easy to do, joint
The about advantage of memory space.
Accompanying drawing explanation
Accompanying drawing is used for being more fully understood that the present invention, does not constitute inappropriate limitation of the present invention.Wherein:
Fig. 1 is the schematic diagram of the main modular of the image encoding/decoding device according to embodiment of the present invention;
Fig. 2 is the schematic diagram of the key step of the image encoding/decoding method according to embodiment of the present invention;
Fig. 3 is the work process schematic diagram of the image encoding/decoding device according to embodiment of the present invention.
Detailed description of the invention
Below in conjunction with accompanying drawing, the exemplary embodiment of the present invention is explained, including embodiment of the present invention
Various details are to help understanding, it should they are thought the most exemplary.Therefore, those of ordinary skill in the art should recognize
Knowledge is arrived, and embodiment described herein can be made various changes and modifications, without departing from scope and spirit of the present invention.
Equally, for clarity and conciseness, description below eliminates the description to known function and structure.
In image, the color depth parameter of pixel can represent by many bit binary number.Such as: 24 cromograms
In Xiang, the color depth parameter of pixel is R8G8B8 form, is specifically designated as
R1r2r3r4r5r6r7r8g1g2g3g4g5g6g7g8b1b2b3b4b5b6b7b8, wherein r1 to r8, g1 to g8 and b1 to b8
It is all digital " 0 " or numeral " 1 ".Wherein in the r1 to r4 in red channel, the g1 to g4 in green channel and blue channel
B1 to b4 be relatively high order digit, represent the main information in color information.And in r5 to r5 in red channel, green channel
G5 to g8 and blue channel in b5 to b8 be relatively low order bit, represent the detailed information in color information.According to " bitmap
Color is in the most high-order value the biggest to Color influences " this characteristic, the present invention proposes a kind of image encoding/decoding device
And image encoding/decoding method.
Fig. 1 is the schematic diagram of the main modular of the image encoding/decoding device according to embodiment of the present invention.Such as Fig. 1 institute
Showing, the image encoding/decoding device 10 of embodiment of the present invention mainly includes grouping module 11, sending module 12, receiver module 13
With load-on module 14.It should be noted that grouping module 11 can be and sending module 12 is arranged on an equipment, receive mould
Block 13 and load-on module 14 are arranged on another equipment.
In embodiments of the present invention, sending module 12 can be also used for: by group result according to corresponding numerical digit from height to
Low sequential compression, then sends compression result.Compression can be streaming compression.Such as, sending module 12 can be calculated with streaming compression
Method (such as LZ77 compression algorithm) is transmitted after being compressed.Stream transmission can realize transmission limit, compression limit, limit decompression, it is possible to contracting
Short time-consumingly, improve efficiency.Accordingly, receiver module 13 can be also used for receiving compression result and decompressing, and restores packet knot
Really.Decompression can be streaming decompression.It should be noted that compressed action and decompression actions can be set to optional action, rather than must
Select action.
Grouping module 11 may be used for the full color depth parameter of pixels all in image according to color depth numerical digit
Height is grouped, and obtains organizing color depth data more.Each group color depth data include the color depth parameter of all pixels
Numerical value in particular number of bits.Wherein, the form of packet can be flexible and changeable, can be divided into two groups, three groups or more groups, respectively
Numerical digit number between group can be equal or unequal.As long as rule of classification meet " high position for each point with high-order one group, low
Position and low level one group " principle.Such as: complete color depth parameter R8G8B8 can be divided into high four color depth data
R4G4B4 and low four color depth data R4G4B4, it is also possible to be divided into high three color depth data R3G3B3 and low five colors
Color depth data R5G5B5.The most such as: complete color depth parameter R5G6B5 can be divided into high hyte color depth data
R2G2B2, middle hyte color depth data R1G2B1 and low hyte color depth data R2G2B2.
Sending module 12 is for sending group result in descending order according to corresponding numerical digit.In other words, sending module 12
For being sent to receiver module 13 by organizing color depth data according to corresponding numerical digit order from high to low more.
Receiver module 13 is used for receiving group result.The group result received in this embodiment is i.e. according to corresponding numerical digit
The many groups color depth data arranged in descending order.
Load-on module 14 is for loading group result the most by group to realize gradually drawing according to corresponding numerical digit.
Specifically, load-on module 14 may be used for: according to corresponding numerical digit in descending order, cyclically performs following operation until owning
Group color depth data are loaded complete: obtain the color depth data of current group, then perform each pixel in image
Following process: if pixel loads complete position, then show by the numerical value of whole positions;If pixel does not loads any position, then by neighbouring
The meansigma methods of point shows or the value of closest approach shows;If pixel is loaded with part position, then particular number of bits is loaded current group
Color depth data, retain the numerical value loaded of the relatively high order digit specified, and the relatively low order bit stuffing digit that will specify
0, then show.Wherein " the relatively high order digit specified " and " the relatively low order bit specified " is all relative to currently organizing color depth
For the specific digits that data are corresponding.
From the foregoing, it will be observed that have employed step-by-step grouping strategy in the image encoding/decoding device of this embodiment, this strategy is pin
For single pixel, color depth parameter is divided into the bigger high-order information of impact and affects less low-order information,
Load during subsequent load, it is achieved the visual effect of " coloring in several times, more fill color is the most accurate " in batches.
Function according to the modules in the image encoding/decoding device of embodiment of the present invention can also be as follows: packet
Module 11 is for being grouped to the execution of the full color depth parameter of pixels all in image according to color depth numerical digit height and press
According to the dual division operation of pixel coordinate packet, group result is many group local location color depth data, respectively organizes local location
Color depth data include the color depth parameter of ad-hoc location pixel numerical value in particular number of bits.Sending module 12 is used for pressing
Group result is sent with presetted pixel coordinate order in descending order according to corresponding numerical digit.Receiver module 13 is used for receiving packet knot
Really.Load-on module 14 for load the most by group with presetted pixel coordinate order in descending order according to corresponding numerical digit group result with
Realize gradually drawing.The image encoding/decoding device of this embodiment have employed step-by-step grouping strategy double according to pixels coordinate packet plan
Slightly.For the most according to pixels coordinate grouping strategy is actually for multiple pixels of whole image, first load a part of position
The pixel put, reloads the pixel of another part position, in batches loaded.As can be seen here, use that step-by-step grouping strategy is double presses
Pixel coordinate grouping strategy, it is possible to improve further image it is contemplated that degree.
It should be noted that the specific rules of according to pixels coordinate packet can be arranged flexibly.Can be by odd-numbered line one group,
Even number line one group.Can be odd column one group, even column one group.Can also is that by mode division group, result identical for one group.Example
As: mould 4 i.e. represent the transverse and longitudinal coordinate of pixel is added after to 4 deliverys, being divided into result is 0, four groups of 1,2,3.Assume image institute
The color depth parameter step-by-step having pixel has separated i group color depth data, can be further by with j for mould according to pixels coordinate
I × j group local location color depth data can be obtained after packet.Wherein the value maximum of j can be by total pixel number purpose one
Half, group local location color depth data the most often contain up to the value in the particular number of bits of two pixels.
Also, it should be noted the complete color depth information of pixels all for image, it is possible to the most according to pixels coordinate
Packet, rear step-by-step packet obtain multiple small set of data, then by group's loading data, do not change inventive principle.
Fig. 2 is the schematic diagram of the key step of the image encoding/decoding method according to embodiment of the present invention.Such as Fig. 2 institute
Showing, the image encoding/decoding method of this embodiment mainly includes that steps A is to step D.The method is applicable to the present invention
The image encoding/decoding device of embodiment.
Step A: grouping module is by the full color depth parameter of pixels all in image according to color depth numerical digit just
Being grouped, group result is many group color depth data, and each group color depth data include the color depth ginseng of all pixels
Number numerical value in particular number of bits.
Step B: sending module sends group result in descending order according to corresponding numerical digit.
Step C: receiver module receives group result.
Step D: load-on module loads group result to realize gradually drawing the most by group according to corresponding numerical digit.
In the image encoding/decoding method of embodiment of the present invention, sending module is sent out in descending order according to corresponding numerical digit
The step sending group result may include that group result is compressed in descending order, then by sending module according to corresponding numerical digit
Send compression result;Receiver module receives the step of group result and may include that receiver module receives compression result and decompresses, also
Former go out group result.Wherein, compression can be streaming compression, and decompression is it may be said that streaming decompresses.Stream transmission can realize limit pressure
Cissing transmission limit decompression, it is possible to shorten time-consuming, improve efficiency.
In the image encoding/decoding method of embodiment of the present invention, step D can comprise the following specific steps that: according to correspondence
Numerical digit in descending order, cyclically performs to operate until all groups of color depth data are loaded complete as follows: obtain current
The color depth data of group, then perform following process: if pixel loads complete position, then by complete to each pixel in image
The numerical value at position shows;If pixel does not loads any position, then press the meansigma methods of neighbor point and show or the value of closest approach shows;If
Pixel is loaded with part position, then particular number of bits loads the color depth data of current group, by adding of the relatively high order digit specified
The numerical value carried retains, and the relatively low order bit stuffing digit 0 that will specify, and then shows.
In the image encoding/decoding method of embodiment of the present invention, step A may be replaced by: to pixels all in image
Full color depth parameter perform according to color depth numerical digit height packet and according to pixel coordinate packet dual packet behaviour
Making, group result is many group local location color depth data, and each group local location color depth data include ad-hoc location picture
The color depth parameter of element numerical value in particular number of bits.Correspondingly, the journey that could alternatively be of step B is: sending module according to
Corresponding numerical digit sends group result with presetted pixel coordinate order in descending order.Step C is still: receiver module receives packet
Result.Could alternatively be of step D: load-on module is according to corresponding numerical digit in descending order with presetted pixel coordinate order by group
Load group result (i.e. many group local location color depth data) to realize gradually drawing.
In sum, just like drawing a conclusion: the biggest to Color influences owing to bitmap color being in the most high-order value.According to this
One characteristic, the image encoding/decoding device of embodiment of the present invention and image encoding/decoding method use step-by-step grouping strategy by color
Color depth information is divided into multi-group data, then according to load multi-group data from a high position to low level order.First load color depth ginseng
High-order information in number, loading low-order information afterwards, this is equivalent to the most first fill rough color and refills fine color.This
Sample means the color information also being able to show artwork as best one can in the case of data not yet load completely, it is possible to make user
Predict major part picture material, reduce period of reservation of number, thus promote Consumer's Experience.Additionally, the picture coding of the present invention
Decoding apparatus and method, without generating and preserving thumbnail, have simple and easy to do, the advantage saving memory space.
For making those skilled in the art be more fully understood that present disclosure, retouch in detail below in conjunction with specific embodiment
State.
Fig. 3 is the work process schematic diagram of the image encoding/decoding device according to embodiment of the present invention.
Assume 24 coloured images that original image is R8G8B8 form, wherein each pixel be designated as P1, P2, P3,
P4…….The full color depth information of all pixels of image is designated as:
P1(r1r2r3r4r5r6r7r8g1g2g3g4g5g6g7g8b1b2b3b4b5b6b7b8);
P2(r1r2r3r4r5r6r7r8g1g2g3g4g5g6g7g8b1b2b3b4b5b6b7b8);
P3(r1r2r3r4r5r6r7r8g1g2g3g4g5g6g7g8b1b2b3b4b5b6b7b8);
P4(r1r2r3r4r5r6r7r8g1g2g3g4g5g6g7g8b1b2b3b4b5b6b7b8);
……
The full color depth information step-by-step of all pixels of image is grouped by first grouping module, obtains high four colors
Depth data D1 and low four color data D2.
D1=P1 (r1r2r3r4g1g2g3g4b1b2b3b4);
P2(r1r2r3r4g1g2g3g4b1b2b3b4);
P3(r1r2r3r4g1g2g3g4b1b2b3b4);
P4(r1r2r3r4g1g2g3g4b1b2b3b4);
……
D2=P1 (r5r6r7r8g5g6g7g8b5b6b7b8);
P2(r5r6r7r8g5g6g7g8b5b6b7b8);
P3(r5r6r7r8g5g6g7g8b5b6b7b8);
P4(r5r6r7r8g5g6g7g8b5b6b7b8);
……
Then, grouping module the most according to pixels coordinate is grouped, and high four color depth data D1 packet is obtained odd number
High four color depth data data1 of pixel and high four color depth data data2 of even pixel, and by low four colors
The packet of data D2 obtains low four color depth data data3 of odd pixel and low four the color depth data of even pixel
data4。
Data1=P1 (r1r2r3r4g1g2g3g4b1b2b3b4);
P3(r1r2r3r4g1g2g3g4b1b2b3b4);
……
Data2=P2 (r1r2r3r4g1g2g3g4b1b2b3b4);
P4(r1r2r3r4g1g2g3g4b1b2b3b4);
……
Data3=P1 (r5r6r7r8g5g6g7g8b5b6b7b8);
P3(r5r6r7r8g5g6g7g8b5b6b7b8);
……
Data4=P2 (r5r6r7r8g5g6g7g8b5b6b7b8);
P4(r5r6r7r8g5g6g7g8b5b6b7b8);
……
Then data1, data2data3 and data4 are carried out streaming compression and send by compression sending module in an orderly manner.Connect
Receive decompression module receive data stream and decompress, restore data1, data2, data3 and data4 in an orderly manner.
First load-on module loads data1, and this is equivalent to the position to odd pixel and implements to color in roughly.Detailed process is
To each odd pixel, loading higher four r1 to r4, the g1 to g4 and the value of b1 to b4 read, the r5 of relatively low four is extremely
R8, g5 to g8 and b5 to b8 stuffing digit 0.Such as: Fill Color on the position of pixel I
r1r2r3r40000g1g2g3g40000b1b2b3b40000.In this stage, for not yet carrying out any sky once loaded
White pixel (i.e. even pixel), the color of blank pixel can be to replace apart from the numerical value of the nearest pixel of this point, or with
The meansigma methods of the multiple pixels around loaded replaces.Such as: the color of pixel P2 position and the color phase of pixel P1 position
With, and so on.Until load-on module has loaded data1, user is it can be seen that be equivalent to the thick of artwork half position
Slightly color, this general contents that be enough to make user discrimination artwork.
Load-on module continues to load data2, and in this stage, on the position of odd pixel, color remains unchanged, only dual numbers
Color on the position of pixel refreshes.Until load-on module has loaded data2, user is it can be seen that institute in artwork
There is the substantially color of position.
Load-on module loads data3 further, and this is equivalent to do the color on the position of odd pixel correction further,
The value of Gao Siwei remains unchanged, and loads the value of low four.Such as: the Fill Color on the position of pixel I by
R1r2r3r40000g1g2g3g40000b1b2b3b40000 becomes
r1r2r3r4r5r6r7r8g1g2g3g4g5g6g7g8b1b2b3b4b5b6b7b8.In this stage, the color of even pixel maintains
Constant.
Load-on module finally loads data4, and this is equivalent to the color on the position of dual numbers pixel and does correction further.Deng
To load-on module loaded data4 time, obtained the full color information of all pixels, say, that obtain original image.
From the foregoing, it will be observed that by the image encoding/decoding device of embodiment of the present invention, have that predictability is good, Consumer's Experience is good
Etc. advantage.
Above-mentioned detailed description of the invention, is not intended that limiting the scope of the invention.Those skilled in the art should be bright
White, depend on that design requires and other factors, various amendment, combination, sub-portfolio and replacement can occur.Any
Amendment, equivalent and the improvement etc. made within the spirit and principles in the present invention, should be included in scope
Within.
Claims (10)
1. an image encoding/decoding device, it is characterised in that including:
Grouping module, for carrying out the full color depth parameter of pixels all in image point according to color depth numerical digit height
Group, group result is many group color depth data, and the described color depth data of each group include the color depth parameter of all pixels
Numerical value in particular number of bits;
Sending module, for sending described group result in descending order according to corresponding numerical digit;
Receiver module, is used for receiving described group result;
Load-on module, for loading described group result the most by group to realize gradually drawing according to corresponding numerical digit.
Image encoding/decoding device the most according to claim 1, it is characterised in that
Described sending module is additionally operable to: described group result is compressed in descending order according to corresponding numerical digit, then sends pressure
Sheepshank fruit;
Described receiver module is additionally operable to: receives described compression result and decompresses, and restores described group result.
Image encoding/decoding device the most according to claim 2, it is characterised in that described boil down to streaming is compressed, described
Decompress and decompress for streaming.
Image encoding/decoding device the most according to claim 1, it is characterised in that described load-on module is additionally operable to:
According to corresponding numerical digit in descending order, cyclically perform to operate until color depth data described in all groups are added as follows
Carry complete:
Obtain the described color depth data of current group, then perform each pixel in image to process as follows:
If pixel loads complete position, then show by the numerical value of described whole;
If pixel does not loads any position, then press the meansigma methods of neighbor point and show or the value of closest approach shows;
If pixel is loaded with part position, then described particular number of bits is loaded the color depth data of current group, higher by specify
The numerical value loaded of numerical digit retains, and the relatively low order bit stuffing digit 0 that will specify, and then shows.
Image encoding/decoding device the most according to claim 1, it is characterised in that
Described grouping module is additionally operable to: perform the full color depth parameter of pixels all in image according to color depth numerical digit
Height packet and the dual division operation according to pixel coordinate packet, described group result is many group local location color depth numbers
According to, the described local location color depth data of each group include the color depth parameter of ad-hoc location pixel number in particular number of bits
Value;
Described sending module is additionally operable to: send described packet with presetted pixel coordinate order in descending order according to corresponding numerical digit
Result;
Described load-on module is additionally operable to: load described by group with presetted pixel coordinate order in descending order according to corresponding numerical digit
Group result is to realize gradually drawing.
6. an image encoding/decoding method, it is characterised in that including:
The full color depth parameter of pixels all in image is grouped by grouping module according to color depth numerical digit height, point
Group result is many group color depth data, and the described color depth data of each group include that the color depth parameter of all pixels is specific
Numerical value in figure place;
Sending module sends described group result in descending order according to corresponding numerical digit;
Receiver module receives described group result;
Load-on module loads described group result to realize gradually drawing the most by group according to corresponding numerical digit.
Image encoding/decoding method the most according to claim 6, it is characterised in that
The step that described sending module sends described group result in descending order according to corresponding numerical digit includes: described transmission mould
Described group result is compressed in descending order by block according to corresponding numerical digit, then sends compression result;
Described receiver module receives the step of described group result and includes: described receiver module receives described compression result and solves
Pressure, restores described group result.
Image encoding/decoding method the most according to claim 7, it is characterised in that described boil down to streaming is compressed, described
Decompress and decompress for streaming.
Image encoding/decoding method the most according to claim 6, it is characterised in that described load-on module is according to corresponding numerical digit
Load described group result the most by group to include with the step realizing gradually drawing:
According to corresponding numerical digit in descending order, cyclically perform to operate until color depth data described in all groups are added as follows
Carry complete:
Obtain the described color depth data of current group, then perform each pixel in image to process as follows:
If pixel loads complete position, then show by the numerical value of described whole;
If pixel does not loads any position, then press the meansigma methods of neighbor point and show or the value of closest approach shows;
If pixel is loaded with part position, then described particular number of bits is loaded the color depth data of current group, higher by specify
The numerical value loaded of numerical digit retains, and the relatively low order bit stuffing digit 0 that will specify, and then shows.
Image encoding/decoding method the most according to claim 6, it is characterised in that
The full color depth parameter of pixels all in image is carried out point by described grouping module according to color depth numerical digit height
The step of group includes: the full color depth parameter of pixels all in image is performed according to the height packet of color depth numerical digit and
According to the dual division operation of pixel coordinate packet, described group result is many group local location color depth data, respectively organizes institute
State local location color depth data and include the color depth parameter of ad-hoc location pixel numerical value in particular number of bits;
The step that described sending module sends described group result in descending order according to corresponding numerical digit includes: described transmission mould
Block sends described group result with presetted pixel coordinate order in descending order according to corresponding numerical digit;
Described load-on module loads what described group result was gradually drawn with realization the most by group according to corresponding numerical digit
Step includes: load described group result by group to realize with presetted pixel coordinate order in descending order according to corresponding numerical digit
Gradually draw.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610554671.1A CN106127824B (en) | 2016-07-14 | 2016-07-14 | Image encoding/decoding device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610554671.1A CN106127824B (en) | 2016-07-14 | 2016-07-14 | Image encoding/decoding device and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106127824A true CN106127824A (en) | 2016-11-16 |
CN106127824B CN106127824B (en) | 2019-07-02 |
Family
ID=57282776
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610554671.1A Active CN106127824B (en) | 2016-07-14 | 2016-07-14 | Image encoding/decoding device and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106127824B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11646983B1 (en) | 2019-07-16 | 2023-05-09 | Whatsapp Llc | Methods and systems for transmitting an image with thumbnail data |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080068661A1 (en) * | 2006-09-20 | 2008-03-20 | Novatek Microelectronics Corp. | Method for dithering image data |
CN101162577A (en) * | 2001-09-14 | 2008-04-16 | 日本电气株式会社 | Image processing apparatus, image transmission apparatus, image reception apparatus, and image processing method |
CN101322393A (en) * | 2005-12-01 | 2008-12-10 | 日本电气株式会社 | Image processing device, image transmission device, method, program, and display device |
CN103414742A (en) * | 2013-07-03 | 2013-11-27 | 百度在线网络技术(北京)有限公司 | Image transmission method and system |
CN104851109A (en) * | 2015-06-10 | 2015-08-19 | 宁波盈芯信息科技有限公司 | Representing method for high-gray-scale depth image |
CN105225256A (en) * | 2015-06-10 | 2016-01-06 | 西安交通大学 | A kind of display packing of high gray depth image |
-
2016
- 2016-07-14 CN CN201610554671.1A patent/CN106127824B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101162577A (en) * | 2001-09-14 | 2008-04-16 | 日本电气株式会社 | Image processing apparatus, image transmission apparatus, image reception apparatus, and image processing method |
CN101322393A (en) * | 2005-12-01 | 2008-12-10 | 日本电气株式会社 | Image processing device, image transmission device, method, program, and display device |
US20080068661A1 (en) * | 2006-09-20 | 2008-03-20 | Novatek Microelectronics Corp. | Method for dithering image data |
CN103414742A (en) * | 2013-07-03 | 2013-11-27 | 百度在线网络技术(北京)有限公司 | Image transmission method and system |
CN104851109A (en) * | 2015-06-10 | 2015-08-19 | 宁波盈芯信息科技有限公司 | Representing method for high-gray-scale depth image |
CN105225256A (en) * | 2015-06-10 | 2016-01-06 | 西安交通大学 | A kind of display packing of high gray depth image |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11646983B1 (en) | 2019-07-16 | 2023-05-09 | Whatsapp Llc | Methods and systems for transmitting an image with thumbnail data |
Also Published As
Publication number | Publication date |
---|---|
CN106127824B (en) | 2019-07-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104427338B (en) | A kind of method and apparatus of image coding and image decoding using Block- matching | |
US20170256215A1 (en) | Display device and display device driver | |
CN100498838C (en) | Multi-mode alpha image processing method and system | |
US20210160496A1 (en) | Encoding method, decoding method, encoding/decoding system, encoder, and decoder | |
CN104917534B (en) | Compression, the method and apparatus of decompression data information, the method and apparatus and display device of compensation driving | |
CN104683805B (en) | Image coding, coding/decoding method and device | |
CN105933708B (en) | A kind of method and apparatus of data compression and decompression | |
CN106937113A (en) | Method for compressing image and device based on mixing colourity sample rate | |
CN106228581A (en) | By GPU, pixel format is converted to by ARGB the method and system of NV12 | |
CN103854586A (en) | Image processing circuit for image compression and decompression and display panel driver | |
CN105100814A (en) | Methods and devices for image encoding and decoding | |
CN106254888A (en) | A kind of picture coding and coding/decoding method, image processing equipment | |
CN112118449B (en) | Method and device for compressing and decompressing image | |
CN106127824A (en) | Image encoding/decoding device and method | |
CN104811731A (en) | Multilayer sub-block matching image compression method | |
CN106921869A (en) | A kind of photograph document handling method and its equipment | |
CN112887722B (en) | Lossless image compression method | |
CN101945274A (en) | Compressing and coding apparatus and decoding device | |
CN114360449B (en) | Multi-pixel fusion compression method for Mura calibration of display | |
CN110087085A (en) | Image processing apparatus | |
CN108184082A (en) | Image data transmission system and method | |
CN102231208A (en) | Method for compressing types of image colors | |
TWI496442B (en) | Image processing method and image display device | |
CN110689590B (en) | Compression coding method and device for map and mobile terminal equipment | |
JP5432690B2 (en) | Image coding apparatus and control method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |