CN107580158B - Image color edge minimizing technology and device - Google Patents

Image color edge minimizing technology and device Download PDF

Info

Publication number
CN107580158B
CN107580158B CN201710967221.XA CN201710967221A CN107580158B CN 107580158 B CN107580158 B CN 107580158B CN 201710967221 A CN201710967221 A CN 201710967221A CN 107580158 B CN107580158 B CN 107580158B
Authority
CN
China
Prior art keywords
color
colors
displacement
scan line
kinds
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710967221.XA
Other languages
Chinese (zh)
Other versions
CN107580158A (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.)
Zhuhai Pantum Electronics Co Ltd
Original Assignee
Zhuhai Pantum Electronics Co Ltd
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 Zhuhai Pantum Electronics Co Ltd filed Critical Zhuhai Pantum Electronics Co Ltd
Priority to CN201710967221.XA priority Critical patent/CN107580158B/en
Publication of CN107580158A publication Critical patent/CN107580158A/en
Application granted granted Critical
Publication of CN107580158B publication Critical patent/CN107580158B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Analysis (AREA)
  • Image Input (AREA)

Abstract

The present invention provides a kind of image color edge minimizing technology and device, is obtained by scanning test image;Base colors are determined in test image, using the scan line where base colors as benchmark line;According to reference line, the displacement between non-referenced color and base colors is determined;According to determining displacement, adjustment of displacement is carried out to the scan line of non-referenced color, so that the base colors after adjustment of displacement overlap each other with the scan line where non-referenced color, obtains the scan image of removal colour edging.To realize accurately identifying and correcting to the color disorder of colour edging, achievees the effect that scan text or line edge are clear, really restores former scanning manuscript.

Description

Image color edge minimizing technology and device
Technical field
The present invention relates to definition technique more particularly to a kind of image color edge minimizing technologies and device.
Background technique
Contact-sensing device CIS (Contact Image Sensor, referred to as " CIS ") is a kind of electrooptical device, It is by the integration module of the one-piece structure of light-source system and photosensitive system, using built-in LED LED lighting, directly Contact carries out optical scanner on original copy surface, to original copy, reads image data.
Fig. 1 show the setting schematic diagram of the CIS in existing image-scanning device, and CIS is usually in controller to one After enabling signal, scanning motor starting CIS starts to right shown in FIG. 1 movement, to obtain the image data on original text platform. In scanning-mode it, CIS carries out scanning line by line to document, scanning direction as shown in Fig. 2, on document from left to right, from The pixel value of R (red) G (green) B (indigo plant) three kinds of colors of the acquisition image data under.
But motor, during starting line by line drives CIS mobile, controller also starts simultaneously at recording image data, However, the lighting operation time of the R/G/B diode illumination in CIS is difficult to synchronize, R/G/B scanning is caused to record R/ with controller It is difficult to synchronize at the time of G/B data, always there is delay, apparent colored side occur in the text or lines for causing scanning to obtain Edge causes colour edging phenomenon as shown in Figure 3, wherein the part A in Fig. 3 shows the scanning effect there are colour edging Scheme, the part B in Fig. 3 shows the clearly scanning effect picture there is no colour edging.
Summary of the invention
The present invention provides a kind of image color edge minimizing technology and device, to solve the figure scanned in the prior art There is technical issues that as in.
One aspect of the invention provides a kind of image color edge minimizing technology, comprising:
Scanning obtains test image;
Base colors are determined in the test image, using the scan line where the base colors as benchmark line;
According to the reference line, the displacement between non-referenced color and the base colors is determined;
According to determining displacement, adjustment of displacement is carried out to the scan line of the non-referenced color, so that the displacement is adjusted Base colors after whole overlap each other with the scan line where non-referenced color, obtain the scan image of removal colour edging.
Optionally, the base colors be three kinds of colors of red, green, blue in any one or it is two kinds any;It is described In the test image before determining base colors, further includes:
Red, green, blue color separated is carried out to the test image, respectively obtains the red scanning for constituting the test image First separate picture of line, constitute the test image green scan line the second separate picture and constitute the test image Blue scan line third separate picture;
It is described to determine that base colors include: in the test image
According to first separate picture, second separate picture and the third separate picture, red, green, blue is determined Whether there is offset each other between three kinds of colors, if so, arbitrarily select a kind of color as base colors, then other two kinds Color is non-referenced color;If there are the overlappings of two kinds of colors between three kinds of colors of red, green, blue, with two kinds of colors of overlapping As base colors, then a kind of other colors are non-referenced color, or using the color of non-overlap as base colors, then other Two kinds of colors of overlapping are as non-referenced color.
Optionally, the scan line using where the base colors is benchmark line, comprising:
A target scanning lines are selected in the separate picture comprising the reference line, using the target scanning lines as institute State reference line, wherein include object content in the target scanning lines.
Optionally, described that displacement between non-referenced color and the base colors is determined according to the reference line, packet It includes:
The purpose scan line where the object content is determined in the separate picture comprising the non-referenced color, is determined Displacement between the purpose scan line and the reference line.
Optionally, the scanning acquisition test image includes:
The image that a width includes muted color text or muted color lines is scanned, the test image is obtained.
Another aspect of the invention provides a kind of image color edge removal device, comprising:
Scan module obtains test image for scanning;
Displacement detection module, for determining base colors in the test image, where the base colors Scan line is benchmark line;According to the reference line, the displacement between non-referenced color and the base colors is determined;
Module is adjusted, for carrying out adjustment of displacement to the scan line of the non-referenced color according to determining displacement, with Base colors after making the adjustment of displacement overlap each other with the scan line where non-referenced color, obtain removal colour edging Scan image.
Optionally, the base colors be three kinds of colors of red, green, blue in any one or it is two kinds any;Institute's rheme Shifting amount detection module includes:
Submodule is separated, for carrying out red, green, blue color separated to the test image, respectively obtains and constitutes the survey Attempt the first separate picture of the red scan line of picture, the green scan line for constituting the test image the second separate picture and Constitute the third separate picture of the blue scan line of the test image;
It determines submodule, schemes for being separated according to first separate picture, second separate picture and the third Picture determines between three kinds of colors of red, green, blue there is offset whether each other, if so, arbitrarily selecting a kind of color as benchmark Color, then other two kinds of colors are non-referenced color;If there are the overlapping of two kinds of colors between three kinds of colors of red, green, blue, with Two kinds of colors of overlapping are as base colors, then a kind of other colors are non-referenced color, or using the color of non-overlap as Base colors, then two kinds of colors of other overlappings are as non-referenced color.
Optionally, the displacement detection module, further includes:
Submodule is selected, for selecting a target scanning lines in the separate picture comprising the reference line, with described Target scanning lines are as the reference line, wherein include object content in the target scanning lines.
Optionally, the determining submodule is also used in the separate picture comprising the non-referenced color described in determination Purpose scan line where object content determines the displacement between the purpose scan line and the reference line.
Optionally, the scan module includes muted color text or muted color lines specifically for one width of scanning Image obtains the test image.
As shown from the above technical solution, image color edge provided by the invention minimizing technology and device are obtained by scanning Take test image;Base colors are determined in test image, using the scan line where base colors as benchmark line;According to benchmark Line determines the displacement between non-referenced color and base colors;According to determining displacement, to the scan line of non-referenced color Adjustment of displacement is carried out to be gone so that the base colors after adjustment of displacement overlap each other with the scan line where non-referenced color Except the scan image of colour edging.To realize accurately identifying and correcting to the color disorder of colour edging, reach scanning text The effect of word or clear, the true former scanning manuscript of reduction of line edge.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the schematic diagram of existing image-scanning device;
Fig. 2 is scanning direction schematic diagram;
Fig. 3 is the scanning effect picture there are colour edging;
Fig. 4 is the flow chart of the image color edge minimizing technology shown in an exemplary embodiment of the invention;
Fig. 5 is the flow chart of the image color edge minimizing technology shown in another exemplary embodiment of the present invention;
Fig. 6 a is datagram before the RGB triple channel of embodiment illustrated in fig. 5 is displaced;
Fig. 6 b is the R channel data schematic diagram of embodiment illustrated in fig. 5;
Fig. 6 c is the G channel data schematic diagram of embodiment illustrated in fig. 5;
Fig. 6 d is the channel B schematic diagram data of embodiment illustrated in fig. 5;
Fig. 6 e is datagram after the RGB triple channel of embodiment illustrated in fig. 5 is displaced;
Fig. 7 is the structural schematic diagram of the image color edge removal device shown in an exemplary embodiment of the invention;
Fig. 8 is the structural schematic diagram of the image color edge removal device shown in another exemplary embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Fig. 4 is the flow chart of the image color edge minimizing technology shown in an exemplary embodiment of the invention, such as Fig. 4 institute Show, the present embodiment provides a kind of image color edge minimizing technologies, comprising:
Step 401, scanning obtain test image.
In this step, operation is scanned to any document using image forming apparatus, wherein the application of the present embodiment Scene includes but is not limited to scanner, printer, duplicator, facsimile machine, all-in-one multifunctional machine etc., only with band in following embodiment There is the scanning means of CIS to be illustrated.There are problems that colour edging for the scan image proposed in background technique, leads to For often, a kind of solution being readily apparent that exactly is solved the above problems by solving the accuracy of motor drive signal, But implement relatively difficult, but also difference can occur with every scanning means assembling process, there are also be exactly even if right The scanning means being completed has carried out the accuracy adjustment of motor drive signal, carries out it between controller tracer signal It is synchronous, but with the use of motor, the aging of equipment, it is asked it is also possible that occurring colour edging that is asynchronous and being formed again Topic, therefore, the present embodiment are exactly to be balanced out by a kind of simply and easily mode only by pre-processing to scan data It is asynchronous between motor drive signal and image data, realize the colour edging of removal scan image.It is above-mentioned to realize It is synchronous, it is necessary first to determine asynchronous measures of dispersion, then be scanned first by carrying out prescan to a test image Test image afterwards.It is accurate and quick in order to be carried out to colour edging due to that can have colour edging in test image Identification, test image generally can wrap text or lines containing pure color, for example, the text of white background black mole.Simultaneously as image Data are usually all to be scanned by tri- color of RGB and formed, and therefore, are misplaced and shape between tri- color of R, G, B in order to clearly pick out At colour edging, test image do not use as far as possible pure red, pure green or pure blue text or lines constitute.
Step 402 determines base colors in test image, using the scan line where base colors as benchmark line.
In this step, the colour edging in the presence of the test image after scanning, can be by naked eyes or software to this The color offset amount of colour edging is identified, specifically, there are colour edgings if observation obtains in test image, is illustrated The lighting operation time of R/G/B diode illumination in CIS is there are asynchronous, at this point it is possible to select a line in test image Scanning line, a kind of color or multiple color for constituting the horizontal scanning line item are exactly base colors, using the horizontal scanning line item as Reference line.
Step 403, according to reference line, determine the displacement between non-referenced color and base colors.
In this step, the color for constituting reference line is benchmark color, then the color for not including in reference line is with regard to right and wrong Base colors determine the displacement between the reference line where the lines and base colors where non-referenced color, the displacement Minimum unit be a scanning line spacing.
Step 404 adjusts the scan line progress adjustment of displacement of non-referenced color so as to be displaced according to determining displacement Base colors after whole overlap each other with the scan line where non-referenced color, obtain the scan image of removal colour edging.
In this step, according to determining displacement, adjustment of displacement is carried out to the scan line of non-referenced color, so that CIS In R/G/B diode illumination lighting operation time it is synchronous, that is to say, that all include in every scan line after adjustment of displacement The overlay informations of base colors and non-referenced color, form as shown in part B in Fig. 3 clearly, eliminate colored side The scan image of edge.
Image color edge provided in this embodiment minimizing technology, is obtained by scanning test image;In test image Base colors are determined, using the scan line where base colors as benchmark line;According to reference line, non-referenced color and benchmark face are determined Displacement between color;According to determining displacement, adjustment of displacement is carried out to the scan line of non-referenced color, so that adjustment of displacement Base colors afterwards overlap each other with the scan line where non-referenced color, obtain the scan image of removal colour edging.To It realizes accurately identifying and correcting to the color disorder of colour edging, reaches scan text or line edge and clearly, really restore The effect of original scanning manuscript.
Fig. 5 is the flow chart of the image color edge minimizing technology shown in another exemplary embodiment of the present invention, such as Fig. 5 institute Show, based on the above embodiment, the present embodiment provides a kind of image color edge minimizing technologies, comprising:
Step 501, scanning obtain test image.
In this step, test image can be a width and contain the image of muted color text or muted color lines, lead to The image that the width includes muted color text or muted color lines is over-scanned, obtains test image, wherein muted color is also known as Netrual colour system refers to and is not belonging to cool tone by black, white and the grey color system different by the various depths of black and white reconciliation, muted color Also it is not belonging to warm tones.Black-white-gray is commonly used three big muted colors.Compared to muted color, colour edging is due in CIS The asynchronous formation of lighting operation time of R/G/B diode illumination, therefore, when nonsynchronous red or green or blue When being imaged in the test image being made of muted color, identification is higher, improves the subsequent position to the dislocation of R/G/B each interchannel The accurate judgement of shifting amount.
Step 502, base colors be three kinds of colors of red, green, blue in any one or it is two kinds any;To test image Red, green, blue color separated is carried out, the first separate picture of the red scan line for constituting test image is respectively obtained, constitutes test Second separate picture of the green scan line of image and the blue scan line third separate picture for constituting test image.
In this step, for the imaging device being made of R/G/B triple channel, all colors are all by the three primary colors It is formed, therefore, base colors can be to be made of one or both of R/G/B.No matter base colors are by one in R/G/B Kind or two kinds of compositions, all illustrating it, there are the asynchronous problems of tri- color of R/G/B, therefore, can be by carrying out to test image The color separated of R/G/B triple channel, clearly to identify the displacement of three kinds of color misalignments.As shown in Fig. 6 a~Fig. 6 d, wherein Fig. 6 a is the test image that the preceding scanning of displacement processing is got;Fig. 6 b~Fig. 6 d is respectively tri- channels R/G/B before displacement processing Respective color-separated figure, i.e. 6b are the first separate picture for constituting the red scan line of test image, and 6c is to constitute test chart Second separate picture of the green scan line of picture, 6d are the third separate picture for constituting the blue scan line of test image.
Step 503, according to the first separate picture, the second separate picture and third separate picture, determine three kinds of red, green, blue Whether there is offset each other between color;If so, arbitrarily select a kind of color as base colors, then other two kinds of colors For non-referenced color;If there are the overlapping of two kinds of colors between three kinds of colors of red, green, blue, using two kinds of colors of overlapping as Base colors, then a kind of other colors are non-referenced color or using the color of non-overlap as base colors, then other overlappings Two kinds of colors as non-referenced color.
In this step, refer to R/G/B triple channel each other in the presence of offset each other between three kinds of colors of so-called red, green, blue Between do not have it is both any be it is synchronous, under such scene, can arbitrarily select a kind of color as base in R/G/B triple channel Scan line where the base colors is preset as reference line by quasi- color, in such a scenario, other two kinds of colors be required to This reference line is reference, and mobile corresponding displacement realizes that the synchronization of R/G/B triple channel then in this case needs two kinds of colors Mobile realization R/G/B triple channel synchronization;It is that there are the synchronizations of two kinds of colors in triple channel there are also a kind of situation, then it can be with To synchronize scan line of overlap two kinds of colors as base colors, where the base colors which is formed It is preset as reference line, at this time, it is only necessary to which the color for not synchronizing another kind is using this reference line as reference, mobile corresponding position It moves, realizes that the synchronization of R/G/B triple channel then in this case needs a kind of the same of the mobile realization R/G/B triple channel of color Step, or can also be using the color of non-overlap as base colors, then other two kinds of colors being overlapped are as non-referenced color, this In the case of kind, while it is desirable to the movement of two kinds of colors, but two kinds of colors to overlap are synchronous relative to base colors Move identical displacement.That is, presetting three kinds of offset sides to the scene of the imaging of R/G/B triple channel in this present embodiment Formula, one is colors a kind of in R/G/B to need to move, and another kind is the lines synchronizing moving of two kinds of overlapping colors in R/G/B, then One is the lines of two kinds of colors in RG/RB/GB to need to move.
Step 504 selects a target scanning lines in the separate picture comprising reference line, using target scanning lines as base Directrix, wherein include object content in target scanning lines.
Step 505, the purpose scan line in the separate picture comprising non-referenced color where determining object content, determine Displacement between purpose scan line and reference line.
Specifically, it is found that reference line is the scan line formed by base colors from step 503, but such as Fig. 6 b~figure All there are several reference lines shown in 6d, in every separate picture, if reference line is misplaced in displacement determination process, The image data obtained after displacement is still incorrect, therefore, can be by selecting an object content (example in test image Such as, the wave in Fig. 6 b~Fig. 6 d, the wave are only to illustrate, and those skilled in the art can according to need sets itself should Object content), using include the object content scan line as target scanning lines, i.e., using the target scanning lines as benchmark Line, thus the purpose scan line where determining object content in other separate pictures for including non-referenced color, then determine Displacement between the purpose scan line and reference line out.For example with the separate picture of Fig. 6 b~Fig. 6 d, by observing mesh Mark content (wave) is located at the 6th row in Fig. 6 b, the 4th row in Fig. 6 c, the 7th row in Fig. 6 d, then it is known that R/ G/B triple channel does not synchronize, at this point it is possible to using the color in any one channel in Fig. 6 b~Fig. 6 d as base colors, Assuming that then the target scanning lines where object content (the 6th row) are benchmark line using red channel as base colors;In the target The purpose scan line held in fig. 6 c is the 4th row, it is determined that purpose scan line is+2 or -2 (its relative to the displacement of reference line In "+", "-" be used for move up or move down carry out directionality mark), the purpose scan line of the object content in fig. 6d is 7th row, it is determined that purpose scan line is+1 or -1 relative to the displacement of reference line;To move up as "+", move down as "-", then it is green Chrominance channel needs to move down two rows, and blue channel needs to move up a line, obtains the synchronization of R/G/B triple channel.
Step 506 adjusts the scan line progress adjustment of displacement of non-referenced color so as to be displaced according to determining displacement Base colors after whole overlap each other with the scan line where non-referenced color, obtain the scan image of removal colour edging.
In this step, Fig. 6 e is the scan image image carried out after adjustment of displacement according to step 505, it is seen that at displacement R/G/B triple channel is synchronous after reason, eliminates colour edging.
Fig. 7 is the image color edge removal device schematic diagram shown in an exemplary embodiment of the invention, as shown in fig. 7, The image color edge removal device, comprising:
Scan module 1 obtains test image for scanning;
Displacement detection module 2 is used to determine base colors in test image, is with the scan line where base colors Reference line;According to reference line, the displacement between non-referenced color and base colors is determined;
Module 3 is adjusted, for carrying out adjustment of displacement to the scan line of non-referenced color according to determining displacement, so that Base colors after adjustment of displacement overlap each other with the scan line where non-referenced color, obtain the scanning figure of removal colour edging Picture.
The realization principle of the embodiment is similar to the realization principle of embodiment of the method shown in above-mentioned Fig. 4, and details are not described herein.
Image color edge provided in this embodiment removal device, is obtained by scanning test image;In test image Base colors are determined, using the scan line where base colors as benchmark line;According to reference line, non-referenced color and benchmark face are determined Displacement between color;According to determining displacement, adjustment of displacement is carried out to the scan line of non-referenced color, so that adjustment of displacement Base colors afterwards overlap each other with the scan line where non-referenced color, obtain the scan image of removal colour edging.To It realizes accurately identifying and correcting to the color disorder of colour edging, reaches scan text or line edge and clearly, really restore The effect of original scanning manuscript.
Fig. 8 is the image color edge removal device schematic diagram shown in another exemplary embodiment of the present invention, such as Fig. 8 institute Show, on the basis of the above embodiments,
Optionally, base colors be three kinds of colors of red, green, blue in any one or it is two kinds any;
Displacement detection module 2 includes:
Submodule 21 is separated, for carrying out red, green, blue color separated to test image, respectively obtains composition test image Red scan line the first separate picture, constitute test image green scan line the second separate picture and constitute test chart The third separate picture of the blue scan line of picture;
Determine submodule 22, for according to the first separate picture, the second separate picture and third separate picture, determine it is red, Whether there is offset each other between green, blue three-color, if so, arbitrarily select a kind of color as base colors, then its His two kinds of colors are non-referenced color;If between three kinds of colors of red, green, blue, there are the overlappings of two kinds of colors, with the two of overlapping Kind of color is as base colors, then a kind of other colors are non-referenced color, or using the color of non-overlap as base colors, Then two kinds of colors of other overlappings are as non-referenced color.
Optionally, displacement detection module 2, further includes:
Submodule 23 is selected, for selecting a target scanning lines in the separate picture comprising reference line, is swept with target Line is retouched as reference line, wherein include object content in target scanning lines.
Optionally, it determines submodule 22, is also used to determine object content institute in the separate picture comprising non-referenced color Purpose scan line, determine the displacement between purpose scan line and reference line.
Optionally, scan module 1 includes the figure of muted color text or muted color lines specifically for one width of scanning Picture obtains test image.
The realization principle of the embodiment is similar to the realization principle of embodiment of the method shown in above-mentioned Fig. 5, and details are not described herein.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features; And these are modified or replaceed, the range for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (10)

1. a kind of image color edge minimizing technology characterized by comprising
Scanning obtains test image;
Red, green, blue color separated is carried out to the test image, respectively obtains the red scan line for constituting the test image First separate picture, constitute the test image green scan line the second separate picture and constitute the indigo plant of the test image The third separate picture of color scan line;
Base colors are determined in the test image, using the scan line where the base colors as benchmark line, wherein described Base colors be three kinds of colors of red, green, blue in any one or it is two kinds any;
According to the reference line, the displacement between non-referenced color and the base colors is determined;
According to determining displacement, adjustment of displacement is carried out to the scan line of the non-referenced color, so that after the adjustment of displacement Base colors overlap each other with the scan line where non-referenced color, obtain removal colour edging scan image.
2. the method according to claim 1, wherein
It is described to determine that base colors include: in the test image
According to first separate picture, second separate picture and the third separate picture, three kinds of red, green, blue are determined Whether there is offset each other between color, if so, arbitrarily select a kind of color as base colors, then other two kinds of colors For non-referenced color;If there are the overlapping of two kinds of colors between three kinds of colors of red, green, blue, using two kinds of colors of overlapping as Base colors, then a kind of other colors are non-referenced color, alternatively, then other are heavy using the color of non-overlap as base colors Two kinds of folded colors are as non-referenced color.
3. according to the method described in claim 2, it is characterized in that, on the basis of the scan line by where the base colors Line, comprising:
A target scanning lines are selected in the separate picture comprising the reference line, using the target scanning lines as the base Directrix, wherein include object content in the target scanning lines.
4. according to the method described in claim 3, it is characterized in that, described according to the reference line, determine non-referenced color with Displacement between the base colors, comprising:
The purpose scan line where the object content is determined in the separate picture comprising the non-referenced color, determine described in Displacement between purpose scan line and the reference line.
5. method according to any one of claims 1 to 4, which is characterized in that the scanning obtains test image and includes:
The image that a width includes muted color text or muted color lines is scanned, the test image is obtained.
6. a kind of image color edge removal device characterized by comprising
Scan module obtains test image for scanning;Displacement detection module, for determining benchmark in the test image Color, using the scan line where the base colors as benchmark line;According to the reference line, non-referenced color and the base are determined Displacement between quasi- color;The displacement detection module includes:
Submodule is separated, for carrying out red, green, blue color separated to the test image, respectively obtains and constitutes the test chart First separate picture of the red scan line of picture, constitute the test image green scan line the second separate picture and composition The third separate picture of the blue scan line of the test image;
Module is adjusted, for adjustment of displacement being carried out to the scan line of the non-referenced color, so that institute according to determining displacement Base colors after stating adjustment of displacement overlap each other with the scan line where non-referenced color, obtain the scanning of removal colour edging Image.
7. device according to claim 6, which is characterized in that the displacement detection module further include:
It determines submodule, is used for according to first separate picture, second separate picture and the third separate picture, really Determine between three kinds of colors of red, green, blue the presence of offset whether each other, if so, arbitrarily select a kind of color as base colors, Then other two kinds of colors are non-referenced color;If there are the overlappings of two kinds of colors between three kinds of colors of red, green, blue, with overlapping Two kinds of colors as base colors, then a kind of other colors are non-referenced color, alternatively, using the color of non-overlap as benchmark Color, then two kinds of colors of other overlappings are as non-referenced color.
8. device according to claim 7, which is characterized in that the displacement detection module, further includes:
Submodule is selected, for selecting a target scanning lines in the separate picture comprising the reference line, with the target Scan line is as the reference line, wherein includes object content in the target scanning lines.
9. device according to claim 8, which is characterized in that
The determining submodule is also used in the separate picture comprising the non-referenced color where the determining object content Purpose scan line, determine the displacement between the purpose scan line and the reference line.
10. according to the described in any item devices of claim 6~9, which is characterized in that
The scan module includes the image of muted color text or muted color lines specifically for one width of scanning, obtains institute State test image.
CN201710967221.XA 2017-10-17 2017-10-17 Image color edge minimizing technology and device Active CN107580158B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710967221.XA CN107580158B (en) 2017-10-17 2017-10-17 Image color edge minimizing technology and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710967221.XA CN107580158B (en) 2017-10-17 2017-10-17 Image color edge minimizing technology and device

Publications (2)

Publication Number Publication Date
CN107580158A CN107580158A (en) 2018-01-12
CN107580158B true CN107580158B (en) 2019-10-11

Family

ID=61037562

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710967221.XA Active CN107580158B (en) 2017-10-17 2017-10-17 Image color edge minimizing technology and device

Country Status (1)

Country Link
CN (1) CN107580158B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108304147B (en) * 2018-01-30 2021-02-19 珠海奔图电子有限公司 Method and apparatus for generating a bi-color image
CN109636753B (en) * 2018-12-11 2020-09-18 珠海奔图电子有限公司 Image processing method and apparatus, electronic device, and computer-readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1913577A (en) * 2005-08-10 2007-02-14 展讯通信(上海)有限公司 Method for removing interpolation image color edge development
CN101593277A (en) * 2008-05-30 2009-12-02 电子科技大学 A kind of complicated color image Chinese version zone automatic positioning method and device
CN106791268A (en) * 2017-02-27 2017-05-31 深圳怡化电脑股份有限公司 The modification method and device of a kind of scan image

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006030492A (en) * 2004-07-14 2006-02-02 Ricoh Co Ltd Optical scanning device and image forming apparatus
CN101272444B (en) * 2007-03-19 2010-04-07 明基电通股份有限公司 Scanning image compensation method, image scanner and image processing system
CN102104707B (en) * 2009-12-22 2013-04-17 东友科技股份有限公司 Contact type image scanning device and scanning control method of same
TWI428902B (en) * 2011-12-07 2014-03-01 Orise Technology Co Ltd Pixel data conversion apparatus and method for display with delta panel arrangement

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1913577A (en) * 2005-08-10 2007-02-14 展讯通信(上海)有限公司 Method for removing interpolation image color edge development
CN101593277A (en) * 2008-05-30 2009-12-02 电子科技大学 A kind of complicated color image Chinese version zone automatic positioning method and device
CN106791268A (en) * 2017-02-27 2017-05-31 深圳怡化电脑股份有限公司 The modification method and device of a kind of scan image

Also Published As

Publication number Publication date
CN107580158A (en) 2018-01-12

Similar Documents

Publication Publication Date Title
US7460284B2 (en) Image scanning apparatus, image scanning method, and program for use in image scanning apparatus
JP4127594B2 (en) Image processing method and apparatus
US8199361B2 (en) Image processing apparatus that performs color calibration
CN107580158B (en) Image color edge minimizing technology and device
US20150055201A1 (en) Image processing apparatus and image processing method
JP2007286120A (en) Device and method for displaying image
US7400430B2 (en) Detecting and compensating for color misregistration produced by a color scanner
JP2006101272A (en) Image reading apparatus
JP3784602B2 (en) Image reading method and image reading system
US8699791B2 (en) Image processing apparatus, method and storage medium for controlling monochromization and background removal processing
JP2001268367A (en) Image scanning apparatus
JPWO2013099792A1 (en) Image processing apparatus, method and program, and imaging apparatus
US6356672B1 (en) Method and apparatus for reducing the color registration artifact of image capture devices
US9479679B2 (en) Capturing a scan line with two colors
US20060291015A1 (en) Applying multiple imaging processes to digital images
US11601566B2 (en) Image reading device, image reading program, image processing device, and image processing program
KR101610756B1 (en) Scanner and method having function of color misregistration correction
EP2209298A1 (en) Method for adjusting white balance
US10924635B2 (en) Image processing apparatus and image processing method
US20210385350A1 (en) Image reading apparatus, image forming apparatus, and image reading method
JP2009065559A (en) Image processing apparatus, image processing method, and storage medium with image processing program stored thereon
JPH04252667A (en) Color image reader
JP2925139B2 (en) Image reading device
JP4353045B2 (en) Image reading device
JPH11113020A (en) Method for correcting image data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant