JP4517987B2 - Image processing method and image processing apparatus - Google Patents

Image processing method and image processing apparatus Download PDF

Info

Publication number
JP4517987B2
JP4517987B2 JP2005257348A JP2005257348A JP4517987B2 JP 4517987 B2 JP4517987 B2 JP 4517987B2 JP 2005257348 A JP2005257348 A JP 2005257348A JP 2005257348 A JP2005257348 A JP 2005257348A JP 4517987 B2 JP4517987 B2 JP 4517987B2
Authority
JP
Japan
Prior art keywords
block
image
processing
characteristic
image processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2005257348A
Other languages
Japanese (ja)
Other versions
JP2006109424A (en
Inventor
博 新名
譲 鈴木
邦和 上野
なつみ 宮澤
晃一 藤井
俊輔 小平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation 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 Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2005257348A priority Critical patent/JP4517987B2/en
Publication of JP2006109424A publication Critical patent/JP2006109424A/en
Application granted granted Critical
Publication of JP4517987B2 publication Critical patent/JP4517987B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、画像データを所定の処理を施して出力する画像処理技術に関し、特に、画像データを複数に区分したブロック毎の特性に応じて、当該画像データへの処理を行う技術に関する。   The present invention relates to an image processing technique for outputting image data after performing predetermined processing, and more particularly, to a technique for processing image data according to the characteristics of each block obtained by dividing the image data into a plurality of blocks.

近年、白黒やカラーといった色特性、文字や写真等といった種別特性が異なる様々な特性の素材を用いて文書が構成されている。
例えば、複写機により、このような文書をスキャナ等で画像読み取りして、当該画像データに基づいてプリント出力する場合には、図7に示すようなシステムで画像データに必要な画像処理を施している。
In recent years, documents have been configured using materials having various characteristics such as color characteristics such as black and white and characters, characters, photographs, and the like.
For example, when an image of such a document is read with a scanner or the like by a copying machine and printed out based on the image data, the image processing necessary for the image data is performed by a system as shown in FIG. Yes.

図7に示す例は、カラー複写機においてカラー画像データを処理する画像処理システム(IPS)である。
まず、入力されたカラー画像データに前段補正(ENL)を施してRGB色空間を明度及び彩度のLab色空間に変換し、画像中のエッジ(絵柄)を検出し、モアレ防止等のMTF補正(デジタルフィルタ)を施す。そして、前段補正した画像データから検出した下地レベルに基づいて、MTF補正した画像データから下地ノイズを除去し、当該画像データを後段補正によりCMYK色空間に変換し、更に、階調補正及びスクリーン生成を施して、プリントデータとして出力する。
このように画像データをプリント出力するためには、種々な画像処理を行っている。
The example shown in FIG. 7 is an image processing system (IPS) that processes color image data in a color copying machine.
First, pre-correction (ENL) is applied to the input color image data to convert the RGB color space into a Lab color space of lightness and saturation, detecting edges (pictures) in the image, and MTF correction such as moire prevention Apply (digital filter). Then, based on the background level detected from the pre-corrected image data, background noise is removed from the MTF-corrected image data, the image data is converted to the CMYK color space by post-correction, and further, tone correction and screen generation are performed. And output as print data.
In order to print out the image data in this way, various image processes are performed.

ハードウエア構成の画像処理システムにおいて、柔軟且つリアルタイムな処理を実現させるために、シリアルにパイプラインで繋がった複数の画像処理モジュールの制御をオブジェクトタグによって切り替えて行う発明が提案されている(特許文献1参照。)。
また、カラー複写機に適用される画像処理システムにおいて、画像データ中の注目画素がテキスト画素及びエッジ画素を表す場合と、それ以外の場合とで、異なる処理を行う発明が提案されている(特許文献2参照。)。
また、画像データを複数のブロックに分割し、これらブロックに対して並列的に画像処理を施す発明が提案されている(特許文献3参照。)。
In order to realize flexible and real-time processing in a hardware-configured image processing system, an invention has been proposed in which control of a plurality of image processing modules serially connected by a pipeline is switched by object tags (Patent Literature). 1).
In addition, in an image processing system applied to a color copying machine, an invention has been proposed in which different processing is performed in a case where a pixel of interest in image data represents a text pixel and an edge pixel and in other cases (patent) Reference 2).
Further, an invention has been proposed in which image data is divided into a plurality of blocks and image processing is performed on these blocks in parallel (see Patent Document 3).

画像データに基づいてヒストグラムを作成して画像処理する発明として、画像1ページ全体の濃度ヒストグラムを生成し、その形状特性から画像全体が文字か下地かを判別する発明が提案されている(特許文献4参照。)。
また、画像1ページ全体の濃度ヒストグラムを生成し、濃度ヒストグラム中の最大度数、及び2番目に大きい度数等の情報から下地検知を行う発明が提案されている(特許文献5参照。)。
As an invention for generating a histogram based on image data and performing image processing, an invention has been proposed in which a density histogram for an entire page of an image is generated and whether the entire image is a character or a ground based on its shape characteristics (Patent Document) 4).
Further, an invention has been proposed in which a density histogram of an entire page of an image is generated and background detection is performed from information such as the maximum frequency and the second highest frequency in the density histogram (see Patent Document 5).

画像データのプリント処理を制御する発明として、ページ記述言語によって記述されたデータファイルに含まれる属性情報により処理時間を予想してプリント動作の開始タイミングを制御する発明が提案されている(特許文献6参照。)。
また、画像データを予備圧縮して圧縮後のデータ量を得て、当該データ量に基づいて圧縮率と伸張処理時間との相関関係を利用して伸張処理時間を推定して出力を制御する発明が提案されている(特許文献7参照。)。
特開平11―167627号公報 特開2001―247990号公報 特開平5―268479号公報 特開2000―059614号公報 特開2004―064532号公報 特開平10―058798号公報 特開平10―023271号公報
As an invention for controlling print processing of image data, an invention has been proposed in which processing time is predicted based on attribute information included in a data file described in a page description language to control the start timing of a printing operation (Patent Document 6). reference.).
Further, the present invention preliminarily compresses image data to obtain a compressed data amount, and based on the data amount, uses the correlation between the compression rate and the expansion processing time to estimate the expansion processing time and control the output. Has been proposed (see Patent Document 7).
Japanese Patent Laid-Open No. 11-167627 JP 2001-247990 A JP-A-5-268479 JP 2000-059614 A JP 2004-066452 A Japanese Patent Laid-Open No. 10-058798 JP-A-10-023271

図7に例示したように、画像データをプリント出力するためには多様な種類の画像処理を施すが、画像データ中の素材の特性に応じて必要な処理と必要でない処理とがある。
また、プリント画像の画質向上等の要請から、素材の特性に応じて新たに必要となる処理が発生する場合がある。
As illustrated in FIG. 7, various types of image processing are performed in order to print out image data, and there are necessary processing and processing that is not necessary depending on the characteristics of the material in the image data.
In addition, due to a request for improving the image quality of a printed image, a newly required process may occur depending on the characteristics of the material.

このような事情に対して、画像データ中の素材の特性に応じて必要な処理を組み合わせた工程(処理パス)をハードウエア構成で複数用意することが考えられる。例えば図6(b)に示すように、ハードウエア構成の処理パスA、Bを用意しておき、画像データをこれら処理パスA、Bで並列して画像処理し、判別処理によって判別された特性により、いずれかの処理パスの処理結果を選択(MPX)して出力することが考えられる。   For such a situation, it is conceivable to prepare a plurality of processes (processing paths) that combine necessary processes according to the characteristics of the material in the image data with a hardware configuration. For example, as shown in FIG. 6B, processing paths A and B having a hardware configuration are prepared, and image data is subjected to image processing in parallel through these processing paths A and B, and the characteristics determined by the determination process. Thus, it is conceivable to select (MPX) and output the processing result of one of the processing paths.

しかしながら、このような方法によると、結果的に出力されない不必要な処理パスでの処理を行うこととなって無駄が生じるという課題があった。また、ハードウエア構成であることから新たな処理パスを加えることが困難であり、ユーザの要求に柔軟に対応することができないという課題があった。
また、前者の課題は、画像処理システムをソフトウエア構成する場合には特に重大であり、不必要な処理パスを並列実行するためにプロセッサの処理負担が増大して、結果として処理速度が著しく低下してしまうという課題も招いていた。
However, according to such a method, there is a problem that processing is performed in an unnecessary processing path that is not output as a result, resulting in waste. In addition, since it has a hardware configuration, it is difficult to add a new processing path, and there is a problem in that it cannot respond flexibly to user requests.
In addition, the former problem is particularly serious when the image processing system is configured by software, and the processing load of the processor increases because unnecessary processing paths are executed in parallel, resulting in a significant decrease in processing speed. The problem of doing it was also invited.

また、特性の判別においてヒストグラムを用いる方法があり、判別処理の速度化を図るために、例えば、画像データから得た256階調の明度値を16階調毎にまとめてデータ量を抑えて明度ヒストグラムを作成して判別するという方法が考えられる。
しかしながら、この方法によると、データ量を抑えたことで判別処理を高速に行うことはできるものの、一律に階調度を粗くしてしまうためにヒストグラムの特徴が失われて正しい判別ができなくなるという課題があった。
In addition, there is a method of using a histogram for characteristic determination. For example, in order to speed up the determination process, for example, the lightness values of 256 gradations obtained from image data are gathered for every 16 gradations to reduce the data amount. A method of creating and determining a histogram is conceivable.
However, according to this method, although the discrimination processing can be performed at a high speed by suppressing the data amount, the gradation characteristics are uniformly roughened, so that the characteristics of the histogram are lost and correct discrimination cannot be performed. was there.

また、例えば、画像処理を施した画像データを他の処理装置へ出力して更に処理させる場合、画像処理の完了後に出力処理を行わせて画像処理と出力処理とを直列処理させてもよいが、それぞれを並列処理させたほうが効率的であり望ましい。
しかしながら、通常、画像処理よりも出力処理の方が速く、単純に並列処理させるだけでは出力処理が画像処理を追い越してしまい、途中で画像処理を待たなければならない事態が発生する。
そこで、画像処理と出力処理とを並行させつつ、如何にして出力を滞りなく行えるようにするかという課題があった。
Further, for example, when image data subjected to image processing is output to another processing device for further processing, the image processing and the output processing may be performed in series by performing the output processing after completion of the image processing. It is more efficient and desirable to process each of them in parallel.
However, output processing is usually faster than image processing, and simply performing parallel processing causes the output processing to overtake image processing, resulting in a situation where image processing must be waited on the way.
Thus, there has been a problem of how to perform output without delay while performing image processing and output processing in parallel.

本発明は、上記従来の事情に鑑みなされたもので、画像処理において不要な処理パスの実行を回避することを目的としている。
また、本発明は、プロセッサの無用な負担増大を招くことなく、画像処理をソフトウエア構成により実現することを可能にして、ユーザの要求に柔軟に対応できるようにすることを目的としている。
The present invention has been made in view of the above-described conventional circumstances, and an object thereof is to avoid execution of an unnecessary processing pass in image processing.
Another object of the present invention is to enable image processing to be realized by a software configuration without causing an unnecessary increase in the burden on the processor, and to flexibly respond to user requests.

また、特性の判別においてヒストグラムを用いる場合において、判別速度を向上させつつ、判別精度の向上を図ることを目的としている。
また、画像処理した画像データを後続の装置へ出力して処理させる場合において、画像処理と出力処理とを並行させつつ、途中で出力が滞ることなく出力処理を行えるようにすることを目的としている。
Another object of the present invention is to improve the discrimination accuracy while improving the discrimination speed when using a histogram in the discrimination of characteristics.
Another object of the present invention is to perform output processing without delaying output in the middle while performing image processing and output processing in parallel when outputting image processed image data to a subsequent apparatus. .

本発明は、画像データを所定の処理を施して出力する画像処理装置、当該画像処理装置により実施することができる画像処理方法、当該画像処理装置をソフトウエア構成するためにコンピュータが実行するプログラムとして実現される。   The present invention relates to an image processing apparatus that outputs image data after performing predetermined processing, an image processing method that can be performed by the image processing apparatus, and a program that is executed by a computer to configure the image processing apparatus as software. Realized.

本発明では、ブロック化手段が画像データを複数のブロックに区分し、特性判別手段がこれらブロックの特性を判別し、画像処理手段が各ブロックに特性に応じて予め設定された処理を施す。
したがって、画像データ中の素材の特性に応じた処理パスをブロック毎の単位で選択して実行することができる。
In the present invention, the block forming means divides the image data into a plurality of blocks, the characteristic determining means determines the characteristics of these blocks, and the image processing means applies a preset process to each block according to the characteristics.
Therefore, it is possible to select and execute a processing path corresponding to the characteristics of the material in the image data in units of blocks.

また、本発明では、ブロック化手段が画像データを複数のブロックに区分し、細分化手段が予め設定された条件に基づいて更に細分化するブロックを特定して当該ブロックを更に複数のブロックに細分化し、特性判別手段がブロック及び細分化ブロックの特性を判別して、画像処理手段がブロック及び細分化ブロックに特性に応じて予め設定された処理を施す。
したがって、ブロックを更に細分化することで、ブロック及び細分化ブロックの素材特性精度を高め、特性に応じた処理パスを選択して実行することができる。
Further, in the present invention, the blocking unit divides the image data into a plurality of blocks, and the subdividing unit specifies a block to be further subdivided based on a preset condition, and further subdivides the block into a plurality of blocks. Then, the characteristic discriminating unit discriminates the characteristics of the block and the subdivided block, and the image processing unit applies a preset process to the block and the subdivided block according to the characteristic.
Therefore, by further subdividing the blocks, the material characteristic accuracy of the blocks and the subdivided blocks can be improved, and a processing path corresponding to the characteristics can be selected and executed.

ここで、特性はヒストグラムを用いて判別することができ、特に、ブロックの特性はブロック画像の明度ヒストグラムに基づいて判別し、細分化ブロックの特性は更に細分化ブロック画像の彩度ヒストグラムに基づいて判別することが好ましい。
すなわち、背景下地は明度ヒストグラムのハイライト部に1つのピークがあるという特徴を利用して背景下地ブロックを判別でき、その他のブロックについては更に細分化して明度ヒストグラム及び彩度ヒストグラムを用いて黒文字、色文字、カラー写真、白黒写真等の他の特性を判別できる。
Here, characteristics can be determined using a histogram. In particular, block characteristics are determined based on a brightness histogram of a block image, and subdivided block characteristics are further determined based on a saturation histogram of a subdivided block image. It is preferable to discriminate.
That is, the background background block can be determined using the feature that there is one peak in the highlight portion of the lightness histogram, and the other background blocks are further subdivided into black characters using the lightness histogram and saturation histogram, Other characteristics such as color letters, color photographs, black and white photographs can be distinguished.

このとき、ブロック又は細分化ブロックの画像データを量子化する階調度を少なくとも部分的に粗くした階調度パターンを素材特性毎に予め用意しておき、画像データの処理のために指定された素材特性に応じた階調度パターンを用いて、ブロック又は細分化ブロックに含まれる画素値に基づいて明度ヒストグラム及び彩度ヒストグラムを作成することが好ましい。
すなわち、優先して画像処理させる素材特性に応じて量子化幅を変えて、その素材特性の判別に適したヒストグラムを作成して判別に用いることにより、該当するブロック又は細分化ブロックを容易に判別して適切な画像処理を施すことができ、また、ヒストグラムのデータ量を減らしたため判別処理を高速に行うことができる。
At this time, a gradation pattern having at least a partially rough gradation to quantize the image data of the block or subdivided block is prepared in advance for each material characteristic, and the material characteristic designated for processing the image data is prepared. It is preferable to create a lightness histogram and a saturation histogram based on pixel values included in a block or a subdivided block using a gradation pattern according to the above.
In other words, by changing the quantization width according to the material characteristics to be preferentially image processed, creating a histogram suitable for determining the material characteristics and using it for the determination makes it easy to determine the corresponding block or subdivided block Thus, appropriate image processing can be performed, and the amount of data in the histogram is reduced, so that discrimination processing can be performed at high speed.

また、本発明は、画像処理を施した1フレーム分の画像データを出力する出力手段を有しており、1フレーム分の画像データ中の画像処理を施した部分のデータ量に基づいて出力に要する時間を算出し、判別した特性を用いて、当該画像データ中の画像処理を未だ施していない部分のデータ量に基づいて処理終了までの時間を算出し、出力に要する時間と処理終了までの時間とを比較して、出力に要する時間が処理終了までの時間を上回るときに出力手段により1フレーム分の画像データの出力を開始させる。
すなわち、画像処理と出力処理とを並行して行う場合において、出力処理が画像処理を追い越すことのないタイミングで出力処理を開始させるため、出力を滞りなく行うことができる。
The present invention also has an output means for outputting image data for one frame subjected to image processing, and outputs based on the data amount of the portion subjected to image processing in the image data for one frame. Calculate the time required and calculate the time until the end of processing based on the data amount of the portion of the image data that has not yet undergone image processing using the determined characteristics. Compared with the time, when the time required for output exceeds the time until the end of processing, the output means starts outputting image data for one frame.
That is, when the image processing and the output processing are performed in parallel, the output processing is started at a timing at which the output processing does not overtake the image processing, so that the output can be performed without delay.

本発明によると、画像データ中の素材特性に応じた処理パスをブロック単位で選択して画像処理を実行することができるため、画像処理において不要な処理パスの実行を回避することができる。すなわち、図6(b)に示すように、画像データを処理パスA、Bで並列して画像処理して、判別処理によって判別された特性によりいずれかの処理パスの処理結果を選択して出力する構成に対して、本発明では、同図(a)に示すように、判別処理によって判別された特性により処理パスA、Bのいずれかを選択して実行させ、最適な処理パスにより処理結果を出力することができる。
また、本発明は、必要な処理パスを選択して処理を実行するため、プロセッサの無用な負担増大を招くことなく、画像処理をソフトウエア構成により実現することができ、ユーザの要求に柔軟に対応することができる。
According to the present invention, it is possible to select a processing path corresponding to the material characteristic in the image data and execute the image processing in units of blocks. Therefore, it is possible to avoid execution of an unnecessary processing path in the image processing. That is, as shown in FIG. 6B, image data is processed in parallel through processing paths A and B, and the processing result of one of the processing paths is selected and output according to the characteristics determined by the determination processing. In the present invention, as shown in FIG. 5A, in the present invention, either processing path A or B is selected and executed according to the characteristic determined by the determination process, and the processing result is obtained by the optimum processing path. Can be output.
In addition, since the present invention selects a necessary processing path and executes the processing, image processing can be realized by a software configuration without causing an unnecessary increase in the burden on the processor, and flexibly responding to user requests. Can respond.

また、本発明は、優先して画像処理させる素材特性に応じて、その特性の判別に適したパターンの量子化を施して階調度数を減じたヒストグラムを作成して判別に用いるため、該当するブロック及び細分化ブロックを容易に判別して必要な画像処理を施すことができ、また、ヒストグラムのデータ量を減じたため判別速度が向上する。   Further, according to the present invention, according to material characteristics to be preferentially image-processed, a pattern suitable for discrimination of the characteristics is quantized and a histogram with reduced gradation frequency is created and used for discrimination. Blocks and subdivided blocks can be easily discriminated and necessary image processing can be performed, and the amount of data in the histogram is reduced, so that the discrimination speed is improved.

また、本発明は、画像処理と出力処理とを並行させるにあたり、画像処理の終了までの時間と出力に要する時間とを予測して、画像処理を追い越すことのないタイミングで出力処理を開始させるため、出力処理を滞りなく行え、出力先の装置は途切れることなくデータを受け取ることができる。   Further, the present invention predicts the time until the end of the image processing and the time required for the output in parallel with the image processing and the output processing, and starts the output processing at a timing that does not overtake the image processing. The output process can be performed without delay, and the output destination apparatus can receive data without interruption.

以下、本発明を実施例に基づいて具体的に説明する。
図1には本発明の一例に係る画像処理装置1の主要な機能構成を示してあり、この画像処理装置1は複写機の画像処理システムとして備えられている。
Hereinafter, the present invention will be specifically described based on examples.
FIG. 1 shows a main functional configuration of an image processing apparatus 1 according to an example of the present invention. The image processing apparatus 1 is provided as an image processing system of a copying machine.

画像処理装置1は、スキャナ読み取り等で得られた文書の画像データが入力される入力手段2、画像データを複数のブロック(例えば6×6mm)に区分するブロック化手段3、区分された各ブロックの特性を判別する第1の特性判別手段4、予め設定された条件(例えば、画像の下地特性のブロックは細分化しない)に基づいて更に細分化するブロックを特定して当該ブロックを更に複数のブロック(例えば3×3mm)に細分化する細分化手段5、細分化ブロックの特性を判別する第2の特性判別手段6、ブロックの特性及び細分化ブロックの特性に応じて画像データの対応するブロック及び細分化ブロックに予め設定された処理パスにより画像処理を施す画像処理手段7、画像処理された画像データを印刷データとして出力する出力手段8を備えている。   The image processing apparatus 1 includes an input unit 2 to which image data of a document obtained by scanner reading or the like is input, a blocking unit 3 for dividing the image data into a plurality of blocks (for example, 6 × 6 mm), and each divided block First characteristic discriminating means 4 for discriminating the characteristics of the image, specifying a block to be further subdivided based on a preset condition (for example, a block having a background characteristic of the image is not subdivided), Subdividing means 5 for subdividing into blocks (for example, 3 × 3 mm), second characteristic discriminating means 6 for discriminating the characteristics of the subdivided blocks, blocks corresponding to the image data according to the characteristics of the blocks and the characteristics of the subdivided blocks And image processing means 7 for performing image processing in a processing path set in advance for the subdivided blocks, and output means for outputting image processed image data as print data 8 is provided.

上記各機能手段3〜7は、それぞれハードウエア構成で実現するようにしてもよいが、本例では、画像処理装置1のコンピュータハードウエアにより本発明に係るプログラムを実行することにより構成されている。
なお、第1の特性判別手段4と第2の特性判別手段6とは同じ機能手段を兼用することで構成してもよい。
Each of the functional units 3 to 7 may be realized by a hardware configuration. In this example, the functional units 3 to 7 are configured by executing the program according to the present invention by the computer hardware of the image processing apparatus 1. .
The first characteristic discriminating means 4 and the second characteristic discriminating means 6 may be configured by using the same function means.

第1の特性判別手段4及び第2の特性判別手段6で判別された特性に応じて、特性画像処理手段8が対応するブロック及び細分化ブロックに対して処理パスを選択する処理を、図2を参照して説明する。
なお、図2には、説明を簡明にするため、入力された画像データ10をブロック化して、各ブロックに対する処理パスを選択する場合を例示してあるが、細分化ブロックについても同様である。
A process in which the characteristic image processing means 8 selects a processing path for the corresponding block and subdivided block according to the characteristics determined by the first characteristic determining means 4 and the second characteristic determining means 6 is shown in FIG. Will be described with reference to FIG.
2 exemplifies a case where the input image data 10 is divided into blocks and a processing path for each block is selected for the sake of simplicity, the same applies to the subdivided blocks.

ブロック化手段3(細分化手段5)によりマトリックス状の複数ブロックに区分された画像データ10に対して、第1の特性判別手段4(第2の特性判別手段6)が各ブロック11(細分化ブロック)の画像特性を判別し、画像処理手段7が、例えば予め設定された対応テーブル12に基づいて、画像データ中の対応するブロック(細分化ブロック)に対して画像処理を行う処理パスを選択して実行する。
例えば、画像特性Aと判別されたブロック11はENL+TRC+YYYといった各処理工程からなる処理パスで画像処理され、画像特性Bと判別されたブロック11はENL+色変換+XXX+YYYといった各処理工程からなる処理パスで画像処理され、画像特性A+Bと判別されたブロック11はゴースト補正+YYYといった各処理工程からなる処理パスで画像処理される。
The first characteristic discriminating means 4 (second characteristic discriminating means 6) applies each block 11 (subdivided) to the image data 10 divided into a plurality of blocks in a matrix form by the blocking means 3 (subdividing means 5). The image processing means 7 selects a processing path for performing image processing on a corresponding block (subdivided block) in the image data based on, for example, a preset correspondence table 12. And run.
For example, the block 11 determined as the image characteristic A is subjected to image processing in a processing pass including each processing step such as ENL + TRC + YYY, and the block 11 determined as the image characteristic B is processed through a processing pass including each processing step such as ENL + color conversion + XXX + YYY. The block 11 that has been processed and determined to have the image characteristic A + B is subjected to image processing in a processing pass including each processing step such as ghost correction + YYY.

次に、第1の特性判別手段4及び第2の特性判別手段6で行う画像特性の判別処理を、図3を参照して説明する。
図3はブロック(細分化ブロック)の画像が含む素材に応じた明度(L)のヒストグラムと彩度(a、b)のヒストグラムを示しており、同図(a)は黒文字、(b)は色文字、(c)はカラー写真画像、(d)は白黒写真画像、(e)は背景下地である。
Next, image characteristic determination processing performed by the first characteristic determination unit 4 and the second characteristic determination unit 6 will be described with reference to FIG.
FIG. 3 shows a histogram of lightness (L) and a histogram of saturation (a, b) according to the material included in the image of the block (subdivided block), where FIG. Color characters, (c) is a color photographic image, (d) is a black and white photographic image, and (e) is a background background.

本例のヒストグラムは、例えば、256階調の階調度で画素値(明度値又は彩度値)を量子化して横軸に、各画素値に対応する画素数を縦軸にとっており、画像ブロック中の画素値の階調度毎の分布を示している。
ここで、本例では、明度(L)のヒストグラムは画素値が小さいほど明るく、大きいほど暗いことを示しており、彩度(a)のヒストグラムは画素値の中心は色味のないグレーを示し、マイナス方向に向かって緑色が濃く、プラス方向に向かって赤色が濃くなることを示しており、彩度(b)のヒストグラムは画素値の中心は色味のないグレーを示し、マイナス方向に向かって青色が濃く、プラス方向に向かって黄色が濃くなることを示している。
また、本例のように縦軸で画素数を表すかわりに、例えば、縦軸で出現割合を表す等、他の方法でヒストグラム化して用いてもよい。
In the histogram of this example, pixel values (brightness values or saturation values) are quantized with a gradation of 256 gradations, for example, the horizontal axis and the number of pixels corresponding to each pixel value on the vertical axis, The distribution of each pixel value for each gradation is shown.
Here, in this example, the lightness (L) histogram indicates that the smaller the pixel value is, the brighter the pixel value is, and the larger the pixel value is, the darker the pixel value is. This indicates that the green color is darker in the negative direction and the red color is darker in the positive direction. The saturation (b) histogram shows that the center of the pixel value is gray with no color, and goes in the negative direction. The blue color is dark, and the yellow color increases toward the positive direction.
Further, instead of representing the number of pixels on the vertical axis as in the present example, for example, the appearance ratio may be represented on the vertical axis and may be used in the form of a histogram.

各ブロック(細分化ブロック)は画像素材に応じて異なるヒストグラム特性を示し、例えば、黒文字を含む画像ブロック(a)はハイライトと高濃度にピークのある明度ヒストグラム及び中央に1つピークがある彩度ヒストグラムとなり、色文字を含む画像ブロック(b)はハイライトと高濃度にピークのある明度ヒストグラム及び中央と中央からずれた位置に2つピークがある彩度ヒストグラムとなり、カラー写真画像を含む画像ブロック(c)はなだらかでピークが不定な明度ヒストグラム及びなだらかでピークが不定な彩度ヒストグラムとなり、白黒写真画像を含む画像ブロック(d)はなだらかでピークが不定な明度ヒストグラム及び中央に1つのピークがある彩度ヒストグラムとなり、背景下地を含む画像ブロック(e)はハイライトに1つのピークがある明度ヒストグラム及び中央に1つのピークがある彩度ヒストグラムとなる。   Each block (subdivided block) exhibits different histogram characteristics depending on the image material. For example, an image block (a) containing black characters has a lightness histogram with a peak in highlight and high density and a color with one peak in the center. An image block (b) including a color character is a brightness histogram having a highlight and a peak in high density, and a saturation histogram having two peaks at positions shifted from the center and the center, and an image including a color photographic image. The block (c) has a lightness histogram with a gentle and undefined peak and a saturation histogram with a gentle and unsteady peak, and the image block (d) containing a black-and-white photo image has a lightness histogram with a gentle and undefined peak and one peak in the center. Is a saturation histogram, and the image block (e) including the background background is highlighted. One peak the saturation histogram in brightness histogram and the center there is one peak in bets.

したがって、第1の特性判別手段4及び第2の特性判別手段6は、上記のようなヒストグラム特性によって、ブロック及び細分化ブロックの画像特性を判別することができる。
そして、画像処理手段7は、これら判別された画像特性に応じて、図2に示したように対応するブロック及び細分化ブロックに対して画像処理を行う処理パスを選択して実行する。
Therefore, the first characteristic discriminating means 4 and the second characteristic discriminating means 6 can discriminate the image characteristics of blocks and subdivided blocks based on the histogram characteristics as described above.
Then, the image processing means 7 selects and executes a processing path for performing image processing on the corresponding block and subdivided block as shown in FIG. 2 according to the determined image characteristics.

図4には、本例に係る画像処理装置を処理パスの内容をより具体的にして示してある。なお、説明を簡明にするため、ブロック化及び細分化に関する説明は省略する。
図4に示す例では、画像特性として、「カラー写真」、「カラー文字及び周辺下地」、「カラー下地」、「白黒写真」、「白黒文字及び周辺下地」、「白黒下地」が設定されており、これら特性に応じて異なる処理工程を含む処理パスがそれぞれ予め設定されている。すなわち、画像特性に適した処理パスが予め設定されている。
FIG. 4 shows the details of the processing path of the image processing apparatus according to this example in more detail. For the sake of brevity, explanations regarding blocking and subdivision will be omitted.
In the example shown in FIG. 4, “color photograph”, “color character and surrounding background”, “color background”, “black and white photograph”, “monochrome character and surrounding background”, and “monochrome background” are set as image characteristics. A processing path including different processing steps according to these characteristics is set in advance. That is, a processing path suitable for image characteristics is set in advance.

例えば、画像特性「カラー写真」には、「下地除去」「デジタルフィルタ」「後段色補正」「階調補正」「スクリーン生成」の処理を順次行う処理パスが設定されている。
また、画像特性「カラー文字及び周辺下地」には、「下地除去」「エッジ抽出」「デジタルフィルタ」「後段色補正」「階調補正」「スクリーン生成」の処理を順次行う処理パスが設定されている。
また、画像特性「カラー下地」には、「下地除去」「後段色補正」「階調補正」「スクリーン生成」の処理を順次行う処理パスが設定されている。
For example, for the image characteristic “color photograph”, a processing path for sequentially performing the processes of “background removal”, “digital filter”, “following color correction”, “tone correction”, and “screen generation” is set.
In addition, a processing path is set for the image characteristics “color character and surrounding background”, which sequentially performs the processes of “background removal”, “edge extraction”, “digital filter”, “following color correction”, “gradation correction”, and “screen generation”. ing.
In addition, a processing path for sequentially performing the processes of “background removal”, “rear color correction”, “tone correction”, and “screen generation” is set for the image characteristic “color background”.

また、画像特性「白黒写真」には、「下地除去」「デジタルフィルタ」「階調補正」「スクリーン生成」の処理を順次行う処理パスが設定されている。
また、画像特性「白黒文字及び周辺下地」には、「下地除去」「エッジ抽出」「デジタルフィルタ」「階調補正」「スクリーン生成」の処理を順次行う処理パスが設定されている。
また、画像特性「白黒下地」には、「下地除去」「階調補正」「スクリーン生成」の処理を順次行う処理パスが設定されている。
In addition, a processing path for sequentially performing “background removal”, “digital filter”, “gradation correction”, and “screen generation” processing is set for the image characteristic “monochrome photograph”.
Further, for the image characteristic “monochrome character and peripheral background”, a processing path for sequentially performing the processes of “background removal”, “edge extraction”, “digital filter”, “tone correction”, and “screen generation” is set.
In addition, a processing path for sequentially performing “background removal”, “gradation correction”, and “screen generation” processing is set for the image characteristic “monochrome background”.

したがって、特性判別手段4(6)によってブロック毎の画像特性が判別された画像データは、画像処理手段7において、各ブロック毎に予め設定された処理パスが選択されて画像処理が実行され、印刷データとして出力される。   Therefore, the image data whose image characteristics for each block has been determined by the characteristic determination means 4 (6) is subjected to image processing by the image processing means 7 by selecting a processing path set in advance for each block and printing. Output as data.

図5には、本例に係る画像処理装置に係るブロックの細分化の内容をより具体的にして示してある。
なお、図示の例では、ブロックのサイズをX×Y、X’×Y’、X”×Y”(X>X’>X”、Y>Y’>Y”)の3種類として、ブロックを2段階に細分化するようにしているが、細分化を採用するか否か、細分化を行い場合の段階数は任意に設定すればよい。
FIG. 5 shows the details of the block subdivision according to the image processing apparatus according to this example more specifically.
In the example shown in the figure, the block size is set to three types of X × Y, X ′ × Y ′, and X ″ × Y ″ (X> X ′> X ″, Y> Y ′> Y ″). Although subdivision is performed in two stages, whether or not subdivision is adopted and the number of stages in subdivision may be set arbitrarily.

まず、例えば図5(b)に示すように、白黒下地の紙面20に、白黒文字の記述21、白黒写真22、カラー写真23、カラー文字の記述24、白黒文字の記述25を含む画像データが入力されると、同図(a)に示すような手順で処理が実行される。
ブロック化手段3が入力された画像データをX×Yのブロックに区分し(ステップS1)、特性判別手段4が各ブロックの画像特性を判別する(ステップS2)。この結果、「白黒又はカラーの下地」と判別されたブロックについては、当該特性が画像処理手段7に通知されてそれぞれ所定の処理パスにより画像処理される(ステップS7)。
First, as shown in FIG. 5B, for example, image data including a black and white character description 21, a black and white photo 22, a color photo 23, a color character description 24, and a black and white character description 25 are provided on a black and white background paper 20. When input, the process is executed according to the procedure shown in FIG.
The image data input by the blocking unit 3 is divided into X × Y blocks (step S1), and the characteristic determining unit 4 determines the image characteristics of each block (step S2). As a result, for the block determined as “monochrome or color background”, the characteristics are notified to the image processing means 7 and each is subjected to image processing through a predetermined processing path (step S7).

一方、「白黒又はカラーの下地」以外の特性のブロックは、細分化手段5がX’×Y’のブロックに細分化して区分し(ステップS3)、特性判別手段6が各細分化ブロックの画像特性を判別する(ステップS4)。この結果、「白黒又はカラーの写真」と判別された細分化ブロックについては、当該特性が画像処理手段7に通知されてそれぞれ所定の処理パスにより画像処理される(ステップS7)。
また一方、「白黒又はカラーの写真」以外の特性のブロックは、細分化手段5がX”×Y”のブロックに更に細分化して区分し(ステップS5)、特性判別手段6が各細分化ブロックの画像特性を判別する(ステップS6)。この結果、「白黒又はカラーの文字」と判別された細分化ブロックについては、当該特性が画像処理手段7に通知されてそれぞれ所定の処理パスにより画像処理される(ステップS7)。
On the other hand, blocks with characteristics other than “monochrome or color background” are subdivided by the subdividing means 5 into X ′ × Y ′ blocks (step S 3), and the characteristic discriminating means 6 images the subdivided blocks. The characteristics are determined (step S4). As a result, for the subdivided blocks determined as “monochrome or color photographs”, the characteristics are notified to the image processing means 7 and are subjected to image processing by a predetermined processing path (step S7).
On the other hand, blocks with characteristics other than “monochrome or color photographs” are further subdivided into blocks of X ″ × Y ″ by the subdivision means 5 (step S5), and the characteristic discrimination means 6 is divided into subdivision blocks. Is determined (step S6). As a result, for the subdivided blocks determined as “monochrome or color characters”, the characteristics are notified to the image processing means 7 and each is subjected to image processing through a predetermined processing path (step S7).

図8には、本例の特性判別手段4(6)をより詳細に示してある。
特性判別手段4(6)は、特性の判別に用いる各素材特性毎のヒストグラムを保持するヒストグラムテーブル21、ブロック又は細分化ブロックから各画素の画素値を抽出する画素値抽出手段22、抽出した画素値に基づいてヒストグラムを作成するヒストグラム作成手段23、作成したヒストグラムに基づいてヒストグラムテーブル21を参照してブロック又は細分化ブロックの特性を判別するマッチング手段24を備えている。
FIG. 8 shows the characteristic discriminating means 4 (6) of this example in more detail.
The characteristic determination unit 4 (6) includes a histogram table 21 that holds a histogram for each material characteristic used for characteristic determination, a pixel value extraction unit 22 that extracts a pixel value of each pixel from a block or a subdivided block, and an extracted pixel Histogram creation means 23 for creating a histogram based on the value, and matching means 24 for discriminating the characteristics of the block or subdivided block with reference to the histogram table 21 based on the created histogram are provided.

本例の画像処理装置は、画質を優先させる素材特性の指定をユーザから受け付けており、例えば、「文字」「写真」「文字/写真混在」等が指定される。なお、この素材特性は上記ユーザ指定に限らず、例えば、他の装置が画像データに基づいて予め判別したものを用いてもよい。   The image processing apparatus of this example accepts designation of material characteristics that prioritize image quality from the user. For example, “character”, “photo”, “character / photo mixed”, and the like are designated. The material characteristic is not limited to the user designation, and for example, a material characteristic previously determined by another device based on image data may be used.

ヒストグラム作成手段23は、量子化する階調度を少なくとも部分的に粗くした階調度パターンを各素材特性毎に予め用意しており、指定された素材特性に応じた階調度パターンを用いてブロック又は細分化ブロックのヒストグラムを作成する。
また、ヒストグラムテーブル21は、図3に示したような各素材特性毎の典型的なヒストグラムについて階調度パターンを適用して、ブロック又は細分化ブロックのヒストグラムと同じ量子化幅とした参照用ヒストグラムを保持しており、上記作成したブロック又は細分化ブロックのヒストグラムとの比較を容易に行えるようにしている。
The histogram creating means 23 prepares a gradation pattern in which the gradation to be quantized is at least partially rough for each material characteristic in advance, and blocks or subdivisions are made using the gradation pattern according to the designated material characteristic. Create a histogram of the block.
In addition, the histogram table 21 applies a gradation pattern to a typical histogram for each material characteristic as shown in FIG. 3 to obtain a reference histogram having the same quantization width as that of a histogram of a block or a subdivided block. It is possible to easily compare with the histogram of the created block or subdivided block.

階調度パターンは、後述するように、素材特性のヒストグラムの判別に適した量子化を施すように設定されており、これを適用して作成したヒストグラムを用いて判別することで、該当するブロック又は細分化ブロックの判別が容易になる。
すなわち、例えば、優先させる素材特性として「文字」が指定されているときは、文字と写真との混在ブロックのヒストグラムは文字の特徴部分を強調したヒストグラムとなり、「文字」特性と判別されて「文字」の処理パスに基づいて画像処理が行われるため、「文字」に適した画像処理が施され、プリント出力される画像を文字が鮮明なものとすることができる。
As will be described later, the gradation pattern is set to perform quantization suitable for the determination of the histogram of the material characteristics, and by determining using the histogram created by applying this, the corresponding block or Discrimination of subdivided blocks becomes easy.
That is, for example, when “character” is designated as the material property to be prioritized, the histogram of the mixed block of characters and photos is a histogram that emphasizes the character feature, and is identified as the “character” property. Since the image processing is performed based on the processing path “”, the image processing suitable for “character” is performed, and the image printed out can be made clear.

この階調度パターンを用いたヒストグラムの作成について、図9を用いて説明する。
図9(A)には「文字」の明度ヒストグラムの一例を示してある。この明度ヒストグラムは、横軸をa〜yで区切って示してあるように一定の量子化幅となっており、この量子化数が256階調(8bits)となっている。
Creation of a histogram using the gradation pattern will be described with reference to FIG.
FIG. 9A shows an example of the brightness histogram of “character”. This lightness histogram has a constant quantization width as shown by dividing the horizontal axis by a to y, and the quantization number is 256 gradations (8 bits).

ここで、「文字」の明度ヒストグラムは、図3(a)又は(b)に示したように、ハイライト部(低濃度部)に比較的大きなピークを示すと共に、高濃度部のいずれかの位置に比較的小さなピークを示すという特徴を有する。
そこで、「文字」特性判別用の明度ヒストグラムの階調度パターンは、図9(B)に示すように、低濃度部はピーク形状が判るように比較的細かな量子化幅(a〜g:上記図9(A)の量子化幅)とし、高濃度部はいずれかの位置に1つのピークが現れることが判ればよいので比較的粗い量子化幅(z:上記図9(A)のh〜yを1つにまとめた量子化幅)とするように設定して、上記ヒストグラムの特徴を保持しつつヒストグラムのデータ量が圧縮されるようにしている。
Here, as shown in FIG. 3 (a) or (b), the brightness histogram of “character” shows a relatively large peak in the highlight part (low density part) and one of the high density part. It has the characteristic of showing a relatively small peak at the position.
Therefore, as shown in FIG. 9B, the gradation pattern of the brightness histogram for determining the “character” characteristic has a relatively fine quantization width (a to g: the above) so that the peak shape can be seen in the low density portion. 9 (A), and it is only necessary to know that one peak appears at any position in the high concentration portion, so that a relatively coarse quantization width (z: h in FIG. 9A) y is set to be one quantization width), and the histogram data amount is compressed while retaining the characteristics of the histogram.

この階調度パターンを図9(A)に適用することにより、同図(C)に示すように、同図(A)中のh〜y部分をz部分として1つの量子化幅にまとめた簡略化された明度ヒストグラムが作成され、同様に上記階調度パターンを適用して予め作成しておいたヒストグラムテーブル21に保持された参照用ヒストグラムと比較することにより、容易に「文字」特性を判別することができる。
また、同図(C)のヒストグラムは、量子化数がa〜g及びzの8つ、すなわち3bitsであるため、同図(A)に示した8bitsのヒストグラムと比較してデータ量が非常に少なく、判別処理の負担が軽減されて高速に判別を行うことができる。
By applying this gradation pattern to FIG. 9 (A), as shown in FIG. 9 (C), as shown in FIG. A lightness histogram is created, and similarly, the “character” characteristic is easily discriminated by comparing with the reference histogram stored in the histogram table 21 created in advance by applying the gradation pattern. be able to.
In addition, since the histogram of FIG. 8C has eight quantization numbers a to g and z, that is, 3 bits, the amount of data is much larger than that of the 8-bit histogram shown in FIG. There are few, and the burden of a discrimination | determination process is reduced and it can discriminate | determine at high speed.

また、例えば、「写真」特性の明度ヒストグラムは、図3(c)又は(d)に示すように、なだらかでピーク不足であるという特徴を有する。すなわち、「写真」特性の判別には、ピークの有無やピーク形状が判る必要がなく、明度値が適度に分散していることが判ればよいため、全体的に粗い量子化幅(例えば、明度値全体を等幅に8段階に分けた量子化幅)とした階調度パターンを用いればよい。この階調度パターンを適用することで、明度値の分散度合いが判りやすい簡略化された明度ヒストグラムが作成され、容易に「写真」特性を判別することができる。   Further, for example, the brightness histogram of the “photograph” characteristic has a characteristic that the peak is gentle and insufficient as shown in FIG. 3C or 3D. In other words, it is not necessary to know the presence or absence of peaks or the peak shape to determine the “photograph” characteristics, and it is only necessary to know that the lightness values are appropriately dispersed. It is sufficient to use a gradation pattern in which the entire value is divided into eight equal quantization widths). By applying this gradation pattern, a simplified lightness histogram in which the lightness distribution degree is easy to understand is created, and the “photograph” characteristic can be easily determined.

上記のように、階調度パターンは、判別のためにヒストグラムの形状が必要な部分については細かい量子化幅としてその形状を残し、形状まで必要ない部分については粗い量子化幅としてまとめるように設定すればよい。
すなわち、図3に示したような各素材特性毎の典型的なヒストグラムについて、上記階調度パターンをそれぞれ適用し、参照用ヒストグラムを作成してヒストグラムテーブル21に予め保持させておく。そして、ブロック又は細分化ブロックについて、画質優先するように指定された素材特性に応じた階調度パターンを適用してヒストグラムを作成する。これらのヒストグラムは、いずれも特徴部分を残して簡略化されているため、ブロック又は細分化ブロックのヒストグラムと参照用ヒストグラムとの比較が簡単なため、特性の判別を容易に行うことができる。
As described above, the gradation pattern is set to leave the shape as a fine quantization width for the part that requires the shape of the histogram for discrimination, and to collect the coarse quantization width for the part that does not need the shape. That's fine.
That is, the gradation pattern is applied to a typical histogram for each material characteristic as shown in FIG. 3 to create a reference histogram and hold it in the histogram table 21 in advance. Then, a histogram is created by applying a gradation pattern corresponding to the material characteristic designated to give priority to image quality for the block or subdivided block. Since these histograms are all simplified by leaving a characteristic portion, it is easy to compare the histogram of the block or subdivided block and the reference histogram, so that the characteristics can be easily discriminated.

なお、本例では、ヒストグラムテーブル21は各素材特性毎の典型的な参照用ヒストグラムを保持し、マッチング手段24はブロック又は細分化ブロックのヒストグラムを参照用ヒストグラムと比較して特性の判別を行っているが、例えば、ヒストグラムテーブル21に各素材特性毎のヒストグラムの特徴を示す条件式を保持させて、ブロック又は細分化ブロックのヒストグラムが条件を満たすか否かで特性を判別する等、他の方法で判別するようにしてもよい。   In this example, the histogram table 21 holds a typical reference histogram for each material characteristic, and the matching means 24 compares the histogram of the block or the subdivided block with the reference histogram to determine the characteristic. However, for example, by holding a conditional expression indicating the characteristics of the histogram for each material characteristic in the histogram table 21 and determining the characteristic depending on whether or not the histogram of the block or the subdivided block satisfies a condition, or the like, You may make it discriminate | determine by.

図10には、本発明に係る画像処理装置1の他の一例を示してあり、図1に例示した画像処理装置が備える各機能手段2〜8に加えて、1フレーム分の画像データのうちの未処理部分の処理に要する時間及び処理済部分の出力に要する時間を算出する処理終了推定手段31、出力に要する時間が処理に要する時間を上回るときに出力手段8による1フレーム分の画像データの出力を開始させる出力制御手段32を更に備え、出力手段8により出力される画像データは、例えば、画像形成装置による印刷処理、或いは他の画像処理装置による画像の拡大・縮小や別の画像との合成等の処理が施される。   FIG. 10 shows another example of the image processing apparatus 1 according to the present invention. In addition to the functional units 2 to 8 included in the image processing apparatus illustrated in FIG. Processing end estimation means 31 for calculating the time required for processing the unprocessed portion and the time required for outputting the processed portion, and image data for one frame by the output means 8 when the time required for output exceeds the time required for processing The image data output by the output unit 8 is, for example, print processing by the image forming apparatus, image enlargement / reduction by another image processing apparatus, or another image. Processing such as synthesis is performed.

上記各機能手段3〜7、31、32は、それぞれハードウエア構成で実現するようにしてもよいが、本例では、画像処理装置1のコンピュータハードウエアにより本発明に係るプログラムを実行することにより構成されている。
なお、本例のコンピュータハードウエアは複数のプロセッサを備えており、ブロック化手段3と細分化手段5と特性判別手段4(6)とを1つのプロセッサ、画像処理手段7を別のプロセッサ、処理終了推定手段31と出力制御手段32とを更に別のプロセッサに処理を振り分けて、並行処理させることで処理の高速化を図っているが、例えば、1つプロセッサを備えた複数のコンピュータハードウエアに各処理を振り分けて画像処理装置1を構成してもよい。
Each of the functional units 3 to 7, 31, and 32 may be realized by a hardware configuration. In this example, the computer hardware of the image processing apparatus 1 executes the program according to the present invention. It is configured.
The computer hardware of this example includes a plurality of processors, the blocking means 3, the subdividing means 5 and the characteristic discriminating means 4 (6) as one processor, the image processing means 7 as another processor, and the processing. The end estimation means 31 and the output control means 32 are further distributed to other processors and processed in parallel to speed up the processing. For example, the processing is speeded up by a plurality of computer hardware equipped with one processor. The image processing apparatus 1 may be configured by distributing each process.

本例の画像処理装置は、入力された1フレーム分の画像データをブロック(細分化ブロック)に分割して、特性判別手段4(6)による特性判別、及び画像処理手段7による画像処理をそれぞれのブロック(細分化ブロック)に対して順番に施している。
ここで、上記処理の途中の或る時点において、残りの特性判別及び画像処理を施すために必要な残処理時間をT2、特性判別及び画像処理を施したデータ部分の出力手段8による出力に要する出力時間をT1とする。
The image processing apparatus of this example divides input image data for one frame into blocks (subdivided blocks), and performs characteristic determination by the characteristic determination means 4 (6) and image processing by the image processing means 7 respectively. Are applied in turn to the blocks (subdivided blocks).
Here, at a certain point in the process, the remaining processing time required for performing the remaining characteristic determination and image processing is T2, and output by the output means 8 of the data portion subjected to the characteristic determination and image processing is required. The output time is T1.

図11には、1フレーム分の画像データについての処理の途中の状態を概念的に示している。画像データが入力された直後は画像データは全てが未処理であり、この未処理部分について処理を施すことで次第に処理済となり、処理済部分は出力手段8により出力される。すなわち、この未処理部分の特性判別及び画像処理に要する残処理時間がT2、処理済部分の出力に要する出力時間がT1である。   FIG. 11 conceptually shows a state in the middle of processing for image data for one frame. Immediately after the image data is input, all the image data is unprocessed. Processing is performed on the unprocessed portion, and the processed portion is gradually processed, and the processed portion is output by the output unit 8. That is, the remaining processing time required for characteristic determination and image processing of the unprocessed portion is T2, and the output time required for outputting the processed portion is T1.

処理終了推定手段31は、出力時間T1及び残処理時間T2を算出するために、画像処理手段7による処理の進行状況に応じて1フレーム分の画像データ中の処理済部分のデータ量d1を取得し、また、特性判別手段4(6)による判別結果に基づいて、未処理部分のうちの「下地」特性部分のデータ量d2b、「文字」特性部分のデータ量d2t、「写真」特性部分のデータ量d2p、その他の部分のデータ量d2eを取得する。   The processing end estimation unit 31 obtains the data amount d1 of the processed portion in the image data for one frame according to the progress of the processing by the image processing unit 7 in order to calculate the output time T1 and the remaining processing time T2. Further, based on the determination result by the characteristic determination means 4 (6), the data amount d2b of the “background” characteristic portion, the data amount d2t of the “character” characteristic portion, and the “photograph” characteristic portion of the unprocessed portion The data amount d2p and the data amount d2e of the other part are acquired.

また、処理終了推定手段31は、単位データ量の出力に要する出力時間係数t1、及び、図12に示すように単位データ量の画像処理に要する各特性毎の処理時間係数として、「下地」特性の処理時間係数t2b、「文字」特性の処理時間係数t2t、「写真」特性の処理時間係数t2p、その他の部分の処理時間係数t2eが、画像処理装置1の処理能力に応じて予め設定されており、出力時間T1=d1×t1、残処理時間T2=d2b×t2b+d2t×t2b+d2p×t2p+d2e×t2eとして算出する。   Further, the processing end estimation means 31 uses the “background” characteristic as the output time coefficient t1 required for outputting the unit data amount and the processing time coefficient for each characteristic required for the image processing of the unit data amount as shown in FIG. The processing time coefficient t2b, the processing time coefficient t2t of the “character” characteristic, the processing time coefficient t2p of the “photograph” characteristic, and the processing time coefficient t2e of the other part are set in advance according to the processing capability of the image processing apparatus 1. The output time T1 = d1 × t1 and the remaining processing time T2 = d2b × t2b + d2t × t2b + d2p × t2p + d2e × t2e.

そして、出力制御手段32が、出力時間T1と残処理時間T2とを比較して、出力時間T1≧残処理時間T2となったときに出力手段8により1フレーム分の画像データの出力を開始させる。   Then, the output control means 32 compares the output time T1 with the remaining processing time T2, and when the output time T1 ≧ residual processing time T2, the output means 8 starts outputting image data for one frame. .

この、画像データの出力を開始するタイミングについて、図13を用いて説明する。
画像処理が開始(41)すると、図中に楕円45で示した一定のタイミング毎に出力時間T1及び残処理時間T2を算出し、出力開始の条件、すなわちT1≧T2を満たすか否かを判定し、条件を満たしたときに1フレーム分の画像データの出力を開始する(42)。
このタイミングで出力を開始すると、画像処理の終了(43)と同時又は終了後に、出力処理が終了(44)する。すなわち、出力を開始した時点では未処理部分が残っているが、出力時間T1が経過した時点では、既に残処理時間T2が経過して1フレーム分の画像データが全て処理済となり、1フレーム分の画像データの出力を滞りなく行え、出力先の装置は途切れることなく画像データを受け取ることができる。
The timing for starting output of image data will be described with reference to FIG.
When the image processing starts (41), the output time T1 and the remaining processing time T2 are calculated at fixed timings indicated by an ellipse 45 in the figure, and it is determined whether or not the output start condition, that is, T1 ≧ T2 is satisfied. When the condition is satisfied, output of image data for one frame is started (42).
When the output is started at this timing, the output process ends (44) at the same time as or after the end of the image process (43). That is, an unprocessed portion remains at the time when output is started, but when the output time T1 has elapsed, the remaining processing time T2 has already elapsed and all the image data for one frame has been processed. The image data can be output without any delay, and the output destination apparatus can receive the image data without interruption.

図14には、出力制御の処理フローが示してある。
画像処理手段7による画像処理の開始に応じて、処理終了推定手段31が出力時間T1及び残処理時間T2を算出(ステップS21)する。そして、出力制御手段32がT1≧T2の条件を満たすか否かを判定する(ステップS22)。条件を満たしていない場合は一定時間待機し(ステップS23)、T1及びT2を算出し直して(ステップS21)、条件を満たすか再判定する(ステップS22)。T1≧T2の条件を満たす場合は、出力を開始しても滞りなく画像データを出力できるため、出力制御手段32は出力手段8により1フレーム分の画像データの出力を開始させる(ステップS24)。
FIG. 14 shows a processing flow of output control.
In response to the start of image processing by the image processing means 7, the processing end estimation means 31 calculates the output time T1 and the remaining processing time T2 (step S21). And it is determined whether the output control means 32 satisfy | fills the conditions of T1> = T2 (step S22). If the condition is not satisfied, the system waits for a certain time (step S23), recalculates T1 and T2 (step S21), and re-determines whether the condition is satisfied (step S22). If the condition of T1 ≧ T2 is satisfied, the image data can be output without delay even if the output is started, so the output control means 32 starts the output of the image data for one frame by the output means 8 (step S24).

本発明の一実施例に係る画像処理装置の構成図である。1 is a configuration diagram of an image processing apparatus according to an embodiment of the present invention. 本発明の一実施例に係るブロック特性に応じた処理選択を説明する図である。It is a figure explaining the process selection according to the block characteristic which concerns on one Example of this invention. 本発明の一実施例に係るブロック特性の判別処理を説明する図である。It is a figure explaining the discrimination process of the block characteristic which concerns on one Example of this invention. 本発明の一実施例に係る特性に応じた画像処理を説明する図である。It is a figure explaining the image processing according to the characteristic which concerns on one Example of this invention. 本発明の一実施例に係るブロックの細分化処理を説明する図である。It is a figure explaining the subdivision process of the block which concerns on one Example of this invention. 本発明と従来との相違を説明する概念図である。It is a conceptual diagram explaining the difference between this invention and the past. 画像処理システムの一例を説明する図である。It is a figure explaining an example of an image processing system. 本発明の一実施例に係る特性判別手段を説明する図である。It is a figure explaining the characteristic discrimination means based on one Example of this invention. 本発明の一実施例に係るヒストグラムの作成処理を説明する図である。It is a figure explaining the creation process of the histogram which concerns on one Example of this invention. 本発明の一実施例に係る画像処理装置を説明する図である。It is a figure explaining the image processing apparatus which concerns on one Example of this invention. 本発明の一実施例に係る画像データの処理状況を説明する図である。It is a figure explaining the processing condition of the image data which concerns on one Example of this invention. 本発明の一実施例に係る残処理時間の算出に用いる処理時間係数を示す図である。It is a figure which shows the processing time coefficient used for calculation of the remaining processing time which concerns on one Example of this invention. 本発明の一実施例に係る出力処理の開始タイミングを説明する図である。It is a figure explaining the start timing of the output process which concerns on one Example of this invention. 本発明の一実施例に係る出力制御の処理フローを説明する図である。It is a figure explaining the processing flow of the output control which concerns on one Example of this invention.

符号の説明Explanation of symbols

1:画像処理装置、 3:ブロック化手段、
4:特性判別手段、 5:細分化手段、
6:特性判別手段、 7:画像処理手段、
10:画像データ、 11:ブロック、
12:画像特性と処理パスとの対応表、
21:ヒストグラムテーブル、 22:画像抽出手段、
23:ヒストグラム作成手段、 24:マッチング手段、
31:処理終了推定手段、 32:出力制御手段、
1: image processing device, 3: blocking means,
4: characteristic discrimination means, 5: subdivision means,
6: characteristic discrimination means, 7: image processing means,
10: image data, 11: block,
12: Correspondence table between image characteristics and processing paths,
21: Histogram table, 22: Image extraction means,
23: Histogram creation means, 24: Matching means,
31: Processing end estimation means 32: Output control means,

Claims (8)

画像データを所定の処理を施して出力する画像処理装置において、
画像データを複数のブロックに区分するブロック化手段と、
前記ブロックの特性を判別する特性判別手段と、
前記ブロックに特性に応じて予め設定された処理を施す画像処理手段とを備え
前記特性判別手段は、
前記ブロックの画像データを量子化する階調度を少なくとも部分的に粗くした階調度パターンを、優先させる画質に応じてユーザが指定可能な素材特性毎に予め用意しておき、予め用意された階調度パターンのうちユーザにより指定された素材特性に対応した階調度パターンを用いて、前記ブロックに含まれる画素値に基づくヒストグラムを作成し、作成されたヒストグラムを用いて前記ブロックの特性を判別する、
ことを特徴とする画像処理装置。
In an image processing apparatus that outputs image data after performing predetermined processing,
Blocking means for dividing the image data into a plurality of blocks,
Characteristic discriminating means for discriminating the characteristics of the block;
Image processing means for performing a preset process on the block according to characteristics ,
The characteristic discrimination means includes
A gradation pattern in which the gradation level for quantizing the image data of the block is at least partially rough is prepared in advance for each material characteristic that can be specified by the user according to the priority image quality. Using a gradation pattern corresponding to the material characteristic specified by the user among the patterns, creating a histogram based on the pixel values included in the block, and determining the characteristic of the block using the created histogram;
An image processing apparatus.
請求項1に記載の画像処理装置において、The image processing apparatus according to claim 1.
ユーザが指定可能な素材特性として、少なくとも、文字を示す素材特性を有し、As a material property that can be specified by the user, it has at least a material property indicating a character,
文字に対応した階調度パターンは、低濃度部より高濃度部のほうが粗い量子化幅に設定されている、The gradation pattern corresponding to characters is set to a coarser quantization width in the high density part than in the low density part.
ことを特徴とする画像処理装置。An image processing apparatus.
請求項1に記載の画像処理装置において、The image processing apparatus according to claim 1.
ユーザが指定可能な素材特性として、少なくとも、文字を示す素材特性と写真を示す素材特性を有し、As a material property that can be specified by the user, it has at least a material property indicating characters and a material property indicating photographs.
文字に対応した階調度パターンは、低濃度部より高濃度部のほうが粗い量子化幅に設定され、The gradation pattern corresponding to characters is set to a coarser quantization width in the high density part than in the low density part,
写真に対応した階調度パターンは、文字に対応した階調度パターンにおける低濃度部の量子化幅より粗い量子化幅であって全体を等幅とした量子化幅に設定されている、The gradation pattern corresponding to the photo is set to a quantization width that is coarser than the quantization width of the low density portion in the gradation pattern corresponding to the character and is the same width as the whole.
ことを特徴とする画像処理装置。An image processing apparatus.
請求項1乃至請求項3のいずれか1項に記載の画像処理装置において、The image processing apparatus according to any one of claims 1 to 3,
各ブロックの特性の判別結果に基づいて、更に細分化するブロックを特定して当該ブロックを更に複数のブロックに細分化する細分化手段を備え、Based on the determination result of the characteristics of each block, it comprises a subdivision means for specifying a block to be further subdivided and further subdividing the block into a plurality of blocks,
前記特性判別手段は、予め用意された階調度パターンのうちユーザにより指定された素材特性に対応した階調度パターンを用いて、前記細分化ブロックに含まれる画素値に基づくヒストグラムを作成し、作成されたヒストグラムを用いて前記細分化ブロックの特性を判別し、The characteristic discriminating unit creates a histogram based on pixel values included in the subdivided block using a gradation pattern corresponding to a material characteristic designated by a user from among gradation patterns prepared in advance. Using the histogram to determine the characteristics of the subdivided blocks,
前記画像処理手段は、前記ブロック及び細分化ブロックに特性に応じて予め設定された処理を施す、The image processing means performs a preset process according to characteristics on the block and the subdivided block.
ことを特徴とする画像処理装置。An image processing apparatus.
請求項に記載の画像処理装置において、
前記特性判別手段は、ブロック画像の明度ヒストグラムに基づいて前記ブロックの特性を判別し、更に細分化ブロック画像の彩度ヒストグラムに基づいて前記細分化ブロックの特性を判別することを特徴とする画像処理装置。
The image processing apparatus according to claim 4 .
The characteristic determining means determines the characteristics of the block based on a brightness histogram of a block image, and further determines the characteristics of the subdivided block based on a saturation histogram of the subdivided block image. apparatus.
請求項乃至請求項のいずれか1項に記載の画像処理装置において、
前記処理を施した1フレーム分の画像データを出力する出力手段を有し、
1フレーム分の画像データ中の前記処理を施した部分のデータ量に基づいて、当該データ部分の出力に要する時間を算出し、前記画像データ中の前記処理を未だ施していない部分のデータ量及び前記判別した特性に基づいて、当該データ部分に対する処理が終了するまでの時間を算出する処理終了推定手段と、
前記出力に要する時間と処理終了までの時間とを比較して、出力に要する時間が処理終了までの時間を上回るときに、前記出力手段により1フレーム分の画像データの出力を開始させる出力制御手段とを、更に備えたことを特徴とする画像処理装置。
The image processing apparatus according to any one of claims 1 to 5,
Output means for outputting image data for one frame subjected to the processing;
Based on the data amount of the processing performed portion of the image data of one frame, and calculates the time required for output of the data portion, the data amount of the processing is not yet subjected portion in the image data and Processing end estimation means for calculating a time until processing for the data portion is ended based on the determined characteristics ;
By comparing the time until the processing ends and the time required for the output, when the time required for the output exceeds the time until the processing end, the output control means for starting the output of the image data of one frame by the output means And an image processing apparatus.
画像データを複数のブロックに区分して、各ブロックの特性を判別し、各ブロックに特性に応じて予め設定された処理を施して出力する方法において、In the method of dividing the image data into a plurality of blocks, determining the characteristics of each block, performing a process set in advance according to the characteristics of each block, and outputting it,
前記ブロックの画像データを量子化する階調度を少なくとも部分的に粗くした階調度パターンを、優先させる画質に応じてユーザが指定可能な素材特性毎に予め用意しておき、予め用意された階調度パターンのうちユーザにより指定された素材特性に対応した階調度パターンを用いて、前記ブロックに含まれる画素値に基づくヒストグラムを作成し、作成されたヒストグラムを用いて前記ブロックの特性を判別する、A gradation pattern in which the gradation level for quantizing the image data of the block is at least partially rough is prepared in advance for each material characteristic that can be specified by the user according to the priority image quality. Using a gradation pattern corresponding to the material characteristic specified by the user among the patterns, creating a histogram based on the pixel values included in the block, and determining the characteristic of the block using the created histogram;
ことを特徴とする画像処理方法。An image processing method.
画像データを所定の処理を施して出力するための処理機能をコンピュータに実現するプログラムであって、
画像データを複数のブロックに区分する機能と、
各ブロックの特性を判別する機能と、
各ブロックに特性に応じて予め設定された処理を施す機能とを、コンピュータに構成するプログラムであり、
前記ブロックの画像データを量子化する階調度を少なくとも部分的に粗くした階調度パターンを、優先させる画質に応じてユーザが指定可能な素材特性毎に予め用意しておき、予め用意された階調度パターンのうちユーザにより指定された素材特性に対応した階調度パターンを用いて、前記ブロックに含まれる画素値に基づくヒストグラムを作成し、作成されたヒストグラムを用いて前記ブロックの特性を判別する、
ことを特徴とするコンピュータプログラム。
A program that realizes a processing function in a computer for performing predetermined processing and outputting image data,
A function for dividing image data into a plurality of blocks;
A function to determine the characteristics of each block;
A program that configures a computer with a function for performing processing set in advance for each block according to characteristics ,
A gradation pattern in which the gradation level for quantizing the image data of the block is at least partially rough is prepared in advance for each material characteristic that can be specified by the user according to the priority image quality. Using a gradation pattern corresponding to the material characteristic specified by the user among the patterns, creating a histogram based on the pixel values included in the block, and determining the characteristic of the block using the created histogram;
A computer program characterized by the above.
JP2005257348A 2004-09-10 2005-09-06 Image processing method and image processing apparatus Expired - Fee Related JP4517987B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005257348A JP4517987B2 (en) 2004-09-10 2005-09-06 Image processing method and image processing apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2004263211 2004-09-10
JP2005257348A JP4517987B2 (en) 2004-09-10 2005-09-06 Image processing method and image processing apparatus

Publications (2)

Publication Number Publication Date
JP2006109424A JP2006109424A (en) 2006-04-20
JP4517987B2 true JP4517987B2 (en) 2010-08-04

Family

ID=36378555

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005257348A Expired - Fee Related JP4517987B2 (en) 2004-09-10 2005-09-06 Image processing method and image processing apparatus

Country Status (1)

Country Link
JP (1) JP4517987B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009107237A1 (en) * 2008-02-29 2009-09-03 グローリー株式会社 Biometrics device
JP5945487B2 (en) * 2012-09-27 2016-07-05 株式会社沖データ Image processing apparatus, program, and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08289107A (en) * 1994-10-28 1996-11-01 Seiko Epson Corp Device and method for storing image data to memory
JP2001238074A (en) * 2000-02-22 2001-08-31 Riso Kagaku Corp Method and device for discriminating picture attribute
JP2002101313A (en) * 2000-09-26 2002-04-05 Minolta Co Ltd Image processing unit, image processing method and computer-readable recording medium with image processing program recorded therein
JP2002218232A (en) * 2001-01-19 2002-08-02 Sharp Corp Image processor, image formation device provided with the same and image processing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08289107A (en) * 1994-10-28 1996-11-01 Seiko Epson Corp Device and method for storing image data to memory
JP2001238074A (en) * 2000-02-22 2001-08-31 Riso Kagaku Corp Method and device for discriminating picture attribute
JP2002101313A (en) * 2000-09-26 2002-04-05 Minolta Co Ltd Image processing unit, image processing method and computer-readable recording medium with image processing program recorded therein
JP2002218232A (en) * 2001-01-19 2002-08-02 Sharp Corp Image processor, image formation device provided with the same and image processing method

Also Published As

Publication number Publication date
JP2006109424A (en) 2006-04-20

Similar Documents

Publication Publication Date Title
US6014469A (en) System and method for selectively noise-filtering digital images
JP4197346B2 (en) Image processing apparatus, image processing method, image forming apparatus, image processing program, and recording medium
US7903872B2 (en) Image-processing apparatus and method, computer program, and storage medium
US9497353B2 (en) Image processing apparatus, image processing method, and image processing system
JP4498233B2 (en) Image processing apparatus and image processing method
CN106303150B (en) Image processing apparatus, control method for image processing apparatus, and storage medium
JP2006091980A (en) Image processor, image processing method and image processing program
JP2009038537A (en) Image processor, image formation device, image processing program, and recording medium for recording image processing program therein
JP6976824B2 (en) Image processing equipment, image processing methods, and programs
EP1065876A2 (en) Method and apparatus for printing a black-and-white image based on color image information
JP5106318B2 (en) Image processing apparatus, image forming apparatus, image storage method, and computer program
JP4517987B2 (en) Image processing method and image processing apparatus
JP4570534B2 (en) Image processing apparatus, image forming apparatus, image processing method, and computer program
US9788014B2 (en) Image processing device for reducing data size of object in image data based on target value
JPH10283470A (en) Image processor, image processing method and recording medium
JP6474315B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium therefor
JP4522978B2 (en) Image processing apparatus, image processing method, image forming apparatus, image processing program, and recording medium
JP2000032287A (en) Image processor and image processing method
JP2002359716A (en) Print system, print method, program and recording medium
JP4080252B2 (en) Image processing apparatus, image forming apparatus, image processing method, program, and recording medium
JP4169674B2 (en) Image processing apparatus, image processing program, and storage medium
JP2020069717A (en) Image processing device, image formation apparatus, image processing method, image processing program and recording medium
JP2009272925A (en) Image processing apparatus
JP2006011754A (en) Image processing device and image processing method
JP2022141319A (en) Image processing device, control method for the same, and program

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20070928

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20071024

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080821

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091221

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100105

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100301

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100510

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

Free format text: PAYMENT UNTIL: 20130528

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4517987

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140528

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees