JP4124219B2 - Image processing system - Google Patents

Image processing system Download PDF

Info

Publication number
JP4124219B2
JP4124219B2 JP2005223821A JP2005223821A JP4124219B2 JP 4124219 B2 JP4124219 B2 JP 4124219B2 JP 2005223821 A JP2005223821 A JP 2005223821A JP 2005223821 A JP2005223821 A JP 2005223821A JP 4124219 B2 JP4124219 B2 JP 4124219B2
Authority
JP
Japan
Prior art keywords
scan
image
area
shadow
scan area
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
JP2005223821A
Other languages
Japanese (ja)
Other versions
JP2006092527A (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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2005223821A priority Critical patent/JP4124219B2/en
Publication of JP2006092527A publication Critical patent/JP2006092527A/en
Application granted granted Critical
Publication of JP4124219B2 publication Critical patent/JP4124219B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Input (AREA)
  • Facsimile Scanning Arrangements (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Image Analysis (AREA)

Description

本発明は画像処理システム及び画像処理方法に関し、特にスキャン画像の補正に関する。   The present invention relates to an image processing system and an image processing method, and more particularly to correction of a scanned image.

従来、コンパクトディスク(CD)のレーベルをコピーできる、画像読み取り機能と印刷機能とを備えた所謂フラットベッド型の複合機が知られている(例えば特許文献1、2参照)
しかし、従来の複合機では、原稿台に載置され原稿台の下方から照明されたCDの影が原稿マットに写り、その影が印刷媒体としてのCDレーベルに印刷されるという問題があった。また従来の複合機では、一般に、読み取り時のサンプリングピッチが主走査方向と副走査方向とでわずかに異なるため、オリジナルのCDレーベルの画像に対してCDレーベルのハードコピーの画像が歪むという問題があった。さらにこのことが原因となって、CDレーベルのハードコピーによって得られたCDでは、意図しない余白がCDレーベルに形成されたり、レーベル領域以外の領域にインクが付着するという問題があった。
2. Description of the Related Art Conventionally, a so-called flatbed type multi-function machine having an image reading function and a printing function capable of copying a compact disc (CD) label is known (for example, see Patent Documents 1 and 2).
However, the conventional multifunction peripheral has a problem that the shadow of the CD placed on the document table and illuminated from below the document table appears on the document mat, and the shadow is printed on the CD label as a printing medium. Further, in the conventional multifunction peripheral, generally, since the sampling pitch at the time of reading is slightly different between the main scanning direction and the sub-scanning direction, the hard copy image of the CD label is distorted with respect to the original CD label image. there were. Furthermore, due to this, a CD obtained by hard copy of a CD label has a problem that an unintended margin is formed on the CD label or ink is attached to an area other than the label area.

特開2004−199489号公報JP 2004-199489 A 特開2003−1873号公報JP 2003-1873 A

本発明は、上述の問題に鑑みて創作されたものであって、既知のスキャン対象物の影が減るようにスキャン画像を補正できる画像処理システムを提供することを目的とする。   The present invention has been created in view of the above-described problems, and an object thereof is to provide an image processing system capable of correcting a scan image so that the shadow of a known scan object is reduced.

上記目的を達成するための本発明による画像処理システムは、原稿台に載置され原稿マットに覆われ前記原稿台の盤面の垂線と特定角度をなす方向から照明された対象物から読み取られたスキャン画像を取得する画像取得手段と、前記スキャン画像に基づいて、前記対象物と前記対象物の厚さから生じる影とからなる領域に外接する矩形の第一スキャン領域を特定する手段と、規格で外形が定められた円形の既知対象物であるディスク型記憶媒体の直径に関する情報及び、前記ディスク型記憶媒体の厚さと前記特定角度とに応じて予め決められている影情報が格納されている記憶手段と、規格で外形が定められた円形の既知対象物であるディスク型記憶媒体のレーベル面に画像を形成する画像形成手段と、前記第一スキャン領域の寸法と前記記憶手段に格納された前記ディスク型記憶媒体の直径に関する情報との比較に基づいて、前記対象物が前記既知対象物であるか否かを判定する判定手段と、前記判定手段により前記対象物が前記既知対象物であると判定された場合に、前記既知対象物の厚さから生じる影に対応する影領域の一部を前記影情報に基づいて前記第一スキャン領域から除いた第二スキャン領域を特定する第二スキャン領域特定手段と、前記判定手段により前記対象物が前記既知対象物ではないと判定された場合に、前記第一スキャン領域の重心を重心とし前記第一スキャン領域に内接する正方形の領域を特定するスキャン領域特定手段とを備える。
対象物が相当の厚さを持つものである場合、その対象物が照明されて読み取られる際に、その対象物の影が画像として読み取られる。対象物と読み取り時の照明環境とが既知であれば、対象物の影の形状を推定することができる。本発明によると、既知対象物に対応する第一スキャン領域をスキャン画像に基づいて特定した上で第一スキャン領域から既知対象物の影に対応すると推定される影領域の一部を除いた第二スキャン領域を特定するため、既知対象物の影が減るようにスキャン画像を補正することができる。尚、スキャン領域は、スキャン画像が定義される座標平面上で定義してもよいし、読み取り領域が定義される座標平面上で定義してもよい。
In order to achieve the above object, an image processing system according to the present invention includes a scan read from an object placed on a document table and covered with a document mat and illuminated from a direction that makes a specific angle with a perpendicular to the surface of the document table. An image acquisition means for acquiring an image, a means for specifying a rectangular first scan area circumscribing an area composed of the object and a shadow resulting from the thickness of the object based on the scan image, and a standard Information on the diameter of a disk-type storage medium, which is a known circular object whose outer shape is defined, and a memory in which shadow information predetermined according to the thickness of the disk-type storage medium and the specific angle is stored Means, an image forming means for forming an image on a label surface of a disk-type storage medium which is a circular known object whose outer shape is defined by a standard, the dimensions of the first scan area, and the A determination unit that determines whether or not the object is the known object based on a comparison with information relating to a diameter of the disk-type storage medium stored in a storage unit; and the determination unit determines whether the object is A second scan area obtained by removing a part of a shadow area corresponding to a shadow generated from the thickness of the known object from the first scan area based on the shadow information when it is determined that the object is the known object A second scan area specifying means for specifying the first scan area, and a center of gravity of the first scan area as a center of gravity when the determination means determines that the object is not the known object. Scan area specifying means for specifying a square area.
When the object has a considerable thickness, the shadow of the object is read as an image when the object is illuminated and read. If the object and the lighting environment at the time of reading are known, the shadow shape of the object can be estimated. According to the present invention, the excluding part of the shadow area which is estimated to correspond to the shadow of the known object from the first scan area on identified based on first scan area corresponding to the known object in the scanned image In order to identify the two scan areas , the scan image can be corrected so that the shadow of the known object is reduced . The scan area may be defined on the coordinate plane where the scan image is defined, or may be defined on the coordinate plane where the reading area is defined.

前記画像処理システムは、予め決められた歪み補正情報に基づいて前記第二スキャン領域内の前記スキャン画像の縦方向の長さと横方向の長さの比を拡大縮小により補正する歪み補正手段をさらに備えてもよい。
一般に、原稿読み取り時のサンプリング間隔とスキャン画像の画素の表示間隔の比は、主走査方向と副走査方向とでわずかに異なっている。したがって一般に、スキャン画像によって表示される対象物の縦横比と、現実の対象物の縦横比とはわずかに異なっている。原稿読み取り時のサンプリング間隔とスキャン画像の画素の表示間隔の対応関係が主走査方向及び副走査方向についてそれぞれ既知であれば、その対応関係に応じてサンプリング間隔とスキャン画像の画素の表示間隔の比が主走査方向と副走査方向とで一致するようにスキャン画像の歪みを補正することができる。本発明によると、予め決められた歪み補正情報に基づいて既知対象物に対応する第二スキャン領域の縦方向の長さと横方向の長さの比を拡大縮小により補正する。このため本発明によると、スキャン画像によって表示される既知対象物の縦横比を現実の対象物の縦横比と正確に一致させることができる。尚、本明細書では、印刷表示及び画面表示の両方を含む意味で「表示」を用いる。
The image processing system further includes a distortion correction unit that corrects a ratio of a length in a vertical direction and a length in a horizontal direction of the scanned image in the second scan region by enlarging or reducing based on predetermined distortion correction information. You may prepare.
In general, the ratio between the sampling interval at the time of document reading and the display interval of the pixels of the scanned image is slightly different between the main scanning direction and the sub-scanning direction. Therefore, in general, the aspect ratio of the object displayed by the scanned image is slightly different from the aspect ratio of the actual object. If the correspondence between the sampling interval during document reading and the display interval of the scan image pixels is known in the main scanning direction and the sub-scanning direction, the ratio of the sampling interval and the scan image pixel display interval according to the correspondence relationship Can be corrected so that the main scanning direction and the sub-scanning direction coincide with each other. According to the present invention, the ratio between the length in the vertical direction and the length in the horizontal direction of the second scan region corresponding to the known object is corrected by enlargement / reduction based on predetermined distortion correction information. For this reason, according to the present invention, the aspect ratio of the known object displayed by the scan image can be exactly matched with the aspect ratio of the actual object. In this specification, “display” is used to include both print display and screen display.

尚、本発明に備わる複数の手段の各機能は、構成自体で機能が特定されるハードウェア資源、プログラムにより機能が特定されるハードウェア資源、又はそれらの組み合わせにより実現される。また、これら複数の手段の各機能は、各々が物理的に互いに独立したハードウェア資源で実現されるものに限定されない。
また、本発明は装置及び方法の発明として特定できるだけでなく、プログラムの発明としても、そのプログラムを記録した記録媒体の発明としても特定することができる。
The functions of the plurality of means provided in the present invention are realized by hardware resources whose functions are specified by the configuration itself, hardware resources whose functions are specified by a program, or a combination thereof. The functions of the plurality of means are not limited to those realized by hardware resources that are physically independent of each other.
In addition, the present invention can be specified not only as an apparatus and method invention, but also as a program invention and a recording medium recording the program.

以下、複数の実施例に基づいて本発明の実施の形態を説明する。各実施例において同一の符号が付された構成要素は、その符号が付された他の実施例の構成要素と対応する。
(第一実施例)
図2は、本発明による画像処理システムの第一実施例としての複合機1の外観を示す斜視図である。図3は、複合機1を示すブロック図である。図4は、複合機1のスキャンユニット50の構造を示す模式図である。複合機1は、図示しないパーソナルコンピュータ(PC)に原稿を読み取った画像データを出力する機能と、リムーバブルメモリ24又はPCから入力した画像データを印刷する機能と、原稿を読み取った画像データを印刷する機能とを有する。
Embodiments of the present invention will be described below based on a plurality of examples. In each of the embodiments, the component having the same reference sign corresponds to the component of the other embodiment having the reference sign.
(First Example)
FIG. 2 is a perspective view showing the external appearance of the multi function device 1 as the first embodiment of the image processing system according to the present invention. FIG. 3 is a block diagram showing the multifunction device 1. FIG. 4 is a schematic diagram showing the structure of the scan unit 50 of the multifunction machine 1. The multi-function device 1 prints image data read from a document to a personal computer (PC) (not shown), a function to print image data input from the removable memory 24 or the PC, and prints image data read from the document. With functions.

読み取り手段としてのスキャンユニット50は、上部ケース18に収容され、光源52、イメージセンサ54、AFE(Analog Front End)部56、センサ駆動部74、センサキャリッジ駆動部76等を備える。光源52は、主走査方向に長い蛍光管ランプ等で構成される。センサ駆動部74に駆動されるイメージセンサ54は、RGBの3チャネルの受光素子を備えるカラーCCDリニアイメージセンサ等のリニアイメージセンサである。イメージセンサ54は、透明な原稿台16と平行に移動するセンサキャリッジ96に搭載されている。イメージセンサ54は、レンズ98及びミラー100により受光面に結像される対象物92の光学像の濃淡に相関する電気信号を出力する。センサキャリッジ駆動部76は、図示しないモータ、駆動ベルト、駆動回路等を備える。センサキャリッジ駆動部76は、主走査領域の長手方向に垂直に架設された図示しないガイドロッドに沿ってセンサキャリッジ96を往復移動させる。イメージセンサ54が主走査領域の長手方向に垂直な方向に移動することにより二次元画像を読み取り可能となる。AFE部56は、増幅、ノイズ除去等のアナログ信号処理部、A/D変換器等を備える。尚、スキャンユニット50は、上述したレンズ縮小型の構成であってもよいし、密着型の構成であってもよい。   A scanning unit 50 as a reading unit is housed in the upper case 18 and includes a light source 52, an image sensor 54, an AFE (Analog Front End) unit 56, a sensor driving unit 74, a sensor carriage driving unit 76, and the like. The light source 52 is composed of a fluorescent tube lamp or the like that is long in the main scanning direction. The image sensor 54 driven by the sensor driving unit 74 is a linear image sensor such as a color CCD linear image sensor having RGB light receiving elements of three channels. The image sensor 54 is mounted on a sensor carriage 96 that moves in parallel with the transparent document table 16. The image sensor 54 outputs an electrical signal correlated with the density of the optical image of the object 92 formed on the light receiving surface by the lens 98 and the mirror 100. The sensor carriage drive unit 76 includes a motor, a drive belt, a drive circuit, etc. (not shown). The sensor carriage drive unit 76 reciprocates the sensor carriage 96 along a guide rod (not shown) installed perpendicularly to the longitudinal direction of the main scanning region. The image sensor 54 moves in a direction perpendicular to the longitudinal direction of the main scanning region, so that a two-dimensional image can be read. The AFE unit 56 includes an analog signal processing unit such as amplification and noise removal, an A / D converter, and the like. The scan unit 50 may have the above-described lens reduction type configuration or a close-contact type configuration.

複合機1のプリントユニット86は、下部ケース20に収容され、インクジェット方式で印刷媒体に画像を形成するための記録ヘッド84、ヘッド駆動部82、ヘッドキャリッジ駆動部78、送紙部80等を備える。尚、プリントユニット86はレーザ方式等の他の印刷方式に対応する構成でもよい。記録ヘッド84は、インクカートリッジが搭載される図示しないヘッドキャリッジに設けられ、ノズル、ピエゾ素子、インク通路等を備える。ヘッドキャリッジ駆動部78は、図示しないモータ、駆動ベルト、駆動回路等を備える。ヘッドキャリッジ駆動部78は、印刷媒体の搬送方向と垂直に記録ヘッド84を往復移動させる。送紙部80は、図示しない用紙搬送ローラ、モータ、駆動回路等を備える。送紙部80は、用紙搬送ローラを回転させることにより用紙及びCDトレイ28(図2参照)を記録ヘッド84の移動方向軸線と垂直な方向に搬送する。プリントユニット86はCDトレイ28を搬送し、CDトレイ28の位置決め部30に位置決めされたCDのレーベル面に画像を形成可能な構成である。   The print unit 86 of the multifunction machine 1 is housed in the lower case 20 and includes a recording head 84, a head driving unit 82, a head carriage driving unit 78, a paper feeding unit 80, and the like for forming an image on a printing medium by an inkjet method. The print unit 86 may be configured to support other printing methods such as a laser method. The recording head 84 is provided on a head carriage (not shown) on which an ink cartridge is mounted, and includes a nozzle, a piezo element, an ink passage, and the like. The head carriage drive unit 78 includes a motor, a drive belt, a drive circuit, and the like (not shown). The head carriage drive unit 78 reciprocates the recording head 84 in the direction perpendicular to the print medium conveyance direction. The paper feeding unit 80 includes a paper transport roller, a motor, a drive circuit, and the like (not shown). The paper feeding unit 80 conveys the paper and the CD tray 28 (see FIG. 2) in a direction perpendicular to the moving direction axis of the recording head 84 by rotating the paper carrying roller. The print unit 86 is configured to convey the CD tray 28 and form an image on the label surface of the CD positioned on the positioning unit 30 of the CD tray 28.

外部メモリコントローラ70は、カードスロット22(図2参照)に挿入されるリムーバブルメモリ24に接続される。リムーバブルメモリ24に格納されたデータは外部メモリコントローラ70によって読み出され、RAM60に転送される。
操作部68は、メニューを表示するためのLCD34と、メニューを操作するための選択キー、決定キー、キャンセルキー等の各種の押しボタン36、38、40を備える。
The external memory controller 70 is connected to the removable memory 24 inserted into the card slot 22 (see FIG. 2). Data stored in the removable memory 24 is read by the external memory controller 70 and transferred to the RAM 60.
The operation unit 68 includes an LCD 34 for displaying a menu and various push buttons 36, 38, and 40 such as a selection key, a determination key, and a cancel key for operating the menu.

制御部58は、RAM60、ROM62、CPU64及びディジタル画像処理部66を備える。CPU64はRAM60に格納されている制御プログラムを実行して複合機1の各部を制御する。ROM62は、制御プログラムを格納している不揮発性メモリである。RAM60は、制御プログラムやスキャン画像等の各種のデータが一時的に格納される揮発性メモリである。制御プログラムは遠隔地のサーバからネットワークを経由してROM62に格納してもよいし、リムーバブルメモリ24等のコンピュータ読み取り可能な記憶媒体を経由してROM62に格納してもよい。ディジタル画像処理部66は、読み取り手段と印刷手段の一部を構成し、スキャン画像に対するガンマ補正、解像度変換、画像のカラーバランス補正、二値化、色空間の変換等の画像処理をCPU64と協働して実行するDSP等の専用回路である。   The control unit 58 includes a RAM 60, a ROM 62, a CPU 64, and a digital image processing unit 66. The CPU 64 executes a control program stored in the RAM 60 to control each unit of the multifunction device 1. The ROM 62 is a non-volatile memory that stores a control program. The RAM 60 is a volatile memory that temporarily stores various data such as control programs and scanned images. The control program may be stored in the ROM 62 via a network from a remote server, or may be stored in the ROM 62 via a computer-readable storage medium such as the removable memory 24. The digital image processing unit 66 forms part of a reading unit and a printing unit, and cooperates with the CPU 64 for image processing such as gamma correction, resolution conversion, image color balance correction, binarization, and color space conversion for a scanned image. It is a dedicated circuit such as a DSP that operates and executes.

以上、複合機1のハードウェア構成を説明した。次に、スキャン画像に表れる影について説明する。
図4に示すように、光源52は、イメージセンサ54から原稿台16の盤面に到る光路から外れた位置に設けられる。また光源52は、特定位置にあるイメージセンサ54に結像される領域である原稿台16上の主走査領域を原稿台16の盤面の垂線と特定の角度をなす方向から照明する。このため、対象物92が厚い場合、光源52に照明された対象物92の影が原稿カバー10に固定された原稿マット90に形成され、この影がスキャン画像に表れる。
The hardware configuration of the multifunction machine 1 has been described above. Next, a shadow appearing in the scanned image will be described.
As shown in FIG. 4, the light source 52 is provided at a position off the optical path from the image sensor 54 to the surface of the document table 16. The light source 52 illuminates a main scanning area on the document table 16 that is an image formed on the image sensor 54 at a specific position from a direction that forms a specific angle with a perpendicular to the surface of the document table 16. For this reason, when the object 92 is thick, a shadow of the object 92 illuminated by the light source 52 is formed on the original mat 90 fixed to the original cover 10, and this shadow appears in the scanned image.

図5は、複合機1の制御プログラムを示すブロック図である。
スキャン制御モジュール102は、制御部58を画像取得手段として機能させるプログラム部品である。スキャン制御モジュール102は、読み取り開始要求に応じてスキャンユニット50を制御し、スキャン画像をRAM60に格納する。
CDレーベル処理モジュール104は、制御部58を第一スキャン領域特定手段、認識手段、第二スキャン領域特定手段及び歪み補正手段として機能させるプログラム部品である。
FIG. 5 is a block diagram illustrating a control program of the multifunction machine 1.
The scan control module 102 is a program component that causes the control unit 58 to function as an image acquisition unit. The scan control module 102 controls the scan unit 50 in response to the reading start request and stores the scanned image in the RAM 60.
The CD label processing module 104 is a program component that causes the control unit 58 to function as a first scan region specifying unit, a recognition unit, a second scan region specifying unit, and a distortion correcting unit.

CDレーベル処理モジュール104は、1回目の読み取りによって取得される低解像度のスキャン画像の領域分割により第一スキャン領域を特定する。以下、1回目の読み取りによって取得される低解像度のスキャン画像を第一スキャン画像という。領域分割には原稿マット90に対応する画素の濃淡レベルから所定のマージンを差し引いたレベルのしきい値を用いる。CDレーベル処理モジュール104は、第一スキャン画像の特徴解析により対象物がCDであることを認識する。特徴解析では、例えば第一スキャン領域の形状がCDの規格寸法に対応しているか否かを解析する。   The CD label processing module 104 identifies the first scan area by dividing the low resolution scan image obtained by the first reading. Hereinafter, the low-resolution scan image acquired by the first reading is referred to as a first scan image. A threshold value of a level obtained by subtracting a predetermined margin from the gray level of the pixel corresponding to the original mat 90 is used for area division. The CD label processing module 104 recognizes that the object is a CD through feature analysis of the first scan image. In the feature analysis, for example, it is analyzed whether or not the shape of the first scan region corresponds to the standard size of the CD.

CDレーベル処理モジュール104は、2回目の読み取りによって取得される高解像度のスキャン画像の第二スキャン領域の外側に対応する領域をクリップ情報に基づいて削除する。以下、2回目の読み取りによって取得される高解像度のスキャン画像を第二スキャン画像という。クリップ情報は、副走査方向と、光源52から主走査領域に到る光路と主走査領域からイメージセンサ54に到る光路とがなす角度と、規格寸法として規定されているCDの直径と、厚さとに応じて設定され、予めROM62に格納されている情報である。クリップ情報は、CDのスキャン画像上の直径に対して何パーセントの最大幅でCDに対して副走査方向の前後どちら側にスキャン画像に影が表れているかを特定する情報である。クリップ情報は、CDの読み取り解像度が任意であれば比率で設定し、CDの読み取り解像度が既知であれば画素数で設定することができる。   The CD label processing module 104 deletes an area corresponding to the outside of the second scan area of the high-resolution scan image acquired by the second reading based on the clip information. Hereinafter, the high-resolution scan image acquired by the second reading is referred to as a second scan image. The clip information includes the sub-scanning direction, the angle formed by the optical path from the light source 52 to the main scanning area and the optical path from the main scanning area to the image sensor 54, the diameter of the CD defined as the standard dimension, and the thickness. The information is set in accordance with the information stored in the ROM 62 in advance. The clip information is information for specifying what percentage of the maximum width with respect to the diameter of the scanned image of the CD and which shadow appears in the scanned image on either side of the CD in the sub-scanning direction. The clip information can be set by a ratio if the reading resolution of the CD is arbitrary, and can be set by the number of pixels if the reading resolution of the CD is known.

CDレーベル処理モジュール104は、印刷解像度に応じて第二スキャン画像を拡大縮小する。このときCDレーベル処理モジュール104は、歪み補正情報に基づいて縦横異なる倍率で第二スキャン画像を拡大縮小し、印刷解像度と印刷領域のサイズに応じた大きさの正方形に第二スキャン画像を変形する。歪み補正情報は、読み取り時の主走査方向のサンプリング間隔と副走査方向のサンプリング間隔の比に応じて設定され、予めROM62に格納されている情報である。表示時の画素間隔は主走査方向と副走査方向とで等しいものとして歪み補正情報は設定されている。このため、読み取り時の主走査方向のサンプリング間隔と副走査方向のサンプリング間隔との比に応じて第二スキャン画像を拡大縮小することにより、現実の対象物の縦横比と表示された対象物の縦横比とを一致させることができる。   The CD label processing module 104 enlarges / reduces the second scan image according to the print resolution. At this time, the CD label processing module 104 enlarges / reduces the second scan image at different magnifications based on the distortion correction information, and transforms the second scan image into a square having a size corresponding to the print resolution and the size of the print area. . The distortion correction information is information that is set according to the ratio of the sampling interval in the main scanning direction and the sampling interval in the sub-scanning direction at the time of reading, and is stored in the ROM 62 in advance. The distortion correction information is set so that the pixel interval during display is the same in the main scanning direction and the sub-scanning direction. For this reason, the aspect ratio of the actual object and the aspect ratio of the displayed object are obtained by scaling the second scan image according to the ratio of the sampling interval in the main scanning direction and the sampling interval in the sub-scanning direction at the time of reading. The aspect ratio can be matched.

CDレーベル処理モジュール104は、予めROM62に格納されているテンプレートと第二スキャン画像とに基づいて印刷対象ページを生成する。このテンプレートは、CDレーベルの形状に対応したマスクと、第二スキャン画像とマスクとをページ上の所定の位置で重ねるための位置情報とで構成されている。マスクは印刷非対象画素を印刷不要画素として設定するための二次元配列の情報である。   The CD label processing module 104 generates a print target page based on the template and the second scan image stored in advance in the ROM 62. This template includes a mask corresponding to the shape of the CD label, and position information for overlapping the second scan image and the mask at a predetermined position on the page. The mask is two-dimensional array information for setting non-printing target pixels as printing unnecessary pixels.

プリント制御モジュール106は、制御部58及びプリントユニット86を印刷手段、印刷データ生成手段として機能させるプログラム部品である。プリント制御モジュール106は、印刷対象ページの色空間をインクの色空間であるCMYK等の色空間に変換する処理、二値化処理、インタレース処理等を施して印刷データを生成し、印刷データに基づいてプリントユニット86を制御する。   The print control module 106 is a program component that causes the control unit 58 and the print unit 86 to function as printing means and print data generation means. The print control module 106 generates print data by performing a process of converting the color space of the print target page into a color space such as CMYK which is an ink color space, a binarization process, an interlace process, and the like. Based on this, the print unit 86 is controlled.

図6は、上述した制御プログラムを制御部58で実行する複合機1による画像処理方法を示すフローチャートである。図6に示す処理は、所定のメニュー操作により複合機1がCDコピーモードに遷移すると開始される。
ステップS100では、制御部58は、スキャン制御モジュール102を実行し、所定のメニュー操作によりCDコピー開始要求が受け付けられると、原稿台16上の読み取り可能範囲全体をスキャンユニット50に低解像度で読み取らせ、第一スキャン画像をRAM60に格納する。図1(A)は、原稿台16にCDが載置されている状態で取得された第一スキャン画像110を表している。第一スキャン画像110には、CD114とCDの影116とが表れる。図7(A)は、原稿台16に紙等の薄い対象物が載置されている状態で取得された第一スキャン画像130を表している。第一スキャン画像130には、薄い対象物132が表れ、対象物132の影は表れない。
FIG. 6 is a flowchart showing an image processing method by the multifunction machine 1 that executes the above-described control program by the control unit 58. The process shown in FIG. 6 is started when the multi-function device 1 transitions to the CD copy mode by a predetermined menu operation.
In step S100, the control unit 58 executes the scan control module 102 and, when a CD copy start request is received by a predetermined menu operation, causes the scan unit 50 to read the entire readable range on the document table 16 at a low resolution. The first scan image is stored in the RAM 60. FIG. 1A shows a first scan image 110 acquired with a CD placed on the document table 16. In the first scanned image 110, a CD 114 and a CD shadow 116 appear. FIG. 7A shows the first scan image 130 acquired in a state where a thin object such as paper is placed on the document table 16. In the first scan image 130, a thin object 132 appears, and no shadow of the object 132 appears.

ステップS102では、制御部58は、CDレーベル処理モジュール104を実行し、第一スキャン画像の領域分割により対象物114、132及び影116の領域を特定し、さらに対象物114、132の領域と影116の領域を合併した領域に外接する矩形に対応する第一スキャン領域112、134を特定する。対象物がCDである場合、CDの影116に対応する領域の濃淡レベルは原稿マット90に対応する領域の濃淡レベルよりも相当低いため、図1(A)に示すように、第一スキャン領域112にはCD114とCDの影116とに対応する領域が含まれることとなる。尚、図1、図7では第一スキャン画像110、130及び第二スキャン画像113、135に重ねて第一スキャン領域112、134、第二スキャン領域115、137を図示しているが、実際には第一スキャン領域112、134、第二スキャン領域115、137は原稿台16の盤面上の領域である。次に制御部58は、第一スキャン領域112、134を2回目の読み取り領域として設定する。尚、対象物114、132の領域を特定する方法として、濃淡レベルのしきい値を用いた領域分割以外に、エッジ検出を用いてもよい。 In step S102, the control unit 58 executes the CD label processing module 104, identifies the areas of the objects 114 and 132 and the shadow 116 by area division of the first scan image, and further, the area and shadow of the objects 114 and 132. The first scan areas 112 and 134 corresponding to the rectangle circumscribing the area where the areas 116 are merged are identified. When the object is a CD, the gray level of the area corresponding to the shadow 116 of the CD is considerably lower than the gray level of the area corresponding to the original mat 90, and therefore, as shown in FIG. 112 includes an area corresponding to the CD 114 and the shadow 116 of the CD. 1 and 7 show the first scan areas 112 and 134 and the second scan areas 115 and 137 superimposed on the first scan images 110 and 130 and the second scan images 113 and 135. The first scan areas 112 and 134 and the second scan areas 115 and 137 are areas on the surface of the document table 16. Next, the control unit 58 sets the first scan areas 112 and 134 as the second reading area. In addition, as a method for specifying the regions of the objects 114 and 132, edge detection may be used in addition to region division using a gray level threshold.

ステップS104では、制御部58は、CDレーベル処理モジュール104を実行し、第一スキャン領域112、134の寸法に基づいて対象物がCDであるかCD以外であるかを判定する。具体的には例えば、制御部58は、第一スキャン領域112、134の寸法が12cm(±3%)×12cm(±3%)であるか否かによって対象物がCDであるかCD以外であるかを判定する。制御部58は対象物がCDであると判定するとステップS106の処理に進み、CD以外であると判定するとステップS118の処理に進む。尚、対象物がCDであることを特定するために用いるCDの特徴としては、外形寸法以外に、例えば中心部に円形開口部があること等を利用できる。特徴解析により対象物を特定することにより、対話モードでユーザに対象物を特定させる必要が無くなり、複合機1の操作手順を低減することができる。   In step S <b> 104, the control unit 58 executes the CD label processing module 104 and determines whether the object is a CD or a non-CD based on the dimensions of the first scan areas 112 and 134. Specifically, for example, the control unit 58 determines whether the object is a CD or other than a CD depending on whether or not the dimensions of the first scan regions 112 and 134 are 12 cm (± 3%) × 12 cm (± 3%). Determine if there is. If the control unit 58 determines that the object is a CD, the process proceeds to step S106. If the control unit 58 determines that the object is not a CD, the control unit 58 proceeds to step S118. As a feature of the CD used for specifying that the object is a CD, it is possible to use, for example, the presence of a circular opening at the center other than the outer dimensions. By specifying the object by feature analysis, it is not necessary for the user to specify the object in the interactive mode, and the operation procedure of the multifunction machine 1 can be reduced.

ステップS106及びステップS118では、制御部58は、スキャン制御モジュール102を実行し、ステップS102で設定された読み取り領域を高解像度でスキャンユニット50に読み取らせ、第二スキャン画像をRAM60に格納する。図1(B)は原稿台16にCDが載置された状態で取得された第二スキャン画像113を表している。第二スキャン画像113には、CD114とCDの影116とが表れる。図7(B)は、原稿台16に紙等の薄い対象物が載置されている状態で取得された第二スキャン画像135を表している。第二スキャン画像135には、薄い対象物132が表れ、対象物132の影は表れない。   In step S106 and step S118, the control unit 58 executes the scan control module 102, causes the scan unit 50 to read the reading area set in step S102 with high resolution, and stores the second scan image in the RAM 60. FIG. 1B shows a second scan image 113 acquired with a CD placed on the document table 16. In the second scanned image 113, a CD 114 and a CD shadow 116 appear. FIG. 7B shows the second scan image 135 acquired in a state where a thin object such as paper is placed on the document table 16. In the second scan image 135, a thin object 132 appears, and no shadow of the object 132 appears.

対象物がCDの場合に実行されるステップS108では、制御部58は、CDレーベル処理モジュール104を実行し、上述したクリップ情報に基づいて第一スキャン領域112の一端部を所定幅除いた第二スキャン領域115を特定し(図1(C)参照)、第二スキャン領域115の外側領域118に対応する第二スキャン画像113の領域を削除する。この結果、第二スキャン画像113から影116に対応する領域の一部が削除され、図1(D)に示すように第二スキャン画像113が変形する。   In step S108, which is executed when the object is a CD, the control unit 58 executes the CD label processing module 104 and removes one end of the first scan area 112 by a predetermined width based on the above-described clip information. The scan area 115 is specified (see FIG. 1C), and the area of the second scan image 113 corresponding to the outer area 118 of the second scan area 115 is deleted. As a result, a part of the area corresponding to the shadow 116 is deleted from the second scan image 113, and the second scan image 113 is deformed as shown in FIG.

対象物がCDの場合に実行されるステップS110では、制御部58は、CDレーベル処理モジュール104を実行し、上述した歪み補正情報に基づいて第二スキャン領域115内の第二スキャン画像113を拡大縮小し、第二スキャン画像113を印刷領域の大きさ及び印刷解像度に応じた大きさの正方形に変形する(図1(E)参照)。スキャンユニット50の特性に応じて予め設定された歪み補正情報に基づいて縦横異なる倍率で第二スキャン画像113を拡大縮小することにより、オリジナルのCDレーベル画像の縦横比と複合機1で印刷されたCDレーベル画像の縦横比とを正確に一致させることができる。また、印刷媒体であるCDのレーベル領域156に三日月形状の余白が形成されることも防止される。   In step S110 that is executed when the object is a CD, the control unit 58 executes the CD label processing module 104, and enlarges the second scan image 113 in the second scan region 115 based on the distortion correction information described above. The second scan image 113 is reduced and transformed into a square having a size corresponding to the size of the print area and the print resolution (see FIG. 1E). The second scanned image 113 is enlarged / reduced at different magnifications based on the distortion correction information set in advance according to the characteristics of the scan unit 50, and the aspect ratio of the original CD label image and the multi-function device 1 are printed. The aspect ratio of the CD label image can be exactly matched. Further, it is possible to prevent a crescent-shaped blank from being formed in the label area 156 of the CD that is the print medium.

対象物がCD以外の場合に実行されるステップS120では、制御部58は、第一スキャン領域134の重心を重心とし第一スキャン領域134に内接する正方形の領域を第二スキャン領域137として特定する(図7(C)参照)。さらに制御部58は、第一スキャン領域134から第二スキャン領域137を除いた領域に対応する両端部136、138を削除することにより、第二スキャン画像135を正方形に変形する(図7(D)参照)。   In step S <b> 120 executed when the object is not a CD, the control unit 58 specifies a square area inscribed in the first scan area 134 as the second scan area 137 with the center of gravity of the first scan area 134 as the center of gravity. (See FIG. 7C). Further, the control unit 58 deforms the second scan image 135 into a square by deleting both end portions 136 and 138 corresponding to the region obtained by removing the second scan region 137 from the first scan region 134 (FIG. 7D )reference).

対象物がCD以外の場合に実行されるステップS122では、印刷領域の大きさに応じて第二スキャン画像135を縦横等倍で拡大縮小する。
ステップS112では、制御部58は、CDレーベル処理モジュール104を実行し、上述したテンプレートと第二スキャン画像113、135とに基づいて印刷対象ページを生成する。
In step S122, which is executed when the object is other than a CD, the second scan image 135 is enlarged or reduced at the same magnification in the vertical and horizontal directions according to the size of the print area.
In step S112, the control unit 58 executes the CD label processing module 104, and generates a print target page based on the template and the second scan images 113 and 135 described above.

図8は、テンプレートを用いた印刷対象ページの生成処理を説明するための模式図である。テンプレートを構成するマスク140は、CD158の規格寸法と印刷解像度とに応じて設定され、予めROM62に格納されている。マスク140は、画素を透明レベル又は非印刷画素として設定するための値を有する、隅領域142、146、148、144と、円形の中心領域150と、画素を変更しない値を有する円環形状の無設定領域151とを有する。中心領域150の直径は、CD158のレーベル領域156の内径と等しい。無設定領域151の外径は、CD158のレーベル領域156の外径と等しく、ステップS110又はステップS122までの処理が施された第二スキャン画像113、135の一辺の長さと等しい。マスク140と第二スキャン画像113とがそれぞれの重心が一致するように重ね合わせて印刷対象ページに配置されると、CD158のレーベル領域156にのみ画像が形成される印刷対象ページが形成される。この結果、CD158の内縁透明部154、CD158の外縁透明部160、若しくはCD158の中心開口部152の直下に位置するプラテン又はCDトレイ28にインクが付着することが防止される。尚、マスク140の形状は、上述の構成に限られず、例えばCDレーベル領域156の内側及び外側に位置する高反射領域にインクが付着しない構成としたり、CDレーベル領域156の外縁及び内縁に所定のマージンを設定した構成としたり、内縁透明部154及び外縁透明部160にも画像が形成される構成とすることができる。   FIG. 8 is a schematic diagram for explaining a print target page generation process using a template. The mask 140 constituting the template is set in accordance with the standard size and printing resolution of the CD 158 and stored in the ROM 62 in advance. The mask 140 has corner regions 142, 146, 148, 144 having a value for setting the pixel as a transparent level or a non-print pixel, a circular center region 150, and an annular shape having a value that does not change the pixel. And a non-setting area 151. The diameter of the central region 150 is equal to the inner diameter of the label region 156 of CD158. The outer diameter of the non-setting area 151 is equal to the outer diameter of the label area 156 of the CD 158, and is equal to the length of one side of the second scan images 113 and 135 subjected to the processing up to step S110 or step S122. When the mask 140 and the second scan image 113 are overlapped and arranged on the print target page so that the respective centers of gravity coincide with each other, a print target page on which an image is formed only on the label area 156 of the CD 158 is formed. As a result, it is possible to prevent ink from adhering to the platen or CD tray 28 located directly below the inner edge transparent portion 154 of the CD 158, the outer edge transparent portion 160 of the CD 158, or the central opening 152 of the CD 158. The shape of the mask 140 is not limited to the above-described configuration. For example, the mask 140 has a configuration in which ink does not adhere to the highly reflective regions located inside and outside the CD label region 156, or has a predetermined shape on the outer and inner edges of the CD label region 156 A configuration in which a margin is set or a configuration in which an image is formed also on the inner edge transparent portion 154 and the outer edge transparent portion 160 can be adopted.

ステップS114では、制御部58は、プリント制御モジュール106を実行し、印刷対象ページに色空間変換、二値化、インタレース処理などを施して印刷データを生成する。
ステップS116では、制御部58は、プリント制御モジュール106を実行し、印刷データに基づいてプリントユニット86を制御し、CDトレイ28に載置されたCD158に画像を印刷する。この結果、原稿台16に載置された対象物の画像がCD158に印刷される。尚、原稿台16に載置された対象物の画像を印刷するための印刷媒体としては、CD158以外に、CD158のレーベル領域156に対応する剥離領域を有する無地シール等を用いることができる。
In step S114, the control unit 58 executes the print control module 106 to generate print data by performing color space conversion, binarization, interlace processing, and the like on the print target page.
In step S116, the control unit 58 executes the print control module 106, controls the print unit 86 based on the print data, and prints an image on the CD 158 placed on the CD tray 28. As a result, an image of the object placed on the document table 16 is printed on the CD 158. As a printing medium for printing an image of the object placed on the document table 16, a plain seal having a peeling area corresponding to the label area 156 of the CD 158 can be used in addition to the CD 158.

(第二実施例)
図9は、本発明の第二実施例による画像処理方法を示すフローチャートである。第二実施例は、第二スキャン領域のクリップ処理が第一実施例と異なり、その他の点では第一実施例と実質的に同一である。以下、具体的に説明する。
対象物がCDである場合、ステップS102において第一スキャン画像を領域分割する際、そのしきい値によっては、図10(A)に示すような第一スキャン領域112が設定される。1回目の読み取りで取得された第一スキャン画像110にはCD114とCDの影116とが表れる。CD114の領域には、CD外縁部の透明部分に対応する領域111と、CD内縁部の透明部分に対応する領域119とが含まれている。CDの影116は、CD外縁部の透明部分に対応する領域111の外側に形成される。
その結果、二回目の読み取りを実施するステップS106では、図10(B)に示す第二スキャン画像113が取得される。
(Second embodiment)
FIG. 9 is a flowchart showing an image processing method according to the second embodiment of the present invention. The second embodiment is different from the first embodiment in the clip processing of the second scan region, and is otherwise substantially the same as the first embodiment. This will be specifically described below.
When the object is a CD, when the first scan image is divided into regions in step S102, a first scan region 112 as shown in FIG. 10A is set depending on the threshold value. A CD 114 and a shadow 116 of the CD appear in the first scan image 110 acquired by the first reading. The region of the CD 114 includes a region 111 corresponding to the transparent portion at the outer edge portion of the CD and a region 119 corresponding to the transparent portion at the inner edge portion of the CD. The CD shadow 116 is formed outside the region 111 corresponding to the transparent portion of the outer edge of the CD.
As a result, in step S106 in which the second reading is performed, a second scan image 113 shown in FIG. 10B is acquired.

ステップS208では、制御部58は、CDレーベル処理モジュール104を実行し、クリップ情報に基づいて第一スキャン領域112の周縁部を所定幅除いた第二スキャン領域115を特定し(図10(C)参照)、第二スキャン領域115の外側領域に対応する第二スキャン画像113の領域を削除する。削除幅はCDの透明部の幅と、CDの厚さと、CDの直径とに応じて設定される。この結果、第二スキャン画像113からCDの影116の一部とCDの透明部分111の一部とが削除され、図10(D)に示すように第二スキャン画像113が変形する。   In step S208, the control unit 58 executes the CD label processing module 104 and specifies the second scan area 115 excluding the predetermined width from the peripheral edge of the first scan area 112 based on the clip information (FIG. 10C). (See), the area of the second scan image 113 corresponding to the outer area of the second scan area 115 is deleted. The deletion width is set according to the width of the transparent portion of the CD, the thickness of the CD, and the diameter of the CD. As a result, a part of the shadow 116 of the CD and a part of the transparent part 111 of the CD are deleted from the second scan image 113, and the second scan image 113 is deformed as shown in FIG.

ステップS110では、図10(D)に示す第二スキャン画像113が拡大縮小され、印刷領域の大きさと印刷解像度とに応じた正方形に変形される。
ステップS112では、図11に示すようにマスク140と第二スキャン画像113とが印刷対象ページに割り付けられる。マスク140の一辺の長さは、CDの円環状の不透明領域117の外径に対応する。マスク140の円形の中心領域150の直径は、CDの不透明領域117の内径に対応する。この結果、CD158のレーベル領域156にCDの透明部分111、119が薄灰色等で印刷されることが防止される。
In step S110, the second scan image 113 shown in FIG. 10D is enlarged / reduced and transformed into a square according to the size of the print area and the print resolution.
In step S112, as shown in FIG. 11, the mask 140 and the second scan image 113 are allocated to the print target page. The length of one side of the mask 140 corresponds to the outer diameter of the annular annular region 117 of the CD. The diameter of the circular central region 150 of the mask 140 corresponds to the inner diameter of the opaque region 117 of the CD. As a result, the CD transparent portions 111 and 119 are prevented from being printed in light gray or the like in the label area 156 of the CD 158.

(第三実施例)
図12は、本発明の第三実施例による画像処理方法を示すフローチャートである。第三実施例は、対象物の特定方法が第一実施例と異なり、その他の点では第一実施例と実質的に同一である。以下、具体的に説明する。
ステップS300では、制御部58はCDレーベル処理モジュール104を実行し、所定のメニュー操作としての対象物指定操作を受け付け、対象物指定操作に応じて対象物の種類を設定する。
(Third embodiment)
FIG. 12 is a flowchart showing an image processing method according to the third embodiment of the present invention. The third embodiment is different from the first embodiment in the method for specifying the object, and is otherwise substantially the same as the first embodiment. This will be specifically described below.
In step S300, the control unit 58 executes the CD label processing module 104, accepts an object specifying operation as a predetermined menu operation, and sets the type of the object according to the object specifying operation.

ステップS304では、制御部58はCDレーベル処理モジュール104を実行し、対象物の種類がCDに設定されているか、それ以外に設定されているかを判定し、CDに設定されていればステップS106の処理に進み、CD以外に設定されていればステップS118の処理に進む。すなわち制御部58は、第一スキャン領域112、134内の第一スキャン画像110、130の特徴解析をすることなしに、対象物がCDであるか否かを認識する。このため第三実施例によると、特徴解析のための処理に費やす時間と開発・製造コストとを低減することができる。   In step S304, the control unit 58 executes the CD label processing module 104 to determine whether the type of the object is set to CD or other than that, and if it is set to CD, the control unit 58 performs step S106. Proceed to the process, and if it is set to other than CD, the process proceeds to step S118. That is, the control unit 58 recognizes whether or not the object is a CD without performing feature analysis of the first scan images 110 and 130 in the first scan regions 112 and 134. For this reason, according to the third embodiment, it is possible to reduce the time spent for processing for feature analysis and the development / manufacturing costs.

以上、複合機1に本発明を適用した実施例を説明したが、本発明は、PC並びにPCに接続されたプリンタ及びスキャナで構成されるシステムに適用することもできる。また本発明は、リムーバブルメモリにスキャン画像を出力可能なスキャナと、リムーバブルメモリから画像を入力可能なプリンタとで構成されるシステムに適用することもできる。この場合、プリンタに備えられる外部メモリコントローラが本発明に係る画像取得手段の一部を構成する。また本発明は、スキャナのシステム内で完全なスキャン画像をメモリに格納し、スキャン画像とマスクとを割り付けた印刷対象ページをスキャナが生成し、印刷対象ページの印刷データをスキャナが外部システムであるプリンタに出力するシステムにも適用することができる。また本発明は、スキャナからスキャン画像を取得し、取得したスキャン画像とマスクとを割り付けた印刷対象ページを生成し、印刷対象ページに基づいて印刷データを生成し、スキャン画像を印刷するプリンタに適用することもできる。   The embodiment in which the present invention is applied to the multifunction machine 1 has been described above. However, the present invention can also be applied to a system including a PC and a printer and a scanner connected to the PC. The present invention can also be applied to a system including a scanner capable of outputting a scan image to a removable memory and a printer capable of inputting an image from the removable memory. In this case, the external memory controller provided in the printer constitutes a part of the image acquisition means according to the present invention. According to the present invention, a complete scan image is stored in a memory in the scanner system, the scanner generates a print target page to which the scan image and the mask are allocated, and the scanner is an external system for print data of the print target page. The present invention can also be applied to a system that outputs to a printer. Further, the present invention is applied to a printer that acquires a scan image from a scanner, generates a print target page to which the acquired scan image and a mask are assigned, generates print data based on the print target page, and prints the scan image. You can also

また上述の実施例では、対象物としてCDを例示したが、対象物は形状や特徴が規格等で特定可能な既知のものであればよく、例えば定型書籍であってもよい。対象物が定型書籍である場合、対象物の厚さが未知であるが、一般にページの外縁には余白が形成されているため、ページ余白の画像上の特徴を用いて影を除去することが可能である。尚、対象物の形状や特徴を特定可能な規格にCD、CD−R、CD−RW、DVD等が含まれることはいうまでもない。

In the above-described embodiment, the CD is exemplified as the object. However, the object may be a known object whose shape and characteristics can be specified by a standard or the like, for example, a standard book. When the target is a standard book, the thickness of the target is unknown, but since a margin is generally formed at the outer edge of the page, it is possible to remove the shadow using the feature on the image of the page margin. Is possible. Needless to say , CD, CD-R, CD-RW, DVD, etc. are included in the standards that can specify the shape and characteristics of the object .

本発明の第一実施例に係るスキャン画像を示す模式図。FIG. 3 is a schematic diagram showing a scanned image according to the first embodiment of the present invention. 本発明の第一実施例による複合機の外観を示す斜視図。1 is a perspective view showing an external appearance of a multifunction machine according to a first embodiment of the present invention. 本発明の第一実施例による複合機のブロック図。1 is a block diagram of a multifunction machine according to a first embodiment of the present invention. 本発明の第一実施例に係る模式図。The schematic diagram which concerns on the 1st Example of this invention. 本発明の第一実施例に係る制御プログラムのブロック図。The block diagram of the control program which concerns on 1st Example of this invention. 本発明の第一実施例による画像処理方法を示すフローチャート。3 is a flowchart showing an image processing method according to the first embodiment of the present invention. 本発明の第一実施例に係るスキャン画像を示す模式図。FIG. 3 is a schematic diagram showing a scanned image according to the first embodiment of the present invention. 本発明の第一実施例に係る模式図。The schematic diagram which concerns on the 1st Example of this invention. 本発明の第二実施例による画像処理方法を示すフローチャート。7 is a flowchart showing an image processing method according to a second embodiment of the present invention. 本発明の第二実施例に係るスキャン画像を示す模式図。The schematic diagram which shows the scan image which concerns on 2nd Example of this invention. 本発明の第二実施例に係る模式図。The schematic diagram which concerns on the 2nd Example of this invention. 本発明の第三実施例による画像処理方法を示すフローチャート。9 is a flowchart showing an image processing method according to a third embodiment of the present invention.

符号の説明Explanation of symbols

1 複合機、16 原稿台、50 スキャンユニット(読み取り手段)、58 制御部(画像取得手段、第一スキャン領域特定手段、認識手段、第二スキャン領域特定手段、歪み補正手段)、66 ディジタル画像処理部(読み取り手段、印刷手段)、86 プリントユニット(印刷手段)、90 原稿マット、92 対象物、102 スキャン制御モジュール(画像取得手段)、104 レーベル処理モジュール(第一スキャン領域特定手段、認識手段、第二スキャン領域特定手段、歪み補正手段)、106 プリント制御モジュール(印刷手段)、110 第一スキャン画像、112 第一スキャン領域、112 第二スキャン領域、113 第二スキャン画像、114 対象物、115 第二スキャン領域、116 影、130 第一スキャン画像、132 対象物、134 第一スキャン領域、135 第二スキャン画像、137 第二スキャン領域、140 マスク DESCRIPTION OF SYMBOLS 1 Multifunction device, 16 Document stand, 50 Scan unit (reading means), 58 Control part (Image acquisition means, 1st scan area | region identification means, recognition means, 2nd scan area | region identification means, distortion correction means), 66 Digital image processing Part (reading means, printing means), 86 printing unit (printing means), 90 original mat, 92 object, 102 scan control module (image acquisition means), 104 label processing module (first scan area specifying means, recognition means, second (Second scan area specifying means, distortion correcting means), 106 print control module (printing means), 110 first scan image, 112 first scan area, 112 second scan area, 113 second scan image, 114 object, 115 first Two scan areas, 116 shadows, 130 first scan image 132 object 134 first scan area, 135 Second scanned image, 137 a second scan area, 140 mask

Claims (3)

原稿台に載置され原稿マットに覆われ前記原稿台の盤面の垂線と特定角度をなす方向から照明された対象物から読み取られたスキャン画像を取得する画像取得手段と、
前記スキャン画像に基づいて、前記対象物と前記対象物の厚さから生じる影とからなる領域に外接する矩形の第一スキャン領域を特定する手段と、
規格で外形が定められた円形の既知対象物であるディスク型記憶媒体の直径に関する情報及び、前記ディスク型記憶媒体の厚さと前記特定角度とに応じて予め決められている影情報が格納されている記憶手段と、
規格で外形が定められた円形の既知対象物であるディスク型記憶媒体のレーベル面に画像を形成する画像形成手段と、
前記第一スキャン領域の寸法と前記記憶手段に格納された前記ディスク型記憶媒体の直径に関する情報との比較に基づいて、前記対象物が前記既知対象物であるか否かを判定する判定手段と、
前記判定手段により前記対象物が前記既知対象物であると判定された場合に、
前記既知対象物の厚さから生じる影に対応する影領域の一部前記影情報に基づいて前記第一スキャン領域から除いた第二スキャン領域を特定する第二スキャン領域特定手段と、
前記判定手段により前記対象物が前記既知対象物ではないと判定された場合に、
前記第一スキャン領域の重心を重心とし前記第一スキャン領域に内接する正方形の領域を特定するスキャン領域特定手段と、
を備えることを特徴とする画像処理システム。
Image acquisition means for acquiring a scanned image read from an object placed on a document table and covered with a document mat and illuminated from a direction that makes a specific angle with a perpendicular to the surface of the document table;
Means for identifying a first scan area of a rectangle circumscribing an area composed of the object and a shadow generated from the thickness of the object based on the scan image;
Information regarding the diameter of the disk type storage medium, which is a circular known object whose outer shape is defined by the standard, and shadow information predetermined according to the thickness of the disk type storage medium and the specific angle are stored. Storage means
Image forming means for forming an image on a label surface of a disk-type storage medium, which is a circular known object whose outer shape is defined by a standard;
Determining means for determining whether or not the object is the known object based on a comparison between the size of the first scan area and information on the diameter of the disk-type storage medium stored in the storage means; ,
When it is determined by the determination means that the object is the known object,
A second scan area specifying means for specifying a second scan area in which a part of a shadow area corresponding to a shadow generated from the thickness of the known object is excluded from the first scan area based on the shadow information ;
When the determination means determines that the object is not the known object,
A scan area specifying means for specifying a region of square the center of gravity of the first scan area and the centroid is inscribed in the first scan area,
An image processing system comprising:
予め決められた歪み補正情報に基づいて前記第二スキャン領域内の前記スキャン画像の縦方向の長さと横方向の長さの比を拡大縮小により補正する歪み補正手段をさらに備えることを特徴とする請求項1に記載の画像処理システム。   The image processing apparatus further comprises distortion correction means for correcting the ratio of the length in the vertical direction and the length in the horizontal direction of the scanned image in the second scan region by enlargement / reduction based on predetermined distortion correction information. The image processing system according to claim 1. 前記歪み補正手段は、前記第二スキャン領域内の前記スキャン画像を正方形に補正することを特徴とする請求項に記載の画像処理システム。 The image processing system according to claim 2 , wherein the distortion correction unit corrects the scan image in the second scan region into a square.
JP2005223821A 2005-08-02 2005-08-02 Image processing system Expired - Fee Related JP4124219B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005223821A JP4124219B2 (en) 2005-08-02 2005-08-02 Image processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005223821A JP4124219B2 (en) 2005-08-02 2005-08-02 Image processing system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2004273329A Division JP3781192B2 (en) 2003-09-26 2004-09-21 Image processing system and image processing method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2008008905A Division JP4165617B2 (en) 2008-01-18 2008-01-18 Program and recording medium

Publications (2)

Publication Number Publication Date
JP2006092527A JP2006092527A (en) 2006-04-06
JP4124219B2 true JP4124219B2 (en) 2008-07-23

Family

ID=36233401

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005223821A Expired - Fee Related JP4124219B2 (en) 2005-08-02 2005-08-02 Image processing system

Country Status (1)

Country Link
JP (1) JP4124219B2 (en)

Also Published As

Publication number Publication date
JP2006092527A (en) 2006-04-06

Similar Documents

Publication Publication Date Title
US7471423B2 (en) Image processing system and image processing method
US8009931B2 (en) Real-time processing of grayscale image data
US8390896B2 (en) Image reading method, image reading apparatus, and program recording medium
JP6494166B2 (en) Image processing apparatus, image processing method, and program
US11736641B2 (en) Apparatus and method for creating images from documents
JP5183587B2 (en) Image processing apparatus, image processing method, and program for executing image processing method
JP5407627B2 (en) Image processing apparatus, image processing method, and program
JP4441558B2 (en) Image processing apparatus, image processing method, and program
JP3781192B2 (en) Image processing system and image processing method
JP4277768B2 (en) Photo image area extraction device and copy device
JP2006109142A (en) Image processing device and method therefor, and recording medium
US20050219632A1 (en) Image processing system and image processing method
JP2004072527A (en) Compound machine, electronic filing system, and scanner
JP4124219B2 (en) Image processing system
JP4165617B2 (en) Program and recording medium
US20100091340A1 (en) Scan bar for scanning media sheet in image scanning device and method thereof
JP4650197B2 (en) Image reading apparatus and image reading method
JP4674123B2 (en) Image processing system and image processing method
JP4939016B2 (en) Image processing system and image processing method
JP4690676B2 (en) Image processing system, image processing method, and image processing program
JP2010253844A (en) Image processing device
JP4554296B2 (en) Image processing system, program, recording medium
JP2007080138A (en) Image processing system and method
JP2007104503A (en) Image reading apparatus and method
JP2006270310A (en) Layout control apparatus

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20060825

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20061222

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20061226

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20070404

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070725

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070821

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071019

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20071120

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080118

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20080204

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080219

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080326

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080415

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080428

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110516

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120516

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120516

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130516

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140516

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees