JP2016051914A - Image processing apparatus, image processing system, computer program and recording medium - Google Patents

Image processing apparatus, image processing system, computer program and recording medium Download PDF

Info

Publication number
JP2016051914A
JP2016051914A JP2014174348A JP2014174348A JP2016051914A JP 2016051914 A JP2016051914 A JP 2016051914A JP 2014174348 A JP2014174348 A JP 2014174348A JP 2014174348 A JP2014174348 A JP 2014174348A JP 2016051914 A JP2016051914 A JP 2016051914A
Authority
JP
Japan
Prior art keywords
character
resolution
image
character string
unit
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.)
Granted
Application number
JP2014174348A
Other languages
Japanese (ja)
Other versions
JP6262102B2 (en
Inventor
松岡 輝彦
Teruhiko Matsuoka
輝彦 松岡
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.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2014174348A priority Critical patent/JP6262102B2/en
Publication of JP2016051914A publication Critical patent/JP2016051914A/en
Application granted granted Critical
Publication of JP6262102B2 publication Critical patent/JP6262102B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an image processing apparatus capable of outputting a desired output data, by automatically setting an optimum output resolution, without requiring complicated settings by a user, and to provide an image processing system, a computer program and a recording medium.SOLUTION: An image processing apparatus includes a character generation unit generating character identification information for identifying character candidates included in an image, based on the pixel values of a plurality of pixels constituting the image, a character string generation unit generating character string identification information for identifying character string candidates constituted of a plurality of characters based on the character identification information thus generated, a resolution determination unit for determining the resolution of an image based on the character string identification information thus generated, and a conversion unit for converting the resolution of an image by using the resolution thus determined.SELECTED DRAWING: Figure 1

Description

本発明は、スキャンデータを取得する際に、ユーザが複雑な設定を行うことなく、入力画像の特徴や出力データの利用目的に応じて最適な出力データになるよう自動的にパラメータを設定し、所望の出力データを出力可能とする画像処理装置、該画像処理装置を備える画像処理システム、前記画像処理装置を実現するためのコンピュータプログラム及び該コンピュータプログラムを記録した記録媒体に関する。   The present invention automatically sets parameters to obtain optimum output data according to the characteristics of the input image and the purpose of use of the output data without performing complicated settings when acquiring scan data, The present invention relates to an image processing apparatus capable of outputting desired output data, an image processing system including the image processing apparatus, a computer program for realizing the image processing apparatus, and a recording medium on which the computer program is recorded.

近年、デジタル画像処理システムが目覚ましい発達を遂げ、デジタル画像処理技術の構築が進んでいる。例えば、電子写真方式又はインクジェット方式を用いた複写機、複合機(MFP:Multi-Function Printer)等の分野では、文書の原稿がスキャナで読み取られて電子データである文書ファイルとして保存され、また、保存された文書ファイルが管理されている。更には、文書ファイルを圧縮してe-mailで送信することがなされている。   In recent years, digital image processing systems have made remarkable progress, and the construction of digital image processing technology is progressing. For example, in the field of a copying machine using an electrophotographic method or an inkjet method, a multi-function printer (MFP), a document original is read by a scanner and stored as a document file which is electronic data. Stored document files are managed. Furthermore, the document file is compressed and transmitted by e-mail.

一般的に、スキャナで読み取られた画像(以下、スキャン画像という)はファイルサイズが大きいため、スキャン画像を蓄積又は伝送するなどの目的に応じて解像度又は圧縮率などの設定をユーザが手動で行うことが必要である。しかし、解像度又は圧縮率の設定においては、原稿の種別や文字の大きさ、印刷物の解像度などに応じて最適な値が異なっており、これらを一般のユーザが正確に設定して最適な出力データを得るのは困難である。   In general, since an image read by a scanner (hereinafter referred to as a scanned image) has a large file size, the user manually sets a resolution or a compression rate in accordance with the purpose of storing or transmitting the scanned image. It is necessary. However, in setting the resolution or compression ratio, the optimum values differ depending on the type of document, the size of characters, the resolution of the printed matter, etc., and these values are set correctly by general users and the optimum output data. Is difficult to get.

そこで、例えば、画像データよりヒストグラムを作成し、作成されたヒストグラムの解析を行い、原稿種類を文字、写真、文字/写真に分類する。文字と判定された原稿は、黒ラン長の最大値(原稿の走査ラインの黒画素のつながり(ラン)の最大長さ(画素数))を求め、文字ピーク濃度の前後3分割の幅での各ヒストグラムが全て細字判定閾値より大きく、主走査方向の最大黒ラン長が黒ラン長閾値より小さいとき、細字文字原稿と判断し、上記以外の場合は、標準文字原稿と判定する。そして、標準文字原稿の場合には、解像度を標準モードに設定し、細字文字原稿の場合には、高精細モードに設定し、写真原稿、文字/写真原稿に対しては、標準モードに設定する画像形成装置が開示されている(特許文献1参照)。   Therefore, for example, a histogram is created from the image data, the created histogram is analyzed, and the document type is classified into characters, photos, and characters / photos. For a document that has been determined to be text, the maximum black run length (maximum length (number of pixels) of the connection (run) of black pixels on the scan line of the document) is determined, and the width is divided into three parts before and after the character peak density. When all the histograms are larger than the fine character determination threshold and the maximum black run length in the main scanning direction is smaller than the black run length threshold, it is determined as a fine character document, and in other cases, it is determined as a standard character document. In the case of a standard character document, the resolution is set to the standard mode. In the case of a thin character document, the high-definition mode is set. For the photo document and the character / photo document, the standard mode is set. An image forming apparatus is disclosed (see Patent Document 1).

特開平9−46512号公報JP 9-46512 A

しかし、特許文献1に記載の装置では、スキャンした原稿に、タイトルなどの大きな太い文字と脚注などの小さな細かい文字とが混在した場合、罫線などが存在するときは、当該罫線が太い文字の黒ラン長が存在するかのように処理され、仮に黒ラン長が閾値以上の場合には、小さく細かい文字などがある場合にも標準モードに設定され、読取解像度が低くなり、小さく細かい文字などが潰れてしまう可能性がある。   However, in the apparatus described in Patent Document 1, when a large original character such as a title and a small fine character such as a footnote are mixed in a scanned document, if there is a ruled line, the ruled line is a black black character. If the run length is processed and the black run length is greater than or equal to the threshold, even if there are small and fine characters, the standard mode is set, and the scanning resolution is lowered, resulting in small and fine characters. There is a possibility of being crushed.

本発明は斯かる事情に鑑みてなされたものであり、最適な出力解像度を自動設定し、ユーザが複雑な設定をすることなく、所望の出力データを出力可能とする画像処理装置、該画像処理装置を備える画像処理システム、前記画像処理装置を実現するためのコンピュータプログラム及び該コンピュータプログラムを記録した記録媒体を提供することを目的とする。   The present invention has been made in view of such circumstances, and an image processing apparatus that automatically sets an optimum output resolution and that can output desired output data without complicated settings by the user, and the image processing An object of the present invention is to provide an image processing system including the apparatus, a computer program for realizing the image processing apparatus, and a recording medium on which the computer program is recorded.

本発明に係る画像処理装置は、画像を構成する複数の画素の画素値に基づいて該画像に含まれる文字候補を特定する文字特定情報を生成する文字生成部と、該文字生成部で生成した文字特定情報に基づいて複数の文字で構成される文字列候補を特定する文字列特定情報を生成する文字列生成部と、該文字列生成部で生成した文字列特定情報に基づいて前記画像の解像度を決定する解像度決定部と、該解像度決定部で決定した解像度を用いて前記画像の解像度を変換する変換部とを備えることを特徴とする。   An image processing apparatus according to the present invention generates a character generation unit that generates character specifying information for specifying a character candidate included in an image based on pixel values of a plurality of pixels constituting the image, and the character generation unit A character string generating unit that generates character string specifying information for specifying a character string candidate composed of a plurality of characters based on the character specifying information, and the image based on the character string specifying information generated by the character string generating unit A resolution determining unit that determines a resolution, and a conversion unit that converts the resolution of the image using the resolution determined by the resolution determining unit.

本発明に係る画像処理装置は、前記文字列生成部での文字列特定情報の生成の可否を判定する判定部を備え、前記解像度決定部は、前記判定部で文字列特定情報の生成が否であると判定した場合、前記文字生成部で生成した文字特定情報に基づいて前記画像の解像度を決定するようにしてあることを特徴とする。   The image processing apparatus according to the present invention includes a determination unit that determines whether or not the character string generation information can be generated by the character string generation unit, and the resolution determination unit determines whether or not the character string specification information is generated by the determination unit. If it is determined that the resolution of the image is determined based on the character specifying information generated by the character generation unit.

本発明に係る画像処理装置は、生成した文字列特定情報又は文字特定情報に基づいて1又は複数の文字サイズを決定する文字サイズ決定部を備え、前記解像度決定部は、前記文字サイズ決定部で決定した文字サイズに基づいて解像度を決定するようにしてあることを特徴とする。   The image processing apparatus according to the present invention includes a character size determination unit that determines one or a plurality of character sizes based on the generated character string specifying information or character specifying information, and the resolution determining unit is the character size determining unit. The resolution is determined based on the determined character size.

本発明に係る画像処理装置は、画質又は画像サイズのいずれを優先するかを設定する設定部を備え、前記文字サイズ決定部は、前記設定部で画質を優先すべく設定された場合、前記文字列特定情報又は文字特定情報に基づく1又は複数の文字サイズのうち最小の文字サイズを決定し、前記設定部で画像サイズを優先すべく設定された場合、前記文字列特定情報又は文字特定情報に基づく1又は複数の文字サイズのうち最大頻度の文字サイズを決定するようにしてあることを特徴とする。   An image processing apparatus according to the present invention includes a setting unit that sets whether to give priority to image quality or image size, and the character size determination unit, when the setting unit sets priority to image quality, When the minimum character size is determined among one or a plurality of character sizes based on the column specifying information or the character specifying information, and the setting unit is set to prioritize the image size, the character string specifying information or the character specifying information A character frequency having a maximum frequency is determined from one or a plurality of character sizes based on the character size.

本発明に係る画像処理装置は、前記解像度決定部で決定した解像度に基づいて圧縮率を決定する圧縮率決定部と、該圧縮率決定部で決定した圧縮率を用いて前記画像を圧縮する圧縮部とを備えることを特徴とする。   An image processing apparatus according to the present invention includes a compression rate determination unit that determines a compression rate based on the resolution determined by the resolution determination unit, and a compression that compresses the image using the compression rate determined by the compression rate determination unit. And a section.

本発明に係る画像処理装置は、前記圧縮率決定部は、前記解像度決定部で決定した解像度及び前記文字サイズ決定部で決定した文字サイズに基づいて圧縮率を決定するようにしてあることを特徴とする。   In the image processing apparatus according to the present invention, the compression rate determination unit determines a compression rate based on the resolution determined by the resolution determination unit and the character size determined by the character size determination unit. And

本発明に係る画像処理システムは、前述の発明のいずれか1つに係る画像処理装置と、該画像処理装置へ画像を入力する画像入力装置と、前記画像処理装置が変換した画像を出力する画像出力装置とを備えることを特徴とする。   An image processing system according to the present invention includes an image processing device according to any one of the above-described inventions, an image input device that inputs an image to the image processing device, and an image that outputs an image converted by the image processing device. And an output device.

本発明に係るコンピュータプログラムは、画像の解像度を変換するためのコンピュータプログラムにおいて、コンピュータを、画像を構成する複数の画素の画素値に基づいて該画像に含まれる文字候補を特定する文字特定情報を生成する文字生成手段と、生成した文字特定情報に基づいて複数の文字で構成される文字列候補を特定する文字列特定情報を生成する文字列生成手段と、生成した文字列特定情報に基づいて前記画像の解像度を決定する解像度決定手段と、決定した解像度を用いて前記画像の解像度を変換する変換手段として機能させることを特徴とする。   A computer program according to the present invention is a computer program for converting the resolution of an image. The computer program stores character specifying information for specifying character candidates included in the image based on pixel values of a plurality of pixels constituting the image. Character generation means for generating, character string generation means for generating character string specifying information for specifying a character string candidate composed of a plurality of characters based on the generated character specifying information, and based on the generated character string specifying information It functions as a resolution determining means for determining the resolution of the image, and a converting means for converting the resolution of the image using the determined resolution.

本発明に係る記録媒体は、前述の発明に係るコンピュータプログラムを記録してあることを特徴とする。   A recording medium according to the present invention records a computer program according to the above-described invention.

本発明によれば、最適な出力解像度を自動設定し、ユーザが複雑な設定をすることなく、所望の出力データを出力することができる。   According to the present invention, the optimum output resolution can be automatically set, and desired output data can be output without complicated settings by the user.

第1実施形態の画像形成装置の構成の一例を示すブロック図である。1 is a block diagram illustrating an example of a configuration of an image forming apparatus according to a first embodiment. 第1実施形態の画像形成装置の構成の一例を示すブロック図である。1 is a block diagram illustrating an example of a configuration of an image forming apparatus according to a first embodiment. 第1実施形態の処理パラメータ決定部の構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of the process parameter determination part of 1st Embodiment. エッジ検出部の処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the process sequence of an edge detection part. エッジ検出部によるエッジ検出処理の一例を示す模式図である。It is a schematic diagram which shows an example of the edge detection process by an edge detection part. 文字矩形抽出部の処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the process sequence of a character rectangle extraction part. 文字矩形抽出部による文字矩形抽出処理の一例を示す模式図である。It is a schematic diagram which shows an example of the character rectangle extraction process by a character rectangle extraction part. 文字列抽出部の処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the process sequence of a character string extraction part. 文字列抽出部による文字列抽出処理の一例を示す模式図である。It is a schematic diagram which shows an example of the character string extraction process by a character string extraction part. 解像度判定部の処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the process sequence of a resolution determination part. 解像度判定部による解像度判定処理の一例を示す模式図である。It is a schematic diagram which shows an example of the resolution determination process by the resolution determination part. 文字列又は文字の矩形サイズと出力解像度との関係の一例を示す説明図である。It is explanatory drawing which shows an example of the relationship between the rectangular size of a character string or a character, and output resolution. 第2実施形態の画像形成装置の構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of the image forming apparatus of 2nd Embodiment. 第2実施形態の処理パラメータ決定部の構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of the process parameter determination part of 2nd Embodiment. 文字列又は文字の矩形サイズ、出力解像度及び圧縮率の関係の一例を示す説明図である。It is explanatory drawing which shows an example of the relationship between the rectangular size of a character string or a character, output resolution, and a compression rate. 第3実施形態の画像形成装置の構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of the image forming apparatus of 3rd Embodiment. 第1実施形態乃至第3実施形態での解像度の設定方法の一例を示す模式図である。It is a schematic diagram which shows an example of the setting method of the resolution in 1st Embodiment thru | or 3rd Embodiment. デフォルト設定の表示例を示す模式図である。It is a schematic diagram which shows the example of a display of default setting.

(第1実施形態)
以下、本発明を実施の形態を示す図面に基づいて説明する。図1及び図2は第1実施形態の画像形成装置100の構成の一例を示すブロック図である。図1は読み込まれたカラー画像データをカラー画像出力装置2から出力する場合の信号処理を示し、図2は読み込まれたカラー画像データを送信装置3より送信する場合の信号処理を示している。以下の説明では、画像処理システムとしての画像形成装置100について説明する。
(First embodiment)
Hereinafter, the present invention will be described with reference to the drawings illustrating embodiments. 1 and 2 are block diagrams illustrating an example of the configuration of the image forming apparatus 100 according to the first embodiment. FIG. 1 shows signal processing when the read color image data is output from the color image output device 2, and FIG. 2 shows signal processing when the read color image data is transmitted from the transmission device 3. In the following description, the image forming apparatus 100 as an image processing system will be described.

画像形成装置100は、カラーコピー機能及びカラースキャナ機能等を有するデジタル複合機である。画像形成装置100は、原稿からカラー画像を光学的に読み取る画像入力装置としてのカラー画像入力装置1を備えている。   The image forming apparatus 100 is a digital multifunction machine having a color copy function, a color scanner function, and the like. The image forming apparatus 100 includes a color image input device 1 as an image input device that optically reads a color image from a document.

カラー画像入力装置1には、読み取ったカラー画像の画像データ、及び圧縮ファイルを生成する画像処理装置としてのカラー画像処理装置50が接続されている。   Connected to the color image input device 1 is a color image processing device 50 as an image processing device that generates image data of a read color image and a compressed file.

カラー画像処理装置50には、カラー画像処理装置50が生成した画像データに基づいてカラー画像を出力する画像出力装置としてのカラー画像出力装置2、及びカラー画像処理装置50が生成した圧縮ファイルを外部へ送信する画像出力装置としての送信装置3が接続されている。   The color image processing device 50 includes a color image output device 2 as an image output device that outputs a color image based on the image data generated by the color image processing device 50, and a compressed file generated by the color image processing device 50 as an external device. Is connected to a transmission device 3 as an image output device.

すなわち、画像形成装置100は、カラー画像入力装置1、カラー画像処理装置50、カラー画像出力装置2、送信装置3などを備える。また、カラー画像入力装置1、カラー画像処理装置50、カラー画像出力装置2及び送信装置3には、操作パネル4が接続されている。   That is, the image forming apparatus 100 includes a color image input device 1, a color image processing device 50, a color image output device 2, a transmission device 3, and the like. An operation panel 4 is connected to the color image input device 1, the color image processing device 50, the color image output device 2, and the transmission device 3.

操作パネル4は、ユーザが画像形成装置100の動作モードを設定するための設定ボタン及びテンキー等の操作部、及び液晶ディスプレイ等で構成される表示部など(いずれも不図示)を備える。画像形成装置100で実行される各種処理は、図示しないCPU(Central Processing Unit)が制御する。画像形成装置100のCPUは、図示しないネットワークカード及びLANケーブルを介して、ネットワークに接続されたコンピュータ及び他のデジタル複合機等とデータ通信を行なう。   The operation panel 4 includes a setting button for the user to set the operation mode of the image forming apparatus 100, an operation unit such as a numeric keypad, a display unit including a liquid crystal display and the like (all not shown). Various processes executed by the image forming apparatus 100 are controlled by a CPU (Central Processing Unit) (not shown). The CPU of the image forming apparatus 100 performs data communication with a computer and other digital multi-function peripherals connected to the network via a network card and a LAN cable (not shown).

以下、画像形成装置100の各部について詳述する。   Hereinafter, each part of the image forming apparatus 100 will be described in detail.

カラー画像入力装置1は、例えば、CCD(Charge Coupled Device )を有するカラースキャナで構成される。カラー画像入力装置1は、CCDを用いて原稿からの反射光像をRGB(R:赤、G:緑、B:青)のアナログ信号として読み取りカラー画像処理装置50へ出力する。   The color image input device 1 is composed of, for example, a color scanner having a CCD (Charge Coupled Device). The color image input device 1 reads a reflected light image from a document as an analog signal of RGB (R: red, G: green, B: blue) using a CCD and outputs it to the color image processing device 50.

カラー画像処理装置50は、カラー画像入力装置1から入力されたRGBのアナログ信号に対して、A/D変換部11、シェーディング補正部12、原稿種別判別部13、入力階調補正部14、及び領域分離処理部15にて各後述する画像処理を実行することによって、RGBのデジタル信号(以下、RGB信号という)からなる画像データを生成する。   The color image processing device 50 performs an A / D conversion unit 11, a shading correction unit 12, a document type determination unit 13, an input tone correction unit 14, and an RGB analog signal input from the color image input device 1. Image data composed of RGB digital signals (hereinafter referred to as RGB signals) is generated by executing image processing to be described later in the region separation processing unit 15.

また、カラー画像処理装置50は、領域分離処理部15が出力したRGB信号に対して色補正部16、黒色生成下色除去部18、空間フィルタ処理部19、出力階調補正部21、及び階調再現処理部22にて各後述する画像処理を実行することによって、CMYK(C:シアン、M:マゼンタ、Y:イエロー、K:ブラック)のデジタル信号からなる画像データを生成して、ストリームとしてカラー画像出力装置2へ出力する。なお、カラー画像出力装置2へ出力される前に、画像データを記憶部(不図示)に一旦記憶するようにしてもよい。記憶部は、不揮発性の記憶装置(例えばハードディスク)である。   In addition, the color image processing device 50 applies a color correction unit 16, a black generation and under color removal unit 18, a spatial filter processing unit 19, an output tone correction unit 21, and a floor to the RGB signals output from the region separation processing unit 15. The tone reproduction processing unit 22 executes image processing to be described later, thereby generating image data composed of digital signals of CMYK (C: cyan, M: magenta, Y: yellow, K: black) as a stream. Output to the color image output device 2. The image data may be temporarily stored in a storage unit (not shown) before being output to the color image output device 2. The storage unit is a non-volatile storage device (for example, a hard disk).

カラー画像出力装置2は、カラー画像処理装置50から入力された画像データに基づいて、熱転写、電子写真、又はインクジェット等の方式により、記録シート(例えば記録用紙等)上にカラー画像を形成して出力する。   The color image output device 2 forms a color image on a recording sheet (for example, recording paper) based on the image data input from the color image processing device 50 by a method such as thermal transfer, electrophotography, or inkjet. Output.

なお、画像形成装置100は、カラー画像出力装置2の代わりに、記録シート上にモノクローム画像を形成して出力するモノクロ画像出力装置を備えていてもよい。この場合、カラー画像処理装置50にて、カラー画像の画像データがモノクローム画像の画像データに変換されてからモノクロ画像出力装置へ出力される。   The image forming apparatus 100 may include a monochrome image output apparatus that forms and outputs a monochrome image on a recording sheet instead of the color image output apparatus 2. In this case, the color image processing device 50 converts the image data of the color image into the image data of the monochrome image, and then outputs it to the monochrome image output device.

また、カラー画像処理装置50は、領域分離処理部15が出力したRGB信号に対して色補正部16、空間フィルタ処理部19、解像度変換処理部20、出力階調補正部21、及び圧縮処理部23にて各後述する画像処理を実行することによって、RGBのデジタル信号からなる出力画像データ、グレースケール又はモノクロ出力画像データを圧縮処理した圧縮データを生成して送信装置3へ出力する。   The color image processing apparatus 50 also includes a color correction unit 16, a spatial filter processing unit 19, a resolution conversion processing unit 20, an output tone correction unit 21, and a compression processing unit for the RGB signals output from the region separation processing unit 15. By executing image processing to be described later at 23, compressed image data generated by compressing output image data composed of RGB digital signals, grayscale or monochrome output image data is generated and output to the transmission device 3.

また、本実施の形態において、解像度変換処理部20で解像度変換処理を行う際には、必要に応じて、処理パラメータ決定部17は変換すべき出力解像度(解像度)を決定し、決定した解像度を解像度変換処理部20へ出力することにより、入力された画像(画像データ)を所望の出力解像度に変換処理することが可能である。   In the present embodiment, when the resolution conversion processing unit 20 performs the resolution conversion process, the processing parameter determination unit 17 determines the output resolution (resolution) to be converted as necessary, and determines the determined resolution. By outputting to the resolution conversion processing unit 20, it is possible to convert the input image (image data) to a desired output resolution.

なお、出力画像データ、又は出力画像データを圧縮した圧縮データを送信装置へ出力する前に、一旦記憶部に記憶するようにしてもよい。   The output image data or the compressed data obtained by compressing the output image data may be temporarily stored in the storage unit before being output to the transmission device.

また、図1に示すように、カラー画像入力装置1で読み込まれたカラー画像データをカラー画像出力装置2から出力する場合には、解像度変換処理部20、圧縮処理部23は動作しない。また、図2に示すように、カラー画像入力装置1で読み込まれたカラー画像データを送信装置3より送信する場合、黒色生成下色除去部18、階調再現処理部22は動作しない。   As shown in FIG. 1, when the color image data read by the color image input device 1 is output from the color image output device 2, the resolution conversion processing unit 20 and the compression processing unit 23 do not operate. As shown in FIG. 2, when the color image data read by the color image input device 1 is transmitted from the transmission device 3, the black generation and under color removal unit 18 and the gradation reproduction processing unit 22 do not operate.

送信装置3は、図示しない公衆回線網、LAN(Local Area Network)又はインターネット等の通信ネットワークに接続可能であり、ファクシミリ又は電子メール等の通信方法により、通信ネットワークを介して外部へ圧縮ファイルを送信する。例えば、操作パネル4においてscan to e-mailモードが選択されている場合、圧縮ファイルは、ネットワークカード、モデム等を用いてなる送信装置によってe-mailに添付され、設定された送信先へ送信される。   The transmission device 3 can be connected to a communication network such as a public network (not shown), a LAN (Local Area Network), or the Internet, and transmits a compressed file to the outside via the communication network by a communication method such as facsimile or e-mail. To do. For example, when the scan to e-mail mode is selected on the operation panel 4, the compressed file is attached to the e-mail by a transmission device using a network card, a modem, etc., and transmitted to the set transmission destination. The

なお、ファクシミリの送信を行なう場合は、画像形成装置100のCPUが、モデムを用いてなる送信装置3にて、相手先との通信手続きを行ない、送信可能な状態が確保されたときに、圧縮ファイルに対して圧縮形式の変更等の必要な処理を施してから、相手先に通信回線を介して順次送信する。また、ファクシミリを受信する場合、画像形成装置100のCPUは、送信装置3にて通信手続きを行いながら、相手先から送信されてくる圧縮ファイルを受信して、カラー画像処理装置50へ出力する。   When performing facsimile transmission, the CPU of the image forming apparatus 100 performs a communication procedure with the other party in the transmission apparatus 3 using a modem, and compression is performed when a transmission possible state is secured. After performing necessary processing such as changing the compression format on the file, the file is sequentially transmitted to the other party via a communication line. When receiving a facsimile, the CPU of the image forming apparatus 100 receives a compressed file transmitted from the other party while performing a communication procedure at the transmitting apparatus 3 and outputs the compressed file to the color image processing apparatus 50.

カラー画像処理装置50では、受信した圧縮ファイルに対し、不図示の伸張処理部で伸張処理が施される。圧縮ファイルを伸張することによって得られた画像データには、必要に応じて、不図示の処理部で回転処理及び/又は解像度変換処理等が施され、また、出力階調補正部21で出力階調補正が施され、階調再現処理部22で階調再現処理が施される。各種画像処理が施された画像データは、カラー画像出力装置2へ出力され、カラー画像出力装置2にて、記録シート上に出力画像が形成される。   In the color image processing apparatus 50, the received compressed file is decompressed by an unillustrated decompression processing unit. The image data obtained by decompressing the compressed file is subjected to rotation processing and / or resolution conversion processing by a processing unit (not shown) as necessary, and the output gradation correction unit 21 outputs the output level. Tone correction is performed, and the gradation reproduction processing unit 22 performs gradation reproduction processing. The image data that has undergone various types of image processing is output to the color image output device 2, and an output image is formed on the recording sheet by the color image output device 2.

以下、カラー画像処理装置50における画像処理を詳述する。   Hereinafter, image processing in the color image processing apparatus 50 will be described in detail.

A/D変換部11は、カラー画像入力装置1から入力されたRGBのアナログ信号を受け付け、RGBのアナログ信号をRGBのデジタル信号(即ちRGB信号)へ変換し、変換したRGB信号をシェーディング補正部12へ出力する。   The A / D conversion unit 11 receives an RGB analog signal input from the color image input device 1, converts the RGB analog signal into an RGB digital signal (that is, an RGB signal), and converts the converted RGB signal into a shading correction unit. 12 is output.

シェーディング補正部12は、A/D変換部11から入力されたRGB信号に対して、カラー画像入力装置1の照明系、結像系及び撮像系で生じる各種の歪みを取り除く処理を行なう。そして、シェーディング補正部12は、歪みを取り除いたRGB信号を原稿種別判別部13へ出力する。   The shading correction unit 12 performs processing for removing various distortions generated in the illumination system, the imaging system, and the imaging system of the color image input apparatus 1 on the RGB signal input from the A / D conversion unit 11. The shading correction unit 12 then outputs the RGB signal from which the distortion has been removed to the document type determination unit 13.

原稿種別判別部13は、シェーディング補正部12から入力されたRGBの反射率信号をRGB各色の濃度を示す濃度信号に変換し、文字、印刷写真、又は印画紙写真等の原稿のモードを判別する原稿種別判別処理が実行される。原稿種別判別処理を、ユーザが操作パネル4を用いてマニュアル設定する場合、原稿種別判別部13はシェーディング補正部12から入力されたRGB信号をそのまま後段の入力階調補正部14へ出力する。原稿種別判別処理の処理結果は、後段の画像処理に反映される。   The document type discrimination unit 13 converts the RGB reflectance signal input from the shading correction unit 12 into a density signal indicating the density of each RGB color, and discriminates the mode of the document such as a character, a printed photograph, or a photographic paper photograph. Document type determination processing is executed. When the user manually sets the document type determination process using the operation panel 4, the document type determination unit 13 outputs the RGB signal input from the shading correction unit 12 to the input tone correction unit 14 at the subsequent stage as it is. The processing result of the document type determination processing is reflected in the subsequent image processing.

入力階調補正部14は、RGB信号に対して、カラーバランスの調整、下地濃度の除去、及びコントラストの調整等の画質調整処理を行う。入力階調補正部14は、次に、処理を行ったRGB信号を領域分離処理部15へ出力する。   The input tone correction unit 14 performs image quality adjustment processing such as color balance adjustment, background density removal, and contrast adjustment on the RGB signals. Next, the input tone correction unit 14 outputs the processed RGB signal to the region separation processing unit 15.

領域分離処理部15は、入力階調補正部14から入力されたRGB信号が表す画像中の各画素を、文字領域、網点領域、又は写真領域のいずれかに分離する。また、領域分離処理部15は、分離結果に基づき、各画素がいずれの領域に属しているかを示す領域識別信号を、黒色生成下色除去部18、空間フィルタ処理部19、階調再現処理部22、及び処理パラメータ決定部17へ出力する。   The region separation processing unit 15 separates each pixel in the image represented by the RGB signal input from the input tone correction unit 14 into one of a character region, a dot region, and a photo region. Further, the region separation processing unit 15 generates a region identification signal indicating which region each pixel belongs to based on the separation result, and generates a black generation and under color removal unit 18, a spatial filter processing unit 19, and a gradation reproduction processing unit. 22 and the processing parameter determination unit 17.

また、領域分離処理部15は、入力階調補正部14から入力されたRGB信号を、そのまま後段の色補正部16及び処理パラメータ決定部17へ出力する。   The region separation processing unit 15 outputs the RGB signal input from the input tone correction unit 14 to the subsequent color correction unit 16 and the processing parameter determination unit 17 as they are.

カラー画像出力装置2へ最終出力する場合、色補正部16は、領域分離処理部15から入力されたRGB信号をCMYのデジタル信号(以下、CMY信号という)へ変換し、色再現の忠実化実現のために、不要吸収成分を含むCMY色材の分光特性に基づいた色濁りをCMY信号から取り除く処理を行なう。そして、色補正部16は、色補正後のCMY信号を黒色生成下色除去部18へ出力する。一方、送信装置3に最終出力する場合には、色補正部16は、領域分離処理部15から入力されたRGB信号を、表示装置の表示特性に適合したR’G’B’の画像データへ変換する。   In the case of final output to the color image output device 2, the color correction unit 16 converts the RGB signal input from the region separation processing unit 15 into a CMY digital signal (hereinafter referred to as a CMY signal) to realize faithful color reproduction. Therefore, a process of removing color turbidity from the CMY signal based on the spectral characteristics of the CMY color material including unnecessary absorption components is performed. Then, the color correction unit 16 outputs the color-corrected CMY signal to the black color generation / under color removal unit 18. On the other hand, in the case of final output to the transmission device 3, the color correction unit 16 converts the RGB signal input from the region separation processing unit 15 into R′G′B ′ image data suitable for the display characteristics of the display device. Convert.

カラー画像出力装置2に最終出力する場合、黒色生成下色除去部18は、色補正部16から入力されたCMY信号に基づき、CMY信号から黒色(K)信号を生成する黒色生成処理と、CMY信号から黒色生成で得たK信号を差し引いて新たなCMY信号を生成する処理とを行なう。この結果、CMY3色のデジタル信号は、CMYK4色のデジタル信号(以下、CMYK信号という)に変換される。そして、黒色生成下色除去部18は、CMY信号を変換したCMYK信号を空間フィルタ処理部19へ出力する。   In the case of final output to the color image output device 2, the black color generation under color removal unit 18 generates a black (K) signal from the CMY signal based on the CMY signal input from the color correction unit 16, and CMY A process of generating a new CMY signal by subtracting the K signal obtained by black generation from the signal is performed. As a result, the CMY3 color digital signals are converted into CMYK 4 color digital signals (hereinafter referred to as CMYK signals). Then, the black generation and under color removal unit 18 outputs the CMYK signal obtained by converting the CMY signal to the spatial filter processing unit 19.

黒色生成処理の一例としては、一般に、スケルトン・ブラックによる黒色生成を行なう方法が用いられる。この方法では、スケルトン・カーブの入出力特性をy=f(x)、入力されるデータをC、M、Y、出力されるデータをC'、M'、Y'、K'、UCR(Under Color Removal )率をα(0<α<1)とすると、黒色生成下色除去処理は、下記の式(1)〜式(4)で表わされる。   As an example of the black color generation process, a method of black color generation using skeleton black is generally used. In this method, the input / output characteristic of the skeleton curve is y = f (x), the input data is C, M, Y, the output data is C ′, M ′, Y ′, K ′, UCR (Under When the color removal rate is α (0 <α <1), the black color generation and under color removal processing is expressed by the following equations (1) to (4).

式(1):K'=f(min(C、M、Y))
式(2):C'=C−αK'
式(3):M'=M−αK'
式(4):Y'=Y−αK'
Formula (1): K ′ = f (min (C, M, Y))
Formula (2): C ′ = C−αK ′
Formula (3): M ′ = M−αK ′
Formula (4): Y ′ = Y−αK ′

ここで、UCR率α(0<α<1)とは、CMYが重なっている部分をKに置き換えてCMYをどの程度削減するかを示すものである。式(1)は、CMYの各信号強度の内の最も小さい信号強度に応じてK信号が生成されることを示している。   Here, the UCR rate α (0 <α <1) indicates how much CMY is reduced by replacing the portion where CMY overlaps with K. Equation (1) indicates that the K signal is generated in accordance with the smallest signal strength among the signal strengths of CMY.

カラー画像出力装置2に最終出力する場合、空間フィルタ処理部19は、黒色生成下色除去部18から入力されたCMYK信号の画像データに対して、領域分離処理部15から入力された領域識別信号に基づいてデジタルフィルタによる空間フィルタ処理を行ない、空間周波数特性を補正することによって、画像のぼやけ又は粒状性劣化を改善する。   In the case of final output to the color image output device 2, the spatial filter processing unit 19 receives the region identification signal input from the region separation processing unit 15 with respect to the image data of the CMYK signal input from the black generation and under color removal unit 18. Based on the above, a spatial filter process using a digital filter is performed to correct a spatial frequency characteristic, thereby improving image blurring or graininess degradation.

例えば、領域分離処理部15にて文字に分離された領域に対しては、空間フィルタ処理部19は、文字の再現性を高めるために、高周波成分の強調量が大きいフィルタを用いて空間フィルタ処理を行なう。また、領域分離処理部15にて網点に分離された領域に対しては、空間フィルタ処理部19は、入力網点成分を除去するためのローパス・フィルタ処理を行なう。   For example, for a region separated into characters by the region separation processing unit 15, the spatial filter processing unit 19 uses a filter with a large amount of high-frequency component enhancement in order to improve character reproducibility. To do. Further, the spatial filter processing unit 19 performs low-pass filter processing for removing the input halftone dot component on the region separated into halftone dots by the region separation processing unit 15.

一方、送信装置3に最終出力する場合には、空間フィルタ処理部19は、色補正部16から入力されたR’G’B’信号に対して同様に、領域分離処理部15から入力された領域識別信号に基づいてデジタルフィルタによる空間フィルタ処理を行い、空間周波数特性を補正することによって、画像のぼやけ又は粒状性劣化を改善する。   On the other hand, in the case of final output to the transmission device 3, the spatial filter processing unit 19 similarly receives the R′G′B ′ signal input from the color correction unit 16 and is input from the region separation processing unit 15. A spatial filter process using a digital filter is performed based on the region identification signal and the spatial frequency characteristics are corrected, thereby improving image blurring or graininess degradation.

また、カラー画像出力装置2に最終出力する場合、空間フィルタ処理部19は、処理後のCMYK信号を出力階調補正部21へ出力する。一方、送信装置3に最終出力する場合、空間フィルタ処理部19は、処理後のR’G’B’信号を解像度変換処理部20へ出力する。   When the final output is to the color image output device 2, the spatial filter processing unit 19 outputs the processed CMYK signal to the output tone correction unit 21. On the other hand, in the case of final output to the transmission device 3, the spatial filter processing unit 19 outputs the processed R′G′B ′ signal to the resolution conversion processing unit 20.

送信装置3に最終出力する場合、変換部としての解像度変換処理部20は、処理パラメータ決定部17で決定された所望の解像度の画像データになるように解像度変換処理を行う。例えば、単純な例で示すと、スキャナの入力解像度が600dpi×300dpiの画像データで処理パラメータ決定部17が決定する解像度が300dpi×300dpiである場合、解像度変換処理部20は、主走査方向の2画素毎に平均値を求め、それを出力値とすることで、600dpi×300dpiから300dpi×300dpiへの解像度変換を行なう。   In the case of final output to the transmission device 3, the resolution conversion processing unit 20 as a conversion unit performs resolution conversion processing so that image data with a desired resolution determined by the processing parameter determination unit 17 is obtained. For example, in a simple example, when the input resolution of the scanner is 600 dpi × 300 dpi and the resolution determined by the processing parameter determination unit 17 is 300 dpi × 300 dpi, the resolution conversion processing unit 20 is 2 in the main scanning direction. By calculating an average value for each pixel and using it as an output value, resolution conversion from 600 dpi × 300 dpi to 300 dpi × 300 dpi is performed.

カラー画像出力装置2に最終出力する場合、出力階調補正部21は、空間フィルタ処理部19から入力されたCMYK信号に対して、カラー画像出力装置2の特性である網点面積率に基づく出力階調補正処理を行ない、出力階調補正処理後のCMYK信号を階調再現処理部22へ出力する。   In the case of final output to the color image output device 2, the output tone correction unit 21 outputs the CMYK signal input from the spatial filter processing unit 19 based on the dot area ratio that is a characteristic of the color image output device 2. The gradation correction process is performed, and the CMYK signal after the output gradation correction process is output to the gradation reproduction processing unit 22.

一方、送信装置3に最終出力する場合、出力階調補正部21は、解像度変換処理部20から入力されたRGB信号に対して、必要に応じてかぶりやハイライトの下地が消えるように、あるいは薄くなるように出力階調補正を行い、出力階調補正処理後のRGB信号を圧縮処理部23へ出力する。   On the other hand, in the case of final output to the transmission device 3, the output tone correction unit 21 makes the fog or highlight background disappear as necessary for the RGB signals input from the resolution conversion processing unit 20, or The output tone correction is performed so that the output tone is reduced, and the RGB signal after the output tone correction processing is output to the compression processing unit 23.

階調再現処理部22は、出力階調補正部21から入力されたCMYK信号に対して、領域分離処理部15から入力された領域識別信号に基づいて、領域に応じた中間調処理を行なう。例えば、領域分離処理部15にて文字に分離された領域に対しては、階調再現処理部22は、高域周波成分の再現に適した高解像度のスクリーンによる二値化又は多値化の処理を行なう。また、領域分離処理部15にて網点に分離された領域に対しては、階調再現処理部22は、階調再現性を重視したスクリーンでの二値化又は多値化の処理を行なう。   The gradation reproduction processing unit 22 performs halftone processing corresponding to the region on the CMYK signal input from the output gradation correction unit 21 based on the region identification signal input from the region separation processing unit 15. For example, for a region separated into characters by the region separation processing unit 15, the gradation reproduction processing unit 22 performs binarization or multi-value conversion using a high-resolution screen suitable for reproducing high-frequency components. Perform processing. In addition, for a region separated into halftone dots by the region separation processing unit 15, the gradation reproduction processing unit 22 performs binarization or multi-value processing on the screen with an emphasis on gradation reproducibility. .

また、階調再現処理部22は、処理後の画像データをカラー画像出力装置2へ出力する。   The gradation reproduction processing unit 22 outputs the processed image data to the color image output device 2.

圧縮処理部23は、圧縮部としての機能を有し、R’G’B’信号からなる画像データに対して、操作パネル4のファイルフォーマットの設定に従い、必要に応じてJPEGなどの圧縮処理を行い、圧縮データを生成し、送信装置3へ出力する。なお、圧縮処理が施された画像データを送信装置3へ送信する構成に代えて、USBメモリ等の記憶媒体やハードディスクに格納するようにしてもよい。   The compression processing unit 23 has a function as a compression unit, and performs compression processing such as JPEG on the image data including the R′G′B ′ signal according to the setting of the file format of the operation panel 4 as necessary. The compressed data is generated and output to the transmission device 3. Note that the compressed image data may be stored in a storage medium such as a USB memory or a hard disk, instead of being configured to transmit the image data to the transmission device 3.

処理パラメータ決定部17は、操作パネル4において自動設定モードでスキャン機能を選択した場合に、解像度変換処理部20で画像データを最適な解像度に変換するための出力解像度を決定する。   When the scan function is selected in the automatic setting mode on the operation panel 4, the processing parameter determination unit 17 determines an output resolution for converting the image data into an optimal resolution by the resolution conversion processing unit 20.

次に、処理パラメータ決定部17について詳述する。図3は第1実施形態の処理パラメータ決定部17の構成の一例を示すブロック図である。処理パラメータ決定部17は、エッジ検出部171、文字矩形抽出部172、文字列抽出部173、解像度判定部174などを備える。処理パラメータ決定部17は、入力されたRGB信号に対してエッジ検出部171でエッジ検出を行い、文字矩形抽出部172で検出された文字エッジをベースに文字矩形を抽出し、文字列抽出部173で抽出された文字矩形をベースに文字列を抽出し、解像度判定部174で文字列や文字矩形から出力解像度を決定する。   Next, the processing parameter determination unit 17 will be described in detail. FIG. 3 is a block diagram illustrating an example of the configuration of the processing parameter determination unit 17 according to the first embodiment. The processing parameter determination unit 17 includes an edge detection unit 171, a character rectangle extraction unit 172, a character string extraction unit 173, a resolution determination unit 174, and the like. The processing parameter determination unit 17 performs edge detection on the input RGB signal by the edge detection unit 171, extracts a character rectangle based on the character edge detected by the character rectangle extraction unit 172, and performs a character string extraction unit 173. A character string is extracted based on the character rectangle extracted in step (1), and the resolution determination unit 174 determines the output resolution from the character string and the character rectangle.

図4はエッジ検出部171の処理手順の一例を示すフローチャートである。図4に示すように、エッジ検出部171は、入力されたRGB信号に対してSobel又はLaplacianなどのエッジ検出フィルタを用いてエッジ検出を行う(S11)。エッジ検出部171は、検出されたエッジに対して文字エッジ膨張処理(膨張処理)を行い(S12)、文字エッジ候補を抽出し、処理を終了する。   FIG. 4 is a flowchart illustrating an example of a processing procedure of the edge detection unit 171. As shown in FIG. 4, the edge detection unit 171 performs edge detection on the input RGB signal using an edge detection filter such as Sobel or Laplacian (S11). The edge detection unit 171 performs character edge expansion processing (expansion processing) on the detected edge (S12), extracts character edge candidates, and ends the processing.

図5(図5A乃至図5E)はエッジ検出部171によるエッジ検出処理の一例を示す模式図である。図5AはRGB画像データのG信号の一部分(10×10画素)を示している。各枠内の数値は、画素値である。ここではG信号に対する処理のみ説明するが、R信号又はB信号も同様の処理を行う。図5Bはエッジ検出のためのフィルタを示す。エッジ検出フィルタとしては、図5Bに示すように、例えば、Laplacianフィルタを用いることができる。なお、フィルタが図5Bの例に限定されるものではない。   FIG. 5 (FIGS. 5A to 5E) is a schematic diagram showing an example of edge detection processing by the edge detection unit 171. FIG. FIG. 5A shows a part (10 × 10 pixels) of the G signal of the RGB image data. The numerical value in each frame is a pixel value. Although only the process for the G signal will be described here, the same process is performed for the R signal or the B signal. FIG. 5B shows a filter for edge detection. As the edge detection filter, for example, a Laplacian filter can be used as shown in FIG. 5B. Note that the filter is not limited to the example of FIG. 5B.

図5Aの太枠で囲まれた、8×8画素に対して、図5Bに示すフィルタによりフィルタ処理した結果を図5Cに示す。図5Cの例に対して、画素値が100以上の画素のみをエッジ画素(値を1とする)として抽出し、画素値が100未満の画素を0としたものを図5Dに示す。図5Aの太枠(8×8画素)が、図5Dの太枠(8×8画素)に対応している。   FIG. 5C shows the result of filtering the 8 × 8 pixels surrounded by the thick frame in FIG. 5A with the filter shown in FIG. 5B. FIG. 5D shows an example in which only pixels having a pixel value of 100 or more are extracted as edge pixels (value is 1) and pixels having a pixel value of less than 100 are set to 0 with respect to the example of FIG. 5C. The thick frame (8 × 8 pixels) in FIG. 5A corresponds to the thick frame (8 × 8 pixels) in FIG. 5D.

図5Dの例(太枠の部分)に対して、文字エッジ膨張(膨張処理)を施した結果を図5Eに示す。膨張処理は、注目画素が0であった場合、その近傍8画素のうち、2画素以上にエッジ画素(値が1の画素)が存在する場合、その注目画素の値を1とすることで膨張処理を行う。図5Eの例を文字エッジ候補とする。   FIG. 5E shows the result of character edge expansion (expansion processing) performed on the example of FIG. 5D (the thick frame portion). In the expansion process, when the target pixel is 0, if there are edge pixels (pixels having a value of 1) in two or more of the eight neighboring pixels, the value of the target pixel is set to 1. Process. Let the example of FIG. 5E be a character edge candidate.

上述のように、エッジ検出の後に膨張処理を行うことにより、図5に示すように、フィルタ処理結果を閾値処理している結果、本来エッジであるにも関わらずエッジであると判定されない画素がある場合、かかる画素を救済して、精度良くエッジを検出することができる。また、文字を構成する画素のつながりを良くすることができる。   As described above, by performing dilation processing after edge detection, as shown in FIG. 5, as a result of performing threshold processing on the filter processing result, pixels that are originally edges but are not determined to be edges are detected. In some cases, such pixels can be relieved and edges can be detected with high accuracy. Moreover, the connection of the pixels constituting the character can be improved.

図6は文字矩形抽出部172の処理手順の一例を示すフローチャートである。文字矩形抽出部172は、文字生成部としての機能を有する。すなわち、文字矩形抽出部172は、画像を構成する複数の画素の画素値に基づいて画像に含まれる文字候補(文字矩形とも称する)を特定する文字特定情報(文字矩形情報とも称する)を生成する。文字候補は、1つの文字毎に特定することができる。文字特定情報(文字矩形情報)は、文字候補(文字矩形)を画定するための位置情報であり、例えば、文字矩形の左上及び右下の座標情報、文字矩形の水平方向の寸法(幅)及び垂直方向の寸法(高さ)などを含む。   FIG. 6 is a flowchart illustrating an example of a processing procedure of the character rectangle extraction unit 172. The character rectangle extraction unit 172 has a function as a character generation unit. That is, the character rectangle extraction unit 172 generates character specifying information (also referred to as character rectangle information) that specifies character candidates (also referred to as character rectangles) included in the image based on the pixel values of a plurality of pixels constituting the image. . Character candidates can be specified for each character. The character specifying information (character rectangle information) is position information for defining a character candidate (character rectangle). For example, the upper left and lower right coordinate information of the character rectangle, the horizontal dimension (width) of the character rectangle, and Including vertical dimensions (height).

より具体的には、図6に示すように、文字矩形抽出部172は、エッジ検出部171で出力された文字エッジ候補(例えば、図5Eの例)に対してラベリング処理を行い(S21)、エッジのつながりを元に1文字の大きさを矩形単位で文字矩形(文字候補、文字矩形領域とも称する)として抽出する。   More specifically, as shown in FIG. 6, the character rectangle extraction unit 172 performs a labeling process on the character edge candidates (for example, the example of FIG. 5E) output by the edge detection unit 171 (S21), Based on the connection of edges, the size of one character is extracted in units of rectangles as a character rectangle (also referred to as a character candidate or a character rectangle region).

文字矩形抽出部172は、文字矩形を抽出した後、抽出した矩形それぞれに対し、近傍の矩形サイズと比較して、サイズの差異が所定値よりも大きい場合、かつ、近傍に似たような矩形が存在しない矩形については、非文字矩形として除去し(S22)、残った矩形を文字矩形情報として、処理を終了する。   After extracting the character rectangle, the character rectangle extraction unit 172 compares each extracted rectangle with a neighboring rectangle size when the size difference is larger than a predetermined value, and a rectangle similar to the vicinity. A rectangle that does not exist is removed as a non-character rectangle (S22), and the process is terminated with the remaining rectangle as character rectangle information.

図7(図7A乃至図7E)は文字矩形抽出部172による文字矩形抽出処理の一例を示す模式図である。図7Aはエッジ検出部171で抽出されたエッジ検出結果(文字エッジ候補)の例である。なお、図7A及び図5Eは、文字エッジ候補を表すが、図7Aの例と図5Eの例とは便宜上異なっている。   FIG. 7 (FIGS. 7A to 7E) is a schematic diagram showing an example of character rectangle extraction processing by the character rectangle extraction unit 172. FIG. FIG. 7A is an example of the edge detection result (character edge candidate) extracted by the edge detection unit 171. 7A and 5E show character edge candidates, but the example of FIG. 7A and the example of FIG. 5E are different for convenience.

まず、文字矩形抽出部172は、エッジ検出部171で抽出されたエッジ検出結果(文字エッジ候補)に対してラベリング処理を行う。図7Bはラベリング処理を行う際の注目画素と参照画素を示す。図7Bの*で示す画素を注目画素とすると、当該注目画素の近傍の4つの参照画素(符号a、b、c、dで示す)のラベリング値を参照して注目画素の初期ラベルを決定する。具体的には、4つの参照画素にラベル付けした画素が存在しない場合には、注目画素に新たなラベル値を付与する。また、4つの参照画素に複数のラベル値が存在する場合には、その中での最小ラベル値を注目画素に付与する。図7Cは図7Aに例示したエッジ検出結果(文字エッジ候補)に対して初期ラベルを付与した結果を示す。   First, the character rectangle extraction unit 172 performs a labeling process on the edge detection result (character edge candidate) extracted by the edge detection unit 171. FIG. 7B shows a target pixel and a reference pixel when performing a labeling process. If the pixel indicated by * in FIG. 7B is the target pixel, the initial label of the target pixel is determined with reference to the labeling values of four reference pixels (indicated by symbols a, b, c, and d) in the vicinity of the target pixel. . Specifically, when there is no pixel labeled with four reference pixels, a new label value is assigned to the target pixel. Further, when a plurality of label values exist in the four reference pixels, the minimum label value among them is given to the target pixel. FIG. 7C shows a result of adding an initial label to the edge detection result (character edge candidate) illustrated in FIG. 7A.

また、ラベル値を付与した注目画素の周辺の8画素に複数のラベル値が存在する場合には、注目画素の付与した初期ラベルと、注目画素の周辺の8画素のラベル値のうち最小ラベル値を補正ラベルとして関連付けを行う。図7Dが初期ラベルと補正ラベルとの関連付けを示す例である。すなわち、図7Dは注目画素に初期ラベルを付与した際、注目画素の周辺の8画素に複数のラベルが存在した場合に、その中で最小ラベル値(注目画素に付与した初期ラベル)以外のものと最小ラベル値(初期ラベル)との関連付けを行ったものである。   Further, when there are a plurality of label values in the eight pixels around the target pixel to which the label value is assigned, the minimum label value among the initial label to which the target pixel is given and the label value of the eight pixels around the target pixel Is used as a correction label. FIG. 7D is an example showing the association between the initial label and the correction label. That is, in FIG. 7D, when an initial label is assigned to the pixel of interest, when there are a plurality of labels in the eight pixels around the pixel of interest, the label other than the minimum label value (initial label assigned to the pixel of interest) Is associated with the minimum label value (initial label).

図7Dに示すように、例えば、ラベル3(初期ラベル3)はラベル1(補正ラベル1)と関連があることを示している。また、ラベル6(初期ラベル6)は最初の関連付けの段階ではラベル5(補正ラベル5)と関連があるということになるが、ラベル5はラベル4と関係があるということがわかっているので、最終的にラベル6(初期ラベル6)はラベル4(補正ラベル4)と関連があるということになる。図7Dは、初期ラベルと最終的な最小ラベル値(補正ラベル)との関連を表す。   As shown in FIG. 7D, for example, label 3 (initial label 3) indicates that label 1 (correction label 1) is associated. In addition, label 6 (initial label 6) is related to label 5 (corrected label 5) at the initial association stage, but it is known that label 5 is related to label 4, Eventually, label 6 (initial label 6) is related to label 4 (correction label 4). FIG. 7D shows the relationship between the initial label and the final minimum label value (corrected label).

図7Dに示す初期ラベルと補正ラベルとの対応関係を用いて、図7Cに示す各画素のラベルを参照し、ラベル値が最小ラベル値になるように補正処理を行った結果を図7Eに示す。   FIG. 7E shows the result of performing the correction process so that the label value becomes the minimum label value by referring to the label of each pixel shown in FIG. 7C using the correspondence relationship between the initial label and the correction label shown in FIG. 7D. .

また、最小ラベル値になるように補正処理を行う際に同一ラベル値の画素を囲む矩形領域の座標の最小値(矩形領域の左上の位置)と最大値(矩形領域の右下の位置)を求めることにより、同一ラベル値を包含する矩形領域の矩形サイズを求める。図7Eの太線が矩形領域を示す。図7Eでは、ラベル値が、1、2、4、7の4つの矩形領域が例示されている。それぞれの矩形領域の最小値(矩形領域の左上の位置)と最大値(矩形領域の右下の位置)が、各ラベル(図7Eの例では、1、2、4、7)の矩形サイズとなる。   In addition, the minimum value (upper left position of the rectangular area) and the maximum value (lower right position of the rectangular area) of the rectangular area surrounding the pixels with the same label value when correction processing is performed so that the minimum label value is obtained. By obtaining, the rectangular size of the rectangular area including the same label value is obtained. The thick line in FIG. 7E indicates a rectangular area. In FIG. 7E, four rectangular regions with label values of 1, 2, 4, and 7 are illustrated. The minimum value (upper left position of the rectangular area) and the maximum value (lower right position of the rectangular area) of each rectangular area are the rectangular size of each label (1, 2, 4, 7 in the example of FIG. 7E). Become.

次に、各ラベルに対して文字矩形と判定できないものを排除する。具体的には、水平方向又は垂直方向に長いラベル、例えば、図7Eのラベル4のように水平方向に16画素あり、垂直方向に2画素ある矩形領域は、垂直方向の長さに比べて水平方向の長さが長いため、水平方向の線分の可能性がある。そこで、ラベル4の矩形領域は、文字矩形ではないと判定して排除する。この場合、矩形領域が線分であるか否かを判定するためには、例えば、水平方向の画素数と垂直方向の画素数との差分を算出し、算出した差分が所定の閾値以上(例えば、12画素以上)である場合に線分と判定することができる。   Next, items that cannot be determined as character rectangles for each label are excluded. Specifically, a rectangular area having 16 pixels in the horizontal direction and having 2 pixels in the vertical direction as shown in a label 4 in FIG. 7E, which is long in the horizontal direction or in the vertical direction, is horizontal compared to the length in the vertical direction. Because the length of the direction is long, there is a possibility of a horizontal line segment. Therefore, it is determined that the rectangular area of the label 4 is not a character rectangle and is excluded. In this case, in order to determine whether or not the rectangular region is a line segment, for example, a difference between the number of pixels in the horizontal direction and the number of pixels in the vertical direction is calculated, and the calculated difference is equal to or greater than a predetermined threshold (for example, , 12 pixels or more), it can be determined as a line segment.

また、求めた矩形領域のうち、サイズが小さすぎる矩形領域、例えば、図7Eのラベル7のように水平方向及び垂直方向それぞれに2画素ずつ合計で4画素しかないものは文字ではなく、汚れなどのノイズ画素である可能性がある。そこで、ラベル7の矩形領域は文字矩形ではないと判定して排除する。この場合、矩形領域のサイズが小さいものを判定するためには、例えば、水平方向の画素数と垂直方向の画素数とを加算し、加算した値が所定の閾値以下(例えば6画素以下)である場合にノイズ画素と判定することができる。   Among the obtained rectangular areas, a rectangular area whose size is too small, for example, a label having a total of 4 pixels in each of the horizontal direction and the vertical direction as in the label 7 in FIG. May be a noisy pixel. Therefore, it is determined that the rectangular area of the label 7 is not a character rectangle and is excluded. In this case, in order to determine whether the size of the rectangular area is small, for example, the number of pixels in the horizontal direction and the number of pixels in the vertical direction are added, and the added value is equal to or less than a predetermined threshold (for example, 6 pixels or less). In some cases, it can be determined as a noise pixel.

また、図7Eには例示していないが、矩形領域のサイズがあまりにも大きすぎるラベル、例えば、入力画像のサイズの1/4程度の大きさの矩形領域などは、文字ではなく画像などの可能性があるため排除することができる。この場合、矩形領域のサイズが大きなものを判定する際には、入力画像の画素数に対する矩形領域の画素数の比率を求め、その比率が所定の閾値以上(例えば、0.25以上)である場合には、当該矩形領域は大きすぎるラベルであると判定することができる。上述のような非文字矩形除去処理を行うことにより、最終的に図7Eのラベル1とラベル2だけが文字矩形として抽出される。   Although not illustrated in FIG. 7E, a label whose size of the rectangular area is too large, for example, a rectangular area whose size is about 1/4 of the size of the input image can be an image instead of a character. It can be eliminated because of its nature. In this case, when determining that the size of the rectangular area is large, the ratio of the number of pixels of the rectangular area to the number of pixels of the input image is obtained, and the ratio is equal to or larger than a predetermined threshold (for example, 0.25 or larger). In this case, it can be determined that the rectangular area is a label that is too large. By performing the non-character rectangle removal process as described above, only label 1 and label 2 in FIG. 7E are finally extracted as character rectangles.

図8は文字列抽出部173の処理手順の一例を示すフローチャートである。文字列抽出部173は、文字列生成部としての機能を有する。すなわち、文字列抽出部173は、文字矩形抽出部172(文字生成部)で生成した文字特定情報(文字矩形情報)に基づいて複数の文字で構成される文字列候補(文字列とも称する)を特定する文字列特定情報(文字列情報とも称する)を生成する。文字列特定情報(文字列情報)は、文字列候補(文字列)を画定するための位置情報であり、例えば、文字列候補の左上及び右下の座標情報、文字列候補の水平方向の寸法(幅)及び垂直方向の寸法(高さ)などを含む。また、文字列特定情報は、文字列の方向(水平方向、垂直方向)を含む。   FIG. 8 is a flowchart illustrating an example of a processing procedure of the character string extraction unit 173. The character string extraction unit 173 functions as a character string generation unit. That is, the character string extraction unit 173 selects character string candidates (also referred to as character strings) composed of a plurality of characters based on the character specifying information (character rectangle information) generated by the character rectangle extraction unit 172 (character generation unit). Character string specifying information to be specified (also referred to as character string information) is generated. The character string specifying information (character string information) is position information for defining character string candidates (character strings). For example, upper left and lower right coordinate information of the character string candidates, horizontal dimensions of the character string candidates (Width) and vertical dimension (height). The character string specifying information includes the direction of the character string (horizontal direction, vertical direction).

より具体的には、図8に示すように、文字列抽出部173は、文字矩形抽出部172で出力された文字矩形情報に対して近傍の文字矩形同士の距離を算出し(S31)、近い文字矩形同士を同じ文字列のグループとして統合し、文字列情報を生成する。   More specifically, as shown in FIG. 8, the character string extraction unit 173 calculates the distance between adjacent character rectangles with respect to the character rectangle information output by the character rectangle extraction unit 172 (S31), and is close to it. The character rectangles are integrated as a group of the same character string, and character string information is generated.

文字列抽出部173は、文字矩形が統合された文字列情報に対し、文字列の長さから文字列の方向を推定する(S32)。文字列抽出部173は、さらに、部分的に異なる方向であると判定された文字列、あるいは方向が不定の文字矩形について、異なる方向であると判定された文字列に属する文字矩形又は方向不定の文字矩形を正しい文字列方向に補正できる場合には文字列方向を補正する(S33)。   The character string extraction unit 173 estimates the direction of the character string from the length of the character string with respect to the character string information in which the character rectangles are integrated (S32). Further, the character string extraction unit 173 further applies a character rectangle that is determined to be in a different direction, or a character rectangle that belongs to a character string that is determined to be in a different direction, or a character rectangle that is determined to be in a different direction. If the character rectangle can be corrected in the correct character string direction, the character string direction is corrected (S33).

文字列抽出部173は、補正された文字列の情報から文字列領域を抽出し(S34)、抽出した文字列領域に属さないと判定された文字列については非文字列領域の文字列であるとして除去し(S35)、残ったものを最終的な文字列情報として、処理を終了する。   The character string extraction unit 173 extracts a character string area from the corrected character string information (S34), and the character string determined not to belong to the extracted character string area is a character string in a non-character string area. (S35), and the remaining information is used as final character string information, and the process is terminated.

図9(図9A乃至図9D)は文字列抽出部173による文字列抽出処理の一例を示す模式図である。図9Aは文字矩形抽出部172で抽出された文字矩形抽出結果の一例を示す。図9Aの例では、21個の文字矩形(文字候補)が抽出されている。   FIG. 9 (FIGS. 9A to 9D) is a schematic diagram showing an example of character string extraction processing by the character string extraction unit 173. FIG. 9A shows an example of a character rectangle extraction result extracted by the character rectangle extraction unit 172. In the example of FIG. 9A, 21 character rectangles (character candidates) are extracted.

図9Aの文字矩形抽出結果に対し、近傍の文字矩形同士の距離を算出する。まず、任意の注目文字矩形に対し、文字列情報として注目文字矩形と同じサイズの文字列サイズを設定する。近傍文字矩形の距離の求め方としては、水平方向に対し、注目文字矩形の右上の頂点座標と近い(例えば、垂直方向に±5画素以内、水平方向に10画素以内の位置にある)左上の頂点座標を持つ文字矩形が存在するかの判定、もしくは、注目文字矩形の右下の頂点座標と近い左下の頂点座標を持つ文字矩形が存在するかの判定をすべての文字矩形の座標情報から探索し、近い位置にある文字矩形を近傍文字矩形として抽出する。   The distance between adjacent character rectangles is calculated for the character rectangle extraction result shown in FIG. 9A. First, a character string size having the same size as the target character rectangle is set as character string information for an arbitrary target character rectangle. As the method for obtaining the distance of the neighboring character rectangle, the upper left corner is close to the upper right vertex coordinate of the target character rectangle (for example, within ± 5 pixels in the vertical direction and within 10 pixels in the horizontal direction). Search from the coordinate information of all character rectangles to determine whether there is a character rectangle with vertex coordinates or whether there is a character rectangle with the lower left vertex coordinates close to the lower right vertex coordinate of the target character rectangle Then, a character rectangle at a close position is extracted as a nearby character rectangle.

さらに、垂直方向に対し、注目文字矩形の左下の頂点座標と近い(例えば、水平方向に±5画素以内、垂直方向に10画素以内の位置にある)左上の頂点座標を持つ文字矩形が存在するかの判定、もしくは、注目文字矩形の右下の頂点座標と近い右上の頂点座標を持つ文字矩形が存在するかの判定をすべての文字矩形の座標情報から探索し、近い位置にある文字矩形を近傍文字矩形として抽出する。   In addition, there is a character rectangle having an upper left vertex coordinate that is close to the lower left vertex coordinate of the target character rectangle in the vertical direction (for example, within ± 5 pixels in the horizontal direction and within 10 pixels in the vertical direction). Or whether there is a character rectangle with the upper right vertex coordinates close to the lower right vertex coordinates of the target character rectangle. Extract as a nearby character rectangle.

水平方向及び垂直方向の両方向に近接文字矩形が存在する場合、より近い方の文字矩形を近傍文字矩形として選択する。そして、最終的に抽出された近傍文字矩形をその注目文字矩形と同じグループの文字矩形として統合(同じ文字列であるというラベルを付ける)し、注目文字矩形の文字列サイズに近傍文字矩形を接続した際のサイズを新しい文字列サイズとして文字列情報を更新する。   When adjacent character rectangles exist in both the horizontal direction and the vertical direction, the closest character rectangle is selected as the adjacent character rectangle. Then, the extracted neighboring character rectangle is integrated as a character rectangle of the same group as the target character rectangle (labeled as the same character string), and the adjacent character rectangle is connected to the character string size of the target character rectangle The character string information is updated with the new size as the new character string size.

仮に、近傍文字矩形が存在しない場合には、文字列情報の文字列サイズは文字矩形サイズのままとし、次の注目文字矩形の処理に移る。なお、次の注目文字矩形は、まだ、どの文字列グループにも属していない文字矩形を選択するようにし、最終的に、一度も文字列抽出処理を行っておらず、どの文字列グループにも属していない文字矩形が存在しなくなるまで繰り返し文字列抽出処理を行う。   If there is no neighboring character rectangle, the character string size of the character string information is left as the character rectangle size, and the process proceeds to the next character rectangle of interest. For the next attention character rectangle, a character rectangle that does not yet belong to any character string group is selected. Finally, no character string extraction processing has been performed, and any character string group is not selected. The character string extraction process is repeated until there is no character rectangle that does not belong.

図9Aに例示した文字矩形に対して、上述の処理を行った結果を図9Bに例示する。図9Bにおいて、太枠で囲まれた部分が抽出された文字列を示す。図9Bの例では、符号1〜6が付された6個のグループの文字列が抽出されている。   FIG. 9B illustrates the result of performing the above-described processing on the character rectangle illustrated in FIG. 9A. In FIG. 9B, a character string extracted from a portion surrounded by a thick frame is shown. In the example of FIG. 9B, six groups of character strings with reference numerals 1 to 6 are extracted.

文字列抽出処理が完了すると、各グループの文字列の水平方向及び垂直方向のサイズを算出し、サイズが長い方の方向を文字列の方向として設定する。例えば、水平方向に100画素あり、垂直方向に10画素ある文字列の場合、水平方向の文字列と設定する。   When the character string extraction process is completed, the horizontal and vertical sizes of the character strings of each group are calculated, and the longer direction is set as the direction of the character string. For example, in the case of a character string having 100 pixels in the horizontal direction and 10 pixels in the vertical direction, the character string is set as the horizontal character string.

また、文字列の水平方向のサイズ及び垂直方向のサイズが同程度である場合(例えば、水平方向が15画素であり、垂直方向が10画素である場合など)、文字列の方向を判定することができないので、当該文字列については文字列方向不定として設定しておく。図9Bの例では、符号1、2、3の文字列の方向は水平方向(水平方向文字列とも称する)であり、符号4、5、6の文字列(文字矩形を含む)は方向不定文字列となる。   Further, when the size of the character string in the horizontal direction and the size in the vertical direction are approximately the same (for example, when the horizontal direction is 15 pixels and the vertical direction is 10 pixels), the direction of the character string is determined. Therefore, the character string direction is set as indefinite. In the example of FIG. 9B, the direction of the character strings 1, 2, and 3 is the horizontal direction (also referred to as a horizontal direction character string), and the character strings 4, 5, and 6 (including the character rectangle) are directionally indefinite characters. It becomes a column.

すべてのグループの文字列に対して文字列方向を設定した後、文字列方向不定のものに対して、近傍の文字列に係る文字列情報に基づいて、正しい文字列方向に補正する。図9Bの例では、符号4の方向不定文字列は、上側近傍に位置する符号3が付されたグループの文字列とほぼ同じ横位置(例えば、水平位置が±5画素以内)にあり、また、垂直方向の距離も比較的近い(例えば、8画素以下)ので、符号3のグループの文字列と同じ方向の文字列と判定する。これにより、符号4の方向不定文字列は、水平方向の文字列であると補正される。   After the character string direction is set for the character strings of all groups, the character string direction is indefinite, and is corrected in the correct character string direction based on the character string information related to the nearby character string. In the example of FIG. 9B, the directionally indefinite character string of reference numeral 4 is in substantially the same horizontal position (for example, the horizontal position is within ± 5 pixels) as the character string of the group with reference numeral 3 located near the upper side, and Since the distance in the vertical direction is also relatively short (for example, 8 pixels or less), it is determined that the character string is in the same direction as the character string of the group of 3. Thereby, the direction indefinite character string of the code | symbol 4 is correct | amended as a character string of a horizontal direction.

また、符号5、6の方向不定文字列は、近傍に文字列が存在しないので、方向不定文字列のままとする。   In addition, the direction-indefinite character strings of reference numerals 5 and 6 are left as direction-indefinite character strings because no character string exists in the vicinity.

図9Cは図9Bに例示した文字列に対して文字列方向を補正した結果の一例を示す。図9Cにおいて、太枠で囲まれた文字列(符号1、2、3、4)が、文字列方向が定まったものである。   FIG. 9C shows an example of the result of correcting the character string direction for the character string illustrated in FIG. 9B. In FIG. 9C, a character string (reference numerals 1, 2, 3, 4) surrounded by a thick frame has a fixed character string direction.

次に、近傍に位置する文字列(近傍文字列とも称する)であってサイズが近いもの、あるいは文字列の開始位置(文字列の左端位置)又は終了位置(文字列の右端位置)が近い(例えば、8画素以内)もの同士でグループ分けを行う。これにより文字列領域を抽出する。図9Cの場合、符号1〜4の文字列が水平方向の文字列であり、文字列の開始位置又は終了位置が近いので、符号1〜4の文字列を同じグループの文字列である文字列領域として抽出する。文字列領域は、方向が同一の1又は複数の文字列を纏めたものである。そして、文字列領域に属していない符号5、6の方向不定文字列を非文字列領域として文字列情報から除去する。文字列領域を抽出し、非文字列領域を除去した結果を図9Dに例示する。すなわち、図9Dに例示する文字列領域には、文字列の方向が定まった文字列(符号1〜4で示す矩形領域)が含まれる。なお、文字列領域が1つも存在しない場合には、文字列が存在しないと判定し、文字列情報をクリアすればよい。   Next, a character string located in the vicinity (also referred to as a neighborhood character string) and close in size, or the start position of the character string (the left end position of the character string) or the end position (the right end position of the character string) is close ( For example, within 8 pixels), grouping is performed. Thereby, a character string area is extracted. In the case of FIG. 9C, the character strings 1 to 4 are horizontal character strings, and since the start position or end position of the character string is close, the character strings 1 to 4 are character strings in the same group. Extract as a region. The character string area is a collection of one or more character strings having the same direction. Then, the direction indefinite character strings of reference numerals 5 and 6 that do not belong to the character string area are removed from the character string information as non-character string areas. The result of extracting the character string area and removing the non-character string area is illustrated in FIG. 9D. That is, the character string area illustrated in FIG. 9D includes a character string (rectangular area indicated by reference numerals 1 to 4) in which the direction of the character string is determined. If there is no character string area, it is determined that there is no character string and the character string information is cleared.

図10は解像度判定部174の処理手順の一例を示すフローチャートである。解像度判定部174は、解像度決定部としての機能を有する。すなわち、解像度判定部174は、文字列生成部(文字列抽出部173)で生成した文字列特定情報(文字列情報)に基づいて画像の解像度を決定する。また、解像度判定部174は、文字生成部(文字矩形抽出部172)で生成した文字特定情報(文字矩形情報)に基づいて画像の解像度を決定する。   FIG. 10 is a flowchart illustrating an example of a processing procedure of the resolution determination unit 174. The resolution determination unit 174 has a function as a resolution determination unit. That is, the resolution determination unit 174 determines the resolution of the image based on the character string specifying information (character string information) generated by the character string generation unit (character string extraction unit 173). Further, the resolution determination unit 174 determines the resolution of the image based on the character specifying information (character rectangle information) generated by the character generation unit (character rectangle extraction unit 172).

また、解像度判定部174は、文字サイズ決定部としての機能を有する。すなわち、解像度判定部174は、生成した文字列特定情報又は文字特定情報に基づいて1又は複数の文字サイズを決定する。例えば、文字列候補の高さ又は幅、あるいは文字候補の高さ又は幅に応じて文字サイズ(例えば、8ポイント、10ポイント、12ポイントなど)を決定する。解像度判定部174は、決定した文字サイズに基づいて解像度を決定する。例えば、文字サイズが大きいほど解像度を低くくし、文字サイズが小さいほど解像度を高くする。これにより、最適な出力解像度を自動設定し、ユーザが複雑な設定をすることなく、所望の出力データ(解像度の変換後の出力画像)を出力することができる。   The resolution determination unit 174 has a function as a character size determination unit. That is, the resolution determination unit 174 determines one or a plurality of character sizes based on the generated character string specifying information or character specifying information. For example, the character size (for example, 8 points, 10 points, 12 points, etc.) is determined according to the height or width of the character string candidate or the height or width of the character candidate. The resolution determination unit 174 determines the resolution based on the determined character size. For example, the larger the character size, the lower the resolution, and the smaller the character size, the higher the resolution. Thus, the optimum output resolution can be automatically set, and desired output data (output image after resolution conversion) can be output without complicated settings by the user.

また、解像度判定部174は、判定部としての機能を有し、文字列生成部(文字列抽出部173)での文字列特定情報(文字列情報)の生成の可否を判定する。   The resolution determination unit 174 has a function as a determination unit, and determines whether or not the character string specifying information (character string information) can be generated by the character string generation unit (character string extraction unit 173).

より具体的には、図10に示すように、解像度判定部174は、条件1を充足するか否かを判定する(S41)。条件1は、文字列が存在するという条件、あるいは文字列情報が存在するという条件である。   More specifically, as shown in FIG. 10, the resolution determination unit 174 determines whether or not the condition 1 is satisfied (S41). Condition 1 is a condition that a character string exists or a condition that character string information exists.

条件1を充足する場合(S41でYES)、解像度判定部174は、文字列情報を用いて各グループの文字列の矩形サイズに基づいて、同程度の矩形サイズ毎に分類してカウントを行い、サイズ別の文字列情報をカウントする(S42)。解像度判定部174は、カウントした値から文字列サイズに基づいて最適出力解像度を判定し(S43)、文字列サイズに基づく最適出力解像度判定結果を出力し(S44)、処理を終了する。   When the condition 1 is satisfied (YES in S41), the resolution determination unit 174 classifies and counts for each similar rectangular size based on the rectangular size of the character string of each group using the character string information, The character string information for each size is counted (S42). The resolution determination unit 174 determines an optimum output resolution based on the character string size from the counted value (S43), outputs an optimum output resolution determination result based on the character string size (S44), and ends the process.

条件1を充足しない場合(S41でNO)、解像度判定部174は、条件2を充足するか否かを判定する(S45)。条件2は、文字矩形が存在するという条件、あるいは文字矩形情報が存在するという条件である。   When the condition 1 is not satisfied (NO in S41), the resolution determination unit 174 determines whether or not the condition 2 is satisfied (S45). Condition 2 is a condition that a character rectangle exists, or a condition that character rectangle information exists.

条件2を充足する場合(S45でYES)、解像度判定部174は、文字矩形情報を用いて文字矩形サイズに基づいて、同程度の矩形サイズ毎に分類してカウントを行い、サイズ別の文字矩形情報をカウントする(S46)。解像度判定部174は、カウントした値から文字矩形サイズに基づいて最適出力解像度を判定し(S47)、文字矩形サイズに基づく最適出力解像度判定結果を出力し(S48)、処理を終了する。   When the condition 2 is satisfied (YES in S45), the resolution determination unit 174 performs classification by classifying the rectangles for each similar rectangle size based on the character rectangle size using the character rectangle information, and character rectangles for each size. Information is counted (S46). The resolution determination unit 174 determines the optimum output resolution based on the character rectangle size from the counted value (S47), outputs the optimum output resolution determination result based on the character rectangle size (S48), and ends the process.

条件2を充足しない場合(S45でNO)、解像度判定部174は、原稿種別情報に基づいて最適出力解像度を判定する(S49)。原稿種別情報は、例えば、原稿が印刷写真原稿であるか、あるいは印画紙写真原稿であるか等の情報を含む。解像度判定部174は、文字なしの場合の最適出力解像度判定結果を出力し(S50)、処理を終了する。なお、出力された最適出力解像度情報は、解像度変換処理部20へ出力され、解像度変換処理部20は、入力された画像データ(画像)を所望の解像度に変換処理する。   When the condition 2 is not satisfied (NO in S45), the resolution determination unit 174 determines the optimum output resolution based on the document type information (S49). The document type information includes, for example, information such as whether the document is a printed photo document or a photographic paper photo document. The resolution determination unit 174 outputs the optimum output resolution determination result when there is no character (S50), and ends the process. The output optimum output resolution information is output to the resolution conversion processing unit 20, and the resolution conversion processing unit 20 converts the input image data (image) into a desired resolution.

図11(図11A及び図11B)は解像度判定部174による解像度判定処理の一例を示す模式図である。図11Aは文字列抽出部173で抽出した文字列情報の一例を示す。図11Aに例示する文字列情報が存在する場合には、前述の条件1を充足する(図10のステップS41)。条件1を充足する場合、文字列情報に基づいて最適出力解像度を判定するためにサイズ別の文字列情報のカウントを行う。   FIG. 11 (FIGS. 11A and 11B) is a schematic diagram illustrating an example of resolution determination processing by the resolution determination unit 174. FIG. 11A shows an example of character string information extracted by the character string extraction unit 173. When the character string information illustrated in FIG. 11A exists, the above condition 1 is satisfied (step S41 in FIG. 10). When the condition 1 is satisfied, the character string information for each size is counted in order to determine the optimum output resolution based on the character string information.

図11Aに示すように、文字列情報は、文字列抽出部173で抽出された文字列のラベル番号(文字列ラベル)、文字列の左上の座標情報(sx、sy)、文字列の右下の座標情報(ex、ey)、文字列方向(例えば、符号1を水平方向とし、符号2を垂直方向とする)などの情報を含む。なお、文字列は、例えば、図9C、図9Dに例示したように、符号1〜4が付された矩形領域である。   As shown in FIG. 11A, the character string information includes the label number (character string label) of the character string extracted by the character string extraction unit 173, the upper left coordinate information (sx, sy), and the lower right corner of the character string. Coordinate information (ex, ey), character string direction (for example, reference numeral 1 is a horizontal direction and reference numeral 2 is a vertical direction). The character string is, for example, a rectangular area with reference numerals 1 to 4 as illustrated in FIGS. 9C and 9D.

そして、文字列方向が水平方向である場合には文字列の高さ(ey−sy)を矩形サイズとして算出し、文字列方向が垂直方向である場合には文字列の幅(ex−sx)を矩形サイズとして算出する。   When the character string direction is the horizontal direction, the height (ey-sy) of the character string is calculated as a rectangular size, and when the character string direction is the vertical direction, the character string width (ex-sx) is calculated. Is calculated as a rectangle size.

図12は文字列又は文字の矩形サイズと出力解像度との関係の一例を示す説明図である。図12には、文字列又は文字の矩形サイズ、文字サイズ、出力解像度及び画像の圧縮率の対応関係を例示している。なお、矩形サイズ、文字サイズ、出力解像度などは、一例であって、図12に示す値に限定されるものではない。例えば、存在するすべての文字サイズに対して矩形サイズを設定しておくことができる。また、矩形サイズと文字サイズとの関係は、スキャナ等の読取解像度等にも依存するので、常に図12に例示したサイズに固定されるものではない。   FIG. 12 is an explanatory diagram showing an example of the relationship between the character string or the rectangular size of the character and the output resolution. FIG. 12 illustrates the correspondence relationship between the character string or character rectangle size, character size, output resolution, and image compression rate. Note that the rectangle size, character size, output resolution, and the like are examples, and are not limited to the values shown in FIG. For example, a rectangular size can be set for all existing character sizes. Further, since the relationship between the rectangular size and the character size depends on the reading resolution of the scanner or the like, it is not always fixed to the size illustrated in FIG.

文字列の高さ又は幅に基づいて算出した矩形サイズが、いずれの文字サイズに相当するかを判定し、文字サイズ別にカウントする。例えば、図11Aにおいて、文字列ラベルが1の文字列のみ、文字列の高さ(ey−sy)が50であり、図12の矩形サイズ52±4に該当する。また、他の文字列ラベル(2〜9)の文字列の高さは30であり、図12の矩形サイズ30±2に該当する。この場合、文字サイズ別にカンウトした値は、矩形サイズ52±4に対応する14ポイントの文字列が1個、矩形サイズ30±2に対応する8ポイントの文字列が8個という結果になる。   It is determined which character size corresponds to the rectangular size calculated based on the height or width of the character string, and is counted for each character size. For example, in FIG. 11A, only the character string whose character string label is 1, the height (ey-sy) of the character string is 50, which corresponds to the rectangular size 52 ± 4 in FIG. Further, the height of the character strings of the other character string labels (2 to 9) is 30, which corresponds to the rectangular size 30 ± 2 in FIG. In this case, the value counted by character size results in one 14-point character string corresponding to the rectangular size 52 ± 4 and eight 8-point character strings corresponding to the rectangular size 30 ± 2.

なお、図11Aでは、便宜上、同じサイズの文字列高さの例を示しているが、実際には、スキャナで読み取られた画像に対する文字列抽出結果においては、必ずしも文字サイズ毎の矩形サイズが図11Aのように全く同じ値になる可能性は高くない。このため、図12に例示するように、矩形サイズに対しては数画素の許容範囲を設けている。また、隣り合う文字サイズに対応する矩形サイズの許容範囲は重なるようにしてある。このため、仮に文字列の高さが32である場合、文字サイズが9ポイントである可能性と8ポイントである可能性があるので、両方の文字サイズで重複してカウントする。これにより、多少、文字列抽出で曖昧なサイズの文字列が抽出された場合でも、その影響を少なくして出力解像度を判定し易くすることができる。   In FIG. 11A, for the sake of convenience, an example of the character string height of the same size is shown. However, in actuality, in the character string extraction result for the image read by the scanner, the rectangular size for each character size is not necessarily shown. Like 11A, it is not highly likely that the values will be exactly the same. For this reason, as illustrated in FIG. 12, an allowable range of several pixels is provided for the rectangular size. In addition, the allowable ranges of rectangular sizes corresponding to adjacent character sizes are overlapped. For this reason, if the height of the character string is 32, the character size may be 9 points and may be 8 points. Thereby, even when a character string of an ambiguous size is extracted by character string extraction, the influence can be reduced and the output resolution can be easily determined.

そして、出力解像度の判定方法としては、閾値を設定し、設定した閾値以上のカウント値がある文字サイズを対象とする。例えば、対象となる文字サイズの中で一番小さな文字サイズを基準に出力解像度を決定することができる。これは一番小さな文字が判読しやすい解像度で出力することを目的とした場合の判定方法である。これ以外にも、対象となる文字サイズの中で最大頻度の文字サイズを基準に出力解像度を決定する方法もある。これは一番多く存在する文字が判読しやすい解像度で出力することを目的にし、文字の判読性を維持しつつファイルサイズの抑制を目的とした場合の判定方法である。   As a method for determining the output resolution, a threshold is set, and a character size having a count value equal to or larger than the set threshold is targeted. For example, the output resolution can be determined based on the smallest character size among the target character sizes. This is a determination method for the purpose of outputting the smallest character at an easily readable resolution. In addition to this, there is a method of determining the output resolution based on the character frequency of the maximum frequency among the target character sizes. This is a determination method for the purpose of outputting the most existing characters at a resolution that is easy to read, and for the purpose of suppressing the file size while maintaining the character readability.

例えば、対象となる文字サイズの中で一番小さな文字サイズを基準に出力解像度を決定する場合、図11Aの例で、閾値を5とし、カウント値が5以上の文字サイズだけを対象とする。この場合、最小の文字サイズとして8ポイントの文字列が8個存在するので、図12から文字サイズが8ポイントに対応する300×300dpiを出力解像度(最適出力解像度)と判定する。   For example, when the output resolution is determined based on the smallest character size among the target character sizes, the threshold is set to 5 in the example of FIG. In this case, since there are eight 8-point character strings as the minimum character size, 300 × 300 dpi corresponding to the character size of 8 points is determined as the output resolution (optimum output resolution) from FIG.

上述のように、文字列の方向が水平方向である場合、文字列候補(文字列)の垂直方向の寸法(高さ)に応じて解像度を決定する。例えば、高さが大きいほど解像度を低くくし、高さが小さいほど解像度を高くする。また、文字列の方向が垂直方向である場合、文字列候補(文字列)の水平方向の寸法(幅)に応じて解像度を決定する。例えば、幅が大きいほど解像度を低くくし、幅が小さいほど解像度を高くする。これにより、最適な出力解像度を自動設定し、ユーザが複雑な設定をすることなく、所望の出力データ(解像度の変換後の出力画像)を出力することができる。   As described above, when the direction of the character string is the horizontal direction, the resolution is determined according to the vertical dimension (height) of the character string candidate (character string). For example, the resolution is lowered as the height is increased, and the resolution is increased as the height is decreased. When the direction of the character string is the vertical direction, the resolution is determined according to the horizontal dimension (width) of the character string candidate (character string). For example, the larger the width, the lower the resolution, and the smaller the width, the higher the resolution. Thus, the optimum output resolution can be automatically set, and desired output data (output image after resolution conversion) can be output without complicated settings by the user.

図11Bは文字矩形抽出部172で抽出した文字矩形情報の一例を示す。図11Aに例示する文字列情報が存在しない場合には、前述の条件1を充足しない(図10のステップS41)。そして、条件2を充足する場合(図10のステップS45)、文字矩形情報に基づいて最適出力解像度を判定するためにサイズ別の文字列情報のカウントを行う。   FIG. 11B shows an example of character rectangle information extracted by the character rectangle extraction unit 172. When the character string information illustrated in FIG. 11A does not exist, the above condition 1 is not satisfied (step S41 in FIG. 10). When the condition 2 is satisfied (step S45 in FIG. 10), the character string information for each size is counted in order to determine the optimum output resolution based on the character rectangle information.

図11Bに示すように、文字矩形情報は、文字矩形抽出部172で抽出された文字矩形のラベル番号(文字矩形ラベル)、文字矩形の左上の座標情報(sx、sy)、文字矩形の右下の座標情報(ex、ey)、文字矩形が属する文字列(−1の場合はどの文字列にも属さない文字矩形を表す)などの情報を含む。なお、便宜上、図11Bの例では、すべての文字矩形がいずれの文字列にも属さない場合を示すが、実際には、文字列に属する文字矩形と文字列に属さない文字矩形とが混在する。   As shown in FIG. 11B, the character rectangle information includes the label number (character rectangle label) of the character rectangle extracted by the character rectangle extraction unit 172, the upper left coordinate information (sx, sy) of the character rectangle, and the lower right corner of the character rectangle. Coordinate information (ex, ey), a character string to which the character rectangle belongs (in the case of -1, it represents a character rectangle that does not belong to any character string). For convenience, the example of FIG. 11B shows a case where all the character rectangles do not belong to any character string, but actually, a character rectangle belonging to the character string and a character rectangle not belonging to the character string are mixed. .

そして、文字矩形の高さ(ey−sy)と幅(ex−sx)とを算出し、算出した高さ又は幅の何れか長い方を文字の矩形サイズとして算出する。算出した矩形サイズが図12に例示する、いずれの文字サイズに対応するかを判定することにより、文字サイズ別にカウントを行う。次に、文字列の場合と同様に、閾値以上のカウント値の文字サイズに対して一番小さな文字サイズを基準に出力解像度を決定する。   Then, the height (ey-sy) and width (ex-sx) of the character rectangle are calculated, and the longer of the calculated height or width is calculated as the character rectangle size. Counting is performed for each character size by determining which character size corresponds to the calculated rectangular size illustrated in FIG. Next, as in the case of the character string, the output resolution is determined based on the smallest character size with respect to the character size of the count value equal to or greater than the threshold value.

上述のように、文字候補(文字矩形)の垂直方向の寸法(高さ)又は水平方向の寸法(幅)に応じて解像度を決定する。文字候補の高さと幅が異なる場合には、長い方(大きい方)を用いることができる。そして、文字候補の高さ又は幅が大きいほど解像度を低くくし、高さ又は幅が小さいほど解像度を高くする。これにより、最適な出力解像度を自動設定し、ユーザが複雑な設定をすることなく、所望の出力データ(解像度の変換後の出力画像)を出力することができる。   As described above, the resolution is determined according to the vertical dimension (height) or horizontal dimension (width) of the character candidate (character rectangle). When the height and width of the character candidates are different, the longer (larger) can be used. The resolution is decreased as the height or width of the character candidate is increased, and the resolution is increased as the height or width is decreased. Thus, the optimum output resolution can be automatically set, and desired output data (output image after resolution conversion) can be output without complicated settings by the user.

また、条件1、2の両方とも充足しない場合には、印刷写真原稿であるか、あるいは印画紙写真原稿であるかなどの原稿種別情報に基づいて最適出力解像度を判定して出力する。印刷写真原稿である場合、例えば、出力解像度を200×200dpiであると判定し、印画紙写真原稿である場合、出力解像度を300×300dpiとして判定することができる。これらの原稿種別情報による出力解像度は常に固定値でもよく、あるいは目的に応じて予めデフォルト値を設定できるようにしてもよい。   If neither of the conditions 1 and 2 is satisfied, the optimum output resolution is determined based on the document type information such as whether it is a printed photo document or a photographic paper photo document, and is output. For a printed photo original, for example, the output resolution can be determined to be 200 × 200 dpi, and for a photographic paper photo original, the output resolution can be determined to be 300 × 300 dpi. The output resolution based on these document type information may always be a fixed value, or a default value may be set in advance according to the purpose.

上述の例で、条件2よりも条件1を先に判定する理由、すなわち解像度を決定(判定)する際に文字矩形情報よりも文字列情報を優先する理由は、文字列は複数の文字矩形を含むので、安定した文字サイズを決定することができるからである。   In the above example, the reason why the condition 1 is determined before the condition 2, that is, the reason why the character string information is given priority over the character rectangle information when determining (determining) the resolution is that the character string includes a plurality of character rectangles. This is because a stable character size can be determined.

なお、解像度の変換は、読み取った画像データを格納しておき、以下の2通りの方法で行うことができる。第1の方法は、1パススキャンを用いる方法であり、解像度を推定し、補間演算により主走査方向及び副走査方向の解像度を設定する。第2の方法は、2パススキャンを用いる方法であり、解像度を推定し、スキャナの読み取り速度を変更して再度原稿の読み取りを行う。この場合、副走査方向の解像度は光学的に変更し、主走査方向の解像度は補間演算により設定する。   The resolution conversion can be performed by the following two methods by storing the read image data. The first method uses a one-pass scan, estimates the resolution, and sets the resolution in the main scanning direction and the sub-scanning direction by interpolation calculation. The second method is a method using two-pass scanning, in which the resolution is estimated, the reading speed of the scanner is changed, and the original is read again. In this case, the resolution in the sub-scanning direction is optically changed, and the resolution in the main scanning direction is set by interpolation calculation.

次に、出力する画像の画質と画像サイズ(ファイルサイズ)のいずれを優先するかを設定する場合について説明する。操作パネル4は、設定部としての機能を有し、画質又は画像サイズのいずれを優先するかを設定する。操作パネル4により、ユーザが画質を優先するか画像サイズを優先するかを選択することができる。   Next, a case will be described in which which of the image quality and the image size (file size) to be given priority is set. The operation panel 4 has a function as a setting unit, and sets which of image quality or image size has priority. The operation panel 4 allows the user to select whether to prioritize image quality or image size.

例えば、画像サイズよりも画質を優先する場合、閾値を低めに設定し、対象となる文字サイズが多く含まれるようにした上で、その中で一番小さな文字サイズを基準に出力解像度を決定する。例えば、12ポイントの文字列が100個存在し、9ポイントの文字列が10個存在する場合、予め閾値を3と設定しておき、カウント値が3以上の文字サイズだけを対象とする。このとき、最小の文字サイズとして9ポイントの文字列が10個存在することになるので、図12に基づき、最適出力解像度は200×200dpiであると判定することができる。   For example, when priority is given to image quality over image size, a lower threshold is set so that many target character sizes are included, and the output resolution is determined based on the smallest character size among them. . For example, if there are 100 12-point character strings and 10 9-point character strings, a threshold value is set to 3 in advance, and only character sizes with a count value of 3 or more are targeted. At this time, since there are 10 character strings of 9 points as the minimum character size, the optimum output resolution can be determined to be 200 × 200 dpi based on FIG.

すなわち、解像度判定部174は、画質を優先すべく設定された場合、文字列情報又は文字情報に基づく1又は複数の文字サイズのうち最小の文字サイズを決定する。なお、最小の文字サイズを決定する場合には、予め閾値を設定しておき、閾値の数だけ存在する文字サイズの中で最小の文字サイズを決定することができる。最小の文字サイズに基づいて解像度を決定することにより、一番小さな文字が十分に認識することができる出力結果(出力画像)を得ることができる。   That is, when the resolution determination unit 174 is set to prioritize image quality, the resolution determination unit 174 determines the minimum character size among one or more character sizes based on character string information or character information. When determining the minimum character size, it is possible to set a threshold value in advance and determine the minimum character size among the character sizes that exist as many as the threshold value. By determining the resolution based on the minimum character size, an output result (output image) in which the smallest character can be sufficiently recognized can be obtained.

また、画質よりも画像サイズを優先する場合、閾値を高めに設定し、対象の文字サイズが少なく含まれるようにした上で、最大頻度の文字サイズを基準に出力解像度を決定する。例えば、12ポイントの文字列が100個存在し、9ポイントの文字列が10個存在する場合、予め閾値を20と設定しておき、カウント値が20以上の文字サイズだけを対象とする。このとき、閾値以上の文字サイズとして12ポイントの文字列が100個存在することになるので、図12に基づき、最適出力解像度は150×150dpiであると判定することができる。   In addition, when the image size is prioritized over the image quality, the threshold is set higher, the target character size is small, and the output resolution is determined based on the maximum frequency character size. For example, if there are 100 12-point character strings and 10 9-point character strings, a threshold value is set to 20 in advance, and only character sizes with a count value of 20 or more are targeted. At this time, since there are 100 12-point character strings having a character size equal to or greater than the threshold, the optimum output resolution can be determined to be 150 × 150 dpi based on FIG.

すなわち、解像度判定部174は、画像サイズを優先すべく設定された場合、文字列情報又は文字情報に基づく1又は複数の文字サイズのうち最大頻度の文字サイズを決定する。なお、最大頻度の文字サイズを決定する場合にも、予め閾値を設定しておき、閾値の数だけ存在する文字サイズの中で最大頻度の文字サイズを決定することができる。最大頻度の文字サイズに基づいて解像度を決定することにより、画像の中で最も多い文字が十分に認識することができ、また、比較的低い解像度となるため、画像全体の文字の視認性を落とすことなくファイルサイズを小さくすることができる。   That is, when the resolution determination unit 174 is set to prioritize the image size, the resolution determination unit 174 determines the most frequently used character size among one or more character sizes based on the character string information or the character information. When determining the maximum frequency character size, it is possible to set a threshold value in advance and determine the maximum frequency character size among the character sizes that exist as many as the threshold value. By determining the resolution based on the most frequent character size, the most characters in the image can be fully recognized, and the resolution is relatively low, reducing the visibility of the characters in the entire image. The file size can be reduced without any problems.

なお、管理者設定などで画像形成装置100のデフォルト値として設定しておくようなオプション設定を設けることもできる。   It is also possible to provide option settings that are set as default values of the image forming apparatus 100 by administrator settings or the like.

上述の処理により、最適な出力解像度を最終決定し、決定した最適出力解像度情報を解像度変換処理部20へ出力することにより、自動的に原稿に応じた最適な出力解像度で変換されたスキャンデータが入手可能となる。   By the above-described processing, the optimum output resolution is finally determined, and the determined optimum output resolution information is output to the resolution conversion processing unit 20, so that the scan data automatically converted at the optimum output resolution corresponding to the document can be obtained. It will be available.

(第2実施形態)
図13は第2実施形態の画像形成装置110の構成の一例を示すブロック図である。第1実施形態との違いは、処理パラメータ決定部17で決定したパラメータ(出力解像度、文字サイズなど)に基づいて判定された最適圧縮率などの情報を圧縮処理部23へ出力する点である。なお、第1実施形態と同様の箇所は同一符号を付して説明を省略する。
(Second Embodiment)
FIG. 13 is a block diagram illustrating an example of the configuration of the image forming apparatus 110 according to the second embodiment. The difference from the first embodiment is that information such as the optimum compression rate determined based on the parameters (output resolution, character size, etc.) determined by the processing parameter determination unit 17 is output to the compression processing unit 23. In addition, the same code | symbol is attached | subjected to the location similar to 1st Embodiment, and description is abbreviate | omitted.

図14は第2実施形態の処理パラメータ決定部17の構成の一例を示すブロック図である。解像度・圧縮率判定部175は、第1実施形態の解像度判定部174と同様の機能を有する。さらに、解像度・圧縮率判定部175は、圧縮率決定部としての機能を有し、決定した解像度に基づいて圧縮率を決定する。   FIG. 14 is a block diagram illustrating an example of the configuration of the processing parameter determination unit 17 according to the second embodiment. The resolution / compression rate determination unit 175 has the same function as the resolution determination unit 174 of the first embodiment. Furthermore, the resolution / compression rate determination unit 175 has a function as a compression rate determination unit, and determines the compression rate based on the determined resolution.

より具体的には、文字列又は文字矩形の矩形サイズに基づいて文字サイズ別にカウントする点は、第1実施形態の場合と同様である。第2実施形態では、さらに、文字列又は文字矩形の矩形サイズに基づいて決定した文字サイズから最適な出力解像度及び圧縮率の組合せを判定する。   More specifically, the point counting for each character size based on the character string or the rectangular size of the character rectangle is the same as in the first embodiment. In the second embodiment, the optimum combination of output resolution and compression rate is further determined from the character size determined based on the rectangular size of the character string or character rectangle.

図15は文字列又は文字の矩形サイズ、出力解像度及び圧縮率の関係の一例を示す説明図である。図15には、文字列又は文字の矩形サイズ、文字サイズ、出力解像度及び画像の圧縮率の対応関係を例示している。なお、矩形サイズ、文字サイズ、出力解像度、圧縮率は、一例であって、図15に示す値に限定されるものではない。   FIG. 15 is an explanatory diagram showing an example of the relationship between the character string or character rectangle size, output resolution, and compression rate. FIG. 15 illustrates the correspondence relationship between the character string or character rectangle size, character size, output resolution, and image compression rate. Note that the rectangle size, character size, output resolution, and compression rate are examples, and are not limited to the values shown in FIG.

図15において、画質を重視する場合には、最小の文字サイズを基準とし、同じ文字サイズで解像度の違う組み合わせが存在する場合(例えば、10ポイント、12ポイント、14ポイント)、解像度の高い方を選択し、選択した解像度に対応付けられた圧縮率を最適圧縮率として判定する。   In FIG. 15, when importance is attached to image quality, when there is a combination of the same character size and different resolutions based on the minimum character size (for example, 10 points, 12 points, 14 points), the higher resolution is selected. The compression rate associated with the selected resolution is selected as the optimum compression rate.

また、ファイルサイズ(画像サイズ)を重視する場合には、最大頻度の文字サイズを基準とし、同じ文字サイズで解像度の違う組み合わせが存在する場合、解像度の低い方を選択し、選択した解像度に対応付けられた圧縮率を最適圧縮率として判定する。   In addition, when emphasizing the file size (image size), if there is a combination with the same character size and a different resolution based on the maximum frequency character size, select the lower resolution and support the selected resolution The attached compression rate is determined as the optimum compression rate.

また、画質及びファイルサイズを特段重視しない場合には、図15において、まず最小の文字サイズを基準とする。例えば、10ポイントの文字サイズが最小の文字サイズである場合、最適出力解像度は、200×200dpi及び150×150dpiの2つが考えられる。次に、最大頻度の文字サイズを求める。仮に、最大頻度の文字サイズも10ポイントである場合には、200×200dpiを最適出力解像度とし、最適圧縮率は高の設定と判定する。一方、最大頻度の文字サイズが12ポイント以上の場合、150×150dpiを最適出力解像度とし、最適圧縮率は中又は高の設定と判定する。   If the image quality and the file size are not particularly emphasized, the minimum character size is used as a reference in FIG. For example, when the character size of 10 points is the minimum character size, two optimum output resolutions of 200 × 200 dpi and 150 × 150 dpi are conceivable. Next, the maximum frequency character size is obtained. If the maximum frequency character size is also 10 points, it is determined that 200 × 200 dpi is the optimum output resolution and the optimum compression rate is set to a high setting. On the other hand, when the maximum frequency character size is 12 points or more, 150 × 150 dpi is set as the optimum output resolution, and the optimum compression rate is determined to be medium or high.

また、文字列情報及び文字矩形情報が存在せず、画質重視及びファイルサイズ重視の設定がない(又は考慮しない)場合に、原稿種別が印刷写真原稿であるときは、例えば、出力解像度を200×200dpiであると判定し、圧縮率を中であると判定する。また、原稿種別が印画紙写真原稿であるときは、出力解像度を300×300dpiであると判定し、圧縮率を中であると判定し、その判定結果を出力する。   Further, when there is no character string information and character rectangle information, and there is no setting for emphasizing image quality and file size (or no consideration), when the document type is a printed photo document, for example, the output resolution is 200 ×. It is determined that it is 200 dpi, and it is determined that the compression rate is medium. When the document type is a photographic paper photograph document, the output resolution is determined to be 300 × 300 dpi, the compression rate is determined to be medium, and the determination result is output.

また、文字列情報及び文字矩形情報が存在せず、画質重視又はファイルサイズ重視の設定がある場合には、原稿種別が印刷写真原稿であって画質優先であるときは、例えば、出力解像度を200×200dpiであると判定し、圧縮率を低であると判定する。また、原稿種別が印画紙写真原稿であって画質優先であるときは、出力解像度を300×300dpiであると判定し、圧縮率を低であると判定する。   Further, when there is no character string information and character rectangle information and there is a setting that emphasizes image quality or file size, if the document type is a printed photo document and image quality is prioritized, for example, the output resolution is 200. X200 dpi is determined, and the compression rate is determined to be low. When the document type is a photographic paper photo document and image quality is prioritized, it is determined that the output resolution is 300 × 300 dpi and the compression rate is low.

また、文字列情報及び文字矩形情報が存在せず、画質重視又はファイルサイズ重視の設定がある場合には、原稿種別が印刷写真原稿であってファイルサイズ優先であるときは、出力解像度を150×150dpiであると判定し、圧縮率を高であると判定する。また、原稿種別が印画紙写真原稿であってファイルサイズ優先であるときは、出力解像度を200×200dpiであると判定し、圧縮率を高であると判定し、その判定結果を出力する。   In addition, when there is no character string information and character rectangle information and there is a setting that emphasizes image quality or file size, if the document type is a printed photo document and file size is prioritized, the output resolution is 150 ×. It is determined that it is 150 dpi, and it is determined that the compression rate is high. When the document type is a photographic paper photo document and the file size is given priority, it is determined that the output resolution is 200 × 200 dpi, the compression rate is determined to be high, and the determination result is output.

なお、圧縮率は、画像データをJPEG(Joint Photographic Experts Group)フォーマットに変換する際の量子化テーブルの値を変更することにより、前述のように、高、中、低の如く変更することができる。そして、解像度が低い場合には圧縮率を低くして圧縮の度合いを抑えることにより、視認性が落ちることを防止する。また、解像度が高い場合には圧縮率を高くして圧縮の度合いを強くすることにより、視認性を落とすことなくファイルサイズ(画像サイズ)を小さくすることができる。   The compression rate can be changed to high, medium, or low as described above by changing the value of the quantization table when converting the image data into the JPEG (Joint Photographic Experts Group) format. . When the resolution is low, the compression rate is lowered to suppress the degree of compression, thereby preventing the visibility from being lowered. Further, when the resolution is high, the file size (image size) can be reduced without reducing visibility by increasing the compression rate and increasing the degree of compression.

上述の処理によって最適な出力解像度及び圧縮率を最終決定し、その最適出力解像度情報を解像度変換処理部20へ出力し、また、最適圧縮率情報を圧縮処理部23へ出力することにより、自動的に原稿に応じた最適な出力解像度と圧縮率で変換されたスキャンデータが入手可能となる。   The optimum output resolution and compression rate are finally determined by the above-described processing, the optimum output resolution information is output to the resolution conversion processing unit 20, and the optimum compression rate information is output to the compression processing unit 23 to automatically Scan data converted with an optimum output resolution and compression rate according to the original can be obtained.

(第3実施形態)
図16は第3実施形態の画像読取装置120の構成の一例を示すブロック図である。図16は画像処理システムとしての画像読取装置120の構成を示す。図16に示すように、画像読取装置120は、カラー画像入力装置1、カラー画像処理装置50、送信装置3などを備える。
(Third embodiment)
FIG. 16 is a block diagram illustrating an example of the configuration of the image reading apparatus 120 according to the third embodiment. FIG. 16 shows a configuration of an image reading apparatus 120 as an image processing system. As shown in FIG. 16, the image reading device 120 includes a color image input device 1, a color image processing device 50, a transmission device 3, and the like.

カラー画像処理装置50は、A/D変換部11、シェーディング補正部12、原稿種別判別部13、入力階調補正部14、領域分離処理部15、色補正部16、空間フィルタ処理部19、解像度変換処理部20、出力階調補正部21、圧縮処理部23、処理パラメータ決定部17などを備える。   The color image processing apparatus 50 includes an A / D conversion unit 11, a shading correction unit 12, a document type determination unit 13, an input tone correction unit 14, a region separation processing unit 15, a color correction unit 16, a spatial filter processing unit 19, and a resolution. A conversion processing unit 20, an output tone correction unit 21, a compression processing unit 23, a processing parameter determination unit 17, and the like are provided.

カラー画像入力装置1は、例えば、CCD(Charge Coupled Device )を有するカラースキャナで構成される。カラー画像入力装置1は、CCDを用いて原稿からの反射光像をRGB(R:赤、G:緑、B:青)のアナログ信号として読み取りカラー画像処理装置50へ出力する。   The color image input device 1 is composed of, for example, a color scanner having a CCD (Charge Coupled Device). The color image input device 1 reads a reflected light image from a document as an analog signal of RGB (R: red, G: green, B: blue) using a CCD and outputs it to the color image processing device 50.

カラー画像入力装置1にて読み取られたアナログ信号は、カラー画像処理装置50内を、A/D変換部11、シェーディング補正部12、原稿種別判別部13、入力階調補正部14、領域分離処理部15、色補正部16、処理パラメータ決定部17、空間フィルタ処理部19、解像度変換処理部20、出力階調補正部21、圧縮処理部23の順で送られる。なお、各部の処理は第1実施形態の場合と同様なので説明は省略する。   An analog signal read by the color image input device 1 is converted into an A / D conversion unit 11, a shading correction unit 12, a document type determination unit 13, an input tone correction unit 14, an area separation process in the color image processing device 50. 15, color correction unit 16, processing parameter determination unit 17, spatial filter processing unit 19, resolution conversion processing unit 20, output tone correction unit 21, and compression processing unit 23. In addition, since the process of each part is the same as that of the case of 1st Embodiment, description is abbreviate | omitted.

また、図示はしないが、圧縮処理部23で最適な圧縮処理を行うため、図12、図15と同様の圧縮率を判定することができる。なお、画像読取装置としてデジタルカメラを用いることもできる。   Although not shown, since the compression processing unit 23 performs optimal compression processing, it is possible to determine the same compression rate as in FIGS. 12 and 15. A digital camera can also be used as the image reading device.

図17は第1実施形態乃至第3実施形態での解像度の設定方法の一例を示す模式図である。第1実施形態乃至第3実施形態の画像形成装置100、画像形成装置110、画像読取装置120において、スキャン機能における手動の設定モードでは、例えば、図17Aのように解像度をユーザが設定する必要がある。その他にも、カラー設定、原稿モード設定、ファイルフォーマット設定、圧縮率設定などの種々の設定項目が存在する。   FIG. 17 is a schematic diagram illustrating an example of a resolution setting method according to the first to third embodiments. In the image forming apparatus 100, the image forming apparatus 110, and the image reading apparatus 120 according to the first to third embodiments, in the manual setting mode in the scan function, for example, the user needs to set the resolution as illustrated in FIG. 17A. is there. In addition, there are various setting items such as color settings, document mode settings, file format settings, and compression rate settings.

本実施形態の自動設定モードでは、図17Bのような操作パネルを用意し、スキャン開始ボタンを押すだけで、図17Aの解像度の設定を含む他の設定(例えば、天地方向、白紙スキップなどの処理設定)を自動的に行い、最適なスキャンデータが取得できる。自動的に行われる設定には、例えば、カラーについてはACS(Auto Color Select)という機能が既に一般的に使われており、当該機能を用いることで自動的にカラー設定を行うことができる。また、原稿モードについては、原稿種別判別部13の判別結果を用いることで自動的に原稿モードを設定することができる。圧縮率の設定は、前述したように出力解像度と共に自動設定可能である。ファイルフォーマットについては頻繁に使用するファイルフォーマット(例えば、PDFなど)をデフォルトとして予め設定しておくことができる。   In the automatic setting mode of the present embodiment, an operation panel as shown in FIG. 17B is prepared, and other settings including the resolution setting shown in FIG. Setting) is automatically performed, and optimal scan data can be acquired. For the automatic setting, for example, a function called ACS (Auto Color Select) has already been generally used for color, and color setting can be automatically performed by using the function. As for the document mode, the document mode can be automatically set by using the determination result of the document type determination unit 13. The compression rate can be automatically set together with the output resolution as described above. Regarding the file format, a frequently used file format (for example, PDF) can be preset as a default.

図18はデフォルト設定の表示例を示す模式図である。図17Bに示すように、デフォルト設定ボタンがある場合には、デフォルト設定ボタンを押すことにより、図18に示すような、デフォルト設定できる項目のみ表示され、ユーザが任意に選択できるようになる。ここで、ファイルフォーマット又は優先項目など、予め指定しておきたい場合には設定することができる。また、デフォルト設定ボタンがない場合には、予め、管理者設定などで、デフォルト設定しておくべき項目のみ設定できるようにしておくことができる。このように、本実施の形態によれば、ユーザが複雑な設定をすることなく、ワンプッシュで最適なスキャンデータを取得することができる機能を提供することができる。   FIG. 18 is a schematic diagram showing a display example of default settings. As shown in FIG. 17B, when there is a default setting button, by pushing the default setting button, only items that can be default set as shown in FIG. 18 are displayed and the user can arbitrarily select them. Here, the file format or priority item can be set in advance if desired. Further, when there is no default setting button, it is possible to set in advance only items that should be set by default, such as administrator settings. Thus, according to the present embodiment, it is possible to provide a function that allows the user to acquire optimal scan data with a single push without performing complicated settings.

上述の各実施の形態は、ネットワークを介してダウンロードした画像データ(画像)に対しても適用することができる。なお、ダウンロードした画像データの解像度が不明であっても、文字サイズを決定して出力解像度を決定することができる。また、クラウド等のサーバから画像データをダウンロードする際、サーバ側で解像度及び/又は圧縮率を判定し、圧縮処理された画像データをダウンロードすることもできる。この場合、サーバが本実施の形態の画像処理装置に該当する。また、この場合には、ダウンロードする画像データのデータ量を削減することができる。   Each of the embodiments described above can also be applied to image data (images) downloaded via a network. Even if the resolution of the downloaded image data is unknown, the character size can be determined to determine the output resolution. Further, when downloading image data from a server such as a cloud, it is also possible to determine the resolution and / or compression rate on the server side and download the compressed image data. In this case, the server corresponds to the image processing apparatus of the present embodiment. In this case, the amount of image data to be downloaded can be reduced.

上述の各実施の形態は、コンピュータに実行させるためのプログラムのプログラムコード(実行形式プログラム、中間コードプログラム、ソースプログラム)を記録したコンピュータ読み取り可能な記録媒体に、前述した解像度判定処理又は圧縮率判定処理を行う画像処理を記録することもできる。その結果、前述した解像度判定処理又は圧縮率判定処理を行うプログラムコードを記録した記録媒体を持ち運び自在に提供することができる。   In each of the above-described embodiments, the above-described resolution determination processing or compression rate determination is performed on a computer-readable recording medium in which program code (execution format program, intermediate code program, source program) of a program to be executed by a computer is recorded. It is also possible to record image processing to be processed. As a result, a recording medium on which a program code for performing the resolution determination process or the compression rate determination process described above is recorded can be provided in a portable manner.

なお、本実施の形態では、この記録媒体としては、マイクロコンピュータで処理が行われるために図示していないメモリ、例えば、ROMのようなプログラムメディアでもよく、また、図示していないが外部記憶装置としてプログラムコードの読取装置が設けられ、該読取装置に記録媒体を挿入することで読み取り可能なプログラムメディアであってもよい。   In the present embodiment, the recording medium may be a memory (not shown) such as a program medium such as a ROM because processing is performed by a microcomputer, or an external storage device (not shown). As a program medium, a program code reader may be provided, and the program medium can be read by inserting a recording medium into the reader.

いずれの場合においても、格納されているプログラムはマイクロプロセッサがアクセスして実行させる構成であってもよく、あるいは、いずれの場合もプログラムコードを読み出し、読み出されたプログラムコードは、マイクロコンピュータの図示されていないプログラム記憶エリアにダウンロードされて、そのプログラムコードが実行される方式であってもよい。このダウンロード用のプログラムは予め本体装置に格納されているものとする。   In any case, the stored program may be configured to be accessed and executed by the microprocessor, or in any case, the program code is read and the read program code is displayed on the microcomputer. The program code may be downloaded to a program storage area that has not been executed and the program code executed. It is assumed that this download program is stored in the main device in advance.

ここで、プログラムメディアは、本体と分離可能に構成される記録媒体であり、磁気テープ又はカセットテープ等のテープ系、フレキシブルディスク又はハードディスク等の磁気ディスク、CD−ROM/MO/MD/DVD等の光ディスクのディスク系、ICカード(メモリカードを含む)/光カード等のカード系、あるいはマスクROM、EPROM(Erasable Programmable Read Only Memory)、EEPROM(Electrically Erasable Programmable Read Only Memory:登録商標)、フラッシュROM等による半導体メモリを含めた固定的にプログラムを担持する媒体であってもよい。   Here, the program medium is a recording medium configured to be separable from the main body, such as a tape system such as a magnetic tape or a cassette tape, a magnetic disk such as a flexible disk or a hard disk, a CD-ROM / MO / MD / DVD, or the like. Optical disk system, IC card (including memory card) / optical card system, mask ROM, EPROM (Erasable Programmable Read Only Memory), EEPROM (Electrically Erasable Programmable Read Only Memory: registered trademark), flash ROM, etc. It may be a medium that carries a fixed program including the semiconductor memory according to the above.

また、本実施の形態においては、インターネットを含む通信ネットワークを接続可能なシステム構成であることから、通信ネットワークからプログラムコードをダウンロードするように流動的にプログラムを担持する媒体であってもよい。なお、このように通信ネットワークからプログラムコードをダウンロードする場合には、ダウンロード用のプログラムは予め本体装置に格納しておくか、あるいは別な記録媒体からインストールされるものであってもよい。なお、本実施の形態は、前述のプログラムコードが電子的な伝送で具現化された、搬送波に埋め込まれたコンピュータデータ信号の形態でも実現され得る。また、前述の記録媒体は、デジタルカラー画像形成装置又はコンピュータシステムに備えられるプログラム読取装置により読み取られることで上述した画像処理方法が実行される。   In the present embodiment, since the system configuration is such that a communication network including the Internet can be connected, the medium may be a medium that dynamically carries a program so as to download a program code from the communication network. When the program code is downloaded from the communication network as described above, the download program may be stored in the main device in advance, or may be installed from another recording medium. This embodiment can also be realized in the form of a computer data signal embedded in a carrier wave, in which the above-described program code is embodied by electronic transmission. Further, the above-described image processing method is executed by reading the above-mentioned recording medium by a digital color image forming apparatus or a program reading apparatus provided in a computer system.

コンピュータシステムは、フラットベッドスキャナ・フィルムスキャナ・デジタルカメラなどの画像入力装置、所定のプログラムがロードされることにより前記画像処理方法など様々な処理が行われるコンピュータ、コンピュータの処理結果を表示するCRTディスプレイ・液晶ディスプレイなどの画像表示装置及びコンピュータの処理結果を紙などに出力するプリンタなどにより構成される。さらには、ネットワークを介してサーバなどに接続するための通信手段としてのネットワークカード又はモデムなどを具備する。   The computer system includes an image input device such as a flatbed scanner, a film scanner, and a digital camera, a computer that performs various processes such as the image processing method by loading a predetermined program, and a CRT display that displays the processing results of the computer. An image display device such as a liquid crystal display and a printer that outputs the processing results of the computer to paper or the like. Furthermore, a network card or a modem is provided as communication means for connecting to a server or the like via a network.

本発明の上述の各実施の形態で記載されている技術特徴は、お互いに組み合わせて新しい技術方案を形成することができる。   The technical features described in the above embodiments of the present invention can be combined with each other to form a new technical plan.

本実施の形態の画像処理装置(50)は、画像を構成する複数の画素の画素値に基づいて該画像に含まれる文字候補を特定する文字特定情報を生成する文字生成部(172)と、該文字生成部で生成した文字特定情報に基づいて複数の文字で構成される文字列候補を特定する文字列特定情報を生成する文字列生成部(173)と、該文字列生成部で生成した文字列特定情報に基づいて前記画像の解像度を決定する解像度決定部(174、175)と、該解像度決定部で決定した解像度を用いて前記画像の解像度を変換する変換部(20)とを備えることを特徴とする。   The image processing apparatus (50) of the present embodiment includes a character generation unit (172) that generates character specifying information that specifies character candidates included in the image based on the pixel values of a plurality of pixels constituting the image; A character string generation unit (173) for generating character string specifying information for specifying a character string candidate composed of a plurality of characters based on the character specifying information generated by the character generation unit, and a character string generating unit A resolution determination unit (174, 175) that determines the resolution of the image based on character string specifying information, and a conversion unit (20) that converts the resolution of the image using the resolution determined by the resolution determination unit. It is characterized by that.

本実施の形態のコンピュータプログラムは、画像の解像度を変換するためのコンピュータプログラムにおいて、コンピュータを、画像を構成する複数の画素の画素値に基づいて該画像に含まれる文字候補を特定する文字特定情報を生成する文字生成手段と、生成した文字特定情報に基づいて複数の文字で構成される文字列候補を特定する文字列特定情報を生成する文字列生成手段と、生成した文字列特定情報に基づいて前記画像の解像度を決定する解像度決定手段と、決定した解像度を用いて前記画像の解像度を変換する変換手段として機能させることを特徴とする。   The computer program according to the present embodiment is a computer program for converting the resolution of an image. The character specifying information for specifying a character candidate included in the image based on pixel values of a plurality of pixels constituting the image. Based on the generated character string specifying information, the character string generating means for generating character string specifying information for specifying a character string candidate composed of a plurality of characters based on the generated character specifying information, and the generated character string specifying information And a resolution determining unit that determines the resolution of the image, and a conversion unit that converts the resolution of the image using the determined resolution.

本実施の形態にあっては、文字生成部は、画像を構成する複数の画素の画素値に基づいて当該画像に含まれる文字候補を特定する文字特定情報を生成する。文字候補を特定するには、例えば、画像の各画素の画素値に基づいてエッジ画素を抽出し、抽出したエッジ画素のうち、例えば、隣接するエッジ画素同士を一つの塊としてラベルを付与するラベリングを行い、同じラベルのエッジ画素を囲む文字矩形を文字候補とすることができる。文字候補は、1つの文字毎に特定することができる。文字特定情報は、文字候補(文字矩形)を画定するための位置情報であり、例えば、文字矩形の左上及び右下の座標情報、文字矩形の水平方向の寸法(幅)及び垂直方向の寸法(高さ)などを含む。   In the present embodiment, the character generation unit generates character specifying information for specifying character candidates included in the image based on the pixel values of a plurality of pixels constituting the image. In order to specify a character candidate, for example, an edge pixel is extracted based on the pixel value of each pixel of the image, and among the extracted edge pixels, for example, labeling is performed by using adjacent edge pixels as one lump. The character rectangle surrounding the edge pixels of the same label can be used as a character candidate. Character candidates can be specified for each character. The character specifying information is position information for defining a character candidate (character rectangle). For example, the upper left and lower right coordinate information of the character rectangle, the horizontal dimension (width) and the vertical dimension ( Height).

文字列生成部は、文字生成部で生成した文字特定情報に基づいて複数の文字で構成される文字列候補を特定する文字列特定情報を生成する。文字列候補は、例えば、複数の文字候補が水平方向又は垂直方向に並んだものである。文字列特定情報は、文字列候補(文字列)を画定するための位置情報であり、例えば、文字列領域の左上及び右下の座標情報、文字列領域の水平方向の寸法(幅)及び垂直方向の寸法(高さ)などを含む。また、文字列特定情報は、文字列の方向(水平方向、垂直方向)を含む。   The character string generating unit generates character string specifying information for specifying a character string candidate composed of a plurality of characters based on the character specifying information generated by the character generating unit. The character string candidates are, for example, a plurality of character candidates arranged in the horizontal direction or the vertical direction. The character string specifying information is position information for defining character string candidates (character strings). For example, the upper left and lower right coordinate information of the character string area, the horizontal dimension (width) and vertical of the character string area Including direction dimensions (height). The character string specifying information includes the direction of the character string (horizontal direction, vertical direction).

解像度決定部は、文字列生成部で生成した文字列特定情報に基づいて画像の解像度を決定する。そして、変換部は、解像度決定部で決定した解像度を用いて画像の解像度を変換する。例えば、文字列の方向が水平方向である場合、文字列候補(文字列)の垂直方向の寸法(高さ)に応じて解像度を決定する。例えば、高さが大きいほど解像度を低くくし、高さが小さいほど解像度を高くする。また、文字列の方向が垂直方向である場合、文字列候補(文字列)の水平方向の寸法(幅)に応じて解像度を決定する。例えば、幅が大きいほど解像度を低くくし、幅が小さいほど解像度を高くする。これにより、最適な出力解像度を自動設定し、ユーザが複雑な設定をすることなく、所望の出力データ(解像度の変換後の出力画像)を出力することができる。   The resolution determining unit determines the resolution of the image based on the character string specifying information generated by the character string generating unit. The conversion unit converts the resolution of the image using the resolution determined by the resolution determination unit. For example, when the direction of the character string is the horizontal direction, the resolution is determined according to the vertical dimension (height) of the character string candidate (character string). For example, the resolution is lowered as the height is increased, and the resolution is increased as the height is decreased. When the direction of the character string is the vertical direction, the resolution is determined according to the horizontal dimension (width) of the character string candidate (character string). For example, the larger the width, the lower the resolution, and the smaller the width, the higher the resolution. Thus, the optimum output resolution can be automatically set, and desired output data (output image after resolution conversion) can be output without complicated settings by the user.

本実施の形態の画像処理装置(50)は、前記文字列生成部(173)での文字列特定情報の生成の可否を判定する判定部(174、175)を備え、前記解像度決定部(174、175)は、前記判定部で文字列特定情報の生成が否であると判定した場合、前記文字生成部(172)で生成した文字特定情報に基づいて前記画像の解像度を決定するようにしてあることを特徴とする。   The image processing apparatus (50) of the present embodiment includes a determination unit (174, 175) that determines whether the character string specifying information can be generated by the character string generation unit (173), and the resolution determination unit (174). 175), when the determination unit determines that the generation of the character string specifying information is not possible, the resolution of the image is determined based on the character specifying information generated by the character generating unit (172). It is characterized by being.

本実施の形態にあっては、判定部は、文字列生成部での文字列特定情報の生成の可否を判定する。すなわち、判定部は、画像の中に文字列が存在するか否かを判定する。解像度決定部は、判定部で文字列特定情報の生成が否であると判定した場合、文字生成部で生成した文字特定情報に基づいて画像の解像度を決定する。すなわち、画像の中に文字列が存在しない場合、文字特定情報に基づいて解像度を決定する。   In the present embodiment, the determination unit determines whether or not the character string specifying information can be generated by the character string generation unit. That is, the determination unit determines whether a character string exists in the image. If the determination unit determines that the character string specifying information is not generated, the resolution determining unit determines the resolution of the image based on the character specifying information generated by the character generating unit. That is, when there is no character string in the image, the resolution is determined based on the character specifying information.

例えば、文字候補(文字矩形)の垂直方向の寸法(高さ)又は水平方向の寸法(幅)に応じて解像度を決定する。文字候補の高さと幅が異なる場合には、長い方(大きい方)を用いることができる。そして、文字候補の高さ又は幅が大きいほど解像度を低くくし、高さ又は幅が小さいほど解像度を高くする。これにより、最適な出力解像度を自動設定し、ユーザが複雑な設定をすることなく、所望の出力データ(解像度の変換後の出力画像)を出力することができる。   For example, the resolution is determined according to the vertical dimension (height) or horizontal dimension (width) of the character candidate (character rectangle). When the height and width of the character candidates are different, the longer (larger) can be used. The resolution is decreased as the height or width of the character candidate is increased, and the resolution is increased as the height or width is decreased. Thus, the optimum output resolution can be automatically set, and desired output data (output image after resolution conversion) can be output without complicated settings by the user.

本実施の形態の画像処理装置(50)は、生成した文字列特定情報又は文字特定情報に基づいて1又は複数の文字サイズを決定する文字サイズ決定部(174、175)を備え、前記解像度決定部(174、175)は、前記文字サイズ決定部で決定した文字サイズに基づいて解像度を決定するようにしてあることを特徴とする。   The image processing apparatus (50) of the present embodiment includes a character size determining unit (174, 175) that determines one or a plurality of character sizes based on the generated character string specifying information or character specifying information, and determining the resolution. The sections (174, 175) are characterized in that the resolution is determined based on the character size determined by the character size determination section.

本実施の形態にあっては、文字サイズ決定部は、生成した文字列特定情報又は文字特定情報に基づいて1又は複数の文字サイズを決定する。例えば、文字列候補の高さ又は幅、あるいは文字候補の高さ又は幅に応じて文字サイズ(例えば、8ポイント、10ポイント、12ポイントなど)を決定する。解像度決定部は、文字サイズ決定部で決定した文字サイズに基づいて解像度を決定する。例えば、文字サイズが大きいほど解像度を低くくし、文字サイズが小さいほど解像度を高くする。これにより、最適な出力解像度を自動設定し、ユーザが複雑な設定をすることなく、所望の出力データ(解像度の変換後の出力画像)を出力することができる。   In the present embodiment, the character size determination unit determines one or more character sizes based on the generated character string specifying information or character specifying information. For example, the character size (for example, 8 points, 10 points, 12 points, etc.) is determined according to the height or width of the character string candidate or the height or width of the character candidate. The resolution determining unit determines the resolution based on the character size determined by the character size determining unit. For example, the larger the character size, the lower the resolution, and the smaller the character size, the higher the resolution. Thus, the optimum output resolution can be automatically set, and desired output data (output image after resolution conversion) can be output without complicated settings by the user.

本実施の形態の画像処理装置(50)は、画質又は画像サイズのいずれを優先するかを設定する設定部(4)を備え、前記文字サイズ決定部(174、175)は、前記設定部で画質を優先すべく設定された場合、前記文字列特定情報又は文字特定情報に基づく1又は複数の文字サイズのうち最小の文字サイズを決定し、前記設定部で画像サイズを優先すべく設定された場合、前記文字列特定情報又は文字特定情報に基づく1又は複数の文字サイズのうち最大頻度の文字サイズを決定するようにしてあることを特徴とする。   The image processing apparatus (50) of the present embodiment includes a setting unit (4) for setting which of image quality or image size is to be prioritized, and the character size determination unit (174, 175) is the setting unit. When the image quality is set to be prioritized, a minimum character size is determined from one or more character sizes based on the character string specifying information or the character specifying information, and the setting unit is set to prioritize the image size. In this case, the character frequency having the highest frequency is determined from one or a plurality of character sizes based on the character string specifying information or the character specifying information.

本実施の形態にあっては、設定部は、画質又は画像サイズのいずれを優先するかを設定する。設定部は、例えば、ユーザが設定するための操作パネルなどであり、ユーザが画質を優先するか画像サイズを優先するかを選択して設定することができる。文字サイズ決定部は、画質を優先すべく設定された場合、文字列特定情報又は文字特定情報に基づく1又は複数の文字サイズのうち最小の文字サイズを決定する。なお、最小の文字サイズを決定する場合には、予め閾値を設定しておき、閾値の数だけ存在する文字サイズの中で最小の文字サイズを決定することができる。最小の文字サイズに基づいて解像度を決定することにより、一番小さな文字が十分に認識することができる出力結果(出力画像)を得ることができる。   In the present embodiment, the setting unit sets whether to give priority to image quality or image size. The setting unit is, for example, an operation panel for the user to set, and the user can select and set whether to give priority to image quality or image size. The character size determination unit determines a minimum character size among one or a plurality of character sizes based on the character string specifying information or the character specifying information when the image quality is set to be prioritized. When determining the minimum character size, it is possible to set a threshold value in advance and determine the minimum character size among the character sizes that exist as many as the threshold value. By determining the resolution based on the minimum character size, an output result (output image) in which the smallest character can be sufficiently recognized can be obtained.

また、文字サイズ決定部は、画像サイズを優先すべく設定された場合、文字列特定情報又は文字特定情報に基づく1又は複数の文字サイズのうち最大頻度の文字サイズを決定する。なお、最大頻度の文字サイズを決定する場合にも、予め閾値を設定しておき、閾値の数だけ存在する文字サイズの中で最大頻度の文字サイズを決定することができる。最大頻度の文字サイズに基づいて解像度を決定することにより、画像の中で最も多い文字が十分に認識することができ、また、比較的低い解像度となるため、画像全体の文字の視認性を落とすことなくファイルサイズを小さくすることができる。   Further, the character size determination unit determines the most frequently used character size among one or a plurality of character sizes based on the character string specifying information or the character specifying information when the image size is set to be prioritized. When determining the maximum frequency character size, it is possible to set a threshold value in advance and determine the maximum frequency character size among the character sizes that exist as many as the threshold value. By determining the resolution based on the most frequent character size, the most characters in the image can be fully recognized, and the resolution is relatively low, reducing the visibility of the characters in the entire image. The file size can be reduced without any problems.

本実施の形態の画像処理装置(50)は、前記解像度決定部(175)で決定した解像度に基づいて圧縮率を決定する圧縮率決定部(175)と、該圧縮率決定部で決定した圧縮率を用いて前記画像を圧縮する圧縮部(23)とを備えることを特徴とする。   The image processing apparatus (50) of the present embodiment includes a compression rate determining unit (175) that determines a compression rate based on the resolution determined by the resolution determining unit (175), and the compression determined by the compression rate determining unit. And a compression unit (23) for compressing the image using a rate.

本実施の形態にあっては、圧縮率決定部は、解像度決定部で決定した解像度に基づいて圧縮率を決定する。圧縮部は、圧縮率決定部で決定した圧縮率を用いて画像を圧縮する。圧縮率は、画像データをJPEG(Joint Photographic Experts Group)フォーマットに変換する際の量子化テーブルの値を変更することにより、例えば、高、中、低の如く変更することができる。そして、解像度が低い場合には圧縮率を低くして圧縮の度合いを抑えることにより、視認性が落ちることを防止する。また、解像度が高い場合には圧縮率を高くして圧縮の度合いを強くすることにより、視認性を落とすことなくファイルサイズを小さくすることができる。   In the present embodiment, the compression rate determination unit determines the compression rate based on the resolution determined by the resolution determination unit. The compression unit compresses the image using the compression rate determined by the compression rate determination unit. The compression rate can be changed to, for example, high, medium, or low by changing the value of the quantization table when converting the image data into the JPEG (Joint Photographic Experts Group) format. When the resolution is low, the compression rate is lowered to suppress the degree of compression, thereby preventing the visibility from being lowered. Further, when the resolution is high, the file size can be reduced without reducing the visibility by increasing the compression rate and increasing the degree of compression.

本実施の形態の画像処理装置(50)は、前記圧縮率決定部(175)は、前記解像度決定部(175)で決定した解像度及び前記文字サイズ決定部(175)で決定した文字サイズに基づいて圧縮率を決定するようにしてあることを特徴とする。   In the image processing apparatus (50) of the present embodiment, the compression rate determining unit (175) is based on the resolution determined by the resolution determining unit (175) and the character size determined by the character size determining unit (175). Thus, the compression rate is determined.

本実施の形態にあっては、圧縮率決定部は、解像度決定部で決定した解像度及び文字サイズ決定部で決定した文字サイズに基づいて圧縮率を決定する。例えば、同じ解像度に対して、決定した文字サイズが大きいものと小さいものがあるとする。この場合、文字サイズが大きい方の圧縮率を高くし、文字サイズが小さい方の圧縮率を低くする。これにより、視認性を落とすことなくファイルサイズを小さくすることができる。また、同じ文字サイズに対して、決定した解像度が高いものと低いものがあるとする。この場合、解像度が高い方の圧縮率を高くし、解像度が低い方の圧縮率を低くする。これにより、視認性を落とすことなくファイルサイズを小さくすることができる。   In the present embodiment, the compression rate determination unit determines the compression rate based on the resolution determined by the resolution determination unit and the character size determined by the character size determination unit. For example, it is assumed that the determined character size is large and small for the same resolution. In this case, the compression rate for the larger character size is increased, and the compression rate for the smaller character size is decreased. Thereby, the file size can be reduced without reducing the visibility. Further, it is assumed that the determined resolution has a high and low resolution for the same character size. In this case, the compression rate of the higher resolution is increased, and the compression rate of the lower resolution is decreased. Thereby, the file size can be reduced without reducing the visibility.

本実施の形態の係る画像処理システム(100、110、120)は、前述の発明のいずれか1つに係る画像処理装置(50)と、該画像処理装置へ画像を入力する画像入力装置(1)と、前記画像処理装置が変換した画像を出力する画像出力装置(2、3)とを備えることを特徴とする。   An image processing system (100, 110, 120) according to the present embodiment includes an image processing device (50) according to any one of the aforementioned inventions, and an image input device (1) that inputs an image to the image processing device. And an image output device (2, 3) for outputting an image converted by the image processing device.

本実施の形態にあっては、画像処理装置を備えた画像処理システムを提供することができる。   In the present embodiment, an image processing system including an image processing apparatus can be provided.

本発明に係る記録媒体は、前述の発明に係るコンピュータプログラムを記録してあることを特徴とする。   A recording medium according to the present invention records a computer program according to the above-described invention.

本実施の形態にあっては、コンピュータプログラムを記録した記録媒体を提供することができる。   In the present embodiment, a recording medium on which a computer program is recorded can be provided.

1 カラー画像入力装置
2 カラー画像出力装置
3 送信装置
4 操作パネル
50 カラー画像処理装置
11 A/D変換部
12 シェーディング補正部
13 原稿種別判別部
14 入力階調補正部
15 領域分離処理部
16 色補正部
17 処理パラメータ決定部
171 エッジ検出部
172 文字矩形抽出部
173 文字列抽出部
174 解像度判定部
175 解像度・圧縮率判定部
18 黒色生成下色除去部
19 空間フィルタ処理部
20 解像度変換処理部
21 出力階調補正部
22 階調再現処理部
23 圧縮処理部
DESCRIPTION OF SYMBOLS 1 Color image input device 2 Color image output device 3 Transmission device 4 Operation panel 50 Color image processing device 11 A / D conversion part 12 Shading correction part 13 Document type discrimination | determination part 14 Input gradation correction part 15 Area | region separation process part 16 Color correction Section 17 Processing parameter determination section 171 Edge detection section 172 Character rectangle extraction section 173 Character string extraction section 174 Resolution determination section 175 Resolution / compression ratio determination section 18 Black color generation and under color removal section 19 Spatial filter processing section 20 Resolution conversion processing section 21 Output Gradation correction unit 22 Gradation reproduction processing unit 23 Compression processing unit

Claims (9)

画像を構成する複数の画素の画素値に基づいて該画像に含まれる文字候補を特定する文字特定情報を生成する文字生成部と、
該文字生成部で生成した文字特定情報に基づいて複数の文字で構成される文字列候補を特定する文字列特定情報を生成する文字列生成部と、
該文字列生成部で生成した文字列特定情報に基づいて前記画像の解像度を決定する解像度決定部と、
該解像度決定部で決定した解像度を用いて前記画像の解像度を変換する変換部と
を備えることを特徴とする画像処理装置。
A character generation unit that generates character specifying information for specifying character candidates included in the image based on pixel values of a plurality of pixels constituting the image;
A character string generating unit that generates character string specifying information for specifying character string candidates composed of a plurality of characters based on the character specifying information generated by the character generating unit;
A resolution determining unit that determines the resolution of the image based on the character string specifying information generated by the character string generating unit;
An image processing apparatus comprising: a conversion unit that converts the resolution of the image using the resolution determined by the resolution determination unit.
前記文字列生成部での文字列特定情報の生成の可否を判定する判定部を備え、
前記解像度決定部は、
前記判定部で文字列特定情報の生成が否であると判定した場合、前記文字生成部で生成した文字特定情報に基づいて前記画像の解像度を決定するようにしてあることを特徴とする請求項1に記載の画像処理装置。
A determination unit that determines whether the character string generation information can be generated by the character string generation unit;
The resolution determination unit
The resolution of the image is determined based on the character identification information generated by the character generation unit when the determination unit determines that the generation of the character string identification information is negative. The image processing apparatus according to 1.
生成した文字列特定情報又は文字特定情報に基づいて1又は複数の文字サイズを決定する文字サイズ決定部を備え、
前記解像度決定部は、
前記文字サイズ決定部で決定した文字サイズに基づいて解像度を決定するようにしてあることを特徴とする請求項1又は請求項2に記載の画像処理装置。
A character size determining unit that determines one or more character sizes based on the generated character string specifying information or character specifying information;
The resolution determination unit
The image processing apparatus according to claim 1, wherein the resolution is determined based on the character size determined by the character size determination unit.
画質又は画像サイズのいずれを優先するかを設定する設定部を備え、
前記文字サイズ決定部は、
前記設定部で画質を優先すべく設定された場合、前記文字列特定情報又は文字特定情報に基づく1又は複数の文字サイズのうち最小の文字サイズを決定し、
前記設定部で画像サイズを優先すべく設定された場合、前記文字列特定情報又は文字特定情報に基づく1又は複数の文字サイズのうち最大頻度の文字サイズを決定するようにしてあることを特徴とする請求項3に記載の画像処理装置。
A setting unit is provided for setting whether to give priority to image quality or image size.
The character size determining unit
If the setting unit is set to prioritize image quality, the minimum character size is determined among one or more character sizes based on the character string specifying information or the character specifying information,
When the setting unit is set to prioritize the image size, the character frequency of the maximum frequency is determined among one or a plurality of character sizes based on the character string specifying information or the character specifying information. The image processing apparatus according to claim 3.
前記解像度決定部で決定した解像度に基づいて圧縮率を決定する圧縮率決定部と、
該圧縮率決定部で決定した圧縮率を用いて前記画像を圧縮する圧縮部と
を備えることを特徴とする請求項3又は請求項4に記載の画像処理装置。
A compression rate determination unit that determines a compression rate based on the resolution determined by the resolution determination unit;
The image processing apparatus according to claim 3, further comprising: a compression unit that compresses the image using the compression rate determined by the compression rate determination unit.
前記圧縮率決定部は、
前記解像度決定部で決定した解像度及び前記文字サイズ決定部で決定した文字サイズに基づいて圧縮率を決定するようにしてあることを特徴とする請求項5に記載の画像処理装置。
The compression rate determining unit
6. The image processing apparatus according to claim 5, wherein a compression rate is determined based on the resolution determined by the resolution determination unit and the character size determined by the character size determination unit.
請求項1から請求項6までのいずれか1項に記載の画像処理装置と、該画像処理装置へ画像を入力する画像入力装置と、前記画像処理装置が変換した画像を出力する画像出力装置とを備えることを特徴とする画像処理システム。   An image processing apparatus according to any one of claims 1 to 6, an image input apparatus that inputs an image to the image processing apparatus, and an image output apparatus that outputs an image converted by the image processing apparatus. An image processing system comprising: 画像の解像度を変換するためのコンピュータプログラムにおいて、
コンピュータを、
画像を構成する複数の画素の画素値に基づいて該画像に含まれる文字候補を特定する文字特定情報を生成する文字生成手段と、
生成した文字特定情報に基づいて複数の文字で構成される文字列候補を特定する文字列特定情報を生成する文字列生成手段と、
生成した文字列特定情報に基づいて前記画像の解像度を決定する解像度決定手段と、
決定した解像度を用いて前記画像の解像度を変換する変換手段と
して機能させることを特徴とするコンピュータプログラム。
In a computer program for converting the resolution of an image,
Computer
Character generating means for generating character specifying information for specifying character candidates included in the image based on pixel values of a plurality of pixels constituting the image;
A character string generating means for generating character string specifying information for specifying a character string candidate composed of a plurality of characters based on the generated character specifying information;
Resolution determining means for determining the resolution of the image based on the generated character string specifying information;
A computer program that functions as conversion means for converting the resolution of the image using the determined resolution.
請求項8に記載のコンピュータプログラムを記録してあることを特徴とするコンピュータでの読み取りが可能な記録媒体。   A computer-readable recording medium on which the computer program according to claim 8 is recorded.
JP2014174348A 2014-08-28 2014-08-28 Image processing apparatus, image processing system, computer program, and recording medium Active JP6262102B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014174348A JP6262102B2 (en) 2014-08-28 2014-08-28 Image processing apparatus, image processing system, computer program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014174348A JP6262102B2 (en) 2014-08-28 2014-08-28 Image processing apparatus, image processing system, computer program, and recording medium

Publications (2)

Publication Number Publication Date
JP2016051914A true JP2016051914A (en) 2016-04-11
JP6262102B2 JP6262102B2 (en) 2018-01-17

Family

ID=55659160

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014174348A Active JP6262102B2 (en) 2014-08-28 2014-08-28 Image processing apparatus, image processing system, computer program, and recording medium

Country Status (1)

Country Link
JP (1) JP6262102B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106488074A (en) * 2015-08-24 2017-03-08 柯尼卡美能达株式会社 Image processing apparatus and e-file generation method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019188291A (en) 2018-04-20 2019-10-31 三菱日立パワーシステムズ株式会社 Desulfurizer

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009296533A (en) * 2008-06-09 2009-12-17 Kyocera Mita Corp Scanner apparatus and image forming apparatus

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009296533A (en) * 2008-06-09 2009-12-17 Kyocera Mita Corp Scanner apparatus and image forming apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106488074A (en) * 2015-08-24 2017-03-08 柯尼卡美能达株式会社 Image processing apparatus and e-file generation method
CN106488074B (en) * 2015-08-24 2019-03-05 柯尼卡美能达株式会社 Image processing apparatus and electronic document generation method

Also Published As

Publication number Publication date
JP6262102B2 (en) 2018-01-17

Similar Documents

Publication Publication Date Title
US8792735B2 (en) Image compressing apparatus which extracts black text edge pixels from an image and compresses a layer with black text edge pixels extracted
US8165402B2 (en) Image processing method, image processing apparatus, image forming apparatus and storage medium
JP4137890B2 (en) Image processing apparatus, image forming apparatus, image reading processing apparatus, image processing method, image processing program, and computer-readable recording medium
JP4758502B2 (en) Image processing apparatus, image reading apparatus, image transmitting apparatus, image forming apparatus, image processing method, program, and recording medium thereof
JP5220828B2 (en) Image processing apparatus, image forming apparatus, image reading apparatus, image processing method, program, and recording medium
JP4495197B2 (en) Image processing apparatus, image forming apparatus, image processing program, and recording medium for recording image processing program
JP5089713B2 (en) Image compression apparatus, compressed image output apparatus, image compression method, computer program, and recording medium
JP4118886B2 (en) Image processing apparatus, image forming apparatus, image reading processing apparatus, image processing method, image processing program, and computer-readable recording medium
JP4115999B2 (en) Image processing apparatus, image forming apparatus, image reading processing apparatus, image processing method, image processing program, and computer-readable recording medium
JP2008099149A (en) Image processor, image processing method and image processing program
JP6262102B2 (en) Image processing apparatus, image processing system, computer program, and recording medium
US9268998B2 (en) Image determining apparatus, image processing system, and recording medium
JP2009017208A (en) Image processing apparatus, image forming apparatus, image processing method, computer program, and computer readable recording medium
JP6752263B2 (en) Image processing device, image forming device, and image processing method
JP6441772B2 (en) Image processing apparatus, image forming apparatus, and image processing method
JP6618307B2 (en) Image processing apparatus, image forming apparatus, and resolution determination method
JP4545167B2 (en) Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium
JP2006229817A (en) Background detection method, program, recording medium, image processing apparatus, and image forming apparatus
US11405525B2 (en) Image processing apparatus, control method, and product capable of improving compression efficiency by converting close color to background color in a low light reading mode
JP7413751B2 (en) Image processing systems and programs
JP4808282B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium for recording image processing program
JP2012098811A (en) Image processing apparatus, image forming apparatus, image processing control device, image processing control method, computer program and recording medium
JP2010045537A (en) Image processor, image forming device, image processing method, computer program and recording medium
JP4545134B2 (en) Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium
JP2004214908A (en) Image processing apparatus and image forming apparatus provided with the same

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170403

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170919

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171026

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: 20171205

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20171213

R150 Certificate of patent or registration of utility model

Ref document number: 6262102

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150