JP2007080138A - Image processing system and method - Google Patents
Image processing system and method Download PDFInfo
- Publication number
- JP2007080138A JP2007080138A JP2005269647A JP2005269647A JP2007080138A JP 2007080138 A JP2007080138 A JP 2007080138A JP 2005269647 A JP2005269647 A JP 2005269647A JP 2005269647 A JP2005269647 A JP 2005269647A JP 2007080138 A JP2007080138 A JP 2007080138A
- Authority
- JP
- Japan
- Prior art keywords
- image
- scan
- scan image
- shadow
- known object
- 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.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title description 9
- 238000003672 processing method Methods 0.000 claims abstract description 5
- 230000004048 modification Effects 0.000 claims description 29
- 238000012986 modification Methods 0.000 claims description 29
- 239000007787 solid Substances 0.000 abstract description 3
- 230000000875 corresponding effect Effects 0.000 description 16
- 230000006870 function Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 8
- 238000006243 chemical reaction Methods 0.000 description 5
- 230000006866 deterioration Effects 0.000 description 4
- 238000005286 illumination Methods 0.000 description 4
- 230000032683 aging Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 230000003321 amplification Effects 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 238000003708 edge detection Methods 0.000 description 1
- 230000002431 foraging effect Effects 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Images
Landscapes
- Image Processing (AREA)
- Image Analysis (AREA)
Abstract
Description
本発明は画像処理システム及び画像処理方法に関し、特に規格で定められた対象物のスキャン画像の修整に関する。 The present invention relates to an image processing system and an image processing method, and more particularly to modification of a scanned image of an object defined by a standard.
従来、コンパクトディスク(CD)、DVD等の規格化されているディスク型記憶媒体のレーベルをコピーできる、画像読み取り機能と印刷機能とを備えた所謂フラットベッド型の複合機が知られている(例えば特許文献1、2参照)。しかし、従来の複合機では、原稿台に載置され原稿台の下方から照明されたディスクの影が原稿マットに写り、その影が印刷媒体としてのレーベルに印刷されるという問題があった。
また一般にスキャナでは、製造公差、経年劣化、温度変化等によって、読み取り時のサンプリングピッチが主走査方向と副走査方向とでわずかに異なるため、スキャン画像が1〜2%程度歪むという問題があった。経年劣化、温度変化等を補償するために読み取り開始前にスキャン画像の歪みを補正することは、読み取り速度の低下を招いたり、経年変化や温度変化しにくい基準体をスキャナに備え付ける必要がある等、実現が困難である。その結果、従来の複合機では、ハードコピーによって得られたレーベルに意図しない余白が形成されたり、レーベル以外の領域にインクがはみ出すという問題があった。
2. Description of the Related Art Conventionally, so-called flatbed type multifunction peripherals having an image reading function and a printing function that can copy a label of a standardized disk type storage medium such as a compact disk (CD) and a DVD are known (for example, (See Patent Documents 1 and 2). However, the conventional multifunction peripheral has a problem that the shadow of the disk placed on the document table and illuminated from below the document table appears on the document mat, and the shadow is printed on a label as a printing medium.
In general, a scanner has a problem that a scanning image is distorted by about 1 to 2% because a sampling pitch at the time of reading is slightly different between a main scanning direction and a sub-scanning direction due to manufacturing tolerance, aging deterioration, temperature change, and the like. . Correcting scan image distortion before reading to compensate for aging deterioration, temperature change, etc. may lead to a decrease in reading speed, or it is necessary to equip the scanner with a reference body that is difficult to change over time and temperature, etc. It is difficult to realize. As a result, the conventional multi-function peripheral has a problem that unintended margins are formed on the label obtained by hard copy, and ink protrudes from an area other than the label.
本発明は、上述の問題に鑑みて創作されたものであって、規格で立体形状が定められている対象物のスキャン画像を自動修整できる画像処理システム及び画像処理方法を提供することを目的とする。 The present invention was created in view of the above-described problems, and an object thereof is to provide an image processing system and an image processing method capable of automatically correcting a scan image of an object whose solid shape is defined by a standard. To do.
(1)上記目的を達成するための画像処理システムは、スキャン画像を取得する画像取得手段と、規格で定められた厚さと平面形状とを有する既知対象物に対応する修整情報が格納されている不揮発性記憶媒体と、前記スキャン画像の対象物が前記既知対象物である場合、前記スキャン画像の歪みを前記修整情報に基づいて修整した後に、前記前記既知対象物の厚さから生じる影に対応する前記スキャン画像の影領域を前記修整情報に基づいて消去する修整手段と、を備える。
スキャン対象物が相当の厚さを持つものである場合、その対象物がフラットベッド型イメージスキャナで照明されて読み取られる際に、その対象物の影が画像として読み取られる。スキャン対象物の厚さと平面形状と読み取り時の照明方向とが予め定まっていれば、スキャン画像に表れているスキャン対象物の影の領域を修整することができる。また、スキャン対象物の平面形状が予め定まっていれば、スキャン対象物がスキャン画像に歪み無く表れるようにスキャン画像の歪みを修整することができる。従って、画像処理システムに、規格で立体形状が定められている既知対象物に対応する修整情報を予め格納しておくことにより、修整情報に基づいてスキャン画像の歪みを修整し、スキャン画像に表れている影の領域を修整することができる。また影の領域の修整前にスキャン画像の歪みを修整しておくことにより、製造公差、経年劣化、温度変化等に左右されずに影の領域を正確に修整することができる。
(1) An image processing system for achieving the above object stores image acquisition means for acquiring a scan image, and modification information corresponding to a known object having a thickness and a planar shape defined by a standard. When a non-volatile storage medium and the object of the scanned image are the known object, after correcting the distortion of the scanned image based on the modification information, it corresponds to a shadow generated from the thickness of the known object Modifying means for erasing the shadow area of the scanned image based on the modification information.
When the scan object has a considerable thickness, the shadow of the object is read as an image when the object is illuminated and read by the flatbed image scanner. If the thickness and planar shape of the scan object and the illumination direction at the time of reading are determined in advance, the shadow area of the scan object appearing in the scan image can be corrected. Further, if the planar shape of the scan object is determined in advance, the scan image can be corrected so that the scan object appears without distortion in the scan image. Therefore, by storing in advance correction information corresponding to a known object whose solid shape is defined by the standard in the image processing system, the distortion of the scanned image is corrected based on the correction information, and appears in the scanned image. The shadow area can be corrected. Further, by correcting the distortion of the scanned image before correcting the shadow area, the shadow area can be corrected accurately without being affected by manufacturing tolerances, aging deterioration, temperature changes, and the like.
(2)前記既知対象物はディスク型記憶媒体であってもよい。前記修整手段は、領域分割により分割される領域に外接する矩形が前記修整情報によって決まるアスペクト比になるように前記スキャン画像を変形することにより前記スキャン画像の歪みを修整してもよい。
画像を領域分割することにより、ディスク型記憶媒体とその影を含む領域を画像全体から分割することができる。規格で定められたディスク型記憶媒体の外形は極めて精度の高い円である。ディスク型記憶媒体の影は三日月形になって画像に表れる。その影の最大幅は規格で定められたディスク型記憶媒体の厚さに応じて正確に規定することができる。したがって、ディスク型記憶媒体とその影を含む領域に外接する矩形のアスペクト比は極めて高精度な基準値として用いることができる。そこで、領域分割により分割される領域に外接する矩形が予め決められたアスペクト比になるようにスキャン画像を変形することにより、高い精度でスキャン画像の歪みを修整することができる。
(2) The known object may be a disk-type storage medium. The modification means may modify the distortion of the scan image by deforming the scan image so that a rectangle circumscribing the region divided by the region division has an aspect ratio determined by the modification information.
By dividing the image into regions, the disk type storage medium and the region including the shadow can be divided from the entire image. The outer shape of the disk-type storage medium defined by the standard is an extremely accurate circle. The shadow of the disk-type storage medium appears in the image as a crescent. The maximum width of the shadow can be accurately defined according to the thickness of the disk type storage medium defined by the standard. Therefore, the rectangular aspect ratio circumscribing the disk-type storage medium and the area including the shadow thereof can be used as an extremely accurate reference value. Therefore, by deforming the scan image so that the rectangle circumscribing the region divided by the region division has a predetermined aspect ratio, the distortion of the scan image can be corrected with high accuracy.
(3)前記画像処理システムは、低解像度のプレスキャン画像を取得するプレ画像取得手段と、前記プレスキャン画像の領域分割を用いて矩形の二次スキャン領域を設定する設定手段とをさらに備えてもよい。前記画像取得手段は、前記二次スキャン領域から読み取られた前記スキャン画像を取得してもよい。前記修整手段は、前記修整情報によって決まるアスペクト比に前記スキャン画像を変形することにより前記スキャン画像の歪みを修整してもよい。
画像処理システムは、領域分割により、既知対象物とその影が表れている領域をプレスキャン画像の全体から分割することができる。したがって画像処理システムは、対象物の形態が既知であれば、プレスキャン画像の既知対象物とその影が表れている領域に応じた適切な矩形の二次スキャン領域を設定することができる。このように設定された二次スキャン領域から読み取られたスキャン画像を修整情報によって決まるアスペクト比に変形することにより、スキャン画像の歪みを高い精度で修整することができる。
(3) The image processing system further includes pre-image acquisition means for acquiring a low-resolution pre-scan image, and setting means for setting a rectangular secondary scan area using area division of the pre-scan image. Also good. The image acquisition unit may acquire the scan image read from the secondary scan region. The modifying means may modify the distortion of the scanned image by deforming the scanned image to an aspect ratio determined by the modified information.
The image processing system can divide the known object and the area where the shadow appears from the entire pre-scan image by area division. Therefore, if the form of the object is known, the image processing system can set an appropriate rectangular secondary scan area corresponding to the known object of the pre-scan image and the area where the shadow appears. By deforming the scan image read from the secondary scan area set in this way into an aspect ratio determined by the modification information, it is possible to modify the distortion of the scan image with high accuracy.
(4)前記修整手段は、前記修整情報に基づいて、前記ディスク型記憶媒体のレーベルに対応する領域外の前記スキャン画像の画素を白に置換することにより前記影領域を修整してもよい。
対象物が規格で形態が厳密に定められているディスク型記憶媒体であれば、ディスク型記憶媒体のレーベルに対応する領域外においてスキャン画像の画素を白に置換することにより、レーベルだけをハードコピーすることのできる画像にスキャン画像を修整することができる。
(4) The modification unit may modify the shadow area by replacing pixels of the scan image outside the area corresponding to the label of the disk type storage medium with white based on the modification information.
If the object is a disc-type storage medium whose format is strictly defined by the standard, hard copy only the label by replacing the pixels of the scanned image with white outside the area corresponding to the label of the disc-type storage medium The scanned image can be modified to an image that can be processed.
(5)前記画像処理システムは、透明な原稿台に載置され原稿マットに覆われ前記原稿台の盤面の垂線と特定角度をなす方向から照明された前記既知対象物から前記スキャン画像を読み取る読み取り手段と、修整された前記スキャン画像を印刷する印刷手段とをさらに備えてもよい。前記修整情報は、前記特定角度に対応していてもよい。
スキャン対象物の厚さと読み取り時の照明方向とが予め定まっていれば、照明方向に対応した修整情報を画像処理システムに格納しておくことにより、スキャン画像に表れているスキャン対象物の影の領域を修整することができる。
(5) The image processing system reads the scan image from the known object that is placed on a transparent document table, covered by a document mat, and illuminated from a direction that makes a specific angle with a perpendicular to the surface of the document table. Means and printing means for printing the modified scanned image. The modification information may correspond to the specific angle.
If the thickness of the scan object and the illumination direction at the time of reading are determined in advance, the correction information corresponding to the illumination direction is stored in the image processing system so that the shadow of the scan object appearing in the scan image can be detected. The area can be modified.
(6)上記目的を達成するための画像処理は、スキャン画像を取得し、規格で定められた厚さと平面形状とを有する既知対象物に対応する修整情報が格納されている不揮発性記憶媒体から前記修整情報を取得し、前記スキャン画像の対象物が前記既知対象物である場合、前記スキャン画像の歪みを前記修整情報に基づいて修整した後に、前記既知対象物の厚さから生じる影に対応する前記スキャン画像の影領域を前記修整情報に基づいて修整する、ことを含む。
スキャン対象物が相当の厚さを持つものである場合、その対象物がフラットベッド型イメージスキャナで照明されて読み取られる際に、その対象物の影が画像として読み取られる。スキャン対象物の厚さと平面形状と読み取り時の照明方向とが予め定まっていれば、スキャン画像に表れているスキャン対象物の影の領域を修整することができる。また、スキャン対象物の平面形状が予め定まっていれば、スキャン対象物がスキャン画像に歪み無く表れるようにスキャン画像の歪みを修整することができる。従って、規格で立体形状が定められている既知対象物に対応する修整情報が予め格納された記憶媒体から修整情報を取得することにより、修整情報に基づいてスキャン画像の歪みを修整し、スキャン画像に表れている影の領域を修整することができる。
(6) Image processing for achieving the above-described object includes a scan image obtained from a nonvolatile storage medium in which modification information corresponding to a known object having a thickness and a planar shape determined by a standard is stored. When the correction information is acquired and the object of the scan image is the known object, after correcting the distortion of the scan image based on the correction information, it corresponds to the shadow caused by the thickness of the known object Modifying the shadow area of the scanned image based on the modification information.
When the scan object has a considerable thickness, the shadow of the object is read as an image when the object is illuminated and read by the flatbed image scanner. If the thickness and planar shape of the scan object and the illumination direction at the time of reading are determined in advance, the shadow area of the scan object appearing in the scan image can be corrected. Further, if the planar shape of the scan object is determined in advance, the scan image can be corrected so that the scan object appears without distortion in the scan image. Therefore, by acquiring the correction information from the storage medium in which the correction information corresponding to the known object whose three-dimensional shape is defined in the standard is stored in advance, the distortion of the scan image is corrected based on the correction information. The shadow area appearing on the screen can be corrected.
尚、本発明に備わる複数の手段の各機能は、構成自体で機能が特定されるハードウェア資源、プログラムにより機能が特定されるハードウェア資源、又はそれらの組み合わせにより実現される。また、これら複数の手段の各機能は、各々が物理的に互いに独立したハードウェア資源で実現されるものに限定されない。また、本発明は装置及び方法の発明として特定できるだけでなく、プログラムの発明としても、そのプログラムを記録した記録媒体の発明としても特定することができる。 Each function of the plurality of means provided in the present invention is 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. Further, 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 examples.
FIG. 2 is a perspective view showing an external appearance of the multifunction machine 1 as an 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
読み取り手段としてのスキャンユニット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
印刷手段としてのプリントユニット86は、下部ケース20に収容され、インクジェット方式で印刷媒体に画像を形成するための記録ヘッド84、ヘッド駆動部82、ヘッドキャリッジ駆動部78、送紙部80等を備える。尚、プリントユニット86はレーザ方式等の他の印刷方式に対応する構成でもよい。記録ヘッド84は、インクカートリッジが搭載される図示しないヘッドキャリッジに設けられ、ノズル、ピエゾ素子、インク通路等を備える。ヘッドキャリッジ駆動部78は、図示しないモータ、駆動ベルト、駆動回路等を備える。ヘッドキャリッジ駆動部78は、印刷媒体の搬送方向と垂直に記録ヘッド84を往復移動させる。送紙部80は、図示しない用紙搬送ローラ、モータ、駆動回路等を備える。送紙部80は、用紙搬送ローラを回転させることにより用紙及びCDトレイ28(図2参照)を記録ヘッド84の移動方向と垂直な方向に搬送する。プリントユニット86はCDトレイ28を搬送し、CDトレイ28の位置決め部30に位置決めされたCDのレーベル面に画像を形成可能な構成である。
A
外部メモリコントローラ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 control unit 58 includes a
以上、複合機1のハードウェア構成を説明した。次に、スキャン画像に表れる影について説明する。
図4に示すように、光源52は、原稿台16の盤面からイメージセンサ54に到る光路から外れた位置に設けられる。また光源52は、原稿台16の盤面の垂線と特定の角度をなす方向から対象物92を照明する。このため、対象物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
図5は、複合機1の制御プログラムを示すブロック図である。
スキャン制御モジュール102は、スキャンユニット50を読み取り手段として機能させるプログラム部品である。スキャン制御モジュール102は、読み取り開始要求に応じてスキャンユニット50を制御し、スキャン画像をRAM60に格納する。
FIG. 5 is a block diagram illustrating a control program of the multifunction machine 1.
The
CDレーベル処理モジュール104は、制御部58を画像取得手段、修整手段、プレ画像取得手段、設定手段として機能させるプログラム部品である。CDレーベル処理モジュール104は、1回目の読み取りによって取得される低解像度のスキャン画像(プレスキャン画像)の領域分割を用いて第二スキャン領域を特定する。領域分割には原稿マット90に対応する画素の濃淡レベルから所定のマージンを差し引いたレベルのしきい値(例えば200/255)を用いる。領域分割の結果、CD及びその影が表れている領域がプレスキャン画像の全体から分割される。CDレーベル処理モジュール104は、プレスキャン画像の特徴解析により対象物がCDであることを認識する。特徴解析では、例えば第二スキャン領域の寸法がCDの規格寸法に対応した、許容範囲を持った寸法であるか否かを解析する。
The CD
CDレーベル処理モジュール104は、2回目の読み取りによって取得される高解像度のスキャン画像(第二スキャン画像)を縦横異なる倍率で拡大縮小する。このときCDレーベル処理モジュール104は、修整情報に基づいて縦横異なる倍率で第二スキャン画像を拡大縮小し、CDの規格寸法に対応する矩形に第二スキャン画像を変形する。ROM62に格納されている修整情報は、変形後の矩形の水平方向画素数と垂直方向画素数を含み、CDの直径規格(12cm)とCDの影の幅とに応じて設定されている。CDの影の幅は、光源52から放射される光の原稿台16への入射角とCDの厚さ規格とによって決まる。具体的には例えば、2回目の読み取りが720dpiの解像度で実行され、垂直方向のCDの影の幅が1mmになる機種において、変形後のCDとその影を含む領域に外接する矩形の水平方向画素数は3402、垂直方向画素数は3430である。
The CD
CDレーベル処理モジュール104は、第二スキャン画像の端部領域を修整情報に基づいて削除する。修整情報は、第二スキャン画像のいずれの辺に接してどれだけの幅のCDの影が表れるかを表す情報を含む。影の幅は、画素数又は第二スキャン画像の一辺の長さに対する比率によって設定される。
The CD
CDレーベル処理モジュール104は、修整情報が規定している範囲で第二スキャン画像の画素値を白に置換することにより、印刷対象画像を生成する。具体的には例えば、CPU64は修整情報に基づいて画素をラスタ順にカウントしながら、レーベルが表れている領域外の画素値を白に置換する。尚、図6に示すマスクと第二スキャン画像とに基づいて印刷対象画像を生成してもよい。このマスクは、修整情報としてROM60に格納しておくことができ、正方形の白画像と、CDレーベルに対応した領域内では第二スキャン画像の画素値が優先され、CDレーベルに対応した領域の外側では白画像の画素値が優先されることを示す二次元配列情報であるαチャネルと、白画像とαチャネルと第二スキャン画像とをアライメントするための枠情報とで構成される。
The CD
プリント制御モジュール106は、プリントユニット86を印刷手段として機能させるプログラム部品である。プリント制御モジュール106は、修整されたスキャン画像である印刷対象画像の色空間をインクの色空間であるCMYK等の色空間に変換する処理、解像度変換、ハーフトーニング、インタレース処理等を施して印刷データを生成し、印刷データに基づいてプリントユニット86を制御する。
The
図7は、上述した制御プログラムを制御部58で実行する複合機1による画像処理方法を示すフローチャートである。図7に示す処理は、所定のメニュー操作により複合機1がCDコピーモードに遷移すると開始される。
ステップS100では、制御部58は、原稿台16上の読み取り可能範囲全体をスキャンユニット50に低解像度で読み取らせ、プレスキャン画像をRAM60に格納する。図1(A)は、原稿台16にCDが載置されている状態で読み取られたプレスキャン画像を表している。プレスキャン画像には、CDとCDの影とが表れる。CDの影はCDの外周の外側と内周の内側とにそれぞれ三日月形で表れる。尚、図1及び図6では、影に対応する領域を黒く塗りつぶして表し、レーベルに対応する領域をハッチングで表している。
FIG. 7 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. 7 is started when the multifunction device 1 transitions to the CD copy mode by a predetermined menu operation.
In step S <b> 100, the control unit 58 causes the
ステップS102では、制御部58は、プレスキャン画像の領域分割によりCD及び影が表れている領域を特定する。対象物がCDである場合、CDとその影が表れている領域の濃淡レベルは原稿マット90が表れている領域の濃淡レベルよりも相当低い。このため、領域分割のしきい値を原稿マット90が表れる領域の濃淡レベルを基準にして設定すると、図1(A)に示すように、CDとその影が表れている領域をプレスキャン画像全体から分割することができる。さらに制御部58は、その領域に基づいて矩形の第二スキャン領域を設定する。第二スキャン領域はCDとその影が現れている領域に外接する矩形領域でもよいが、例えば、CDとその影が表れている領域に外接する矩形領域の外周から幅3mmの領域を除外した領域を第二スキャン領域として設定する。その結果、CDの外周に存在する透明な部分が表れている領域を第二スキャン領域の三辺から除外することができる。尚、CDの外周に存在する透明な部分は、第二スキャン画像のレーベル領域以外を白画素に置換する後述の処理で白画素に置換してもよい。また、CD及びその影が表れている領域に外接する矩形の一辺からCDの影の最大幅が除かれた第二スキャン領域が設定されてもよい。また、第二スキャン領域を設定する方法として、濃淡レベルのしきい値を用いた領域分割以外に、エッジ検出を用いてもよい。
In step S102, the control unit 58 identifies a region where a CD and a shadow appear by region division of the pre-scan image. When the object is a CD, the shading level of the area where the CD and its shadow appear is considerably lower than the shading level of the area where the
ステップS104では、制御部58は、第二スキャン領域の寸法に基づいて対象物がCDであるかCD以外であるかを判定する。具体的には例えば、制御部58は、第二スキャン領域の寸法が11.7cm(±3%)×11.8cm(±3%)に相当するか否かによって対象物がCDであるかCD以外であるかを判定する。制御部58は対象物がCDであると判定するとステップS106の処理に進み、CD以外であると判定するとステップS118の処理に進み、エラー処理を実行する。 In step S104, the control unit 58 determines whether the object is a CD or other than a CD based on the dimensions of the second scan region. Specifically, for example, the control unit 58 determines whether the object is a CD depending on whether the size of the second scan region corresponds to 11.7 cm (± 3%) × 11.8 cm (± 3%). It is determined whether it is other than. 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 and executes error processing.
ステップS106では、制御部58は、ステップS102で設定された第二スキャン領域を高解像度でスキャンユニット50に読み取らせ、第二スキャン画像をRAM60に格納する。図1(B)は原稿台16にCDが載置された状態で読み取られた第二スキャン画像を表している。第二スキャン画像には、CDレーベルとCDの影の一部とが表れる。
In step S106, the control unit 58 causes the
ステップS108では、制御部58は、修整情報に基づいて第二スキャン画像を拡大縮小し、第二スキャン画像を予め設定されている矩形に変形する(図1(C)参照)。CDの規格寸法で許容される公差は極めて小さく、光源52の照射方向は経年変化や温度による変化が実質的にない。このため、CDの規格寸法と光源52の照射方向に応じて製品出荷時に設定されている修整情報に基づいて縦横異なる倍率で第二スキャン画像113を拡大縮小することにより、CDレーベルが表れている領域を正確な円形に補正することができる。また、読み取り時に基準体を読み取って歪み補正情報を生成する必要がないため、短時間に歪みのないスキャン画像を得ることができる。また、影の領域の修整前にスキャン画像の歪みを修整しておくことにより、製造公差、経年劣化、温度変化等に左右されずに影の領域を正確に修整することができるし、またレーベルが表れている領域外の画素を正確に白に置換することができる。
In step S108, the control unit 58 enlarges / reduces the second scan image based on the modification information, and transforms the second scan image into a preset rectangle (see FIG. 1C). The tolerance allowed in the standard CD dimensions is extremely small, and the irradiation direction of the
ステップS110では、制御部58は、修整情報に基づいて第二スキャン画像の一辺に沿った所定幅の領域をクリッピングする。この結果、第二スキャン画像から影が表れている領域の一部とCDの外周の透明な部分が表れている領域の一部とが削除され、図1(D)に示すように第二スキャン画像が変形する。
ステップS112では、制御部58は、第二スキャン画像のレーベルが表れている領域外の画素値を白に置換して印刷対象画像を生成する。
In step S110, the control unit 58 clips a region having a predetermined width along one side of the second scan image based on the modification information. As a result, a part of the area where the shadow appears from the second scan image and a part of the area where the transparent part of the outer periphery of the CD appears are deleted, as shown in FIG. The image is deformed.
In step S112, the control unit 58 generates a print target image by replacing the pixel values outside the region where the label of the second scan image appears with white.
ステップS114では、制御部58は、印刷対象画像に色空間変換、解像度変換、ハーフトーニング、インタレース処理などを施して印刷データを生成する。
ステップS116では、制御部58は、印刷データに基づいてプリントユニット86を制御し、CDトレイ28に載置されたCDRレーベルに画像を印刷する。この結果、原稿台16に載置されたCDのレーベルがCDRレーベルにハードコピーされる。制御部58は印刷対象の空白レーベルよりもわずかに大きい範囲にレーベルの画像が印刷されるように印刷データを生成しプリントユニット86を制御してもよい。尚、原稿台16に載置されたCDのレーベルをコピーするための印刷媒体としては、CDRのレーベルに対応する剥離領域を有する無地シール等を用いることができる。
In step S114, the control unit 58 generates print data by performing color space conversion, resolution conversion, halftoning, interlace processing, and the like on the print target image.
In step S 116, the control unit 58 controls the
以上、複合機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. The present invention is also applicable to a system in which a complete scan image is stored in a memory in a scanner system, a print target image is generated from the scan image, and the print target image is output to a printer that is an external system. can do. The present invention can also be applied to a printer that acquires a scan image from a scanner, generates print data from the acquired scan image, and prints based on the print data.
また上述の実施例では、既知対象物としてCDを例示したが、対象物は形状や特徴が規格等で特定可能な既知のものであればよく、例えばPD、DVD等の他の光ディスクであってもよい。 In the above-described embodiments, the CD is exemplified as the known object. However, the object may be any known object whose shape and characteristics can be specified by a standard, for example, other optical disks such as PD and DVD. Also good.
1:複合機(画像処理システム)、16:原稿台、50:スキャンユニット(読み取り手段)、58:制御部(画像取得手段、修整手段、プレ画像取得手段、設定手段)、66:ディジタル画像処理部(読み取り手段、印刷手段)、86:プリントユニット(印刷手段)、90:原稿マット、92:対象物 1: MFP (image processing system), 16: document table, 50: scan unit (reading unit), 58: control unit (image acquisition unit, modification unit, pre-image acquisition unit, setting unit), 66: digital image processing Part (reading means, printing means), 86: print unit (printing means), 90: original mat, 92: object
Claims (6)
規格で定められた厚さと平面形状とを有する既知対象物に対応する修整情報が格納されている不揮発性記憶媒体と、
前記スキャン画像の対象物が前記既知対象物である場合、前記スキャン画像の歪みを前記修整情報に基づいて修整した後に、前記既知対象物の厚さから生じる影に対応する前記スキャン画像の影領域を前記修整情報に基づいて修整する修整手段と、
を備える画像処理システム。 Image acquisition means for acquiring a scanned image;
A non-volatile storage medium storing modification information corresponding to a known object having a thickness and a planar shape defined by a standard;
When the object of the scan image is the known object, a shadow region of the scan image corresponding to a shadow generated from the thickness of the known object after correcting the distortion of the scan image based on the correction information Modifying means based on the modification information;
An image processing system comprising:
前記修整手段は、領域分割により分割される領域に外接する矩形が前記修整情報によって決まるアスペクト比になるように前記スキャン画像を変形することにより前記スキャン画像の歪みを修整する、
請求項1に記載の画像処理システム。 The known object is a disk-type storage medium,
The retouching unit corrects distortion of the scan image by deforming the scan image so that a rectangle circumscribing a region divided by region division has an aspect ratio determined by the retouching information.
The image processing system according to claim 1.
前記プレスキャン画像の領域分割を用いて矩形の二次スキャン領域を設定する設定手段とをさらに備え、
前記画像取得手段は、前記二次スキャン領域から読み取られた前記スキャン画像を取得し、
前記修整手段は、前記修整情報によって決まるアスペクト比に前記スキャン画像を変形することにより前記スキャン画像の歪みを修整する、
請求項2に記載の画像処理システム。 Pre-image acquisition means for acquiring a low-resolution pre-scan image;
Setting means for setting a rectangular secondary scan region using region division of the pre-scan image,
The image acquisition means acquires the scanned image read from the secondary scan area,
The modifying means modifies the distortion of the scanned image by deforming the scanned image to an aspect ratio determined by the modified information.
The image processing system according to claim 2.
請求項2に記載の画像処理システム。 The retouching unit retouches the shadow region by replacing the pixels of the scan image outside the region corresponding to the label of the disk-type storage medium with white based on the retouching information.
The image processing system according to claim 2.
修整された前記スキャン画像を印刷する印刷手段とをさらに備え、
前記修整情報は、前記特定角度に対応している、
請求項1に記載の画像処理システム。 Reading means for reading the scanned image from the known object that is placed on a transparent 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;
Printing means for printing the modified scanned image,
The modification information corresponds to the specific angle,
The image processing system according to claim 1.
規格で定められた厚さと平面形状とを有する既知対象物に対応する修整情報が格納されている不揮発性記憶媒体から前記修整情報を取得し、
前記スキャン画像の対象物が前記既知対象物である場合、前記スキャン画像の歪みを前記修整情報に基づいて修整した後に、前記既知対象物の厚さから生じる影に対応する前記スキャン画像の影領域を前記修整情報に基づいて修整する、
ことを含む画像処理方法。
Get a scanned image,
Obtaining the modification information from a non-volatile storage medium storing modification information corresponding to a known object having a thickness and a planar shape defined by a standard;
When the object of the scan image is the known object, a shadow region of the scan image corresponding to a shadow generated from the thickness of the known object after correcting the distortion of the scan image based on the correction information Based on the correction information,
An image processing method.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005269647A JP2007080138A (en) | 2005-09-16 | 2005-09-16 | Image processing system and method |
US11/237,871 US7471423B2 (en) | 2003-09-26 | 2005-09-29 | Image processing system and image processing method |
US12/136,122 US8023158B2 (en) | 2003-09-26 | 2008-06-10 | Image processing system and image processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005269647A JP2007080138A (en) | 2005-09-16 | 2005-09-16 | Image processing system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007080138A true JP2007080138A (en) | 2007-03-29 |
Family
ID=37940358
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005269647A Withdrawn JP2007080138A (en) | 2003-09-26 | 2005-09-16 | Image processing system and method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007080138A (en) |
-
2005
- 2005-09-16 JP JP2005269647A patent/JP2007080138A/en not_active Withdrawn
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7471423B2 (en) | Image processing system and image processing method | |
US7961347B2 (en) | Hybrid printer and scan image copying method | |
JP4570670B2 (en) | Image processing apparatus, image reading apparatus, image forming apparatus, image processing method, image processing program, and recording medium | |
US8199357B2 (en) | Image processing apparatus and method detecting and storing areas within band images and cutting out an image from the resulting stored partial image | |
JP2008035173A (en) | Image processing method | |
JP2023069850A (en) | Image reader and control method of image reader | |
JP4939016B2 (en) | Image processing system and image processing method | |
JP3781192B2 (en) | Image processing system and image processing method | |
US20050219632A1 (en) | Image processing system and image processing method | |
JP2007080138A (en) | Image processing system and method | |
JP2007065329A (en) | Image reader | |
JP4165617B2 (en) | Program and recording medium | |
JP4124219B2 (en) | Image processing system | |
US20070064256A1 (en) | Image forming apparatus | |
JP2006352526A (en) | Image forming system, image forming method, and image forming program | |
JP4134151B2 (en) | Image reading apparatus and shading correction data creation method | |
JP2007102641A (en) | Image reader and image reading method | |
JP4367265B2 (en) | Imaging control apparatus and imaging system | |
JP4232572B2 (en) | Image reading device | |
US20190342463A1 (en) | Output image generating method of an image reading device, and an image reading device | |
US20190342462A1 (en) | Output information generating method of an image reading device, and an image reading device | |
JP4363352B2 (en) | Image forming system | |
JP2006050386A (en) | Image processing system, image processing method and image processing program | |
JP2024031558A (en) | Image reading device and control method thereof, program, and storage medium | |
JP6288514B2 (en) | Image reading device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
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: 20070405 |
|
A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20081202 |