JP2023034611A - Image reading system - Google Patents
Image reading system Download PDFInfo
- Publication number
- JP2023034611A JP2023034611A JP2021140933A JP2021140933A JP2023034611A JP 2023034611 A JP2023034611 A JP 2023034611A JP 2021140933 A JP2021140933 A JP 2021140933A JP 2021140933 A JP2021140933 A JP 2021140933A JP 2023034611 A JP2023034611 A JP 2023034611A
- Authority
- JP
- Japan
- Prior art keywords
- image
- document
- image reading
- processing
- reading
- 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.)
- Pending
Links
- 238000012545 processing Methods 0.000 claims abstract description 72
- 230000008602 contraction Effects 0.000 claims description 4
- 238000000034 method Methods 0.000 description 20
- 238000010586 diagram Methods 0.000 description 13
- 230000010365 information processing Effects 0.000 description 8
- 238000001514 detection method Methods 0.000 description 6
- 239000003086 colorant Substances 0.000 description 3
- 238000012937 correction Methods 0.000 description 3
- 238000003702 image correction Methods 0.000 description 3
- 238000011946 reduction process Methods 0.000 description 3
- 238000012935 Averaging Methods 0.000 description 2
- 238000003708 edge detection Methods 0.000 description 2
- 230000001678 irradiating effect Effects 0.000 description 2
- 238000000926 separation method Methods 0.000 description 2
- 238000011144 upstream manufacturing Methods 0.000 description 2
- 230000002411 adverse Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000002194 synthesizing effect Effects 0.000 description 1
- OWWYREKLGMILGW-UHFFFAOYSA-N ÎŽline Chemical compound COC1C2C3C4(C5C6OC(C)=O)C(OC)CCC5(C)CN(CC)C4C46OCOC42CC(OC)C1C3 OWWYREKLGMILGW-UHFFFAOYSA-N 0.000 description 1
Images
Landscapes
- Facsimile Scanning Arrangements (AREA)
- Editing Of Facsimile Originals (AREA)
Abstract
Description
æ¬çºæã¯ãç»åèªåè£ çœ®ãæããç»åèªåã·ã¹ãã ã«é¢ããã The present invention relates to an image reading system having an image reading device.
ç»åèªåè£ çœ®ã§ã¯ãèªã¿åãã»ã³ãµãŒãåºå®ããŠèªã¿åã察象ã§ããåçš¿ãæ¬éããªããèªã¿åã圢æ ã®ãã®ãããããã®ãããªåœ¢æ ã§ã¯ãåçš¿ãæ¬éããé床ãšèªã¿åãã»ã³ãµãŒã®èªã¿åãã¿ã€ãã³ã°ãäžèŽããŠããªãå Žåãèªã¿åã£ãçµæããããããªã£ãŠããŸãã Some image reading apparatuses have a configuration in which a reading sensor is fixed and a document to be read is read while being conveyed. In such a form, if the speed at which the document is conveyed and the reading timing of the reading sensor do not match, the reading result will be incorrect.
äŸãã°ããã¹ããŒãã®ããã«éåžžã®åçš¿ãšæ¯èŒããŠéåžžã«åãåçš¿ãèªã¿åããšãã¯ãæ¬éããéã«æ¬éè·¯ãªã©ã«åŒã£ããã£ãŠããŸããå Žåã«ãã£ãŠã¯æ¬éãæ¢ãŸã£ãŠããŸãããããã¯ãåçš¿ãæ¬éããé床ãäºãèšå®ãããé床ãããé ããªã£ãŠããŸã£ãå Žåã¯ãèªã¿åã£ãç»åã¯äŒžã³ãããšã«ãªããå³ïŒã¯ãã¹ããŒããèªã¿åã£ãæã®ç»åã®äŸã§ãå³ïŒã«ãããïŒ£ãæ£åžžã«èªã¿åãããšãã®ç»åãïŒ€ãæ¬éäžã«åçš¿ãåŒã£æãããæ¢ãŸã£ãŠããŸããããããšã«ãã䌞ã³ãç»åã®äŸã§ããããã®ããã«ç»åã䌞ã³ãŠããŸããšãèŠãç®ã«ãèšèŒå 容ã®èªèã«ãæªåœ±é¿ãäžããŠããŸãã For example, when reading a document such as a passport that is much thicker than a normal document, the document may get caught in the transport path or the like during transport, and the transport may stop in some cases. Alternatively, if the speed at which the document is conveyed becomes slower than the preset speed, the read image will be stretched. FIG. 9 is an example of an image when a passport is read. In FIG. 9, C is an image when it is read normally, and D is an example of an image stretched because the document is caught or stopped during transportation. . If the image is stretched in this way, it will adversely affect the appearance and the recognition of the written content.
èªã¿åã£ãç»åã䌞ã³ãŠããŸãããšã«å¯Ÿãã察çãšããŠããã£ãªã¢ã·ãŒãã«äžå®ã®ééã§ããŒã¯ãèšããŠãããèªã¿åãããã®çµæããåçš¿ãæ¬éãããé床ã®ãã©ã€ããæ€åºããç»åã驿£ãªåçã«è£æ£ãããã®ãããïŒäŸãã°ãç¹èš±æç®ïŒåç §ïŒã As a countermeasure against the read image being stretched, marks are placed on the carrier sheet at regular intervals, the marks are read, and from the results, variations in the speed at which the document is conveyed are detected, and the image is corrected to an appropriate magnification. There is (for example, see Patent Document 1).
ããããç¹èš±æç®ïŒã®ããã«äžå®ã®ééã§ããŒã¯ãèšããå Žåã«ã¯ãæ¬éé床ãããŒã¯ã®é·ãã§æ€åºããŠè£æ£åŠçãããŠãããããã§ã¯ïŒã€ã®ããŒã¯éšåã®éã§ã®å¹³åé床ããèšæž¬ã§ãããïŒã€ã®ããŒã¯éšåã§é床ãäžå®ã§ãªããã°æ£ããè£æ£ããããšãã§ããªãããã®ãŸãŸã§ã¯åçš¿é åå
šäœã®åçã倧ãŸãã«è£æ£ã§ããããå®éã«æ¬éããé床ãå€åããå Žæã§ã¯ç»åã®äŒžã³ã¯æ£ããè£æ£ã§ããªãã
However, when marks are provided at regular intervals as in
äžèšãéã¿ãæ¬çºæã«ä¿ãç»åèªåã·ã¹ãã ã¯ã
åçš¿ãæãã§æ¬éããããã£ãªã¢ã·ãŒãã®è¡šé¢ãä»ããŠåçš¿ã®ç»åãèªã¿åãç»åèªåè£
眮ãæããç»åèªåã·ã¹ãã ã«ãããŠã
åèšãã£ãªã¢ã·ãŒãã®è£é¢ã«èšããããåèšãã£ãªã¢ã·ãŒããæ¬éãããæ¬éæ¹åã«å¯Ÿãé£ç¶çã«åãåŸãã§åèšæ¬éæ¹åãšçŽäº€ããå¹
æ¹åã®åº§æšäœçœ®ãå€åããçŽç·ç¶ã®ããŒã¯ãèªã¿åããåèšããŒã¯ã®èªã¿åãçµæã«åºã¥ããŠåèšåçš¿ã®ç»åã«å¯Ÿãæ¡çž®åŠçãè¡ãããšãç¹åŸŽãšããã
In view of the above, the image reading system according to the present invention is
In an image reading system having an image reading device that reads an image of a document through a surface of a carrier sheet conveyed with the document sandwiched therebetween,
reading a linear mark provided on the back surface of the carrier sheet and having coordinate positions in the width direction perpendicular to the conveying direction continuously changing at the same inclination with respect to the conveying direction in which the carrier sheet is conveyed; It is characterized in that enlargement/reduction processing is performed on the image of the document based on the reading result.
æ¬çºæã«ããã°ãåçš¿ã®ç»åã驿£ãªåçã«è£æ£ããããšãã§ããã According to the present invention, it is possible to correct the image of the document to an appropriate magnification.
以äžãæ¬çºæã®ç¬¬ïŒå®æœåœ¢æ ã«ä¿ãç»åèªåè£ çœ®ã«ã€ããŠèª¬æãããå³ïŒã¯ãæ¬å®æœåœ¢æ ã«ä¿ãç»åèªåè£ çœ®ã§äœ¿çšãããã£ãªã¢ã·ãŒãã«ãåçš¿ãæãã ç¶æ ã®äžäŸã瀺ãå³ã§ããã An image reading apparatus according to a first embodiment of the present invention will be described below. FIG. 1 is a diagram showing an example of a state in which a document is sandwiched between carrier sheets used in an image reading apparatus according to this embodiment.
åœè©²ãã£ãªã¢ã·ãŒãã¯ãäºã€æã圢åŒã§ãããå³ïŒã«ãããã¯è¡šåŽã®éæãªé¢ãæ£é¢ããèŠãç¶æ ã瀺ããŠããããã£ãªã¢ã·ãŒãã«æãã åçš¿ãéããŠãããã¯è£åŽã®äžéæãªé¢ã§ãããããæãã åçš¿ã¯éããŠããªãã以éã®èª¬æã«ãããŠã¯ïŒ¡é¢ã衚é¢ãšããé¢ãè£é¢ãšããã The carrier sheet is of a double-fold type, and A in FIG. 1 shows a state in which the front transparent surface is viewed from the front, and the document sandwiched between the carrier sheets can be seen through. Since B is an opaque surface on the back side, the sandwiched document is not transparent. In the following description, the A side is the front side and the B side is the back side.
ãªããè£é¢ã«ã¯ïŒæ¬ã®å¯Ÿè§ç·ãåŒãããŠãããç»åèªã¿åãã®éã«ã¯ãåçš¿ãåœè©²ãã£ãªã¢ã·ãŒãã«æãã ç¶æ ã§è¡šé¢ãäžã«åããŠæ¬éè·¯ã«ã»ããããã A diagonal line is drawn on the back surface. At the time of image reading, the document is set on the conveying path with the front side facing downward while sandwiched between the carrier sheets.
次ã«ãå³ïŒã¯ãæ¬å®æœåœ¢æ ã«ä¿ãç»åèªåè£ çœ®ã®æŠç¥æé¢å³ã§ããããŸããå³ïŒã¯æ¬å®æœåœ¢æ ã«ä¿ãç»åèªåè£ çœ®ã®å¶åŸ¡ãããã¯å³ã§ããããªããæ¬å®æœåœ¢æ ã«ãããŠã¯ã以åŸèª¬æããç»ååŠçã«ã€ããŠãåŸè¿°ã®ç»ååŠçéšïŒïŒïŒã«ãŠå®è¡ããæ æ§ã«ã€ããŠèª¬æããŠããããããã«éããããç»åèªåè£ çœ®ïŒïŒïŒã«æ¥ç¶ãããåŸè¿°ã®ç»ååºåéšïŒïŒïŒããåºåãããç»åãåä¿¡ããæ å ±åŠçè£ çœ®ã«ãã£ãŠç»ååŠçãå®è¡ãããç»åèªåã·ã¹ãã ãšããŠæ§æããŠãè¯ãããã®å Žåãç»åèªã¿åãã®éå§æç€ºãªã©ãæ å ±åŠçè£ çœ®ããéä¿¡ãããããã«æ§æããŠãè¯ãã Next, FIG. 2 is a schematic cross-sectional view of the image reading apparatus according to this embodiment. FIG. 3 is a control block diagram of the image reading apparatus according to this embodiment. In this embodiment, the image processing described below is performed by the image processing unit 103, which will be described later. However, the present invention is not limited to this. It may be configured as an image reading system in which image processing is executed by an information processing apparatus that receives an image output from the unit 104 . In that case, the image reading start instruction may be transmitted from the information processing apparatus.
å³ïŒã«ç€ºãããã«ãæ¬å®æœåœ¢æ
ã®ç»åèªåè£
眮ïŒïŒïŒã§ã¯ãåçš¿ïŒã·ãŒãïŒãç©èŒãã絊çŽãã¬ã€ïŒãè£
眮æ¬äœïŒïŒ¡ã«å¯ŸããŠãã³ãžéšïŒïœãä»ããŠééå¯èœã«æ¯æãããŠãããããªãã¡ã絊çŽãã¬ã€ïŒã¯ãéããç¶æ
ã§åçš¿ã®çµŠçŽå£ïŒïŒãèŠãïŒå³ïŒã®ç Žç·ïŒãéæŸãããç¶æ
ïŒå³ïŒã®å®ç·ïŒã§ç©èŒé¢ïŒïœã«åçš¿ãç©èŒãããããã«æ§æãããã
As shown in FIG. 2, in the
ãŸãã絊çŽãã¬ã€ïŒã«ç©èŒãããè€æ°æã®åçš¿ã¯ããã£ãŒãããŒã©ãŒïŒãšåé¢ãããïŒãšã«ãã£ãŠæãäžã®åçš¿ããïŒæãã€æ¬éè·¯ã«åé¢çµŠéããããæ¬éè·¯ã«çµŠéãããåçš¿ã¯ãæ¬éããŒã©ãŒå¯ŸïŒã«ããäžæµåŽã«æ¬éããããããã«ãåçš¿ã¯ãç»åèªåéšïŒç»åèªåææ®µïŒïŒãïŒã«ãã衚è£äž¡é¢ã®ç»åãèªã¿åããããã®åŸãæ¬éããŒã©ãŒå¯ŸïŒã«ããè£
眮å€ã«æçŽãããã
A plurality of documents stacked on the
ãã®ãããªæ§æã®ç»åèªåè£
眮ïŒïŒïŒã¯ãã³ã³ãã¥ãŒã¿çã®æ
å ±åŠçè£
çœ®ã«æ¥ç¶ãããŠãæ
å ±åŠçè£
眮ããã®æäœã«ããèªååäœãå¶åŸ¡ããããç»åèªåè£
眮ïŒïŒïŒãšæ
å ±åŠçè£
眮ãšã®æ¥ç¶ã¯ãäŸãã°ãã±ãŒãã«ãã±ãŒãã«ãã±ãŒãã«ãŸãã¯ç¡ç·éä¿¡ãªã©ã«ããæ¥ç¶å¯èœã§ããã
The
ãŸããæ¬å®æœåœ¢æ
ã®ç»åèªåè£
çœ®ãæ¥ç¶ãããæ
å ±åŠçè£
眮ã«ãããŠã¯ãç»åèªåè£
眮ïŒïŒïŒãå¶åŸ¡å¯èœãšãããœãããŠãšã¢ïŒå¶åŸ¡ããã°ã©ã ïŒãå®è¡ãããããšã«ãããç»åèªåè£
眮ïŒïŒïŒã®å¶åŸ¡ãå¯èœãšãªãã
Further, in the information processing apparatus to which the image reading apparatus of the present embodiment is connected, the
ãªããå®éã«ã¯ããŠãŒã¶ãŒã¯ãäžèšãœãããŠãšã¢ã®å®è¡ã«ãã衚瀺ãããç»åèªåè£
眮ïŒïŒïŒã®å¶åŸ¡ç»é¢çãããäŸãã°ãè§£å床ãè²æ°ãé調æ°ãèªã¿åãé¢ãèªã¿åãé åçã®ç»åèªåæ¡ä»¶ãèšå®å¯èœãšãªãããã«ããŠãè¯ãããã®å Žåãç»åèªåè£
眮ïŒïŒïŒã¯ããŠãŒã¶ãŒæå®ã®èšå®æ¡ä»¶ã«ãããã£ãŠãèªååäœãå®è¡ããããã«ãªã£ãŠããããããã®èšå®ã®ãã¡ãäžéšã®ã¿ãèšå®å¯èœã«æ§æãããŠããŠãè¯ãããŸãããã®å¶åŸ¡ããã°ã©ã ã¯ãæ
å ±åŠçè£
眮ã®ïŒ¯ïŒ³ïŒïŒ¯ïœïœ
ïœïœïœïœïœïœ ïœïœïœïœ
ïœïŒãæããæ±çšã®ã¹ãã£ã³ããã°ã©ã ã§ãã£ãŠãè¯ãã
In practice, the user can set the image reading conditions such as the resolution, the number of colors, the number of gradations, the reading surface, and the reading area from the control screen of the
ãŸããç»åèªåè£
眮ïŒïŒïŒã¯ãç»åèªåéšïŒãïŒã§èªã¿åã£ãç»åããŒã¿ãéä¿¡ããããã«ãªã£ãŠãããäŸãã°ãå³ïŒã«ç€ºãããã«ãæ¬å®æœåœ¢æ
ã®ç»åèªåè£
眮ã¯ãç»åèªåéšïŒãïŒã§èªã¿åãããç»åããŒã¿ãç»ååºåéšïŒïŒïŒã«ããå€éšã«éä¿¡ããããããããªãå¶åŸ¡éšïŒïŒïŒãå¶åŸ¡ããããã«ãªã£ãŠããã
Further, the
ããã§ãç»åèªåéšïŒãïŒã¯ãå³ç€ºããªãããæ¬éãããåçš¿ã«è€æ°è²ã®å
ãç
§å°ããçãããªãå
ç
§å°éšãšãåçš¿ããã®åå°å
ãåå
ããåå
éšãšãããªããæ¬å®æœåœ¢æ
ã§ã¯ãç»åèªåéšïŒãïŒãšããŠã¯ãåçš¿ã«ç
§å°ããè€æ°è²ã®å
ãšããŠãïŒèµ€ïŒãïŒç·ïŒãïŒéïŒã®å
ãç
§å°ããåçš¿ããã®åå°å
ãïŒã©ã€ã³ã§èªã¿åããã®ãšããããªãããã®ãããªå
ç
§å°éšã«ããå
ãç
§å°ããã¿ã€ãã³ã°ã¯ãå¶åŸ¡éšïŒïŒïŒã«ããå¶åŸ¡ãããããã®ç»åèªåéšïŒãšïŒã¯ãåçš¿ã®è¡šè£ãããããèªåå¯èœãªããã«æ¬éè·¯ãæãã§é
眮ããããã®èªåäœçœ®ã¯åçš¿ã®æ¬éæ¹åã§äºãã«ãããäœçœ®ã«ãªãããã«åãä»ããããŠãããå³ïŒã«ã¯ããã®äžäŸãšããŠãç»åèªåéšïŒãšïŒãšã®èªåäœçœ®ãå³ïŒã®æé¢ã«ãããŠç¹å¯Ÿç§°ã«ãªãããã«é
眮ãããŠãããèªåäœçœ®ãäžæµãšäžæµã«ãããŠããã
Here, although not shown, the
æ¬å®æœåœ¢æ ã§ã¯åºæ¬çã«ãåçš¿ãæ¬éããéã«ã¯è¡šé¢ãäžã«åããŠæ¬éããŠç»åãèªã¿èŸŒãããšãæ³å®ããŠãããç»åèªåéšïŒã衚é¢ãèªã¿åããç»åèªåéšïŒãè£é¢ãèªã¿åããã®ãšããŠèª¬æãããåçš¿ãæãã ãã£ãªã¢ã·ãŒãã§ãåæ§ã§ããã In this embodiment, basically, it is assumed that when a document is conveyed, the front side is conveyed downward and the image is read. Described as reading. The same is true for the carrier sheet sandwiching the document.
ãŸããå¶åŸ¡éšïŒïŒïŒã¯ãå³ïŒã«ç€ºãããã«ãçã®æ
å ±åŠçè£
眮ããåçš¿ã®èªååœä»€ãåãåããšããã£ãŒãããŒã©ãŒïŒãšåé¢ãããïŒãšã«ãã£ãŠçµŠçŽãã¬ã€ïŒã®åçš¿ãïŒæãã€æ¬éè·¯ã«åé¢çµŠéããããç¶ããŠãåçš¿ã¯ãæ¬éããŒã©ãŒå¯ŸïŒã«ããç»åèªåéšïŒãïŒã«åãã£ãŠæ¬éãããããªããå³ç€ºããªãããæ¬éããŒã©ãŒå¯ŸïŒãšç»åèªåéšïŒãïŒãšã®éã«ã¯ãåçš¿ã®å°éåã³ééãæ€ç¥ããã¬ãžã¹ãã»ã³ãµãŒãèšããããŠããããããŠãå¶åŸ¡éšã¯ããã®ã¬ãžã¹ãã»ã³ãµãŒã«ããåçš¿ã®å°éãæ€ç¥ãããšãç»åèªåéšïŒãïŒã®äžæµåŽã®äœçœ®ã«èšå®ãããç»åã®èªåéå§äœçœ®ïŒ°ã«åçš¿ãå°éããæããèªåãéå§ããããç»åèªåéšïŒãïŒãå¶åŸ¡ããã
Further, as shown in FIG. 2, when the control unit 102 receives a document reading command from an information processing apparatus such as a PC, the
å
·äœçã«ã¯ãåçš¿ãç»åèªåéå§äœçœ®ã«å°éãããšãã«ãå
ç
§å°éšããïŒèµ€ïŒã®å
ãç
§å°ãããåçš¿ã§åå°ããå
ãåå
éšã§åå
ãããç¶ããŠãå
ç
§å°éšã«ããïŒç·ïŒã®å
ãç
§å°ãããåçš¿ã§åå°ããå
ãåå
éšã§åå
ãããããã«ç¶ããŠãå
ç
§å°éšã«ããïŒéïŒã®å
ãç
§å°ãããåå
éšã§åå
ããããã®ïŒã€ã®åå
çµæãåæããããšã§ïŒã©ã€ã³ã®ç»åãèªã¿åãããšãã§ãããå¶åŸ¡éšïŒïŒïŒã¯ããããåã®ïŒã©ã€ã³åã®ç»åããŒã¿ãç»ååŠçéšïŒïŒïŒã«è»¢éããïŒå³ïŒåç
§ïŒããã®éãåžžã«æ¬éããŒã©ãŒå¯ŸïŒåã³ïŒãå転ãããŠåçš¿ãæ¬éããåçš¿ã®åŸç«¯ãééãããŸã§ç»åèªåéšïŒãïŒã§ç»åã®èªåãç¶ç¶ãããåçš¿ã®åŸç«¯ã®ééã¯ãäžè¿°ããã¬ãžã¹ãã»ã³ãµãŒã§åçš¿ã®åŸç«¯ãæ€ç¥ããŠããæå®ã®æéçµéããããšããç»åèªåéšïŒãïŒã®äžæµåŽã«èšããããä»ã®åçš¿æ€ç¥ã»ã³ãµãŒãªã©ã§åçš¿ãæ€ç¥ããããšãªã©ã§æ€åºããã°è¯ããç»åèªåè£
眮ïŒïŒïŒã¯ãäžè¿°ããåäœãç¹°ãè¿ãè¡ãããšã§ãåçš¿ãã«ã©ãŒã§èªã¿åããç»åããŒã¿ãåºåããã
Specifically, when the document arrives at the image reading start position, the light emitting section emits R (red) light, and the light receiving section receives the light reflected from the document. Subsequently, the light irradiating section emits G (green) light, and the light receiving section receives the light reflected by the document. Subsequently, B (blue) light is emitted by the light emitting unit and received by the light receiving unit. An image of one line can be read by synthesizing these three light receiving results. The control unit 102 transfers the RGB image data for one line to the image processing unit 103 (see FIG. 3). During this time, the pair of conveying
次ã«ãåçš¿é åãæ€ç¥ããææ®µã«ã€ããŠãå³ïŒã«ç€ºããããŒãã£ãŒããçšããŠèª¬æããã Next, means for detecting the document area will be described with reference to the flow chart shown in FIG.
ç»ååŠçéšïŒïŒïŒã«å ¥åããã衚é¢ç»åïŒå³ïŒã®ïŒ¡ïŒå šäœã®ã©ã€ã³ããŒã¿ã«å¯ŸããŠãã©ã€ã³ããŒã¿ãå·ŠåŽããèµ°æ»ããããšã§åçš¿é åã®å·Šç«¯ããã©ã€ã³ããŒã¿ãå³åŽããèµ°æ»ããããšã§åçš¿é åã®å³ç«¯ãæ€åºããã For the line data of the entire surface image (A in FIG. 1) input to the image processing unit 103, the left end of the document area is scanned by scanning the line data from the left side, and the document area is scanned by scanning the line data from the right side. Find the right edge of .
ãŸããåçš¿é åã®å·Šç«¯ãæ€åºããåŠçãè¡ããããã§ã¯ãåçš¿èªåæã®èæ¯æ¿ãé»è²ãããã¯ããã«è¿ãæåºŠã瀺ããã®ãçšããŠããå Žåã«ãåçš¿é åã®ç»çŽ ã®æåºŠãé«ããªãããšãçšããŠæ€åºåŠçãè¡ãããªãã衚é¢ããèªã¿åã£ããã£ãªã¢ã·ãŒãã®éšåãæåºŠãé«ããã®ã䜿çšããŠããç¶æ³ã«ã€ããŠèª¬æããã衚é¢ã®ç»åããŒã¿ã«ãããã©ã€ã³ããŒã¿ã®ïœïŒç»åããŒã¿ã®å·Šç«¯ããã®ç»çŽ æ°ïŒçªç®ã®ç»çŽ ã®æåºŠãïŒïœïŒãšãããããããæ±ºããããŠããéŸå€ãïœïŒãšããããã®ãšããæ¬¡ã®åŒïŒãæºãããã©ãããå€å®ããïŒã¹ãããïŒïŒïŒïŒã
First, processing for detecting the left edge of the document area is performed. In this case, when the background plate at the time of reading the document is black or has a brightness close to it, the detection process is performed using the fact that the brightness of the pixels in the document area is high. A description will be given of a situation in which the portion of the carrier sheet read from the surface is also of high brightness. Let B(x) be the brightness of the x-th pixel (the number of pixels from the left end of the image data) of the line data in the image data of the surface, and let Th 1 be the predetermined threshold. At this time, it is determined whether or not the
ïŒïœïŒ ïŒ ïŒŽïœïŒ ã»ã»ã»ïŒåŒïŒïŒ B(x) < Th 1 (Formula 1)
ã¹ãããïŒïŒïŒã§åŒïŒãæãç«ã£ãå Žåã¯ã泚ç®ããŠããç»çŽ ãåçš¿é åå€ãšå€å®ããïŒã¹ãããïŒïŒïŒïŒã次ã«ã泚ç®ããŠããç»çŽ ãã©ã€ã³ããŒã¿ã®çµç«¯ç»çŽ ããªãã¡å³ç«¯ããå€å®ããïŒã¹ãããïŒïŒïŒïŒãã¹ãããïŒïŒïŒã§ã®å€å®ã§ã©ã€ã³ããŒã¿ã®çµç«¯ãšå€æããå Žåã«ã¯ãåŠçãçµäºãããã¹ãããïŒïŒïŒã§ã®å€å®ã§ã©ã€ã³ããŒã¿ã®çµç«¯ç»çŽ ã§ãªããã°å³é£ã®ç»çŽ ã«æ³šç®ç»çŽ ããããïŒïœãã€ã³ã¯ãªã¡ã³ãïŒãŠïŒã¹ãããïŒïŒïŒïŒãå€å®ãç¶ç¶ããã
If
以äžã®å€å®åŠçãã©ã€ã³ããŒã¿ã®å³ç«¯ã«å°éããããã¹ãããïŒïŒïŒã§åŒïŒãæãç«ããªããªããããªãã¡åçš¿é åå
ã§ãããšå€å®ããããŸã§ç¶ç¶ããã
The determination process described above is continued until the right end of the line data is reached, or until it is determined in step S201 that
ã¹ãããïŒïŒïŒã§åŒïŒãæãç«ããªãã£ãå Žåã¯ã泚ç®ããŠããç»çŽ ã¯åçš¿é åå
ã®ç»çŽ ã§ãããšå€å®ãçŸåšã®åº§æšãåçš¿é åã®å·Šç«¯ïœãšããŠèšæ¶ããŠïŒã¹ãããïŒïŒïŒïŒãçµäºããã
If
泚ç®ç»çŽ ããã¹ãããïŒïŒïŒã§åçš¿é åå ã§ãããšå€å®ãããããã¹ãããïŒïŒïŒã§çµç«¯ç»çŽ ãšå€å®ãããå Žåã¯ã次ã®ã©ã€ã³ã«ç§»è¡ããŠãã®ãããŒãã£ãŒãã®åŠçãåéããã If the pixel of interest is determined to be within the document area in step S201, or if it is determined to be the end pixel in step S204, the process proceeds to the next line and restarts the processing of this flowchart.
åçš¿é åã®å·Šç«¯ïœãæ€åºã§ããããæ¬¡ã¯åçš¿é åã®å³ç«¯ãæ€åºããããã«åæ§ã®åŠçãå³åŽããè¡ããåè¿°ã®å·ŠåŽããèµ°æ»ãããšãã®åŠçãšåæ§ã«ããŸãåŒïŒãæºããã確èªããïŒã¹ãããïŒïŒïŒïŒã以åŸã®åŠçã¯ãäžè¿°ãã説æã«ããããå·Šããšãå³ããå
¥ãæ¿ããŠèªãã åŠçãšåçã®åŠçãå®è¡ããæ€åºããç»åããŒã¿ã®å³ç«¯ããã®ç»çŽ æ°ã端éšïœâãšããŠèšæ¶ããã°è¯ãããã ããã¹ãããïŒïŒïŒã®å€å®ã«ãããŠã¯ãçµç«¯ç»çŽ ãã©ããã§ã¯ãªããå·Šç«¯ã®æ€åºåŠçã§èšæ¶ãã端éšïœãã©ãããå€å®ããïŒïŒ³ïŒïŒïŒïŒãããæ³šç®ç»çŽ ã巊端ïœã«ãªããŸã§èµ°æ»ããã®ãªãã°ããã®ã©ã€ã³ã§ã¯åçš¿é åã§ã¯ãªããšå€å®ãã端éšïœãåé€ããäžã§å·Šç«¯ã®æ€åºåŠçãæ¬¡ã®ã©ã€ã³ããå床å®è¡ããã
Once the left edge a of the document area has been detected, the same process is performed from the right side to detect the right edge of the document area. First, it is checked whether
ãããŠå·Šç«¯ïœã端éšïœâãæ€ç¥ã§ããæã®ã©ã€ã³æ°ãåçš¿ã®äžç«¯ïœãšããããŸããç»åã®å·Šå³æ¹åã®å šäœã®ç»çŽ æ°ïŒŽã«å¯Ÿããå³ç«¯ïœïŒïŒŽïŒïœâãšããããšã§ã座æšãšããŠã®åçš¿ã®å³ç«¯ïœãç®åºããã The number of lines when the left edge a and the edge b' are detected is defined as the upper edge t of the document. Also, the right edge b of the document as the coordinates is calculated by setting the right edge b=Tâbâ² with respect to the total number of pixels T in the horizontal direction of the image.
以äžãç»åã®å é ããç¹°ãè¿ãããšã§ãç»åå ã«ãããåçš¿é åã®å·Šç«¯ïœãå³ç«¯ïœããããŠåçš¿ã®äžç«¯ïœãæ€ç¥ããããšãã§ããããªããæ¬å®æœåœ¢æ ã«ãããŠã¯ãåŸè¿°ããåŠçã«ãããŠåçš¿ã®äžç«¯ãçšãããšãåŠçå¯èœãªãããäžç«¯ã®æ€åºãè¡ã£ãŠããªãããäžç«¯ïœâã®æ€åºãè¡ã£ãäžã§ããããåŸè¿°ã®åŠçã«çšããŠãè¯ãã By repeating the above from the top of the image, the left edge a, right edge b, and top edge t of the document area in the image can be detected. In the present embodiment, since processing can be performed without using the bottom edge of the document in the processing described later, the bottom edge is not detected. You can use it.
次ã«ãè£é¢ç»åãããã£ãªã¢ã·ãŒãã«æžããã察è§ç·ãæ€åºããæ¹æ³ã«ã€ããŠãå³ïŒãçšããŠèª¬æããã Next, a method for detecting diagonal lines written on the carrier sheet from the back image will be described with reference to FIG.
衚é¢ç»åã«å¯ŸããŠæ€åºããåçš¿ã®äžç«¯ïœã©ã€ã³ç®ãåºæºãšããããããïœã©ã€ã³ç®ã®ã©ã€ã³ããŒã¿ã«å¯ŸããŠãè£é¢ç»åïŒå³ïŒã®ïŒ¢ïŒã®ã©ã€ã³ããŒã¿ã«ãããŠæ³šç®ç»çŽ ãåçš¿é åã®å·Šç«¯ïœããå³ãžèµ°æ»ããããšã§å¯Ÿè§ç·ãæ€åºãããïœã®åæå€ã¯ïŒãšããããªããå®éã«ã¯è¡šé¢ãšè£é¢ãšã§ã¯å¹ æ¹åã«ãããåçš¿ã®æ¬éäœçœ®ã®å¯Ÿç§°æ§ã«ãã巊端ïœãšå³ç«¯ïœã®åº§æšã¯äž»èµ°æ»æ¹åã®äžå€®ãæãã§å¯Ÿç§°ãªäœçœ®ãšãªãã¯ãã ããæ¬å®æœåœ¢æ ã®èª¬æã«ãããŠã¯ãç°¡ç¥åã®ããã«ã衚é¢ãšè£é¢ãšã§å ±éã®èšå·ãçšããŠèª¬æããã Using the t-th line at the upper end of the document detected for the front side image as a reference, for the line data of the y-th line from the t-th line, the pixel of interest in the line data of the back side image (B in FIG. 1) is set from the left end a of the document area. Diagonals are detected by scanning to the right. The initial value of y is 0. In reality, the coordinates of the left edge a and the right edge b should be symmetrical with respect to the center in the main scanning direction due to the symmetry of the document transport position in the width direction between the front side and the back side. , for the sake of simplification, common symbols are used for the front surface and the back surface.
ãŸããæ³šç®ç»çŽ ã察è§ç·ããæ€åºããåŠçãè¡ããããã§ã¯ããã£ãªã¢ã·ãŒãã®è£é¢ã®ã¡ã€ã³ã®è²ãçœè²ãããã¯ããã«è¿ãè²ãšãã察è§ç·ãé»è²ãããã¯ããã«è¿ãè²ã§æãããå Žåã«ã€ããŠèª¬æãã察è§ç·ãæ€åºããããã«ãããããæ±ºããããŠããéŸå€ãïœïŒãšããããã®ãšããæ¬¡ã®åŒïŒãæºãããã©ãããå€å®ããïŒã¹ãããïŒïŒïŒïŒããªããïœã¯æ³šç®ç»çŽ ã®å·Šç«¯ïœããã®ç»çŽ æ°ãæå³ããŠããã
First, processing is performed to detect whether the pixel of interest is a diagonal line. Here, the case where the main color of the back surface of the carrier sheet is white or a color close to it, and the diagonal line is drawn in black or a color close to it will be described . and At this time, it is determined whether or not the
ïŒïœïŒ ïŒ ïŒŽïœïŒ ã»ã»ã»ïŒåŒïŒïŒ B(x) > Th 2 (Formula 2)
ã¹ãããïŒïŒïŒã§ãåŒïŒãæãç«ã€ãã©ãããå€å®ãããåŒïŒãæãç«ã£ãå Žåãæ³šç®ç»çŽ ã¯å¯Ÿè§ç·ã§ã¯ãªããšå€å®ãïŒã¹ãããïŒïŒïŒïŒãã¹ãããïŒïŒïŒã«é²ãã
In step S301, it is determined whether or not
ã¹ãããïŒïŒïŒã§ã¯ã泚ç®ç»çŽ ãããã§ã®åŠçã®çµç«¯ã§ããå³ç«¯ïœä»¥äžãã©ãããå€å®ãããæ³šç®ç»çŽ ãåçš¿é åã®å³ç«¯ïœä»¥äžã§ã¯ãªããšå€å®ãããå Žåã¯ã泚ç®ç»çŽ ã®æŽã«å³é£ã®ç»çŽ ãåç §ïŒïœãã€ã³ã¯ãªã¡ã³ãïŒããŠå€å®ãç¶ç¶ããïŒã¹ãããïŒïŒïŒïŒãã¹ãããïŒïŒïŒã§æ³šç®ç»çŽ ãå³ç«¯ïœä»¥äžã§ãããšå€å®ãããå Žåã¯ããã®ã©ã€ã³ã«ãããŠå¯Ÿè§ç·ãèŠã€ãããªããšããç°åžžã§ããã®ã§ãåŠçãçµäºããŠç°åžžãå ±ç¥ããŠä»¥åŸã®åŠçãå®è¡ãããã«åæ¢ããã In step S304, it is determined whether or not the target pixel is equal to or greater than the right end b, which is the end of the processing here. If it is determined that the pixel of interest is not at or above the right edge b of the document area, the pixel to the right of the pixel of interest is referred to (by incrementing x) to continue the determination (step S305). If it is determined in step S304 that the pixel of interest is greater than or equal to the right end b, it means that a diagonal line cannot be found in that line. do.
ã¹ãããïŒïŒïŒã§åŒïŒãæãç«ããªãã£ãå Žåãæ³šç®ç»çŽ ã察è§ç·ã®å·Šç«¯ã®ç»çŽ ã§ãããšå€å®ããçŸåšã®åº§æšã察è§ç·ïŒ¬ïœã®åº§æšãšããŠèšæ¶ããŠïŒã¹ãããïŒïŒïŒïŒãçµäºããã
If
以äžã®å€å®åŠçãç»åã®äžç«¯ã«å°éããããäžç«¯ïœãšåæ§ã«åçš¿ç»åã®äžç«¯ïœâãç®åºããŠããã°ããã®ã©ã€ã³ãŸã§ã®èµ°æ»ãçµäºãããšå€å®ããããŸã§ç¹°ãè¿ãã The determination process described above is repeated until the bottom edge of the image is reached or, if the bottom edge t' of the original image has been calculated in the same way as the top edge t, it is determined that scanning up to that line has been completed.
次ã«å¯Ÿè§ç·ã®åº§æšããŒã¿ããç»åã®äŒžã³ãè£æ£ããåŠçã«ã€ããŠãå³ïŒãçšããŠèª¬æããããŸããã£ãªã¢ã·ãŒãã®å¯Ÿè§ç·ã®è§åºŠãããããããæ±ºããããã©ã€ã³æ°ã瀺ãå€Îã«ãããŠãåºæºå€åéÏã以äžã®ããã«æ±ããïŒïŒ³ïŒïŒïŒïŒããªãããã®åºæºå€åéÏã¯ãÎã©ã€ã³é²ãã æã«å¯Ÿè§ç·ãäž»èµ°æ»æ¹åã«äœç»çŽ å€åãããã瀺ãç»çŽ æ°ãæå³ããŠãããæŽæ°ã§ããããŸããäžè¿°ããåŠçã®èª¬æã«ãããŠã¯ã察è§ç·ãè€æ°ç»çŽ åã®å¹ ãæãããã®ãåæãšããŠå·Šç«¯ã®ç»çŽ ãæ€åºããããããçµãã ãã®ã察è§ç·ãšããŠæ±ã£ãŠåŠçããŠããã以äžã®èª¬æã«ãããŠã¯ç°¡ç¥åã®ããã«å®éã®å¯Ÿè§ç·ã®å·Šç«¯ãçµãã ãã®ã察è§ç·ãšç§°ããããšãããã Next, the process of correcting the stretch of the image from the diagonal coordinate data will be described with reference to FIG. First, at a value Î indicating the number of lines determined in advance from the diagonal angle of the carrier sheet, a reference amount of change Ï is obtained as follows (S401). The reference amount of change .sigma. is an integer and represents the number of pixels indicating how many pixels the diagonal line changes in the main scanning direction when advancing .DELTA. lines. Further, in the above explanation of the processing, it is assumed that the diagonal line has a width of a plurality of pixels, and the pixel on the left end is detected, and the line connecting them is treated as a diagonal line. For the sake of simplification, the line connecting the left ends of the actual diagonal lines is sometimes referred to as a diagonal line.
Ï ïŒ ïŒ¬ïœ+Î ïŒ ïŒ¬ïœ ã»ã»ã»ïŒåŒïŒïŒ Ï = L t + Î - L t (Formula 3)
æŽã«åïœã«å¯ŸããŠå€åéÏïœã以äžã®ããã«æ±ããïŒïŒ³ïŒïŒïŒïŒ ã Further, the amount of change Ï y for each y is obtained as follows (S402).
Ïïœ ïŒ ïŒ¬ïœ+Î ïŒ ïŒ¬ïœ ã»ã»ã»ïŒåŒïŒïŒ Ïy =Ly +Î â Ly (Formula 4)
次ã«ÏïœãÏãšæ¯èŒããÏïœã®æ¹ãå°ãããã©ããã確èªããïŒïŒ³ïŒïŒïŒïŒãÏïœã®æ¹ãå°ããå Žåã¯ç»åã䌞ã³ãŠãããšå€æããŠã䌞ã³éãè£æ£ããããŸããæ¬¡ã®åŒïŒãæºããÎâãæ±ããïŒïŒ³ïŒïŒïŒïŒã
Next, Ï y is compared with Ï to confirm whether Ï y is smaller (S403). If Ïy is smaller, it is determined that the image is stretched, and the stretch amount is corrected. First, Î' that satisfies the
Ï ïŒ ïŒ¬ïœ+Îâ ïŒ ïŒ¬ïœ ã»ã»ã»ïŒåŒïŒïŒ Ï = L y + Î' - L y (Formula 5)
ãããŠãïœã©ã€ã³ç®ããã®Îâã©ã€ã³ã®ã©ã€ã³ããŒã¿ãÎã©ã€ã³ã«ãªãããã«è£é¢ç»åããã³è¡šé¢ç»åã®åã座æšã«å¯ŸããŠçž®å°åŠçãè¡ãïŒïŒ³ïŒïŒïŒïŒãçž®å°åŠçã®äŸãšããŠãééãåçã«ãªãããã«éåŒãåŠçãæœããŠããã°ããã Then, reduction processing is performed on the same coordinates of the back side image and the front side image so that the line data of the Î' line from the y-th line becomes the Î line (S405). As an example of reduction processing, thinning processing may be performed so that the intervals become uniform.
ïŒïŒïŒã§Ïïœã®æ¹ãå°ãããªããšå€æãããå Žåã¯ãç»åã®äŒžã³ã¯ç¡ããšå€æããïŒïŒïŒãïŒïŒïŒã«é²ã¿ã次ã®ã©ã€ã³ãå€å®ãããïŒïŒïŒã§çµç«¯ã©ã€ã³ã§ããå Žåã«ã¯åŠçãçµäºããã If it is determined in S403 that Ïy is not smaller, it is determined that there is no image stretching, and the process advances to S406 and S407 to determine the next line. If it is the end line in S407, the process ends.
以äžã®åŠçãç»åãŸãã¯åçš¿é åã®äžç«¯ãŸã§è¡ãããšã§ãç»åã®äŒžã³ãè£æ£ããããšãã§ããã By performing the above processing up to the lower end of the image or document area, the image elongation can be corrected.
ããã§ãå³ïŒãå³ïŒã«ã¯ã以äžèª¬æããç»åã®äŒžã³ãè£æ£ããåŠçãããéã®è£é¢ç»åã®äŸã瀺ããŠããããªãã以äžã®èª¬æã«ãããŠã¯è£é¢ç»åã«å¯ŸããŠã®ã¿çž®å°åŠçãæœããªã©ã®èª¬æãããŠããããæ¬çºæã«ãããŠã¯ãè£é¢ç»åã®äœçœ®ã«å¯Ÿå¿ãã衚é¢ç»åã®äœçœ®ã«å¯ŸããŠåæ§ã®åŠçãæœããã®ã§ãããã説æã®ç°¡ç¥åã®ããã«ãã®èª¬æãçç¥ããŠããã«éããªãã Here, FIGS. 7 and 8 show an example of the back side image when performing the process of correcting the elongation of the image as described above. In the following description, only the back side image is subjected to reduction processing, but in the present invention, the same processing is performed to the position of the front side image corresponding to the position of the back side image. However, the description is simply omitted for the sake of simplification.
å³ïŒãå³ïŒã«ãããŠãããããã®å³ã®çžŠè»žã«ã©ã€ã³æ°ããæšªè»žã«äž»èµ°æ»æ¹åã®ç»çŽ æ°ã瀺ããŠãããå³ïŒã®å·ŠåŽã«ã¯ãåºæºå€åéÏã®äŸã瀺ãå³ã瀺ããŠããããã®äŸã ãšïŒã©ã€ã³ç®ããïŒã©ã€ã³ç®ãŸã§ã®ïŒã©ã€ã³ã§ïŒç»çŽ ããããã®ãåºæºå€åéÏãšããŠãããå³ïŒã®å³åŽãå³ïŒã«ã¯ãåŠçã®é çªã«æ²¿ã£ãŠå³ã瀺ããŠããã 7 and 8, the vertical axis indicates the number of lines, and the horizontal axis indicates the number of pixels in the main scanning direction. The left side of FIG. 7 shows an example of the reference change amount Ï. In this example, the reference change amount Ï is a shift of 5 pixels in 5 lines from the 4th line to the 9th line. The right side of FIG. 7 and FIG. 8 show diagrams in the order of processing.
ãŸããå³ïŒã®å³åŽäžæ®µã®å³ã¯ãåŠçã®éäžã®ç¶æ
ã瀺ããŠãããå³ïŒã®ïŒ³ïŒïŒïŒã®ïœãïŒãšããŠåŠçããŠããç¶æ
ã瀺ããŠããããã®ãšãåŒïŒã¯ãÏïœ ïŒ ïŒ¬ïœ+Î ïŒ ïŒ¬ïœ ïŒ ïŒãšãªããÏïœ ïŒ Ïã§ãããããïœãïŒã€ã€ã³ã¯ãªã¡ã³ãããã
First, the diagram on the upper right side of FIG. 7 shows a state in the middle of processing, and shows a state in which y in S402 of FIG. 6 is set to 3. At this time,
å³ïŒã®å³åŽäžæ®µã®å³ã«ç€ºãããã«ãïœïŒïŒãšãããšããåŒïŒã¯ãÏïœ ïŒ ïŒ¬ïœ+Î ïŒ ïŒ¬ïœ ïŒ ïŒãšãªã£ãŠããããã®ãšãã¯ãÏïœ ïŒ Ïã§ããã®ã§ãå³ïŒã®ïŒ³ïŒïŒïŒã§ïŒ¹ïœ
ïœãšãªããïŒïŒïŒã«é²ãã
As shown in the middle diagram on the right side of FIG. 7, when y=4,
å³ïŒã®å³åŽäžæ®µã®å³ã¯ãåŒïŒãæºããÎâãæ±ããããã«ÎãïŒã€å¢ãããç¶æ
ã瀺ããŠããããã®ç¶æ
ã§ã®åŒïŒã¯ãÏïœ ïŒ ïŒ¬ïœ+Î ïŒ ïŒ¬ïœ ïŒ ïŒãšãªã£ãŠããããšãããããã«ÎãïŒã€å¢ãããŠããã
The lower right diagram in FIG. 7 shows a state in which Î is increased by one to obtain Îâ² that satisfies
å³ïŒäžæ®µã®å³ã¯ããã«ã¿ãããã«ïŒã€å¢ãããç¶æ
ã瀺ããŠããããã®ãšãåŒïŒã¯ãÏïœ ïŒ ïŒ¬ïœ+Î ïŒ ïŒ¬ïœ ïŒ ïŒãšãªã£ãŠãããÏïœ ïŒ Ïãšãªã£ãŠãããå³ïŒã®ïŒ³ïŒïŒïŒã«é²ã¿ãçž®å°åŠçãå®è¡ãããã
The upper diagram of FIG. 8 shows a state in which delta is further increased by one, and
å³ïŒã®äžæ®µã®å³ã«ç€ºãäŸã§ã¯ãå³ïŒã®ïŒ³ïŒïŒïŒã®åŠçã§ãã«ã¿ãå¢ãããŠãã£ããšãã«Ïïœã®å€ãå€ãããªãã£ãïŒã©ã€ã³ç®ãšïŒïŒã©ã€ã³ç®ããã®ãŸãŸéåŒãããšã«ããçž®å°åŠçãå®è¡ããŠãããããã¯äžäŸã§ãããÏïœãå€ãããªãã©ã€ã³ïŒïŒã©ã€ã³ç®ããïŒïŒã©ã€ã³ç®ïŒã®ç»çŽ å€ãå¹³åãããªã©ã®åŠçã«ããçž®å°åŠçããŠãè¯ãã In the example shown in the middle diagram of FIG. 8, reduction processing is executed by thinning out the 9th and 10th lines for which the value of Ïy did not change when increasing the delta in the processing of S403 in FIG. are doing. This is just an example, and reduction processing may be performed by processing such as averaging the pixel values of lines in which Ïy does not change (8th to 10th lines).
çž®å°åŠçã®çµæãïŒã©ã€ã³ç®ãŸã§ã®ÏïœãÏãšäžèŽããŠããç¶æ ã§ãããå³ïŒã®ïŒ³ïŒïŒïŒã«é²ãã§æ³šç®ã©ã€ã³ãããããïŒã©ã€ã³ç®ããïŒïŒïŒã®åŠçãç¹°ãè¿ãã As a result of the reduction processing, Ïy up to the 4th line matches Ï, so the process proceeds to S406 in FIG. 6 to shift the target line and repeat the processing of S402 from the 5th line.
以äžã®ããã«åŠçãç¹°ãè¿ãããšã«ãã£ãŠã察è§ç·ãå«ãè£é¢ç»åãçšããŠåçš¿ç»åã®äŒžã³ãè£æ£ããããšãã§ããã By repeating the processing as described above, the elongation of the document image can be corrected using the back side image including the diagonal line.
ãªãã以äžèª¬æããå€åéÏïœã®æ¯èŒåŠçã«ãããŠãåïœã«ã€ããŠæ¯èŒãè¡ãããã«èª¬æããããïŒã©ã€ã³ä»¥äžã®æå®ééã§æ¯èŒåŠçãå®è¡ããŠãè¯ãããã®å Žåãçž®å°åŠçããéã«ãã®ãŸãŸæå®ééåäœã§çž®å°åŠçãããŠãè¯ãããã¹ãããïŒïŒïŒãã¹ãããïŒïŒïŒã®åŠçã®ã¿ãäžè¿°ããéãïŒã©ã€ã³ããšã«åŠçãããŠãè¯ããããã«ããã°ãæ¯èŒåŠçèªäœã¯æå®ééããšã«å®è¡ããŠåŠçæéãéãããšå ±ã«ãçž®å°åŠçã¯ã©ã€ã³åäœã§é©çšããããšãã§ããã In addition, in the comparison processing of the amount of change Ï y described above, the comparison is performed for each y, but the comparison processing may be performed at predetermined intervals of two or more lines. In that case, the reduction processing may be performed in units of a predetermined interval as it is during the reduction processing, or only the processing in steps S404 and S405 may be performed for each line as described above. According to this, the comparison process itself can be executed at predetermined intervals to shorten the processing time, and the reduction process can be applied in units of lines.
ãŸããäžè¿°ããçž®å°åŠçã«ãããŠãïŒã©ã€ã³åäœã§ã®éåŒãåŠçã§ã¯å€åéÏïœãÏã«äžèŽãããããªããšãã«ãè€æ°ã©ã€ã³åäœãŸãšããŠçž®å°åŠçãæœãããã«æ§æããŠãè¯ãã Further, in the reduction processing described above, when the amount of change Ï y cannot be matched with Ï by the thinning processing in units of one line, the reduction processing may be performed collectively in units of a plurality of lines.
ãŸããäžè¿°ããç»åã®äŒžã³ãè£æ£ããåŠçã«ãããŠãå€åéÏãäœç»çŽ å€åããããç€ºãæŽæ°ãšããŠæ±ãäŸã«ã€ããŠèª¬æããããããã«éãããªããäŸãã°ãÎã©ã€ã³é²ãã æã«äœç»çŽ å€åãããããåŸãÏïœãšããŠå°æ°ç¬¬äžäœçšåºŠãŸã§ã®ç»çŽ æ°ãšããŠæ±ã£ãŠãè¯ãããã®å Žåã«ã¯ãåã©ã€ã³éã®åŸããç®åºããŠãåŸããÏã«äžèŽããªãã©ã€ã³ããã¹ãŠç®åºãããããã®Ïã«å¯Ÿãã倧å°é¢ä¿ãçšããŠãåã©ã€ã³éã§ã®åŸãÏïœãÏã«äžèŽãããã¯ã§ããã ãè¿ã¥ãããã«æ¡çž®åŠçãè¡ã£ãŠãè¯ãã Also, in the processing for correcting the elongation of the image described above, an example has been described in which the amount of change Ï is treated as an integer indicating how many pixels have changed, but the present invention is not limited to this. For example, the number of pixels changed when advancing Î lines may be treated as the number of pixels up to about the first decimal place as the slope Ïy . It is also possible to calculate all the lines that do not match Ï and use the magnitude relation with respect to Ï to perform scaling processing so that the gradient Ïy between the lines matches or approaches Ï as much as possible.
ãŸããäžè¿°ããåŠçã«ãããŠã¯ããã£ãªã¢ã·ãŒããå«ããç»åå šäœã«å¯ŸããŠåŠçãè¡ã£ããã衚é¢ç»åããåçš¿ç»åé åãå€å®ãããã®åçš¿ç»åé åãããã¯ãã®åšå²ã«ããŒãžã³é åãèšããæå®ã®ç¯å²ã®ã¿ã«å¯ŸããŠäžé£ã®åŠçãé©çšããŠãæ§ããªãããã®å Žåãè£é¢ç»åã«ãããŠããŒã¯ïŒãèŠã€ãããªãå ŽåãããåŸããããã®å Žåã«ã¯æ¡çž®åŠçãé©çšããªããªã©ã®å€å®ã远å ããŠãè¯ãã In the above-described processing, the entire image including the carrier sheet is processed. However, the document image area is determined from the front surface image, and a predetermined range in which the document image area or a margin area is provided around the document image area is determined. A series of processes may be applied only to In that case, the mark M may not be found in the back side image, but in that case, additional determination may be made such as not applying the enlargement/reduction process.
æ¬å®æœäŸã§ã¯ããã£ãªã¢ã·ãŒãã®è£é¢ã«èšãããã察è§ç·ãïŒæ¬ã®ã¿ã§ããäŸãçšããŠèª¬æããããïŒæ¬ä»¥äžèšãããã®ã«å¯Ÿãåæ§ã«åŠçããŠãè¯ãã In this embodiment, an example in which only one diagonal line is provided on the back surface of the carrier sheet has been described, but two or more diagonal lines may be provided in the same manner.
ãŸãã察è§ç·ã§ãªããŠãè§åºŠã«ãã䌞ã³ãå€å¥ã§ããæç·ã§ãè¯ããäŸãã°ããã£ãªã¢ã·ãŒãã®è£é¢ã«çŽäº€ã§ãªããã€å¹³è¡ã§ãªãïŒæ¬ã®æç·ãåŒããŠãè¯ãã Also, instead of a diagonal line, a slanted line may be used so that the elongation can be determined based on the angle. For example, two non-perpendicular and non-parallel oblique lines may be drawn on the back surface of the carrier sheet.
ãããã«ããŠããè£é¢ç»åã«å«ãŸãããå¯èµ°æ»æ¹åã®äœçœ®ã«å¯Ÿãé£ç¶çã«åãåŸãã§äž»èµ°æ»æ¹åã®åº§æšäœçœ®ãå€åããçŽç·ç¶ã®ããŒã¯ïŒãçšããŠåçš¿ç»åã®äŒžã³ãè£æ£ãããã®ã§ããã°è¯ãããªããåçš¿ãæè¡ãããªã©ããŠæãã«èªã¿åãããŠããŸããšãæç·ã®è§åºŠãçšããŠåçš¿ã®æ¬éé床ïŒç»åã®äŒžã³ïŒãæ€åºããããšãã§ããªããªãæããããããïŒæ¬ã®æç·ãçšããããšã§ããããïŒæ¬ã¯å¿ ãè§åºŠãçšããŠåçš¿ã®æ¬ééåºŠãæ€åºãããŸãè£æ£ããããšãã§ããããªããå¯èµ°æ»æ¹åã®äœçœ®ã«å¯Ÿãé£ç¶çã«åãåŸãã§äž»èµ°æ»æ¹åã®åº§æšäœçœ®ãå€åããçŽç·ãšããŠãåçš¿ãæè¡ããå Žåã«ãã®åçš¿èªäœã®æ ã«å¯Ÿå¿ãã圱ããèªåèæ¯ãšã®æåºŠå·®ã§æ ã®æ€åºãå¯èœã§ããå Žåã«ã¯ããã®æ ç·ãçšããŠãè¯ãã In any case, the extension of the document image is corrected by using the linear mark M, which is included in the back side image and whose coordinate position in the main scanning direction changes continuously at the same inclination with respect to the position in the sub-scanning direction. Good to have. Note that if the document is read obliquely, for example, it may not be possible to detect the feeding speed of the document (image stretch) using the angle of the diagonal line. By using one of them, it is possible to detect and correct the conveying speed of the document by using the angle. As a straight line whose coordinate position in the main scanning direction changes continuously at the same inclination with respect to the position in the sub-scanning direction, when the document is skewed, the shadow corresponding to the frame of the document itself and the brightness of the reading background If the frame can be detected by the difference, the frame line may be used.
æ¬å®æœäŸã§ã¯ãç»åã®çž®å°åŠçãè¡ããšãã«éåŒãåŠçãè¡ã£ãããä»ã®çž®å°åŠçãè¡ã£ãŠãè¯ããäŸãã°ãåã©ã€ã³ããŒã¿ãå¹³ååããŠçž®å°åŠçãè¡ã£ãŠãè¯ãã In the present embodiment, thinning processing is performed when performing image reduction processing, but other reduction processing may be performed. For example, reduction processing may be performed by averaging each line data.
æ¬å®æœäŸã§ã¯ãè£é¢ç»åã®äŒžã³ãæ€åºãããšãã«è¡šé¢ã®åã座æšã«å¯ŸããŠçž®å°åŠçãè¡ã£ãããç»åèªåè£ çœ®ã®è¡šé¢ãšè£é¢ãšã®èªã¿åãäœçœ®ã®äœçœ®ããåã ããºã¬ãå Žæã«å¯ŸããŠçž®å°åŠçãè¡ãããã«ããŠãè¯ãããã®ããã«ããããšã§ã衚é¢ã®èªã¿åãã»ã³ãµãŒãšè£é¢ã®èªã¿åãã»ã³ãµãŒã®äœçœ®ããºã¬ãŠããŠãã衚é¢ç»åã®äŒžã³ã®äœçœ®ãæ£ç¢ºã«è£æ£ããããšãã§ããããŸããè£æ£åŠçã¯è¡šé¢ã«ã®ã¿è¡ããè£é¢ç»åã¯äŒžã³ã®æ€åºãè¡ã£ãåŸã§ç Žæ£ããŠãè¯ãã In this embodiment, when the elongation of the back side image is detected, the reduction process is performed for the same coordinates on the front side. Reduction processing may be performed. By doing so, even if the positions of the reading sensor on the front side and the reading sensor on the back side are misaligned, the stretched position of the front side image can be accurately corrected. Alternatively, the correction process may be performed only on the front side, and the back side image may be discarded after the elongation is detected.
æ¬å®æœäŸã§ã¯ãç»åã®äŒžã³ãæ€åºããããšã«å¯Ÿããçž®å°åŠçã®ã¿ãè¡ã£ãŠããããéã«ç»åã®çž®ã¿ãæ€åºããããšã«å¯Ÿãæ¡å€§åŠçãè¡ã£ãŠãè¯ããæ¡å€§åŠçãè¡ãå Žåã¯ãïŒïŒïŒã§ÎŽïœãšÎŽãæ¯èŒããŠÎŽïœã倧ããã£ãå Žåã«ãããŠããÎŽïœãšÎŽãšãåãã«ãªããããªÎâãæ±ããããã®åŸãÎâã©ã€ã³åã®ããŒã¿ããÎã©ã€ã³åã®ããŒã¿ããè£éåŠçãçšããŠåºåããã°ããããã®ããã«ããããšã§ãäŸãã°åé¢éšãªã©ã«ããæ¬éæµæãããã£ãŠãããšããããåçš¿åŸç«¯ãæããããšãªã©ã«ãã£ãŠæ¬éé床ãåœåããéããªãããšã§çºçããç»åã®çž®ã¿ã«ã察å¿ããããšãã§ããã In this embodiment, only reduction processing is performed in response to detection of image expansion, but conversely, enlargement processing may be performed in response to detection of image shrinkage. When the enlargement process is performed, Î' is obtained so that ÎŽy and ÎŽ are the same even when ÎŽy and ÎŽ are compared in S403 and ÎŽy is large. After that, the data for Î lines may be output from the data for Î' lines by interpolation processing. By doing so, for example, it is possible to cope with image shrinkage that occurs when the transport speed becomes faster than the original due to the trailing end of the original slipping off from the place where the transport resistance was applied by the separating portion or the like.
以äžèª¬æããããã«ãæ¬çºæã¯ããã£ãªã¢ã·ãŒãã®è£é¢ã«èšããããå¯èµ°æ»æ¹åã«å¯Ÿãé£ç¶çã«åãåŸãã§äž»èµ°æ»æ¹åã®åº§æšäœçœ®ãå€åããçŽç·ç¶ã®ããŒã¯ïŒãèªã¿åãããã®ããŒã¯ïŒãèªã¿åã£ãçµæã«åºã¥ããŠãåçš¿ç»åã®äŒžçž®ãæ€åºããåçš¿ã®ç»åã«å¯Ÿããæ¡çž®åŠçïŒæ¡å€§ãŸãã¯çž®å°åŠçïŒãè¡ããç»åã驿£ãªåçã«è£æ£ããããšãã§ããã As described above, according to the present invention, a linear mark M provided on the back surface of a carrier sheet and whose coordinate position in the main scanning direction changes continuously at the same inclination with respect to the sub-scanning direction is read, and the mark M is read. It is possible to detect the expansion/contraction of the original image based on the result of reading, and perform enlargement/reduction processing (enlargement or reduction processing) on the image of the original, thereby correcting the image to an appropriate magnification.
ãªããäžèšå®æœäŸã«ãããŠã¯ããã£ãªã¢ã·ãŒãã®è£é¢ã«èšããããããŒã¯ïŒã¯ãå¯èµ°æ»æ¹åïŒæ¬éæ¹åïŒã«å¯Ÿããäž»èµ°æ»æ¹åïŒå¹ æ¹åïŒã®äœçœ®ãåãåŸãã§ç·åœ¢ã«å€åãããã®ã«ã€ããŠèª¬æããããããã«éããããäºãããŒã¯ïŒã®åœ¢ç¶ãç»ååŠçéšïŒïŒïŒã«å ¥åãããŠããã°ã察æ°å€åãææ°å€åããããã¯ãã以å€ã«ãå調å¢å ãå調æžå°ããæ²ç·ã§ãã£ãŠãæ§ããªããããã«ãäºãç»ååŠçéšïŒïŒïŒã«å¯ŸããŠããŒã¯ïŒã®åœ¢ç¶ïŒçš®é¡ïŒãæå®ãããããã«æ§æãããŠããã°ãããŒã¯ïŒã¯å¿ ãããç·ç¶ã§ãªããŠãè¯ããäœããã®å³æãªã©ã§ãã£ãŠãè¯ããç»ååŠçéšïŒïŒïŒã¯ãäºãå ¥åãããããŒã¯ïŒã®åœ¢ç¶ãšã®éã§ãã¿ãŒã³ãããã³ã°ããããšãªã©ã§ãäžèŽããªãéšåã«ç»åã®äŒžã³ãçž®ã¿ãããããšãæ€åºããããšãã§ããããªããããŒã¯ïŒã®åœ¢ç¶ïŒçš®é¡ïŒã«ã€ããŠã¯ããã£ãªã¢ã·ãŒãèªäœã«èšããããä»ã®ããŒã¯ãªã©ãèªã¿åã£ãçµæã«åºã¥ããŠå€å®ããããã«æ§æããŠãè¯ãã In the above-described embodiment, the marks M provided on the back surface of the carrier sheet are linearly changed in position in the main scanning direction (width direction) with the same inclination with respect to the sub-scanning direction (conveyance direction). However, if the shape of the mark M is input to the image processing unit 103 in advance, it may be a logarithmic change, an exponential change, or a monotonically increasing or monotonically decreasing curve. Furthermore, as long as the shape (type) of the mark M is designated to the image processing unit 103 in advance, the mark M does not necessarily have to be linear, and may have some pattern. The image processing unit 103 can detect expansion or contraction of the image in a non-matching portion by performing pattern matching with the shape of the mark M input in advance. The shape (kind) of the mark M may be determined based on the results of reading other marks provided on the carrier sheet itself.
ïŒãïŒ ç»åèªåéš
ïŒïŒïŒ ç»åèªåè£
眮
ïŒïŒïŒ å¶åŸ¡éš
ïŒïŒïŒ ç»ååŠçéš
ïŒïŒïŒ ç»ååºåéš
ïŒ ããŒã¯
8, 9
Claims (3)
åèšãã£ãªã¢ã·ãŒãã®è£é¢ã«èšããããåèšãã£ãªã¢ã·ãŒããæ¬éãããæ¬éæ¹åã«å¯Ÿãé£ç¶çã«åãåŸãã§åèšæ¬éæ¹åãšçŽäº€ããå¹ æ¹åã®åº§æšäœçœ®ãå€åããçŽç·ç¶ã®ããŒã¯ãèªã¿åããåèšããŒã¯ã®èªã¿åãçµæã«åºã¥ããŠåèšåçš¿ã®ç»åã«å¯Ÿãæ¡çž®åŠçãè¡ãããšãç¹åŸŽãšããç»åèªåã·ã¹ãã ã In an image reading system having an image reading device that reads an image of a document through a surface of a carrier sheet conveyed with the document sandwiched therebetween,
reading a linear mark provided on the back surface of the carrier sheet and having coordinate positions in the width direction perpendicular to the conveying direction continuously changing at the same inclination with respect to the conveying direction in which the carrier sheet is conveyed; An image reading system, wherein an image of the document is enlarged or reduced based on the reading result.
3. The image reading system according to claim 1, wherein the marks are provided so as to form diagonal lines on the back surface of the carrier sheet.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021140933A JP2023034611A (en) | 2021-08-31 | 2021-08-31 | Image reading system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021140933A JP2023034611A (en) | 2021-08-31 | 2021-08-31 | Image reading system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2023034611A true JP2023034611A (en) | 2023-03-13 |
Family
ID=85503858
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021140933A Pending JP2023034611A (en) | 2021-08-31 | 2021-08-31 | Image reading system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2023034611A (en) |
-
2021
- 2021-08-31 JP JP2021140933A patent/JP2023034611A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104838641B (en) | The control method of image read-out, image processing system and image read-out | |
| US20090268264A1 (en) | Image processing apparatus, image scanning apparatus, and image processing method | |
| JP5341566B2 (en) | Image reading apparatus, control method therefor, and image reading system | |
| US20210073966A1 (en) | Image inspection device, image forming device, image inspection method and recording medium | |
| US9233568B1 (en) | Cross-process direction uniformity for wide format printers | |
| CN109769077B (en) | Reading apparatus and image producing method | |
| JP6686671B2 (en) | Image reading apparatus and image reading method | |
| US11343406B2 (en) | Image reading apparatus, image reading system, image reading method, and non-transitory computer-readable storage medium storing program | |
| JP2023034611A (en) | Image reading system | |
| US8717646B2 (en) | Image reading device capable of performing rotation process on read image appropriately | |
| JP4821718B2 (en) | Image forming system program and image forming system | |
| JP7414482B2 (en) | Image reading device and image processing device | |
| JP6252221B2 (en) | Image reading device | |
| US11082580B2 (en) | Mage processing device configured to determine skew, image processing method for determining skew, and storage medium storing image processing program for determining skew | |
| JP2016072833A (en) | Image reading device | |
| JP2011024055A (en) | Image reading apparatus and image processor | |
| JP5307661B2 (en) | Color misregistration determination apparatus, color misregistration correction apparatus, and image reading apparatus | |
| JP2018098527A (en) | Original reading device, control method of original reading device, image formation device | |
| JP2022178349A (en) | Image reading device, image processing method and program | |
| JP2016116128A (en) | Image processing system and method for the same | |
| US11979540B2 (en) | Image reading system, image reading method, non-transitory computer-readable storage medium for correcting a size and position of an image to be displayed | |
| JP7594406B2 (en) | Image reader | |
| JP6344062B2 (en) | Image reading apparatus, image forming apparatus, and image processing method | |
| JP2021078009A (en) | Image reading device and image processing apparatus | |
| JP2024158267A (en) | Image processing device and image processing system |