JP4149368B2 - Image processing method, image processing apparatus and image forming apparatus, computer program, and computer-readable recording medium - Google Patents

Image processing method, image processing apparatus and image forming apparatus, computer program, and computer-readable recording medium Download PDF

Info

Publication number
JP4149368B2
JP4149368B2 JP2003412358A JP2003412358A JP4149368B2 JP 4149368 B2 JP4149368 B2 JP 4149368B2 JP 2003412358 A JP2003412358 A JP 2003412358A JP 2003412358 A JP2003412358 A JP 2003412358A JP 4149368 B2 JP4149368 B2 JP 4149368B2
Authority
JP
Japan
Prior art keywords
resolution
unit
input
halftone
image data
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
JP2003412358A
Other languages
Japanese (ja)
Other versions
JP2005175824A (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.)
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 JP2003412358A priority Critical patent/JP4149368B2/en
Publication of JP2005175824A publication Critical patent/JP2005175824A/en
Application granted granted Critical
Publication of JP4149368B2 publication Critical patent/JP4149368B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Description

本発明は、スキャナ、デジタルスチルカメラ等のカラー画像入力装置により読み取られた入力画像データの局所領域の情報を用いて画素が文字領域・網点領域などの複数の領域の何れに属するかを判定する領域分離処理を行い、この判定結果に基づいて後段の処理を切り替えることによって原稿画像の出力再現精度の向上を図った画像処理方法に関し、特に、このような画像処理方法を実施するための画像処理装置、画像形成装置に関し、更にそのような画像処理方法を汎用コンピュータシステムで実施するためのコンピュータプログラムに関するものである。   The present invention uses a local area information of input image data read by a color image input device such as a scanner or a digital still camera to determine whether a pixel belongs to a plurality of areas such as a character area and a halftone area. In particular, the present invention relates to an image processing method that improves the output reproduction accuracy of a document image by switching subsequent processing based on the determination result, and in particular, an image for implementing such an image processing method. The present invention relates to a processing apparatus and an image forming apparatus, and further relates to a computer program for implementing such an image processing method in a general-purpose computer system.

電子写真プロセスまたはインクジェット方式を用いた複写機等の画像形成装置は、従来のアナログ方式に代えてデジタル方式、即ち入力画像データをデジタルデータ化して種々の加工を施した上で出力するようにしたものが普及する傾向にある。また、デジタル画像処理技術の進展に伴って、カラー画像を高画質に再現するフルカラーのデジタル複写機、複合機、プリンタ等も製品化されている。   An image forming apparatus such as a copying machine using an electrophotographic process or an ink jet method is changed to a digital method instead of a conventional analog method, that is, input image data is converted into digital data and output after various processing. Things tend to spread. With the progress of digital image processing technology, full-color digital copiers, multifunction peripherals, printers, and the like that reproduce color images with high image quality have been commercialized.

これらの画像形成装置を用いて複写される原稿画像としては、文字、 線画、 写真、またはそれらが混在した原稿が存在しており、良好な再現画像を得るためには、それぞれの原稿種別に適合した画像処理を行う必要がある。   Document images copied using these image forming devices include characters, line drawings, photographs, or a mixture of them. In order to obtain a good reproduction image, it conforms to each document type. Image processing must be performed.

原稿の種別に応じて最適な処理を行う場合、注目画素を中心にしたマスクの情報を用いて、文字領域・網点領域・その他(写真領域)に分離処理を行う領域分離処理がある。一般に、スキャナ等の画像入力装置より読み込まれた画像データは、複数の画素からなるブロックに分離されて、画素毎あるいはブロック単位にて、文字領域・網点領域・その他(写真:印画紙写真)領域の何れかであるかに識別される。これにより、上記画像データについて、文字領域・網点領域・その他領域(写真領域)のうちの何れか1つの領域からなる原稿であるか、あるいは、それらの領域が混在するような原稿であるかが識別され、この識別結果に基づいて画像処理が行われる。   When optimal processing is performed according to the type of document, there is region separation processing in which separation processing is performed on character regions, halftone dot regions, and other (photograph regions) using mask information centered on the pixel of interest. In general, image data read from an image input device such as a scanner is divided into blocks each composed of a plurality of pixels, and is divided into a pixel area, a dot area, and others (photo: photographic paper photograph). It is identified whether it is one of the areas. Thus, whether the image data is a document composed of any one of a character area, a halftone dot area, and other areas (photograph areas), or a document in which these areas are mixed. Is identified, and image processing is performed based on the identification result.

上記識別方法の一例として、非特許文献1(「網点写真の識別方法」(電子情報通信学会論文誌 1987/2 Vol.2 J70-B No.2 p.222〜p.232.))に掲載されているように、「ブロック分離変換法」(Block Separate Transformation Method:BSTM法)による画像データの識別が行われている。   As an example of the above identification method, Non-Patent Document 1 (“Identification Method of Halftone Photo” (The IEICE Transactions 1987/2 Vol.2 J70-B No.2 p.222 to p.232.)) As shown, image data is identified by the “Block Separate Transformation Method” (BSTM method).

すなわち、上記非特許文献1では、画像処理の対象となる画像データを(m×n)画素のブロックに分割する。次いで、ブロック内の各画素の画像信号レベルを求め、ブロック内にて画像信号レベルの最大値Lmax及び最小値Lminを決定し、両者の差Lmax−Lminの値を求める。その後、差Lmax−Lminの値を、予め定められた基準値Qと比較する。この比較結果により、Lmax−Lmin<Qであるブロックを、写真領域と判定する。   That is, in Non-Patent Document 1, image data to be subjected to image processing is divided into (m × n) pixel blocks. Next, the image signal level of each pixel in the block is obtained, the maximum value Lmax and the minimum value Lmin of the image signal level are determined in the block, and the value of the difference Lmax−Lmin is obtained. Thereafter, the value of the difference Lmax−Lmin is compared with a predetermined reference value Q. Based on the comparison result, a block satisfying Lmax−Lmin <Q is determined as a photographic region.

Lmax−Lmin≧Qであると判定されたブロックに対しては、ブロック内の各画素について求めた画像信号レベルの平均値を算出し、この平均値に基づいて各画素を2値化する。具体的には、平均値未満の画像信号レベルを有する画素を「0」に変換し、平均値以上の画像信号レベルを有する画素を「1」に変換する。続いて、ブロック内の主走査方向に連続する画素間にて生じる「0」・「1」の変化の回数Kを求める。同様に、ブロック内の副走査方向についても、連続する画素間にて生じる「0」・「1」の変化の回数Kを求める。その後、変化の回数K・Kを、予め定められた基準値Tと比較し、K≧T且つK≧Tであるブロックを網点領域と判定し、K<T又はK<Tであるブロックを文字領域と判定する。 For a block determined to satisfy Lmax−Lmin ≧ Q, an average value of image signal levels obtained for each pixel in the block is calculated, and each pixel is binarized based on the average value. Specifically, a pixel having an image signal level less than the average value is converted to “0”, and a pixel having an image signal level equal to or higher than the average value is converted to “1”. Then, determine the number K H of change in occurs in between the pixels consecutive in the main scanning direction in the block "0", "1". Similarly, for the sub-scanning direction in the block, the number of times K V of “0” and “1” changes between successive pixels is obtained. Thereafter, the number of changes K H · K V is compared with a predetermined reference value T, and a block where K H ≧ T and K V ≧ T is determined as a halftone dot region, and K H <T or K V A block where <T is determined as a character area.

しかしながら、上記の判定では、文字領域・網点領域・写真領域の判定を行う場合の情報の過不足等に起因して、誤判定が生じることがある。このような誤判定によって得られた識別結果に基づいて、画像処理を行うと、誤った画像処理が施されることになり、出力画像の連続性を損なう等、出力画像の劣化を引き起こす。そこで、上記の識別結果に対して、以下のような補正処理が行われる。   However, in the above determination, an erroneous determination may occur due to an excess or shortage of information when determining a character area, a dot area, or a photograph area. When image processing is performed based on the identification result obtained by such erroneous determination, erroneous image processing is performed, which causes deterioration of the output image such as loss of continuity of the output image. Therefore, the following correction processing is performed on the above identification result.

まず、文字領域の判定に際して、文字ストロークの末端部分で誤判定が発生しやすい。文字ストロークでの誤判定は、文字のつぶれを招き、再生画像の品質の著しい劣化を引き起こす。そこで、主走査方向又は副走査方向に連続する3つのブロックにて、外側のブロックがともに文字領域であると判定された場合には、これらの外側のブロックに挟まれる中間のブロックも、文字領域と判定するように補正を施す。これにより、文字領域の判定精度を向上することができる。   First, when determining a character region, erroneous determination is likely to occur at the end portion of the character stroke. A misjudgment in the character stroke causes the character to be crushed and causes a significant deterioration in the quality of the reproduced image. Therefore, in the three blocks that are continuous in the main scanning direction or the sub-scanning direction, if it is determined that both of the outer blocks are character areas, the intermediate block sandwiched between these outer blocks is also the character area. Is corrected so as to be determined. Thereby, the determination precision of a character area can be improved.

また、粗い網点領域では、網点領域の識別精度が低くなるために、画品質の劣化が生じる。そこで、上記した変化の回数K・Kを基準値Tと比較する際に、基準値Tとして2つの値を設定する。そして、注目しているブロックの近傍に存在するブロックのうち、網点領域と判定されるブロックの数に応じて、基準値Tとして用いる値を選択し、網点領域であるか否かの判定を行う。これにより、網点領域の識別に対して、識別精度が向上するように補正を施すことができ、網点領域の画質を改善することができる。 Further, in the coarse halftone dot area, the image quality is deteriorated because the identification accuracy of the halftone dot area is low. Therefore, two values are set as the reference value T when the number of changes K H · K V described above is compared with the reference value T. Then, a value to be used as the reference value T is selected according to the number of blocks determined to be a halftone dot area from among the blocks existing in the vicinity of the target block, and it is determined whether or not it is a halftone dot area. I do. Thereby, it can correct | amend so that identification accuracy may improve with respect to identification of a halftone dot area | region, and can improve the image quality of a halftone dot area | region.

網点領域に対する上記の補正によれば、網点領域の識別精度を向上することができるが、その一方で、文字領域にて網点領域と誤判定されるブロックが増加する。そこで、画像信号レベルの平均値が急激に変化しているブロックを、文字領域の輪郭部分として抽出し、文字領域を精度よく検出している。   According to the correction for the halftone area, the accuracy of identifying the halftone area can be improved. On the other hand, the number of blocks erroneously determined as the halftone area in the character area increases. Therefore, a block in which the average value of the image signal level is rapidly changed is extracted as a contour portion of the character region, and the character region is accurately detected.

このように、上記従来の画像処理方法では、画像データに対して、文字領域・網点領域・写真領域等の構成要素に対する判定を行う際に、(m×n)画素のブロック毎に判定を行っている。つまり、このブロックを一単位として、ブロック内にて、上記した差Lmax−Lminの値や、変化の回数K・Kを算出することにより、各ブロックがどの構成要素に相当するかを判定している。また、注目しているブロックの周辺に位置するブロックの判定結果や、文字領域の輪郭部分の、抽出等のさらなる特徴量を追加して、網点領域や文字領域での判定精度の向上を図っている。 As described above, in the conventional image processing method described above, determination is made for each block of (m × n) pixels when performing determination on components such as a character region, a halftone dot region, and a photographic region. Is going. That is, with this block as a unit, the value of the difference Lmax−Lmin and the number of changes K H · K V are calculated in the block to determine which component each block corresponds to. is doing. In addition, by adding further feature quantities such as extraction of the determination result of the block located around the block of interest and the outline of the character area, the determination accuracy in the halftone area and the character area is improved. ing.

また、特許文献1(特開平4−180350号公報)では、プレスキャンによって対象画素に網点画素が含まれているか否かを判定し、網点画素が含まれない場合は本スキャン時に網点分離手段を無視することで、文字部分の分離精度の向上を図っている。
特開平4−180350号公報(1992年6月26日公開) 網点写真の識別方法(電子情報通信学会論文誌 1987/2 Vol.2 J70-B No.2 p.222〜p.232.) 画像電子学会研究会予稿90-06-04(1990年発行)
Further, in Patent Document 1 (Japanese Patent Laid-Open No. 4-180350), it is determined whether or not a halftone pixel is included in the target pixel by pre-scanning. By ignoring the separation means, the separation accuracy of the character part is improved.
Japanese Patent Laid-Open No. 4-180350 (released on June 26, 1992) Identification method of halftone dot photo (The IEICE Transactions 1987/2 Vol.2 J70-B No.2 p.222-p.232.) Proceedings of IEICE Technical Committee 90-06-04 (1990)

ところで、一般的に網点領域は、文字領域に比べて広いエリアで存在しているので、網点領域の判定には、広いエリアの情報を使う方が有利である。特に、低線数の網点、すなわち目の粗い網点領域において、網点領域を精度よく検出するには、より広いエリアの情報を使用する必要がある。つまり、網点領域の検出精度を向上させるには、より多くの情報を得るためにより広いエリアの情報を使用する必要がある。   By the way, since the halftone dot area generally exists in a wider area than the character area, it is advantageous to use information of a wide area for the determination of the halftone dot area. In particular, in a halftone dot region having a low number of lines, that is, a halftone dot region having a coarse mesh, it is necessary to use information on a wider area in order to detect the halftone dot region with high accuracy. That is, in order to improve the detection accuracy of the halftone dot region, it is necessary to use information in a wider area in order to obtain more information.

これに対して、文字領域は、網点領域に比べて狭いエリアで存在しているの、より多くの情報を得るためにより広いエリアから情報を得なくてもよい。   On the other hand, since the character area exists in a narrower area than the halftone dot area, it is not necessary to obtain information from a wider area in order to obtain more information.

従って、上述の非特許文献1や特許文献1に開示されている従来の領域分離方法では、入力画像が網点領域検出部と文字領域検出部とに並列で供給されるので、網点領域と文字領域の検出に同じエリア内の情報が使用されることになる。   Therefore, in the conventional region separation methods disclosed in Non-Patent Document 1 and Patent Document 1 described above, the input image is supplied in parallel to the halftone dot region detection unit and the character region detection unit. Information in the same area is used for detecting the character area.

このように、同じエリア内の情報を使用する場合には、文字領域よりも広いエリアに存在している網点領域の検出に必要な情報量が不足し、十分な検出精度を得ることができず、結果として、出力画像の劣化を招くという問題が生じる。   Thus, when using information in the same area, the amount of information necessary to detect a halftone dot area existing in an area larger than the character area is insufficient, and sufficient detection accuracy can be obtained. As a result, there arises a problem that the output image is deteriorated.

本発明は、上記の問題点に鑑みなされたものであって、その目的は、文字領域と網点領域という存在するエリアの広さの異なる領域の検出を精度よく行い、出力画像の劣化を低減し得る画像処理方法、画像処理装置、画像読取装置、画像形成装置、及び汎用コンピュータシステムで実施するためのコンピュータプログラムを提供することにある。   The present invention has been made in view of the above-described problems, and its purpose is to accurately detect areas having different areas of character areas and halftone dot areas, and to reduce deterioration of an output image. An image processing method, an image processing apparatus, an image reading apparatus, an image forming apparatus, and a computer program to be executed by a general-purpose computer system are provided.

本願発明者等は、一般的に網点領域は広いエリアで存在しており、また検出には広いエリアの情報を使う方が有利である点に着目し、解像度の低い入力画像で検出処理を行うことによって擬似的に広いエリアを使用することで、網点検出に必要な情報量を多くし、網点領域の検出精度を高めることが可能となることを見出した。   The inventors of the present application pay attention to the fact that the halftone dot region generally exists in a wide area, and it is advantageous to use information in a wide area for detection, and detection processing is performed on an input image with low resolution. By doing so, it has been found that by using a pseudo-wide area, the amount of information necessary for halftone dot detection can be increased and the detection accuracy of the halftone dot region can be increased.

すなわち、本発明に係る画像処理方法は、入力画像データに対して、文字領域・網点領域などの複数の領域に識別する処理を行う領域分離処理部と、上記領域分離処理部に入力される入力画像データの解像度を変換する解像度変換部と、上記領域分離処理部が識別する対象の領域に応じて入力画像データの解像度を変換するように解像度変換部を制御する制御部とが設けられていることを特徴としている。   That is, in the image processing method according to the present invention, input image data is input to a region separation processing unit that performs processing for identifying a plurality of regions such as a character region and a halftone dot region, and the region separation processing unit. A resolution conversion unit that converts the resolution of the input image data, and a control unit that controls the resolution conversion unit so as to convert the resolution of the input image data in accordance with the target region identified by the region separation processing unit are provided. It is characterized by being.

上記領域分離処理部は、少なくとも文字を検出する文字検出手段と、網点領域を検出する網点検出手段とを備えており、上記制御部は、上記文字検出手段に入力される入力画像データの解像度と上記網点検出手段に入力される入力画像データの解像度とが異なるように上記解像度変換部を制御することを特徴としている。   The region separation processing unit includes at least character detection means for detecting a character and halftone dot detection means for detecting a halftone dot region, and the control unit is configured to input image data input to the character detection means. The resolution conversion unit is controlled so that the resolution differs from the resolution of the input image data input to the halftone dot detection means.

上記制御部は、上記網点検出手段に入力される入力画像データの解像度を、上記文字検出手段に入力される入力画像データの解像度よりも低くなるように上記解像度変換部を制御することを特徴としている。   The control unit controls the resolution conversion unit so that the resolution of the input image data input to the halftone dot detection unit is lower than the resolution of the input image data input to the character detection unit. It is said.

さらに、網点の線数を認識する網点線数算出部を備え、上記制御部は、上記網点線数算出部によって認識された線数に応じて上記網点検出手段に入力する入力画像データの解像度を切り替えるように上記解像度変換部を制御することを特徴としている。   Furthermore, a halftone dot number calculating unit for recognizing the number of halftone dot lines is provided, and the control unit is configured to input image data to be input to the halftone dot detecting unit according to the number of lines recognized by the halftone dot number calculating unit. The resolution converter is controlled so as to switch the resolution.

本発明に係る画像形成装置は、上記の構成の画像処理装置を備えることを特徴としている。   An image forming apparatus according to the present invention includes the image processing apparatus having the above-described configuration.

本発明に係る画像処理方法は、入力画像データに対して、文字領域・網点領域などの複数の領域に識別する領域分離処理工程を備える画像処理方法において、入力画像データの解像度を変換する解像度変換工程を備え、上記領域分離処理工程において、識別する対象の領域に応じて入力画像データの解像度を変える解像度変換工程が備えられていることを特徴としている。   An image processing method according to the present invention is a resolution for converting the resolution of input image data in an image processing method comprising an area separation process step for identifying a plurality of areas such as a character area and a halftone dot area for input image data. A conversion step, and in the region separation processing step, a resolution conversion step of changing the resolution of the input image data in accordance with a region to be identified is provided.

上記領域分離処理工程は、少なくとも文字を検出する文字検出工程と、網点領域を検出する網点検出工程とを備えており、上記解像度変換工程は、上記文字検出工程と上記網点検出工程とで入力画像データの解像度を異ならせていることを特徴としている。   The region separation processing step includes at least a character detection step for detecting a character and a halftone dot detection step for detecting a halftone dot region, and the resolution conversion step includes the character detection step and the halftone dot detection step. The feature is that the resolution of the input image data is different.

さらに、網点の線数を認識する網点線数算出工程を備え、上記解像度変換工程は、上記網点線数算出工程によって認識された線数に応じて解像度を設定し、識別する領域によって切り替えることを特徴としている。   Further, a halftone dot number calculating step for recognizing the number of halftone dot lines is provided, and the resolution converting step sets a resolution according to the number of lines recognized by the halftone dot number calculating step, and switches according to a region to be identified. It is characterized by.

本発明に係るコンピュータプログラムは、コンピュータに、文字領域・網点領域などの複数の領域に識別する領域分離処理を実行させるコンピュータプログラムであって、コンピュータに領域分離をさせる際に入力画像データの解像度を、識別する対象の領域によって異ならせる手順を含むことを特徴としている。   A computer program according to the present invention is a computer program for causing a computer to execute a region separation process for identifying a plurality of regions such as a character region and a halftone region, and the resolution of input image data when the computer separates the region. The method includes a procedure for differentiating the values depending on the area to be identified.

本発明に係るコンピュータプログラムは、コンピュータに、文字領域・網点領域などの複数の領域に識別する領域分離処を実行させるコンピュータプログラムであって、コンピュータに領域分離をさせる際に入力する画像データの解像度を、網点の線数を認識することによって設定し、識別する対象の領域によって異ならせる手順を含むことを特徴としている。   A computer program according to the present invention is a computer program for causing a computer to execute an area separation process for identifying a plurality of areas such as a character area and a halftone dot area. The resolution is set by recognizing the number of lines of halftone dots, and includes a procedure for changing the resolution depending on a region to be identified.

上記コンピュータプログラムをコンピュータに実行可能に格納してもよい。   The computer program may be stored in a computer so as to be executable.

本発明に係る画像処理装置は、領域分離処理部が識別する対象の領域に応じて入力画像データの解像度を変換するように解像度変換部を制御する制御部が設けられていることで、識別対象の領域に応じて、領域分離処理部に入力される入力画像データの解像度を異ならせることが可能となる。   The image processing apparatus according to the present invention is provided with a control unit that controls the resolution conversion unit so as to convert the resolution of the input image data in accordance with the target region to be identified by the region separation processing unit. Depending on the area, the resolution of the input image data input to the area separation processing unit can be varied.

一般に、領域分離処理では、局所ブロックの濃度情報を用いて、性質の異なる複数の種別の領域(文字領域、網点領域、写真領域)の分類が行われている。   In general, in region separation processing, a plurality of types of regions (character region, halftone region, and photo region) having different properties are classified using the density information of local blocks.

従って、領域を分類するためには、所定の局所ブロックとして入力された信号を基に分離を行うが、検出を行う種別によって検出に適した解像度が異なっているため、それぞれ検出を行う種別に応じて入力解像度を異ならせることによって、領域分離処理部における領域分離精度、すなわち各領域の検出精度の向上を図ることができるという効果を奏する。   Therefore, in order to classify a region, separation is performed based on a signal input as a predetermined local block. However, since the resolution suitable for detection differs depending on the type of detection, depending on the type of detection. By varying the input resolution, it is possible to improve the region separation accuracy in the region separation processing unit, that is, the detection accuracy of each region.

具体的には、上記領域分離処理部は、少なくとも文字を検出する文字検出手段と、網点領域を検出する網点検出手段とを備え、上記制御部は、上記文字検出手段に入力される入力画像データの解像度と上記網点検出手段に入力される入力画像データの解像度とが異なるように上記解像度変換部を制御することで、文字検出手段と網点検出手段との両手段において最適な入力信号を用いて検出を行うことが可能となり、領域の検出精度を高めることが可能となる。   Specifically, the region separation processing unit includes at least a character detection unit that detects a character and a halftone dot detection unit that detects a halftone dot region, and the control unit receives an input input to the character detection unit. By controlling the resolution conversion unit so that the resolution of the image data and the resolution of the input image data input to the halftone dot detection means are different, the optimum input in both the character detection means and the halftone dot detection means Detection can be performed using a signal, and detection accuracy of a region can be increased.

通常、文字領域の細かい線の検出を行うためには高解像度の入力画像データが適している。一方、網点領域の検出はできるだけ広範囲の信号の波を局所マスク内に入れて検出を行った方が、検出精度が高くなるので低解像度の入力画像データの方が適している。   Usually, high resolution input image data is suitable for detecting fine lines in a character area. On the other hand, detection of a halftone dot region is more suitable for low resolution input image data because detection accuracy is higher when detection is performed by putting a wave of a signal in the widest possible range in a local mask.

従って、上記制御部において、上記網点検出手段に入力される入力画像データの解像度を、上記文字検出手段に入力される入力画像データの解像度よりも低くなるように上記解像度変換部を制御することで、領域の検出精度を高めることが可能となる。   Therefore, the control unit controls the resolution conversion unit so that the resolution of the input image data input to the halftone dot detection unit is lower than the resolution of the input image data input to the character detection unit. Thus, it is possible to increase the detection accuracy of the region.

ここでの解像度変換は、文字検出手段に対して、解像度変換を行わずに、入力画像データの解像度そのままとし、網点検出手段に対してのみ、解像度変換を行って、入力画像データの解像度を低下させることが考えられるが、文字検出手段に対して、解像度変換を行って、入力画像データの解像度よりも高くし、網点検出手段に対しては、解像度変換を行わずに、入力画像データの解像度のままとすることも考えられる。また、両方の手段に対して、解像度を変換するようにしてもよい。   In this resolution conversion, the resolution of the input image data is left as it is without performing the resolution conversion on the character detection means, and the resolution conversion is performed only on the halftone dot detection means to change the resolution of the input image data. Although it is possible to reduce the resolution, the resolution detection is performed on the character detection unit to make it higher than the resolution of the input image data, and the input image data is not converted on the halftone detection unit without performing the resolution conversion. It is also possible to keep the resolution of. Further, the resolution may be converted for both means.

さらに、網点領域の検出精度を高めるためには、網点の線数に応じて解像度を変換すればよい。   Furthermore, in order to increase the detection accuracy of the halftone dot region, the resolution may be converted according to the number of lines of the halftone dot.

具体的には、上記制御部は、上記網点線数算出部によって認識された線数に応じて上記網点検出手段に入力する入力画像データの解像度を切り替えるように上記解像度変換部を制御することで、網点の線数に応じて適宜網点検出手段への入力解像度を切り替えることが可能となり、最適な入力解像度を用いてさらに精度良く網点検出を実施することが可能となる。   Specifically, the control unit controls the resolution conversion unit to switch the resolution of the input image data input to the halftone dot detection unit according to the number of lines recognized by the halftone line number calculation unit. Thus, it is possible to switch the input resolution to the halftone detection means as appropriate according to the number of lines of the halftone dot, and it is possible to perform halftone dot detection with higher accuracy using the optimum input resolution.

上記構成の画像処理装置を備えることで、入力画像データの領域分離精度が向上するので品質の良い画像を出力することができる。   By providing the image processing apparatus having the above configuration, the region separation accuracy of the input image data is improved, so that a high-quality image can be output.

本発明に係るコンピュータプログラムによれば、コンピュータに領域分離をさせる際に入力画像データの解像度を、識別する対象の領域によって異ならせる手順を含むことで、文字検出と網点検出とで入力解像度を異ならせて、領域の検出精度を高めることができる画像処理方法をコンピュータが読み取り実行することができ、この画像処理方法を汎用的なものとすることができる。   The computer program according to the present invention includes a procedure for varying the resolution of the input image data depending on the area to be identified when the computer separates the areas, thereby reducing the input resolution between character detection and halftone dot detection. Differently, the computer can read and execute an image processing method that can improve the detection accuracy of the region, and this image processing method can be general-purpose.

また、本発明に係るコンピュータプログラムによれば、コンピュータに領域分離をさせる際に入力する画像データの解像度を、網点の線数を認識することによって設定し、識別する対象の領域によって異ならせる手順を含むことで、網点の線数に応じてより適切な入力解像度を設定することが可能となり、最適な入力解像度を用いてさらに精度良く網点を検出することができる画像処理方法をコンピュータが読み取り実行することができ、この画像処理方法を汎用的なものとすることができる。   Further, according to the computer program according to the present invention, the resolution of the image data input when the computer separates the areas is set by recognizing the number of lines of halftone dots, and varies depending on the area to be identified. By including the image processing method, it becomes possible to set a more appropriate input resolution in accordance with the number of lines of halftone dots, and the computer uses an image processing method that can detect halftone dots with higher accuracy using the optimum input resolution. The image processing method can be general-purpose.

上記のコンピュータプログラムをコンピュータに実行可能な記録媒体に格納した場合、文字検出と網点検出とで入力解像度を異ならせることで検出精度を高めることができる画像処理方法、あるいは、網点の線数に応じてより適切な入力解像度を設定することが可能となり、最適な入力解像度を用いてさらに精度良く網点を検出することができる画像処理方法のプログラムを容易にコンピュータに供給することができる。   When the above computer program is stored in a computer-executable recording medium, an image processing method capable of increasing detection accuracy by changing the input resolution between character detection and halftone dot detection, or the number of lines of halftone dots Accordingly, it is possible to set a more appropriate input resolution in accordance with the image processing, and it is possible to easily supply a computer program for an image processing method capable of detecting halftone dots with higher accuracy using the optimum input resolution.

〔実施の形態1〕
本発明の実施の形態について説明すれば、以下の通りである。
[Embodiment 1]
The embodiment of the present invention will be described as follows.

図1は、本発明の画像処理装置(カラー画像処理装置)の構成を示すブロック図である。本実施の形態においては、画像形成装置として、デジタルカラー複写機を例に挙げて説明する。   FIG. 1 is a block diagram showing a configuration of an image processing apparatus (color image processing apparatus) according to the present invention. In the present embodiment, a digital color copying machine will be described as an example of an image forming apparatus.

図1に示すように、カラー画像処理装置1は、A/D(アナログ/デジタル)変換部2、シェーディング補正部3、入力階調補正部4、色補正部7、黒生成下色除去部8、空間フィルタ処理部9、出力階調補正部10、階調再現処理部11、および操作パネル12から構成されている。カラー画像処理装置1に、カラー画像入力装置13とカラー画像出力装置14とが接続されており、全体としてデジタルカラー複写機を構成している。   As shown in FIG. 1, the color image processing apparatus 1 includes an A / D (analog / digital) conversion unit 2, a shading correction unit 3, an input tone correction unit 4, a color correction unit 7, and a black generation and under color removal unit 8. , A spatial filter processing unit 9, an output tone correction unit 10, a tone reproduction processing unit 11, and an operation panel 12. A color image input device 13 and a color image output device 14 are connected to the color image processing apparatus 1 and constitute a digital color copying machine as a whole.

さらに、上記カラー画像処理装置1には、入力階調補正部4と色補正部7との間に、解像度変換部51、領域分離処理部5、制御部52、メモリ53が設けられている。   Further, the color image processing apparatus 1 includes a resolution conversion unit 51, a region separation processing unit 5, a control unit 52, and a memory 53 between the input tone correction unit 4 and the color correction unit 7.

上記カラー画像入力装置13(画像読取手段)は、例えばCCD(Charge Coupled Device)を備えたスキャナ部より構成され、原稿からの反射光像を、RGB(R:赤、G:緑、B:青)のアナログ信号としてCCDにて読み取り、RGBのアナログ信号をカラー画像処理装置1に出力するものである。   The color image input device 13 (image reading means) is composed of, for example, a scanner unit equipped with a CCD (Charge Coupled Device), and the reflected light image from the original is converted into RGB (R: red, G: green, B: blue). ) Analog signals are read out by the CCD, and RGB analog signals are output to the color image processing apparatus 1.

上記カラー画像入力装置13にて読み取られたアナログ信号は、カラー画像処理装置1内を、A/D変換部2、シェーディング補正部3、入力階調補正部4、色補正部7、黒生成下色除去部8、空間フィルタ処理部9、出力階調補正部10、階調再現処理部11の順に送られ、C(シアン)・M(マゼンタ)・Y(イエロー)・K(黒)のデジタルカラー信号としてカラー画像出力装置14へ出力される。   The analog signal read by the color image input device 13 passes through the color image processing device 1 through the A / D conversion unit 2, the shading correction unit 3, the input tone correction unit 4, the color correction unit 7, and the black generation signal. The color removal unit 8, the spatial filter processing unit 9, the output gradation correction unit 10, and the gradation reproduction processing unit 11 are sent in this order, and C (cyan), M (magenta), Y (yellow), and K (black) digital The color signal is output to the color image output device 14.

上記の入力階調補正部4からの出力された信号は、色補正部7の他に解像度変換部51に出力されるようになっている。この解像度変換部51では、入力された画像データの解像度を変換して後段の領域分離処理部5に出力するようになっている。この解像度変換についての詳細は後述する。   The signal output from the input tone correction unit 4 is output to the resolution conversion unit 51 in addition to the color correction unit 7. The resolution conversion unit 51 converts the resolution of the input image data and outputs the converted image data to the subsequent region separation processing unit 5. Details of this resolution conversion will be described later.

上記A/D変換部2は、RGBのアナログ信号をデジタル信号に変換するものであり、シェーディング補正部3は、A/D変換部2より送られてきたデジタルのRGB信号に対して、カラー画像入力装置13の照明系、結像系、撮像系で生じる各種の歪みを取り除く処理を施すものである。   The A / D conversion unit 2 converts RGB analog signals into digital signals, and the shading correction unit 3 applies a color image to the digital RGB signals sent from the A / D conversion unit 2. Processing for removing various distortions generated in the illumination system, imaging system, and imaging system of the input device 13 is performed.

入力階調補正部4は、シェーディング補正部3にて各種の歪みが取り除かれたRGB信号(RGBの反射率信号)を濃度信号等、カラー画像処理装置1に採用されている画像処理システムの扱いやすい信号に変換する。また、カラーバランスを整えると同時に下地濃度の除去やコントラストなどの画質調整処理等を行う。   The input tone correction unit 4 treats the RGB signal (RGB reflectance signal) from which various distortions have been removed by the shading correction unit 3 as a density signal or the like as an image processing system employed in the color image processing apparatus 1. Convert to an easy signal. At the same time as adjusting the color balance, image density adjustment processing such as removal of background density and contrast is performed.

上記解像度変換部51は、網点を検出する際に動作し、上記入力階調補正部4からのRGB信号の解像度を変換するものである。ここで、解像度変換に使用されるデータとして、カラー画像入力装置13によってプレスキャンにより読み込まれた画像データを使用するのが好ましいが、通常の条件でスキャン(本スキャン)し、A/D変換・シェーディング補正された画像データを一旦ハードディスク等の画像メモリに格納し、画像メモリから読み出された画像データに対して、解像度変換(低解像度化)を施すようにしてもよい。   The resolution conversion unit 51 operates when detecting a halftone dot, and converts the resolution of the RGB signal from the input tone correction unit 4. Here, it is preferable to use image data read by pre-scanning by the color image input device 13 as data used for resolution conversion. However, scanning under normal conditions (main scanning), A / D conversion, The shading-corrected image data may be temporarily stored in an image memory such as a hard disk, and resolution conversion (lower resolution) may be performed on the image data read from the image memory.

また、上記解像度変換部51において施される解像度変換の方法としては、ニアレストネイバー方式・バイリニア方式・バイキュービック方式等を用いることができる。   Further, as a resolution conversion method performed in the resolution conversion unit 51, a nearest neighbor method, a bilinear method, a bicubic method, or the like can be used.

上記ニアレストネイバー方式は、補間点から最も近くにある画像構成点の色をそのまま補間点の色とする方式であり、上記3種類の方式のうち最も単純な拡大・縮小(解像度変換)アルゴリズムである。つまり、ニアレストネイバー方式では、原画像の1点1点が、正方形のタイルとなって敷き詰められたように画像が拡大される。   The nearest neighbor method is a method in which the color of the image composing point closest to the interpolation point is used as it is as the color of the interpolation point, and is the simplest enlargement / reduction (resolution conversion) algorithm among the above three methods. is there. That is, in the nearest neighbor method, the image is enlarged so that each point of the original image is spread as a square tile.

この方式の利点は、高速な処理が可能であることと、画像のコントラストが失われないことが挙げられる。   The advantages of this method are that high-speed processing is possible and that the contrast of the image is not lost.

上記バイリニア方式は、補間点の周囲にある4画像構成点の色の加重平均値を補間点の色とする方式であり、上記ニアレストネイバー方式よりも高品位な滑らかな拡大画像が得られる。   The bilinear method is a method in which the weighted average value of the colors of the four image composing points around the interpolation point is used as the color of the interpolation point, and a smooth enlarged image with higher quality than the nearest neighbor method can be obtained.

上記バイキュービック方式は、補間点の周囲にある4x4=16画像構成点をキュービックスプライン法により補間した結果を、補間点の色とする方式であり、上記の2種類の方式に比べてかなり滑らかな拡大画像を得ることができる。   The bicubic method is a method in which the result of interpolating 4x4 = 16 image constituent points around the interpolation point by the cubic spline method is used as the color of the interpolation point, which is considerably smoother than the above two types. An enlarged image can be obtained.

本実施の形態においては、解像度変換部51で施される解像度変換の方式として、処理の軽さや精度のバランスを鑑みてニアレストネイバー方式を採用している。   In the present embodiment, the nearest neighbor method is adopted as the resolution conversion method performed by the resolution conversion unit 51 in view of the lightness of processing and the balance of accuracy.

なお、上記解像度変換部51は、網点以外を検出する際は、動作しない(スルー処理)ようにするのが消費電力等の観点からよいが、網点以外を検出する際に動作してもよい。   It should be noted that the resolution converter 51 may not operate (through processing) when detecting other than halftone dots from the viewpoint of power consumption or the like, but may operate when detecting other than halftone dots. Good.

上記解像度変換部51の動作の制御は、該解像度変換部51に接続されている制御部52(例えば、CPU)で行われる。尚、プレスキャンのデータを用いる場合、副走査方向の解像度は通常高速化のため本スキャン時の解像度にくらべて低く設定されていることを前提とし、主走査方向の画像データに対して解像度変換を行う。あるいは、解像度変換部51を、領域分離処理部5に備えられる網点判定部(後述)の前段に設けるようにしても良い。   Control of the operation of the resolution conversion unit 51 is performed by a control unit 52 (for example, a CPU) connected to the resolution conversion unit 51. When pre-scan data is used, resolution conversion is performed on image data in the main scanning direction on the premise that the resolution in the sub-scanning direction is normally set lower than the resolution at the time of main scanning in order to increase the speed. I do. Alternatively, the resolution conversion unit 51 may be provided before the halftone dot determination unit (described later) provided in the region separation processing unit 5.

上記領域分離処理部5は、解像度変換部51を介して入力されたRGB信号に基づき、入力画像中の各画素を文字領域、網点領域、写真(印画紙写真)領域の何れかに分離するものである。領域分離処理部5は、分離結果に基づき、画素がどの領域に属しているかを示す領域識別信号を、黒生成下色除去部8、空間フィルタ処理部9、および階調再現処理部11へと出力するようになっている。ここで、領域分離処理部5には、解像度変換が施された画像データに対して、該領域分離処理部5によって得られた網点判定結果を保持しておくメモリ53が接続されている。このメモリ53は、プレスキャンにより読み込まれた画像データ、あるいは、ハードディスク等の画像メモリから読み出された画像データを用いて、一旦求めた網点判定結果を保持する際に機能するものであり、文字検出を行うと共に、解像度変換された画像データに対して網点検出を行うリアルタイム処理では必要ない。   The region separation processing unit 5 separates each pixel in the input image into one of a character region, a halftone dot region, and a photograph (photographic paper photograph) region based on the RGB signal input through the resolution conversion unit 51. Is. Based on the separation result, the region separation processing unit 5 sends a region identification signal indicating to which region the pixel belongs to the black generation and under color removal unit 8, the spatial filter processing unit 9, and the gradation reproduction processing unit 11. It is designed to output. Here, the region separation processing unit 5 is connected to a memory 53 for holding the halftone dot determination result obtained by the region separation processing unit 5 for the image data subjected to resolution conversion. The memory 53 functions when holding the halftone dot determination result once obtained using image data read by pre-scanning or image data read from an image memory such as a hard disk. This is not necessary for real-time processing that performs character detection and halftone detection on resolution-converted image data.

上記色補正部7は、色再現の忠実化実現のために、不要吸収成分を含むCMY色材の分光特性に基づいた色濁りを取り除く処理を行うものである。   The color correction unit 7 performs a process of removing color turbidity based on the spectral characteristics of the CMY color material including unnecessary absorption components in order to realize faithful color reproduction.

上記黒生成下色除去部8は、色補正後のCMYの3色信号からK信号を生成する黒生成、元のCMY信号から黒生成で得たK信号を差し引いて新たなCMY信号を生成する処理を行うものである。すなわち、黒生成下色除去部8は、CMYの3色信号をCMYKの4色信号に変更するものである。   The black generation and under color removal unit 8 generates a black signal for generating a K signal from the CMY three-color signals after color correction, and generates a new CMY signal by subtracting the K signal obtained by the black generation from the original CMY signal. The processing is performed. In other words, the black generation and under color removal unit 8 changes the CMY three-color signal to the CMYK four-color signal.

上記空間フィルタ処理部9は、上記黒生成下色除去部8より入力したCMYK信号の画像データに対して、領域識別信号を基にデジタルフィルタによる空間フィルタ処理を行い、空間周波数特性を補正することによって出力画像のぼやけや粒状性劣化を防ぐように処理するものである。   The spatial filter processing unit 9 performs spatial filter processing using a digital filter on the image data of the CMYK signal input from the black generation and under color removal unit 8 to correct the spatial frequency characteristics. Thus, processing is performed so as to prevent blurring of the output image and deterioration of graininess.

上記出力階調補正部10は、濃度信号などの信号をカラー画像出力装置14の特性値である網点面積率に変換する出力階調補正処理を行うものである。   The output tone correction unit 10 performs output tone correction processing for converting a signal such as a density signal into a halftone dot area ratio that is a characteristic value of the color image output device 14.

上記階調再現処理部11は、CMYK信号の画像データに対して、領域識別信号を基に、最終的に画像を画素に分離してそれぞれの階調を再現できるように処理する階調再現処理(中間調生成)を施すものである。   The gradation reproduction processing section 11 performs gradation reproduction processing for processing the image data of the CMYK signal based on the area identification signal so that the image is finally separated into pixels and each gradation can be reproduced. (Halftone generation).

上記操作パネル12は、例えば液晶ディスプレイなどの表示部とデジタルカラー複写機全体の動作等を制御する設定ボタン(例えば、コピーを行う原稿種別を表す画像モード(文字モード・文字写真モード・写真モード等)を設定)等から構成される。   The operation panel 12 is a setting button for controlling the operation of the display unit such as a liquid crystal display and the entire digital color copying machine (for example, an image mode (character mode / character photo mode / photo mode, etc.) indicating a document type to be copied. ) Is set).

なお、上述した各処理が施された画像データは、図示しない記憶手段に一旦記憶され、所定のタイミングで読み出されてカラー画像出力装置14に入力されるようになっており、以上の各処理は、図示しないCPU(Central Processing Unit)により制御されている。   The image data subjected to the above-described processes is temporarily stored in a storage unit (not shown), read out at a predetermined timing, and input to the color image output device 14. Is controlled by a CPU (Central Processing Unit) (not shown).

ここで、上記構成を有するデジタルカラー複写機による画像処理方法について説明する。   Here, an image processing method by the digital color copying machine having the above configuration will be described.

まず、プレスキャンが実行される。すなわち、カラー画像入力装置13が原稿の画像データをRGBのアナログ信号として読み取り、カラー画像処理装置1へ出力する。   First, a pre-scan is executed. That is, the color image input device 13 reads the image data of the document as RGB analog signals and outputs them to the color image processing device 1.

カラー画像処理装置1は、入力したアナログ信号をA/D変換部2にてRGBのデジタル信号に変換し、シェーディング補正部3へ出力する。シェーディング補正部3は、入力したRGBのデジタル信号に対して、カラー画像入力装置13の照明系、結像系、撮像系で生じた各種の歪みを取り除いた後に、RGB信号は入力階調補正部4に入力される。入力階調補正部4は、入力したRGB信号のカラーバランスを整えると同時に下地濃度の除去やコントラストなどの画質調節処理を施した後に、後段の色補正部7と解像度変換部51へ出力する。なお、このプレスキャン時には、上記色補正部7は作動せず、上記解像度変換部51が作動するものとする。   The color image processing apparatus 1 converts an input analog signal into an RGB digital signal by the A / D conversion unit 2 and outputs the RGB digital signal to the shading correction unit 3. The shading correction unit 3 removes various distortions generated in the illumination system, the imaging system, and the imaging system of the color image input device 13 from the input RGB digital signal. 4 is input. The input tone correction unit 4 adjusts the color balance of the input RGB signal and simultaneously performs image quality adjustment processing such as removal of background density and contrast, and then outputs the result to the subsequent color correction unit 7 and resolution conversion unit 51. In this pre-scan, the color correction unit 7 does not operate and the resolution conversion unit 51 operates.

解像度変換部51は、上記入力階調補正部4によって入力階調補正処理が施された画像データに対して解像度変換を施す。   The resolution conversion unit 51 performs resolution conversion on the image data that has been subjected to the input gradation correction processing by the input gradation correction unit 4.

そして、領域分離処理部5は、上記解像度変換部51によって解像度変換された画像データより網点領域を抽出し、その結果をメモリ53に格納する。   Then, the region separation processing unit 5 extracts a halftone dot region from the image data whose resolution has been converted by the resolution conversion unit 51, and stores the result in the memory 53.

次に、本スキャンにより、再度、画像データを読み込んで、A/D変換・シェーディング補正および入力階調補正処理がなされる。あるいは、ハードディスク等に格納されている画像データを読み出して入力階調補正処理がなされる。この時、入力階調補正部4によって入力階調補正処理が施された画像データは、プレスキャン時と同様に、後段の色補正部7と解像度変換部51に出力されるが、解像度変換部51では、解像度変換処理は施されない。   Next, by the main scan, the image data is read again, and A / D conversion / shading correction and input gradation correction processing are performed. Alternatively, image data stored in a hard disk or the like is read and input tone correction processing is performed. At this time, the image data subjected to the input gradation correction processing by the input gradation correction unit 4 is output to the subsequent color correction unit 7 and the resolution conversion unit 51 as in the pre-scan. In 51, resolution conversion processing is not performed.

そして、領域分離処理部5は、入力したRGB信号より、入力画像中の各画素を文字領域、写真領域(あるいはその他領域)のいずれかに分離すると共にメモリから網点判定結果を読み出して、領域識別信号を黒生成下色除去部8、空間フィルタ処理部9および階調再現処理部11へと出力する。   Then, the region separation processing unit 5 separates each pixel in the input image into either a character region or a photograph region (or other region) from the input RGB signal, and reads the halftone determination result from the memory, The identification signal is output to the black generation and under color removal unit 8, the spatial filter processing unit 9, and the gradation reproduction processing unit 11.

上記色補正部7では、入力階調補正部4からのRGB信号を、不要吸収成分を含むCMY色材の分光特性に基づいた色濁りを取り除く処理を行った後、色補正後のCMY信号を黒生成下色除去部8へ出力する。   In the color correction unit 7, the RGB signal from the input tone correction unit 4 is subjected to processing for removing color turbidity based on the spectral characteristics of the CMY color material including unnecessary absorption components, and then the CMY signal after color correction is processed. Output to the black generation and under color removal unit 8

上記黒生成下色除去部8は、入力したCMY信号からK信号を生成する黒生成と、入力したCMY信号からK信号を差し引いて新たなCMY信号を生成する処理とを行う。CMYの3色信号は、CMYKの4色信号に変換された後に空間フィルタ処理部9へ出力される。ここでは、領域分離処理部5からの領域識別信号に基づいて、各領域に適したCMYK信号を生成する。   The black generation and under color removal unit 8 performs black generation for generating a K signal from the input CMY signal and processing for generating a new CMY signal by subtracting the K signal from the input CMY signal. The CMY three-color signal is converted into a CMYK four-color signal and then output to the spatial filter processing unit 9. Here, based on the region identification signal from the region separation processing unit 5, a CMYK signal suitable for each region is generated.

黒生成処理の一例としては、UCR(下色除去処理)による黒生成を行う方法(一般的方法)がある。この方法では、黒生成カーブの入出力特性をy=f(x)、入力されるデータをC,M,Y、出力されるデータをC',M',Y',K'、UCR(Under Color Removal)率をα(0<α<1)とすると、黒生成下色除去処理は以下の式(1)〜式(4)で表される。   As an example of the black generation processing, there is a method (general method) for generating black by UCR (under color removal processing). In this method, the input / output characteristic of the black generation 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 generation and under color removal processing is expressed by the following equations (1) to (4).

Figure 0004149368
上記空間フィルタ処理部9は、入力したCMYK信号の画像データに対して、領域識別信号に基づいてデジタルフィルタによる空間フィルタ処理を行い、空間周波数特性を補正することによって出力画像のぼやけや粒状性劣化を防ぐように処理する。また、階調再現処理部11は、空間フィルタ処理部9と同様に、CMYK信号の画像データに対して、領域識別信号に基づいて所定の処理を施す。
Figure 0004149368
The spatial filter processing unit 9 performs spatial filter processing using a digital filter on the input image data of the CMYK signal based on the region identification signal, and corrects the spatial frequency characteristics, thereby blurring the output image and degrading graininess. Process to prevent. Further, similar to the spatial filter processing unit 9, the gradation reproduction processing unit 11 performs predetermined processing on the image data of the CMYK signal based on the region identification signal.

例えば、領域分離処理部5にて文字に分離された領域は、特に黒文字或いは色文字の再現性を高めるために、空間フィルタ処理部9による空間フィルタにおいて鮮鋭強調処理が行われ高周波数の強調量が大きくされる。同時に、階調再現処理部11においては、高域周波数の再現に適した高解像度のスクリーンでの二値化または多値化が選択される。   For example, a region separated into characters by the region separation processing unit 5 is subjected to a sharp enhancement process in a spatial filter by the spatial filter processing unit 9 in order to improve the reproducibility of a black character or a color character, in particular, and a high frequency enhancement amount. Is increased. At the same time, the gradation reproduction processing unit 11 selects binarization or multi-value conversion on a high-resolution screen suitable for high-frequency reproduction.

また、領域分離処理部5にて網点領域に分離された領域に関しては、空間フィルタ処理部9において、入力網点成分を除去するためのローパス・フィルタ処理が施される。そして、出力階調補正部10では、濃度信号などの信号をカラー画像出力装置14の特性値である網点面積率に変換する出力階調補正処理を行った後、階調再現処理部11で、最終的に画像を画素に分離してそれぞれの階調を再現できるように処理する階調再現処理(中間調生成)が施される。   Further, with respect to the region separated into halftone dot regions by the region separation processing unit 5, the spatial filter processing unit 9 performs low-pass filter processing for removing the input halftone dot component. The output tone correction unit 10 performs output tone correction processing for converting a signal such as a density signal into a halftone dot area ratio that is a characteristic value of the color image output device 14, and then the tone reproduction processing unit 11. Then, gradation reproduction processing (halftone generation) is performed so that the image is finally separated into pixels and each gradation is reproduced.

なお、領域分離処理部5にて写真に分離された領域に関しては、階調再現性を重視したスクリーンでの二値化または多値化処理が行われる。   In addition, regarding the region separated into the photograph by the region separation processing unit 5, binarization or multi-value processing is performed on the screen with an emphasis on gradation reproducibility.

上述のカラー画像処理装置1によって、カラー画像入力装置13から入力された画像データに対して一連の画像処理が施されて得られたCMYK信号は、カラー画像出力装置14に出力される。   A CMYK signal obtained by performing a series of image processing on the image data input from the color image input device 13 by the color image processing device 1 described above is output to the color image output device 14.

上記カラー画像出力装置14は、入力されたCMYK信号に基づいて用紙に出力する。   The color image output device 14 outputs to the paper based on the input CMYK signal.

ここで、領域分離処理部5において、文字領域、網点領域、写真領域(あるいはその他領域)のいずれかに分離する方法について図2及び図3を参照しながら以下に説明をする。   Here, a method of separating the image into one of a character region, a halftone dot region, and a photograph region (or other region) in the region separation processing unit 5 will be described below with reference to FIGS.

図2は、領域分離処理部5の概略構成を示すブロック図であり、図3は、領域分離処理の流れを概念的に示した概念図である。   FIG. 2 is a block diagram showing a schematic configuration of the region separation processing unit 5, and FIG. 3 is a conceptual diagram conceptually showing a flow of the region separation processing.

上記領域分離処理部5において、入力画像データを文字・網点・写真領域などに分離する方法としては、例えば非特許文献2(「画像電子学会研究会予稿90-06-04」)に記載されている方法を用いることができる。以下に詳細を説明する。注目画素を中心としたM ×N(M 、N は自然数) 画素のブロック内で以下のような判定を行い、それを注目画素の領域識別信号とする。   As a method of separating input image data into text, halftone dots, photographic regions, etc. in the region separation processing unit 5, it is described in, for example, Non-Patent Document 2 (“Image Electronics Society of Japan Proceedings 90-06-04”). Can be used. Details will be described below. The following determination is performed within a block of M × N (M 1 and N are natural numbers) pixels centered on the pixel of interest, and this is used as the region identification signal of the pixel of interest.

さらに、ブロック内の画素に対して信号レベルの平均値 (Dave)を求め、その平均値を用いてブロック内の各画素を2 値化する。また、最大画素信号レベル (Dmax)、最小画素信号レベル (Dmin)も同時に求める。   Further, an average value (Dave) of signal levels is obtained for the pixels in the block, and each pixel in the block is binarized using the average value. Further, the maximum pixel signal level (Dmax) and the minimum pixel signal level (Dmin) are also obtained at the same time.

上記の領域分離処理を実現するために、上記領域分離処理部5は、図2に示すように、文字領域を検出する文字検出部20と、網点領域を検出する網点検出部21と、これら検出部の検出結果に基づいて、文字領域あるいは網点領域の何れかを判定する判定部22とを備えた構成となっている。   In order to realize the region separation processing, the region separation processing unit 5 includes a character detection unit 20 that detects a character region, a halftone detection unit 21 that detects a halftone region, as shown in FIG. Based on the detection results of these detection units, a determination unit 22 that determines either a character region or a halftone dot region is provided.

文字領域では、最大信号レベルと最小信号レベルの差が大きく、濃度も高いと考えられることから、上記文字検出部20は、文字領域の識別を以下のように行う。最大、最小信号レベルとそれらの差分 (Dsub)を閾値PA ,PB ,PC と比較し、どれか一つが上回ったならば文字領域とする。   Since the difference between the maximum signal level and the minimum signal level is large and the density is considered high in the character area, the character detection unit 20 identifies the character area as follows. The maximum and minimum signal levels and their difference (Dsub) are compared with threshold values PA 1, PB 2 and PC, and if one of them is exceeded, a character area is determined.

すなわち、文字検出部20では、信号レベルが、
Dmax >PA 、または、Dmin >PB、または、Dsub >PC
の何れかの関係を満たしていれば、文字領域としている。
That is, in the character detection unit 20, the signal level is
Dmax> PA or Dmin> PB or Dsub> PC
If either of the relations is satisfied, the character area is set.

一方、網点領域では、小領域における画像信号の変動が大きいことや、背景に比べて濃度が高いことを利用し、上記網点検出部21は、網点領域を以下のように行う。2値化されたデータに対して主走査、副走査方向でそれぞれ0から1への変化点数、1から0への変化点数を求めて、それぞれK , Kとし、閾値T,Tと比較して両者が共に閾値を上回ったら網点領域とする。また、背景との誤判定を防ぐために、先に求めたDmax , Dmin , Dave を閾値B,Bと比較する。 On the other hand, in the halftone dot region, the halftone dot detection unit 21 performs the halftone dot region as follows using the fact that the fluctuation of the image signal in the small region is large and the density is higher than the background. With respect to the binarized data, the number of change points from 0 to 1 in the main scanning and sub-scanning directions is obtained, and the number of change points from 1 to 0 is obtained as K H and K V , respectively, and the thresholds T H and T V are obtained. If both of them exceed the threshold, the halftone dot region is set. In order to prevent the erroneous determination of the background, comparing the previously determined Dmax, Dmin, threshold Dave B 1, B 2 and.

そして、以下の関係式を満たした時に、上記網点検出部21は、網点領域であると判断する。
Dmax −Dave >B
かつ,Dave −Dmin >B
かつ,K>T
かつ,K>T
上記判定部22は、上記文字検出部20および網点検出部21の検出結果に基づいて領域識別信号を出力する。ここで、判定部22は、以下に示す表1に従って領域識別信号を出力する。
When the following relational expression is satisfied, the halftone dot detection unit 21 determines that it is a halftone dot region.
Dmax−Dave> B 1 ,
And, Dave -Dmin> B 2,
And K H > T H ,
And K V > T V
The determination unit 22 outputs a region identification signal based on the detection results of the character detection unit 20 and the halftone detection unit 21. Here, the determination unit 22 outputs a region identification signal according to Table 1 shown below.

Figure 0004149368
この表1において、文字検出部で文字、網点検出部で網点と判定された時を「1」、そうでない時を「0」で表している。網点領域でも文字領域でもない領域の画素はその他(写真)領域とする。以上によって、文字領域・網点領域・その他(写真領域)に分離することができる。
Figure 0004149368
In Table 1, “1” is indicated when the character is determined by the character detection unit and halftone dot is determined by the halftone detection unit, and “0” is indicated otherwise. Pixels in a region that is neither a halftone dot region nor a character region are defined as other (photo) regions. As described above, it can be separated into a character area, a halftone dot area, and the other (photo area).

なお、判定部22における領域識別信号の作成には、上記の表1に示す結果を用いることに限定されるものではなく、他の方法であってもよい。例えば、文字検出部20の文字検出方法や、網点検出部21の網点検出方法が上述したものと異なれば、判定部22における判定の動作も上記とは異なる。   The creation of the region identification signal in the determination unit 22 is not limited to using the result shown in Table 1 above, and other methods may be used. For example, if the character detection method of the character detection unit 20 and the halftone detection method of the halftone detection unit 21 are different from those described above, the determination operation in the determination unit 22 is also different from the above.

本実施の形態では、上記領域分離処理部5には、上述した解像度変換部51を介して、領域分離処理部5内の文字検出部20と網点検出部21とで解像度を異ならせて入力されるようになっている。ここでは、文字検出部20に対しては解像度変換しない状態のRGB信号が出力される一方、網点検出部21に対しては解像度変換(低解像度変換)したRGB信号が出力されるようになっている。これにより、解像度変換部51に入力された同じRGB信号であっても、網点検出部21へ入力されるRGB信号の解像度は、文字検出部20へ入力されるRGB信号の解像度よりも低くなっている。   In the present embodiment, the region separation processing unit 5 is input with the resolutions different between the character detection unit 20 and the halftone detection unit 21 in the region separation processing unit 5 via the resolution conversion unit 51 described above. It has come to be. Here, an RGB signal without resolution conversion is output to the character detection unit 20, while an RGB signal subjected to resolution conversion (low resolution conversion) is output to the halftone detection unit 21. ing. Thereby, even if the same RGB signal is input to the resolution conversion unit 51, the resolution of the RGB signal input to the halftone detection unit 21 is lower than the resolution of the RGB signal input to the character detection unit 20. ing.

なお、網点検出部21へ入力されるRGB信号の解像度は、文字検出部20へ入力されるRGB信号の解像度よりも低ければよいので、入力されるRGB信号の解像度は、網点検出部21のみならず、文字検出部20においても変換するようにしてもよい。   Since the resolution of the RGB signal input to the halftone detection unit 21 only needs to be lower than the resolution of the RGB signal input to the character detection unit 20, the resolution of the input RGB signal is the halftone detection unit 21. Not only that, the character detection unit 20 may perform the conversion.

本実施の形態では、図3に示すように、網点検出にのみ解像度変換された信号が入力されるものとする。なお、領域分離処理部5における網点検出及び文字検出は、同時に実行されるものであり、全ての画素に対して行われる。   In this embodiment, as shown in FIG. 3, it is assumed that a resolution-converted signal is input only for halftone dot detection. Note that the dot detection and the character detection in the region separation processing unit 5 are performed simultaneously, and are performed for all the pixels.

上記のように、網点検出部21に入力される信号の解像度を下げることで、該網点検出部21における網点領域の検出精度を向上させることができる。   As described above, by reducing the resolution of the signal input to the halftone detection unit 21, the detection accuracy of the halftone area in the halftone detection unit 21 can be improved.

以下に、網点検出における解像度変換による効果について説明する。   Hereinafter, an effect of resolution conversion in halftone dot detection will be described.

本発明は、領域分離処理の性能を高めるために領域分離処理部5における文字検出部20と網点検出部21への入力解像度を異ならせることを特徴としている。   The present invention is characterized in that the input resolution to the character detection unit 20 and the halftone detection unit 21 in the region separation processing unit 5 is made different in order to improve the performance of the region separation processing.

特に、網点検出においては、入力画像データの解像度を低下させることにより、より多くの情報を得ることで網点領域の検出精度を高めている。例えば、図4に示すように、入力画像データの解像度が600dpiであり、線数が133の網点の場合、解像度変換を行わないで網点を検出する場合、網点の検出に必要な情報を○で示すと、その数は8個であるのに対して、解像度変換を行って300dpiに低下させて網点を検出する場合、解像度変換を行わないで網点を検出する場合と同じサイズのマスク内の網点の検出に必要な情報としての○の数は、25個になる。   In particular, in halftone dot detection, the resolution of the input image data is lowered to obtain more information, thereby improving the detection accuracy of the halftone area. For example, as shown in FIG. 4, when the resolution of the input image data is 600 dpi and the number of lines is 133, when detecting halftone dots without performing resolution conversion, information necessary for detecting halftone dots Is indicated by a circle, the number is eight, but when resolution conversion is performed and the halftone dots are detected by reducing the resolution to 300 dpi, the same size as when halftone dots are detected without performing resolution conversion The number of circles as information necessary for detecting halftone dots in the mask is 25.

このことから、入力画像データの解像度を低下させることにより、網点検出に必要な○の数、すなわち情報量を多くすることができるので、網点の検出精度を向上させることが可能となる。   Therefore, by reducing the resolution of the input image data, the number of circles necessary for halftone dot detection, that is, the amount of information can be increased, so that the halftone dot detection accuracy can be improved.

このように、解像度を低下させることは、網点の検出のためのエリアを擬似的に拡げることになるので、網点のように広いエリアに存在する場合に非常に有利になる。   In this manner, reducing the resolution greatly enlarges the area for detecting the halftone dots, and thus is very advantageous when the image is present in a wide area such as a halftone dot.

解像度変換の有無における網点領域の検出精度の違いについて、図5(a)〜(f)および図6(a)〜(f)を参照しながら以下に説明する。   Differences in the detection accuracy of the halftone dot region with and without resolution conversion will be described below with reference to FIGS. 5 (a) to 5 (f) and FIGS. 6 (a) to 6 (f).

図5(a)〜(f)および図6(a)〜(f)において、縦軸及び横軸の数値は座標を表している。また、図5(a)〜(c)及び図6(a)〜(c)aは、文字領域に相当する入力画像に対する網点検出の結果を示し、図5(d)〜(f)及び図6(d)〜(f)は、網点領域に相当する入力画像に対する網点検出の結果を示している。   In FIGS. 5A to 5F and FIGS. 6A to 6F, the numerical values on the vertical axis and the horizontal axis represent coordinates. FIGS. 5A to 5C and FIGS. 6A to 6C show the results of the halftone dot detection for the input image corresponding to the character area, and FIGS. 5D to 5F. 6D to 6F show halftone dot detection results for an input image corresponding to a halftone dot area.

図5(a)(d)及び図6(a)(d)は、共にカラー画像入力装置13で読み取った画像を、A/D変換・シェーディング補正および入力階調補正処理を施した後の画像である。なお、図5(a)(d)は、600dpi(dot per inch)の入力画像であり、図6(a)(d)は、600dpiの入力画像をニアレストネイバーによって解像度変換を行った300dpiの入力画像である。   FIGS. 5 (a) (d) and 6 (a) (d) are images obtained by subjecting an image read by the color image input device 13 to A / D conversion / shading correction and input tone correction processing. It is. FIGS. 5A and 5D are 600 dpi (dot per inch) input images, and FIGS. 6A and 6D are 300 dpi obtained by performing resolution conversion on the 600 dpi input image by a nearest neighbor. Input image.

図5(b)(e)及び図6(b)(e)は、上記網点検出方法で算出されるK、Kの小さい方の値を濃度で示している。従って、この値が大きい(濃度が高い)ほど網点の可能性が高くなることを示している。図5(c)(f)及び図6(c)(f)は、上記図5(b)(e)及び図6(b)(e)の値にしきい値処理を施して2値化した結果である。白い部分は網点として検出された領域、黒い部分は網点として検出されなかった領域を示している。 FIGS. 5B and 6E and FIGS. 6B and 6E show the smaller value of K H and K V calculated by the halftone dot detection method as the concentration. Therefore, the larger this value (the higher the density), the higher the possibility of halftone dots. 5 (c) (f) and 6 (c) (f) are binarized by performing threshold processing on the values of FIGS. 5 (b) (e) and 6 (b) (e). It is a result. A white part indicates an area detected as a halftone dot, and a black part indicates an area not detected as a halftone dot.

上記網点検出方法を用いてそれぞれの入力解像度において条件を合わせて比較を行うために、先ず、基準となる同一の文字画像の600dpi画像(図5(a))と300dpi画像(図6(a))を用意し、この基準文字画像に対して網点検出が誤検知しないしきい値を設定した。つまり、このしきい値を用いて、2値化処理を施せば、図5(c)及び図6(c)に示すように、網点検出率が0%、すなわち共に網点として誤検出されている領域が存在していない。   In order to perform the comparison by matching the conditions at the respective input resolutions using the halftone dot detection method, first, a 600 dpi image (FIG. 5A) and a 300 dpi image (FIG. 6A) of the same character image serving as a reference are used. )) Is prepared, and a threshold value is set for this reference character image so that halftone dot detection is not erroneously detected. In other words, if binarization processing is performed using this threshold value, as shown in FIGS. 5C and 6C, the halftone dot detection rate is 0%, that is, both are erroneously detected as halftone dots. Does not exist.

次に、上記のようにして設定したしきい値を用いて、同一の網点画像、すなわち図5(d)に示す画像(600dpiの画像)と、図6(d)に示す画像((600dpi入力を、ニアレストネイバー)を用いて300dpiに解像度変換を行った画像)とに対してそれぞれ網点検出処理を行った結果、図5(f)に示すように、600dpi入力画像では網点検出率48.7%であったものが、図6(f)に示すように、300dpi入力画像の網点検出率は同一網点検出アルゴリズムにおいて74.8%であった。   Next, using the threshold values set as described above, the same halftone image, that is, the image shown in FIG. 5D (600 dpi image) and the image shown in FIG. 6D ((600 dpi). As a result of performing a halftone dot detection process on the input and an image whose resolution has been converted to 300 dpi using a nearest neighbor), as shown in FIG. 5F, halftone dot detection is performed in a 600 dpi input image. Although the rate was 48.7%, as shown in FIG. 6F, the halftone dot detection rate of the 300 dpi input image was 74.8% in the same halftone dot detection algorithm.

従って、網点検出では上記網点検出用のマスクが注目画素を中心としたM×N(M,Nは自然数)画素の固定ブロックである場合には、低解像度の方が有利になることが確認できる。一方、文字検出は文字の詳細部分を検出するために解像度を高める必要があるため、文字検出部と網点検出部に対して異なる入力解像度を供給することは領域分離の検出精度を高める上で非常に有効である。つまり、領域認識の精度を上げるには、文字検出の解像度を高く、網点検出の解像度を低くする必要がある。   Therefore, in halftone dot detection, when the halftone dot detection mask is a fixed block of M × N (M and N are natural numbers) pixels centered on the target pixel, lower resolution may be advantageous. I can confirm. On the other hand, since character detection needs to increase the resolution in order to detect the detailed part of the character, supplying different input resolutions to the character detection unit and the halftone dot detection unit increases the detection accuracy of the region separation. It is very effective. In other words, in order to increase the accuracy of area recognition, it is necessary to increase the resolution of character detection and to decrease the resolution of halftone detection.

以下の実施の形態2においては、網点検出の精度をさらに高めるために、網点画像の線数を認識した情報を利用する点について説明する。   In the second embodiment described below, a description will be given of using information that recognizes the number of lines of a halftone dot image in order to further improve the accuracy of halftone dot detection.

〔実施の形態2〕
本発明の他の実施の形態について説明すれば、以下の通りである。なお、本実施の形態では、前記実施の形態1と同様の機能を奏する部材については、同一符号付記し、その説明は省略する。
[Embodiment 2]
Another embodiment of the present invention will be described as follows. In the present embodiment, members having the same functions as those in the first embodiment are denoted by the same reference numerals, and description thereof is omitted.

本実施の形態にかかるデジタルカラー複写機は、図7に示すように、前記実施の形態で説明した図1に示すデジタルカラー複写機に対して、網点線数算出部71が設けられたカラー画像処理装置61を有している点で異なる。   As shown in FIG. 7, the digital color copying machine according to the present embodiment is a color image in which a halftone line number calculation unit 71 is provided with respect to the digital color copying machine shown in FIG. The difference is that a processing device 61 is provided.

上記網点線数算出部71は、図8に示すように、解像度変換部51の前段に設けられており、入力階調補正部4(図7)からのRGB信号から網点線数を算出するようになっている。   As shown in FIG. 8, the halftone line number calculation unit 71 is provided in the preceding stage of the resolution conversion unit 51, and calculates the halftone line number from the RGB signals from the input tone correction unit 4 (FIG. 7). It has become.

上記網点線数算出部71と解像度変換部51との関係は、例えば図9に示すようになる。すなわち、入力階調補正処理が施された入力画像データに対して、線数認識部(網点線数算出部71)において認識した結果と、この認識結果に基づいて適切な解像度となるように解像度変換部(解像度変換部51)によって解像度変換され、この解像度変換が施された入力画像データを用いて網点検出を行うことで、網点検出精度の向上を図るようにしている。   The relationship between the halftone line number calculation unit 71 and the resolution conversion unit 51 is, for example, as shown in FIG. That is, the input image data subjected to the input tone correction processing is recognized by the line number recognition unit (halftone line number calculation unit 71), and the resolution is set so as to obtain an appropriate resolution based on the recognition result. The resolution is converted by the conversion unit (resolution conversion unit 51), and halftone detection is performed using the input image data subjected to the resolution conversion, thereby improving the halftone detection accuracy.

つまり、網点画像の線数に応じた最適な解像度変換を行うことで、網点検出の精度を向上させている。   In other words, the accuracy of halftone dot detection is improved by performing optimum resolution conversion according to the number of lines in the halftone image.

ここで、入力画像の線数に対する解像度と判定結果の差異について、図10(a)(b)を参照しながら以下に行う。   Here, the difference between the resolution and the determination result with respect to the number of lines of the input image will be described below with reference to FIGS.

判定方法は上記網点検出アルゴリズムを使用し各解像度変換は600dpiの入力画像を基準文字原稿の画像として、それぞれニアレストネイバー方式によって変換を行った。   The determination method uses the above-described halftone dot detection algorithm, and each resolution conversion is performed by a nearest neighbor method using a 600 dpi input image as a reference character original image.

すなわち、図10(a)に示す基準文字原稿を用いて、文字を誤検知しない程度にしきい値を設定し、この設定したしきい値を用いて網点検出を行った結果の網点検出率を、図10(b)に示す。   That is, using the reference character document shown in FIG. 10A, a threshold value is set to such an extent that no character is erroneously detected, and a halftone dot detection rate obtained as a result of halftone dot detection using this set threshold value. Is shown in FIG.

図10(b)に示す結果によると、入力原稿の線数が粗く(線数が小さく)なるにつれて、解像度が低い方の検出率が上がることがわかる。従って、入力原稿(入力画像)を予め後述する線数認識によって線数を判別し、その線数にあった解像度に変換した画像を網点検出部に供給することは非常に効果があることが分かる。   According to the result shown in FIG. 10B, it can be seen that the detection rate of the lower resolution increases as the number of lines of the input document becomes coarse (the number of lines decreases). Therefore, it is very effective to discriminate the number of lines of an input document (input image) in advance by line number recognition described later, and to supply an image converted to a resolution corresponding to the number of lines to the halftone detection unit. I understand.

ここで、上記構成のデジタルカラー複写機における領域分離処理の動作の流れについて、図7及び図11を参照しながら以下に説明する。   Here, the operation flow of the area separation process in the digital color copying machine having the above configuration will be described below with reference to FIGS.

まず、網点線数算出部71は、入力画像データに対して、網点線数算出処理を施す(ステップS1)。ここで、入力画像データの解像度は、600dpiとする。   First, the halftone line number calculation unit 71 performs a halftone line number calculation process on the input image data (step S1). Here, the resolution of the input image data is 600 dpi.

次に、解像度変換部51は、入力画像データに対して、ステップS1で算出した網点線数に応じた解像度に変換する(ステップS2)。ここで、ステップS1で算出した網点線数が低線数(65〜85線)であればステップS3に移行して、解像度を600dpiから150dpiに変換する。また、ステップS1で算出した網点線数が中間線数(120〜133線)であればステップS4に移行して、解像度を600dpiから300dpiに変換する。さらに、ステップS1で算出した網点線数が高線数(150線以上)であればステップS5に移行して、解像度を600dpiから400dpiに変換する。   Next, the resolution conversion unit 51 converts the input image data into a resolution corresponding to the number of halftone lines calculated in step S1 (step S2). Here, if the number of halftone lines calculated in step S1 is low (65 to 85 lines), the process proceeds to step S3, and the resolution is converted from 600 dpi to 150 dpi. If the number of halftone lines calculated in step S1 is the number of intermediate lines (120 to 133 lines), the process proceeds to step S4, and the resolution is converted from 600 dpi to 300 dpi. Further, if the number of halftone lines calculated in step S1 is a high number of lines (150 lines or more), the process proceeds to step S5, and the resolution is converted from 600 dpi to 400 dpi.

続いて、領域分離処理部5の網点検出部21は、解像度変換された入力画像データから網点領域判定処理を施す(ステップS6)。   Subsequently, the halftone dot detection unit 21 of the region separation processing unit 5 performs a halftone dot region determination process from the input image data subjected to resolution conversion (step S6).

次いで、解像度変換処理が施されていない入力画像データが領域分離処理部5の文字検出部20に読み出される(ステップS7)。   Next, input image data that has not been subjected to resolution conversion processing is read to the character detection unit 20 of the region separation processing unit 5 (step S7).

次に、上記文字検出部20は、入力画像データから文字領域判定処理を施す(ステップS8)。   Next, the character detection unit 20 performs a character area determination process from the input image data (step S8).

上記の一連の処理(ステップS1からステップS8)を画像全域について行う。上記したように、S1からS6の網点領域判定処理とS8の文字領域判定処理は並列に処理を行っても構わない。   The above series of processing (step S1 to step S8) is performed on the entire image. As described above, the halftone dot area determination process from S1 to S6 and the character area determination process from S8 may be performed in parallel.

ここで、ステップS1で施される網点線数算出処理について説明する。この網点線数の算出方法としては、一例として以下のような方法が可能である。入力画像データの任意の画素を中心としてm×n画素のマスクを切り出す。但し、この切り出されたマスクに対して周波数解析処理として FFT(高速フーリエ変換)を利用するために通常はm,n:2
として設定することが好ましい。本実施の形態では一例として、m=16,n=16、即ちk=4を使用するが、これに限定されるものではない。
Here, the dotted line number calculation process performed in step S1 will be described. As a method for calculating the number of halftone lines, for example, the following method is possible. A mask of m × n pixels is cut out centering on an arbitrary pixel of the input image data. However, in order to use FFT (Fast Fourier Transform) as a frequency analysis process for this cut out mask, normally, m, n: 2 k
It is preferable to set as In this embodiment, m = 16, n = 16, that is, k = 4 is used as an example, but the present invention is not limited to this.

このようにして注目画素を中心として切り出されたm×n=16×16画素のマスクは下記式(5)で表わされ、例えば、図12(a) に示すようになる。   The mask of m × n = 16 × 16 pixels cut out with the target pixel as the center in this way is expressed by the following formula (5), for example, as shown in FIG.

Figure 0004149368
次に、切り出されたマスクに対してFFT 処理が行なわれ、実空間領域から周波数領域への変換が行なわれて、図12(b)に示すような2次元スペクトル配置とされる。この際の変換式は下記式(6)にて一般的に与えられる。
Figure 0004149368
Next, FFT processing is performed on the cut out mask, conversion from the real space region to the frequency region is performed, and a two-dimensional spectrum arrangement as shown in FIG. 12B is obtained. The conversion formula at this time is generally given by the following formula (6).

Figure 0004149368
このフーリエ変換の振幅スペクトル強度を用いることによって上記マスクごとに周波数特性を得ることができる。複数の代表的な線数におけるFFTの結果(振幅スペクトル強度|F(u,v)| )を示すと、図13〜図15のようになる。
Figure 0004149368
By using the amplitude spectrum intensity of the Fourier transform, frequency characteristics can be obtained for each mask. The FFT results (amplitude spectral intensity | F (u, v) |) for a plurality of representative lines are as shown in FIGS.

図13〜図15において、それぞれ左上の図は、オリジナルの原稿、右上・左下・右下の各図は、色成分毎、すなわち、R(赤)プレーン・G(緑)プレーン・B(青)プレーンの周波数特性(振幅スペクトル強度)を示している。   13 to 15, the upper left figure is the original document, and the upper right, lower left, and lower right figures are for each color component, that is, R (red) plane, G (green) plane, and B (blue). The frequency characteristics (amplitude spectrum intensity) of the plane are shown.

各色成分の周波数特性において、横軸はu・縦軸はvであり、振幅スペクトル強度を色の違いにより示している(各図の右端を参照)。各図は、入力ブロックに対する周波数特性を示しており、左上のu=v=0 は、DC成分を示しており、その他のu,v=1,…,8における係数(power)は、AC成分を示しており、左上から右下に向かうにつれて低周波から高周波を表し、係数の値によって対応する周波数成分が含まれている度合いを示している。   In the frequency characteristics of each color component, the horizontal axis is u and the vertical axis is v, and the amplitude spectrum intensity is indicated by the difference in color (see the right end of each figure). Each figure shows the frequency characteristics for the input block, u = v = 0 in the upper left indicates the DC component, and the coefficients (power) in the other u, v = 1,. The frequency from low frequency to high frequency is shown from the upper left to the lower right, and the degree to which the corresponding frequency component is included is indicated by the coefficient value.

各線数における振幅スペクトル強度の集中している場所は、それぞれ低い線数に対しては左上に近いところで、高い線数では右下に近いところで係数が集中する。これは、線数の低い網点は低周波成分を多く含む網点によって構成されており、線数の高い網点は高周波成分を多く含む網点によって構成されていることによる。従って、網点として検出された領域の周波数特性を求め、網点に含まれる周波数成分を算出ことによって線数を識別することが可能となる。   In the places where the amplitude spectrum intensities in each line number are concentrated, the coefficients are concentrated near the upper left for low line numbers, and near the lower right for high line numbers. This is because halftone dots with a low number of lines are constituted by halftone dots containing a lot of low frequency components, and halftone dots with a high number of lines are constituted by halftone dots containing a lot of high frequency components. Therefore, it is possible to identify the number of lines by obtaining the frequency characteristics of the area detected as a halftone dot and calculating the frequency component contained in the halftone dot.

続いて、上記のステップS2における線数判別の方法について、以下に説明する。この線数判別は、周波数域での周波数特性の分布状況によって行う。具体的には、振幅スペクトル強度を、図12(c)に示すエリア毎で総和を算出し、そのエリアに含まれる画素数で除算することによって正規化された値を用いて判定を行う。このとき、ピークの位置の場所については、図12(c)で用いる場所によって、Aにピークがある場合は低線数、Aにピークがある場合は中間線数、 Aにピークがある場合は高線数と判定する。 Next, the method for determining the number of lines in step S2 will be described below. The number of lines is determined based on the distribution of frequency characteristics in the frequency range. Specifically, the amplitude spectrum intensity is determined using a value normalized by calculating the sum for each area shown in FIG. 12C and dividing by the number of pixels included in the area. At this time, for the location of the position of the peak, depending on the location used in FIG. 12 (c), the low number of lines when there is a peak in A 0, the middle line number if there is a peak in A 1, peak A 2 is If there is, the number of high lines is determined.

上記の線数判別方法では、図12(c)に示すように、周波数特性を示す係数を区分し、それぞれ低周波数成分を含む量を示すパラメータ(Para0)、中間周波数成分を含む量を示すパラメータ(Para1)、高周波成分を含む量を示すパラメータ(Para2)を算出する。各パラメータを算出するために用いる周波数空間での場所をそれぞれA・A・Aとすると、算出するパラメータは以下の式のように設定する。 In the above-described line number discrimination method, as shown in FIG. 12C, the coefficient indicating the frequency characteristic is divided, the parameter (Para0) indicating the amount including the low frequency component, and the parameter indicating the amount including the intermediate frequency component, respectively. (Para1), a parameter (Para2) indicating the amount including the high frequency component is calculated. Assuming that the locations in the frequency space used for calculating each parameter are A 0 , A 1, and A 2 , the parameters to be calculated are set as follows:

Figure 0004149368
具体的な判定の方法は、以下の式7に示すように、求めたパラメータの内最大のパラメータ値を算出し、どの場所のパラメータが最大になるかによって線数を判定する。
Figure 0004149368
As a specific determination method, as shown in the following Expression 7, the maximum parameter value among the obtained parameters is calculated, and the number of lines is determined depending on which location has the maximum parameter.

max_para=max(para0,para1,para2)・・・(7)
上記の式7において、最大の値がPara0の場合低周波の線数、最大の値がPara1の場合中間の線数、最大の値がpara2の場合高周波の線数であると判定する。
max_para = max (para0, para1, para2) (7)
In the above equation 7, when the maximum value is Para0, the number of low frequency lines is determined, when the maximum value is Para1, the number of intermediate lines is determined, and when the maximum value is para2, the number of high frequency lines is determined.

ここで、低周波の線数(低線数)とは65線から85線、中間の線数(中間線数)とは120線〜133線、高周波の線数(高線数)とは150線以上であると設定する。但し、この設定はこれに限定するものではなく、例えば他の例としては低周波の線数とは65線から100線、中間の線数とは120線〜130線、高周波の線数とは135線以上であると判定してもかまわない。いずれにしても、パラメータの算出のための周波数空間での場所の違いによって変えることができる。   Here, the number of low frequency lines (the number of low lines) is 65 to 85 lines, the number of intermediate lines (the number of intermediate lines) is 120 to 133 lines, and the number of high frequency lines (the number of high lines) is 150. Set to be above line. However, this setting is not limited to this. For example, as another example, the number of low frequency lines is 65 to 100 lines, the intermediate number of lines is 120 to 130 lines, and the number of high frequency lines is You may determine that it is 135 lines or more. In any case, it can be changed according to the difference in the place in the frequency space for calculating the parameter.

また、段階の切り分けに関しても、ここでは3段階(低周波、中間、高周波)に分割したが、周波数に変換する際のマスクサイズによって段階を増やすことが可能である。周波数変換を行うマスクサイズを大きくすれば、周波数変換精度を高めることができるが、それによる計算量が多くなってしまうためここでは上記サイズで変換を行っている。
いま上記線数判定のためのパラメータを用いて判定された結果は以下の式8に示すようになる。
In addition, although the steps are divided into three steps (low frequency, intermediate, and high frequency) here, the steps can be increased depending on the mask size at the time of conversion to frequency. If the mask size for performing the frequency conversion is increased, the frequency conversion accuracy can be increased. However, since the calculation amount is increased, the conversion is performed with the above size.
The result of determination using the parameters for determining the number of lines is as shown in the following equation 8.

Jude(x,y)={低線数、中間線数、高線数}・・・・(8)
この判定された結果を用いて、解像度変換部51では、ステップS3〜S5において、
低線数(65〜85線) →解像度150dpi(ステップS3)へ、
中線数(120〜133線)→解像度300dpi(ステップS4)へ、
高線数(150線以上) →解像度400dpi(ステップS5)
への変換を行うものとする。
Jude (x, y) = {number of low lines, number of intermediate lines, number of high lines} (8)
Using the determined result, in the resolution conversion unit 51, in steps S3 to S5,
Low line count (65 to 85 lines) → Resolution 150 dpi (step S3)
Number of middle lines (120 to 133 lines) → Resolution 300 dpi (step S4)
High line number (150 lines or more) → Resolution 400 dpi (step S5)
Conversion to

上記解像度変換された画像は、ステップS6における網点判定方法によって網点検出を行う。なお、ステップS8における文字領域判定処理においては、解像度変換を施していない入力画像データ(入力信号)を用いて判別を行う。   The resolution-converted image is subjected to halftone dot detection by the halftone dot determination method in step S6. In the character region determination process in step S8, determination is performed using input image data (input signal) that has not been subjected to resolution conversion.

以上のように、解像度変換を、網点画像の種類、すなわち網点線数の種類に応じて適切に行うことにより、網点領域の検出の精度をさらに高めることが可能となる。   As described above, the resolution conversion is appropriately performed according to the type of halftone image, that is, the type of the number of halftone lines, thereby further improving the accuracy of detection of the halftone area.

また、本発明にかかる領域分離方法をソフトウェア(アプリケーションプログラム)として実現してもかまわない。この場合、領域分離処理の結果(領域識別信号)に基づく処理を実現するソフトウェアを組み込んだプリンタ・ドライバをコンピュータやプリンタに設けることができる。   Further, the region separation method according to the present invention may be realized as software (application program). In this case, a printer driver incorporating software that realizes processing based on the result of region separation processing (region identification signal) can be provided in the computer or printer.

上記の例として、図16を用いて領域分離の判別結果に基づく処理を以下に説明する。図16に示すように、コンピュータ101は、プリンタ・ドライバ102、通信ポートドライバ107、通信ポート108が組み込まれている。上記プリンタ・ドライバ102は、色補正部103、空間フィルタ処理部104、階調再現処理部105、プリンタ言語翻訳部106を有している。   As an example of the above, a process based on the region separation determination result will be described below with reference to FIG. As shown in FIG. 16, the computer 101 includes a printer driver 102, a communication port driver 107, and a communication port 108. The printer driver 102 includes a color correction unit 103, a spatial filter processing unit 104, a gradation reproduction processing unit 105, and a printer language translation unit 106.

また、上記コンピュータ101は、プリンタ(画像出力装置)109と接続されており、プリンタ109は、コンピュータ101から出力された画像データに応じて画像出力するようになっている。   The computer 101 is connected to a printer (image output device) 109, and the printer 109 outputs an image in accordance with image data output from the computer 101.

上記の色補正部103は、図1あるいは図7に示す色補正部7と黒生成下色除去部8とを含めた構成となっており、その機能は色補正部7と黒生成下色除去部8と同じである。   The color correction unit 103 includes the color correction unit 7 and the black generation / under color removal unit 8 shown in FIG. 1 or FIG. 7, and functions as the color correction unit 7 and the black generation / under color removal. Same as part 8.

上記空間フィルタ処理部104及び階調再現処理部105は、図1あるいは図7に示す空間フィルタ処理部9及び階調再現処理部11にそれぞれ対応しており、各機能は空間フィルタ処理部9と階調再現処理部11と同じである。   The spatial filter processing unit 104 and the gradation reproduction processing unit 105 correspond to the spatial filter processing unit 9 and the gradation reproduction processing unit 11 shown in FIG. 1 or 7, respectively. This is the same as the gradation reproduction processing unit 11.

上記コンピュータ101において各種のアプリケーションプログラムを実行することにより生成された画像データは、色補正部103、空間フィルタ処理部104、階調再現処理部105で上述の処理がなされる。なお、この場合、色補正部103には、上述のように、黒生成下色除去処理機能も含まれている。   Image data generated by executing various application programs in the computer 101 is subjected to the above-described processing by the color correction unit 103, the spatial filter processing unit 104, and the gradation reproduction processing unit 105. In this case, the color correction unit 103 also includes a black generation and under color removal processing function as described above.

空間フィルタ処理部104及び階調再現処理部105には、領域分離信号が入力されるようになっており、この領域分離信号に基づいて各種の処理が施されるようになっている。   A region separation signal is input to the spatial filter processing unit 104 and the gradation reproduction processing unit 105, and various processes are performed based on the region separation signal.

上記処理がなされた画像データは、プリンタ言語翻訳部106にてプリンタ言語に変換され、通信ポートドライバ107、通信ポート(例えばRS232C・LAN等)108を介してプリンタ109に入力される。なお、プリンタ109は、プリンタ機能の他に、コピー機能およびファックス機能を有するデジタル複合機であってもよい。   The image data subjected to the above processing is converted into a printer language by the printer language translation unit 106 and input to the printer 109 via the communication port driver 107 and a communication port (for example, RS232C / LAN) 108. Note that the printer 109 may be a digital multifunction machine having a copy function and a fax function in addition to the printer function.

また、本発明はコンピュータに実行させるためのプログラムを記録したコンピュータ読み取り可能な記録媒体に、解像度変換、網点線数認識および解像度変換を行った画像データに対して領域分離処理を行う画像処理方法を記録することもできる。   The present invention also provides an image processing method for performing region separation processing on image data subjected to resolution conversion, dot number recognition, and resolution conversion on a computer-readable recording medium on which a program to be executed by a computer is recorded. It can also be recorded.

この結果、解像度変換を行って、あるいは、網点線数を算出し、その結果に基づいて解像度変換を行い網点検出処理への入力解像度を切り替えて領域分離処理を施す画像処理方法を行うプログラムを記録した記録媒体を持ち運び自在に提供することができる。   As a result, a program for performing an image processing method that performs resolution conversion or calculates the number of halftone lines, performs resolution conversion based on the result, switches the input resolution to the halftone detection processing, and performs region separation processing The recorded recording medium can be provided in a portable manner.

記録媒体としては、マイクロコンピュータで処理が行われるために図示しないメモリ、例えばROMのようなプログラムメディアであってもよく、図示しない外部記憶装置としてのプログラム読取装置が設けられ、そこに記録媒体を挿入することで読み取り可能なプログラムメディアであってもよい。   The recording medium may be a non-illustrated memory, for example, a program medium such as a ROM because processing is performed by a microcomputer, and a program reading device as an external storage device (not illustrated) is provided, and the recording medium is stored therein. It may be a program medium that can be read by being inserted.

いずれの場合においても、格納されているプログラムはマイクロプロセッサがアクセスして実行させる構成であってもよいし、プログラムを読み出し、読み出されたプログラムは、マイクロコンピュータの図示されていないプログラム記憶エリアにダウンロードされて、そのプログラムが実行される方式であってもよい。この場合、ダウンロード用のプログラムは予め本体装置に格納されているものとする。   In any case, the stored program may be configured to be accessed and executed by the microprocessor, and the program is read out, and the read program is stored in a program storage area (not shown) of the microcomputer. A method of downloading and executing the program may be used. In this case, it is assumed that the 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, and includes a tape system such as a magnetic tape and a cassette tape, a magnetic disk such as a floppy (registered trademark) disk and a hard disk, and a CD-ROM / MO /. Disk systems for optical disks such as MD / DVD, card systems such as IC cards (including memory cards) / optical cards, mask ROM, EPROM (Erasable Programmable Read Only Memory), EEPROM (Electrically Erasable Programmable Read Only Memory), flash It may be a medium that carries a fixed program including a semiconductor memory such as a ROM.

また、この場合、インターネットを含む通信ネットワークを接続可能なシステム構成であることから、通信ネットワークからプログラムをダウンロードするように流動的にプログラムを担持する媒体であってもよい。なお、このように通信ネットワークからプログラムをダウンロードする場合には、そのダウンロード用のプログラムは予め本体装置に格納しておくか、あるいは別の記録媒体からインストールされるものであってもよい。   In this case, since the system configuration is capable of connecting a communication network including the Internet, the medium may be a medium that fluidly carries the program so as to download the program from the communication network. When the program is downloaded from the communication network in this way, the download program may be stored in the main device in advance or installed from another recording medium.

上記記録媒体は、デジタルカラー画像形成装置やコンピュータシステムに備えられるプログラム読み取り装置により読み取られることで上述した画像処理方法が実行される。   The recording medium is read by a program reading device provided in a digital color image forming apparatus or a computer system, whereby the above-described image processing method is executed.

なお、上記コンピュータシステムは、フラットベッドスキャナ・フィルムスキャナ・デジタルカメラなどの画像入力装置、所定のプログラムがロードされることにより上記画像処理方法など様々な処理が行われるコンピュータ、コンピュータの処理結果を表示する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 displays the processing results of the computer. An image display device such as a CRT display / liquid crystal display and a printer that outputs the processing results of the computer to paper. Furthermore, a network card, a modem, and the like are provided as communication means for connecting to a server or the like via a network.

本実施の形態においては、本発明の画像処理装置をデジタルカラー複写機に適用した例について説明したが、スキャナに適用してもよい。この場合、図1に示すカラー画像処理装置1のうち、A/D変換部2、シェーディング補正部3、入力階調補正部4、解像度変換部51、領域分離処理部5までを備えればよく、また、図7に示すカラー画像処理装置61のうち、A/D変換部2、シェーディング補正部3、入力階調補正部4、網点線数算出部71、解像度変換部51、領域分離処理部5までを備えればよい。   In the present embodiment, the example in which the image processing apparatus of the present invention is applied to a digital color copying machine has been described, but it may be applied to a scanner. In this case, the color image processing apparatus 1 shown in FIG. 1 may include the A / D conversion unit 2, the shading correction unit 3, the input tone correction unit 4, the resolution conversion unit 51, and the region separation processing unit 5. In the color image processing device 61 shown in FIG. 7, the A / D conversion unit 2, the shading correction unit 3, the input tone correction unit 4, the halftone line number calculation unit 71, the resolution conversion unit 51, and the region separation processing unit. It is sufficient to have up to 5.

上記領域分離処理部5から出力される領域分離信号は、コンピュータ等に送られて後段の画像処理に利用される。   The region separation signal output from the region separation processing unit 5 is sent to a computer or the like and used for subsequent image processing.

また、本発明の画像処理装置は、以下の構成であってもよい。   The image processing apparatus of the present invention may have the following configuration.

すなわち、本発明の画像処理装置は、入力画像データに対して、文字領域・網点領域などの複数の領域に識別する領域分離処理部を備える画像処理装置において、入力画像データの解像度を変換する解像度変換部を備え、上記領域分離処理部が識別する対象の領域に応じて入力画像データの解像度を変える制御部が備えられた構成である。   That is, the image processing apparatus of the present invention converts the resolution of input image data in an image processing apparatus that includes an area separation processing unit that identifies a plurality of areas such as character areas and halftone dot areas for input image data. The image processing apparatus includes a resolution conversion unit and a control unit that changes the resolution of the input image data in accordance with a target area identified by the area separation processing unit.

領域分離処理では局所ブロックの濃度情報を用いて、性質の異なる複数の種別に分類を行う処理である。分類された分類情報を用いて後段の処理を切り替えて出力画質の最適化を行うために利用される。   The area separation process is a process for classifying into a plurality of types having different properties using density information of local blocks. This is used to optimize the output image quality by switching the subsequent processing using the classified information.

領域を分類するためには、所定の局所ブロックとして入力された信号を基に分離を行うが、検出をおこなう種別によって検出に適した解像度が異なっているため、それぞれ検出を行う種別に応じて入力解像度を異ならせることは検出精度向上に効果がある。   In order to classify regions, separation is performed based on signals input as predetermined local blocks, but the resolution suitable for detection differs depending on the type of detection, so input according to the type of detection. Different resolutions are effective in improving detection accuracy.

また、前記領域分離処理部は少なくとも文字を検出する文字検出手段(文字判定部)と、網点領域を検出する網点検出手段(網点判定部)を備えており、制御部は、文字検出手段と網点検出手段で入力画像データの解像度を異ならせていてもよい。   The region separation processing unit includes at least a character detection unit (character determination unit) for detecting characters and a halftone detection unit (halftone determination unit) for detecting a halftone dot region. The resolution of the input image data may be different between the means and the halftone dot detection means.

領域分離処理を行う場合、通常文字を検出する手段と、網点を検出する手段を別の手段として備えている。しかし、それぞれの判別手段ごとに適した入力の解像度が異なっているため、文字検出手段と網点検出手段で入力解像度を異ならせれば最適な入力信号を用いて検出を行うことが可能となり検出精度を高めることが可能となる。   When performing the region separation process, a means for detecting normal characters and a means for detecting halftone dots are provided as separate means. However, since the input resolution suitable for each discriminating means is different, if the input resolution is different between the character detecting means and the halftone detecting means, it is possible to perform detection using the optimum input signal, and the detection accuracy. Can be increased.

上記制御部は、文字検出手段に入力される入力画像データの解像度を高解像度に、網点検出手段に入力される入力画像データの解像度を低解像度としてもよい。   The control unit may set the resolution of the input image data input to the character detection unit to a high resolution and the resolution of the input image data input to the halftone detection unit to a low resolution.

文字領域を検出する場合、後段の処理として強調処理や2値化処理等が考えられるため、文字領域としての検出位置精度が実際の入力画像の文字位置と一致していないとならない。また、文字領域の細かい線の検出を行うためには高解像度の入力が適している。一方、網点領域の検出はできるだけ広範囲の信号の波を局所マスク内に入れて検出を行った方が、検出精度が高くなるので低解像度の方が適している。   When detecting a character region, enhancement processing, binarization processing, or the like can be considered as subsequent processing. Therefore, the detection position accuracy as the character region must match the character position of the actual input image. Also, high resolution input is suitable for detecting fine lines in a character area. On the other hand, the detection of the halftone dot region is preferably performed by putting a wave of a signal in a wide range as much as possible into the local mask because the detection accuracy becomes higher.

さらに網点の線数を認識する網点線数算出部を備え、制御部は、網点線数算出部によって認識された線数に応じて前記網点検出手段に入力する解像度を切り替えるようにしてもよい。   Further, a halftone dot number calculating unit for recognizing the number of halftone dot lines is provided, and the control unit switches the resolution input to the halftone dot detecting means according to the number of lines recognized by the halftone dot number calculating unit. Good.

網点の線数に応じて適宜網点検出手段への入力解像度を切り替えることが可能となり、最適な入力解像度を用いてさらに精度良く網点検出を実施することができる。   It is possible to switch the input resolution to the halftone detection unit as appropriate according to the number of halftone lines, and it is possible to perform halftone detection with higher accuracy using the optimum input resolution.

本発明の画像処理方法は、入力画像データに対して、文字領域・網点領域などの複数の領域に識別する領域分離処理工程を備える画像処理方法において、入力画像データの解像度を変換する解像度変換工程を備え、上記領域分離処理工程において、識別する対象の領域に応じて入力画像データの解像度を変える解像度変換工程が備えられていることを特徴としている。   The image processing method of the present invention is a resolution conversion for converting the resolution of input image data in an image processing method including an area separation process step for identifying a plurality of areas such as a character area and a halftone dot area for input image data. And a resolution conversion step of changing the resolution of the input image data in accordance with the region to be identified in the region separation processing step.

前記領域分離処理部工程は少なくとも文字を検出する文字検出工程と、網点領域を検出する網点検出工程を備えており、解像度変換工程は、文字検出工程と網点検出工程とで入力画像データの解像度を異ならせてもよい。   The region separation processing unit step includes at least a character detection step for detecting characters and a halftone dot detection step for detecting a halftone dot region, and the resolution conversion step includes input image data in the character detection step and the halftone dot detection step. Different resolutions may be used.

さらに網点の線数を認識する網点線数算出工程を備え、解像度変換工程は、網点線数算出工程によって認識された線数に応じて解像度を設定し、識別する領域によって切り替えてもよい。   Further, a halftone dot number calculating step for recognizing the number of halftone dot lines may be provided, and the resolution conversion step may set the resolution according to the number of lines recognized by the halftone dot number calculating step, and may be switched depending on the area to be identified.

なお、本発明は、上述した各実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能であり、各実施形態にそれぞれ開示された技術的手段を適宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。   The present invention is not limited to the above-described embodiments, and various modifications can be made within the scope of the claims, and the technical means disclosed in each embodiment can be appropriately combined. Such embodiments are also included in the technical scope of the present invention.

本発明の画像処理方法は、デジタルカラー複写機に適用できるが、その他に、画像データを入力して出力される画像データの再現性の向上を図る必要のある装置であれば、どのような装置であっても適用できる。このような装置として、例えば、スキャナ等の画像読取装置がある。   The image processing method of the present invention can be applied to a digital color copying machine, but any other apparatus that is required to improve the reproducibility of image data that is input and output by image data. Even applicable. An example of such an apparatus is an image reading apparatus such as a scanner.

本発明の実施形態を示すものであり、デジタルカラー複写機の要部構成を示すブロック図である。1, showing an embodiment of the present invention, is a block diagram showing a main configuration of a digital color copying machine. FIG. 図1に示すデジタルカラー複写機の領域分離処理部の要部構成を示すブロック図である。FIG. 2 is a block diagram showing a main configuration of a region separation processing unit of the digital color copying machine shown in FIG. 1. 図2に示す領域分離処理部における領域分離処理を模式的に示した説明図である。It is explanatory drawing which showed typically the area | region separation process in the area | region separation process part shown in FIG. 解像度変換による情報量の相違を示す図である。It is a figure which shows the difference in the information content by resolution conversion. (a)〜(c)は文字領域の検出処理工程を示し、(d)〜(f)は網点領域の検出工程を示す説明図である。(A)-(c) shows the detection process process of a character area, (d)-(f) is explanatory drawing which shows the detection process of a halftone dot area | region. (a)〜(c)は文字領域の検出処理工程を示し、(d)〜(f)は網点領域の検出工程を示す説明図である。(A)-(c) shows the detection process process of a character area, (d)-(f) is explanatory drawing which shows the detection process of a halftone dot area | region. 本発明の他の実施形態を示すものであり、デジタルカラー複写機の要部構成を示すブロック図である。FIG. 10 is a block diagram illustrating a main configuration of a digital color copying machine according to another embodiment of the present invention. 図7に示す領域分離処理部の要部構成を示すブロック図である。It is a block diagram which shows the principal part structure of the area | region separation process part shown in FIG. 図8に示す領域分離処理部における領域分離処理を模式的に示した説明図である。It is explanatory drawing which showed typically the area | region separation process in the area | region separation process part shown in FIG. (a)は、網点線数検出のための基準原稿を示す図であり、(b)は、線数と解像度との関係に基づいた網点検出率を示す表である。(A) is a figure which shows the reference | standard original for halftone dot number detection, (b) is a table | surface which shows the halftone dot detection rate based on the relationship between a line number and resolution. 図7に示す領域分離処理部における処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process in the area | region separation process part shown in FIG. (a)〜(c)は、網点領域における線数算出処理工程を示す図である。(A)-(c) is a figure which shows the line number calculation process process in a halftone dot area | region. 網点線数と周波数との関係を示す図である。It is a figure which shows the relationship between the number of halftone lines, and a frequency. 網点線数と周波数との関係を示す図である。It is a figure which shows the relationship between the number of halftone lines, and a frequency. 網点線数と周波数との関係を示す図である。It is a figure which shows the relationship between the number of halftone lines, and a frequency. 本発明のソフトウェアを実現するコンピュータの概略構成を示す図である。It is a figure which shows schematic structure of the computer which implement | achieves the software of this invention.

符号の説明Explanation of symbols

1 カラー画像処理装置
2 A/D変換部
3 シェーディング補正部
4 入力階調補正部
5 領域分離処理部
7 色補正部
8 黒生成下色除去部
9 空間フィルタ処理部
10 出力階調補正部
11 階調再現処理部
12 操作パネル
13 カラー画像入力装置
14 カラー画像出力装置
20 文字検出部
21 網点検出部
22 判定部
51 解像度変換部
52 制御部
53 メモリ
61 カラー画像処理装置
71 網点線数算出部
101 コンピュータ
102 プリンタ・ドライバ
103 色補正部
104 空間フィルタ処理部
105 階調再現処理部
106 プリンタ言語翻訳部
107 通信ポートドライバ
108 通信ポート
109 プリンタ
DESCRIPTION OF SYMBOLS 1 Color image processing apparatus 2 A / D conversion part 3 Shading correction part 4 Input gradation correction part 5 Area separation process part 7 Color correction part 8 Black generation under color removal part 9 Spatial filter processing part 10 Output gradation correction part 11 Floor Tone reproduction processing unit 12 Operation panel 13 Color image input device 14 Color image output device 20 Character detection unit 21 Halftone detection unit 22 Determination unit 51 Resolution conversion unit 52 Control unit 53 Memory 61 Color image processing device 71 Halftone line number calculation unit 101 Computer 102 Printer driver 103 Color correction unit 104 Spatial filter processing unit 105 Tone reproduction processing unit 106 Printer language translation unit 107 Communication port driver 108 Communication port 109 Printer

Claims (8)

入力画像データに対して、文字領域・網点領域などの複数の領域に識別する処理を行う領域分離処理部と、
上記領域分離処理部に入力される入力画像データの解像度を変換する解像度変換部と、
上記領域分離処理部が識別する対象の領域に応じて入力画像データの解像度を変換するように解像度変換部を制御する制御部と、
前記入力画像データに対して、網点の線数を認識する網点線数算出部と、を備え、
上記制御部は、さらに、上記網点線数算出部によって認識された線数が分類される段階に応じて上記領域分離処理部に入力する入力画像データの解像度を切り替えるように上記解像度変換部を制御し、
上記線数が分類される段階の境界値および段階の数は、任意に変更可能であることを特徴とする画像処理装置。
An area separation processing unit that performs processing for identifying a plurality of areas such as a character area and a halftone dot area for input image data;
A resolution conversion unit that converts the resolution of the input image data input to the region separation processing unit;
A control unit that controls the resolution conversion unit so as to convert the resolution of the input image data in accordance with the target region identified by the region separation processing unit;
A halftone line number calculation unit for recognizing the number of halftone lines for the input image data ,
The control unit further controls the resolution conversion unit to switch the resolution of the input image data to be input to the region separation processing unit according to the stage in which the number of lines recognized by the halftone line number calculation unit is classified. And
An image processing apparatus, wherein the boundary value and the number of stages at which the number of lines is classified can be arbitrarily changed.
上記領域分離処理部は、少なくとも文字を検出する文字検出手段と、網点領域を検出する網点検出手段とを備えており、
上記制御部は、上記文字検出手段に入力される入力画像データの解像度と上記網点検出手段に入力される入力画像データの解像度とが異なるように上記解像度変換部を制御することを特徴とする請求項1に記載の画像処理装置。
The region separation processing unit includes at least character detection means for detecting a character and halftone dot detection means for detecting a halftone dot region,
The control unit controls the resolution conversion unit so that a resolution of input image data input to the character detection unit is different from a resolution of input image data input to the halftone detection unit. The image processing apparatus according to claim 1.
上記制御部は、上記網点検出手段に入力される入力画像データの解像度を、上記文字検出手段に入力される入力画像データの解像度よりも低くなるように上記解像度変換部を制御することを特徴とする請求項2に記載の画像処理装置。   The control unit controls the resolution conversion unit so that the resolution of the input image data input to the halftone dot detection unit is lower than the resolution of the input image data input to the character detection unit. The image processing apparatus according to claim 2. 請求項1から3項の何れかに記載の画像処理装置を備えることを特徴とする画像形成装置。   An image forming apparatus comprising the image processing apparatus according to claim 1. 入力画像データに対して、文字領域・網点領域などの複数の領域に識別する領域分離処理工程を備える画像処理方法において、
上記領域分離処理工程において、識別する対象の領域に応じて入力画像データの解像度を変える解像度変換工程と、
前記入力画像データに対して、網点の線数を認識する網点線数算出工程と、を含み、
上記解像度変換工程では、さらに、上記網点線数算出工程によって認識された線数が分類される段階に応じて上記解像度を切り替えるようになっており、
上記線数が分類される段階の境界値および段階の数は、任意に変更可能であることを特徴とする画像処理方法。
In an image processing method including an area separation process step for identifying a plurality of areas such as a character area and a halftone dot area for input image data,
In the region separation processing step, a resolution conversion step of changing the resolution of the input image data according to the region to be identified,
A halftone dot number calculating step for recognizing the number of halftone dots for the input image data ,
In the resolution conversion step, the resolution is further switched according to the stage where the number of lines recognized by the halftone line number calculation step is classified.
An image processing method characterized in that the boundary value and the number of stages at which the number of lines is classified can be arbitrarily changed.
上記領域分離処理工程は、少なくとも文字を検出する文字検出工程と、網点領域を検出する網点検出工程とを備えており、
上記解像度変換工程は、上記文字検出工程と上記網点検出工程とで入力画像データの解像度を異ならせていることを特徴とする請求項5に記載の画像処理方法。
The region separation processing step includes a character detection step for detecting at least a character, and a halftone dot detection step for detecting a halftone dot region,
6. The image processing method according to claim 5, wherein in the resolution conversion step, the resolution of the input image data is made different between the character detection step and the halftone dot detection step.
コンピュータに、文字領域・網点領域などの複数の領域に識別する領域分離処理を実行させるコンピュータプログラムであって、
請求項1〜3のいずれか1項に記載の画像処理装置の各部として上記コンピュータを機能させることを特徴とするコンピュータプログラム。
A computer program for causing a computer to execute an area separation process for identifying a plurality of areas such as a character area and a halftone dot area,
A computer program for causing the computer to function as each unit of the image processing apparatus according to claim 1.
請求項7に記載のプログラムをコンピュータに実行可能に格納したことを特徴とするコンピュータ読取可能な記録媒体。   A computer-readable recording medium, wherein the program according to claim 7 is stored in a computer so as to be executable.
JP2003412358A 2003-12-10 2003-12-10 Image processing method, image processing apparatus and image forming apparatus, computer program, and computer-readable recording medium Expired - Fee Related JP4149368B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003412358A JP4149368B2 (en) 2003-12-10 2003-12-10 Image processing method, image processing apparatus and image forming apparatus, computer program, and computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003412358A JP4149368B2 (en) 2003-12-10 2003-12-10 Image processing method, image processing apparatus and image forming apparatus, computer program, and computer-readable recording medium

Publications (2)

Publication Number Publication Date
JP2005175824A JP2005175824A (en) 2005-06-30
JP4149368B2 true JP4149368B2 (en) 2008-09-10

Family

ID=34732826

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003412358A Expired - Fee Related JP4149368B2 (en) 2003-12-10 2003-12-10 Image processing method, image processing apparatus and image forming apparatus, computer program, and computer-readable recording medium

Country Status (1)

Country Link
JP (1) JP4149368B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008028550A (en) * 2006-07-19 2008-02-07 Ricoh Co Ltd Image processor, image processing method, and program
JP5144356B2 (en) * 2008-04-24 2013-02-13 キヤノン株式会社 Image processing apparatus and image processing method
JP2010114578A (en) * 2008-11-05 2010-05-20 Ricoh Co Ltd Image processing apparatus
JP5672872B2 (en) * 2010-09-08 2015-02-18 株式会社リコー Image forming apparatus

Also Published As

Publication number Publication date
JP2005175824A (en) 2005-06-30

Similar Documents

Publication Publication Date Title
JP4137890B2 (en) Image processing apparatus, image forming apparatus, image reading processing apparatus, image processing method, image processing program, and computer-readable recording medium
US7502150B2 (en) Color converting device, image forming apparatus, color conversion method, computer program and recording medium
JP4166744B2 (en) Image processing apparatus, image forming apparatus, image processing method, computer program, and recording medium
JP4139834B2 (en) Image processing apparatus, image forming apparatus, image reading apparatus, image processing method, image processing program, and computer-readable recording medium recording image processing program
JP4331159B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium therefor
JP4170353B2 (en) Image processing method, image processing apparatus, image reading apparatus, image forming apparatus, program, and recording medium
JP4531606B2 (en) Image processing apparatus, image forming apparatus, and image processing method
JP3784649B2 (en) Image processing apparatus, image forming apparatus including the same, and image processing method
JP4496239B2 (en) Image processing method, image processing apparatus, image forming apparatus, image reading apparatus, computer program, and recording medium
JP2009038537A (en) Image processor, image formation device, image processing program, and recording medium for recording image processing program therein
JP4115999B2 (en) Image processing apparatus, image forming apparatus, image reading processing apparatus, image processing method, image processing program, and computer-readable recording medium
JP2007067932A (en) Image processing apparatus and method thereof
JP4402090B2 (en) Image forming apparatus, image forming method, program, and recording medium
JP4149368B2 (en) Image processing method, image processing apparatus and image forming apparatus, computer program, and computer-readable recording medium
JP4549227B2 (en) Image processing apparatus, image forming apparatus, image processing method, computer program, and recording medium
JP2001223915A (en) Image processing method, image processor, and image forming device
JP4545766B2 (en) Image processing apparatus, image forming apparatus, image reading apparatus, image processing program, and recording medium
JP2011015172A (en) Device for processing image, device for forming image, method and program for processing image, and recording medium recording program for processing image
JP7123752B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium
JP4080252B2 (en) Image processing apparatus, image forming apparatus, image processing method, program, and recording medium
JP2003264701A (en) Image processing method, image processor and image forming device provided with the same
JP3767210B2 (en) Document type determination device and image processing device
JP4958626B2 (en) Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium
JP4086537B2 (en) Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium
JP2009055121A (en) Image processing device, image processing method, image forming apparatus and program, recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060125

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070816

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070828

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071026

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20071026

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080122

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080324

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

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

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

Free format text: PAYMENT UNTIL: 20110704

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4149368

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110704

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120704

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120704

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130704

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees