CN1917586A - Method and device for encoding first order curve in digital image system - Google Patents
Method and device for encoding first order curve in digital image system Download PDFInfo
- Publication number
- CN1917586A CN1917586A CN200510091774.0A CN200510091774A CN1917586A CN 1917586 A CN1917586 A CN 1917586A CN 200510091774 A CN200510091774 A CN 200510091774A CN 1917586 A CN1917586 A CN 1917586A
- Authority
- CN
- China
- Prior art keywords
- many
- image
- module
- produce
- sub
- 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
- 238000000034 method Methods 0.000 title claims description 30
- 230000009466 transformation Effects 0.000 claims abstract description 22
- 238000006243 chemical reaction Methods 0.000 claims description 66
- 230000009021 linear effect Effects 0.000 claims description 57
- 230000001105 regulatory effect Effects 0.000 abstract 2
- 238000010586 diagram Methods 0.000 description 6
- 230000008859 change Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
Images
Landscapes
- Image Processing (AREA)
Abstract
The apparatus is used to transform a first image into a second image according to a transformation curve; the first image comprises multi pixels. It comprises a splitting module, a first transform module, a regulating module and a second transform module. The splitting module is used to split the transformation curve into multi sub-curves; the first transform module is used to generate multi straight lines corresponding to the multi sub-curves. The regulating module is used to regulate the multi approximating straight lines according to the multi sub-curves, multi straight lines and a preset reference value. According to the approximating straight lines and multi pixels of the first image, the second transform module generates a second image.
Description
Technical field
The present invention relates to a kind of conversion equipment, particularly relating to one first video conversion is the conversion equipment of one second image.
Background technology
In the treatment technology of image signal, the Gamma conversion usually is utilized the method as the image signal luminance compensation, and general Gamma conversion all is to use the form of the table of comparisons, the corresponding conversion value of each pixel in the image frame is pre-deposited in the table of comparisons, when image frame that input is desired to change, mode by tabling look-up again, the pixel of each image frame is changed, like this then exportable correct image frame, but utilize this kind method to carry out the Gamma conversion, must in advance the corresponding conversion value of each image frame be stored in the table of comparisons, so this kind method must be used huge memory headroom, could realize the effect of Gamma conversion.
For example, in the time an image frame with N position will being carried out single Gamma conversion, must use N*2
N+1The memory headroom of position stores the table of comparisons, just can finish the Gamma conversion of image frame, therefore, how to solve when carrying out the Gamma conversion, because must store the table of comparisons, and uses the problem of huge memory headroom, has become an important problem.
In No. 5706058 disclosed technology of United States Patent (USP), trial is divided into two tables of comparisons that memory headroom is less with the table of comparisons, though so can reduce memory headroom required when carrying out the Gamma conversion, but this kind method but can only be applicable to the conversion of single Gamma coefficient, if the Gamma conversion that image frame is carried out other coefficient then can't use, so this kind method can be restricted in the use.
And in No. 5990949 disclosed technology of United States Patent (USP), the mode of attempting utilizing preview or speed to read removes to compare the table of comparisons, but will realize this kind method, then must re-use another table of comparisons, could realize this method.
Also there is the mode of the computing of utilizing to carry out the Gamma conversion in addition in the prior art, for example in No. 5818521 disclosed technology of United States Patent (USP), promptly be to utilize the equation of second order to carry out the computing that Gamma changes, and utilize actual circuit, reach the effect of image frame being carried out the Gamma conversion, but utilize the circuit of this kind method, must use many multipliers and carry out two exponent arithmetic(al)s, and utilize too many multiplier can cause computational speed slow, circuit bulky, cost is also comparatively expensive in addition.
Therefore main purpose of the present invention provides a kind of conversion equipment, to overcome the problems referred to above.
Summary of the invention
The purpose of this invention is to provide a kind of conversion equipment, can be one second image with one first video conversion according to a transformation curve.
According to conversion equipment of the present invention, conversion equipment according to a transformation curve in order to being one second image with one first video conversion, first image comprises a plurality of pixels, and conversion equipment comprises one and separates module, one first modular converter, an adjusting module and one second modular converter.Separate module according to a predetermined value, in order to transformation curve is converted to a plurality of sub-curves.First modular converter is according to a plurality of sub-curves, in order to produce many corresponding straight lines.Adjusting module is according to a plurality of sub-curves, many straight lines and a predetermined standard value, in order to adjust many straight lines and to produce many near linears.Second modular converter is according to a plurality of pixels of many near linears and first image, to produce second image.
Conversion equipment of the present invention, separate module and change transformation curve into a plurality of sub-curves, first modular converter produces many corresponding straight lines according to these a plurality of sub-curves again, then utilize these many straight lines of adjusting module adjustment, produce many near linears, second modular converter is again according to these a plurality of pixels of many near linears and this first image, to produce this second image.The transformation curve of second order can be adjusted into the straight line of many single orders by this kind method, do the switching motion of image again according to many straight lines, because the second order computing circuit must use multiplier to carry out, and this method only need be carried out the computing of single order, use simple shifter of arithmetic logic and adder promptly practicable, the time of so can the saving system carrying out computing, and circuit is also comparatively simple, the also relative reduction of the required cost that expends.
Can be about the advantages and spirit of the present invention by following detailed Description Of The Invention and appended graphic being further understood.
Description of drawings
Fig. 1 is system's block diagram of conversion equipment of the present invention.
Fig. 2 is the schematic diagram of transformation curve of the present invention and many near linears.
Fig. 3 compares the schematic diagram of ultimate range for judge module in the conversion equipment of the present invention.
Fig. 4 is the flow chart of steps of a kind of conversion method of the present invention.
Fig. 5 is the flow chart of steps that produces many near linears in the conversion method of the present invention.
Fig. 6 is the flow chart of steps that produces second image in the conversion method of the present invention.
The reference numeral explanation
10: 11: the first images of conversion equipment
12: separate 13: the second images of film group
22: approximate module 24: storage module
26: modular converter 30: transformation curve
32: 34: the first sub-curves of near linear
Embodiment
See also Fig. 1 and Fig. 2, Fig. 1 is the system block diagrams of conversion equipment 10 of the present invention.Fig. 2 is the schematic diagram of transformation curve 30 of the present invention and many near linears 32.As shown in Figures 1 and 2, the present invention is a kind of conversion equipment 10, conversion equipment 10 according to a transformation curve 30 in order to one first image 11 is converted to one second image 13, wherein first image 11 comprises a plurality of pixels, and conversion equipment 10 comprises one and separates module 12, one first modular converter 14, an adjusting module 16 and one second modular converter 18.
First modular converter 14 is according to a plurality of sub-curves, in order to produce many corresponding straight lines.
Adjusting module 16 is according to a plurality of sub-curves, many straight lines and a predetermined standard value, in order to adjust many straight lines and to produce many near linears 32.Wherein each near linear can be expressed as in many near linears:
Y=A
i* x
i+ B
i, x wherein
iBe expressed as the brightness value of one first pixel in a plurality of pixels, and A
iComprise at least one 2
jSummation, and j is an integer.In the present embodiment, A
iComprise at least one 2
jSummation, this action can realize the simple shifter of this expression utilization and adder actual hardware circuit.
See also Fig. 1, Fig. 2 and Fig. 3, Fig. 3 compares the schematic diagram of ultimate range for judge module 20 in the conversion equipment 10 of the present invention.Wherein adjusting module 16 comprises a judge module 20 and an approximate module 22.As shown in Figure 3, judge module 20 is a ultimate range 42 of 40 in one first straight line in one first sub-curve 34 in predetermined standard value and a plurality of sub-curve and many straight lines relatively, in order to produce a conversion parameter.Approximate module 22 is according to conversion parameter, in order to first straight line is converted to corresponding to one first near linear in many near linears 32.Wherein approximate module 22 can be adjusted first straight line, 40 pairing group nodes 44, to produce first near linear 40.
In present embodiment, approximate module 22 is readjusted first straight line, 40 pairing group nodes 44, again produce first near linear by adjusting this group node 44, make the first near linear convergence, the first sub-curve 34, so when using first near linear to replace the first sub-curve 34 to carry out video conversion, error could be reduced to minimum.And in another embodiment, approximate module 22 can be chosen first straight line, 40 pairing these group nodes 44 again, by the change of this group node 44, and then produces the first new near linear.More than the purpose of two embodiment, all be to adjust first near linear, and make the first near linear convergence, the first sub-curve 34, so to increase the accuracy of video conversion.
Second modular converter 18 is according to a plurality of pixels of many near linears and first image 11, to produce second image 13.Wherein second modular converter 18 comprises a storage module 24 and a computing module 26, and storage module 24 stores the A of each bar near linear in many near linears
iWith B
i26 A of computing module according to each bar near linear
iWith B
iWith a plurality of pixels, to produce second image 13.
See also Fig. 4, Fig. 4 is the flow chart of steps of a kind of conversion method of the present invention.As shown in Figure 4, the present invention is a kind of conversion method, and this conversion method is one second image according to a transformation curve with one first video conversion, and first image comprises a plurality of pixels, and conversion method comprises the following step:
S50:, convert transformation curve to a plurality of sub-curves according to a predetermined value;
S52:, produce many corresponding straight lines according to a plurality of sub-curves;
S54:, adjust many straight lines and produce many near linears according to a plurality of sub-curves, many straight lines and a predetermined standard value; And
S56: a plurality of pixels according to many near linears and first image produce second image.
Wherein each near linear can be expressed as in many near linears:
Y=A
i* x
i+ B
i, x wherein
iBe expressed as the brightness value of one first pixel in a plurality of pixels, and A
iComprise at least one 2
jSummation, and i is an integer.
See also Fig. 5, Fig. 5 is the flow chart of steps that produces many near linears in the conversion method of the present invention.As shown in Figure 5, step S54 also comprises:
S542: the ultimate range between one first straight line in one first sub-curve in predetermined standard value and a plurality of sub-curve and many straight lines relatively, to produce a conversion parameter; And
S544:, first straight line is converted to corresponding to one first near linear in many near linears according to conversion parameter.Wherein step S544 adjusts the pairing group node of first straight line, to produce first near linear.
See also Fig. 6, Fig. 6 is the flow chart of steps that produces second image in the conversion method of the present invention.As shown in Figure 6, wherein step S56 comprises:
S562: the A that stores each bar near linear in many near linears
iWith B
iAnd
S564: according to the A of each bar near linear
iWith B
iWith a plurality of pixels, produce second image.
The invention provides a kind of conversion equipment, change transformation curve into a plurality of sub-curves, produce many corresponding straight lines according to these a plurality of sub-curves again, then adjust these many straight lines, produce many near linears, according to a plurality of pixels of many near linears and first image, produce second image again.Can many straight lines of single order will be adjusted into for the transformation curve of second order originally by this kind method, utilize many straight lines to remove the convergence transformation curve, produce many curve of approximation, transformation curve can be expressed as the form of many curve of approximation, do the switching motion of image again according to many curve of approximation, because the circuit of two exponent arithmetic(al)s must use multiplier to carry out, and this method only need be used an exponent arithmetic(al), therefore circuit of the present invention only need use shifter and adder to do simple calculations promptly can to carry out, the time of so can the saving system carrying out computing, accelerate the speed of processing, and circuit is also comparatively simple, the also relative reduction of the required cost that expends.
By the above detailed description of preferred embodiments, hope can be known description feature of the present invention and spirit more, and is not to come category of the present invention is limited with above-mentioned disclosed preferred embodiment.On the contrary, its objective is that hope can contain in the category that is arranged in claim of the present invention of various changes and tool equality.
Claims (10)
1. conversion equipment, in order to be one second image with one first video conversion, this first image comprises a plurality of pixels to this conversion equipment according to a transformation curve, and this conversion equipment comprises:
One separates module, and this separates module according to a predetermined value, in order to this transformation curve is converted to a plurality of sub-curves;
One first modular converter, this first modular converter are according to these a plurality of sub-curves, in order to produce many corresponding straight lines;
One adjusting module, this adjusting module are according to these a plurality of sub-curves, these many straight lines and a predetermined standard value, in order to adjust these many straight lines and to produce many near linears; And
One second modular converter, this second modular converter is according to these a plurality of pixels of these many near linears and this first image, to produce this second image.
2. conversion equipment as claimed in claim 1, wherein each near linear can be expressed as in these many near linears:
Y=A
i* x
i+ B
i, x wherein
iBe expressed as the brightness value of one first pixel in these a plurality of pixels, and A
iComprise at least one 2
jSummation, and j is an integer.
3. adjusting device as claimed in claim 2, wherein this adjusting module comprises:
One judge module, this judge module be the ultimate range between one first straight line in one first sub-curve in this predetermined standard value and this a plurality of sub-curves and this many straight lines relatively, in order to produce a conversion parameter; And
One approximate module, this approximate module is according to this conversion parameter, in order to this first straight line is converted to corresponding to one first near linear in these many near linears.
4. adjusting device as claimed in claim 3 wherein should approximate module be adjusted the pairing group node of this first straight line, to produce this first near linear.
5. adjusting device as claimed in claim 2, wherein this second modular converter comprises:
One storage module, this storage module store the A of each bar near linear in these many near linears
iWith B
iAnd
One computing module, this computing module is according to the A of each bar near linear
iWith B
iWith these a plurality of pixels, to produce this second image.
6. conversion method, this conversion method is one second image according to a transformation curve with one first video conversion, and this first image comprises a plurality of pixels, and this conversion method comprises the following step:
(a), convert this transformation curve to a plurality of sub-curves according to a predetermined value;
(b), produce many corresponding straight lines according to these a plurality of sub-curves;
(c) according to these a plurality of sub-curves, these many straight lines and a predetermined standard value, adjust these many straight lines and produce many near linears; And
(d) according to these a plurality of pixels of these many near linears and this first image, produce this second image.
7. conversion method as claimed in claim 6, wherein each near linear can be expressed as in these many near linears:
Y=A
i* x
i+ B
i, x wherein
iBe expressed as the brightness value of one first pixel in these a plurality of pixels, and A
iComprise at least one 2
jSummation, and j is an integer.
8. conversion method as claimed in claim 7, wherein step (c) comprises:
(c1) ultimate range between one first straight line in one first sub-curve in this predetermined standard value and this a plurality of sub-curves and this many straight lines relatively is to produce a conversion parameter; And
(c2), this first straight line is converted to corresponding to one first near linear in these many near linears according to this conversion parameter.
9. conversion method as claimed in claim 8, wherein this step (c2) is adjusted the pairing group node of this first straight line, to produce this first near linear.
10. method of adjustment as claimed in claim 7, wherein step (d) comprises:
(d1) store the A of each bar near linear in these many near linears
iWith B
iAnd
(d2) according to the A of each bar near linear
iWith B
iWith these a plurality of pixels, produce this second image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100917740A CN100413323C (en) | 2005-08-17 | 2005-08-17 | Method and device for encoding first order curve in digital image system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100917740A CN100413323C (en) | 2005-08-17 | 2005-08-17 | Method and device for encoding first order curve in digital image system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1917586A true CN1917586A (en) | 2007-02-21 |
CN100413323C CN100413323C (en) | 2008-08-20 |
Family
ID=37738466
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005100917740A Active CN100413323C (en) | 2005-08-17 | 2005-08-17 | Method and device for encoding first order curve in digital image system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100413323C (en) |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3302423B2 (en) * | 1992-12-28 | 2002-07-15 | キヤノン株式会社 | Imaging device |
JP3071131B2 (en) * | 1995-09-05 | 2000-07-31 | 三洋電機株式会社 | Gamma correction device |
CN100397448C (en) * | 2001-04-29 | 2008-06-25 | 中华映管股份有限公司 | Sectional grey scale compensating method of image input to planar plasma display |
CN1209906C (en) * | 2002-07-08 | 2005-07-06 | 虹光精密工业(苏州)有限公司 | Method for establishing Gamma conversion table and Gamma correcting method according to the this table |
-
2005
- 2005-08-17 CN CNB2005100917740A patent/CN100413323C/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN100413323C (en) | 2008-08-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7916219B2 (en) | System and method for dynamic gamma correction in digital video | |
CN1081870C (en) | Image enhancement method and circuit using quantized mean-matching histogram equalization | |
CN1149836C (en) | Image-intensifying apparatus and method of keeping input image lightness | |
CN1254086C (en) | Image processor, image processing method and processing program | |
CN1905623A (en) | Image processing circuit and image processing method | |
EP1746568B1 (en) | Image processing circuit | |
CN1838729B (en) | Gamma correction device, image conversion apparatus using the same, and display device | |
KR20080026112A (en) | Image encoding device, image processing device, image display device, image encoding method, and image processing method | |
CN1545327A (en) | System and method for reinforcing video image quality | |
CN1303812C (en) | Apparatus for image enhancement and method of using the same | |
CN102280096A (en) | Method for combining image scaling and color space switching | |
CN107564461B (en) | Scanning card, LED display screen control system and image data processing method | |
CN1946138A (en) | Method for image greyscale histogram equalizing treatment | |
CN1575587A (en) | Polyphase filter combining vertical peaking and scaling in pixel-processing arrangement | |
CN1691128A (en) | Apparatus, method, and program for processing image | |
CN1917586A (en) | Method and device for encoding first order curve in digital image system | |
CN101046567A (en) | LCD brightness compensating method and device | |
CN1889694A (en) | Gamma correcting method, circuit and video-frequency processor | |
CN1246823C (en) | Quantizing error compensating apparatus and method thereof | |
CN1925543A (en) | Weight adjusting module and weight adjusting method | |
CN100336386C (en) | Image enhancement method for controlling digital image mean brightness | |
CN106791846B (en) | Method and device for adjusting image coding quality factor | |
CN1835587A (en) | Method of realizing VLSI of brightness interpolator based on AVS movement compensation | |
KR101118181B1 (en) | Compression Method of Look-up table and Method of Enhancing Hue, Saturation and Value Image Quality | |
CN101052096A (en) | Method and device for regulating image contrast ratio |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |