CN102158630B - Image-tone-based adaptive green-noise screening method - Google Patents

Image-tone-based adaptive green-noise screening method Download PDF

Info

Publication number
CN102158630B
CN102158630B CN201110143250A CN201110143250A CN102158630B CN 102158630 B CN102158630 B CN 102158630B CN 201110143250 A CN201110143250 A CN 201110143250A CN 201110143250 A CN201110143250 A CN 201110143250A CN 102158630 B CN102158630 B CN 102158630B
Authority
CN
China
Prior art keywords
pixel
error diffusion
diffusion filter
coefficient
value
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
CN201110143250A
Other languages
Chinese (zh)
Other versions
CN102158630A (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 CN201110143250A priority Critical patent/CN102158630B/en
Publication of CN102158630A publication Critical patent/CN102158630A/en
Application granted granted Critical
Publication of CN102158630B publication Critical patent/CN102158630B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The invention relates to an adaptive green-noise screening method, in particular to an image-tone-based adaptive green-noise screening method. In the method, a scanning direction of a scanned line is changed according to the parity of the scanned line, and two error diffusion filters consistent with human visual laws are designed. One of 0 and 1 is randomly generated by a computer to select a corresponding error diffusion filter. Finally, the calculation of optimal hysteresis coefficients on each grayscale tone is highlighted, and a corresponding optimal hysteresis coefficient is selected according to an image tone. Therefore, the method has the advantages of effectively solving the problem of visual nonuniformity of an ordinary green-noise screening algorithm to make halftone image dots uniformly scattered, and discreetly presenting image details to make an image output by equipment can greatly meet the requirements of actual printing digital proof in the level of visual effects and details.

Description

The green noise screening method of a kind of self adaptation based on the image contrast
Technical field
The present invention relates to the green noise screening method of a kind of self adaptation, especially relate to the green noise screening method of a kind of self adaptation based on the image contrast.
Background technology
The screening plate-making technology that relates generally to printer and high-grade plate making equipment is duplicated in the hard copy of image.Be used for the screening technology that the image hard copy duplicates and be called the digital picture halftone technique again.The digital halftone technology generally can be divided into two big types: am screening and fm screening.
Am screening is that the site is arranged in order equably, reflects the depth of contrast through the size that changes the site, is a kind of meshing method of putting gathering.But owing to be easy to produce optic interference during the stack of the am screening of different screen angles; Be said in the printing field " moire "; And am screening is easy to produce the saltus step of continuous accent level and loses in continuous level changes, and therefore in printing and high-grade printing process, generally do not adopt am screening.
Fm screening be with equirotal site with at random or the mode of approximate random arrange, reflect the depth of contrast through the density that changes site in the unit are, be the discrete meshing method of a kind of point.Screening is carried out in the less and equirotal site of fm screening usable floor area, and these little sites are because girth area ratio is big, so the some gain is apparent in view; And because the site is too small, no marking on some hardware, can occurs and bite, appearance point is lost.
To existing error diffusion at that time and existing these the two kinds of problems of other fm screening methods, document " Green-noise digital halftoning " (D L Lau, G R Arce, N C Gallagher. Proc IEEE, 1998; 86; 2424-2444) green noise screening algorithm is proposed first; It has combined the characteristics of amplitude modulation and high frequency halftone technique, the site is assembled producing bunch point, and according to gray scale; Change the size of bunch point and the distance between bunch point, thereby improved some gain effectively and put the problem of being brought of losing.In the processing of green noise screening algorithm, (m n) is sequentially handled the pixel g of original image line by line; In the process of handling; Each pixel is carried out threshold operation (quantizer Quantizer) with a threshold value T, the result of computing be converted into the respective pixel b of half tone image (m, n).With this pixel b (m as a result; N) and asked the pixel g of threshold value (m n) compares, and with the difference e (m that relatively tries to achieve; N) diffuse on the current processed pixels pixel that is not processed on every side with an error diffusion filter; When next processes pixel, the pixel value of being asked threshold value be original copy pixel g (m, n) be flooded to error on this pixel with; Meanwhile, with this as a result pixel b (m, n) with its around pixel value and sluggish coefficient h and difference e (m of having exported; N) multiply each other and carry out certain matrix operation; Obtain output value of feedback d, when next processes pixel, threshold value be original threshold value T with output value of feedback d with.Green noise Screening Image quality according to above-mentioned algorithm is realized through the reality test, obtains Fig. 2, and as can beappreciated from fig. 2 the site is comparatively obvious in high light and shadow part bunch point, presents tangible granular sensation, visually causes uneven sense for the people.Bunch point that simultaneously this several sites are formed can be lost some image details also seeming coarse aspect the performance high frequency details.Therefore find out that this green noise screening algorithm exists potential deficiency.
Summary of the invention
The present invention mainly is that solution existing in prior technology site is comparatively obvious in high light and shadow part bunch point, presents tangible granular sensation, visually causes uneven sense for the people.Bunch point that simultaneously this several sites are formed is also seeming coarse aspect the performance high frequency details, can lose the technical problem of some image details etc.; Provide that a kind of can to solve common green noise screening algorithm vision effectively inhomogeneous; The half tone image site is uniformly dispersed; And can show image detail fine and smoothly, make the image of equipment output on visual effect and level of detail, can greatly satisfy the requirement of actual print digital sample printing.
Above-mentioned technical problem of the present invention mainly is able to solve through following technical proposals:
The green noise screening method of a kind of self adaptation based on the image contrast is characterized in that, may further comprise the steps:
Step 1, with the pending pixel g of original image (m n) compares with threshold value T, process result convert into half tone image pixel value b (m, n); Read pending pixel g (m, the scanning direction in the time of n) is selected to carry out according to the parity of m: when m was odd number, the scanning direction was for from right to left; When m was even number, the scanning direction was for from left to right;
Step 2, with b (m, n) with g (m n) compares, try to achieve error amount e (m, n);
Step 3, through the error diffusion filter with e (m n) diffuses to around the current processed pixels on the untreated pixel, the pixel value that is promptly spread equal the original image pixel value with by the propagated error sum;
Step 4, according to current processed pixels g (m, n) and on every side the output valve of processed pixels and optimum sluggish coefficient h calculated threshold value of feedback d change threshold value T;
Step 5, repeating step 1 be to step 4, after all processes pixel are accomplished on original image, generates the half tone image of original image.
At the above-mentioned green noise screening method of a kind of self adaptation based on the image contrast, in the described step 1, just defining threshold value T is 0.5, back threshold value T=T+d;
At the above-mentioned green noise screening method of a kind of self adaptation based on the image contrast, in the described step 2, error amount e (m, concrete obtaining step n) is following:
e(m,n)=g(m,n)-b(m,n);
At the above-mentioned green noise screening method of a kind of self adaptation based on the image contrast; In the described step 3; Said error diffusion filter is two, is defined as error diffusion filter A1 and error diffusion filter A2, through producing in 0 or 1 liang of number at random; Select corresponding error diffusion filter execution in step 3, concrete diffusing step is following:
Step 4.1, when definition scanned from left to right, error diffusion filter A1 passed to the coefficient value A1 (0 of the error diffusion filter of current point right pixel; 1)=4/7, passes to the coefficient value A1 (1,0)=3/7 of the error diffusion filter of current point lower pixel; Pass to the coefficient value A1 (1 of the error diffusion filter of current point lower left corner pixel;-1)=0, passes to the coefficient value A1 (1,1)=0 of the error diffusion filter of current point lower right corner pixel; Error diffusion filter A2 passes to the coefficient value A1 (0 of the error diffusion filter of current point right pixel; 1)=2/5, passes to the coefficient value A1 (1,0)=3/5 of the error diffusion filter of current point lower pixel; Pass to the coefficient value A1 (1 of the error diffusion filter of current point lower left corner pixel;-1)=0, passes to the coefficient value A1 (1,1)=0 of the error diffusion filter of current point lower right corner pixel;
When scanning from right to left, error diffusion filter A1 passes to the coefficient value A1 (0,1)=4/7 of the error diffusion filter of current point left pixel; Pass to the coefficient value A1 (1 of the error diffusion filter of current point lower pixel; 0)=3/7, passes to the coefficient value A1 (1 ,-1)=0 of the error diffusion filter of current point lower left corner pixel; Pass to the coefficient value A1 (1,1)=0 of the error diffusion filter of current point lower right corner pixel; Error diffusion filter A2 passes to the coefficient value A1 (0 of the error diffusion filter of current point left pixel; 1)=2/5, passes to the coefficient value A1 (1,0)=3/5 of the error diffusion filter of current point lower pixel; Pass to the coefficient value A1 (1 of the error diffusion filter of current point lower left corner pixel;-1)=0, passes to the coefficient value A1 (1,1)=0 of the error diffusion filter of current point lower right corner pixel;
Step 4.2, different according to the odd even different scanning direction of line number, get (i, the image pixel of j) locating;
Step 4.3, calculate the error of input gray level with respect to output gray level: e (m, n)=g (m, n)-b (m, n);
Step 4.4; Use the error diffusion filter A1 or the error diffusion filter A2 of picked at random, (m n) multiply by the coefficient of diffusion filter respectively with error e; Then respectively with the original image pixel addition of relevant position, and the result replaced the corresponding pixel value of original image.
At the above-mentioned green noise screening method of a kind of self adaptation based on the image contrast, in the described step 4, current process points is with the concrete obtaining step of the output valve of process points is following on every side:
When scanning from left to right, read the output valve of upper right corner pixel of top pixel and the current process points of the top left corner pixel point of the left pixel point of current process points, current process points, current process points, current process points; When scanning from right to left, read the output valve of upper right corner pixel of top pixel and the current process points of the top left corner pixel point of the right pixel point of current process points, current process points, current process points, current process points;
According to the scanning direction to current process points with on every side process points totally five output valves store, for after threshold calculations do data and prepare.
At the above-mentioned green noise screening method of a kind of self adaptation based on the image contrast, in the described step 4, before the halftoning screening is handled, ask for the optimum sluggish coefficient h of each gray scale in advance, concrete obtaining step is following:
A) gray scale of generation 256 * 256 pixels is 0,10,20,30,40,50,60,70,
80,90,100,110,120,130,140,150,160,170,180,190,200,210,220,230,240,255 have 26 gray level images altogether;
B) sluggish coefficient from 0 to 1.0, changes 0.05 at every turn; The sluggish coefficient of choosing after the change is right
26 gray level images that step a generated have snake scan and the green noise screening processing of Select Error diffusion filter at random, and screening result and former figure are asked for mean square deviation; Wherein the mean square deviation formula is:
Figure 457688DEST_PATH_IMAGE001
;
(m is former gray-scale map in that ((m n) is gray value after screening is handled to y for m, the n) gray value of position n) to x in the formula;
C) in a gray scale, select the pairing sluggish coefficient of Minimum Mean Square Error, save as this
The optimum sluggish coefficient gray scale 0,10,20,30,40,50,60,70,80,90,100,110,120 of gray scale; 130,140,150,160,170,180,190,200,210,220,230,240,255 optimum sluggish coefficient is respectively: 1; 0.95,0.9,0.8,0.7,0.65,0.4,0.3,0.2,0.2,0.25,0.2,0.15,0.2; 0.1,0.15,0.1,0.5,0.15,0.2,0.3,0.55,0.6,0.75,0.9,1;
D) above-mentioned data are carried out the one-dimensional linear interpolation, calculate the optimum sluggish coefficient of each gray scale.
At the above-mentioned green noise screening method of a kind of self adaptation based on the image contrast; In the described step 4; Threshold feedback value d is through with current process points and the output valve of process points and optimum sluggish coefficient h, error e (m on every side; N) multiply each other, and do computing with transformation matrix and obtain, thereby calculate new threshold value: T=T+d; Wherein, said matrixing concrete operation method is:
1) transformation matrix
Figure 918756DEST_PATH_IMAGE002
when scanning from left to right, conversion when scanning from right to left
Matrix
Figure 286284DEST_PATH_IMAGE003
; If transformation matrix S i is capable; The number of j row be S (i-2, j-2);
2) d=h*(S(-1,-1)*b(m-1,n-1)+S(-1,0)*b(m-1,n)+S(-1,+1)*b(m-1,n
+ 1)+and S (0 ,-1) * b (m, n-1)+(m, n)+S (1,1) * b (m+1, n+1)), (i is current process points and the output valve of process points on every side j) to b to S (0,0) * b.
Therefore; The present invention has following advantage: it is inhomogeneous to solve common green noise screening algorithm vision effectively; The half tone image site is uniformly dispersed; And can show image detail fine and smoothly, make the image of equipment output on visual effect and level of detail, can greatly satisfy the requirement of actual print digital sample printing.
Description of drawings
Fig. 1 is the disclosed green noise screening algorithm principle sketch map of documents;
Fig. 2 is common green noise screening algorithm site gradual change sketch map;
Fig. 3 is the present invention increases line number on common green noise screening algorithm basis the different site gradual change sketch map of odd even different scanning direction;
Fig. 4 is an error diffusion filter schematic among the present invention;
Fig. 5 adds the green noise screening method of Select Error filter contrast gradual change sketch map at random;
Fig. 6 is based on the green noise screening method of the self adaptation contrast gradual change sketch map of image contrast.
Embodiment
Pass through embodiment below, and combine accompanying drawing, do further bright specifically technical scheme of the present invention.
Embodiment:
The green noise screening method of a kind of self adaptation based on the image contrast may further comprise the steps:
Step 1, (m n) compares with threshold value T, and just defining threshold value T is 0.5, back threshold value T=T+d with the pending pixel g of original image; Process result convert into half tone image pixel value b (m, n); Read pending pixel g (m, the scanning direction in the time of n) is selected to carry out according to the parity of m: when m was odd number, the scanning direction was for from right to left; When m was even number, the scanning direction was for from left to right;
Step 2, with b (m, n) with g (m n) compares, try to achieve error amount e (m, n); Error amount e (m, n)=g (m, n)-b (m, n);
Step 3, through the error diffusion filter with e (m n) diffuses to around the current processed pixels on the untreated pixel, the pixel value that is promptly spread equal the original image pixel value with by the propagated error sum; Therefore green noise screening algorithm has the characteristic of certain am screening owing to produced a bunch point, can be at certain several gray scale occurrence law property striped.These regular stripeds have not only had a strong impact on the half tone image visual effect of green noise screening, and when polychrome is superimposed, also possibly produce moire, shown in accompanying drawing 3.In order to address this problem, we have designed two error diffusion filters that meet the human vision rule.Produce in 0 or 1 liang of number through computer random, select corresponding error diffusion filter, make the position, site become more even, more at random, shown in accompanying drawing 5.Definition error diffusion filter A1 and error diffusion filter A2 select corresponding error diffusion filter execution in step 3, and concrete diffusing step is following:
Step 4.1, when definition scanned from left to right, error diffusion filter A1 passed to the coefficient value A1 (0 of the error diffusion filter of current point right pixel; 1)=4/7, passes to the coefficient value A1 (1,0)=3/7 of the error diffusion filter of current point lower pixel; Pass to the coefficient value A1 (1 of the error diffusion filter of current point lower left corner pixel;-1)=0, passes to the coefficient value A1 (1,1)=0 of the error diffusion filter of current point lower right corner pixel; Error diffusion filter A2 passes to the coefficient value A1 (0 of the error diffusion filter of current point right pixel; 1)=2/5, passes to the coefficient value A1 (1,0)=3/5 of the error diffusion filter of current point lower pixel; Pass to the coefficient value A1 (1 of the error diffusion filter of current point lower left corner pixel;-1)=0, passes to the coefficient value A1 (1,1)=0 of the error diffusion filter of current point lower right corner pixel;
When scanning from right to left, error diffusion filter A1 passes to the coefficient value A1 (0,1)=4/7 of the error diffusion filter of current point left pixel; Pass to the coefficient value A1 (1 of the error diffusion filter of current point lower pixel; 0)=3/7, passes to the coefficient value A1 (1 ,-1)=0 of the error diffusion filter of current point lower left corner pixel; Pass to the coefficient value A1 (1,1)=0 of the error diffusion filter of current point lower right corner pixel; Error diffusion filter A2 passes to the coefficient value A1 (0 of the error diffusion filter of current point left pixel; 1)=2/5, passes to the coefficient value A1 (1,0)=3/5 of the error diffusion filter of current point lower pixel; Pass to the coefficient value A1 (1 of the error diffusion filter of current point lower left corner pixel;-1)=0, passes to the coefficient value A1 (1,1)=0 of the error diffusion filter of current point lower right corner pixel;
Step 4.2, different according to the odd even different scanning direction of line number, get (i, the image pixel of j) locating;
Step 4.3, calculate the error of input gray level with respect to output gray level: e (m, n)=g (m, n)-b (m, n);
Step 4.4; Use the error diffusion filter A1 or the error diffusion filter A2 of picked at random, (m n) multiply by the coefficient of diffusion filter respectively with error e; Then respectively with the original image pixel addition of relevant position, and the result replaced the corresponding pixel value of original image; Current process points is with the concrete obtaining step of the output valve of process points is following on every side:
When scanning from left to right, read the output valve of upper right corner pixel of top pixel and the current process points of the top left corner pixel point of the left pixel point of current process points, current process points, current process points, current process points; When scanning from right to left, read the output valve of upper right corner pixel of top pixel and the current process points of the top left corner pixel point of the right pixel point of current process points, current process points, current process points, current process points;
According to the scanning direction to current process points with on every side process points totally five output valves store, for after threshold calculations do data and prepare.
Above-mentioned steps 4.4 programs are following:
Begin=0;
nEnd=m-1;
nStep=1;
For(i=0;i<n;i++)
{
For(j=nBegin;j!=nEnd+nStep;x+=nStep)
{ the odd even different scanning direction according to line number is different
Get (i, the image pixel of j) locating: p=N Ij;
if(p>T)
B ij=255;
else
B ij=0;
Calculate the error of input gray level with respect to output gray level: Err=N Ij-B Ij;
if(rand()%2)
Use error diffusion filter A1 multiply by the coefficient of the diffusion filter among Fig. 4 respectively with error E rr, and then respectively with the original image pixel addition of relevant position, and the result replaced the corresponding pixel value of original image.}
else
Use error diffusion filter A2 multiply by the coefficient of the diffusion filter among Fig. 4 respectively with error E rr, and then respectively with the original image pixel addition of relevant position, and the result replaced the corresponding pixel value of original image.}
With current process points with on every side the output valve of process points and sluggish coefficient h=0.5, error E rr multiply each other, and do certain matrixing, calculate and export feedback threshold d, calculate new threshold value: T=T+d;
}
nStep=-nStep;
nTemp=nBegin;
nBegin=nEnd;
nEnd=nTemp;
}
Step 4, according to current processed pixels g (m, n) and on every side the output valve of processed pixels and optimum sluggish coefficient h calculated threshold value of feedback d change threshold value T; Before the halftoning screening is handled, ask for the optimum sluggish coefficient h of each gray scale in advance, concrete obtaining step is following:
A) gray scale of generation 256 * 256 pixels is 0,10,20,30,40,50,60,70,
80,90,100,110,120,130,140,150,160,170,180,190,200,210,220,230,240,255 have 26 gray level images altogether;
B) sluggish coefficient from 0 to 1.0, changes 0.05 at every turn; The sluggish coefficient of choosing after the change is right
26 gray level images that step a generated have snake scan and the green noise screening processing of Select Error diffusion filter at random, and screening result and former figure are asked for mean square deviation; Wherein the mean square deviation formula is:
Figure 527909DEST_PATH_IMAGE001
;
(m is former gray-scale map in that ((m n) is gray value after screening is handled to y for m, the n) gray value of position n) to x in the formula;
C) in a gray scale, select the pairing sluggish coefficient of Minimum Mean Square Error, save as this
The optimum sluggish coefficient gray scale 0,10,20,30,40,50,60,70,80,90,100,110,120 of gray scale; 130,140,150,160,170,180,190,200,210,220,230,240,255 optimum sluggish coefficient is respectively: 1; 0.95,0.9,0.8,0.7,0.65,0.4,0.3,0.2,0.2,0.25,0.2,0.15,0.2; 0.1,0.15,0.1,0.5,0.15,0.2,0.3,0.55,0.6,0.75,0.9,1;
D) above-mentioned data are carried out the one-dimensional linear interpolation, calculate the optimum sluggish coefficient of each gray scale.
Then, threshold feedback value d through with current process points with on every side the output valve of process points and optimum sluggish coefficient h, error e (m n) multiplies each other, and does computing with transformation matrix and obtain, thereby calculates new threshold value: T=T+d; Wherein, said matrixing concrete operation method is:
1) transformation matrix when scanning from left to right, conversion when scanning from right to left
Matrix ; If transformation matrix S i is capable; The number of j row be S (i-2, j-2);
2)d=h*(S(-1,-1)*b(m-1,n-1)+S(-1,0)*b(m-1,n)+S(-1,+1)*b(m-1,n
+ 1)+and S (0 ,-1) * b (m, n-1)+(m, n)+S (1,1) * b (m+1, n+1)), (i is current process points and the output valve of process points on every side j) to b to S (0,0) * b.
Step 5, repeating step 1 be to step 4, after all processes pixel are accomplished on original image, generates the half tone image of original image.
Specific embodiment described herein only is that the present invention's spirit is illustrated.Person of ordinary skill in the field of the present invention can make various modifications or replenishes or adopt similar mode to substitute described specific embodiment, but can't depart from spirit of the present invention or surmount the defined scope of appended claims.

Claims (5)

1. the green noise screening method of the self adaptation based on the image contrast is characterized in that, may further comprise the steps:
Step 1, with the pending pixel g of original image (m n) compares with threshold value T, process result convert into half tone image pixel value b (m, n); Read pending pixel g (m, the scanning direction in the time of n) is selected to carry out according to the parity of m: when m was odd number, the scanning direction was for from right to left; When m was even number, the scanning direction was for from left to right;
Step 2, with b (m, n) with g (m n) compares, try to achieve error amount e (m, n);
Step 3, through the error diffusion filter with e (m n) diffuses to around the current processed pixels on the untreated pixel, the pixel value that is promptly spread equal the original image pixel value with by the propagated error sum;
Step 4, according to current processed pixels g (m, n) and on every side the output valve of processed pixels and optimum sluggish coefficient h calculated threshold value of feedback d change threshold value T;
Before the halftoning screening is handled, ask for the optimum sluggish coefficient h of each gray scale in advance, concrete obtaining step is following:
A) gray scale of generation 256 * 256 pixels is 0,10,20,30, and 40,50,60,70,80,90,100,110,120,130,140,150,160,170,180,190,200,210,220,230,240,255 have 26 gray level images altogether;
B) sluggish coefficient from 0 to 1.0, changes 0.05 at every turn; Choose 26 gray level images that the sluggish coefficient after the change generated step a have snake scan and at random the green noise screening of Select Error diffusion filter handle, screening result and former figure are asked for mean square deviation; Wherein the mean square deviation formula is:
TSE = &Sigma; m = 0 m = 255 &Sigma; n = 0 n = 255 ( x ( m , n ) - y ( m , n ) ) 2 256 2 ;
(m is former gray-scale map in that ((m n) is gray value after screening is handled to y for m, the n) gray value of position n) to x in the formula;
C) in a gray scale, select the pairing sluggish coefficient of Minimum Mean Square Error, save as the optimum sluggish coefficient gray scale 0,10,20,30,40,50,60,70,80 of this gray scale; 90,100,110,120,130,140,150,160,170,180,190; 200,210,220,230,240,255 optimum sluggish coefficient is respectively: 1,0.95,0.9,0.8,0.7,0.65; 0.4,0.3,0.2,0.2,0.25,0.2,0.15,0.2,0.1,0.15; 0.1,0.5,0.15,0.2,0.3,0.55,0.6,0.75,0.9,1;
D) above-mentioned data are carried out the one-dimensional linear interpolation, calculate the optimum sluggish coefficient of each gray scale;
Threshold feedback value d through with current process points with on every side the output valve of process points and optimum sluggish coefficient h, error e (m n) multiplies each other, and does computing with transformation matrix and obtain, thereby calculates new threshold value: T=T+d; Wherein, said matrixing concrete operation method is:
1) transformation matrix when scanning from left to right S = 0 0.6 0 0.4 0 0 , Transformation matrix when scanning from right to left S = 0 0.6 0 0 0 0.4 , If transformation matrix S i is capable, the number of j row be S (i-2, j-2);
2) d=h* (S (1 ,-1) * b (and m-1, n-1)+S (1,0) * b (m-1, n)+S (1 ,+1) * b (m-1, n+1)+S (0 ,-1) * b (m, n-1)+S (0,0) * b (m, n)+S (1,1) * b (m+1, n+1)), (i is current process points and the output valve of process points on every side j) to b;
Step 5, repeating step 1 be to step 4, after all processes pixel are accomplished on original image, generates the half tone image of original image.
2. the green noise screening method of a kind of self adaptation based on the image contrast according to claim 1 is characterized in that, in the described step 1, just defining threshold value T is 0.5, back threshold value T=T+d.
3. the green noise screening method of a kind of self adaptation based on the image contrast according to claim 1 is characterized in that, in the described step 2, error amount e (m, concrete obtaining step n) is following: e (m, n)=g (m, n)-b (m, n).
4. the green noise screening method of a kind of self adaptation according to claim 1 based on the image contrast; It is characterized in that in the described step 3, said error diffusion filter is two; Be defined as error diffusion filter A1 and error diffusion filter A2; Through producing in 0 or 1 liang of number at random, select corresponding error diffusion filter execution in step 3, concrete diffusing step is following:
Step 4.1, when definition scanned from left to right, error diffusion filter A1 passed to the coefficient value A1 (0 of the error diffusion filter of current point right pixel; 1)=4/7, passes to the coefficient value A1 (1,0)=3/7 of the error diffusion filter of current point lower pixel; Pass to the coefficient value A1 (1 of the error diffusion filter of current point lower left corner pixel;-1)=0, passes to the coefficient value A1 (1,1)=0 of the error diffusion filter of current point lower right corner pixel; Error diffusion filter A2 passes to the coefficient value A1 (0 of the error diffusion filter of current point right pixel; 1)=2/5, passes to the coefficient value A1 (1,0)=3/5 of the error diffusion filter of current point lower pixel; Pass to the coefficient value A1 (1 of the error diffusion filter of current point lower left corner pixel;-1)=0, passes to the coefficient value A1 (1,1)=0 of the error diffusion filter of current point lower right corner pixel;
When scanning from right to left, error diffusion filter A1 passes to the coefficient value A1 (0,1)=4/7 of the error diffusion filter of current point left pixel; Pass to the coefficient value A1 (1 of the error diffusion filter of current point lower pixel; 0)=3/7, passes to the coefficient value A1 (1 ,-1)=0 of the error diffusion filter of current point lower left corner pixel; Pass to the coefficient value A1 (1,1)=0 of the error diffusion filter of current point lower right corner pixel; Error diffusion filter A2 passes to the coefficient value A1 (0 of the error diffusion filter of current point left pixel; 1)=2/5, passes to the coefficient value A1 (1,0)=3/5 of the error diffusion filter of current point lower pixel; Pass to the coefficient value A1 (1 of the error diffusion filter of current point lower left corner pixel;-1)=0, passes to the coefficient value A1 (1,1)=0 of the error diffusion filter of current point lower right corner pixel;
Step 4.2, different according to the odd even different scanning direction of line number, get (i, the image pixel of j) locating;
Step 4.3, calculate the error of input gray level with respect to output gray level: e (m, n)=g (m, n)-b (m, n);
Step 4.4; Use the error diffusion filter A1 or the error diffusion filter A2 of picked at random, (m n) multiply by the coefficient of diffusion filter respectively with error e; Then respectively with the original image pixel addition of relevant position, and the result replaced the corresponding pixel value of original image.
5. the green noise screening method of a kind of self adaptation based on the image contrast according to claim 1 is characterized in that, in the described step 4, current process points is with the concrete obtaining step of the output valve of process points is following on every side:
When scanning from left to right, read the output valve of upper right corner pixel of top pixel and the current process points of the top left corner pixel point of the left pixel point of current process points, current process points, current process points, current process points; When scanning from right to left, read the output valve of upper right corner pixel of top pixel and the current process points of the top left corner pixel point of the right pixel point of current process points, current process points, current process points, current process points;
According to the scanning direction to current process points with on every side process points totally five output valves store, for after threshold calculations do data and prepare.
CN201110143250A 2011-05-31 2011-05-31 Image-tone-based adaptive green-noise screening method Expired - Fee Related CN102158630B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110143250A CN102158630B (en) 2011-05-31 2011-05-31 Image-tone-based adaptive green-noise screening method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110143250A CN102158630B (en) 2011-05-31 2011-05-31 Image-tone-based adaptive green-noise screening method

Publications (2)

Publication Number Publication Date
CN102158630A CN102158630A (en) 2011-08-17
CN102158630B true CN102158630B (en) 2012-10-10

Family

ID=44439791

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110143250A Expired - Fee Related CN102158630B (en) 2011-05-31 2011-05-31 Image-tone-based adaptive green-noise screening method

Country Status (1)

Country Link
CN (1) CN102158630B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103400355B (en) * 2013-08-19 2016-04-13 武汉大学 A kind of method realizing the feature extraction of shaftless printing net-point edge roughness
CN109271761B (en) * 2018-09-29 2021-07-13 南京林业大学 Document anti-counterfeiting generation and identification method based on green noise characteristics
CN113542710B (en) * 2021-09-15 2022-02-22 广州匠芯创科技有限公司 Image processing method, system and medium based on error diffusion Dither algorithm

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101489023A (en) * 2009-01-22 2009-07-22 旭丽电子(广州)有限公司 Green noise error diffusion method based on tone dependency and related printing apparatus
US20100245927A1 (en) * 2009-03-30 2010-09-30 Wen-Chian Wong Tone dependent green-noise error diffusion method and printing device thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001082892A (en) * 1999-09-14 2001-03-30 Calsonic Kansei Corp Packing sticking apparatus for heat exchanger

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101489023A (en) * 2009-01-22 2009-07-22 旭丽电子(广州)有限公司 Green noise error diffusion method based on tone dependency and related printing apparatus
US20100245927A1 (en) * 2009-03-30 2010-09-30 Wen-Chian Wong Tone dependent green-noise error diffusion method and printing device thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JP特开2001-82892A 2011.04.21

Also Published As

Publication number Publication date
CN102158630A (en) 2011-08-17

Similar Documents

Publication Publication Date Title
JP4480782B2 (en) Method for Frequency Modulation Screen Using Error Feedback Based on Dual Feedback
US20090109490A1 (en) Method of producing improved lenticular images
CN1352855A (en) Narrow band, anisotropic stochastic halftone patterns and methods for creating and using the same
US6335989B1 (en) Halftone printing using donut filters
US20050195438A1 (en) Multi-level halftoning providing improved texture uniformity
CN102158630B (en) Image-tone-based adaptive green-noise screening method
US20020071140A1 (en) Threshold matrix, and method and apparatus of reproducing gray levels using threshold matrix
CN101600039B (en) Method for converting halftone image, printing method and method for producing halftone shield
US8035860B2 (en) Method for processing FM-AM mixed halftone images on a multi-bit depth imaging apparatus
WO2007048290A1 (en) Controlling method of lattice point and lattice point shape of mixed fm/am on multiple-bit imaging deep apparatus
JP3762800B2 (en) How to create a mesh screen
US9167130B2 (en) AM-FM halftone screen design
Evans et al. Variations on error diffusion: Retrospectives and future trends
US8289577B2 (en) Method for halftone image transformation, printing and halftone mask generation
Guo et al. Tone-replacement error diffusion for multitoning
JP3917634B2 (en) How to create a mesh screen
Wu et al. Supercell dither masks with constrained blue noise interpolation
Guo et al. H-BTC database: a brief review on halftone based block truncation coding (H-BTC) images
Zhuge et al. Halftoning via Error Diffusion using Circular Dot-overlap Model
Pedersen et al. Detection of worms in error diffusion halftoning
JP5429015B2 (en) Image processing apparatus and image processing method
KANAMATSU et al. Research Using a Hybrid Screening Process with a Chessboard Pattern
JP4965378B2 (en) Image forming method and image forming system
Monga et al. Image halftoning by error diffusion: A survey of methods for artifact reduction
Wong Feature-preserving multilevel halftoning based on threshold decomposition

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20121010

Termination date: 20200531

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