CN104092918A - Image transformation method and circuit for image transformation - Google Patents

Image transformation method and circuit for image transformation Download PDF

Info

Publication number
CN104092918A
CN104092918A CN201410315144.6A CN201410315144A CN104092918A CN 104092918 A CN104092918 A CN 104092918A CN 201410315144 A CN201410315144 A CN 201410315144A CN 104092918 A CN104092918 A CN 104092918A
Authority
CN
China
Prior art keywords
quotient
gtg
numerical sequence
parameter
group
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410315144.6A
Other languages
Chinese (zh)
Other versions
CN104092918B (en
Inventor
李德原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qisda Optronics Suzhou Co Ltd
Qisda Corp
Original Assignee
Qisda Optronics Suzhou Co Ltd
Qisda Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qisda Optronics Suzhou Co Ltd, Qisda Corp filed Critical Qisda Optronics Suzhou Co Ltd
Priority to CN201410315144.6A priority Critical patent/CN104092918B/en
Publication of CN104092918A publication Critical patent/CN104092918A/en
Application granted granted Critical
Publication of CN104092918B publication Critical patent/CN104092918B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Image Processing (AREA)

Abstract

The invention relates to an image transformation method which is used for transforming a raw image into a final image. The transformation method includes the steps that an orderly halftone shade is provided, the orderly halftone shade contains a first number of original ordinal numerical values, and a first number of adjusting ordinal numerical values are determined according to the original ordinal numerical values and adjusting parameters; a gray scale transformation parameter is determined according to the original gray scale level number and the final gray scale level number, and the gray scale value of each pixel in the raw image is divided by the gray scale transformation parameter to obtain the quotient and the remainder corresponding to the pixel; the original ordinal numerical values are divided into a second number of groups, the remainder of each pixel is compared with the corresponding adjusting ordinal numerical value, a comparing parameter is determined according to a comparing result, and if the remainder is larger than the corresponding adjusting ordinal numerical value, the comparing parameter is determined by the corresponding quotient and the corresponding group; the final image is determined through the quotient of each pixel and the corresponding comparing parameter. According to the method, the original ordinal numerical values of the orderly halftone shade are divided into groups, and the color zone and color lump phenomenon caused in the image transformation process is weakened.

Description

The method of video conversion and for the circuit of video conversion
Technical field
The present invention relates to a kind of method of video conversion and the circuit for video conversion, while especially improving video conversion, occur the image conversion method of colour band or color lump phenomenon.
Background technology
Halftoning conversion is a kind of method of utilizing human eye vision illusion to increase gray scale variation degree.Such technology has been widely used in the field of image processing, has comprised in printing, printing and some demonstration (display) technology.Due to the gray scale variation that original image comprises, the color change that often can provide than printing apparatus is taller.By halftoning conversion, can make print result visually reduce or simulate real gray scale variation effect.For instance, printer may only comprise black ink, but through halftoning conversion, but can simulate the effect of GTG.
Fig. 1 is the schematic diagram of the circuit of the video conversion of prior art.Please refer to Fig. 1, video conversion circuit comprises: halftoning shade (half tone mask) 12, positioner 14, comparator 10.Wherein halftoning shade 12 is stored the halftoning numerical sequence for multidigit image data being converted to binary system image data; Positioner 14 for controlling halftoning shade 12 to repeat to read the halftoning numerical sequence corresponding to current pixel threshold value according to image size and location of pixels; Comparator 10 compares the GTG value of each pixel in input image with the pixel threshold receiving from halftoning shade 12, and GTG value is changed into binary data.
In operating process, when video conversion starts, positioner 14 produces one and comprises the halftoning numerical sequence that allows to read out in ad-hoc location about the control signal of the information of horizontal and vertical position.In the time receiving control signal, halftoning shade 12 is exported a halftoning numerical sequence corresponding to the pixel threshold of horizontal and vertical position to comparator 10.Comparator 10 compares the GTG value of input image pixel and the halftoning numerical sequence receiving from halftoning shade 12.If GTG value is more than or equal to halftoning numerical sequence, the comparator high signal of 10 output logic " 1 ", if GTG value is less than halftoning numerical sequence, comparator 10 output logic low signals " 0 ".Then, the output of the binary coding of comparator 10 is printed on a piece of paper.Fig. 2 A shows the GTG value of the each pixel of raw video, Fig. 2 B shows the halftoning numerical sequence corresponding to pixel threshold of being applied by halftoning shade 12, and Fig. 2 C is presented at the threshold value showing in the pixel showing in Fig. 2 A and Fig. 2 B binary coding output of comparator 100 relatively afterwards.As what mark in Fig. 2 C, become the traditional binary processing method of binary system image to reduce the quality of printing input multidigit video conversion simply, make to produce the phenomenon of colour band or color lump (pattern) on the final image printing, produce the uncomfortable result of human eye.
Summary of the invention
The colour band occurring while the object of the invention is to improve video conversion or the phenomenon of color lump.
In order to achieve the above object, the present invention proposes a kind of method of video conversion, this image conversion method is for being converted to final image by raw video, this raw video has original GTG progression, this final image has final GTG progression, this image conversion method comprises: tune steps A: orderly half look shade is provided, and this orderly halftoning shade has the first quantity original numerical sequence, determines the first quantity adjustment numerical sequence by this first quantity original numerical sequence and adjustment parameter; Step B: determine GTG conversion parameter by this original GTG progression and this final GTG progression, by the GTG value of each pixel in this raw video divided by this GTG conversion parameter to obtain quotient and the remainder of corresponding each pixel; Step C: this first quantity original numerical sequence is divided into the second quantity group, this remainder of each pixel and this corresponding adjustment numerical sequence are compared, and determine comparative parameter according to comparative result, if wherein this remainder is greater than this adjustment numerical sequence, determine comparative parameter by this quotient and this group of correspondence; Step D: determine this final image with this corresponding comparative parameter by this quotient of pixel one by one.
As optional technical scheme, in steps A, this first quantity original numerical sequence is multiplied by respectively this adjustment parameter to obtain this first quantity adjustment numerical sequence.
As optional technical scheme, in step B this original GTG progression divided by this final GTG progression to obtain this GTG conversion parameter.
As optional technical scheme, step C also comprises: if this remainder is greater than this adjustment numerical sequence, first determines comparison result by this quotient and this group of correspondence, then this comparison result is deducted to this corresponding quotient to obtain this comparative parameter.
As optional technical scheme, step C also comprises: if this remainder is greater than this adjustment numerical sequence, in the corresponding form of this quotient and this group, search and determine this comparison result, this quotient is as follows with the generation step of the corresponding form of this group: step 1: sequentially arrange as transverse axis ascending this second quantity group, defining this second quantity is P, the scope of this transverse axis is [1, P], sequentially arrange as the longitudinal axis ascending this quotient, defining this final GTG progression is Q, the scope of this longitudinal axis is [0, Q-1]; And step 2: defining this quotient is i, if i is 0, in the form generating, each data value is 0; If i is the odd number that is less than Q, generate the form of corresponding i by order from left to right, the data value wherein generating is at first i, at least last data value generating is (i+1); If i is the even number that is less than Q, generate the form of corresponding i by the order of turning left from the right side, the data value wherein generating is at first i, at least last data value generating is (i+1); If i equals Q, in the form generating, each data value is Q.
As optional technical scheme, the product of this first quantity and this adjustment parameter equals this GTG conversion parameter.
Image conversion method of the present invention, by the each original numerical sequence in halftoning shade is divided into a plurality of groups, the GTG value of the each pixel of raw video is obtained after quotient and remainder divided by GTG conversion parameter, if remainder is greater than adjustment numerical sequence corresponding in halftoning shade, determine comparative parameter according to quotient corresponding to this remainder and group, and determined the GTG value of this pixel in final image by comparative parameter quotient, the GTG value of each pixel of final image is processed finer and smoothlyer, perfect, make the visual effect of final image better, colour band or the serious problem of color lump phenomenon in prior art are improved.
In addition, the present invention also proposes a kind of circuit for video conversion, this circuit is for being converted to final image by raw video, this raw video has original GTG progression, this final image has final GTG progression, and this circuit comprises orderly halftoning shade, the first processing unit, the second processing unit, the 3rd processing unit and fourth processing unit.Halftoning shade has the first quantity original numerical sequence in order; The first processing unit is for determining the first quantity adjustment numerical sequence according to this first quantity original numerical sequence and adjustment parameter; The second processing unit is for determining GTG conversion parameter according to this original GTG progression and this final GTG progression, and by the GTG value of each pixel of this raw video divided by this conversion image to obtain corresponding quotient and remainder; The 3rd processing unit is for being divided into the second quantity group by this first quantity original numerical sequence, and this remainder of each pixel and this corresponding adjustment numerical sequence are compared, and determine comparative parameter according to comparative result, if wherein this remainder is greater than this adjustment numerical sequence, determine comparative parameter by this quotient and this group of correspondence; Fourth processing unit is for determining this final image according to this quotient of pixel one by one with this corresponding comparative parameter.
As optional technical scheme, this first processing unit is determined this first quantity adjustment numerical sequence according to the product of this first quantity original numerical sequence and this adjustment parameter.
As optional technical scheme, this second processing unit is determined this GTG conversion parameter according to this original GTG progression divided by the business of this final GTG progression.
As optional technical scheme, when this adjustment numerical sequence of this remainder of each pixel and correspondence is compared, if this remainder is greater than this adjustment numerical sequence, first determines comparison result by this quotient and this group of correspondence, then this comparison result is deducted to this corresponding quotient to obtain this comparative parameter.
As optional technical scheme, if this remainder is greater than this adjustment numerical sequence, in the corresponding form of this quotient and this group, search group fixed this comparison result, arranging of the corresponding form of this quotient and this group is as follows: (1): using this, the second quantity group is ascending sequentially arranges as transverse axis, defining this second quantity is P, the scope of this transverse axis is [1, P], sequentially arrange as the longitudinal axis ascending this quotient, defining this final GTG progression is Q, the scope of this longitudinal axis is [0, Q-1]; (2): defining this quotient is i,, if i is 0, in the form generating, each data value is 0; If i is the odd number that is less than Q, generate the form of corresponding i by order from left to right, the data value wherein generating is at first i, at least last data value generating is (i+1); If i is the even number that is less than Q, generate the form of corresponding i by the order of turning left from the right side, the data value wherein generating is at first i, at least last data value generating is (i+1); If i equals Q, in the form generating, each data value is Q.
Video conversion circuit of the present invention, by the each original numerical sequence in halftoning shade is divided into a plurality of groups, the GTG value of the each pixel of raw video is obtained after quotient and remainder divided by GTG conversion parameter, if remainder is greater than adjustment numerical sequence corresponding in halftoning shade, determine comparative parameter according to quotient corresponding to this remainder and group, and determined the GTG value of this pixel in final image by comparative parameter quotient, the GTG value of each pixel of final image is processed finer and smoothlyer, perfect, make the visual effect of final image better, colour band or the serious problem of color lump phenomenon in prior art are improved.
Describe the present invention below in conjunction with the drawings and specific embodiments, but not as a limitation of the invention.
Brief description of the drawings
Fig. 1 is the schematic diagram of the circuit of the video conversion of prior art;
Fig. 2 A is that prior art video conversion Central Plains is the schematic diagram of the GTG value of the each pixel of image;
Fig. 2 B is the schematic diagram of the halftoning numerical sequence of halftoning shade in prior art video conversion;
Fig. 2 C is by Fig. 2 A and the relatively rear binary-coded schematic diagram of Fig. 2 B in prior art video conversion;
Fig. 3 A is according to the circuit diagram of one embodiment of the invention video conversion;
Fig. 3 B is the flow chart of video conversion of the present invention;
Fig. 4 A is the schematic diagram of an embodiment of orderly halftoning shade;
Fig. 4 B is the schematic diagram of the adjustment numerical sequence common definite with adjusting parameter of the original numerical sequence in orderly halftoning shade;
Fig. 5 A is the schematic diagram of the GTG value of the corresponding each pixel of orderly halftoning shade;
Fig. 5 B is the schematic diagram of the quotient that obtains divided by GTG conversion parameter of the GTG value of each pixel in raw video;
Fig. 5 C is the schematic diagram of the remainder that obtains divided by GTG conversion parameter of the GTG value of each pixel in raw video;
Fig. 6 is the schematic diagram after original numerical sequence point group in orderly halftoning shade;
Fig. 7 is the schematic diagram of comparative parameter corresponding to each pixel;
Fig. 8 is the schematic diagram of the GTG value of each pixel of final image;
Fig. 9 A is that quotient is the generation schematic diagram of 1 o'clock corresponding each data value;
Fig. 9 B is that quotient is the generation schematic diagram of 2 o'clock corresponding each data values;
Fig. 9 C is that quotient is the generation schematic diagram of 3 o'clock corresponding each data values;
Fig. 9 D is that quotient is the generation schematic diagram of 4 o'clock corresponding each data values;
Figure 10 is the schematic diagram of the reverted image halftoning shade that obtains after halftoning shade reverted image in Fig. 4 A.
Embodiment
Please refer to Fig. 3 A, Fig. 3 A is the circuit in video conversion according to one embodiment of present invention.As shown in Figure 3A, video conversion circuit comprises orderly halftoning shade 100, positioner 200, the first processing unit 300, the second processing unit 400, the 3rd processing unit 500 and fourth processing unit 600.Halftoning shade 100 is for storing the original numerical sequence corresponding to each pixel in order, and positioner 200 is for controlling orderly halftoning shade 100 to repeat to export the original numerical sequence of each pixel.
The first processing unit 300 is for determining adjustment numerical sequence according to original numerical sequence and adjustment parameter; The second processing unit 400 is for determining GTG conversion parameter Z according to the final GTG progression of the original GTG progression of raw video and final image, and by the GTG value G of each pixel of raw video divided by GTG conversion parameter Z to obtain corresponding quotient and remainder; The 3rd processing unit 500 is for being divided into the second quantity group by the original numerical sequence of orderly halftoning shade 100, and the remainder of each pixel and corresponding adjustment numerical sequence are compared, and determine comparative parameter according to comparative result, if wherein remainder is greater than adjustment numerical sequence, determine comparative parameter by corresponding quotient and group; Fourth processing unit 600 is for determining final image according to the quotient of pixel one by one with corresponding comparative parameter.
The circuit of video conversion of the present invention, can be arranged at printer, in projector or electronic display unit, taking printer as example, if raw video is 8 images, and final image is 2 images, by video conversion circuit, the raw video of 8 is converted to the final image of 2, and in video conversion process, the mode that does not adopt the numerical sequence of the GTG value of each pixel is direct and halftoning shade to compare, also directly do not draw comparative parameter according to the comparative result between depression of order remainder and the numerical sequence of halftoning shade, but after being hived off, the each numerical sequence in orderly halftoning shade sets up corresponding relation with depression of order quotient, find comparison result according to depression of order remainder and the comparative result of orderly halftoning shade again, carry out again to determine comparative parameter according to comparison result, thereby the GTG value of each pixel of final image is processed finer and smoothlyer, perfect, make the visual effect of final image better, more improve the problem that has colour band or color lump (pattern) in prior art in final image.
Please refer to Fig. 3 A and Fig. 3 B, the flow chart that Fig. 3 B is image conversion method.Image conversion method of the present invention is for being converted to final image by raw video, and raw video has original GTG progression, and final image has final GTG progression.The step of video conversion is as follows:
Steps A: as shown in S100 in Fig. 3 B, provide orderly halftoning shade, this orderly halftoning shade comprises the first quantity original numerical sequence, determines the first quantity adjustment numerical sequence by this first quantity original numerical sequence with adjustment parameter T;
Step B: as shown in S200 in Fig. 3 B, determine GTG conversion parameter by this original GTG progression and this final GTG progression, by the GTG value of each pixel in this raw video divided by this GTG conversion parameter to obtain quotient and the remainder of corresponding each pixel;
Step C: as shown in S300 in Fig. 3 B, this first quantity original numerical sequence is divided into the second quantity group, this remainder of each pixel and this corresponding adjustment numerical sequence are compared, and determine comparative parameter according to comparative result, if wherein this remainder is greater than this adjustment numerical sequence, determine comparative parameter by this quotient and this group of correspondence; And
Step D: as shown in S400 in Fig. 3 B, determine this final image by this quotient of pixel one by one with this corresponding comparative parameter.
In practical operation, can determine and adjust numerical sequence with the product of adjusting parameter according to original numerical sequence; Also can according to the original GTG progression of raw video divided by the final GTG progression gained of final image to business determine GTG conversion parameter; Also can, according to the quotient of pixel one by one and corresponding GTG value comparative parameter and that determine respective pixel in final image, then determine final image.
In practical operation, raw video can be the image on the screen that is shown in electronic display unit, in the time that needs print raw video by printer or by projector, raw video are cast out, because the GTG progression of electronic display unit is different with the GTG progression of printer, need to carry out video conversion and describe above steps in detail below in conjunction with specific embodiment, in the present embodiment, calculate and express for convenient, the original GTG progression of setting raw video is 256 rank (a pixel can be expressed by 0~256 gray scale), and the final GTG progression of final image is that (a pixel can be by 0 on 4 rank, 1, 2, 3, or 4 gray scale is expressed).In practical operation, user can calculate parameters value according to the concrete final GTG progression of original GTG sum of series, not using above-mentioned original GTG progression as 256 rank and final GTG progression as 4 rank as restriction.
First carry out steps A, orderly halftoning shade 100 is provided, orderly halftoning shade 100 comprises the first quantity original numerical sequence, determines the first quantity adjustment numerical sequence by the first quantity original numerical sequence with adjustment parameter T.
Please refer to Fig. 4 A, Fig. 4 A is the schematic diagram of an embodiment of orderly halftoning shade.In the present embodiment, the matrix that halftoning shade is 4*4 in order, the first quantity is 16, the TaiWan, China patent that can be I359389 with reference to notification number about the generation type of orderly halftoning shade.
Please refer to Fig. 4 B, Fig. 4 B is the schematic diagram of the adjustment numerical sequence common definite with adjusting parameter of the original numerical sequence in orderly halftoning shade.In practical operation, adjust numerical sequence and can be determined by original numerical sequence and the product of adjusting parameter T, in the present embodiment, adjusting parameter T is 4.
Then carry out step B, determine GTG conversion parameter Z by original GTG progression and final GTG progression, by the GTG value G of each pixel in raw video divided by GTG conversion parameter Z to obtain quotient and the remainder of corresponding each pixel.
In the present embodiment, the original GTG progression of raw video is 256 rank, and the final GTG progression of simultaneously final image is 4 rank.In practical operation, generally by original GTG progression divided by final GTG progression gained to business be used as GTG conversion parameter Z, therefore the GTG conversion parameter Z in the present embodiment is 256/4=64.General, the product of adjusting parameter T and the first quantity equals GTG conversion parameter Z, and in the present embodiment, halftoning shade 100 has 16 original numerical sequences in order, and adjusting parameter Z is 4, and GTG conversion parameter Z is 64.
After having determined GTG conversion parameter Z, the GTG value of each parameter need to be divided by with GTG conversion parameter Z respectively, please refer to Fig. 5 A, Fig. 5 A is the schematic diagram of the GTG value of the corresponding each pixel of orderly halftoning shade, in the present embodiment, halftoning shade 100 has 16 original numerical sequences in order, therefore corresponding 16 pixels, the GTG value of 16 pixels that as shown in Figure 5A, the present embodiment is corresponding is 96.Please refer to Fig. 5 B and Fig. 5 C, Fig. 5 B is the schematic diagram of the quotient that obtains divided by GTG conversion parameter of the GTG value of each pixel in raw video, Fig. 5 C is the schematic diagram of the remainder that obtains divided by GTG conversion parameter of the GTG value of each pixel in raw video, in the present embodiment, the quotient that the GTG value of each pixel obtains after divided by GTG conversion parameter Z is 1, and the remainder obtaining is 32.
Next carry out again step C: this first quantity original numerical sequence is divided into the second quantity group, this remainder of each pixel and this corresponding adjustment numerical sequence are compared, and determine comparative parameter according to comparative result, if wherein this remainder is greater than this adjustment numerical sequence, determine comparative parameter by this quotient and this group of correspondence.
In the present embodiment, 16 original numerical sequences in orderly halftoning shade 100 are divided into 3 groups, specifically be allocated as follows: original numerical sequence 1,2,3,4 and 5 is the first group, original numerical sequence 6,7,8,9,10 and 11 is the second group, and 12,13,14,15 and 16 is the 3rd group.Please refer to Fig. 6, Fig. 6 is the schematic diagram after original numerical sequence point group in orderly halftoning shade.
After Fen Hao group, the remainder of each pixel of raw video is compared with corresponding adjustment numerical sequence, and determine comparative parameter according to comparative result.In the present embodiment, if remainder is greater than corresponding adjustment numerical sequence, determine comparative parameter by corresponding quotient and group, if remainder is less than or equal to corresponding adjustment numerical sequence, comparative parameter is defined as to 0.And in the time that remainder is greater than corresponding adjustment numerical sequence, in the corresponding form of quotient and group, search and determine this comparison result, comparison result is deducted to corresponding quotient to obtain comparative parameter again, please refer to Fig. 7, Fig. 7 is the schematic diagram of comparative parameter corresponding to each pixel.Quotient is as shown in table 1 below with the corresponding form of group:
? The first group The second group The 3rd group
0 0 0 0
1 1 1 2
2 3 2 2
3 3 3 4
4 4 4 4
Table 1
Finally carry out step D: determine final image by the quotient of pixel one by one with corresponding comparative parameter.
Please refer to Fig. 8, the schematic diagram of the GTG value of each pixel that Fig. 8 is final image.In the present embodiment, by quotient and GTG value corresponding comparative parameter and that determine each pixel in final image, then determine final image.As seen from Figure 8, the GTG value of raw video 16 pixels is herein identical, if adopt the method for traditional simple comparison,, herein by occurring complete white or complete black phenomenon, from audience's angle, will see color lump (pattern), but carry out after video conversion through the method for video conversion of the present invention, each GTG value is herein interspersed, and visual effect is better, thereby has improved the problem of colour band or color lump.
Below introduce in detail the formation step of quotient and the corresponding form of group.
Step 1: sequentially arrange as transverse axis ascending a plurality of groups, defining this second quantity is P, and the scope of transverse axis is [1, P], sequentially arranges as the longitudinal axis ascending quotient, and defining this final GTG progression is Q, and the scope of the longitudinal axis is [0, Q].
In the present embodiment, owing to original numerical sequence being divided for three groups, using the first group, the second group and the 3rd group is ascending sequentially arranges as transverse axis, the scope that is transverse axis is [1,3], more sequentially arranges as the longitudinal axis ascending quotient, the scope of the longitudinal axis is [0,4].Because the original GTG progression of raw video is 256 rank, the GTG value (also can be described as gray scale) of each pixel is up to 256, minimum is 0, and GTG conversion parameter is 64, therefore the business of the GTG value of each pixel after divided by GTG conversion parameter Z has five kinds of situations: 0,1,2,3 or 4.
Step 2: defining this quotient is i, if i is 0, the each data value generating is 0;
If i is the odd number that is less than Q, generate the form of corresponding i by order from left to right, the data value wherein generating is at first i, at least last data value generating is (i+1);
If i is the even number that is less than Q, generate the form of corresponding i by the order of turning left from the right side, the data value wherein generating is at first i, at least last data value generating is (i+1);
If i equals Q, in the form generating, each data value is Q.
Please refer to Fig. 9 A, Fig. 9 A is that quotient is the generation schematic diagram of 1 o'clock corresponding each data value, and Fig. 9 B is that quotient is the generation schematic diagram of 2 o'clock corresponding each data values, and Fig. 9 C is that quotient is the generation schematic diagram of 3 o'clock corresponding each data values.Shown in Fig. 9 A is to be that 1 remainder is 1 to be that 1 remainder is 63 result to quotient from quotient, as shown in Figure 9 A, quotient is 1 o'clock, owing to 1 being to be less than Q (in the present embodiment, final GTG progression is 4 rank) odd number, therefore generate corresponding each data value according to order from left to right, what wherein generate at first is 1 (first generating data value corresponding to the first group), and then generation 1 (being data value corresponding to regeneration the second group), finally generate 2 (i.e. last the 3rd data values corresponding to group that generate), that is quotient is 1 o'clock, comparison result corresponding to the first group is 1, comparison result corresponding to the second group is 1, comparison result corresponding to the 3rd group is 2.
In the present embodiment, because group is three, preferably, only the last data value generating is 2 (equaling i+1), in practical operation, user also can have other selections, for example the original numerical sequence in orderly halftoning shade 100 is more, orderly halftoning shade 100 is divided into six groups, if now corresponding quotient is i, in the time of generated data, twos' of first three point data value (being front 4 data values) can be set as to i, then 1/3rd data value (being rear 2 two data values) is set as (i+1), determine according to user's actual demand, be not limited with embodiment.
As shown in Figure 9 B, shown in Fig. 9 B is to be that 2 remainders are 1 to be that 2 remainders are 63 result to quotient from quotient, , quotient is 2 o'clock, because 2 for being less than Q (in the present embodiment, final GTG progression is 4 rank) even number, generate corresponding each data value according to the order of turning left from the right side, the data value 2 wherein generating at first for quotient be the data value (generating at first the 3rd data value corresponding to group) of last generation in 1 o'clock, then generate 2 (being data value corresponding to regeneration the second group), finally generate 3 (i.e. last the 3rd data values corresponding to group that generate), that is quotient is 2 o'clock, comparison result corresponding to the first group is 3, comparison result corresponding to the second group is 2, comparison result corresponding to the 3rd group is 2.
It should be noted that, quotient be 1 and quotient be 2 o'clock, the order that both generate corresponding each data value is contrary, in practical operation, the generation schematic diagram of each data value as shown in Figure 9 A time in table 1 in the time that the halftoning shade 100 by Fig. 4 A defines quotient and is 1, forming when quotient is as shown in Figure 9 B the schematic diagram of 2 o'clock corresponding each data values and the halftoning shade in Fig. 4 A need to be carried out to reverted image, can obtain reverted image halftoning shade because give reverted image by the halftoning shade in Fig. 4 A, so each group just can be contrary, finally just have the result in Fig. 9 B.As shown in figure 10, Figure 10 is the schematic diagram of the reverted image halftoning shade that obtains after halftoning shade reverted image in Fig. 4 A, and the calculation of carrying out according to the reverted image halftoning shade in Figure 10 is similar with the calculation of carrying out according to the halftoning shade 100 in Fig. 4 A, therefore separately do not repeat at this.
As shown in Figure 9 C, shown in Fig. 9 C is to be that 3 remainders are 1 to be that 3 remainders are 63 result to quotient from quotient, quotient is 3 o'clock, because 3 for being less than Q (in the present embodiment, final GTG progression is 4 rank) odd number, generate corresponding each data value according to order from left to right, the data value 3 wherein generating at first for quotient be the data value (generating at first data value corresponding to the first group) of last generation in 2 o'clock, then generate 3 (then generating data value corresponding to the second group), final 4 (i.e. last the 3rd data values corresponding to group that generate) that generate, that is quotient is 3 o'clock, comparing result corresponding to the first group is 3, comparison result corresponding to the second group is 3, comparison result corresponding to the 3rd group is 4.
From the above, quotient is 1 and 3 o'clock, the generation direction of each data value is identical, and in the time that quotient is 2, the generation direction of each data value is with aforementioned both are contrary, that is in the time that quotient is odd number, is the generation direction of determining the corresponding each data value of quotient by the erect image halftoning shade 100 in Fig. 4 A, and in the time that quotient is even number, be the generation direction of determining the corresponding each data value of quotient by the reverted image halftoning shade in Figure 10.
Please refer to Fig. 9 D, Fig. 9 D is that quotient is the generation schematic diagram of 4 o'clock corresponding each data values.In the present embodiment, owing to 4 being even number, generate corresponding each data value according to the order of turning left from the right side, the data value 4 wherein generating at first for quotient be the data value (generating at first the 3rd data value corresponding to group) of last generation in 3 o'clock, then generate 4 (then generating data value corresponding to the second group), finally generate 4 (i.e. last data values corresponding to the first group that generate).In other words,, in the present embodiment, in the time that quotient is 4, in the form of generation, each data value is 4.That is quotient is 4 o'clock, comparison result corresponding to the first group is that comparison result corresponding to 4, the second groups is that comparison result corresponding to 4, the three groups is 4.In the present embodiment, because final GTG progression is 4, and 4 be even number, therefore, in the time that quotient equals final GTG progression (equaling 4), generate corresponding each data value according to the order of turning left from the right side, and in practical operation, if final GTG progression is 5, the 5th, odd number,, in the time that quotient equals final GTG progression (equaling 5), generate corresponding each data value according to order from left to right, and in the form generating, each data value is 5.That is, the parity difference of final GTG progression, the order of generated data value is also not identical, and in the time that quotient equals the value of final GTG progression, what kind of order to generate corresponding each data value according to, depends on the parity of final GTG progression itself.
The step generating according to above-mentioned table 1, in other embodiment, for example, when original GTG progression is 256 rank, and final GTG progression is that (a pixel can be by 0 on 8 rank, 1, 2, 3, 4, 5, 6, 7 or 8 gray scale is expressed) time, if also adopt above-mentioned orderly halftoning shade 100 (to there are 16 original numerical sequences, and these 16 original numerical sequences are divided into three groups), quotient is as shown in table 2 below with the corresponding form of group, user can determine corresponding form according to the actual conditions of raw video and final image, be not limited with cited embodiment.
? The first group The second group The 3rd group
0 0 0 0
1 1 1 2
2 3 2 2
3 3 3 4
4 5 4 4
5 5 5 6
6 7 6 6
7 7 7 8
8 8 8 8
Table 2
The method of video conversion of the present invention and for the circuit of video conversion, by the each original numerical sequence in halftoning shade is divided into a plurality of groups, the GTG value of the each pixel of raw video is obtained after quotient and remainder divided by GTG conversion parameter, if remainder is greater than adjustment numerical sequence corresponding in halftoning shade, determine comparative parameter according to quotient corresponding to this remainder and group, and determined the GTG value of this pixel in final image by comparative parameter quotient, the GTG value of each pixel of final image is processed finer and smoothlyer, perfect, make the visual effect of final image better, colour band or the serious problem of color lump phenomenon in prior art are improved.
Certainly; the present invention also can have other various embodiments; in the situation that not deviating from spirit of the present invention and essence thereof; those of ordinary skill in the art can make according to the present invention various corresponding changes and distortion, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (11)

1. an image conversion method, for raw video being converted to final image, this raw video has original GTG progression, and this final image has final GTG progression, it is characterized in that this image conversion method comprises:
Steps A: orderly half look shade is provided, and this orderly halftoning shade has the first quantity original numerical sequence, determines the first quantity adjustment numerical sequence by this first quantity original numerical sequence and adjustment parameter;
Step B: determine GTG conversion parameter by this original GTG progression and this final GTG progression, by the GTG value of each pixel in this raw video divided by this GTG conversion parameter to obtain quotient and the remainder of corresponding each pixel;
Step C: this first quantity original numerical sequence is divided into the second quantity group, this remainder of each pixel and this corresponding adjustment numerical sequence are compared, and determine comparative parameter according to comparative result, if wherein this remainder is greater than this adjustment numerical sequence, determine comparative parameter by this quotient and this group of correspondence;
Step D: determine this final image with this corresponding comparative parameter by this quotient of pixel one by one.
2. image conversion method according to claim 1, is characterized in that: in steps A, this first quantity original numerical sequence is multiplied by respectively this adjustment parameter to obtain this first quantity adjustment numerical sequence.
3. image conversion method according to claim 1, is characterized in that: in step B this original GTG progression divided by this final GTG progression to obtain this GTG conversion parameter.
4. image conversion method according to claim 1, it is characterized in that: step C also comprises: if this remainder is greater than this adjustment numerical sequence, first determine comparison result by this quotient and this group of correspondence, then this comparison result is deducted to this corresponding quotient to obtain this comparative parameter.
5. image conversion method according to claim 4, it is characterized in that: step C also comprises: if this remainder is greater than this adjustment numerical sequence, in the corresponding form of this quotient and this group, search and determine this comparison result, this quotient is as follows with the generation step of the corresponding form of this group:
Step 1: the second quantity group is ascending sequentially arranges as transverse axis using this, and defining this second quantity is P, and the scope of this transverse axis is [1, P], sequentially arrange as the longitudinal axis ascending this quotient, defining this final GTG progression is Q, the scope of this longitudinal axis is [0, Q-1]; And
Step 2: defining this quotient is i, if i is 0, in the form generating, each data value is 0;
If i is the odd number that is less than Q, generate the form of corresponding i by order from left to right, the data value wherein generating is at first i, at least last data value generating is (i+1);
If i is the even number that is less than Q, generate the form of corresponding i by the order of turning left from the right side, the data value wherein generating is at first i, at least last data value generating is (i+1);
If i equals Q, in the form generating, each data value is Q.
6. image conversion method according to claim 1, is characterized in that: the product of this first quantity and this adjustment parameter equals this GTG conversion parameter.
7. for a circuit for video conversion, this circuit is for being converted to final image by raw video, and this raw video has original GTG progression, and this final image has final GTG progression, it is characterized in that this circuit comprises:
Halftoning shade in order, has the first quantity original numerical sequence;
The first processing unit, for determining the first quantity adjustment numerical sequence according to this first quantity original numerical sequence and adjustment parameter;
The second processing unit, for determining GTG conversion parameter according to this original GTG progression and this final GTG progression, and by the GTG value of each pixel of this raw video divided by this conversion image to obtain corresponding quotient and remainder;
The 3rd processing unit, for this first quantity original numerical sequence is divided into the second quantity group, and this remainder of each pixel and this corresponding adjustment numerical sequence are compared, and determine comparative parameter according to comparative result, if wherein this remainder is greater than this adjustment numerical sequence, determine comparative parameter by this quotient and this group of correspondence; And
Fourth processing unit, for determining this final image according to this quotient of pixel one by one with this corresponding comparative parameter.
8. circuit according to claim 7, is characterized in that: this first processing unit is determined this first quantity adjustment numerical sequence according to the product of this first quantity original numerical sequence and this adjustment parameter.
9. circuit according to claim 7, is characterized in that: this second processing unit is determined this GTG conversion parameter according to this original GTG progression divided by the business of this final GTG progression.
10. circuit according to claim 7, it is characterized in that: when this adjustment numerical sequence of this remainder of each pixel and correspondence is compared, if this remainder is greater than this adjustment numerical sequence, first determine comparison result by this quotient and this group of correspondence, then this comparison result is deducted to this corresponding quotient to obtain this comparative parameter.
11. circuit according to claim 10, is characterized in that: if this remainder is greater than this adjustment numerical sequence, in the corresponding form of this quotient and this group, search group fixed this comparison result, arranging of the corresponding form of this quotient and this group is as follows:
(1): using this, the second quantity group is ascending sequentially arranges as transverse axis, and defining this second quantity is P, and the scope of this transverse axis is [1, P], sequentially arrange as the longitudinal axis ascending this quotient, defining this final GTG progression is Q, the scope of this longitudinal axis is [0, Q-1];
(2): defining this quotient is i,, if i is 0, in the form generating, each data value is 0;
If i is the odd number that is less than Q, generate the form of corresponding i by order from left to right, the data value wherein generating is at first i, at least last data value generating is (i+1);
If i is the even number that is less than Q, generate the form of corresponding i by the order of turning left from the right side, the data value wherein generating is at first i, at least last data value generating is (i+1);
If i equals Q, in the form generating, each data value is Q.
CN201410315144.6A 2014-07-03 2014-07-03 The method of video conversion and the circuit for video conversion Expired - Fee Related CN104092918B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410315144.6A CN104092918B (en) 2014-07-03 2014-07-03 The method of video conversion and the circuit for video conversion

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410315144.6A CN104092918B (en) 2014-07-03 2014-07-03 The method of video conversion and the circuit for video conversion

Publications (2)

Publication Number Publication Date
CN104092918A true CN104092918A (en) 2014-10-08
CN104092918B CN104092918B (en) 2017-09-29

Family

ID=51640598

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410315144.6A Expired - Fee Related CN104092918B (en) 2014-07-03 2014-07-03 The method of video conversion and the circuit for video conversion

Country Status (1)

Country Link
CN (1) CN104092918B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114063945A (en) * 2020-07-31 2022-02-18 青岛海信移动通信技术股份有限公司 Mobile terminal and image display method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002112032A (en) * 2000-10-04 2002-04-12 Dainippon Printing Co Ltd Method of manufacturing halftone mask, halftone image, and printed matter
US20040091163A1 (en) * 2002-11-12 2004-05-13 Anderson Peter G. Methods, devices and systems for compressing images
CN1670683A (en) * 2004-03-16 2005-09-21 德鑫科技股份有限公司 Method of synchronous conversion image processing for printers
CN101600039A (en) * 2008-06-05 2009-12-09 佳世达科技股份有限公司 The method of half tone image conversion method, Method of printing and generation halftone shield
CN101621704A (en) * 2008-06-30 2010-01-06 英特尔公司 Color enhancement for graphic images

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002112032A (en) * 2000-10-04 2002-04-12 Dainippon Printing Co Ltd Method of manufacturing halftone mask, halftone image, and printed matter
US20040091163A1 (en) * 2002-11-12 2004-05-13 Anderson Peter G. Methods, devices and systems for compressing images
CN1670683A (en) * 2004-03-16 2005-09-21 德鑫科技股份有限公司 Method of synchronous conversion image processing for printers
CN101600039A (en) * 2008-06-05 2009-12-09 佳世达科技股份有限公司 The method of half tone image conversion method, Method of printing and generation halftone shield
CN101621704A (en) * 2008-06-30 2010-01-06 英特尔公司 Color enhancement for graphic images

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114063945A (en) * 2020-07-31 2022-02-18 青岛海信移动通信技术股份有限公司 Mobile terminal and image display method thereof
CN114063945B (en) * 2020-07-31 2023-11-03 青岛海信移动通信技术有限公司 Mobile terminal and image display method thereof

Also Published As

Publication number Publication date
CN104092918B (en) 2017-09-29

Similar Documents

Publication Publication Date Title
CN105282392A (en) Image processing apparatus, image processing method and program
JP5889431B2 (en) Image processing apparatus and image processing method
CN103325351B (en) Image processing apparatus and image processing method
JP4534963B2 (en) Image forming method, image forming apparatus, image forming system, printing method, printed matter generating method, and computer program for controlling image forming apparatus
CN104050922B (en) The method of rapid build OLED display Gamma correction look-up table
CN102555417B (en) Amplitude-modulation screening method and device
CN105575314A (en) Gray scale processing method, gray scale processing device and display device
JP4506652B2 (en) High quality halftone processing
CN112927654B (en) Backlight control method and device and terminal equipment
CN104795052B (en) RGBW signal conversion methods and system
US10027851B2 (en) Color patch generation for visual selection in the color adjustment of a color print apparatus
JP4534964B2 (en) Image forming method, image forming apparatus, image forming system, printed matter generation method, and computer program for controlling image forming apparatus
JP2013198153A (en) Method and system for maintaining image quality at economical printing mode
CN111341275A (en) Display control method, display device and storage medium
CN104092918A (en) Image transformation method and circuit for image transformation
CN105791710A (en) Signal lamp image enhancement processing method
CN103841385B (en) Image dithering process method and device
CN104754177A (en) Chromatic aberration correction and bottom color filtering method of CIS large-breadth scanner
CN103021375B (en) Image intensity regulating circuit
US10070009B2 (en) Selection of halftoning technique based on microstructure detection
US7583412B2 (en) System and method for creating patterned encoded halftones
CN108665512A (en) A kind of adaptive halftone method for drafting
US20180084151A1 (en) Selection of Halftoning Technique
CN112735353B (en) Screen brightness uniformity correction device and method
CN103856685B (en) Image Processing Apparatus and Image Processing Method

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170929

Termination date: 20180703

CF01 Termination of patent right due to non-payment of annual fee