JP4124219B2 - Image processing system - Google Patents
Image processing system Download PDFInfo
- 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
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
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.
本発明は、上述の問題に鑑みて創作されたものであって、既知のスキャン対象物の影が減るようにスキャン画像を補正できる画像処理システムを提供することを目的とする。 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
読み取り手段としてのスキャンユニット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
複合機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
外部メモリコントローラ70は、カードスロット22(図2参照)に挿入されるリムーバブルメモリ24に接続される。リムーバブルメモリ24に格納されたデータは外部メモリコントローラ70によって読み出され、RAM60に転送される。
操作部68は、メニューを表示するためのLCD34と、メニューを操作するための選択キー、決定キー、キャンセルキー等の各種の押しボタン36、38、40を備える。
The
The
制御部58は、RAM60、ROM62、CPU64及びディジタル画像処理部66を備える。CPU64はRAM60に格納されている制御プログラムを実行して複合機1の各部を制御する。ROM62は、制御プログラムを格納している不揮発性メモリである。RAM60は、制御プログラムやスキャン画像等の各種のデータが一時的に格納される揮発性メモリである。制御プログラムは遠隔地のサーバからネットワークを経由してROM62に格納してもよいし、リムーバブルメモリ24等のコンピュータ読み取り可能な記憶媒体を経由してROM62に格納してもよい。ディジタル画像処理部66は、読み取り手段と印刷手段の一部を構成し、スキャン画像に対するガンマ補正、解像度変換、画像のカラーバランス補正、二値化、色空間の変換等の画像処理をCPU64と協働して実行するDSP等の専用回路である。
The
以上、複合機1のハードウェア構成を説明した。次に、スキャン画像に表れる影について説明する。
図4に示すように、光源52は、イメージセンサ54から原稿台16の盤面に到る光路から外れた位置に設けられる。また光源52は、特定位置にあるイメージセンサ54に結像される領域である原稿台16上の主走査領域を原稿台16の盤面の垂線と特定の角度をなす方向から照明する。このため、対象物92が厚い場合、光源52に照明された対象物92の影が原稿カバー10に固定された原稿マット90に形成され、この影がスキャン画像に表れる。
The hardware configuration of the
As shown in FIG. 4, the
図5は、複合機1の制御プログラムを示すブロック図である。
スキャン制御モジュール102は、制御部58を画像取得手段として機能させるプログラム部品である。スキャン制御モジュール102は、読み取り開始要求に応じてスキャンユニット50を制御し、スキャン画像をRAM60に格納する。
CDレーベル処理モジュール104は、制御部58を第一スキャン領域特定手段、認識手段、第二スキャン領域特定手段及び歪み補正手段として機能させるプログラム部品である。
FIG. 5 is a block diagram illustrating a control program of the
The
The CD
CDレーベル処理モジュール104は、1回目の読み取りによって取得される低解像度のスキャン画像の領域分割により第一スキャン領域を特定する。以下、1回目の読み取りによって取得される低解像度のスキャン画像を第一スキャン画像という。領域分割には原稿マット90に対応する画素の濃淡レベルから所定のマージンを差し引いたレベルのしきい値を用いる。CDレーベル処理モジュール104は、第一スキャン画像の特徴解析により対象物がCDであることを認識する。特徴解析では、例えば第一スキャン領域の形状がCDの規格寸法に対応しているか否かを解析する。
The CD
CDレーベル処理モジュール104は、2回目の読み取りによって取得される高解像度のスキャン画像の第二スキャン領域の外側に対応する領域をクリップ情報に基づいて削除する。以下、2回目の読み取りによって取得される高解像度のスキャン画像を第二スキャン画像という。クリップ情報は、副走査方向と、光源52から主走査領域に到る光路と主走査領域からイメージセンサ54に到る光路とがなす角度と、規格寸法として規定されているCDの直径と、厚さとに応じて設定され、予めROM62に格納されている情報である。クリップ情報は、CDのスキャン画像上の直径に対して何パーセントの最大幅でCDに対して副走査方向の前後どちら側にスキャン画像に影が表れているかを特定する情報である。クリップ情報は、CDの読み取り解像度が任意であれば比率で設定し、CDの読み取り解像度が既知であれば画素数で設定することができる。
The CD
CDレーベル処理モジュール104は、印刷解像度に応じて第二スキャン画像を拡大縮小する。このときCDレーベル処理モジュール104は、歪み補正情報に基づいて縦横異なる倍率で第二スキャン画像を拡大縮小し、印刷解像度と印刷領域のサイズに応じた大きさの正方形に第二スキャン画像を変形する。歪み補正情報は、読み取り時の主走査方向のサンプリング間隔と副走査方向のサンプリング間隔の比に応じて設定され、予めROM62に格納されている情報である。表示時の画素間隔は主走査方向と副走査方向とで等しいものとして歪み補正情報は設定されている。このため、読み取り時の主走査方向のサンプリング間隔と副走査方向のサンプリング間隔との比に応じて第二スキャン画像を拡大縮小することにより、現実の対象物の縦横比と表示された対象物の縦横比とを一致させることができる。
The CD
CDレーベル処理モジュール104は、予めROM62に格納されているテンプレートと第二スキャン画像とに基づいて印刷対象ページを生成する。このテンプレートは、CDレーベルの形状に対応したマスクと、第二スキャン画像とマスクとをページ上の所定の位置で重ねるための位置情報とで構成されている。マスクは印刷非対象画素を印刷不要画素として設定するための二次元配列の情報である。
The CD
プリント制御モジュール106は、制御部58及びプリントユニット86を印刷手段、印刷データ生成手段として機能させるプログラム部品である。プリント制御モジュール106は、印刷対象ページの色空間をインクの色空間であるCMYK等の色空間に変換する処理、二値化処理、インタレース処理等を施して印刷データを生成し、印刷データに基づいてプリントユニット86を制御する。
The
図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
In step S100, the
ステップ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
ステップ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
ステップ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
対象物が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
対象物が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
対象物が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
対象物がCD以外の場合に実行されるステップS122では、印刷領域の大きさに応じて第二スキャン画像135を縦横等倍で拡大縮小する。
ステップS112では、制御部58は、CDレーベル処理モジュール104を実行し、上述したテンプレートと第二スキャン画像113、135とに基づいて印刷対象ページを生成する。
In step S122, which is executed when the object is other than a CD, the
In step S112, the
図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
ステップS114では、制御部58は、プリント制御モジュール106を実行し、印刷対象ページに色空間変換、二値化、インタレース処理などを施して印刷データを生成する。
ステップS116では、制御部58は、プリント制御モジュール106を実行し、印刷データに基づいてプリントユニット86を制御し、CDトレイ28に載置されたCD158に画像を印刷する。この結果、原稿台16に載置された対象物の画像がCD158に印刷される。尚、原稿台16に載置された対象物の画像を印刷するための印刷媒体としては、CD158以外に、CD158のレーベル領域156に対応する剥離領域を有する無地シール等を用いることができる。
In step S114, the
In step S116, the
(第二実施例)
図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
As a result, in step S106 in which the second reading is performed, a
ステップ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
ステップS110では、図10(D)に示す第二スキャン画像113が拡大縮小され、印刷領域の大きさと印刷解像度とに応じた正方形に変形される。
ステップS112では、図11に示すようにマスク140と第二スキャン画像113とが印刷対象ページに割り付けられる。マスク140の一辺の長さは、CDの円環状の不透明領域117の外径に対応する。マスク140の円形の中心領域150の直径は、CDの不透明領域117の内径に対応する。この結果、CD158のレーベル領域156にCDの透明部分111、119が薄灰色等で印刷されることが防止される。
In step S110, the
In step S112, as shown in FIG. 11, the
(第三実施例)
図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
ステップS304では、制御部58はCDレーベル処理モジュール104を実行し、対象物の種類がCDに設定されているか、それ以外に設定されているかを判定し、CDに設定されていればステップS106の処理に進み、CD以外に設定されていればステップS118の処理に進む。すなわち制御部58は、第一スキャン領域112、134内の第一スキャン画像110、130の特徴解析をすることなしに、対象物がCDであるか否かを認識する。このため第三実施例によると、特徴解析のための処理に費やす時間と開発・製造コストとを低減することができる。
In step S304, the
以上、複合機1に本発明を適用した実施例を説明したが、本発明は、PC並びにPCに接続されたプリンタ及びスキャナで構成されるシステムに適用することもできる。また本発明は、リムーバブルメモリにスキャン画像を出力可能なスキャナと、リムーバブルメモリから画像を入力可能なプリンタとで構成されるシステムに適用することもできる。この場合、プリンタに備えられる外部メモリコントローラが本発明に係る画像取得手段の一部を構成する。また本発明は、スキャナのシステム内で完全なスキャン画像をメモリに格納し、スキャン画像とマスクとを割り付けた印刷対象ページをスキャナが生成し、印刷対象ページの印刷データをスキャナが外部システムであるプリンタに出力するシステムにも適用することができる。また本発明は、スキャナからスキャン画像を取得し、取得したスキャン画像とマスクとを割り付けた印刷対象ページを生成し、印刷対象ページに基づいて印刷データを生成し、スキャン画像を印刷するプリンタに適用することもできる。
The embodiment in which the present invention is applied to the
また上述の実施例では、対象物として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 .
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
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:
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) |
-
2005
- 2005-08-02 JP JP2005223821A patent/JP4124219B2/en not_active Expired - Fee Related
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 |