CN103618845B - A kind of based on minimum colour developing error laser printer model green noise halftone algorithm - Google Patents

A kind of based on minimum colour developing error laser printer model green noise halftone algorithm Download PDF

Info

Publication number
CN103618845B
CN103618845B CN201310626170.6A CN201310626170A CN103618845B CN 103618845 B CN103618845 B CN 103618845B CN 201310626170 A CN201310626170 A CN 201310626170A CN 103618845 B CN103618845 B CN 103618845B
Authority
CN
China
Prior art keywords
value
pixel
formula
point
gray
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.)
Expired - Fee Related
Application number
CN201310626170.6A
Other languages
Chinese (zh)
Other versions
CN103618845A (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.)
Wuhan University WHU
Original Assignee
Wuhan University WHU
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 Wuhan University WHU filed Critical Wuhan University WHU
Priority to CN201310626170.6A priority Critical patent/CN103618845B/en
Publication of CN103618845A publication Critical patent/CN103618845A/en
Application granted granted Critical
Publication of CN103618845B publication Critical patent/CN103618845B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of based on minimum colour developing error laser printer model green noise halftone algorithm, belong to the halftone screen dot generation method that image hard copy copies field.The non-linear distortion due to printer with dot gains and some loss exists, and needs to use model printer to simulate non-linear distortion.And current model printer uses density or reflectivity to convert measurement result usually, do not meet the linear change of human eye vision gray scale, so usually need repeatedly to print the parameter measured and could determine model printer due to density and reflectivity.Printout results conversion is Munsell value value by the present invention, calculates the optimized parameter of model printer, obtains the laser printer model of minimum colour developing error, and be applied in green noise halftone algorithm.Only need once to print measurement, the model printer that the optimized parameter generated is corresponding just inhibits the non-linear distortion of printer preferably.

Description

A kind of based on minimum colour developing error laser printer model green noise halftone algorithm
Technical field
The invention belongs to digital image processing field, relate to a kind of halftoning method, be specifically related to a kind of based on minimum colour developing error laser printer model green noise halftone algorithm.
Background technology
Because ink powder physical diffusion and electrostatic charge adsorption capacity are not enough, printer there will be dot gains and some Loss, and these two kinds of phenomenons are otherwise known as printer non-linear distortion.Printer non-linear distortion will cause the gray scale of output image and the situations such as level, relatively relationship between light and dark change.In order to suppress the non-linear distortion of printer, domestic and international researcher passes through feature and the printer printing mechanism of printer emulation print point, sets up model printer.
Current model printer, is normally converted to density value or reflectivity by measured value, determines model printer by the relation of the gray value comparing the density value after conversion, reflectivity and original image.But do not meet human eye vision grey scale change situation due to density value and reflectivity, so directly can not be obtained the optimized parameter of model printer by the method for minimum variance, and need repeatedly to print measurement, judge optimized parameter by human eye.
Summary of the invention
In order to solve the problems of the technologies described above, the present invention proposes a kind of based on minimum colour developing error laser printer model green noise halftone algorithm, be Munsell value value by printout results conversion, calculate the optimized parameter of model printer, obtain the laser printer model of minimum colour developing error, and be applied in green noise halftone algorithm, only need once to print measurement, the model printer that the optimized parameter generated is corresponding just inhibits the non-linear distortion of printer preferably.
The technical solution adopted in the present invention is: a kind of based on minimum colour developing error laser printer model green noise halftone algorithm, it is characterized in that, comprises the following steps:
Step 1: by calculating the minimum colour developing error of test pattern, obtain corresponding optimized parameter t 1, T 2combination; Its specific implementation comprises following sub-step:
Step 1.1: draw and comprise by the gray level image of black 20 color lumps to the gray-value variation such as white as test pattern I s;
Step 1.2: select green noise halftone algorithm to test pattern I scarry out halftone process, obtain halftone process result images I h;
Step 1.3: by halftone process result images I huse target laser printer to print out, obtain Output rusults image I p;
Step 1.4: use colorimeter or densimeter measurement Output rusults image I p, measurement data is converted to gray value, obtains 20 color lumps and measure gray value array arrPG; Wherein said is converted to gray value by measurement data, and its specific implementation comprises following sub-step:
Step 1.4.1: measurement data is converted to the luminance factor Y in CIE1931XYZ colorimeter system; Wherein:
If use colorimeter to measure printing Output rusults, then measure the luminance factor Y obtaining printing out result;
If use densitometer to measure printing Output rusults, then the density D derived according to optical reflection density defined formula and the functional relation of luminance factor Y, calculate luminance factor Y:
D = lg [ Y 0 / ( Yρ 0 ) ] ⇒ Y = Y 0 10 D ρ 0 (formula one)
Wherein, Y 0for the luminance factor of Munsell system the 10th grade of lightness, Y 0=102.75, ρ 0for the reflectivity of Munsell system the 10th grade of lightness, ρ 0=1, D is the optical reflection density in certain region, and Y is the luminance factor in this region;
Step 1.4.2: luminance factor Y is converted to Munsell value V, according to the functional relation of luminance factor Y and Munsell value V, calculates Munsell value V:
V=2.217Y 0.352-1.324 (formulas two)
Step 1.4.3: Munsell value V is converted to gray value G,
G = V - V p V s - V p (formula three)
Wherein, V is to be converted is Munsell value, V pfor the white corresponding Munsell value of paper, V sit is the Munsell value that 100% site printing effect is corresponding;
Step 1.5: for halftone process result images I h, in [0,1] scope with 0.1 for step-length, constantly change formula wantonly in parameter single pixel segmentation is become 10 × 10 points, at the light energy distribution value P (x of each point when calculating single pixel exposure i, y i):
P ( x i , y i ) = exp - ∂ [ ( x i - x c ) 2 + ( y i - y c ) 2 ] / l 2 (formula wantonly)
Wherein, (x c, y c) be the exposure center of pixel (m, n), (x i, y i) be this pixel exposure each point pericentral, l is the centre-to-centre spacing of laser printer two neighbouring device print points, l=10;
Step 1.6: the light energy of each point of statistics exposing pixels and eight neighborhood thereof, the average light energy value A of the region of calculation exposure pixel own, adjacent area, diagonal zones center, A nerb, A diag, its universal calculation equation is:
A = ∫ y i - l / 2 y i + l / 2 ∫ x i - l / 2 x i + l / 2 P ( x , y ) d x d y l × l (formula 5)
Wherein, (x i-l/2, x i+ l/2), (y i-l/2, y i+ l/2) be respectively the transverse and longitudinal coordinate span in unit are region;
Step 1.7: pointwise judges halftone process result images I hin the eight neighborhood of each pixel whether be print point, calculate the superimposed light energy L on each pixel region:
L=uA center+ vA nerb+ wA diag(formula land)
Wherein, whether u is exposed decision by current pixel, A centerfor current pixel is at the average light energy value in pixel region own, v is the number of pixels will be exposed in the adjacent domain of current pixel, A nerbfor the average light energy value of print pixel point in current pixel region of proximal direction, w is the number of pixels will be exposed in the diagonal zones of current pixel, A diagfor the average light energy value of print point in current pixel region at diagonal angle;
Step 1.8: in [0,3] scope with 0.1 for step-length, change parameter T in formula seven successively 1, T 2, calculate the modulating output gray value p of each pixel in substitution formula seven:
p = 0 L < T 1 L - T 1 T 2 - T 1 T 1 &le; L < T 2 1 T 2 &le; L (formula seven)
Wherein, if in conversion threshold process, T 1>T 2, then this time conversion is skipped, and directly enters and converts next time;
Step 1.9: the mean value calculating modulating output gray value p corresponding to all pixels in same gray scale color lump, obtains the analog gray scale value array arrIG of 20 gray scale color lumps;
Step 1.10: the root-mean-square error RMSE between computation and measurement gray value array arrPG and analog gray scale value array arrIG:
R M S E = &Sigma; i = 1 n ( arrPG i - arrIG i ) 2 n (formula eight)
Wherein, n is the number of gray scale color lump, n=20;
Step 1.11: judge, does is RMSE minimum value?
If not, then the step 1.5 described in revolution execution;
If: then order performs following step 1.12;
Step 1.12: select minimum colour developing error RMSE mincorresponding parameter t 1, T 2as optimized parameter;
Step 2: by optimized parameter t 1, T 2be loaded in green noise halftone algorithm, halftone process is carried out to image; Its specific implementation comprises following sub-step:
Step 2.1: substitute into optimized parameter and calculate the light energy value A of single print point in pixel region own, adjacent domain and diagonal zones respectively according to formula four and formula 5 center, A nerband A diag, and preserve;
Step 2.2: set pending image as a width size be the gray level image of M × N, x m,nrepresent the gray value at pixel (m, the n) place of pending image, wherein x m,n∈ [0,1], 0 is black, and 1 is white; The error amount of the around processed pixel of eight neighborhood and error diffusion filter convolution are obtained error amount, and the gray value of input pixel of current point and the difference of error amount are as inputting threshold quantizer gray value u m,n:
u m , n = x m , n - &Sigma; k , j &Element; S F k , j e m - k , n - j (formula nine)
Wherein, S is the coefficient template scope of error diffusion filter F (), and k, j are the ranks value of the coefficient template of F ();
Step 2.3: adopt the analog pixel value of sluggish filters H () to the adjacent processed pixel in pixel (m, n) place to carry out weights computing, then be multiplied by hysteresis index h as feedback, adds input threshold quantizer gray value u m,nin, then the output valve b of pixel (m, n) m,n:
b m , n = Q ( u m , n ) = 1 ( u m , n - h &Sigma; p , q &Element; R H p , q b m - p , n - q &prime; ) > 0.5 0 e l s e (formula is picked up)
Wherein, R is the coefficient template scope of sluggish filters H (), and output valve 1 is print point, and 0 is not print point; P, q are the ranks value of the coefficient template of H ();
Step 2.4: by light energy value A center, A nerband A diagsubstitution formula land, the light energy superposition value on calculating pixel point (m, n) region, the value of u, v, w in its Chinese style land is determined by the output valve of point processed in pixel (m, n) eight neighborhood.
u = 1 b m , n = 0 0 b m , n = 1 (formula 11)
(formula 12)
(formula 13)
Step 2.5: by optimized parameter T 1, T 2the modulating output gray value of current point is calculated in substitution formula seven;
Step 2.6: the error amount e calculating current point m,nfor analog pixel value and the difference e of input threshold quantizer gray value m,n:
E m,n=b ' m,n-u m,n(formula 14)
Step 2.7: described in step 2.1 to step 2.6, from angle point beginning, pending image upper left reason, by order left-to-right, from top to bottom, until terminate to pending image bottom right angle point.
Innovative point of the present invention is:
(1) measurement data is converted to Munsell value value, Munsell value is converted to analog gray scale;
(2) by loop modification parameter t 1, T 2, ask minimal error, using the parameter of correspondence as optimized parameter;
(3) optimized parameter is simulated the gray value obtained and replace the original gray value error of calculation;
Printout results conversion is Munsell value value by the present invention, calculate the optimized parameter of model printer, obtain the laser printer model of minimum colour developing error, and be applied in green noise halftone algorithm, only need once to print measurement, the model printer that the optimized parameter generated is corresponding just inhibits the non-linear distortion of printer preferably.
Accompanying drawing explanation
Fig. 1: be the flow chart based on minimum colour developing error optimization calculation of parameter of the present invention.
Fig. 2: be the flow chart based on minimum colour developing error laser printer model green noise halftone algorithm of the present invention
Fig. 3: be the luminance factor Y of the embodiment of the present invention and the transformational relation schematic diagram of Munsell value V.
Fig. 4: 20 the pending gray scale color lumps being the embodiment of the present invention.
Fig. 5-1: the coefficient template being the error diffusion filter F () adopted in the embodiment of the present invention.
Fig. 5-2: the coefficient template being the sluggish filters H () adopted in the embodiment of the present invention.
Fig. 6: the lena test pattern being the embodiment of the present invention.
Fig. 7: be the embodiment of the present invention by common green noise halftone algorithm process and print scanned lena resolution chart.
Fig. 8: be the embodiment of the present invention by based on minimum colour developing error laser printer model green noise halftone algorithm process and print scanned lena resolution chart.
Embodiment
Below with Pantum2000 laser printer be target printer, to hat board height white manifold paper carry out printing out, measuring equipment is for Eyeone colorimetric instrument, be pending image for lena resolution chart, with common green noise halftone algorithm for contrast, use the high score resolution scanner of 1200dpi to scan halftoning printout image, with this, the present invention is further described.
Ask for an interview Fig. 1, Fig. 2, the technical solution adopted in the present invention is: a kind of based on minimum colour developing error laser printer model green noise halftone algorithm, it is characterized in that, comprises the following steps:
Step 1: by calculating the minimum colour developing error of test pattern, obtain corresponding optimized parameter t 1, T 2combination; Its specific implementation comprises following sub-step:
Step 1.1: ask for an interview Fig. 4, draws 20 the gray scale color lumps of 600 × 600 pixels by 0 to 0.95 every 0.05 grey scale change as test pattern I s, wherein 0 represents black, and 1 represents white;
Step 1.2: select green noise halftone algorithm to test pattern I scarry out halftone process, obtain halftone process result images I h;
Step 1.3: by halftone process result images I huse Pantum2000 laser printer to print out, obtain Output rusults image I p;
Step 1.4: use Eyeone colorimetric instrument to measure Output rusults image I p, and by the following method measurement data is converted to gray value, obtain 20 color lumps and measure gray value array arrPG: wherein said is converted to gray value by measurement data, and its specific implementation comprises following sub-step:
Step 1.4.1: measurement data is converted to the luminance factor Y in CIE1931XYZ colorimeter system; Its specific implementation process is: the density D derived according to optical reflection density defined formula and the functional relation of luminance factor Y, calculate luminance factor Y:
D = lg &lsqb; Y 0 / ( Y&rho; 0 ) &rsqb; &DoubleRightArrow; Y = Y 0 10 D &rho; 0 (formula one)
Wherein, Y 0for the luminance factor of Munsell system the 10th grade of lightness, Y 0=102.75, ρ 0for the reflectivity of Munsell system the 10th grade of lightness, ρ 0=1, D is the optical reflection density in certain region, and Y is the luminance factor in this region;
Step 1.4.2: luminance factor Y is converted to Munsell value V, asks for an interview Fig. 3, according to the functional relation of luminance factor Y and Munsell value V, calculates Munsell value V:
V=2.217Y 0.352-1.324 (formulas two)
Step 1.4.3: Munsell value V is converted to gray value G,
G = V - V p V s - V p (formula three)
Wherein, V is to be converted is Munsell value, V pfor the white corresponding Munsell value of paper, V sit is the Munsell value that 100% site printing effect is corresponding;
Step 1.5: for halftone process result images I h, in [0,1] scope with 0.1 for step-length, constantly change formula wantonly in parameter single pixel segmentation is become 10 × 10 points, at the light energy distribution value P (x of each point when calculating single pixel exposure i, y i):
P ( x i , y i ) = exp - &part; &lsqb; ( x i - x c ) 2 + ( y i - y c ) 2 &rsqb; / l 2 (formula wantonly)
Wherein, (x c, y c) be the exposure center of pixel (m, n), (x i, y i) be this pixel exposure each point pericentral, l is the centre-to-centre spacing of laser printer two neighbouring device print points, l=10;
Step 1.6: the light energy of each point of statistics exposing pixels and eight neighborhood thereof, the average light energy value A of the region of calculation exposure pixel own, adjacent area, diagonal zones center, A nerb, A diag, its universal calculation equation is:
A = &Integral; y i - l / 2 y i + l / 2 &Integral; x i - l / 2 x i + l / 2 P ( x , y ) d x d y l &times; l (formula 5)
Wherein, (x i-l/2, x i+ l/2), (y i-l/2, y i+ l/2) be respectively the transverse and longitudinal coordinate span in unit are region;
Step 1.7: pointwise judges halftone process result images I hin the eight neighborhood of each pixel whether be print point, calculate the superimposed light energy L on each pixel region:
L=uA center+ vA nerb+ wA diag(formula land)
Wherein, whether u is exposed decision by current pixel, A centerfor current pixel is at the average light energy value in pixel region own, v is the number of pixels will be exposed in the adjacent domain of current pixel, A nerbfor the average light energy value of print pixel point in current pixel region of proximal direction, w is the number of pixels will be exposed in the diagonal zones of current pixel, A diagfor the average light energy value of print point in current pixel region at diagonal angle;
Step 1.8: in [0,3] scope with 0.1 for step-length, change parameter T in formula seven successively 1, T 2, in substitution formula seven, calculate the modulating output gray value p of each pixel
p = 0 L < T 1 L - T 1 T 2 - T 1 T 1 &le; L < T 2 1 T 2 &le; L (formula seven)
Wherein, if in conversion threshold process, T 1>T 2, then this time conversion is skipped, and directly enters and converts next time;
Step 1.9: the mean value calculating modulating output gray value p corresponding to all pixels in same gray scale color lump, obtains the analog gray scale value array arrIG of 20 gray scale color lumps;
Step 1.10: the root-mean-square error RMSE between computation and measurement gray value array arrPG and analog gray scale value array arrIG:
R M S E = &Sigma; i = 1 n ( arrPG i - arrIG i ) 2 n (formula eight)
Wherein, n is the number of gray scale color lump, n=20;
Step 1.11: judge, does is RMSE minimum value?
If not, then the step 1.5 described in revolution execution;
If: then order performs following step 1.12;
Step 1.12: select minimum colour developing error RMSE mincorresponding parameter t 1, T 2as optimized parameter; The present embodiment selects minimum colour developing error RMSE minwhen=3.28, corresponding parameter t 1=0.4, T 2=2.3 as optimized parameter;
Step 2: by optimized parameter t 1, T 2be loaded in green noise halftone algorithm, halftone process is carried out to image; Its specific implementation comprises following sub-step:
Step 2.1: substitute into optimized parameter and calculate the light energy value A of single print point in pixel region own, adjacent domain and diagonal zones respectively according to formula four and formula 5 center, A nerband A diag, and preserve;
Step 2.2: set pending image as a width size be the gray level image of M × N, x m,nrepresent the gray value at pixel (m, the n) place of pending image, wherein x m,n∈ [0,1], 0 is black, and 1 is white; The error amount of the around processed pixel of eight neighborhood and error diffusion filter convolution are obtained error amount, and the gray value of input pixel of current point and the difference of error amount are as inputting threshold quantizer gray value u m,n:
u m , n = x m , n - &Sigma; k , j &Element; S F k , j e m - k , n - j (formula nine)
Wherein, S is the coefficient template scope of error diffusion filter F (), and k, j are the ranks value of the coefficient template of F (), ask for an interview Fig. 5-1;
Step 2.3: adopt the analog pixel value of sluggish filters H () to the adjacent processed pixel in pixel (m, n) place to carry out weights computing, then be multiplied by hysteresis index h as feedback, adds input threshold quantizer gray value u m,nin, then the output valve b of pixel (m, n) m,n:
b m , n = Q ( u m , n ) = 1 ( u m , n - h &Sigma; p , q &Element; R H p , q b m - p , n - q &prime; ) > 0.5 0 e l s e (formula is picked up)
Wherein, R is the coefficient template scope of sluggish filters H (), and output valve 1 is print point, and 0 is not print point; P, q are the ranks value of the coefficient template of H (), ask for an interview Fig. 5-2;
Step 2.4: by light energy value A center, A nerband A diagsubstitution formula land, the light energy superposition value on calculating pixel point (m, n) region, the value of u, v, w in its Chinese style land is determined by the output valve of point processed in pixel (m, n) eight neighborhood.
u = 1 b m , n = 0 0 b m , n = 1 (formula 11)
(formula 12)
(formula 13)
Step 2.5: by optimized parameter T 1=0.4, T 2the modulating output gray value of current point is calculated in=2.3 substitution formulas seven;
Step 2.6: the error amount e calculating current point m,nfor analog pixel value and the difference e of input threshold quantizer gray value m,n:
E m,n=b ' m,n-u m,n(formula 14)
Step 2.7: described in step 2.1 to step 2.6, from angle point beginning, pending image upper left reason, by order left-to-right, from top to bottom, until terminate to pending image bottom right angle point.
In the present embodiment, measurement data is converted to the luminance factor Y in CIE1931XYZ colorimeter system; Also colorimeter can be used to measure printing Output rusults, and measure the luminance factor Y obtaining printing out result.
Asking for an interview Fig. 6, is the lena test pattern of the embodiment of the present invention; Ask for an interview Fig. 7, be the embodiment of the present invention by common green noise halftone algorithm process and print scanned lena resolution chart; Its overall light and shade is obviously partially dark, and the contrast of the flower on its hair and cap completely and level, cannot resolve minutiae profile; Ask for an interview Fig. 8, be the embodiment of the present invention by based on minimum colour developing error laser printer model green noise halftone algorithm process and print scanned lena resolution chart, its overall light and shade reduction comparatively meets former figure, still can reproduce preferably in shadow part details, restrained effectively printer non-linear distortion.
These are only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention, therefore, all any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (1)

1., based on a minimum colour developing error laser printer model green noise halftone algorithm, it is characterized in that, comprise the following steps:
Step 1: by calculating the minimum colour developing error of test pattern, obtain corresponding optimized parameter , T 1, T 2combination; Its specific implementation comprises following sub-step:
Step 1.1: draw and comprise by the gray level image of black 20 color lumps to the gray-value variation such as white as test pattern I s;
Step 1.2: select green noise halftone algorithm to test pattern I scarry out halftone process, obtain halftone process result images I h;
Step 1.3: by halftone process result images I huse target laser printer to print out, obtain Output rusults image I p;
Step 1.4: use colorimeter or densimeter measurement Output rusults image I p, measurement data is converted to gray value, obtains 20 color lumps and measure gray value array arrPG; Wherein said is converted to gray value by measurement data, and its specific implementation comprises following sub-step:
Step 1.4.1: measurement data is converted to the luminance factor Y in CIE1931XYZ colorimeter system; Wherein:
If use colorimeter to measure printing Output rusults, then measure the luminance factor Y obtaining printing out result;
If use densitometer to measure printing Output rusults, then the density D derived according to optical reflection density defined formula and the functional relation of luminance factor Y, calculate luminance factor Y:
D = lg &lsqb; Y 0 / ( Y&rho; 0 ) &rsqb; &DoubleRightArrow; Y = Y 0 10 D &rho; 0 (formula one)
Wherein, Y 0for the luminance factor of Munsell system the 10th grade of lightness, Y 0=102.75, ρ 0for the reflectivity of Munsell system the 10th grade of lightness, ρ 0=1, D is the optical reflection density in certain region, and Y is the luminance factor in this region;
Step 1.4.2: luminance factor Y is converted to Munsell value V, according to the functional relation of luminance factor Y and Munsell value V, calculates Munsell value V:
V=2.217Y 0.352-1.324 (formulas two)
Step 1.4.3: Munsell value V is converted to gray value G,
G = V - V p V s - V p (formula three)
Wherein, V is to be converted is Munsell value, V pfor the white corresponding Munsell value of paper, V sit is the Munsell value that 100% site printing effect is corresponding;
Step 1.5: for halftone process result images I h, in [0,1] scope with 0.1 for step-length, constantly change formula wantonly in parameter , single pixel segmentation is become 10 × 10 points, at the light energy distribution value P (x of each point when calculating single pixel exposure i, y i):
P ( x i , y i ) = exp - &part; &lsqb; ( x i - x c ) 2 + ( y i - y c ) 2 &rsqb; / l 2 (formula wantonly)
Wherein, (x c, y c) be the exposure center of pixel (m, n), (x i, y i) be this pixel exposure each point pericentral, l is the centre-to-centre spacing of laser printer two neighbouring device print points, l=10;
Step 1.6: the light energy of each point of statistics exposing pixels and eight neighborhood thereof, the average light energy value A of the region of calculation exposure pixel own, adjacent area, diagonal zones center, A nerb, A diag, its universal calculation equation is:
A = &Integral; y i - l / 2 y i + l / 2 &Integral; x i - l / 2 x i + l / 2 P ( x , y ) d x d y l &times; l (formula 5)
Wherein, (x i-l/2, x i+ l/2), (y i-l/2, y i+ l/2) be respectively the transverse and longitudinal coordinate span in unit are region;
Step 1.7: pointwise judges halftone process result images I hin the eight neighborhood of each pixel whether be print point, calculate the superimposed light energy L on each pixel region:
L=uA center+ vA nerb+ wA diag(formula land)
Wherein, whether u is exposed decision by current pixel, A centerfor current pixel is at the average light energy value in pixel region own, v is the number of pixels will be exposed in the adjacent domain of current pixel, A nerbfor the average light energy value of print pixel point in current pixel region of proximal direction, w is the number of pixels will be exposed in the diagonal zones of current pixel, A diagfor the average light energy value of print point in current pixel region at diagonal angle;
Step 1.8: in [0,3] scope with 0.1 for step-length, change parameter T in formula seven successively 1, T 2, and substitute into the modulating output gray value p calculating each pixel in formula seven
p = 0 L < T 1 L - T 1 T 2 - T 1 T 1 &le; L < T 2 1 T 2 &le; L (formula seven)
Wherein, if in conversion threshold process, T 1>T 2, then this time conversion is skipped, and directly enters and converts next time;
Step 1.9: the mean value calculating modulating output gray value p corresponding to all pixels in same gray scale color lump, obtains the analog gray scale value array arrIG of 20 gray scale color lumps;
Step 1.10: the root-mean-square error RMSE between computation and measurement gray value array arrPG and analog gray scale value array arrIG:
R M S E = &Sigma; i = 1 n ( arrPG i - arrIG i ) 2 n (formula eight)
Wherein, n is the number of gray scale color lump, n=20;
Step 1.11: judge, does is RMSE minimum value?
If not, then the step 1.5 described in revolution execution;
If: then order performs following step 1.12;
Step 1.12: select minimum colour developing error RMSE mincorresponding parameter t 1, T 2as optimized parameter;
Step 2: by optimized parameter t 1, T 2be loaded in green noise halftone algorithm, halftone process is carried out to image; Its specific implementation comprises following sub-step:
Step 2.1: substitute into optimized parameter and calculate the light energy value A of single print point in pixel region own, adjacent domain and diagonal zones respectively according to formula four and formula 5 center, A nerband A diag, and preserve;
Step 2.2: set pending image as a width size be the gray level image of M × N, x m,nrepresent the gray value at pixel (m, the n) place of pending image, wherein x m,n∈ [0,1], 0 is black, and 1 is white; The error amount of the around processed pixel of eight neighborhood and error diffusion filter convolution are obtained error amount, and the gray value of input pixel of current point and the difference of error amount are as inputting threshold quantizer gray value u m,n:
u m , n = x m , n - &Sigma; k , j &Element; S F k , j e m - k , n - j (formula nine)
Wherein, S is the coefficient template scope of error diffusion filter F (), and k, j are the ranks value of the coefficient template of F ();
Step 2.3: adopt the analog pixel value of sluggish filters H () to the adjacent processed pixel in pixel (m, n) place to carry out weights computing, then be multiplied by hysteresis index h as feedback, adds input threshold quantizer gray value u m,nin, then the output valve b of pixel (m, n) m,n:
b m , n = Q ( u m , n ) = 1 ( u m , n - h &Sigma; p , q &Element; R H p , q b m - p , n - q &prime; ) > 0.5 0 e l s e (formula is picked up)
Wherein, R is the coefficient template scope of sluggish filters H (), and output valve 1 is print point, and 0 is not print point; P, q are the ranks value of the coefficient template of H ();
Step 2.4: by light energy value A center, A nerband A diagsubstitution formula land, the light energy superposition value on calculating pixel point (m, n) region, the value of u, v, w in its Chinese style land is determined by the output valve of point processed in pixel (m, n) eight neighborhood;
u = 1 b m , n = 0 0 b m , n = 1 (formula 11) (formula 12)
(formula 13)
Step 2.5: by optimized parameter T 1,t 2the modulating output gray value of current point is calculated in substitution formula seven;
Step 2.6: the error amount e calculating current point m,nfor analog pixel value and the difference e of input threshold quantizer gray value m,n:
E m,n=b ' m,n-u m,n(formula 14)
Step 2.7: described in step 2.1 to step 2.6, from angle point beginning, pending image upper left reason, by order left-to-right, from top to bottom, until pending image bottom right angle point terminates.
CN201310626170.6A 2013-11-28 2013-11-28 A kind of based on minimum colour developing error laser printer model green noise halftone algorithm Expired - Fee Related CN103618845B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310626170.6A CN103618845B (en) 2013-11-28 2013-11-28 A kind of based on minimum colour developing error laser printer model green noise halftone algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310626170.6A CN103618845B (en) 2013-11-28 2013-11-28 A kind of based on minimum colour developing error laser printer model green noise halftone algorithm

Publications (2)

Publication Number Publication Date
CN103618845A CN103618845A (en) 2014-03-05
CN103618845B true CN103618845B (en) 2015-09-16

Family

ID=50169548

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310626170.6A Expired - Fee Related CN103618845B (en) 2013-11-28 2013-11-28 A kind of based on minimum colour developing error laser printer model green noise halftone algorithm

Country Status (1)

Country Link
CN (1) CN103618845B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10362194B2 (en) 2015-02-27 2019-07-23 Hewlett-Packard Development Company, L.P. Recursive halftoning and gray value substitution
CN109493358A (en) * 2018-12-14 2019-03-19 中国船舶重工集团公司第七0七研究所 A kind of error feedback halftoning algorithm based on human vision model

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0442971B1 (en) * 1988-11-08 1995-09-13 Seecolor Corporation Method for digital halftoning
US5469267A (en) * 1994-04-08 1995-11-21 The University Of Rochester Halftone correction system
US6493112B1 (en) * 1998-01-16 2002-12-10 University Of Delaware Method and apparatus for producing halftone images using green-noise masks having adjustable coarseness
CN101600039B (en) * 2008-06-05 2011-10-05 佳世达科技股份有限公司 Method for converting halftone image, printing method and method for producing halftone shield

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0442971B1 (en) * 1988-11-08 1995-09-13 Seecolor Corporation Method for digital halftoning
US5469267A (en) * 1994-04-08 1995-11-21 The University Of Rochester Halftone correction system
US6493112B1 (en) * 1998-01-16 2002-12-10 University Of Delaware Method and apparatus for producing halftone images using green-noise masks having adjustable coarseness
CN101600039B (en) * 2008-06-05 2011-10-05 佳世达科技股份有限公司 Method for converting halftone image, printing method and method for producing halftone shield

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于打印机和视觉模型的阶调误差扩散算法的研究;周奕华,卢健,万晓霞,徐锦林;《武汉大学学报·信息科学版》;20060905;第31卷(第9期);全文 *
最优迟滞系数的自适应绿噪声半色调算法;易尧华,苏海;《武汉大学学报·信息科学版》;20120905;第37卷(第9期);全文 *

Also Published As

Publication number Publication date
CN103618845A (en) 2014-03-05

Similar Documents

Publication Publication Date Title
US8699103B2 (en) System and method for dynamically generated uniform color objects
US7898693B2 (en) Fast generation of dither matrix
CN102473293B (en) Image processing apparatus and image processing method
US8538199B2 (en) Digital image scaling with non integer scaling factors
JP4235837B2 (en) Graininess prediction, profile creation and printing device
CN105208244B (en) A kind of LCD soft proof method based on dot gain amendment
DE69817428T2 (en) Color image processing apparatus
CN102547062B (en) Image processing apparatus, image forming apparatus, and image processing method
CN101587589A (en) Inkjet printing quality fuzzy evaluation method
CN103618845B (en) A kind of based on minimum colour developing error laser printer model green noise halftone algorithm
CN108632487A (en) Image forming apparatus and calibration method
CN103716506B (en) Image processing apparatus and image processing method
CN101232555B (en) Image processing method, and image processing apparatus
US7433064B2 (en) Printing apparatus, printing method, image processing apparatus, image processing method, printing program, image processing program, and storage medium
US9052851B1 (en) Simulation of preprinted forms
JP4203189B2 (en) Color image processing device
US20090091809A1 (en) Image Processing Device, Method and Program Product
JP2007249802A (en) Image processor and image processing method
US8711435B2 (en) Method for correcting integrating cavity effect for calibration and/or characterization targets
JP2017060027A (en) Color patch creation device, image forming apparatus, and program
US20210227095A1 (en) Modeling a printed halftone image
JP6582787B2 (en) Image forming apparatus and program
CN110455219A (en) A kind of three-D imaging method based on error diffusion dither algorithm
Liu et al. A minimal Munsell value error based laser printer model
CN103595894B (en) Printer image halftoning output algorithm quality evaluating method

Legal Events

Date Code Title Description
PB01 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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150916

Termination date: 20191128

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