CN105718235B - Processing method, device and the image display system that image is shown - Google Patents
Processing method, device and the image display system that image is shown Download PDFInfo
- Publication number
- CN105718235B CN105718235B CN201610165520.7A CN201610165520A CN105718235B CN 105718235 B CN105718235 B CN 105718235B CN 201610165520 A CN201610165520 A CN 201610165520A CN 105718235 B CN105718235 B CN 105718235B
- Authority
- CN
- China
- Prior art keywords
- pixel
- random
- pseudo
- image
- noise image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1407—General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Image Processing (AREA)
Abstract
The present invention provides a kind of processing method that image is shown, device and image display system, this method comprises: receiving the input picture that bit wide is the first bit wide, carries out Bits Expanding to the input picture, forms the corresponding expanded images of the input picture;According to the expanded images, high-frequency noise image is generated;The pixel value of pixel each in the expanded images and the pixel value of corresponding position pixel in the high-frequency noise image are separately summed according to channel, form the pixel value of each pixel in output image;The output image is exported and shown.This method compared with the prior art, on the basis of guaranteeing the effect of color range and false contouring elimination, significantly reduces algorithm complexity and storage consumption, so that image shows that treatment effeciency is significantly improved.
Description
Technical field
The present invention relates to image display technologies more particularly to a kind of processing method that image is shown, device and image to show
System.
Background technique
There are many bit wides that current image display system is supported, such as the bit wide of 8 bits, the bit wide etc. of 10 bits.
And the bit wide of image for needing to show in image display system also there are many, such as the bit wide of 8 bits, the bit wide of 10 bits
Deng.If the image that bit wide is 8 bits directly shown in the image display system of 10 bits, it just will appear color range and false ring
The problems such as wide.
In the prior art, to eliminate the color range and false contouring that generate due to bit wide difference it the problems such as, needs aobvious in image
Show or Bits Expanding processing is carried out to image using preceding.Specifically, the data of extension bits are calculated by specific algorithm, to make
The bit wide for obtaining image is consistent with the bit wide of image display system, alternatively, with certain functional modules in image display system or system
It is required that data precision it is consistent.
But the time complexity and computation complexity of Bits Expanding algorithm in the prior art are high, and storage consumption is big,
Cause the display efficiency of image display system low.
Summary of the invention
The embodiment of the present invention provides a kind of processing method that image is shown, device and image display system, existing for solving
There is the problem that display efficiency is low in technology.
First aspect of the embodiment of the present invention provides a kind of processing method that image is shown, comprising:
The input picture that bit wide is the first bit wide is received, if the first bit wide, which is less than, is pre-configured bit wide, according to prewired set
Width carries out Bits Expanding to the input picture, to form the corresponding expanded images of the input picture, wherein the expanded images
Bit wide be the pre-configuration bit wide;In turn, according to the expanded images, high-frequency noise image is generated, so that the high frequency is made an uproar
The size of acoustic image is identical as the size of the expanded images;By the pixel value of pixel each in the expanded images with it is described
The pixel value of corresponding position pixel is separately summed according to channel in high-frequency noise image, forms each pixel in output image
Pixel value, it is described output image size it is identical as the size of the expanded images;Finally, simultaneously by output image output
Display.Due to having used high-frequency noise image to realize Bits Expanding and output, and generate high-frequency noise image and by high-frequency noise
Compared with the prior art, algorithm complexity is low, storage consumption is small, therefore at image display for the mode that image is added with expanded images
The efficiency of reason is obviously improved.Simultaneously as therefore human eye, joined high-frequency noise to high-frequency noise and insensitive
Be not in human eye in output image it is observed that noise, to ensure that color range and the effect that false contouring is eliminated.
In a kind of possible designs, following methods can be used and generate high-frequency noise image:
Firstly, triggering random signal generator generate random white noise image, the size of the random white noise image with
The size of the input picture is identical;Secondly, carrying out two-dimensional high-pass filtering to the random white noise image, the high frequency is formed
Noise image.Since the corresponding frequency of pixel value of each pixel of white noise acoustic image is uniformly distributed in each frequency range, if directly
It connects using white noise acoustic image, human eye will be aware of these image informations, to will affect the display of original input image.Therefore,
In this step, two-dimensional high-pass filtering is carried out to generated white noise acoustic image, the white noise acoustic image joint performance after filtering becomes
For pixel pixel value all it is the high-frequency noise image of high frequency, to guarantee that subsequent same expanded images are added the output formed later
Image can normally be shown.
In a kind of possible design, when triggering random signal generator generation random white noise image, it can be used
Multiple pseudo-random sequence generators generate.Specifically, the corresponding pseudorandom shape of multiple pseudo-random sequence generators is obtained respectively
State, and according to the corresponding pseudo-random state of the multiple pseudo-random sequence generator, generate the random white noise image.By
In it is subsequent to random white noise image carry out two-dimensional high-pass filtering when, be to be carried out one by one to the pixel of random white noise image
Filtering, and when being filtered to some pixel, need to use the information of multiple pixels around the pixel simultaneously,
Therefore, in the present embodiment, carry out while generating the pixel value of multiple more pixels using multiple pseudo-random sequence generators, to guarantee
Subsequent filtering can smoothly complete.
In a kind of possible design, Laplce's exposure mask can be used, two dimension is carried out to the random white noise image
High-pass filtering forms the high-frequency noise image.
In a kind of possible design, the line number of the number of aforementioned pseudo-random sequence generator and Laplce's exposure mask
Unanimously.
In a kind of possible design, the size of Laplce's exposure mask is 3*3, and the line number of Laplce's exposure mask is 3 rows, pseudo-
The number of random sequence generator is 3, pseudo-random sequence generator include: the first pseudo-random sequence generator, second it is pseudo- with
Machine sequencer and third pseudo-random sequence generator;Based on this, the process for generating random white noise image specifically can be with
Are as follows:
Obtain the predetermined number ratio in the state value of the corresponding pseudo-random state of first pseudo-random sequence generator
The predetermined number bit value is equally divided into three parts by paricular value, obtains the random white noise according to three parts
The pixel value in each channel of the pixel of current pixel point lastrow of the row in acoustic image;
Obtain the predetermined number ratio in the state value of the corresponding pseudo-random state of second pseudo-random sequence generator
The predetermined number bit value is equally divided into three parts by paricular value, obtains the random white noise according to three parts
The pixel value in each channel of current pixel point pixel of the row in image;
Obtain the predetermined number ratio in the state value of the corresponding pseudo-random state of the third pseudo-random sequence generator
The predetermined number bit value is equally divided into three parts by paricular value, obtains the random white noise according to three parts
The pixel value in each channel of the pixel of current pixel point next line of the row in acoustic image;
Wherein, the original state of first pseudo-random sequence generator be second pseudo-random sequence generator with
It is corresponding when generating pixel value to first pixel of the lastrow when generating the pixel pixel value of the lastrow
Pseudo-random state;
The original state of second pseudo-random sequence generator is the third pseudo-random sequence generator for giving birth to
At the next line pixel pixel value when, when generating pixel value to first pixel of the next line it is corresponding it is pseudo- with
Machine state.
In a kind of possible design, two-dimensional high-pass filtering is carried out to the random white noise image using this exposure mask of pula
It is specifically as follows:
Centered on current pixel point in the random white noise image, current picture in the random white noise image is chosen
8 pixels around vegetarian refreshments, form the window of 3*3;
The window of the 3*3 and Laplce's exposure mask are subjected to exposure mask filtering, formed in the high-frequency noise image when
The pixel value of preceding pixel point;Wherein, 8 pixels in the random white noise image around current pixel point are described random
3 pixels of 3 pixels of the lastrow of current pixel point, 2 pixels of current row and next line in white noise acoustic image
Point.
In a kind of possible design, according to the pre-configuration bit wide, Bits Expanding is carried out to the input picture, is formed
When the corresponding expanded images of the input picture, the pixel value of pixel each in the input picture can specifically be moved to left pre-
If a several bits, wherein the predetermined number is the difference for being pre-configured bit wide and first bit wide.
In a kind of possible design, before generating high-frequency noise image, it is first determined the bit wide of high-frequency noise image,
Specifically, according to the default corresponding relationship of the bit wide for the difference and high-frequency noise image for being pre-configured bit wide and the first bit wide, come true
Determine the bit wide of high-frequency noise image.
In a kind of possible design, by the pixel value of high-frequency noise image and the pixel of expanded images according to channel
When being added, if the pixel value of pixel and corresponding position pixel in the high-frequency noise image in the expanded images
The result that is added of pixel value be greater than the greatest measure that can indicate of pre-configuration bit wide, then using the greatest measure as institute
State the pixel value of corresponding position pixel in output image.
In a kind of possible design, if the difference for being pre-configured bit wide and the first bit wide is 2 bits, high frequency can be determined
The bit wide of noise image is 3 bits, also, correspondingly, and the pixel value of each pixel is 3 bits in the high-frequency noise image
Signed number evidence.
In alternatively possible embodiment, above-mentioned pseudo-random sequence generator is specifically as follows the LSFR of 127 ranks.
Second aspect of the embodiment of the present invention provides a kind of processing unit that image is shown, which, which has, realizes the above method
Function.These functions can also execute corresponding software realization by hardware realization by hardware.The hardware is soft
Part includes one or more modules corresponding with above-mentioned function.
In a kind of possible design, the specific structure of the device may include receiving module, expansion module, generation module,
Summation module and output module.Above-mentioned side can be performed in receiving module, expansion module, generation module, summation module and output module
Corresponding function in method.For example, receiving module, for receiving the input picture that bit wide is the first bit wide, expansion module is used for
When first bit wide is less than pre-configuration bit wide, according to the pre-configuration bit wide, Bits Expanding is carried out to the input picture, is formed
The corresponding expanded images of the input picture, generation module, for generating high-frequency noise image according to the expanded images, with
Keep the size of the high-frequency noise image identical as the size of the expanded images, summation module is used for the expanded images
In the pixel value of pixel value and corresponding position pixel in the high-frequency noise image of each pixel distinguish phase according to channel
Add, forms the pixel value of each pixel in output image, output module, for exporting and showing the output image.
The third aspect of the embodiment of the present invention provides a kind of image display system, includes figure above-mentioned in the image display system
Processing unit as shown in.
Compared to the prior art, scheme provided by the embodiment of the present invention, in the effect for guaranteeing that color range and false contouring are eliminated
On the basis of, algorithm complexity and storage consumption are significantly reduced, so that image shows that treatment effeciency is significantly improved.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair
Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the flow diagram that the processing method that image provided in an embodiment of the present invention is shown implements one;
Fig. 2 is the flow diagram that the processing method that image provided in an embodiment of the present invention is shown implements two;
Fig. 3 is the flow diagram that the processing method that image provided in an embodiment of the present invention is shown implements three;
Fig. 4 is an example of Laplce's exposure mask;
Fig. 5 is the function structure chart that the processing unit that image provided in an embodiment of the present invention is shown implements one;
Fig. 6 is the function structure chart that the processing unit that image provided in an embodiment of the present invention is shown implements two;
Fig. 7 is the function structure chart that the processing unit that image provided in an embodiment of the present invention is shown implements three.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
A variety of Bits Expanding algorithms exist in the prior art, for simple Bits Expanding algorithm, color range and false contouring can be introduced
Problem, and the Bits Expanding algorithm for can solve color range and false contouring problem, and big time complexity can occupied, calculated
Complexity and storage consumption.Currently, wireless terminal device is using more and more, such as mobile phone, tablet computer etc., these terminals
There is restriction to the complexity, storage consumption and power consumption etc. of software algorithm, by the Bits Expanding algorithm application of the prior art
It will appear the low problem of display efficiency into these equipment, therefore, the Bits Expanding algorithm of the prior art is not particularly suited at present
Wireless terminal device and other display equipment.
Based on this, the embodiment of the present invention can be applied for a kind of Bits Expanding method based on high-frequency noise image, this method
In wireless terminal device and other any display equipment, there is good effect.
Fig. 1 is the flow diagram that the processing method that image provided in an embodiment of the present invention is shown implements one, this method
Executing subject can be the Bits Expanding module in display system, or be also easy to produce color range, the module of false contouring etc., as shown in Figure 1,
This method comprises:
S101, input picture is received, the bit wide of the input picture is the first bit wide.
If S102, above-mentioned first bit wide, which are less than, is pre-configured bit wide, according to bit wide is pre-configured, position expansion is carried out to input picture
Exhibition forms the corresponding expanded images of input picture.
Wherein, the bit wide of expanded images is above-mentioned pre-configuration bit wide.
Above-mentioned pre-configuration bit wide is the bit wide that display system is supported, if the position of image received by display system
Width is less than the bit wide that display system is supported, then needs to expand to the bit wide of input picture the bit wide of display system.
For example, if the bit wide of input picture is 8 bits, and the bit wide that display system is supported is 10 bits, i.e., it is above-mentioned
Pre-configuration bit wide is 10 bits, then needs input picture forming expansion corresponding with input picture from 8 bit expanded position, 10 bit
Open up image.
S103, according to above-mentioned expanded images, high-frequency noise image is generated, so that the size of high-frequency noise image and above-mentioned expansion
The size for opening up image is identical.
After expanded images determine, according to the size of the expanded images, generation one is identical with the expanded images size
High-frequency noise image.The corresponding frequency of pixel value of each pixel in the high-frequency noise image is all in high band.
S104, by corresponding position picture in the pixel value of pixel each in above-mentioned expanded images and above-mentioned high-frequency noise image
The pixel value of vegetarian refreshments is separately summed according to channel, forms the pixel value of each pixel in output image, the ruler of the output image
It is very little identical as the size of expanded images.
It should be noted that the pixel value of expanded images and the pixel in high-frequency noise image can pass through different face
The colour space indicates, for example, can be RGB color, YUV color space or hsv color space etc..For each face
The colour space is added when pixel is added all in accordance with the channel in the color space respectively.
For example, it is assumed that the pixel value of expanded images and the pixel in high-frequency noise image is all indicated by rgb value,
RGB color includes the channel R, the channel G and channel B.When being added, by the pixel value in the channel R of the pixel of expanded images
It is added with the pixel value in the channel R of the pixel of high-frequency noise image, forms the picture in the channel R of the corresponding pixel points of output image
Element value.And so on, form the channel G of the pixel of output image and the pixel value of channel B.
It in the following embodiment of the embodiment of the present invention, is all illustrated by taking RGB color as an example, but other colors are empty
Between, following embodiments are equally applicable.
In expanded images after extension, there is no data in the bit that is expanded in each pixel, this
In step, the pixel value of the pixel of the high-frequency noise image of generation is added to the bit expanded in expanded images
In, i.e., the pixel of two images is added, to form the pixel of output image.
Since human eye is for the insensitive for noise of high band, it is added on each pixel in expanded images high
Pixel Information in frequency noise image is added so that user only sees normal output image without can be appreciated that in the image
Noise information.
S105, above-mentioned output image is exported and is shown.
In the present embodiment, due to having used high-frequency noise image to realize Bits Expanding and output, and high-frequency noise image is generated
And the mode for being added high-frequency noise image with expanded images is compared with the prior art, algorithm complexity is low, storage consumption is small,
Therefore the efficiency of image display processing is obviously improved.Simultaneously as therefore human eye, is adding high-frequency noise and insensitive
Entered be not in human eye in the output image of high-frequency noise it is observed that noise, to ensure that color range and false contouring are eliminated
Effect.
Fig. 2 is the flow diagram that the processing method that image provided in an embodiment of the present invention is shown implements two, such as Fig. 2 institute
Show, above-mentioned steps S103 is specifically included:
S201, triggering random signal generator generate random white noise image, the size of the random white noise image with it is defeated
The size for entering image is identical.
Random signal generator can produce orderly pseudo-random state, and then can be generated based on these pseudo-random states
White noise acoustic image identical with input image size, white noise refer in a frequency domain noise correspond to volume energy each frequency range distribution compared with
Uniform noise, correspondingly, the corresponding frequency of pixel value of each pixel in white noise acoustic image will not only concentrate on high band,
But it can be uniformly distributed in each frequency range.
S202, two-dimensional high-pass filtering is carried out to above-mentioned random white noise image, forms above-mentioned high-frequency noise image.
Since the corresponding frequency of pixel value of each pixel of white noise acoustic image is uniformly distributed in each frequency range, if directly
It connects using white noise acoustic image, human eye will be aware of these image informations, to will affect the display of original input image.Therefore,
In this step, two-dimensional high-pass filtering is carried out to generated white noise acoustic image, the white noise acoustic image joint performance after filtering becomes
For pixel pixel value all it is the high-frequency noise image of high frequency, to guarantee that subsequent same expanded images are added the output formed later
Image can normally be shown.
Fig. 3 is the flow diagram that the processing method that image provided in an embodiment of the present invention is shown implements three, such as Fig. 3 institute
Show, above-mentioned steps S201 is specifically included:
S301, the corresponding pseudo-random state of multiple pseudo-random sequence generators is obtained respectively.
S302, according to the corresponding pseudo-random state of multiple pseudo-random sequence generators, generate random white noise image.
According to the corresponding state value of pseudo-random state, each channel of available pixel each into random white noise image
Pixel value.
Due to being the pixel to random white noise image in the subsequent progress two-dimensional high-pass filtering to random white noise image
Point is filtered one by one, and when being filtered to some pixel, need to use multiple pictures around the pixel simultaneously
Therefore the picture of multiple more pixels is carried out using multiple pseudo-random sequence generators while being generated to the information of vegetarian refreshments in the present embodiment,
Element value, to guarantee that subsequent filtering can smoothly complete.
It, specifically can be with when above-mentioned steps S202 carries out two-dimensional high-pass filtering to random white noise image in another embodiment
Two-dimensional high-pass filtering is carried out to random white noise image using Laplce's exposure mask, to form above-mentioned high-frequency noise image.
Fig. 4 is an example of Laplce's exposure mask, as shown in figure 4, Laplce's mask process belongs to window processing, i.e., it is logical
It crosses with the superposition calculation of surrounding point and obtains the value of central point.
Preferably, the number of above-mentioned pseudo-random sequence generator is consistent with the line number of Laplce's exposure mask, to guarantee
The picture of the pixel handled and its surrounding pixel point can be rapidly and accurately got when filtering using Laplce's exposure mask
Element value.And in the prior art, when carrying out two-dimensional filtering, in order to calculate the pixel value of central point, need in known window it
Multiple white noise values of his two adjacent rows.And the pseudorandom shape of the corresponding position of lastrow and current pixel point left-hand point at this time
State is pass by, and can not be obtained by pseudo-random sequence generator, meanwhile, the corresponding position of next line and current pixel point are right
The pseudo-random state of side point does not arrive also.Therefore, it needs to increase multiple row buffers in hardware end in the prior art, for storing
The Pixel Information of current pixel point surrounding pixel point.And in the present invention, due to having used above-mentioned multiple pseudo-random sequence generators,
The pixel value of the surrounding pixel point around current pixel point can be used to directly generate, therefore, there is no need to increase in hardware end and go
Buffer area, to save hardware store consumption.
Based on scheme above-mentioned, in a kind of preferred embodiment of aforementioned schemes, the size of above-mentioned Laplce's exposure mask
For 3*3, the line number of Laplce's exposure mask is 3 rows, and the number of above-mentioned pseudo-random sequence generator is 3, be respectively as follows: first it is pseudo- with
Machine sequencer, the second pseudo-random sequence generator and third pseudo-random sequence generator.
When pseudo-random sequence generator is above three pseudo-random sequence generator, the specific implementation of above-mentioned steps S302
Process are as follows:
The predetermined number bit value in the state value of the corresponding pseudo-random state of the first pseudo-random sequence generator is obtained,
The predetermined number bit value is equally divided into three parts, obtains current picture in random white noise image according to this three parts
The pixel value in each channel of the pixel of vegetarian refreshments lastrow of the row.
For example, it is assumed that the first pseudo-random sequence generator is linear feedback register (the Liner Feedback of 127 ranks
Shift Register, abbreviation LSFR), the state value of the pseudo-random state at the LSFR each moment is 127 bits, take this 127
Preceding 24 bits in bit, this 24 bit is divided into and is equally divided into three parts, and every part is the random number of 8 bits.
In turn, these three random numbers are judged section locating for each random number, obtains respective area respectively with threshold value comparison
Between random noise, it is of the row to assign obtained three random noises to current pixel point in random white noise image respectively
Tri- channels R, G, B of the pixel of lastrow, to obtain current pixel point in random white noise image of the row upper one
The pixel value in each channel of capable pixel.
The pixel value in the following each channel for obtaining current pixel point pixel of the row and each of acquisition pixel are led to
Pixel value of the method for the pixel value in road all with each channel of the pixel of above-mentioned acquisition current pixel point lastrow of the row
Method it is identical, can refer to this method, it will not be described.
The predetermined number bit value in the state value of the corresponding pseudo-random state of the second pseudo-random sequence generator is obtained,
The predetermined number bit value is equally divided into three parts, obtains current picture in random white noise image according to this three parts
The pixel value in each channel of vegetarian refreshments pixel of the row.
The predetermined number bit value in the state value of the corresponding pseudo-random state of third pseudo-random sequence generator is obtained,
The predetermined number bit value is equally divided into three parts, obtains pixel in random white noise image according to this three parts
Each channel pixel value.
It should be noted that for above three pseudo-random sequence generator, the first pseudo-random sequence generator it is initial
State, i.e. seed are the second pseudo-random sequence generator in the pixel pixel value for generating lastrow, to lastrow
First pixel generates corresponding pseudo-random state when pixel value.
Also, the original state of the second pseudo-random sequence generator, i.e. seed, be third pseudo-random sequence generator with
It is corresponding when generating pixel value to first pixel of the next line when generating the pixel pixel value of the next line
Pseudo-random state.
Due to during actually carrying out the generation of white noise acoustic image and filtering, being to generate one in white noise acoustic image
It with regard to directly carrying out two-dimensional high-pass filtering to it after pixel pixel value, and is not to be filtered again after forming whole picture white noise acoustic image
Wave, therefore, white noise value are not saved, but before carrying out two-dimensional high-pass filtering every time, it is obtained according to pseudo-random state value.
When two-dimensional high-pass filters, the pixel value in addition to needing current pixel point in random white noise image, it is also necessary to current pixel point week
The pixel value of pixel is enclosed, when in order to guarantee the pixel value of this obtained surrounding pixel point and carry out the filtering of other pixels
The pixel value of the surrounding pixel point is consistent, using the seed of the first pseudo-random sequence generator as the second pseudorandom shape in the present invention
Pseudo-random state of the state generator when handling lastrow (when i.e. lastrow is as current line) first pixel, by second it is pseudo- with
The seed of machine state is as third pseudo-random state generator a line (when i.e. current line is as next line) first under treatment
Pseudo-random state when pixel.
Optionally, the pseudo-random sequence generator in the present invention can be the LSFR of 127 ranks.
Further, it is based on above three pseudo-random sequence generator, it is above-mentioned to use Laplce's exposure mask to random white noise
The specific method that acoustic image carries out two-dimensional high-pass filtering can be with are as follows:
Centered on current pixel point in random white noise image, choose in random white noise image around current pixel point
8 pixels, form the window of 3*3;The window of this 3*3 and Laplce's exposure mask are subjected to exposure mask filtering, form high-frequency noise
The pixel value of current pixel point in image;Wherein, 8 pixels in random white noise image around current pixel point are random
3 pixels of 3 pixels of the lastrow of current pixel point, 2 pixels of current row and next line in white noise acoustic image
Point.
Specifically, it is assumed that position of the current pixel point in white noise acoustic image is the i-th row jth column, then carries out exposure mask filtering
Formula are as follows:
Wherein, _ chan indicates Color Channel, can be the channel R, the channel G, channel B.
Noise_chan [i] [j] indicates the i-th row generated under chan Color Channel by above-mentioned pseudo-random sequence generator
The corresponding white noise value in jth column pixel place.
HNoise_chan [i] [j] indicates under chan Color Channel, high-frequency noise value that the i-th row jth column pixel need to add.
Bits Expanding is carried out in another embodiment, in above-mentioned steps S102 to be specifically as follows:
The pixel value of pixel each in above-mentioned input picture is moved to left into predetermined number bit, wherein predetermined number
For the difference for being pre-configured bit wide and the first bit wide.
For example, pre-configuration bit wide is 10 bits, then its difference is 2 if the first bit wide is 8 bits, then position expansion is being carried out
The pixel value of pixel each in input picture is moved to left 2 bits by Zhan Shi, i.e., to mobile 2 bits of a high position.
In turn, after the pixel pixel value that high-frequency noise image is got by preceding method, by high-frequency noise image pair
The pixel value of pixel is answered directly to be added with the pixel pixel value of the expanded images after progress Bits Expanding, it can to form output
The pixel value of the pixel of image.
Further, the bit wide of high-frequency noise image can be determined by the first bit wide with the difference for being pre-configured bit wide.Tool
Body, it can be come according to the default corresponding relationship of the bit wide of the difference and high-frequency noise image of the first bit wide and pre-configuration bit wide
Determine the bit wide of high-frequency noise image.
Preferably, the bit wide of high-frequency noise image can add 1 result for the difference of the first bit wide and pre-configuration bit wide.
For example, when pre-configuration bit wide is 10 bit, the bit wide of high-frequency noise image is 3 bits when the first bit wide is 8 bits.
Optionally, the pixel of the corresponding input picture of the first bit wide is the unsigned number of 8 bits, and high-frequency noise image is
The signed number of 3 bits.
When the pixel value of pixel is added with the pixel value of corresponding position pixel in high-frequency noise image in expanded images
Result be greater than be pre-configured bit wide can indicate greatest measure when, using the greatest measure as export image in corresponding position picture
The pixel value of vegetarian refreshments.I.e. when addition result is greater than the maximum value that pre-configuration bit wide can indicate, need to carry out clipping, by result
The maximum value that clipping can be indicated to pre-configuration bit wide.Such as when the bit wide of expanded images is 10 bit, addition result should
Clipping is to 210。
Fig. 5 is the function structure chart that the processing unit that image provided in an embodiment of the present invention is shown implements one, such as Fig. 5 institute
Show, which includes:
Receiving module 501, for receiving input picture, the bit wide of the input picture is the first bit wide.
Expansion module 502 is used for when the first bit wide is less than and is pre-configured bit wide, according to bit wide is pre-configured, to input picture
Bits Expanding is carried out, the corresponding expanded images of input picture are formed;Wherein, the bit wide of expanded images is to be pre-configured bit wide.
Generation module 503, for high-frequency noise image being generated, so that the ruler of the high-frequency noise image according to expanded images
It is very little identical as the size of expanded images.
Summation module 504, for position will to be corresponded in the pixel value of pixel each in expanded images and high-frequency noise image
The pixel value for setting pixel is separately summed according to channel, is formed the pixel value of each pixel in output image, is exported image
Size is identical as the size of the expanded images.
Output module 505 is exported and is shown for that will export image.
The device is for realizing above method embodiment, and it is similar that the realization principle and technical effect are similar, and details are not described herein again.
Fig. 6 is the function structure chart that the processing unit that image provided in an embodiment of the present invention is shown implements two, such as Fig. 6 institute
Show, generation module 503 includes:
Generation unit 5031 generates random white noise image, the random white noise figure for triggering random signal generator
The size of picture and the size of input picture are identical.
Filter unit 5032 forms high-frequency noise image for carrying out two-dimensional high-pass filtering to random white noise image.
In another embodiment, generation unit 5031 is specifically used for:
The corresponding pseudo-random state of multiple pseudo-random sequence generators is obtained respectively;And
According to the corresponding pseudo-random state of multiple pseudo-random sequence generators, random white noise image is generated.
In another embodiment, filter unit 5032 is specifically used for:
Using Laplce's exposure mask, two-dimensional high-pass filtering is carried out to random white noise image, forms high-frequency noise image.
In a preferred embodiment, the number of pseudo-random sequence generator is consistent with the line number of Laplce's exposure mask.
In a preferred embodiment, if the size of above-mentioned Laplce's exposure mask is 3*3, the line number of Laplce's exposure mask is 3
Row, the number of pseudo-random sequence generator are 3, and pseudo-random sequence generator includes: the first pseudo-random sequence generator, second
Pseudo-random sequence generator and third pseudo-random sequence generator;Then generation unit 5031 is specifically also used to:
The predetermined number bit value in the state value of the corresponding pseudo-random state of the first pseudo-random sequence generator is obtained,
The predetermined number bit value is equally divided into three parts, obtains current picture in random white noise image according to this three parts
The pixel value in each channel of the pixel of vegetarian refreshments lastrow of the row;And
The predetermined number bit value in the state value of the corresponding pseudo-random state of the second pseudo-random sequence generator is obtained,
The predetermined number bit value is equally divided into three parts, obtains current picture in random white noise image according to this three parts
The pixel value in each channel of vegetarian refreshments pixel of the row;And
The predetermined number bit value in the state value of the corresponding pseudo-random state of third pseudo-random sequence generator is obtained,
The predetermined number bit value is equally divided into three parts, obtains current picture in random white noise image according to this three parts
The pixel value in each channel of the pixel of vegetarian refreshments next line of the row.
Wherein, the original state of the first pseudo-random sequence generator is the second pseudo-random sequence generator for generating
When the pixel pixel value of a line, corresponding pseudo-random state when generating pixel value to first pixel of lastrow.Second
The original state of pseudo-random sequence generator is third pseudo-random sequence generator in the pixel pixel for generating next line
When value, corresponding pseudo-random state when generating pixel value to first pixel of next line.
In another embodiment, filter unit 5032 is specifically also used to:
Centered on current pixel point in random white noise image, choose in random white noise image around current pixel point
8 pixels, form the window of 3*3;The window of the 3*3 and Laplce's exposure mask are subjected to exposure mask filtering, form high-frequency noise figure
The pixel value of current pixel point as in;Wherein, 8 pixels in random white noise image around current pixel point are random white
3 pixels of 3 pixels of the lastrow of current pixel point, 2 pixels of current row and next line in noise image.
In another embodiment, expansion module 502 is specifically used for:
The pixel value of pixel each in input picture is moved to left into predetermined number bit, wherein the predetermined number is
It is pre-configured the difference of bit wide and the first bit wide.
Fig. 7 is the function structure chart that the processing unit that image provided in an embodiment of the present invention is shown implements three, such as Fig. 7 institute
Show, on the basis of Fig. 5, the device further include:
Determining module 506 determines high for the default corresponding relationship according to above-mentioned difference and the bit wide of high-frequency noise image
The bit wide of frequency noise image.
In another embodiment, summation module 505 is specifically used for:
For the pixel in expanded images, if the pixel value of pixel is corresponding with high-frequency noise image in expanded images
The result that the pixel value of position pixel is added, which is greater than, is pre-configured the greatest measure that bit wide can indicate, then makees the greatest measure
For the pixel value of corresponding position pixel in output image.
In another embodiment, determining module 506 is specifically used for:
If the difference is 2 bits, it is determined that the bit wide of the high-frequency noise image is 3 bits, correspondingly, the high frequency
The pixel value of each pixel is the signed number evidence of 3 bits in noise image.
In another embodiment, above-mentioned pseudo-random sequence generator is specifically as follows the LSFR of 127 ranks.
Further, the embodiment of the present invention provides a kind of image display system, which can be any tool
There is the image in image display system in the equipment of image display function, such as mobile phone, tablet computer, laptop etc. aobvious
Show system.The image display system includes the processing unit that aforementioned image is shown.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to
The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey
When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or
The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to
So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into
Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.
Claims (19)
1. a kind of processing method that image is shown characterized by comprising
Input picture is received, the bit wide of the input picture is the first bit wide;
If first bit wide, which is less than, is pre-configured bit wide, according to the pre-configuration bit wide, position expansion is carried out to the input picture
Exhibition, forms the corresponding expanded images of the input picture;Wherein, the bit wide of the expanded images is the pre-configuration bit wide;
According to the expanded images, high-frequency noise image is generated, so that the size of the high-frequency noise image and the expander graphs
The size of picture is identical;
By the picture of corresponding position pixel in the pixel value of pixel each in the expanded images and the high-frequency noise image
Plain value is separately summed according to channel, forms the pixel value of each pixel in output image, the size of the output image and institute
The size for stating expanded images is identical;
The output image is exported and shown;
It is described according to the expanded images, generate high-frequency noise image, comprising:
It triggers random signal generator and generates random white noise image, the size of the random white noise image and the input are schemed
The size of picture is identical;
Two-dimensional high-pass filtering is carried out to the random white noise image, forms the high-frequency noise image.
2. the method according to claim 1, wherein the triggering random signal generator generates and the input
The identical random white noise image of the size of image, comprising:
The corresponding pseudo-random state of multiple pseudo-random sequence generators is obtained respectively;
According to the corresponding pseudo-random state of the multiple pseudo-random sequence generator, the random white noise image is generated.
3. according to the method described in claim 2, it is characterized in that, described carry out two-dimensional high-pass to the random white noise image
Filtering, forms the high-frequency noise image, comprising:
Using Laplce's exposure mask, two-dimensional high-pass filtering is carried out to the random white noise image, forms the high-frequency noise figure
Picture.
4. according to the method described in claim 3, the number of the pseudo-random sequence generator and Laplce's exposure mask
Line number is consistent.
5. according to the method described in claim 4, it is characterized in that, if the size of Laplce's exposure mask is 3*3, the drawing
The line number of this exposure mask of pula is 3 rows, and the number of the pseudo-random sequence generator is 3, the pseudo-random sequence generator packet
It includes: the first pseudo-random sequence generator, the second pseudo-random sequence generator and third pseudo-random sequence generator;Then described
According to the corresponding pseudo-random state of the multiple pseudo-random sequence generator, the random white noise image is generated, comprising:
The predetermined number bit value in the state value of the corresponding pseudo-random state of first pseudo-random sequence generator is obtained,
The predetermined number bit value is equally divided into three parts, the random white noise image is obtained according to three parts
The pixel value in each channel of the pixel of middle current pixel point lastrow of the row;
The predetermined number bit value in the state value of the corresponding pseudo-random state of second pseudo-random sequence generator is obtained,
The predetermined number bit value is equally divided into three parts, the random white noise image is obtained according to three parts
The pixel value in each channel of middle current pixel point pixel of the row;
The predetermined number bit value in the state value of the corresponding pseudo-random state of the third pseudo-random sequence generator is obtained,
The predetermined number bit value is equally divided into three parts, the random white noise image is obtained according to three parts
The pixel value in each channel of the pixel of middle current pixel point next line of the row;
Wherein, the original state of first pseudo-random sequence generator is second pseudo-random sequence generator for giving birth to
At the lastrow pixel pixel value when, when generating pixel value to first pixel of the lastrow it is corresponding it is pseudo- with
Machine state;
The original state of second pseudo-random sequence generator is the third pseudo-random sequence generator for generating institute
When stating the pixel pixel value of next line, corresponding pseudorandom shape when generating pixel value to first pixel of the next line
State.
6. according to the method described in claim 5, it is characterized in that, described use Laplce's exposure mask to the random white noise
Image carries out two-dimensional high-pass filtering, forms the high-frequency noise image, comprising:
Centered on current pixel point in the random white noise image, current pixel point in the random white noise image is chosen
8 pixels of surrounding, form the window of 3*3;
The window of the 3*3 and Laplce's exposure mask are subjected to exposure mask filtering, form current picture in the high-frequency noise image
The pixel value of vegetarian refreshments;Wherein, 8 pixels in the random white noise image around current pixel point are the random white noise
3 pixels of 3 pixels of the lastrow of current pixel point, 2 pixels of current row and next line in acoustic image.
7. being schemed to the input the method according to claim 1, wherein described according to the pre-configuration bit wide
As carrying out Bits Expanding, the corresponding expanded images of the input picture are formed, comprising:
The pixel value of pixel each in the input picture is moved to left into predetermined number bit, wherein the predetermined number
For the difference for being pre-configured bit wide and first bit wide.
8. the method according to the description of claim 7 is characterized in that before the generation high-frequency noise image, the method
Further include:
According to the default corresponding relationship of the difference and the bit wide of the high-frequency noise image, the high-frequency noise image is determined
Bit wide.
9. the method according to claim 1, wherein the pixel by pixel each in the expanded images
Value and the pixel value of corresponding position pixel in the high-frequency noise image are separately summed according to channel, are formed every in output image
The pixel value of a pixel, comprising:
For the pixel in the expanded images, if the pixel value of pixel and the high-frequency noise figure in the expanded images
The result that the pixel value of corresponding position pixel is added as in is greater than the greatest measure that the pre-configuration bit wide can indicate, then will
Pixel value of the greatest measure as corresponding position pixel in the output image.
10. a kind of processing unit that image is shown characterized by comprising
Receiving module, for receiving input picture, the bit wide of the input picture is the first bit wide;
Expansion module is used for when first bit wide is less than and is pre-configured bit wide, according to the pre-configuration bit wide, to the input
Image carries out Bits Expanding, forms the corresponding expanded images of the input picture;Wherein, the bit wide of the expanded images is described pre-
Configure bit wide;
Generation module, for high-frequency noise image being generated, so that the size of the high-frequency noise image according to the expanded images
It is identical as the size of the expanded images;
Summation module, for position will to be corresponded in the pixel value of pixel each in the expanded images and the high-frequency noise image
The pixel value for setting pixel is separately summed according to channel, forms the pixel value of each pixel in output image, the output figure
The size of picture is identical as the size of the expanded images;
Output module, for exporting and showing the output image;
The generation module includes:
Generation unit generates random white noise image, the ruler of the random white noise image for triggering random signal generator
It is very little identical as the size of the input picture;
Filter unit forms the high-frequency noise image for carrying out two-dimensional high-pass filtering to the random white noise image.
11. device according to claim 10, which is characterized in that the generation unit is specifically used for:
The corresponding pseudo-random state of multiple pseudo-random sequence generators is obtained respectively;And
According to the corresponding pseudo-random state of the multiple pseudo-random sequence generator, the random white noise image is generated.
12. device according to claim 11, which is characterized in that the filter unit is specifically used for:
Using Laplce's exposure mask, two-dimensional high-pass filtering is carried out to the random white noise image, forms the high-frequency noise figure
Picture.
13. device according to claim 12, which is characterized in that the number of the pseudo-random sequence generator and the drawing
The line number of this exposure mask of pula is consistent.
14. device according to claim 13, which is characterized in that described if the size of Laplce's exposure mask is 3*3
The line number of Laplce's exposure mask is 3 rows, and the number of the pseudo-random sequence generator is 3, the pseudo-random sequence generator
It include: the first pseudo-random sequence generator, the second pseudo-random sequence generator and third pseudo-random sequence generator;It is then described
Generation unit is specifically also used to:
The predetermined number bit value in the state value of the corresponding pseudo-random state of first pseudo-random sequence generator is obtained,
The predetermined number bit value is equally divided into three parts, the random white noise image is obtained according to three parts
The pixel value in each channel of the pixel of middle current pixel point lastrow of the row;And
The predetermined number bit value in the state value of the corresponding pseudo-random state of second pseudo-random sequence generator is obtained,
The predetermined number bit value is equally divided into three parts, the random white noise image is obtained according to three parts
The pixel value in each channel of middle current pixel point pixel of the row;And
The predetermined number bit value in the state value of the corresponding pseudo-random state of the third pseudo-random sequence generator is obtained,
The predetermined number bit value is equally divided into three parts, the random white noise image is obtained according to three parts
The pixel value in each channel of the pixel of middle current pixel point next line of the row;
Wherein, the original state of first pseudo-random sequence generator is second pseudo-random sequence generator for giving birth to
At the lastrow pixel pixel value when, when generating pixel value to first pixel of the lastrow it is corresponding it is pseudo- with
Machine state;
The original state of second pseudo-random sequence generator is the third pseudo-random sequence generator for generating institute
When stating the pixel pixel value of next line, corresponding pseudorandom shape when generating pixel value to first pixel of the next line
State.
15. device according to claim 14, which is characterized in that the filter unit is specifically also used to:
Centered on current pixel point in the random white noise image, current pixel point in the random white noise image is chosen
8 pixels of surrounding, form the window of 3*3;The window of the 3*3 and Laplce's exposure mask are subjected to exposure mask filtering, formed
The pixel value of current pixel point in the high-frequency noise image;Wherein, in the random white noise image around current pixel point
8 pixels be 3 pixels of lastrow of current pixel point in the random white noise image, current row 2 pixels
3 pixels of point and next line.
16. device according to claim 10, which is characterized in that the expansion module is specifically used for: the input is schemed
The pixel value of each pixel moves to left predetermined number bit as in, wherein the predetermined number is the pre-configuration bit wide
With the difference of first bit wide.
17. device according to claim 16, which is characterized in that further include:
Determining module, for the default corresponding relationship according to the difference and the bit wide of the high-frequency noise image, determine described in
The bit wide of high-frequency noise image.
18. device according to claim 10, which is characterized in that the summation module is specifically used for:
For the pixel in the expanded images, if the pixel value of pixel and the high-frequency noise figure in the expanded images
The result that the pixel value of corresponding position pixel is added as in is greater than the greatest measure that the pre-configuration bit wide can indicate, then will
Pixel value of the greatest measure as corresponding position pixel in the output image.
19. a kind of image display system, which is characterized in that described image display system includes such as any one of claim 10-18
The processing unit that the image is shown.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610165520.7A CN105718235B (en) | 2016-03-22 | 2016-03-22 | Processing method, device and the image display system that image is shown |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610165520.7A CN105718235B (en) | 2016-03-22 | 2016-03-22 | Processing method, device and the image display system that image is shown |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105718235A CN105718235A (en) | 2016-06-29 |
CN105718235B true CN105718235B (en) | 2019-02-05 |
Family
ID=56159150
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610165520.7A Active CN105718235B (en) | 2016-03-22 | 2016-03-22 | Processing method, device and the image display system that image is shown |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105718235B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110782391B (en) * | 2019-09-10 | 2022-06-03 | 腾讯科技(深圳)有限公司 | Image processing method and device in driving simulation scene and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1094420A2 (en) * | 1999-10-22 | 2001-04-25 | Sharp Kabushiki Kaisha | Bit-depth extension of digital displays using noise |
CN101887679A (en) * | 2009-12-31 | 2010-11-17 | 四川虹欧显示器件有限公司 | Method and system for reducing dynamic false contours |
CN101911112A (en) * | 2007-12-25 | 2010-12-08 | 日本电气株式会社 | Image processing device, image processing method, image decompressing device, image compressing device, image transmission system, and storage medium |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4050240B2 (en) * | 2004-02-26 | 2008-02-20 | シャープ株式会社 | Display device drive system |
JP4527750B2 (en) * | 2007-05-30 | 2010-08-18 | 三菱電機株式会社 | Image processing apparatus and method, and image display apparatus |
-
2016
- 2016-03-22 CN CN201610165520.7A patent/CN105718235B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1094420A2 (en) * | 1999-10-22 | 2001-04-25 | Sharp Kabushiki Kaisha | Bit-depth extension of digital displays using noise |
CN101911112A (en) * | 2007-12-25 | 2010-12-08 | 日本电气株式会社 | Image processing device, image processing method, image decompressing device, image compressing device, image transmission system, and storage medium |
CN101887679A (en) * | 2009-12-31 | 2010-11-17 | 四川虹欧显示器件有限公司 | Method and system for reducing dynamic false contours |
Non-Patent Citations (1)
Title |
---|
"消除输出画面伪轮廓的新算法";杨燕等;《中国科技信息》;20080728(第9期);第51-52页 |
Also Published As
Publication number | Publication date |
---|---|
CN105718235A (en) | 2016-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111105352B (en) | Super-resolution image reconstruction method, system, computer equipment and storage medium | |
CN106373095B (en) | A kind of image processing method and terminal | |
CN111460871A (en) | Image processing method and device, and storage medium | |
CN107659753B (en) | The compression encryption method of image | |
CN112288665B (en) | Image fusion method and device, storage medium and electronic equipment | |
CN106233337A (en) | Interframe coherence is utilized in middle sequence framework | |
WO2018077295A1 (en) | Data processing method and apparatus for convolutional neural network | |
CN101902576B (en) | Video-encryption camera and encryption method thereof | |
CN104063844A (en) | Reduced graph generation method and system | |
CN109166156A (en) | A kind of generation method, mobile terminal and the storage medium of camera calibration image | |
CN108681719A (en) | Method of video image processing and device | |
CN110062282A (en) | A kind of super-resolution video method for reconstructing, device and electronic equipment | |
CN108281152A (en) | Audio-frequency processing method, device and storage medium | |
CN110264405A (en) | Image processing method, device, server and storage medium based on interpolation algorithm | |
CN105718235B (en) | Processing method, device and the image display system that image is shown | |
CN108230269B (en) | Grid removing method, device and equipment based on depth residual error network and storage medium | |
CN103907134A (en) | Image processing device, image processing method, image-capturing device, computer program, and recording medium | |
CN109102811A (en) | Generation method, device and the storage medium of audio-frequency fingerprint | |
CN110414672B (en) | Convolution operation method, device and system | |
CN110248197A (en) | Sound enhancement method and device | |
CN103345379B (en) | A kind of complex multiplier and its implementation | |
WO2024152901A1 (en) | Image processing method and apparatus, device and medium | |
CN115115724A (en) | Image processing method, image processing device, computer equipment and storage medium | |
US20220245761A1 (en) | Image processing method and device, computer storage medium and terminal | |
US20240013358A1 (en) | Method and device for processing portrait image, electronic equipment, and storage medium |
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 |