JP2011091539A - Image processor, image processing method, program for executing the image processing method, and storage medium - Google Patents

Image processor, image processing method, program for executing the image processing method, and storage medium Download PDF

Info

Publication number
JP2011091539A
JP2011091539A JP2009242348A JP2009242348A JP2011091539A JP 2011091539 A JP2011091539 A JP 2011091539A JP 2009242348 A JP2009242348 A JP 2009242348A JP 2009242348 A JP2009242348 A JP 2009242348A JP 2011091539 A JP2011091539 A JP 2011091539A
Authority
JP
Japan
Prior art keywords
image
image processing
code
reading
code image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2009242348A
Other languages
Japanese (ja)
Inventor
Ritsuko Otake
律子 大竹
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2009242348A priority Critical patent/JP2011091539A/en
Publication of JP2011091539A publication Critical patent/JP2011091539A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Facsimiles In General (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To solve the problem that scan data is input at a disadvantageous state for decoding, and stability of the decoding cannot be ensured, when the scan and decoding of a pattern showing additional information are executed by an MFP. <P>SOLUTION: The image processor has: an operation unit for giving an instruction for executing the scan and the decoding of an original with a code pattern; and a unit for switching scanner setting and image processing setting to exclusive setting for code pattern processing when being instructed by the operation unit. The exclusive setting is: making brightness in reading by a scanner darker than that of general original reading to fix reading resolution to a predetermined value; image processing setting for emphasizing the code pattern by edge emphasis and color processing to exclude image information unnecessary for decoding; increasing a memory reservation amount in a system for job execution; and minimizing compression in primary storage of image data under processing. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、二次元コード、バーコード等の符号画像パターンを扱う画像処理装置、画像処理方法、ならびに画像処理方法を実行するプログラム及び記憶媒体に関する。   The present invention relates to an image processing apparatus that handles a code image pattern such as a two-dimensional code and a barcode, an image processing method, a program for executing the image processing method, and a storage medium.

文書印刷時に本来の文書画像に加えて、付加的な情報を既定のドットパターンとして用紙上に印刷し利用する技術が知られている(例えば、特許文献1から3参照)。この付加情報には、例えばその印刷された文書のセキュリティ情報(ユーザ名、プリント日時等)や、その文書の扱い方に対する制限情報(コピー許可/禁止等)、音声情報等が埋め込まれている。そして付加情報が印刷された紙文書をスキャナ等で読み取り、その画像データから付加情報を表すパターンを検出、解析することによって付加情報を得て機器の制御等に利用する技術も知られている(例えば、特許文献4参照)。このとき、付加情報でない一般的な画像を撮像するのと同じ条件で撮像した画像から付加情報を表すパターンを検出することが可能な場合もあるが、パターンを読み取るための専用の処理が必要な利用形態もある。例えば特許文献5では、通常の画像撮像モードとバーコード専用の撮像モードを切り替えて、バーコード画像取得のための操作性およびバーコードの認識性を高める技術が開示されている。   A technique is known in which additional information is printed on paper as a predetermined dot pattern in addition to the original document image when printing the document (see, for example, Patent Documents 1 to 3). In this additional information, for example, security information (user name, print date, etc.) of the printed document, restriction information on how to handle the document (copy permission / prohibition, etc.), audio information, and the like are embedded. A technique is also known in which a paper document on which additional information is printed is read by a scanner or the like, and a pattern representing the additional information is detected and analyzed from the image data to obtain additional information and used for device control or the like ( For example, see Patent Document 4). At this time, there are cases where it is possible to detect a pattern representing additional information from an image captured under the same conditions as when capturing a general image that is not additional information, but a dedicated process for reading the pattern is required. There is also a usage form. For example, Patent Document 5 discloses a technique for switching between a normal image capturing mode and a barcode-dedicated image capturing mode to improve operability for barcode image acquisition and barcode recognition.

特開2002−305646号公報JP 2002-305646 A 特開2006−005399号公報JP 2006-005399 A 特開2008−271110号公報JP 2008-271110 A 特開2008−227930号公報JP 2008-227930 A 特開2004−056696号公報JP 2004-056696 A

ところが、印刷されている付加情報を表すパターンの品位が、印刷時の状態、保管状態、用紙の特性等により低下していたり、それを読み取る際に利用するスキャナ等の特性によっては、読み取って得た画像データがデコードに適していない場合があった。   However, the quality of the pattern representing the additional information being printed may be deteriorated due to the printing state, storage state, paper characteristics, etc., or depending on the characteristics of the scanner used to read it, it can be obtained by reading. Some image data is not suitable for decoding.

MFP(マルチファンクションプリンタ)が搭載するスキャナを利用して画像を読み取り、MFP内蔵のデコーダで付加情報をデコードする場合は、デコードに適した画像データをより安定して取得することが求められる。スキャン画像データをその場で確認しながらの作業は、高品位のプレビュー機能を持たないMFPでは現実的ではないためである。   When an image is read using a scanner installed in an MFP (multifunction printer) and additional information is decoded by a decoder built in the MFP, it is required to acquire image data suitable for decoding more stably. This is because the operation while checking the scanned image data on the spot is not practical for an MFP that does not have a high-quality preview function.

原稿をスキャンしてデジタル画像データを取得するための画像読取手段(200)と、
前記画像読取手段で取得した画像データを変換するための第一の画像処理手段(150)と、
前記画像読取手段で取得した画像データまたは前記第一の画像処理手段によって変換された画像データから符号画像パターンを検出し復号処理をするための復号手段(128)と、
原稿をスキャンして符号画像の復号を行うことを指示するための第一の操作手段(410)と、
前記第一の操作手段により符号画像の処理を指示されたとき、前記画像読取手段の設定を既定の符号画像読取設定に切り替えるための読取設定切替手段(S9−02)と、
前記第一の操作手段により符号画像の処理を指示されたとき、前記第一の画像処理手段とは異なる変換処理を行うための第二の画像処理手段(S9−04)と
を有することを特徴とする画像処理装置(001)であって、
前記読取設定切り替え手段は、少なくとも一般画像読取モードと符号画像読取モードの2モードを切り替える手段であって、符号画像読取モードは、少なくとも以下の設定を行うことを含む。
Image reading means (200) for scanning a document and acquiring digital image data;
First image processing means (150) for converting the image data acquired by the image reading means;
A decoding unit (128) for detecting a code image pattern from the image data acquired by the image reading unit or the image data converted by the first image processing unit and performing a decoding process;
First operating means (410) for instructing to scan a document and decode a coded image;
A reading setting switching means (S9-02) for switching the setting of the image reading means to a default code image reading setting when the first operation means is instructed to process the code image;
A second image processing unit (S9-04) for performing a conversion process different from that of the first image processing unit when instructed to process the code image by the first operation unit; An image processing apparatus (001)
The reading setting switching means is a means for switching at least two modes of a general image reading mode and a code image reading mode, and the code image reading mode includes at least the following setting.

解像度を既定の値に固定する。   Fix the resolution to the default value.

原稿の明るい部分の階調再現性を一般画像読取モードよりも高く設定する。   The gradation reproducibility of the bright part of the original is set higher than in the general image reading mode.

前記第二の画像処理手段は、以下の処理のうち少なくとも一つを含む。   The second image processing means includes at least one of the following processes.

エッジ強調のための空間フィルタ処理。   Spatial filtering for edge enhancement.

符号画像パターンの読取値付近の階調性を強調するためのルックアップテーブル処理。   Lookup table processing for emphasizing gradation near the read value of the code image pattern.

符号画像パターンの読取値付近に含まれない信号値の情報量を削減するためのルックアップテーブル処理。   Lookup table processing for reducing the amount of signal value information not included in the vicinity of the read value of the code image pattern.

システム内での画像データ圧縮率を一般画像読取モードよりも低く設定もしくは非圧縮の設定をし、同時に前記符号画像読取と復号を実行するためのメモリを一般画像読取時よりも多く確保する処理。   A process of setting the image data compression rate in the system to be lower or non-compressed than in the general image reading mode, and securing more memory for executing the code image reading and decoding at the same time than in the general image reading.

MFP内蔵のデコーダで付加情報をデコードするために、付加情報を表すパターンが付加された原稿をスキャンするとき、その動作を指示するための操作手段を持つことにより、他の設定変更等の必要が無く操作性が向上する。また、その指示を受けたときにスキャナの設定およびMFP内部で実施する画像処理の設定を付加情報読取とデコードに最も適した設定に切り替える手段とを持つことによって、原稿上のパターン品位によらず高精度のデコード結果を得ることが可能になる。更に、高精度のデコード結果が得られる設定を自動的にMFP内部で行うことでデコード失敗率が低減され、操作し直し等のユーザへの負担を軽減する効果がある。   In order to decode additional information with a decoder built in the MFP, when scanning a document with a pattern representing additional information, it is necessary to change other settings by having an operation means for instructing the operation. The operability is improved. Also, by having means for switching the setting of the scanner and the setting of the image processing performed inside the MFP to the most suitable setting for reading and decoding the additional information when receiving the instruction, it is possible regardless of the pattern quality on the document. A highly accurate decoding result can be obtained. Furthermore, the setting for obtaining a high-precision decoding result is automatically performed inside the MFP, so that the decoding failure rate is reduced and the burden on the user such as re-operation is reduced.

本実施例を適用するのに好適なデジタル複合機Digital MFP suitable for applying this embodiment 本実施例を適用するのに好適なデジタル複合機の制御システム構成Control system configuration of a digital multi-function peripheral suitable for applying this embodiment タイルデータを概念的に示す図Diagram showing tile data conceptually スキャナ画像処理部の構成図Configuration diagram of the scanner image processing unit プリンタ画像処理部の構成図Configuration diagram of the printer image processing unit 二次元コードの原稿例2D code manuscript example コード解析のための操作画面例1Operation screen example 1 for code analysis コード解析のための操作画面例2Operation screen example 2 for code analysis 実施例1の処理を示すフローチャートThe flowchart which shows the process of Example 1. 実施例2の処理を示すフローチャートThe flowchart which shows the process of Example 2. 通常設定でのスキャン画像例Example of scanned image with normal settings コード解析用設定でのスキャン画像例Scanned image example with code analysis settings コード解析用画像処理後の画像データ例Example of image data after image processing for code analysis

以下、本発明を実施するための最良の形態について図面を用いて説明する。   The best mode for carrying out the present invention will be described below with reference to the drawings.

本実施例を適用するのに好適なデジタル複合機001の外観を図1に示す。   FIG. 1 shows the appearance of a digital multi-functional peripheral 001 that is suitable for applying this embodiment.

図1に示すスキャナ部200は、原稿となる紙上の画像を照明し、図示しないR(赤)、G(緑)、B(青)それぞれのカラーフィルタを設けた3ラインCCDもしくはそれにBK(ブラック)を加えた4ラインCCDを走査する。CCDで得られる電荷量から、RGBカラー画像データまたは/およびグレイスケール画像データを表す電気信号に変換する。原稿フィーダ201のトレイ202に原稿をセットし、操作部400から読み取り開始指示すると、CPU103がスキャナ200に指示を与え、フィーダ201は原稿を一枚ずつフィードし原稿画像の読み取り動作を行う。   A scanner unit 200 shown in FIG. 1 illuminates an image on paper as an original, and is a three-line CCD provided with color filters (not shown) of R (red), G (green), and B (blue) or BK (black). 4 line CCD to which () is added is scanned. The charge amount obtained by the CCD is converted into an electrical signal representing RGB color image data or / and gray scale image data. When a document is set on the tray 202 of the document feeder 201 and a reading start instruction is given from the operation unit 400, the CPU 103 gives an instruction to the scanner 200, and the feeder 201 feeds the document one by one and performs a document image reading operation.

図1に示すプリンタ部300はラスター画像データを用紙上の画像に変換する部分である。印字方式は電子写真方式、インクジェット方式等があるが本実施例においては特に限定しない。プリント動作の起動はコントローラCPU103からの指示によって開始する。用紙カセット302は用紙をプリンタに給紙するためにセットしておく部分であり、異なる用紙サイズまたは異なる用紙向きを選択できるように複数の給紙段を持つ場合もある。また、排紙トレイ303は印字し終わった用紙を受けるものである。   The printer unit 300 shown in FIG. 1 is a part that converts raster image data into an image on paper. The printing method includes an electrophotographic method and an ink jet method, but is not particularly limited in this embodiment. Activation of the printing operation is started by an instruction from the controller CPU 103. The paper cassette 302 is a part that is set for feeding paper to the printer, and may have a plurality of paper feed stages so that different paper sizes or different paper orientations can be selected. The paper discharge tray 303 receives paper that has been printed.

図2は、デジタル複合機001のコントローラ100の構成をより詳細に説明するためのブロック図である。   FIG. 2 is a block diagram for explaining the configuration of the controller 100 of the digital multifunction peripheral 001 in more detail.

コントローラ100はスキャナ部200、プリンタ部300と電気的に接続されており、一方ではLAN500、WAN600を介して図示しないコンピュータその他外部の装置と接続されている。これにより外部からの画像データやデバイス情報の入出力が可能となっている。   The controller 100 is electrically connected to the scanner unit 200 and the printer unit 300. On the other hand, the controller 100 is connected to a computer (not shown) and other external devices via the LAN 500 and WAN 600. As a result, external image data and device information can be input and output.

CPU103は、ROM108に記憶された制御プログラム等に基づいて接続中の各種デバイスとのアクセスを統括的に制御すると共に、コントローラ内部で行われる各種処理についても統括的に制御する。RAM107は、CPU103が動作するためのシステムワークメモリであり、かつ画像データを一時記憶するためのメモリでもある。このRAM107は、記憶した内容を電源OFF後も保持しておくSRAMおよび電源OFF後には記憶した内容が消去されてしまうDRAMにより構成されている。ROM108には装置のブートプログラムなどが格納されている。HDD109はハードディスクドライブであり、システムソフトウェアや画像データを格納することが可能である。   The CPU 103 comprehensively controls access to various connected devices based on a control program or the like stored in the ROM 108, and also comprehensively controls various processes performed in the controller. The RAM 107 is a system work memory for the operation of the CPU 103 and also a memory for temporarily storing image data. The RAM 107 includes an SRAM that retains stored contents even after the power is turned off, and a DRAM that erases the stored contents after the power is turned off. The ROM 108 stores a boot program for the apparatus. An HDD 109 is a hard disk drive, and can store system software and image data.

操作部インターフェース104は、システムバス101と操作部400とを接続するためのインターフェース部である。この操作部インターフェース104は、操作部400に表示するための画像データをシステムバス101から受け取り操作部400に出力すると共に、操作部400から入力された情報をシステムバス101へと出力する。   The operation unit interface 104 is an interface unit for connecting the system bus 101 and the operation unit 400. The operation unit interface 104 receives image data to be displayed on the operation unit 400 from the system bus 101 and outputs the image data to the operation unit 400 and outputs information input from the operation unit 400 to the system bus 101.

ネットワークインターフェース105はLAN500及びシステムバス101に接続し、情報の入出力を行う。モデム106はWAN600およびシステムバス101に接続しており、情報の入出力を行う。2値画像回転部116は送信前の2値画像データの方向を変換する。2値画像圧縮・伸張部117は、送信前の2値画像データの解像度を所定の解像度や相手能力に合わせた解像度に変換する。なお圧縮及び伸張にあたってはJBIG、MMR、MR、MHなどの方式が用いられる。画像バス102は画像データをやり取りするための伝送路であり、PCIバスまたはIEEE1394で構成されている。   A network interface 105 is connected to the LAN 500 and the system bus 101 to input / output information. The modem 106 is connected to the WAN 600 and the system bus 101 and inputs / outputs information. A binary image rotation unit 116 converts the direction of binary image data before transmission. The binary image compression / decompression unit 117 converts the resolution of the binary image data before transmission into a resolution that matches a predetermined resolution or partner capability. For compression and expansion, methods such as JBIG, MMR, MR, and MH are used. The image bus 102 is a transmission path for exchanging image data, and is configured by a PCI bus or IEEE1394.

スキャナ画像処理部150は、スキャナ部200からスキャナインターフェース113を介して受け取った画像データに対して、補正、加工、及び編集を行う。このスキャナ画像処理部150で行われる処理の詳細については後述する。   The scanner image processing unit 150 corrects, processes, and edits image data received from the scanner unit 200 via the scanner interface 113. Details of processing performed by the scanner image processing unit 150 will be described later.

圧縮部112は画像データを受け取り、この画像データを32画素×32画素のブロック単位に分割する。なお、この32×32画素の画像データをタイルデータと称する。図3は、このタイルデータを概念的に表している。原稿(読み取り前の紙媒体)において、このタイルデータに対応する領域をタイル画像と称する。なおタイルデータには、その32×32画素のブロックにおける平均輝度情報やタイル画像の原稿上の座標位置がヘッダ情報として付加されている。さらに圧縮部112は、複数のタイルデータからなる画像データを圧縮する。伸張部114は、複数のタイルデータからなる画像データを伸張した後にラスター展開してプリンタ画像処理部160に送る。   The compression unit 112 receives the image data and divides the image data into blocks of 32 pixels × 32 pixels. The 32 × 32 pixel image data is referred to as tile data. FIG. 3 conceptually represents this tile data. In a document (paper medium before reading), an area corresponding to the tile data is referred to as a tile image. The tile data is added with the average luminance information in the 32 × 32 pixel block and the coordinate position of the tile image on the document as header information. Further, the compression unit 112 compresses image data including a plurality of tile data. The decompression unit 114 decompresses image data composed of a plurality of tile data, rasterizes the data, and sends the raster data to the printer image processing unit 160.

プリンタ画像処理部160は、伸張部114から送られた画像データを受け取り、画像処理を施す。画像処理後の画像データは、プリンタインターフェース115を介してプリンタ部300に出力される。このプリンタ画像処理部160で行われる処理の詳細については後述する。   The printer image processing unit 160 receives the image data sent from the decompression unit 114 and performs image processing. The image data after image processing is output to the printer unit 300 via the printer interface 115. Details of processing performed by the printer image processing unit 160 will be described later.

画像変換部120は、画像データに対して所定の変換処理を施すものであり、以下に示すような処理部により構成される。   The image conversion unit 120 performs a predetermined conversion process on the image data, and includes a processing unit as described below.

伸張部121は受け取った画像データを伸張する。圧縮部122は受け取った画像データを圧縮する。回転部123は受け取った画像データを回転する。変倍部124は受け取った画像データに対し解像度変換処理(例えば600dpiから200dpi)を行う。色空間変換部125は受け取った画像データの色空間を変換する。この色空間変換部125ではさらに、公知のLOG変換処理(RGB→CMY)、公知の出力色補正処理(CMY→CMYK)を実施する。2値多値変換部126は受け取った2階調の画像データを256階調の画像データに変換する。逆に多値2値変換部127は受け取った256階調の画像データを誤差拡散処理などの手法により2階調の画像データに変換する。   The decompression unit 121 decompresses the received image data. The compression unit 122 compresses the received image data. The rotation unit 123 rotates the received image data. The scaling unit 124 performs resolution conversion processing (for example, 600 dpi to 200 dpi) on the received image data. The color space conversion unit 125 converts the color space of the received image data. The color space conversion unit 125 further performs a known LOG conversion process (RGB → CMY) and a known output color correction process (CMY → CMYK). The binary multi-value conversion unit 126 converts the received two-gradation image data into 256-gradation image data. Conversely, the multi-level binary conversion unit 127 converts the received 256-gradation image data into 2-gradation image data using a technique such as error diffusion processing.

符号画像処理部128は符号画像パターンの処理を行う。所定の符号画像の生成と、受け取った画像データから符号画像パターンを検出し復号して元情報を取得する処理を行う。   The code image processing unit 128 performs code image pattern processing. A process of generating a predetermined code image and detecting the code image pattern from the received image data and decoding it to acquire original information is performed.

間引き部129は受け取った画像データの画素を間引くことで解像度変換を行う。   The thinning unit 129 performs resolution conversion by thinning out the pixels of the received image data.

合成部130は受け取った2つの画像データを合成し1枚の画像データを生成する。なお、2つの画像データを合成する際には、合成対象の画素同士が持つ輝度値の平均値を合成輝度値とする方法や、輝度レベルで明るい方の画素の輝度値を合成後の画素の輝度値とする方法が適用される。また、暗い方を合成後の画素とする方法の利用も可能である。さらに合成対象の画素同士の論理和演算、論理積演算、排他的論理和演算などで合成後の輝度値を決定する方法なども適用可能である。これらの合成方法はいずれも周知の手法である。   The synthesizer 130 synthesizes the received two image data to generate one piece of image data. When combining two pieces of image data, a method of using an average value of luminance values of pixels to be combined as a combined luminance value, or a luminance value of a pixel having a brighter luminance level, A method for obtaining a luminance value is applied. In addition, it is possible to use a method in which the darker pixel is used as a synthesized pixel. Furthermore, a method of determining a luminance value after synthesis by a logical sum operation, a logical product operation, an exclusive logical sum operation, or the like between pixels to be synthesized is also applicable. These synthesis methods are all well-known methods.

RIP110は、コンピュータ002などから送信されたPDLコードデータを元に生成された中間データを受け取り、多値のビットマップデータを生成する。   The RIP 110 receives intermediate data generated based on PDL code data transmitted from the computer 002 or the like, and generates multi-value bitmap data.

図4はスキャナ画像処理部150の細部構成を示すブロック図である。   FIG. 4 is a block diagram illustrating a detailed configuration of the scanner image processing unit 150.

151は、入力画像の副走査方向の色ずれ(RGB各版の副走査方向ずれ)を補正する副走査色ずれ補正部であり、例えば、画像データの色ごとに1×5サイズのマトリクス演算を行う処理が行われる。   151 is a sub-scanning color misregistration correction unit that corrects color misregistration in the sub-scanning direction of the input image (RGB sub-scanning direction misalignment). For example, 1 × 5 size matrix calculation is performed for each color of image data. Processing to be performed is performed.

152は、入力画像の主走査方向の色ずれ(RGB各版の主走査方向ずれ)を補正する主走査色ずれ補正部であり、例えば、画像データの色ごとに5×1サイズのマトリクス演算を行う処理が行われる。   Reference numeral 152 denotes a main scanning color misregistration correction unit that corrects color misregistration in the main scanning direction of the input image (main scanning direction misregistration for each of the RGB versions). For example, 5 × 1 matrix calculation is performed for each color of image data. Processing to be performed is performed.

153は、入力画像の色味の補正を行う入力色補正部であり、スキャナ特有の特性が含まれている画像データを標準的なデータに変換し、例えば、入力画像の色空間を任意の色空間に変換する処理を行う。   Reference numeral 153 denotes an input color correction unit that corrects the color of the input image. The input color correction unit 153 converts image data including characteristics unique to the scanner into standard data. For example, the color space of the input image is changed to an arbitrary color. Perform processing to convert to space.

154は、入力画像中の画像種類を識別する像域判定部である。例えば、入力画像中の、写真部分/文字部分、有彩色部分/無彩色部分等、それぞれの画像種類を構成する画素を識別し、その種別を示す属性フラグデータを画素単位で生成する。   An image area determination unit 154 identifies an image type in the input image. For example, pixels constituting each image type such as a photographic part / character part, chromatic part / achromatic part, etc. in the input image are identified, and attribute flag data indicating the type is generated on a pixel basis.

155は、入力画像の空間周波数特性を任意に補正するフィルタ処理部であり、例えば、7×7サイズのマトリクス演算が行われる。   Reference numeral 155 denotes a filter processing unit that arbitrarily corrects the spatial frequency characteristics of the input image. For example, 7 × 7 matrix calculation is performed.

156は、入力画像中の画像信号データをサンプリングおよびカウントするヒストグラム処理部であり、例えば、入力画像がカラーであるのかモノクロ画像であるのかの判別、入力画像の地色レベルの判定が行われる。   A histogram processing unit 156 samples and counts image signal data in the input image. For example, it determines whether the input image is a color or a monochrome image and determines the ground color level of the input image.

スキャナ画像処理部150内の処理は、上述した副走査色ずれ補正部151から入力色補正部156の全てを用いる処理だけに限られるものではなく、他の画像処理モジュールが追加されても良いし、削除されても良い。さらに、副走査色ずれ補正部151から入力色補正部156の処理順に関しても、これだけに限られるものではない。   The processing in the scanner image processing unit 150 is not limited to the processing using all of the sub-scanning color misregistration correction unit 151 to the input color correction unit 156 described above, and other image processing modules may be added. , May be deleted. Furthermore, the processing order of the sub-scanning color misregistration correction unit 151 to the input color correction unit 156 is not limited to this.

図5は、プリンタ画像処理部160の細部構成を示すブロック図である。   FIG. 5 is a block diagram illustrating a detailed configuration of the printer image processing unit 160.

161は地色除去部であり、画像データの地色すなわち不要な下地のかぶり除去を行う。例えば、3×8サイズのマトリクス演算や、1次元ルックアップテーブル(LUT)により地色除去処理を行う。   Reference numeral 161 denotes a ground color removing unit that removes the ground color of image data, that is, unnecessary background fogging. For example, the background color removal processing is performed by a matrix operation of 3 × 8 size or a one-dimensional lookup table (LUT).

162はモノクロ生成部であり、カラー画像データをモノクロデータに変換し、単色としてプリントする際に、カラー画像データ、例えばRGBデータを、グレイ(Gray)単色に変換する。例えば、RGBに任意の定数を掛け合わせ、グレイ信号とする1×3サイズのマトリクス演算が行われる。   A monochrome generation unit 162 converts color image data to monochrome data and converts color image data, for example, RGB data to gray (Gray) single color when printing as a single color. For example, RGB is multiplied by an arbitrary constant to perform a 1 × 3 size matrix calculation as a gray signal.

163は画像データを出力するプリンタ部300の特性に合わせて色補正を行う出力色補正部である。例えば、4×8サイズのマトリクス演算や、ダイレクトマッピングによる処理が行われる。   Reference numeral 163 denotes an output color correction unit that performs color correction in accordance with the characteristics of the printer unit 300 that outputs image data. For example, processing by 4 × 8 size matrix calculation or direct mapping is performed.

164は画像データの空間周波数特性を任意に補正するフィルタ処理部であり、例えば7×7サイズのマトリクス演算処理が行われる。   Reference numeral 164 denotes a filter processing unit that arbitrarily corrects the spatial frequency characteristics of the image data. For example, 7 × 7 size matrix calculation processing is performed.

165は出力するプリンタ部300の特性に合わせて、ガンマ補正を行うガンマ補正部であり、通常1次元のルックアップテーブル(LUT)が用いられる。   Reference numeral 165 denotes a gamma correction unit that performs gamma correction in accordance with the characteristics of the output printer unit 300, and generally uses a one-dimensional lookup table (LUT).

166は非線形処理部であり、裏写り防止処理のほか、トナー節約モードが有効であるときにトナー使用量を抑制するための処理が行われる。   Reference numeral 166 denotes a non-linear processing unit that performs a process for suppressing the amount of toner used when the toner saving mode is effective, in addition to the show-through prevention process.

167は出力するプリンタ部300の階調数に合わせて任意の擬似中間調処理を行う擬似中間調処理部であり、2値化や32値化等の任意のスクリーン処理や誤差拡散処理が行われる。   Reference numeral 167 denotes a pseudo halftone processing unit that performs arbitrary pseudo halftone processing in accordance with the number of gradations of the printer unit 300 to output, and performs arbitrary screen processing such as binarization and binarization and error diffusion processing. .

尚、プリンタ画像処理部160内の処理は、上述した地色除去部161から擬似中間調処理部167の全てを用いる処理だけに限られるものではなく、他の画像処理モジュールが追加されても良いし、削除されても良い。さらに、地色除去部161から擬似中間調処理部167の処理順に関しても、この順序だけに限られるものではない。   The processing in the printer image processing unit 160 is not limited to the processing using all of the ground color removal unit 161 to the pseudo halftone processing unit 167 described above, and other image processing modules may be added. And may be deleted. Furthermore, the processing order of the ground color removal unit 161 to the pseudo halftone processing unit 167 is not limited to this order.

本実施例では、扱う符号画像の一例として、特開2008−271110号公報等で開示されているLVBC(Low Visibility Barcode)を挙げる。図6は、LVBCが付加された原稿画像の例およびその一部を拡大した図である。この図のように代表的な利用形態では、エンコードされた情報を表すために原稿全体に微細なドットが配置される。   In this embodiment, LVBC (Low Visibility Barcode) disclosed in Japanese Patent Laid-Open No. 2008-271110 is cited as an example of a code image to be handled. FIG. 6 is an enlarged view of an example of a document image to which LVBC is added and a part thereof. As shown in this figure, in a typical usage mode, fine dots are arranged on the entire document in order to represent encoded information.

付加された情報を読み取ってデコードするためには、このような微細なドットを正確に読み取り、画像データに変換する必要がある。ところが、MFPに搭載されるスキャナ200により原稿をスキャンする際、原稿を照らす照明、原稿からの反射光を検知して電気信号に変換すためのセンサ等の特性、さらには原稿の表面特性等の要因で、微細なドットが実際よりも薄く読み取られることが多い。薄く読み取られた画像データ内の微細なドットを正確に検知するのは難しく、デコードの安定性を高めるためにはこれ以降説明する処理が有効である。   In order to read and decode the added information, it is necessary to accurately read such fine dots and convert them into image data. However, when a document is scanned by the scanner 200 mounted on the MFP, characteristics such as illumination for illuminating the document, a sensor for detecting reflected light from the document and converting it into an electrical signal, and surface characteristics of the document, etc. For this reason, fine dots are often read thinner than actual. It is difficult to accurately detect fine dots in the thinly read image data, and the processing described below is effective for improving the stability of decoding.

図7および図8は、ドット情報解析アプリケーションの操作を行うために、操作部400上の表示装置に表示される画面である。図7のドット情報解析開始ボタン411もしくは図8の開始ボタン423がユーザにより押下されると、CPU103は解析用のスキャンおよび制御処理を開始するための動作を開始する。   7 and 8 are screens displayed on the display device on the operation unit 400 in order to operate the dot information analysis application. When the dot information analysis start button 411 in FIG. 7 or the start button 423 in FIG. 8 is pressed by the user, the CPU 103 starts an operation for starting analysis scan and control processing.

図8の黒ドット解析ボタン421と赤紫ドット解析ボタン422は、解析するべきコードのドット色をユーザが予め選択するためのものである。色を指定されたときの内部処理の詳細は後述する。   The black dot analysis button 421 and the magenta dot analysis button 422 in FIG. 8 are for the user to select in advance the dot color of the code to be analyzed. Details of internal processing when a color is designated will be described later.

図9は、本実施例の処理の流れを示すフローチャートである。   FIG. 9 is a flowchart showing the flow of processing of this embodiment.

ユーザの操作によりスキャン開始命令がCPU103に伝えられると、ステップS9−01でその命令がドット情報解析ジョブであるか否かを判定する。ここで解析ジョブでないと判定された場合には、通常のコピー等のジョブであるためステップS9−07へ進む。解析ジョブである場合には、ステップS9−02に進み、スキャン設定を解析ジョブ専用のものに変更する。ここでは、原稿の明るい部分の階調を失わないためにシェーディング係数を変更し、通常のスキャン画像に比べて暗い画像を取得する設定を行い、スキャン解像度を例えば600x600dpiに固定する。図11は通常の設定でLVBC原稿をスキャンした例、図12は通常より暗い読み取り設定で同じ原稿をスキャンした例である。CPU103からの命令により上記スキャン設定をスキャナI/F113を通じてスキャナ部200に内蔵されるコントローラへ通知、それに従ってスキャン動作が行われる(ステップS9−03)。そのようにして取得された画像データはスキャナ画像処理部150に送信され、解析に適した画像処理が行われる(ステップS9−04)。この画像処理の詳細は後述する。次にステップS9−05に進み、符号画像処理部128内で解析およびデコード処理が実施される。この内部の処理は例えば特開2008−211332に開示されているような処理が適用される。ステップS9−06ではデコード結果を受けて、CPU103によってユーザに提示するデータが作成され、操作部400上の表示装置に表示される。場合によっては、そのデータをプリンタ画像処理部160を介して処理し、プリンタ300によってプリント出力しても良い。   When a scan start command is transmitted to the CPU 103 by a user operation, it is determined in step S9-01 whether the command is a dot information analysis job. If it is determined that the job is not an analysis job, the process proceeds to step S9-07 because the job is a normal copy job. If it is an analysis job, the process proceeds to step S9-02, and the scan setting is changed to that dedicated to the analysis job. Here, in order not to lose the gradation of the bright part of the document, the shading coefficient is changed, a setting for acquiring a darker image than the normal scan image is performed, and the scan resolution is fixed at, for example, 600 × 600 dpi. FIG. 11 shows an example of scanning an LVBC document with normal settings, and FIG. 12 shows an example of scanning the same document with reading settings darker than normal. In response to a command from the CPU 103, the scan setting is notified to the controller built in the scanner unit 200 through the scanner I / F 113, and a scan operation is performed accordingly (step S9-03). The image data thus acquired is transmitted to the scanner image processing unit 150, and image processing suitable for analysis is performed (step S9-04). Details of this image processing will be described later. Next, the process proceeds to step S9-05, where analysis and decoding processing are performed in the code image processing unit 128. As this internal process, for example, a process as disclosed in Japanese Patent Application Laid-Open No. 2008-211332 is applied. In step S9-06, the decoding result is received, and data to be presented to the user is created by the CPU 103 and displayed on the display device on the operation unit 400. In some cases, the data may be processed via the printer image processing unit 160 and printed out by the printer 300.

次にステップS9−04で実施される解析専用の画像処理の説明を行う。   Next, the image processing dedicated to analysis performed in step S9-04 will be described.

スキャナ画像処理部150では、以下のような専用処理が実施される。   The scanner image processing unit 150 performs the following dedicated processing.

副走査色ずれ補正部151、主走査色ずれ補正部152は、通常スキャン時と同等の処理を実施する。   The sub-scanning color misregistration correction unit 151 and the main scanning color misregistration correction unit 152 perform processing equivalent to that during normal scanning.

入力色補正部153では、白紙上に印字された微細ドットをスキャンしたときに得られる信号値付近の階調性を高める処理と、明らかにデコードすべきドット色と異なる信号値を白相当の信号値に置き換える処理をダイレクトマッピングで実施する。   In the input color correction unit 153, a process for improving the gradation near the signal value obtained when scanning fine dots printed on white paper, and a signal value clearly different from the dot color to be decoded The process to replace with the value is performed by direct mapping.

階調性を高める処理は、微細ドット読み取り値として入力される確率の高い信号域の出力信号ステップ数を拡張し、その代わりに微細ドットの読み取り値ではない信号域のステップ数を圧縮する。   In the process of improving the gradation, the number of output signal steps in a signal area having a high probability of being input as a fine dot reading value is expanded, and instead, the number of steps in a signal area that is not a fine dot reading value is compressed.

またその一環として不要な色域の信号を全て白相当の信号値に置換する処理も合わせて行う。R,G,Bの版ずれが想定される範囲内である場合の、微細ドット読み取り値の推定範囲を既定しておき、その範囲外の色(例えば赤や青の純色等)を白に置換する。入力されるドット色が複数の可能性がある場合は、各色ごとにドット読み取り値の推定範囲を既定し、そのどれにも当てはまらない色域のみが白への置換対象となる。なお、図8のように、黒ドット解析ボタン421と赤紫ドット解析ボタン422が操作画面にある場合、指定されたドット色ごとの既定範囲を個別に記憶しておき、指定に従って利用する既定範囲を切り替えてダイレクトマッピング係数に反映する。   As part of this, processing for replacing all signals in unnecessary color gamut with signal values equivalent to white is also performed. Estimate the fine dot reading range when R, G, B misregistration is within the expected range, and replace colors outside that range (for example, pure red or blue) with white To do. When there are a plurality of possible dot colors to be input, an estimated range of dot reading values is set for each color, and only a color gamut that does not fall under any of these ranges is to be replaced with white. As shown in FIG. 8, when the black dot analysis button 421 and the magenta dot analysis button 422 are on the operation screen, a default range for each specified dot color is stored separately and used according to the specification. To reflect in the direct mapping coefficient.

入力補正部153で実施する以上の処理はダイレクトマッピング係数の変更により実現する。その方法としては、複数の係数をHDD109に記憶しておきその都度切り替える方法、係数算出のためのデータをHDD109に記憶しておき条件に従ってCPU103でダイレクトマッピング係数を算出してセットする方法などがある。   The above processing executed by the input correction unit 153 is realized by changing the direct mapping coefficient. As the method, there are a method of storing a plurality of coefficients in the HDD 109 and switching each time, a method of storing data for coefficient calculation in the HDD 109 and calculating and setting the direct mapping coefficient by the CPU 103 according to the conditions. .

以上のような処理をするため、入力色補正部153の出力画像は微細ドット以外の部分の画像は破壊していることになる。   Since the processing as described above is performed, the image output from the input color correction unit 153 is destroyed in the image other than the fine dots.

像域判定部154はここは使用しない。フィルタ処理部155は、上記処理で残された微細ドットのコントラストを強調するために、強い輪郭強調処理をかける。   The image area determination unit 154 is not used here. The filter processing unit 155 applies strong edge enhancement processing to enhance the contrast of the fine dots left by the above processing.

ヒストグラム処理部156は基本的に本実施例では使用しないが、場合によって、残されたドットの補正処理をするための係数を算出するために信号値のヒストグラムを取得する。   The histogram processing unit 156 is basically not used in the present embodiment, but in some cases, a histogram of signal values is acquired in order to calculate a coefficient for correcting the remaining dots.

図13はこうした処理を行った後の画像データ例である。   FIG. 13 shows an example of image data after such processing.

多くのMFPは、大きな画像データを扱う機会が増えたり、様々な機能を同時に制御するためにシステム内の画像データを圧縮してサイズをできる限り小さくする仕組みを持っている。通常のコピーやプリントには充分な画質を保たれている場合であっても、符号画像をスキャンしてデコードする際にはこの圧縮がデコード安定性に影響を与えることがある。そこで、本実施例では、符号画像の解析ジョブ発生時の処理を説明する。   Many MFPs have a mechanism for increasing the size of the image data by compressing the image data in the system in order to increase the opportunity to handle large image data and to control various functions simultaneously. Even when image quality sufficient for normal copying and printing is maintained, this compression may affect the decoding stability when the code image is scanned and decoded. In the present embodiment, a process when a code image analysis job is generated will be described.

図10は、本実施例の処理の流れを示すフローチャートである。ステップS10−01で解析ジョブであると判定されるとステップS10−02でシステム内で並行して処理されているジョブのうち、一時停止可能なジョブを一旦停止する。次にステップS10−03で解析ジョブ用のメモリを確保する。このメモリは、画像データを保持するためのバッファとしても利用するため、通常のジョブよりも大きなサイズが確保されることになる。これにより、通常のジョブよりも画像をRAM107やHDD109に格納する際の圧縮率を低くできるか、もしくは非圧縮の状態で格納することが可能になる。そして、通常よりも高画質で格納された画像に対して実施例1で説明したデコード処理を行う(ステップS10−04)。デコードが終了したらステップS10−05で、解析ジョブ用に確保していたメモリを解放し、一連の処理を終了する。   FIG. 10 is a flowchart showing the flow of processing of this embodiment. If it is determined in step S10-01 that the job is an analysis job, in step S10-02, among the jobs processed in parallel in the system, jobs that can be paused are temporarily stopped. In step S10-03, a memory for an analysis job is secured. Since this memory is also used as a buffer for holding image data, a larger size than that of a normal job is secured. Thereby, it is possible to lower the compression rate when images are stored in the RAM 107 and the HDD 109 than in a normal job, or to store the images in an uncompressed state. Then, the decoding process described in the first embodiment is performed on an image stored with higher image quality than usual (step S10-04). When the decoding is completed, in step S10-05, the memory reserved for the analysis job is released, and the series of processes is ended.

Claims (7)

原稿をスキャンしてデジタル画像データを取得するための画像読取手段(200)と、
前記画像読取手段で取得した画像データを変換するための画像処理手段(150)と、
符号画像パターンを含む画像データから符号画像パターンを検出し復号処理をするための復号手段(128)と、
符号画像パターンを含む画像データを前記復号手段に入力する以前に、前記画像処理手段にて解析に適した特性に画像データを変換するための、符号画像解析用画像処理手段(S9−04)と、
原稿をスキャンして符号画像の復号を行うことを指示するための第一の操作手段(410)と、
前記第一の操作手段により符号画像の処理が指示されたとき、前記画像読取手段の設定を既定の符号画像読取設定に切り替えるための読取設定切替手段(S9−02)と、
前記第一の操作手段により符号画像の処理を指示されたとき、前記符号画像解析用画像処理手段を適用するための画像処理切り替え手段(S9−04)と
を有することを特徴とする画像処理装置(001)。
Image reading means (200) for scanning a document and acquiring digital image data;
Image processing means (150) for converting the image data acquired by the image reading means;
Decoding means (128) for detecting a code image pattern from image data including the code image pattern and performing a decoding process;
Code image analysis image processing means (S9-04) for converting the image data into characteristics suitable for analysis by the image processing means before inputting the image data including the code image pattern to the decoding means. ,
First operating means (410) for instructing to scan a document and decode a coded image;
A reading setting switching unit (S9-02) for switching the setting of the image reading unit to a predetermined code image reading setting when an instruction to process the code image is given by the first operation unit;
An image processing apparatus comprising: an image processing switching unit (S9-04) for applying the code image analysis image processing unit when the first operation unit is instructed to process the code image. (001).
前記読取設定切り替え手段は、少なくとも一般画像読取モードと符号画像読取モードの2モードを切り替える手段であって、符号画像読取モードは、少なくとも以下の設定を行うことを含むことを特徴とする請求項1に記載の画像処理装置。
解像度を既定の値に固定する。
原稿の明るい部分の階調再現性を一般画像読取モードよりも高く設定する。
2. The reading setting switching means is means for switching at least two modes of a general image reading mode and a code image reading mode, and the code image reading mode includes at least the following setting. An image processing apparatus according to 1.
Fix the resolution to the default value.
The gradation reproducibility of the bright part of the original is set higher than in the general image reading mode.
前記符号画像解析用画像処理手段は、以下の処理のうち少なくとも一つを含むことを特徴とする請求項1に記載の画像処理装置。
エッジ強調のための空間フィルタ処理。
符号画像パターンの読取値付近の階調性を強調するためのルックアップテーブル処理。
符号画像パターンの読取値付近に含まれない信号値の情報量を削減するためのルックアップテーブル処理。
システム内での画像データ圧縮率を通常よりも低く設定もしくは非圧縮の設定をし、同時に前記符号画像読取と復号を実行するためのメモリを一般画像読取時よりも多く確保する処理。
The image processing apparatus according to claim 1, wherein the code image analysis image processing means includes at least one of the following processes.
Spatial filtering for edge enhancement.
Lookup table processing for emphasizing gradation near the read value of the code image pattern.
Lookup table processing for reducing the amount of signal value information not included in the vicinity of the read value of the code image pattern.
A process of setting an image data compression rate in the system to be lower or non-compressed than usual, and simultaneously securing more memory for executing the code image reading and decoding than when reading a general image.
前記第一の操作手段は、復号対象の符号画像の色を指定するための第二の操作手段をさらに有することを特徴とする請求項1から3に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the first operation unit further includes a second operation unit for designating a color of a code image to be decoded. 前記符号画像パターンの読取値付近を既定するための情報を、符号画像の色ごとに予め記憶しておくための記憶手段をさらに有することを特徴とする請求項1から3に記載の画像処理装置。   4. The image processing apparatus according to claim 1, further comprising storage means for preliminarily storing, for each color of the code image, information for determining the vicinity of the read value of the code image pattern. . 前記符号画像パターンの読取値付近を既定するための情報に従って、前記ルックアップテーブルを設定しなおす手段をさらに有することを特徴とする請求項1から5に記載の画像処理装置。   6. The image processing apparatus according to claim 1, further comprising means for resetting the look-up table in accordance with information for setting a vicinity of a read value of the code image pattern. 原稿をスキャンしてデジタル画像データを取得するための画像読取ステップと、
前記画像読取ステップで取得した画像データを変換するためのの画像処理ステップと、
符号画像パターンを含む画像データから符号画像パターンを検出し復号処理をするための復号ステップと、
符号画像パターンを含む画像データを前記復号ステップに入力する以前に、前記画像処理ステップにて解析に適した特性に画像データを変換するための、符号画像解析用画像処理ステップと、
原稿をスキャンして符号画像の復号を行うことを指示するための第一の操作ステップと、
前記第一の操作ステップにより符号画像の処理が指示されたとき、前記画像読取ステップの設定を既定の符号画像読取設定に切り替えるための読取設定切替ステップと、
前記第一の操作ステップにより符号画像の処理を指示されたとき、前記符号画像解析用画像処理ステップを適用するための画像処理切り替えステップと
を有することを特徴とする画像処理手段。
An image reading step for obtaining digital image data by scanning a document;
An image processing step for converting the image data acquired in the image reading step;
A decoding step for detecting and decoding the code image pattern from the image data including the code image pattern;
Before inputting image data including a code image pattern into the decoding step, an image processing step for code image analysis for converting the image data into characteristics suitable for analysis in the image processing step;
A first operation step for instructing to scan a document and decode a coded image;
A reading setting switching step for switching the setting of the image reading step to a default code image reading setting when a code image processing is instructed in the first operation step;
An image processing means comprising: an image processing switching step for applying the code image analysis image processing step when an instruction to process the code image is instructed in the first operation step.
JP2009242348A 2009-10-21 2009-10-21 Image processor, image processing method, program for executing the image processing method, and storage medium Pending JP2011091539A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009242348A JP2011091539A (en) 2009-10-21 2009-10-21 Image processor, image processing method, program for executing the image processing method, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009242348A JP2011091539A (en) 2009-10-21 2009-10-21 Image processor, image processing method, program for executing the image processing method, and storage medium

Publications (1)

Publication Number Publication Date
JP2011091539A true JP2011091539A (en) 2011-05-06

Family

ID=44109400

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009242348A Pending JP2011091539A (en) 2009-10-21 2009-10-21 Image processor, image processing method, program for executing the image processing method, and storage medium

Country Status (1)

Country Link
JP (1) JP2011091539A (en)

Similar Documents

Publication Publication Date Title
US9036199B2 (en) Image processing apparatus for performing color matching processing, image processing method, and computer-readable medium
JP4708460B2 (en) Display control apparatus, image forming apparatus, display device control method, control program, and recording medium
JP5039736B2 (en) Image processing apparatus, control method, and program
JP4502390B2 (en) Image processing apparatus and method
JP4402580B2 (en) Image processing system
JP2009005312A (en) Image processing apparatus and image processing method, computer program, and storage medium
JP4147255B2 (en) Image processing apparatus, image processing control method, program, and storage medium
JP2010258799A (en) Image processing apparatus and image forming apparatus equipped with the same, image processing method, control program, and recording medium
US8144369B2 (en) Image processing apparatus, image processing method and memory medium
JP4903851B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium
US20050264849A1 (en) Printer
JP4795406B2 (en) Image processing apparatus, image forming apparatus, image processing apparatus control method, control program, and recording medium
US20100188670A1 (en) Image processing apparatus, image processing method and program executing the image processing method
JP2011139162A (en) Image encoding device, control method, and program
JP2011091539A (en) Image processor, image processing method, program for executing the image processing method, and storage medium
JP4990340B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium
JP2007129447A (en) Image processor, image processing method, program implementing image processing method, and storage medium
US8780374B2 (en) Image processing apparatus and image processing method
JP2005027037A (en) Format conversion method and image processing apparatus
JP2009118161A (en) Image processing device, image processing method, program thereof
US8170353B2 (en) Information processing apparatus and control method thereof
JP2006157806A (en) Image processor
JP4974072B2 (en) Image processing device
JP2006211219A (en) Image output apparatus
JP2006295301A (en) Image forming apparatus