JP2010166448A - Image processing method, image processing apparatus, image forming apparatus with the same, image processing program and recording medium - Google Patents

Image processing method, image processing apparatus, image forming apparatus with the same, image processing program and recording medium Download PDF

Info

Publication number
JP2010166448A
JP2010166448A JP2009008253A JP2009008253A JP2010166448A JP 2010166448 A JP2010166448 A JP 2010166448A JP 2009008253 A JP2009008253 A JP 2009008253A JP 2009008253 A JP2009008253 A JP 2009008253A JP 2010166448 A JP2010166448 A JP 2010166448A
Authority
JP
Japan
Prior art keywords
image
image quality
quality level
image data
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2009008253A
Other languages
Japanese (ja)
Other versions
JP5058183B2 (en
Inventor
Hiromichi Nakayama
裕理 中山
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 JP2009008253A priority Critical patent/JP5058183B2/en
Publication of JP2010166448A publication Critical patent/JP2010166448A/en
Application granted granted Critical
Publication of JP5058183B2 publication Critical patent/JP5058183B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processing apparatus for providing an excellent output image by improving image quality deterioration that has occurred in compressed image data. <P>SOLUTION: The image processing apparatus 3 includes; a region separating section 13 for separating image data into regions such as a character region and a dot region; an image quality level determining section 11 for determining an image quality level of compressed image data; a JPEG expanding section 12 for applying decoding processing to the compressed image data; and a spatial filtering section 16 for applying filtering processing to the image data decoded by the JPEG expanding section 12 by setting a coefficient of filtering processing on the basis of a region separation result obtained in the region separating section 13 and the image quality level determined in the image quality level determining section 11. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、圧縮された画像データを高画質に復号するための画像処理方法、画像処理装置、ならびにそれを備える画像形成装置、画像処理プログラムおよび記録媒体に関する。   The present invention relates to an image processing method for decoding compressed image data with high image quality, an image processing apparatus, an image forming apparatus including the image processing apparatus, an image processing program, and a recording medium.

近年のデジタル複合機(Multifunction Peripheral:略称MFP)には、画像データをハードディスクへファイリングする機能や、Scan-to-Emailといったイメージ送信機能などが搭載されている。このような機器では、画像データを保存、送信する際に画像データに対する圧縮処理が実施されており、その方式としてはおもにJPEG(Joint
Photographic Experts Group)圧縮方式が広く用いられている。
In recent years, multifunction peripherals (abbreviated as MFP) are equipped with a function for filing image data to a hard disk, an image transmission function such as scan-to-email, and the like. In such a device, when image data is stored and transmitted, compression processing is performed on the image data. As a method, mainly JPEG (Joint
Photographic Experts Group) compression method is widely used.

標準的なJPEG圧縮方式においては、量子化テーブル、サンプリング比など、いくつかのパラメータを設定することが可能である。これらのパラメータは圧縮画像の画質と圧縮率とのトレードオフを担うものであり、たとえば画質重視、圧縮率重視、もしくは両者を平均的に保つことを重視した設定という風に目的・嗜好に応じて調整することが可能であり、文字モードや写真モードなどの画像モードが選べる複写機やスキャナにおいては、画質と圧縮率とを考慮して様々な原稿に対応できる圧縮パラメータ(量子化テーブル)を選択できるように構成されている。   In the standard JPEG compression method, several parameters such as a quantization table and a sampling ratio can be set. These parameters are responsible for the trade-off between image quality and compression rate of compressed images. For example, depending on the purpose and preference, such as emphasizing image quality, emphasizing the compression rate, or setting emphasizing maintaining both on average. For copiers and scanners that can be adjusted and can select image modes such as character mode and photo mode, select compression parameters (quantization tables) that can handle a variety of documents in consideration of image quality and compression rate. It is configured to be able to.

このように画像データに圧縮処理を施した場合、たとえば、ブロックノイズやリンギングノイズに代表されるノイズが、復号化された画像データに発生する場合がある。ブロックノイズは、画像がブロック状に分割されて見えるようなノイズであり、リンギングノイズは、モスキートノイズとも呼ばれ、画像内の輪郭の周囲等に顕れる霧状のノイズである。そこで、復号された画像データからノイズを低減するために、復号化された画像データに対して、平滑化処理を切り替える処理や中間調処理を切り替える処理がされている。   When compression processing is performed on image data in this way, for example, noise typified by block noise or ringing noise may occur in decoded image data. Block noise is noise that makes an image appear to be divided into blocks, and ringing noise is also referred to as mosquito noise, and is foggy noise that appears around the contour of an image. Therefore, in order to reduce noise from the decoded image data, a process for switching the smoothing process and a process for switching the halftone process are performed on the decoded image data.

従来の技術では、復号された画像データにおいて、ブロックノイズ、リンギングノイズが生じているか否かの判定を行い、判定結果に基づいてフィルタ処理、中間調処理(誤差拡散処理)の切り替えを行う(たとえば特許文献1参照)。具体的には、復号された画像データを複数のブロックに分割し、注目ブロックと注目ブロック周辺の周辺ブロック(たとえば、8ブロック)について、ブロック毎の分散値の平均値を算出してブロックノイズが生じているか否か判定を行い、ブロックノイズが生じていると判定された場合、全ブロックの分散と閾値との比較を行ってノイズレベルを判定し、ノイズレベルに応じて平滑化の度合いを変更してフィルタ処理を行う。また、ブロックノイズが生じていないと判定された場合、(1)周辺ブロックの分散値と注目ブロックの分散値、(2)全ブロックの分散値と全ブロックの分散値の分散を用いて、リンギングノイズが生じているか否かの判定を行い、リンギングノイズが生じている場合、ブロックノイズに対する平滑化とは異なる特性の平滑化処理を行う。   In the conventional technology, it is determined whether block noise or ringing noise is generated in the decoded image data, and switching between filter processing and halftone processing (error diffusion processing) is performed based on the determination result (for example, Patent Document 1). Specifically, the decoded image data is divided into a plurality of blocks, and an average value of variance values for each block is calculated for the target block and peripheral blocks around the target block (for example, eight blocks), and block noise is detected. If it is determined that block noise has occurred, the noise level is determined by comparing the variance of all blocks with a threshold value, and the degree of smoothing is changed according to the noise level. To perform filtering. If it is determined that no block noise has occurred, ringing is performed using (1) the variance value of the peripheral block and the variance value of the target block, and (2) the variance value of all blocks and the variance value of all blocks. It is determined whether or not noise is generated. If ringing noise is generated, smoothing processing having characteristics different from smoothing for block noise is performed.

特開2004−343334号公報JP 2004-343334 A

しかしながら従来の技術では、リンギングノイズがあると判定されると一様に平滑化されてしまうために、文字の画質が劣化するおそれがある。   However, in the conventional technique, if it is determined that there is ringing noise, the image is uniformly smoothed, so that the image quality of characters may be deteriorated.

また従来の技術では、分散では網点とブロックノイズとの区別ができず網点が一様に平滑されてしまうために、たとえば印刷物をスキャンした画像データなどの網点原稿に対応できないという問題がある。   Further, in the conventional technique, halftone dots and block noise cannot be distinguished by dispersion, and the halftone dots are uniformly smoothed. Therefore, for example, there is a problem that halftone originals such as image data obtained by scanning a printed matter cannot be handled. is there.

また従来の技術では、(a)局所領域の分散ではノイズを正しく判定できず不必要に平滑化されてしまう、(b)分散のみではノイズと画像自体の特性とを区別できない、(c)たとえば文字、網点、印画紙写真およびベタおよび下地などの画像の領域に応じてフィルタ係数を適切に切り替えることができない、といった問題から、ノイズを判定する精度が不十分なため不本意な画質劣化を引き起こすおそれがある。   Further, in the conventional technique, (a) noise cannot be correctly determined by local region dispersion, and is unnecessarily smoothed. (B) noise and image characteristics cannot be distinguished only by dispersion. (C) For example, Due to the problem that the filter coefficient cannot be switched appropriately according to the image area such as characters, halftone dots, photographic paper photographs, and solid and background, unintentional image quality degradation due to insufficient accuracy of noise determination. May cause.

したがって本発明の目的は、圧縮された画像データに発生した画質劣化を改善し、良好な出力画像を得ることができる画像処理方法および画像処理装置ならびにそれを備える画像形成装置、画像処理プログラムおよび記録媒体を提供することである。   Accordingly, an object of the present invention is to improve an image quality degradation that has occurred in compressed image data and obtain a good output image, an image processing apparatus, an image forming apparatus including the image processing apparatus, an image processing program, and a recording To provide a medium.

本発明は、圧縮された画像データの量子化テーブルの値をもとに画質レベルを判断する画質レベル判断手段と、
圧縮された画像データに復号処理を施す復号手段と、
画質レベル判断手段で判断された画質レベルに基づきフィルタ処理の係数を設定する係数設定手段と、
復号手段で復号された画像データに対して、係数設定手段で設定された係数を用いてフィルタ処理を施すフィルタ手段と、を備えることを特徴とする画像処理装置である。
The present invention comprises an image quality level judging means for judging an image quality level based on a value of a quantization table of compressed image data,
Decoding means for decoding the compressed image data;
Coefficient setting means for setting a filter processing coefficient based on the image quality level determined by the image quality level determination means;
An image processing apparatus comprising: filter means for performing filter processing on the image data decoded by the decoding means using the coefficient set by the coefficient setting means.

また本発明は、前記復号手段で復号された画像データに対して、文字領域および網点領域の少なくとも一方を含む複数の領域に分離する領域分離手段をさらに備え、
前記係数設定手段は、領域分離手段で得られた領域分離結果と画質レベル判断手段で判断された画質レベルとに基づきフィルタ処理の係数を設定することを特徴とする。
In addition, the present invention further comprises area separation means for separating the image data decoded by the decoding means into a plurality of areas including at least one of a character area and a halftone dot area,
The coefficient setting means sets a filter processing coefficient based on the region separation result obtained by the region separation means and the image quality level determined by the image quality level determination means.

また本発明は、前記画質レベル判断手段は、
圧縮された画像データから量子化テーブルの値を抜き出す情報解析部と、
情報解析部が抜き出した量子化テーブルの値と、予め定める複数の閾値とを比較することによって画質レベルを判断するレベル判断部とを有することを特徴とする。
In the present invention, the image quality level determination means includes:
An information analysis unit that extracts the value of the quantization table from the compressed image data;
It has a level determination unit that determines the image quality level by comparing the quantization table value extracted by the information analysis unit with a plurality of predetermined threshold values.

また本発明は、前記画像処理装置を備えることを特徴とする画像形成装置である。
また本発明は、圧縮された画像データの量子化テーブルの値をもとに画質レベルを判断する画質レベル判断工程と、
圧縮された画像データに復号処理を施す復号工程と、
画質レベル判断工程で判断された画質レベルに基づきフィルタ処理の係数を設定する係数設定工程と、
復号工程で復号された画像データに対して、係数設定工程で設定された係数を用いてフィルタ処理を施すフィルタ工程と、を備えることを特徴とする画像処理方法である。
In addition, the present invention is an image forming apparatus including the image processing apparatus.
The present invention also includes an image quality level determining step for determining an image quality level based on a quantization table value of compressed image data;
A decoding step of decoding the compressed image data;
A coefficient setting step for setting a filter processing coefficient based on the image quality level determined in the image quality level determination step;
And a filtering step of performing a filtering process on the image data decoded in the decoding step using the coefficient set in the coefficient setting step.

また本発明は、前記復号工程で復号された画像データに対して、文字領域および網点領域の少なくとも一方を含む複数の領域に分離する領域分離工程をさらに備え、
前記係数設定工程では、領域分離工程で得られた領域分離結果と画質レベル判断工程で判断された画質レベルとに基づきフィルタ処理の係数を設定することを特徴とする。
The present invention further includes a region separation step of separating the image data decoded in the decoding step into a plurality of regions including at least one of a character region and a halftone dot region,
In the coefficient setting step, a filter processing coefficient is set based on the region separation result obtained in the region separation step and the image quality level determined in the image quality level determination step.

また本発明は、前記画像処理装置を実現するための画像処理プログラムであって、コンピュータを前記の各手段として機能させるための画像処理プログラムである。   Further, the present invention is an image processing program for realizing the image processing apparatus, and is an image processing program for causing a computer to function as each of the means.

また本発明は、前記画像処理プログラムを記録したコンピュータ読み取り可能な記録媒体である。   The present invention is also a computer-readable recording medium on which the image processing program is recorded.

本発明によれば、画像処理装置において圧縮された画像データを復号して出力する際、画質レベル判断手段は、圧縮された画像データの量子化テーブルの値をもとに画質レベルを自動的に判断する。そして、係数設定手段は、画質レベル判断手段で判断された画質レベルに基づいてフィルタ処理を行うフィルタ係数を設定する。そして、フィルタ手段は、復号手段で復号された画像データに対して、係数設定手段で設定されたフィルタ係数を用いてフィルタ処理を施す。このように、画像処理装置は、画質レベル判断手段で自動的に判断された画質レベルに基づいて、フィルタ処理を行うフィルタ係数を自動的に切り替えるので、画質レベルに応じた適切なフィルタ処理を施すことができる。   According to the present invention, when the compressed image data is decoded and output in the image processing apparatus, the image quality level determining means automatically sets the image quality level based on the value of the quantization table of the compressed image data. to decide. Then, the coefficient setting means sets a filter coefficient for performing filter processing based on the image quality level determined by the image quality level determination means. Then, the filter means performs a filtering process on the image data decoded by the decoding means using the filter coefficient set by the coefficient setting means. As described above, the image processing apparatus automatically switches the filter coefficient for performing the filter process based on the image quality level automatically determined by the image quality level determination unit, and therefore performs an appropriate filter process according to the image quality level. be able to.

従来技術の画像処理装置は、圧縮された画像データを復号した後、その画素値の局所特性からノイズレベルを判断してフィルタ係数を切り替えている。そのため、従来技術の画像処理装置では、ノイズを判定する精度が不十分であり、それに伴い不本意なフィルタ処理が施されて画質劣化を引き起こすおそれがある。これに対して本発明の画像処理装置は、圧縮された画像データの量子化テーブルの値をもとに画質レベル(すなわちノイズレベル)を判断してフィルタ係数を切り替えている。つまり、本発明の画像処理装置は、画像データを圧縮する際に設定された画質を担うパラメータである量子化テーブルの値を復号する際にも利用するので、画質レベルを精度よく判断することが可能となる。そして、本発明の画像処理装置は、前述のようにして判断した画質レベルに基づきフィルタ係数を切り替えるので、復号された画像データにおけるブロックノイズやリンギングノイズを適切に除去する最適なフィルタ処理を施すことが可能となる。そのため、本発明の画像処理装置は、従来技術の画像処理装置と比較して、画質劣化を大幅に改善することができる。したがって、本発明の画像処理装置では、高圧縮された画像データであっても低圧縮された画像データであっても常に良好な出力画像を得ることが可能となる。   In the conventional image processing apparatus, after the compressed image data is decoded, the filter coefficient is switched by judging the noise level from the local characteristics of the pixel value. For this reason, in the conventional image processing apparatus, the accuracy of determining the noise is insufficient, and accordingly, unintentional filter processing may be performed and image quality may be deteriorated. In contrast, the image processing apparatus of the present invention determines the image quality level (that is, the noise level) based on the value of the quantization table of the compressed image data, and switches the filter coefficient. That is, the image processing apparatus of the present invention is also used when decoding the quantization table value, which is a parameter responsible for the image quality set when compressing the image data, and therefore can accurately determine the image quality level. It becomes possible. Since the image processing apparatus of the present invention switches the filter coefficient based on the image quality level determined as described above, an optimal filter process for appropriately removing block noise and ringing noise in the decoded image data is performed. Is possible. Therefore, the image processing apparatus of the present invention can significantly improve image quality degradation as compared with the image processing apparatus of the prior art. Therefore, the image processing apparatus of the present invention can always obtain a good output image regardless of whether the image data is highly compressed or low-compressed.

また本発明によれば、画像処理装置において圧縮された画像データを復号して出力する際、画質レベル判断手段は、圧縮された画像データの量子化テーブルの値をもとに画質レベルを自動的に判断する。そして、係数設定手段は、領域分離手段で得られた領域分離結果と、画質レベル判断手段で判断された画質レベルに基づいてフィルタ処理を行うフィルタ係数を設定する。そして、フィルタ手段は、復号手段で復号された画像データに対して、係数設定手段で設定されたフィルタ係数を用いてフィルタ処理を施す。このように、画像処理装置は、領域分離手段で分離された領域の種類と、画質レベル判断手段で自動的に判断された画質レベルとに基づいて、フィルタ処理を行うフィルタ係数を自動的に切り替えるので、圧縮された画像データに発生した画質劣化のレベルと、文字領域および網点領域を含む複数の領域に応じた適切なフィルタ処理が可能であり、さまざまな構成要素(領域)からなる画像データに対して、高画質な出力画像を得ることができる。したがって、圧縮された画像データに発生した文字周辺のモスキートノイズや、網点などの写真中のブロックノイズを適切に除去することができ、高圧縮された画像データであっても低圧縮された画像データであっても常に良好な出力画像を得ることが可能となる。   According to the present invention, when the compressed image data is decoded and output by the image processing apparatus, the image quality level determining means automatically sets the image quality level based on the value of the quantization table of the compressed image data. Judgment. The coefficient setting means sets a filter coefficient for performing filter processing based on the region separation result obtained by the area separation means and the image quality level determined by the image quality level determination means. Then, the filter means performs a filtering process on the image data decoded by the decoding means using the filter coefficient set by the coefficient setting means. As described above, the image processing apparatus automatically switches the filter coefficient for performing the filter processing based on the type of the region separated by the region separating unit and the image quality level automatically determined by the image quality level determining unit. Therefore, it is possible to perform appropriate filter processing according to the level of image quality degradation occurring in the compressed image data and a plurality of areas including the character area and the halftone dot area, and image data consisting of various components (areas). In contrast, a high-quality output image can be obtained. Therefore, mosquito noise around characters generated in compressed image data and block noise in photographs such as halftone dots can be properly removed, and even low-compressed images can be compressed. Even with data, it is possible to always obtain a good output image.

また本発明によれば、画質レベル判断手段において情報解析部が、圧縮された画像データから量子化テーブルの値を抜き出す。そして、レベル判断部が、情報解析部が抜き出した量子化テーブルの値と、予め定める複数の閾値とを比較することによって画質レベルを判断する。このように、画質レベル判断手段では、レベル判断部が量子化テーブルの値に基づいて画質レベルを判断するので、圧縮された画像データに発生した画質劣化の度合いを容易にかつ精度よく判断することができる。   According to the invention, the information analysis unit extracts the value of the quantization table from the compressed image data in the image quality level determination means. Then, the level determination unit determines the image quality level by comparing the quantization table value extracted by the information analysis unit with a plurality of predetermined threshold values. In this way, in the image quality level determination means, the level determination unit determines the image quality level based on the value of the quantization table, so that it is possible to easily and accurately determine the degree of image quality degradation that has occurred in the compressed image data. Can do.

また本発明によれば、画像形成装置は、前記画像処理装置を備える。画像処理装置が有する係数設定手段は、画質レベル判断手段で判断された画質レベルに応じて最適なフィルタ処理を行うことができるため、高圧縮された画像データであっても低圧縮された画像データであっても常に良好な出力画像を得ることが可能な画像形成装置を提供することができる。   According to the invention, an image forming apparatus includes the image processing apparatus. The coefficient setting means included in the image processing apparatus can perform optimum filter processing according to the image quality level determined by the image quality level determination means, so that even if the image data is highly compressed, the image data is low-compressed. However, it is possible to provide an image forming apparatus that can always obtain a good output image.

また本発明によれば、圧縮された画像データを復号して出力する際、画質レベル判断工程では、圧縮された画像データの量子化テーブルの値をもとに画質レベルを自動的に判断する。そして、係数設定工程では、画質レベル判断工程で判断された画質レベルに基づいてフィルタ処理を行うフィルタ係数を設定する。そして、フィルタ工程では、復号工程で復号された画像データに対して、係数設定工程で設定されたフィルタ係数を用いてフィルタ処理を施す。このように、本発明の画像処理方法では、画質レベル判断工程で自動的に判断された画質レベルに基づいて、フィルタ処理を行うフィルタ係数を自動的に切り替えるので、画質レベルに応じた適切なフィルタ処理を施して、圧縮された画像データに発生した画質劣化を改善することができ、高圧縮された画像データであっても低圧縮された画像データであっても常に良好な出力画像を得ることが可能となる。   According to the present invention, when the compressed image data is decoded and output, the image quality level determining step automatically determines the image quality level based on the value of the quantization table of the compressed image data. In the coefficient setting step, a filter coefficient for performing filter processing is set based on the image quality level determined in the image quality level determination step. In the filtering step, the image data decoded in the decoding step is filtered using the filter coefficient set in the coefficient setting step. As described above, according to the image processing method of the present invention, the filter coefficient for performing the filter processing is automatically switched based on the image quality level automatically determined in the image quality level determination step. Processing can improve image quality degradation that occurs in compressed image data, and always obtain a good output image regardless of whether it is highly compressed image data or low-compressed image data Is possible.

また本発明によれば、圧縮された画像データを復号して出力する際、画質レベル判断工程では、圧縮された画像データの量子化テーブルの値をもとに画質レベルを自動的に判断する。そして、係数設定工程では、領域分離工程で得られた領域分離結果と、画質レベル判断工程で判断された画質レベルに基づいてフィルタ処理を行うフィルタ係数を設定する。そして、フィルタ工程では、復号工程で復号された画像データに対して、係数設定工程で設定されたフィルタ係数を用いてフィルタ処理を施す。このように、本発明の画像処理方法では、領域分離工程で分離された領域の種類と、画質レベル判断工程で自動的に判断された画質レベルとに基づいて、フィルタ処理を行うフィルタ係数を自動的に切り替えるので、圧縮された画像データに発生した画質劣化のレベルと、文字領域および網点領域を含む複数の領域に応じた適切なフィルタ処理が可能であり、さまざまな構成要素(領域)からなる画像データに対して、高画質な出力画像を得ることができる。したがって、圧縮された画像データに発生した文字周辺のモスキートノイズや、網点などの写真中のブロックノイズを適切に除去することができ、高圧縮された画像データであっても低圧縮された画像データであっても常に良好な出力画像を得ることが可能となる。   According to the present invention, when the compressed image data is decoded and output, the image quality level determining step automatically determines the image quality level based on the value of the quantization table of the compressed image data. In the coefficient setting step, a filter coefficient for performing filter processing is set based on the region separation result obtained in the region separation step and the image quality level determined in the image quality level determination step. In the filtering step, the image data decoded in the decoding step is filtered using the filter coefficient set in the coefficient setting step. As described above, in the image processing method of the present invention, the filter coefficient for performing the filter processing is automatically set based on the type of the region separated in the region separation step and the image quality level automatically determined in the image quality level determination step. Therefore, it is possible to perform appropriate filtering according to the level of image quality degradation that has occurred in the compressed image data and multiple areas including the character area and the dot area, and from various components (areas) A high-quality output image can be obtained for the image data. Therefore, mosquito noise around characters generated in compressed image data and block noise in photographs such as halftone dots can be properly removed, and even low-compressed images can be compressed. Even with data, it is possible to always obtain a good output image.

また本発明によれば、画像処理プログラムは、コンピュータによって前記画像処理装置を実現することができる。   According to the invention, the image processing program can realize the image processing apparatus by a computer.

また本発明によれば、記録媒体は、前記画像処理プログラムを記録したコンピュータ読み取り可能な媒体である。パーソナルコンピュータなどの汎用コンピュータに、記録媒体に記録される前記画像処理プログラムを読み込ませることによって、入力された圧縮画像データの画質レベルに応じて最適なフィルタ処理を施すことができ、良好な画像を出力することができる。   According to the invention, the recording medium is a computer-readable medium on which the image processing program is recorded. By causing the general-purpose computer such as a personal computer to read the image processing program recorded on the recording medium, it is possible to perform optimum filtering according to the image quality level of the input compressed image data, and to obtain a good image. Can be output.

本発明の実施の一形態である画像形成装置1の構成を示すブロック図である。1 is a block diagram illustrating a configuration of an image forming apparatus 1 according to an embodiment of the present invention. 画質レベル判断部11の構成を示すブロック図である。3 is a block diagram illustrating a configuration of an image quality level determination unit 11. FIG. JPEGコードのヘッダー情報に含まれる量子化テーブルQの座標を示す図である。It is a figure which shows the coordinate of the quantization table Q contained in the header information of a JPEG code. 文字領域の高濃度側および低濃度側の分離の様子を示す図である。It is a figure which shows the mode of separation of the high density side and low density side of a character area. フィルタ係数の一例を示す図である。It is a figure which shows an example of a filter coefficient. 空間フィルタ部16の構成を示すブロック図である。3 is a block diagram showing a configuration of a spatial filter unit 16. FIG. 図5に示される各フィルタ係数の周波数特性を示すグラフである。It is a graph which shows the frequency characteristic of each filter coefficient shown by FIG. 図5に示される各フィルタ係数の周波数特性を示すグラフである。It is a graph which shows the frequency characteristic of each filter coefficient shown by FIG. 画像形成装置1における画像処理の動作を示すフローチャートである。3 is a flowchart showing an image processing operation in the image forming apparatus 1. 本発明の実施の他の形態の画像形成装置30の構成を示すブロック図である。It is a block diagram which shows the structure of the image forming apparatus 30 of other embodiment of this invention. 本発明の実施のさらに他の形態の画像形成装置40の構成を示すブロック図である。It is a block diagram which shows the structure of the image forming apparatus 40 of the further another form of implementation of this invention. 画像形成装置40における画像処理の動作を示すフローチャートである。4 is a flowchart showing an image processing operation in the image forming apparatus 40. コンピュータシステム50の一例を示す構成図である。1 is a configuration diagram illustrating an example of a computer system 50. FIG.

図1は、本発明の実施の一形態である画像形成装置1の構成を示すブロック図である。画像形成装置1は、たとえば、デジタル複写機、あるいはコピア機能、プリンタ機能、ファクシミリ送信機能およびScan to E-mail機能などを備えた複合機として実現される。画像形成装置1は、インターフェイス2と、画像処理装置3と、画像出力装置4とを備えて構成されている。   FIG. 1 is a block diagram showing a configuration of an image forming apparatus 1 according to an embodiment of the present invention. The image forming apparatus 1 is realized, for example, as a digital copying machine or a multi-function machine having a copier function, a printer function, a facsimile transmission function, a Scan to E-mail function, and the like. The image forming apparatus 1 includes an interface 2, an image processing device 3, and an image output device 4.

画像処理装置3は、画質レベル判断部11と、JPEG伸張部12と、領域分離部13と、色補正部14と、黒生成および下色除去部(以下、「黒生成/下色除去部」という)15と、空間フィルタ部16と、中間調生成部17とを備えている。   The image processing apparatus 3 includes an image quality level determination unit 11, a JPEG decompression unit 12, a region separation unit 13, a color correction unit 14, a black generation and under color removal unit (hereinafter “black generation / under color removal unit”). 15), a spatial filter unit 16, and a halftone generation unit 17.

インターフェイス2を介して画像処理装置3に入力される圧縮された画像データ(以下、「圧縮画像データ」という)は、画質レベル判断部11およびJPEG伸張部12へ引き渡される。なお、画質レベル判断部11をJPEG伸張部12の前段に設けるようにしてもよい。   Compressed image data (hereinafter referred to as “compressed image data”) input to the image processing device 3 via the interface 2 is delivered to the image quality level determination unit 11 and the JPEG decompression unit 12. The image quality level determination unit 11 may be provided before the JPEG decompression unit 12.

ここで、インターフェイス2を介して画像処理装置3に入力される圧縮画像データは、RGB(R:赤、G:緑、B:青)のデジタルカラー画像信号(以下、「RGBデジタル信号」という)からなる画像データが、標準的に定められたJPEG(Joint
Photographic Experts Group)圧縮アルゴリズムを用いて符号化処理されて生成される、ヘッダー情報が付加されたJPEGコードである。JPEGコードに付加されるヘッダー情報は、標準的に定められたデータ形式のものであり、画像の幅・高さ、量子化テーブル、ハフマン符号化テーブルおよびサンプリング比などが規定のマーカー記号で区分けされて順に記述されているものである。
Here, the compressed image data input to the image processing device 3 via the interface 2 is an RGB (R: red, G: green, B: blue) digital color image signal (hereinafter referred to as “RGB digital signal”). Image data consisting of the standard JPEG (Joint
Photographic Experts Group) A JPEG code to which header information is added, which is generated by encoding processing using a compression algorithm. The header information added to the JPEG code is in a standard data format, and the image width / height, quantization table, Huffman coding table, sampling ratio, etc. are divided by the specified marker symbols. Are described in order.

図2は、画質レベル判断部11の構成を示すブロック図である。また図3は、JPEGコードのヘッダー情報に含まれる量子化テーブル(Q−テーブル)の座標を示す図である。画質レベル判断部11は、画質レベル判断手段であり、ヘッダー解析部111と量子化テーブル判定部112とを含んで構成されている。   FIG. 2 is a block diagram illustrating a configuration of the image quality level determination unit 11. FIG. 3 is a diagram showing the coordinates of the quantization table (Q-table) included in the header information of the JPEG code. The image quality level determination unit 11 is an image quality level determination unit, and includes a header analysis unit 111 and a quantization table determination unit 112.

ヘッダー解析部111は、情報解析部であり、インターフェイス2から受け渡されたJPEGコードに対して、まずヘッダー情報を抜き出し、次にそのヘッダー情報の所定の区画から量子化テーブルの値を抜き出し、量子化テーブル判定部112へ引き渡す。なお、標準のJPEG規格によりヘッダー情報やその中の量子化テーブルの書き込み区画が定められているため、JPEG規格に準拠しているJPEGコードであれば、ヘッダー解析部111は、量子化テーブルの値を容易に抜き出すことができる。   The header analysis unit 111 is an information analysis unit, which first extracts header information from the JPEG code passed from the interface 2, and then extracts a quantization table value from a predetermined section of the header information. To the conversion table determination unit 112. Note that the header information and the quantization table write section in the standard JPEG standard are defined, so if the JPEG code conforms to the JPEG standard, the header analysis unit 111 determines the value of the quantization table. Can be easily extracted.

量子化テーブル判定部112は、レベル判断部であり、受け渡された量子化テーブルの値に基づき、圧縮画像の画質レベルを判断する。ここで、量子化テーブルは、輝度信号用と色差信号用の2つのテーブルに分かれており、それぞれ8×8個の値からなる。本実施の形態では、量子化テーブル判定部112は、文字や網点などの画質に影響しやすい輝度信号用のテーブルを用いて画質レベルの判断を行う。   The quantization table determination unit 112 is a level determination unit, and determines the image quality level of the compressed image based on the received quantization table value. Here, the quantization table is divided into two tables for luminance signal and color difference signal, each of which consists of 8 × 8 values. In the present embodiment, the quantization table determination unit 112 determines the image quality level using a luminance signal table that easily affects image quality, such as characters and halftone dots.

次に、画質レベル判断部11における画質レベルの判断方法の一例について説明する。本実施の形態では、ヘッダー解析部111は、ヘッダー情報に含まれる量子化テーブルにおける座標(4,4)の値を抜き出す。そして、量子化テーブル判定部112は、閾値処理を行うことで画質レベルを、高画質(画質レベル「4」)、比較的高画質(画質レベル「3」)、比較的低画質(画質レベル「2」)および低画質(画質レベル「1」)の4つのレベルに分ける。すなわち、量子化テーブル判定部112は、表1に示される判断式に基づいて、量子化テーブルの座標(4,4)の値が10以下である場合には、画質レベルが「4」(高画質)であると判断し、10より大きくかつ30以下である場合には、画質レベルが「3」(比較的高画質)であると判断し、30より大きくかつ50以下である場合には、画質レベルが「2」(比較的低画質)であると判断し、50より大きい場合には、画質レベルが「1」(低画質)であると判断する。   Next, an example of the image quality level determination method in the image quality level determination unit 11 will be described. In the present embodiment, the header analysis unit 111 extracts the value of the coordinates (4, 4) in the quantization table included in the header information. Then, the quantization table determination unit 112 performs threshold processing to change the image quality level to high image quality (image quality level “4”), relatively high image quality (image quality level “3”), and relatively low image quality (image quality level “4”). 2 ”) and low image quality (image quality level“ 1 ”). That is, based on the determination formula shown in Table 1, the quantization table determination unit 112 determines that the image quality level is “4” (high) when the value of the coordinate (4, 4) of the quantization table is 10 or less. If the image quality level is greater than 10 and 30 or less, it is determined that the image quality level is “3” (relative image quality). If it is greater than 30 and 50 or less, It is determined that the image quality level is “2” (relatively low image quality), and if it is greater than 50, it is determined that the image quality level is “1” (low image quality).

Figure 2010166448
Figure 2010166448

このように、画質レベル判断部11が、量子化テーブルにおける複数の座標のうち、座標(4,4)の値を用いて画質レベルを判断するように構成されることによって、文字の周波数帯域に発生しやすいモスキートノイズのレベルを精度よく、かつ容易に判断することができる。   As described above, the image quality level determination unit 11 is configured to determine the image quality level using the value of the coordinate (4, 4) among the plurality of coordinates in the quantization table. The level of mosquito noise that tends to occur can be determined accurately and easily.

なお、量子化テーブルの値は、圧縮時に施される量子化の粗さを表しており、量子化テーブルの値が大きいほど粗く量子化され、小さいほど細かく量子化されていることを表すものである。したがって、量子化テーブルの値が大きいほど画質劣化が激しい(つまりモスキートノイズやブロックノイズが強く発生している)画像であると判断でき、量子化テーブルの値が小さいほど画質劣化が少ない(つまりモスキートノイズやブロックノイズがあまり発生していない)画像であると判断できる。なお、座標(0,0)の値は画像の直流成分、それ以外の座標は画像の交流成分に対する量子化の粗さを表している。   The value of the quantization table represents the roughness of the quantization applied at the time of compression. The larger the quantization table value, the coarser the quantization, and the smaller the value, the finer the quantization. is there. Therefore, it can be determined that the larger the quantization table value is, the more the image quality is degraded (that is, the mosquito noise and block noise are strongly generated), and the smaller the quantization table value is, the less the image quality degradation (that is, the mosquito noise). It can be determined that this is an image in which noise and block noise are not so much generated. Note that the value of coordinates (0, 0) represents the DC component of the image, and the other coordinates represent the roughness of quantization for the AC component of the image.

以上のようにして画質レベル判断部11で自動的に判断された画質レベルの情報は、空間フィルタ部16に引き渡されて、フィルタ処理のときに用いられるフィルタ係数を設定するときの考慮条件の1つとなる。   The information of the image quality level automatically determined by the image quality level determination unit 11 as described above is transferred to the spatial filter unit 16 and is one of the consideration conditions when setting the filter coefficient used in the filter processing. Become one.

また、本実施の形態では、画質レベル判断部11は、輝度信号用の量子化テーブルのみを用いて画質レベルを判断するように構成されているが、色差信号用のテーブルを用いて判断するように構成されていてもよい。また、画質レベル判断部11は、量子化テーブルにおける座標(4,4)の値のみを用いて画質レベルを判断するように構成されているが、その他の座標の値を複数組み合わせて画質レベルを判断するように構成されていてもよい。たとえば、画質レベル判断部11は、小さな文字の画質を重視したい場合には、比較的高い周波数帯域に相当する座標(5,5)の値を用いて画質レベルを判断し、小さな文字から大きな文字までいずれの画質も平均的に重視したい場合には、比較的低い周波数帯域から高い周波数帯域に相当する座標(3,3)および座標(5,5)の値を組み合わせて画質レベルを判断するように構成される。さらに、本実施の形態では、画質レベルの段数を4段階で示しているが、段数はこれに限ったものではない。   In the present embodiment, the image quality level determination unit 11 is configured to determine the image quality level using only the luminance signal quantization table. However, the image quality level determination unit 11 determines using the color difference signal table. It may be configured. The image quality level determination unit 11 is configured to determine the image quality level using only the value of the coordinates (4, 4) in the quantization table. However, the image quality level is determined by combining a plurality of other coordinate values. It may be configured to determine. For example, the image quality level determination unit 11 determines the image quality level using the values of the coordinates (5, 5) corresponding to a relatively high frequency band when the image quality of a small character is to be emphasized. If the image quality is to be emphasized on average, the image quality level is determined by combining the values of coordinates (3, 3) and coordinates (5, 5) corresponding to the relatively low to high frequency bands. Configured. Furthermore, in the present embodiment, the number of stages of the image quality level is shown in four stages, but the number of stages is not limited to this.

JPEG伸張部12は、復号手段であり、JPEGコードのヘッダー情報を解読して符号コードを復号化する処理などを施し、RGBデジタル信号の画像データに伸張する。なお、ここで施される処理はすべて標準的に定められたJPEG伸張アルゴリズムに基づくものである。JPEG伸張部12からのRGBデジタル信号は、領域分離部13および色補正部14に与えられる。   The JPEG decompression unit 12 is a decoding unit that performs processing such as decoding the code information by decoding the header information of the JPEG code, and decompresses the image data into an RGB digital signal. Note that all the processing performed here is based on a standardly defined JPEG decompression algorithm. The RGB digital signal from the JPEG decompression unit 12 is given to the region separation unit 13 and the color correction unit 14.

領域分離部13は、領域分離手段であり、JPEG伸張部12で生成されたRGBデジタル信号の画像データに対して、文字領域および網点領域の少なくとも一方を含む複数の領域に分離する。ここで、画像データを複数の領域に分離する処理とは、具体的には、画像データの各画素が、どのような種類の領域に属するか、判定を下す処理である。領域分離部13による領域分離方法の一例は後述するが、領域分離部13は、画像データの各画素を、文字領域、網点領域、およびそれ以外の領域(たとえば下地領域や印画紙写真領域などの領域)に分離し、分離結果を表す信号(以下、「領域分離信号」という)を、黒生成/下色除去部15、空間フィルタ部16、中間調生成部17にそれぞれ引き渡す。これによって、黒生成/下色除去部15、空間フィルタ部16および中間調生成部17において、各種領域に応じた適切な処理の切替えが行われる。   The region separation unit 13 is a region separation unit, and separates the image data of the RGB digital signal generated by the JPEG decompression unit 12 into a plurality of regions including at least one of a character region and a halftone region. Here, the process of separating the image data into a plurality of areas is specifically a process of determining what kind of area each pixel of the image data belongs to. An example of the region separation method by the region separation unit 13 will be described later. The region separation unit 13 converts each pixel of the image data into a character region, a halftone dot region, and other regions (for example, a background region, a photographic paper photograph region, etc.). And a signal representing the separation result (hereinafter referred to as “region separation signal”) is delivered to the black generation / under color removal unit 15, the spatial filter unit 16, and the halftone generation unit 17, respectively. As a result, the black generation / undercolor removal unit 15, the spatial filter unit 16, and the halftone generation unit 17 perform appropriate process switching according to various regions.

色補正部14は、JPEG伸張部12で生成されたRGBデジタル信号の画像データに対して、RGBデジタル信号の補色であるCMY(C:シアン、M:マゼンタ、Y:イエロー)のデジタルカラー画像信号(以下、「CMYデジタル信号」という)を生成するとともに、色再現性を高める処理を施す。色補正部14は、色を忠実に再現するために、不要吸収成分を含むCMY色材の分光特性に基づいた色濁りを取り除く処理を行う。処理方法としては、入力されるRGBデジタル信号と出力されるCMYデジタル信号の対応関係をLUT(ルックアップテーブル)としてもつ方法や、下記式(1)に示すような変換行列を用いるカラーマスキング法などがある。   The color correction unit 14 is a digital color image signal of CMY (C: cyan, M: magenta, Y: yellow) that is a complementary color of the RGB digital signal with respect to the image data of the RGB digital signal generated by the JPEG decompression unit 12. (Hereinafter referred to as “CMY digital signal”) and processing for improving color reproducibility is performed. The color correction unit 14 performs a process of removing color turbidity based on the spectral characteristics of CMY color materials including unnecessary absorption components in order to faithfully reproduce colors. As a processing method, a method of having a correspondence relationship between an input RGB digital signal and an output CMY digital signal as an LUT (Look Up Table), a color masking method using a conversion matrix as shown in the following formula (1), etc. There is.

Figure 2010166448
Figure 2010166448

たとえば、カラーマスキング法を用いる場合には、あるCMYの画像データを画像出力装置4に与えた場合に出力される色のL* * * 値(CIE1976L* * * 信号(CIE:Commission International de l’Eclairage;国際照明委員会、また、L* :明度、a* ,b* :色度))と同じL* * * をもつカラーパッチが読み込まれたRGBの画像データと、画像出力装置4に与えたCMYの画像データの組を多数用意し、それらの組合せより式(1)のa11からa33までの変換行列の係数を算出し、算出した係数を用いて色補正処理を行う。より精度を高めたい場合は、二次以上の高次の項を加えればよい。色補正部14からのCMYデジタル信号は、黒生成/下色除去部15に与えられる。 For example, when the color masking method is used, an L * a * b * value (CIE 1976 L * a * b * signal (CIE: Commission ) of a color output when a certain CMY image data is given to the image output device 4. International de l'Eclairage; the International Lighting Commission, and RGB image data in which color patches having the same L * a * b * as L * : brightness, a * , b * : chromaticity)) are read, A large number of sets of CMY image data given to the image output apparatus 4 are prepared, and coefficients of a transformation matrix from a 11 to a 33 in Expression (1) are calculated from the combinations, and color correction is performed using the calculated coefficients. Process. In order to increase the accuracy, it is only necessary to add a second or higher order term. The CMY digital signal from the color correction unit 14 is given to the black generation / undercolor removal unit 15.

黒生成/下色除去部15は、色補正後のCMYの3色のCMYデジタル信号から黒(K)信号を生成し、元のCMYデジタル信号から生成した黒信号が重なる部分を差し引いて、新たなCMYデジタル信号を生成する処理を行う。これによって、黒生成/下色除去部15は、CMYの3色のCMYデジタル信号をCMYKの4色のCMYKデジタル信号に変換する。   The black generation / under color removal unit 15 generates a black (K) signal from the CMY three-color CMY digital signals after color correction, and subtracts a portion where the black signals generated from the original CMY digital signals overlap, A process for generating a simple CMY digital signal is performed. Thus, the black generation / under color removal unit 15 converts the CMY three-color CMY digital signals into CMYK four-color CMYK digital signals.

また、黒生成/下色除去部15では、黒生成処理の一例として、スケルトンブラックによる黒生成を行う。このスケルトンブラックによる黒生成では、スケルトンカーブの入出力特性をy=f(x)、入力されるC,M,Yのそれぞれに対応する濃度をそれぞれC,M,Yとし、出力されるC,M,Y,Kのそれぞれに対応する濃度をそれぞれC',M',Y',K'とし、UCR(Under Color Removal)率をα(0<α<1)とすると、黒生成/下色除去処理では、以下の式(2)〜式(5)によって、CMYの3色の濃度信号がCMYKの4色の濃度信号に変換される。
K’=f{min(C,M,Y)} …(2)
C’=C−αK’ …(3)
M’=M−αK’ …(4)
Y’=Y−αK’ …(5)
The black generation / undercolor removal unit 15 performs black generation using skeleton black as an example of black generation processing. In the black generation by the skeleton black, the input / output characteristics of the skeleton curve are y = f (x), the densities corresponding to the input C, M, and Y are respectively C, M, and Y, and the output C, When the density corresponding to each of M, Y, and K is C ′, M ′, Y ′, and K ′, and the UCR (Under Color Removal) rate is α (0 <α <1), black generation / under color In the removal process, the density signals of three colors of CMY are converted into density signals of four colors of CMYK by the following formulas (2) to (5).
K ′ = f {min (C, M, Y)} (2)
C ′ = C−αK ′ (3)
M ′ = M−αK ′ (4)
Y ′ = Y−αK ′ (5)

黒生成/下色除去部15は、文字領域のUCR率を1とする。これによって、文字領域に黒色を表す色情報が付加されているとき、記録媒体に形成される画像のうち、文字領域に対応する部分は、Kの記録剤のみによって形成される。   The black generation / undercolor removal unit 15 sets the UCR rate of the character area to 1. As a result, when color information representing black is added to the character area, a portion corresponding to the character area in the image formed on the recording medium is formed only by the K recording agent.

空間フィルタ部16は、係数設定手段として機能し、画質レベル判断部11から引き渡された画質レベルの情報と、領域分離部13から引き渡された領域分離信号とに基づき、画素毎に最適なフィルタ係数を選択して設定する。そして空間フィルタ部16は、フィルタ手段としてとして機能し、設定されたフィルタ係数を用いて、CMYKデジタル信号の画像データに対して強調処理、および平滑処理などのフィルタ処理を施す。空間フィルタ部16が、画像データの空間周波数特性を補正することによって出力画像のぼやけや粒状性劣化を防ぐことができる。空間フィルタ部16におけるフィルタ係数の選択については、後述する。空間フィルタ部16からのCMYKデジタル信号は、中間調生成部17に与えられる。   The spatial filter unit 16 functions as a coefficient setting unit, and based on the image quality level information delivered from the image quality level judgment unit 11 and the region separation signal delivered from the region separation unit 13, an optimum filter coefficient for each pixel. Select and set. The spatial filter unit 16 functions as a filter unit, and performs filter processing such as enhancement processing and smoothing processing on the image data of the CMYK digital signal using the set filter coefficients. The spatial filter unit 16 can prevent blurring of the output image and deterioration of graininess by correcting the spatial frequency characteristics of the image data. The selection of the filter coefficient in the spatial filter unit 16 will be described later. The CMYK digital signal from the spatial filter unit 16 is given to the halftone generation unit 17.

中間調生成部17は、濃度信号などの信号を画像出力装置4の特性値である網点面積率に変換する出力階調補正処理を行う。中間調生成部17は、CMYKデジタル信号の画像データに対し、領域識別信号に基づいて、最終的に画像が擬似的に階調を再現できるように擬似階調再現処理を施す。本実施の形態では、擬似階調再現処理に利用する方法として組織的ディザ法や誤差拡散法などを用いる。   The halftone generation unit 17 performs output gradation correction processing for converting a signal such as a density signal into a halftone dot area ratio that is a characteristic value of the image output device 4. The halftone generation unit 17 performs pseudo gradation reproduction processing on the image data of the CMYK digital signal based on the region identification signal so that the image can finally reproduce the gradation in a pseudo manner. In this embodiment, a systematic dither method, an error diffusion method, or the like is used as a method used for the pseudo gradation reproduction process.

前述した各処理が施された画像データは、画像出力装置4に出力される。画像出力装置4は、たとえば紙などのシート体上にカラーの画像を出力可能なものであり、たとえば電子写真方式プリンタやインクジェット方式プリンタ等の画像を再現する装置である。画像出力装置4は、2色以上の記録剤を用いて記録媒体に画像を形成可能であり、本実施の形態では、C,M,Y,Kのそれぞれの色の記録剤を用いて、紙などシート体に画像を形成することができる。画像出力装置4は、Cのデジタル信号に対応する画像データについては、Cの記録剤を用いて画像を形成し、Mのデジタル信号に対応する画像データについては、Mの記録剤を用いて画像を形成し、Yのデジタル信号に対応する画像データについては、Yの記録剤を用いて画像を形成し、Kのデジタル信号に対応する画像データについては、Kの記録剤を用いて画像を形成する。   The image data that has been subjected to each processing described above is output to the image output device 4. The image output device 4 can output a color image on a sheet material such as paper, and is a device that reproduces an image such as an electrophotographic printer or an inkjet printer. The image output device 4 can form an image on a recording medium using recording agents of two or more colors, and in the present embodiment, paper of each color of C, M, Y, K is used to make paper An image can be formed on a sheet body. The image output device 4 forms an image using the C recording agent for the image data corresponding to the C digital signal, and uses the M recording agent for the image data corresponding to the M digital signal. For image data corresponding to a Y digital signal, an image is formed using a Y recording agent, and for image data corresponding to a K digital signal, an image is formed using a K recording agent. To do.

次に、前記領域分離部13による領域分離方法の一例について説明する。領域分離部13において領域分離処理を行う方法としては、たとえば、特開2002−232708号公報に記載の方法を用いることができる。以下、この方法について簡単に説明する。この方法は、注目画素を含むn×mのブロック(たとえば、7×7画素)における最小濃度値と最大濃度値の差分である最大濃度差と、隣接する画素の濃度差の絶対値の総和である総和濃度繁雑度を算出し、予め定められる複数の閾値と比較することにより文字(文字エッジ)領域・網点領域とその他領域(下地領域・印画紙写真領域)とに分離するものである。領域分離を行うにあたっては、下記の特徴量を用いる。   Next, an example of a region separation method by the region separation unit 13 will be described. As a method of performing the region separation process in the region separation unit 13, for example, a method described in Japanese Patent Laid-Open No. 2002-232708 can be used. Hereinafter, this method will be briefly described. This method is the sum of the maximum density difference which is the difference between the minimum density value and the maximum density value in an n × m block (for example, 7 × 7 pixels) including the target pixel and the absolute value of the density difference between adjacent pixels. A certain sum density busyness is calculated and compared with a plurality of predetermined threshold values to separate a character (character edge) region / halftone dot region and other regions (background region / photographic paper photograph region). In performing the region separation, the following feature amount is used.

(1)下地領域の濃度分布は、通常、濃度変化が少ないので最大濃度差及び総和濃度繁雑度ともに非常に小さくなる。印画紙写真領域(たとえば、印画紙写真のような連続階調領域を、ここでは、印画紙写真領域と表現する。)の濃度分布は、滑らかな濃度変化をしており、最大濃度差及び総和濃度繁雑度はともに小さく、かつ、下地領域よりは多少大きくなる。すなわち、下地領域や印画紙写真領域(その他領域)においては、最大濃度差及び総和濃度繁雑度とも小さい値となる。   (1) Since the density distribution of the base region is usually small in density change, both the maximum density difference and the total density busyness become very small. The density distribution of the photographic paper photograph area (for example, a continuous tone area such as a photographic paper photograph is expressed as a photographic paper photograph area here) has a smooth density change, and the maximum density difference and the total sum. The density complexity is both small and slightly larger than the ground area. That is, in the background area and the photographic paper photograph area (other areas), the maximum density difference and the total density busyness are small values.

(2)網点領域の濃度分布は、最大濃度差は網点によりさまざまであるが、総和濃度繁雑度が網点の数だけ濃度変化が存在するので、最大濃度差に対する総和濃度繁雑度の割合が大きくなる。したがって、最大濃度差と文字・網点判定閾値との積よりも総和濃度繁雑度が大きい場合には、網点画素であると判別することが可能である。   (2) In the density distribution of the halftone dot area, the maximum density difference varies depending on the halftone dot. However, since the total density busyness varies by the number of halftone dots, the ratio of the total density busyness to the maximum density difference Becomes larger. Therefore, when the total density busyness is larger than the product of the maximum density difference and the character / halftone determination threshold, it can be determined that the pixel is a halftone pixel.

(3)文字領域の濃度分布は、最大濃度差が大きく、それに伴い総和濃度繁雑度も大きくなるが、網点領域よりも濃度変化が少ないため、網点領域よりも総和濃度繁雑度は小さくなる。したがって、最大濃度差と文字・網点判定閾値との積よりも総和濃度繁雑度が小さい場合には、文字領域画素であると判別することが可能である。   (3) The density distribution of the character area has a large maximum density difference, and accordingly, the total density busyness increases. However, since the density change is smaller than that of the halftone dot area, the total density busyness becomes smaller than that of the halftone dot area. . Therefore, when the total density busyness is smaller than the product of the maximum density difference and the character / halftone dot determination threshold, it is possible to determine that the pixel is a character area pixel.

次に処理方法について説明する。
(a)算出された最大濃度差と最大濃度差閾値、および、算出された総和濃度繁雑度と総和濃度繁雑度閾値の比較を行う。そして、最大濃度差が最大濃度差閾値よりも小さく、かつ、総和濃度繁雑度が総和濃度繁雑度閾値よりも小さいと判断されたときは、注目画素はその他領域(下地・印画紙写真領域)であると判定し、そうでない場合は、文字・網点領域であると判定する。
Next, a processing method will be described.
(A) The calculated maximum density difference and the maximum density difference threshold, and the calculated total density busyness and the total density busyness threshold are compared. When it is determined that the maximum density difference is smaller than the maximum density difference threshold and the total density busyness is smaller than the total density busyness threshold, the target pixel is the other region (background / photographic paper photo region). If not, it is determined that the area is a character / halftone area.

(b)上記文字・網点領域であると判断された場合、算出された総和濃度繁雑度と最大濃度差に文字・網点判定閾値を掛けた値との比較を行い、総和濃度繁雑度の方が小さければ文字領域であると判定し、総和濃度繁雑度の方が大きければ、網点領域であると判定する。   (B) When it is determined that the region is the character / halftone dot region, the calculated total density busyness is compared with a value obtained by multiplying the maximum density difference by a character / halftone determination threshold, and the total density busyness is calculated. If it is smaller, it is determined to be a character region, and if the total density busyness is larger, it is determined to be a halftone dot region.

(c)文字領域であると判定された画素については、ブロック内の画素値の平均値を求め、注目画素の画素値が平均値以下の場合は高濃度側であると判定し、平均値より大きい場合は低濃度側であると判定する。(本実施の形態ではRGBデジタル信号を用いているため、画素値が小さいほど暗く、画素値が大きいほど明るい画素である。)   (C) For a pixel determined to be a character area, an average value of pixel values in the block is obtained. If the pixel value of the target pixel is equal to or less than the average value, it is determined that the pixel is on the high density side. If it is larger, it is determined that it is on the low concentration side. (In this embodiment, since RGB digital signals are used, the smaller the pixel value, the darker the pixel value, and the larger the pixel value, the brighter the pixel.)

以上の処理は、RGBデジタル信号のうちいずれかひとつの信号(たとえばG信号)を用いて処理を行い、画素毎に得られた判定結果を領域分離信号として出力するものとする。なお、RGBデジタル信号のうち、2つ、または3つの信号を用いて処理を行うようにしてもよい。その場合は、それぞれの信号に対応した領域分離信号を出力するようにしてもよいし、もしくは、画素毎に優先順位をつけて判定することによりひとつの領域分離信号として出力するようにしてもよい。その際の優先順位については、どの領域の判定結果を優先するかという基準で順位を付けてもよいし、または、どの信号に対する判定結果を優先するかという基準で順位を付けてもよい。   The above processing is performed using any one of the RGB digital signals (for example, G signal), and the determination result obtained for each pixel is output as a region separation signal. Note that processing may be performed using two or three of the RGB digital signals. In that case, a region separation signal corresponding to each signal may be output, or may be output as one region separation signal by giving a priority order for each pixel. . In this case, the priority order may be given on the basis of which region the judgment result is given priority, or may be given on the basis of which signal the judgment result is given priority.

以上の処理により、画像データを文字領域、網点領域、その他領域に分離することができ、さらに、文字領域を、高濃度側となる高濃度側文字領域と、低濃度側となる低濃度側文字領域とに分離することができる。   Through the above processing, the image data can be separated into a character area, a halftone dot area, and other areas. Further, the character area is divided into a high density side character area which is a high density side and a low density side which is a low density side. It can be separated into character areas.

図4は、文字領域の高濃度側および低濃度側の分離の様子を示す図である。図4(1)は文字の端部の画像21を表す模式図であり、図4(2)は領域分離部13が領域分離処理を施した結果を表す模式図である。図4(2)では各画素を碁盤目状に示している。文字22のエッジ(下地23と文字22との境界)24付近にあって、文字22の内側にあたる画素は高濃度側と判定され、文字22の外側(下地23)にあたる画素は低濃度側と判定される。モスキートノイズは文字22の外側に目立ちやすく、エッジ24から少し離れた位置に発生しやすい。前記領域分離方法によれば、文字領域はエッジ24に対してある程度の画素幅を持たせて検出することができ、さらに低濃度側はエッジ24から数画素離れた位置まで検出することが可能である。モスキートノイズが文字の周りに発生した場合は、低濃度側文字領域25に対して平滑処理を施すことでノイズを除去することができ、かつ、そのとき、高濃度側文字領域26に対して強調処理を施すことにより、文字を鮮明に再現することができる。   FIG. 4 is a diagram illustrating the separation of the high density side and the low density side of the character area. FIG. 4A is a schematic diagram showing the image 21 at the end of the character, and FIG. 4B is a schematic diagram showing the result of the region separation processing performed by the region separation unit 13. In FIG. 4B, each pixel is shown in a grid pattern. Pixels that are near the edge (the boundary between the background 23 and the character 22) 24 of the character 22 and that are inside the character 22 are determined to be on the high density side, and pixels that are outside the character 22 (background 23) are determined to be on the low density side. Is done. Mosquito noise tends to stand out outside the character 22 and tends to occur at a position slightly away from the edge 24. According to the region separation method, the character region can be detected with a certain pixel width with respect to the edge 24, and further the low density side can be detected up to several pixels away from the edge 24. is there. When mosquito noise is generated around the character, the noise can be removed by performing smoothing processing on the low-density character region 25, and at that time, the high-density character region 26 is emphasized. By applying the processing, the characters can be reproduced clearly.

次に、空間フィルタ部16において、画質レベル判断部11で判断された画質レベルと領域分離部13で生成された領域分離信号とに基づいて設定されるフィルタ係数について説明する。表2は、フィルタ係数の設定例を示す。また図5は、フィルタ係数の一例を示す図である。図5では、フィルタ名と、フィルタ係数と、除算係数とを対応付けして示している。   Next, filter coefficients set in the spatial filter unit 16 based on the image quality level determined by the image quality level determination unit 11 and the region separation signal generated by the region separation unit 13 will be described. Table 2 shows an example of setting filter coefficients. FIG. 5 is a diagram illustrating an example of the filter coefficient. In FIG. 5, the filter name, the filter coefficient, and the division coefficient are shown in association with each other.

Figure 2010166448
Figure 2010166448

表2では、画質レベルの各レベルと、領域分離信号が表す各領域とに対応するフィルタ係数のフィルタ名を示している。画質レベルは、1〜4の4段階を選択可能であり、画質レベル「1」は低画質、画質レベル「2」は比較的低画質、画質レベル「3」は比較的高画質、画質レベル「4」は高画質に、それぞれ対応する。フィルタ係数としては、図5に示すような、強調フィルタ1,2,3と、平滑フィルタ1,2,3,4,5とが設けられている。表2において、領域分離信号の「その他の領域」は、文字領域および網点領域のいずれにも含まれない領域である。その他の領域については、例1,2,3の、3つの例を示している。また「スルー」と記載されている場合、フィルタ処理を行わないことを表している。   Table 2 shows filter names of filter coefficients corresponding to each level of the image quality level and each region represented by the region separation signal. The image quality level can be selected from four levels 1 to 4. The image quality level “1” is low image quality, the image quality level “2” is relatively low image quality, the image quality level “3” is relatively high image quality, and the image quality level “ “4” corresponds to high image quality. As filter coefficients, there are provided enhancement filters 1, 2, 3 and smoothing filters 1, 2, 3, 4, 5 as shown in FIG. In Table 2, “other area” of the area separation signal is an area that is not included in either the character area or the halftone dot area. As for other regions, three examples of Examples 1, 2, and 3 are shown. In addition, when “through” is described, it indicates that the filtering process is not performed.

図6は、空間フィルタ部16の構成を示すブロック図である。空間フィルタ部16は、フィルタ係数選択部161と、演算部162とを備える。フィルタ係数選択部161は、ROMなどのメモリを備え、予め複数組の係数を表2に示すテーブルとして記憶している。またフィルタ係数選択部161に記憶されているフィルタ係数は、さまざまな条件の入力画像と画質レベルのサンプル画像を多数用いて、好ましい出力画像が得られるよう事前に調整されたものとする。   FIG. 6 is a block diagram illustrating a configuration of the spatial filter unit 16. The spatial filter unit 16 includes a filter coefficient selection unit 161 and a calculation unit 162. The filter coefficient selection unit 161 includes a memory such as a ROM, and stores a plurality of sets of coefficients as a table shown in Table 2 in advance. The filter coefficients stored in the filter coefficient selection unit 161 are adjusted in advance so that a preferable output image can be obtained using a large number of input images with various conditions and sample images with image quality levels.

フィルタ係数選択部161は、画質レベルと領域分離信号とに基づいて表2に示されるテーブルを参照してフィルタ係数を選択する。演算部162は、フィルタ係数選択部161によって選択されたフィルタ係数を用いて画像データに畳み込み演算を行う。具体的には、画像データの各画素の値と対応する位置にあるフィルタ係数との積和をとり、除算係数で割った値を中央の画素の出力値とする。   The filter coefficient selection unit 161 selects a filter coefficient with reference to the table shown in Table 2 based on the image quality level and the region separation signal. The calculation unit 162 performs a convolution operation on the image data using the filter coefficient selected by the filter coefficient selection unit 161. Specifically, the product sum of the value of each pixel of the image data and the filter coefficient at the corresponding position is taken, and the value divided by the division coefficient is taken as the output value of the center pixel.

図7および図8は、図5に示される各フィルタ係数の周波数特性を示すグラフである。図7は、強調フィルタ1,2,3のそれぞれの周波数特性を示し、横軸に周波数を示し、縦軸にゲインを示す。また図7において「強調フィルタ」を、単に「強調」と省略して示している。図8は、平滑フィルタ1,2,3,4,5のそれぞれの周波数特性を示し、横軸に周波数を示し、縦軸にゲインを示す。また図8において「平滑フィルタ」を、単に「平滑」と省略して示している。   7 and 8 are graphs showing the frequency characteristics of the filter coefficients shown in FIG. FIG. 7 shows the frequency characteristics of the emphasis filters 1, 2, and 3, the horizontal axis indicates the frequency, and the vertical axis indicates the gain. In FIG. 7, the “enhancement filter” is simply abbreviated as “emphasis”. FIG. 8 shows the frequency characteristics of the smoothing filters 1, 2, 3, 4, and 5, with the horizontal axis representing frequency and the vertical axis representing gain. In FIG. 8, “smooth filter” is simply abbreviated as “smooth”.

空間フィルタ部16は、高濃度側文字領域については、画質レベルによらず同じ強調処理を施す。これは高濃度側文字領域である文字の内側はモスキートノイズが目立ちにくいので、文字の先鋭化を重視し、強調処理を施すことが好ましいからである。このような処理によって、文字がくっきり鮮明に再現される。ただし高濃度側文字領域について、画質レベルを問わず同じ強調フィルタに限定するものではない。画質レベルが極端に低くなると文字の内側にもモスキートノイズが目立つ場合があるので、画質レベルが低くなるほど強調の度合いを弱めるよう設定してもよい。   The spatial filter unit 16 applies the same enhancement process to the high-density character region regardless of the image quality level. This is because mosquito noise is less noticeable inside the character, which is the character region on the high density side, and it is preferable to emphasize the sharpness of the character and to perform an emphasis process. By such processing, the characters are reproduced clearly and clearly. However, the high-density character region is not limited to the same enhancement filter regardless of the image quality level. If the image quality level is extremely low, mosquito noise may be conspicuous inside the character. Therefore, the degree of emphasis may be set to decrease as the image quality level decreases.

空間フィルタ部16は、低濃度側文字領域については、画質レベルが低いとき(2以下の場合)は平滑処理を施し、また画質レベルが低くなればなるほど平滑の度合いを強め、画質レベルが高いとき(3以上の場合)は強調処理を施し、また画質レベルが高くなればなるほど強調の度合いを強める。これは文字の周りはモスキートノイズが目立ちやすいので、文字の先鋭化を図ると共にモスキートノイズの抑制を図る必要があるためである。画質レベルがある程度低くなるとモスキートノイズの度合いが大きくなるため、平滑処理を施しノイズをぼかして除去することにより出力画像の高画質化を図ることができる。一方、画質レベルがある程度高くなるとモスキートノイズの度合いが小さくなるため、強調処理を施して文字をくっきり鮮明にすることにより出力画像の高画質化を図ることができる。   The spatial filter unit 16 performs a smoothing process on the low-density character region when the image quality level is low (2 or less), and when the image quality level is lower, the degree of smoothness is increased and the image quality level is higher. In the case of (3 or more), the emphasis process is performed, and the degree of emphasis increases as the image quality level increases. This is because mosquito noise is conspicuous around the character, and it is necessary to sharpen the character and suppress mosquito noise. When the image quality level is lowered to some extent, the degree of mosquito noise increases. Therefore, it is possible to improve the quality of the output image by performing smoothing and blurring and removing the noise. On the other hand, since the degree of mosquito noise decreases when the image quality level increases to some extent, the output image can be improved in image quality by performing emphasis processing to make the characters clearer.

なお、文字の周りは強調フィルタをかけることでエッジが急峻になり文字を鮮明に再現することができるが、モスキートノイズが激しい場合はノイズ自体が強調されて不本意な画質劣化を引き起こすことになる。このトレードオフを解消するために、画質レベル(すなわちここではモスキートノイズの度合い)に応じて強調の度合いや平滑の度合いを切り替えている。ここで平滑フィルタ2よりも平滑フィルタ3のほうが画像データはより平滑化される。また強調フィルタ2よりも強調フィルタ1のほうが画像データはより先鋭化される。以上のような処理によって、モスキートノイズの除去と鮮明な文字の再現が可能となる。   Note that by applying an emphasis filter around the character, the edge becomes sharp and the character can be reproduced clearly, but if the mosquito noise is intense, the noise itself will be emphasized, causing unintended image quality degradation. . In order to eliminate this trade-off, the degree of enhancement and the degree of smoothing are switched according to the image quality level (that is, the degree of mosquito noise here). Here, the smoothing filter 3 smoothes the image data more than the smoothing filter 2. Further, the enhancement filter 1 is sharper than the enhancement filter 2. By the processing as described above, it is possible to remove mosquito noise and reproduce clear characters.

空間フィルタ部16は、網点領域については平滑処理を施し、また画質レベルが低くなればなるほど平滑の度合いを強める。これは網点画像の中はブロックノイズが目立ちやすいので、ブロックノイズの除去を図る必要があるためである。そのため平滑処理を施しノイズをぼかして除去することにより出力画像の高画質化が図れる。なお、網点画像は平滑フィルタをかけることで網点成分がぼかされてモアレ(干渉縞)を抑制することができ、さらにブロックノイズも除去することができるが、ぼかし過ぎると画像中のエッジが極端になまってしまい不本意な画質劣化を引き起こすことになる。このトレードオフを解消するために、画質レベル(すなわちここではブロックノイズの度合い)に応じて平滑の度合いを切り替えている。ここで平滑フィルタ2よりも平滑フィルタ3のほうが画像データはより平滑化される。さらに平滑フィルタ4、平滑フィルタ5、と平滑の度合いは強くなる。このような処理によって、ブロックノイズの除去と鮮明な画像の再現が可能となる。   The spatial filter unit 16 performs a smoothing process on the halftone dot region, and increases the degree of smoothness as the image quality level decreases. This is because block noise is conspicuous in a halftone image, and it is necessary to remove block noise. Therefore, it is possible to improve the quality of the output image by performing smoothing and blurring and removing the noise. Note that halftone dot components can be blurred by applying a smoothing filter to suppress moiré (interference fringes), and block noise can be removed. Will become extreme and cause unintentional image quality degradation. In order to eliminate this trade-off, the degree of smoothing is switched according to the image quality level (that is, the degree of block noise here). Here, the smoothing filter 3 smoothes the image data more than the smoothing filter 2. Furthermore, the smoothness level of the smoothing filter 4 and the smoothing filter 5 is increased. By such processing, it is possible to remove block noise and reproduce a clear image.

空間フィルタ部16は、文字領域および網点領域に含まれないその他の領域については、表2の例1、例2、例3のようなフィルタ係数を用いて、フィルタ処理を行う。たとえば、圧縮処理のパラメータが全体的に高画質寄りになっている場合は例1を適用する。圧縮によるブロックノイズやモスキートノイズの度合いが全体的に小さく、過度にノイズを除去する必要がないため、強調処理で画像を尖鋭化することを重視する。また前述したトレードオフの解消のため、画質レベルが高くなればなるほど強調の度合いを強める。   The spatial filter unit 16 performs filter processing on the other regions not included in the character region and the halftone dot region, using filter coefficients as in Example 1, Example 2, and Example 3 of Table 2. For example, Example 1 is applied when the parameters of the compression process are generally close to high image quality. Since the degree of block noise and mosquito noise due to compression is generally small and it is not necessary to remove noise excessively, it is important to sharpen the image by enhancement processing. Further, in order to eliminate the trade-off described above, the degree of emphasis increases as the image quality level increases.

逆に圧縮処理のパラメータが全体的に低画質寄りになっている場合は例2を適用する。圧縮によるブロックノイズやモスキートノイズの度合いが全体的に大きく、積極的にノイズを除去する必要があるため、平滑処理でぼかすことを重視する。また前述したトレードオフの解消のため、画質レベルが低くなればなるほど平滑の度合いを強める。   On the other hand, when the parameters of the compression process are generally close to low image quality, Example 2 is applied. Since the degree of block noise and mosquito noise due to compression is generally large and it is necessary to positively remove noise, emphasis is placed on blurring by smoothing processing. In addition, in order to eliminate the trade-off described above, the degree of smoothness increases as the image quality level decreases.

さらに圧縮処理のパラメータが高画質から低画質まで画質差が広くなるよう設定されている場合は例3を適用する。画質レベルが高いとき(3以上の場合)は画像の尖鋭化を重視し、画質レベルが高くなればなるほど強調の度合いを強める。ここで強調フィルタ3よりも強調フィルタ2のほうが画像データはより先鋭化される。画質レベルが低いとき(2以下の場合)はノイズの除去を重視し、画質レベルが低くなればなるほど平滑の度合いを強める。ここで平滑フィルタ1よりも平滑フィルタ2のほうが画像データはより平滑化される。   Furthermore, when the compression processing parameters are set so as to widen the image quality difference from high image quality to low image quality, Example 3 is applied. When the image quality level is high (in the case of 3 or more), importance is attached to the sharpening of the image. The higher the image quality level, the higher the degree of enhancement. Here, the enhancement filter 2 sharpens the image data more than the enhancement filter 3. When the image quality level is low (in the case of 2 or less), importance is placed on noise removal, and the lower the image quality level, the greater the degree of smoothness. Here, the smoothing filter 2 smoothes the image data more than the smoothing filter 1.

その他の領域には、文字と網点以外の領域、たとえば、印画紙写真のような連続階調を持つ領域や、広い範囲で一様な画素値を持つベタの領域、何も構成要素が存在しない下地の領域、といった領域が含まれる。これらの領域では主にブロックノイズが目立ちやすい。そのため鮮明な画像再現を図ると共にブロックノイズの抑制を図る必要がある。画質レベルがある程度低くなるとブロックノイズの度合いが大きくなるため、平滑処理を施しノイズをぼかして除去することにより出力画像の高画質化が図れる。一方、画質レベルがある程度高くなるとブロックノイズの度合いが小さくなるため、強調処理を施して写真画像をくっきり鮮明にすることにより出力画像の高画質化が図れる。なお、印画紙写真は強調フィルタをかけることでエッジが急峻になり画像を鮮明に再現することができるが、ブロックノイズが激しい場合はノイズ自体が強調されて不本意な画質劣化を引き起こすことになる。このトレードオフを解消するために、画質レベル(すなわちここではブロックノイズの度合い)に応じて強調の度合いや平滑の度合いを切り替えている。以上のような処理によってブロックノイズやモスキートノイズの除去と鮮明な写真や文字の再現が可能となる。   In other areas, there are areas other than characters and halftone dots, such as areas with continuous gradation, such as photographic paper photographs, and solid areas with uniform pixel values over a wide range. An area such as a base area not to be included is included. In these areas, block noise tends to be noticeable. Therefore, it is necessary to achieve clear image reproduction and to suppress block noise. When the image quality level is lowered to some extent, the degree of block noise increases. Therefore, the image quality of the output image can be improved by performing smoothing processing and blurring and removing the noise. On the other hand, since the degree of block noise decreases as the image quality level increases to some extent, it is possible to improve the quality of the output image by performing enhancement processing to make the photographic image clearer. Note that photographic paper photographs can be sharpened by applying an emphasis filter and the image can be reproduced clearly. However, if the block noise is intense, the noise itself is emphasized, causing unintended image quality degradation. . In order to eliminate this trade-off, the degree of enhancement and the degree of smoothing are switched according to the image quality level (that is, the degree of block noise here). With the above processing, block noise and mosquito noise can be removed and clear pictures and characters can be reproduced.

図9は、画像形成装置1における画像処理の動作を示すフローチャートである。画像形成装置1における画像処理の動作は、画像処理装置3を起動して処理を開始させると、ステップa1に移る。ステップa1では、画像処理装置3は、インターフェイス2を介して圧縮画像データであるヘッダー情報が付加されたJPEGコードを取得する。取得されたJPEGコードは、画質レベル判断部11およびJPEG伸張部12へ引き渡されて、ステップa2に移る。   FIG. 9 is a flowchart showing an image processing operation in the image forming apparatus 1. The image processing operation in the image forming apparatus 1 proceeds to step a1 when the image processing apparatus 3 is activated to start processing. In step a1, the image processing apparatus 3 acquires a JPEG code to which header information, which is compressed image data, is added via the interface 2. The acquired JPEG code is delivered to the image quality level determination unit 11 and the JPEG decompression unit 12, and the process proceeds to step a2.

画質レベル判断工程であるステップa2では、画質レベル判断部11のヘッダー解析部111は、JPEGコードに対して、まずヘッダー情報を抜き出し、次にそのヘッダー情報の所定の区画から量子化テーブルの値を抜き出し、量子化テーブル判定部112へ引き渡す。そして、量子化テーブル判定部112は、受け渡された量子化テーブルの値に基づいて、圧縮画像の画質レベルを判断する。画質レベル判断部11で判断された画質レベルの情報は、空間フィルタ部16へ引き渡される。   In step a2, which is an image quality level determination step, the header analysis unit 111 of the image quality level determination unit 11 first extracts header information from the JPEG code, and then calculates a quantization table value from a predetermined section of the header information. Extracted and handed over to the quantization table determination unit 112. Then, the quantization table determination unit 112 determines the image quality level of the compressed image based on the passed quantization table value. Information on the image quality level determined by the image quality level determination unit 11 is delivered to the spatial filter unit 16.

復号工程であるステップa3では、JPEG伸張部12は、JPEGコードのヘッダー情報を解読して符号コードを複合化する処理などを施し、RGBデジタル信号の画像データに伸張する。JPEG伸張部12で伸張された画像データは、領域分離部13および色補正部14へ引き渡される。   In step a3, which is a decoding process, the JPEG decompression unit 12 performs processing such as decoding the header information of the JPEG code and combining the code code, and decompresses the image data into an RGB digital signal. The image data expanded by the JPEG expansion unit 12 is delivered to the region separation unit 13 and the color correction unit 14.

領域分離工程であるステップa4では、領域分離部13は、JPEG伸張部12で伸張された画像データに対して、文字領域および網点領域の少なくとも一方を含む複数の領域に分離し、領域分離信号を生成する。領域分離部13で生成された領域分離信号は、黒生成/下色除去部15、空間フィルタ部16、中間調生成部17にそれぞれ引き渡される。   In step a4, which is a region separation process, the region separation unit 13 separates the image data expanded by the JPEG expansion unit 12 into a plurality of regions including at least one of a character region and a halftone region, and generates a region separation signal. Is generated. The region separation signal generated by the region separation unit 13 is delivered to the black generation / undercolor removal unit 15, the spatial filter unit 16, and the halftone generation unit 17, respectively.

ステップa5では、色補正部14は、JPEG伸張部12で伸張された画像データであるRGBデジタル信号からCMYデジタル信号を生成する。色補正部14で生成されたCMYデジタル信号は、黒生成/下色除去部15へ引き渡される。   In step a5, the color correction unit 14 generates a CMY digital signal from the RGB digital signal that is the image data expanded by the JPEG expansion unit 12. The CMY digital signal generated by the color correction unit 14 is delivered to the black generation / under color removal unit 15.

ステップa6では、黒生成/下色除去部15は、色補正部14で生成されたCMYデジタル信号からK信号を生成し、元のCMYデジタル信号から生成したK信号が重なる部分を差し引いて、新たなCMYデジタル信号を生成する。これによって、黒生成/下色除去部15は、CMYデジタル信号をCMYKデジタル信号に変換する。   In step a6, the black generation / under color removal unit 15 generates a K signal from the CMY digital signal generated by the color correction unit 14, and subtracts a portion where the K signal generated from the original CMY digital signal is overlapped to obtain a new signal. A CMY digital signal is generated. As a result, the black generation / under color removal unit 15 converts the CMY digital signal into a CMYK digital signal.

係数設定工程であるステップa7では、空間フィルタ部16は、画質レベル判断部11から引き渡された画質レベルの情報と、領域分離部13から引き渡された領域分離信号とに基づいて、画素毎に最適なフィルタ係数を選択して設定する。次に、フィルタ工程であるステップa8において空間フィルタ部16は、設定したフィルタ係数を用いて、CMYKデジタル信号の画像データに対してフィルタ処理を施す。   In step a7, which is a coefficient setting process, the spatial filter unit 16 is optimal for each pixel based on the image quality level information delivered from the image quality level judgment unit 11 and the region separation signal delivered from the region separation unit 13. Select and set the correct filter coefficient. Next, in step a8, which is a filtering process, the spatial filter unit 16 performs a filtering process on the image data of the CMYK digital signal using the set filter coefficient.

そして、ステップa9では、中間調生成部17は、CMYKデジタル信号の画像データに対し、領域識別信号に基づいて、最終的に画像が擬似的に階調を再現できるように擬似階調再現処理を施して、画像出力装置4に出力して、動作処理を終了する。   In step a9, the halftone generation unit 17 performs pseudo tone reproduction processing on the image data of the CMYK digital signal so that the image can finally reproduce the tone in a pseudo manner based on the region identification signal. The image is output to the image output device 4 and the operation process is terminated.

以上のような画像形成装置1によれば、領域分離部13で生成された領域分離信号と、画質レベル判断部11で自動的に判断された画質レベルとに基づいて、フィルタ処理を行うフィルタ係数が適切に切り替えられるため、画像出力装置4から最終的に出力される画像についても圧縮処理による画質劣化の少ない良好な画像再現を実現できる。本実施の形態では画質レベルの段数を、4:高画質、3:比較的高画質、2:比較的低画質、1:低画質、の4段階で示しているが、段数はこれに限ったものではない。また本実施の形態ではフィルタ係数として8組の係数を示しているが、この組数についても限定されるものではない。   According to the image forming apparatus 1 as described above, the filter coefficient for performing the filter processing based on the region separation signal generated by the region separation unit 13 and the image quality level automatically determined by the image quality level determination unit 11. Therefore, it is possible to achieve good image reproduction with little image quality degradation due to compression processing for the image finally output from the image output device 4. In this embodiment, the number of stages of the image quality level is shown in four stages of 4: high image quality, 3: relatively high image quality, 2: relatively low image quality, and 1: low image quality, but the number of stages is limited to this. It is not a thing. In the present embodiment, eight sets of coefficients are shown as filter coefficients, but the number of sets is not limited.

図10は、本発明の実施の他の形態の画像形成装置30の構成を示すブロック図である。画像形成装置30は、前述した図1に示す実施の形態において画像出力装置4を、たとえば液晶ディスプレイなどの画像表示装置32とした場合の構成である。画像形成装置30と図1に示す画像形成装置1とは、画像表示装置32と画像処理装置31とが異なり、また画像処理装置31は、画像処理装置3の構成から黒生成/下色除去部15、および中間調生成部17を取り除いた構成であるので、同様の構成には同様の参照符号を付して、その説明を省略する。   FIG. 10 is a block diagram showing a configuration of an image forming apparatus 30 according to another embodiment of the present invention. The image forming apparatus 30 is configured when the image output apparatus 4 is an image display apparatus 32 such as a liquid crystal display in the above-described embodiment shown in FIG. The image forming apparatus 30 and the image forming apparatus 1 shown in FIG. 1 are different from the image display apparatus 32 and the image processing apparatus 31. The image processing apparatus 31 has a black generation / undercolor removal unit due to the configuration of the image processing apparatus 3. 15 and the halftone generation unit 17 are omitted, and the same components are denoted by the same reference numerals and the description thereof is omitted.

画像処理装置31は、画質レベル判断部11と、JPEG伸張部12と、領域分離部13と、色補正部14と、空間フィルタ部16とを備えている。各部の処理内容は前述した実施の形態と同様である。ただし、色補正部14は、RGBデジタル信号からCMYデジタル信号への変換は行わず、画像表示装置32で色を忠実に再現するためにRGBデジタル信号に対して色を補正する処理のみを行う。また、空間フィルタ部16には、RGBデジタル信号の画像データが与えられ、空間フィルタ部16は、この画像データにフィルタ処理を行ってから画像表示装置32に出力する。   The image processing apparatus 31 includes an image quality level determination unit 11, a JPEG decompression unit 12, a region separation unit 13, a color correction unit 14, and a spatial filter unit 16. The processing content of each part is the same as that of the above-described embodiment. However, the color correction unit 14 does not perform conversion from the RGB digital signal to the CMY digital signal, and performs only the process of correcting the color for the RGB digital signal in order to faithfully reproduce the color by the image display device 32. The spatial filter unit 16 is supplied with image data of RGB digital signals, and the spatial filter unit 16 performs a filtering process on the image data and outputs the image data to the image display device 32.

以上の構成によれば、入力された画像データを表示する際にも、画質レベルと領域分離信号に応じて最適なフィルタ処理を施すことが可能であり、圧縮処理によって生じたノイズが目立たない良好な表示画像が得られる。また本構成は、ハードディスクに保存された画像データのプレビューにも適用できる。   According to the above configuration, even when the input image data is displayed, it is possible to perform the optimum filter processing according to the image quality level and the region separation signal, and the noise generated by the compression processing is not noticeable. Display images can be obtained. This configuration can also be applied to a preview of image data stored on the hard disk.

図11は、本発明の実施のさらに他の形態の画像形成装置40の構成を示すブロック図である。画像形成装置40と図1に示す画像形成装置1とは、画像処理装置41が異なり、また画像処理装置41は、画像処理装置3の構成から領域分離部13を取り除いた構成であるので、同様の構成には同様の参照符号を付して、その説明を省略する。   FIG. 11 is a block diagram showing a configuration of an image forming apparatus 40 according to still another embodiment of the present invention. The image forming apparatus 40 is different from the image forming apparatus 1 shown in FIG. 1 in that the image processing apparatus 41 is different, and the image processing apparatus 41 has a configuration in which the region separation unit 13 is removed from the configuration of the image processing apparatus 3. The same reference numerals are assigned to the configurations of and the description thereof is omitted.

画像処理装置41は、画質レベル判断部11と、JPEG伸張部12と、色補正部14と、黒生成/下色除去部15と、空間フィルタ部16と、中間調生成部17とを備えている。各部の処理内容は前述した実施の形態と同様である。画像形成装置40の特徴は、画像形成装置1とは異なり、空間フィルタ部16においてフィルタ係数選択部161は、画質レベル判断部11で判断された画質レベルのみに基づいて表2に示されるテーブルを参照してフィルタ係数を選択する構成となっている点である。この場合、画像処理装置41では、たとえば表2における「その他の領域」のテーブルのみを予め記憶しておき、それを参照するものとする。演算部162は、フィルタ係数選択部161によって選択されたフィルタ係数を用いて画像データに畳み込み演算を行う。具体的には、画像データの各画素の値と対応する位置にあるフィルタ係数との積和をとり、除算係数で割った値を中央の画素の出力値とする。   The image processing apparatus 41 includes an image quality level determination unit 11, a JPEG decompression unit 12, a color correction unit 14, a black generation / undercolor removal unit 15, a spatial filter unit 16, and a halftone generation unit 17. Yes. The processing content of each part is the same as that of the above-described embodiment. The characteristics of the image forming apparatus 40 are different from those of the image forming apparatus 1. In the spatial filter unit 16, the filter coefficient selection unit 161 uses the table shown in Table 2 based only on the image quality level determined by the image quality level determination unit 11. It is a point which becomes a structure which selects a filter coefficient with reference. In this case, the image processing apparatus 41 stores, for example, only the “other area” table in Table 2 in advance and refers to it. The calculation unit 162 performs a convolution operation on the image data using the filter coefficient selected by the filter coefficient selection unit 161. Specifically, the product sum of the value of each pixel of the image data and the filter coefficient at the corresponding position is taken, and the value divided by the division coefficient is taken as the output value of the center pixel.

図12は、画像形成装置40における画像処理の動作を示すフローチャートである。画像形成装置40における画像処理の動作は、画像処理装置41を起動して処理を開始させると、ステップb1に移る。ステップb1では、画像処理装置41は、インターフェイス2を介して圧縮画像データであるヘッダー情報が付加されたJPEGコードを取得する。取得されたJPEGコードは、画質レベル判断部11およびJPEG伸張部12へ引き渡されて、ステップb2に移る。   FIG. 12 is a flowchart showing an image processing operation in the image forming apparatus 40. The image processing operation in the image forming apparatus 40 proceeds to step b1 when the image processing apparatus 41 is activated to start processing. In step b1, the image processing apparatus 41 acquires a JPEG code to which header information, which is compressed image data, is added via the interface 2. The acquired JPEG code is delivered to the image quality level determination unit 11 and the JPEG decompression unit 12, and the process proceeds to step b2.

画質レベル判断工程であるステップb2では、画質レベル判断部11のヘッダー解析部111は、JPEGコードに対して、まずヘッダー情報を抜き出し、次にそのヘッダー情報の所定の区画から量子化テーブルの値を抜き出し、量子化テーブル判定部112へ引き渡す。そして、量子化テーブル判定部112は、受け渡された量子化テーブルの値に基づいて、圧縮画像の画質レベルを判断する。画質レベル判断部11で判断された画質レベルの情報は、空間フィルタ部16へ引き渡される。   In step b2, which is an image quality level determination step, the header analysis unit 111 of the image quality level determination unit 11 first extracts header information from the JPEG code, and then calculates a quantization table value from a predetermined section of the header information. Extracted and handed over to the quantization table determination unit 112. Then, the quantization table determination unit 112 determines the image quality level of the compressed image based on the passed quantization table value. Information on the image quality level determined by the image quality level determination unit 11 is delivered to the spatial filter unit 16.

復号工程であるステップb3では、JPEG伸張部12は、JPEGコードのヘッダー情報を解読して符号コードを複合化する処理などを施し、RGBデジタル信号の画像データに伸張する。JPEG伸張部12で伸張された画像データは、色補正部14へ引き渡される。   In step b3, which is a decoding process, the JPEG decompression unit 12 performs processing such as decoding the header information of the JPEG code and combining the code code, and decompresses the image data into an RGB digital signal. The image data expanded by the JPEG expansion unit 12 is delivered to the color correction unit 14.

ステップb4では、色補正部14は、JPEG伸張部12で伸張された画像データであるRGBデジタル信号からCMYデジタル信号を生成する。色補正部14で生成されたCMYデジタル信号は、黒生成/下色除去部15へ引き渡される。   In step b4, the color correction unit 14 generates a CMY digital signal from the RGB digital signal that is the image data expanded by the JPEG expansion unit 12. The CMY digital signal generated by the color correction unit 14 is delivered to the black generation / under color removal unit 15.

ステップb5では、黒生成/下色除去部15は、色補正部14で生成されたCMYデジタル信号からK信号を生成し、元のCMYデジタル信号から生成したK信号が重なる部分を差し引いて、新たなCMYデジタル信号を生成する。これによって、黒生成/下色除去部15は、CMYデジタル信号をCMYKデジタル信号に変換する。   In step b5, the black generation / under color removal unit 15 generates a K signal from the CMY digital signal generated by the color correction unit 14, and subtracts a portion where the K signal generated from the original CMY digital signal is overlapped to obtain a new signal. A CMY digital signal is generated. As a result, the black generation / under color removal unit 15 converts the CMY digital signal into a CMYK digital signal.

係数設定工程であるステップb6では、空間フィルタ部16は、画質レベル判断部11から引き渡された画質レベルの情報に基づいて、画素毎に最適なフィルタ係数を選択して設定する。次に、フィルタ工程であるステップb7において空間フィルタ部16は、設定したフィルタ係数を用いて、CMYKデジタル信号の画像データに対してフィルタ処理を施す。   In step b6, which is a coefficient setting process, the spatial filter unit 16 selects and sets an optimum filter coefficient for each pixel based on the image quality level information delivered from the image quality level determination unit 11. Next, in step b7, which is a filtering process, the spatial filter unit 16 performs a filtering process on the image data of the CMYK digital signal using the set filter coefficient.

そして、ステップb8では、中間調生成部17は、CMYKデジタル信号の画像データに対し、最終的に画像が擬似的に階調を再現できるように擬似階調再現処理を施して、画像出力装置4に出力して、動作処理を終了する。   In step b8, the halftone generation unit 17 performs pseudo gradation reproduction processing on the image data of the CMYK digital signal so that the image can finally reproduce the gradation, and the image output device 4 To complete the operation process.

以上のような画像形成装置40によれば、画質レベル判断部11で自動的に判断された画質レベルに基づいて、フィルタ処理を行うフィルタ係数が適切に切り替えられるため、画像出力装置4から最終的に出力される画像についても圧縮処理による画質劣化の少ない良好な画像再現を実現できる。   According to the image forming apparatus 40 as described above, since the filter coefficient for performing the filter processing is appropriately switched based on the image quality level automatically determined by the image quality level determination unit 11, the image output device 4 finally performs the switching. Therefore, it is possible to achieve good image reproduction with little image quality degradation due to compression processing.

また本発明のさらに他の実施の形態として、コンピュータを前述した各実施の形態の画像処理装置のいずれかとして機能させるために、コンピュータに実行させるためのプログラムコード(実行形式プログラム、中間コードプログラムおよびソースプログラムの少なくともいずれか1つ)、およびこのプログラムコードを記録したコンピュータ読み取り可能な記録媒体を提供することも可能である。本実施の形態によれば、前述した画像処理方法を行うプログラムコードを記録した記録媒体を持ち運び自在に提供することができる。またパーソナルコンピュータなどの汎用のコンピュータにCD−ROM(Compact Disc−Read Only Memory)などの記録媒体を介して、あるいはネットワークからのダウンロードによりプログラムを読み込ませて、入力画像に適切なフィルタ処理を施すことにより、良好な画像を出力することができる。また、DSP(Digital Signal Processor)などでソフト処理を行うデジタル複写機や複合機に対しても同様に、フラッシュメモリや書き換え可能な記録媒体にプログラムを読み込ませて、入力画像に適切なフィルタ処理を施すことにより、良好な画像を出力することができる。   As still another embodiment of the present invention, in order for a computer to function as any of the image processing apparatuses of the above-described embodiments, program code (execution format program, intermediate code program, and It is also possible to provide a computer-readable recording medium on which the program code is recorded, and at least one of the source programs. According to the present embodiment, it is possible to provide a portable recording medium on which a program code for performing the above-described image processing method is recorded. In addition, a general-purpose computer such as a personal computer is read through a recording medium such as a CD-ROM (Compact Disc-Read Only Memory) or downloaded from a network, and an appropriate filtering process is performed on the input image. Thus, a good image can be output. Similarly, for digital copiers and multi-function machines that perform software processing with a DSP (Digital Signal Processor) or the like, the program is read into a flash memory or a rewritable recording medium, and an appropriate filtering process is applied to the input image. As a result, a good image can be output.

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

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

上記プログラムメディアは、本体と分離可能に構成される記録媒体であり、磁気テープやカセットテープ等のテープ系、フロッピー(登録商標)ディスクやハードディスク等の磁気ディスクやCD−ROM/MO(Magneto Optical disc)/MD(Mini Disc)/D
VD(Digital Versatile Disc)などの光ディスクのディスク系、IC(Integrated
Circuit)カード(メモリカードを含む)/光カードなどのカード系、あるいはマスクROM、EPROM(Erasable Programmable Read Only Memory)、EEPROM(
Electrically Erasable Programmable Read Only Memory)、フラッシュROM等による半導体メモリを含めた固定的にプログラムを担持する媒体であってもよい。
The program medium is a recording medium configured to be separable from the main body, and is a tape system such as a magnetic tape or a cassette tape, a magnetic disk such as a floppy (registered trademark) disk or a hard disk, or a CD-ROM / MO (Magneto Optical disc). ) / MD (Mini Disc) / D
Optical discs such as VD (Digital Versatile Disc), IC (Integrated)
Circuit) cards (including memory cards) / optical cards, mask ROM, EPROM (Erasable Programmable Read Only Memory), EEPROM (
Electrically Erasable Programmable Read Only Memory), or a medium carrying a fixed program including a semiconductor memory such as a flash ROM.

また、インターネットを含む通信ネットワークを接続可能なシステム構成を持つことで、通信ネットワークからプログラムコードをダウンロードするように流動的にプログラムコードを担持する媒体であっても良い。なお、このように通信ネットワークからプログラムコードをダウンロードする場合には、そのダウンロード用のプログラムは予め本体装置に格納しておくか、あるいは別な記録媒体からインストールされるものであっても良い。なお、本発明は、上記プログラムコードが電子的な伝送で具現化された、搬送波に埋め込まれたコンピュータデータ信号の形態でも実現され得る。   In addition, the medium may have a system configuration capable of connecting a communication network including the Internet so that the program code is fluidly carried so as to download the program code from the communication network. When the program code is downloaded from the communication network in this way, the download program may be stored in the main device in advance, or may be installed from another recording medium. The present invention can also be realized in the form of a computer data signal embedded in a carrier wave in which the program code is embodied by electronic transmission.

上記記録媒体は、デジタルカラー画像形成装置やコンピュータシステム50に備えられるプログラム読み取り装置により読み取られることで前述した画像処理方法が実行される。図13は、コンピュータシステム50の一例を示す構成図である。コンピュータシステム50は、フラットベッドスキャナ、フィルムスキャナまたはデジタルカメラなどの画像入力装置51、所定のプログラムがロードされることにより上記画像処理方法など様々な処理が行われるコンピュータ52、コンピュータ52の処理結果を表示するCRT(
Cathode Ray Tube)ディスプレイまたは液晶ディスプレイなどの画像表示装置53およびコンピュータの処理結果を紙などに出力するプリンタ54および、キーボードおよびマウスなどの入力機器55を備えて構成される。さらには、コンピュータ52には、ネットワークを介してサーバーなどに接続するための通信手段としてのモデムなどが備えられる。
The recording medium is read by a digital color image forming apparatus or a program reading apparatus provided in the computer system 50, whereby the above-described image processing method is executed. FIG. 13 is a configuration diagram illustrating an example of the computer system 50. The computer system 50 includes an image input device 51 such as a flatbed scanner, a film scanner, or a digital camera, a computer 52 that performs various processes such as the above-described image processing method by loading a predetermined program, and processing results of the computer 52. CRT to display (
(Cathode Ray Tube) An image display device 53 such as a display or a liquid crystal display, a printer 54 that outputs a processing result of a computer to paper, and an input device 55 such as a keyboard and a mouse are configured. Furthermore, the computer 52 is provided with a modem or the like as a communication means for connecting to a server or the like via a network.

特に、図13に示すコンピュータシステム50によって、前述した画像処理方法を実行する場合には、本画像処理方法をユーザーの好みに応じて用いることが可能となる。たとえば、圧縮処理で用いる量子化テーブル、フィルタ処理で用いるフィルタ係数、領域分離で用いる複数の閾値、などをユーザーが調整する(プログラムを書き換える)ことで、ユーザーの嗜好に沿った出力画像を得ることができる。   In particular, when the above-described image processing method is executed by the computer system 50 shown in FIG. 13, this image processing method can be used according to the user's preference. For example, the user can adjust the quantization table used for compression processing, filter coefficients used for filter processing, multiple threshold values used for region separation, etc. (by rewriting the program) to obtain an output image that meets user preferences Can do.

1,30,40 画像形成装置
2 インターフェイス
3,31,41 画像処理装置
4 画像出力装置
11 画質レベル判断部
12 JPEG伸張部
13 領域分離部
16 空間フィルタ部
32 画像表示装置
50 コンピュータシステム
111 ヘッダー解析部
112 量子化テーブル判定部
161 フィルタ係数選択部
162 演算部
DESCRIPTION OF SYMBOLS 1,30,40 Image forming apparatus 2 Interface 3,31,41 Image processing apparatus 4 Image output apparatus 11 Image quality level judgment part 12 JPEG decompression part 13 Area separation part 16 Spatial filter part 32 Image display apparatus 50 Computer system 111 Header analysis part 112 Quantization table determination unit 161 Filter coefficient selection unit 162 Calculation unit

Claims (8)

圧縮された画像データの量子化テーブルの値をもとに画質レベルを判断する画質レベル判断手段と、
圧縮された画像データに復号処理を施す復号手段と、
画質レベル判断手段で判断された画質レベルに基づきフィルタ処理の係数を設定する係数設定手段と、
復号手段で復号された画像データに対して、係数設定手段で設定された係数を用いてフィルタ処理を施すフィルタ手段と、を備えることを特徴とする画像処理装置。
An image quality level judging means for judging an image quality level based on a value of a quantization table of compressed image data;
Decoding means for decoding the compressed image data;
Coefficient setting means for setting a filter processing coefficient based on the image quality level determined by the image quality level determination means;
An image processing apparatus comprising: filter means for performing filter processing on the image data decoded by the decoding means using the coefficient set by the coefficient setting means.
前記復号手段で復号された画像データに対して、文字領域および網点領域の少なくとも一方を含む複数の領域に分離する領域分離手段をさらに備え、
前記係数設定手段は、領域分離手段で得られた領域分離結果と画質レベル判断手段で判断された画質レベルとに基づきフィルタ処理の係数を設定することを特徴とする請求項1に記載の画像処理装置。
The image data decoded by the decoding means further comprises an area separating means for separating the image data into a plurality of areas including at least one of a character area and a halftone dot area,
2. The image processing according to claim 1, wherein the coefficient setting unit sets a filter processing coefficient based on a region separation result obtained by the region separation unit and an image quality level determined by the image quality level determination unit. apparatus.
前記画質レベル判断手段は、
圧縮された画像データから量子化テーブルの値を抜き出す情報解析部と、
情報解析部が抜き出した量子化テーブルの値と、予め定める複数の閾値とを比較することによって画質レベルを判断するレベル判断部とを有することを特徴とする請求項1または2に記載の画像処理装置。
The image quality level determining means includes
An information analysis unit that extracts the value of the quantization table from the compressed image data;
The image processing according to claim 1, further comprising: a level determination unit that determines an image quality level by comparing a quantization table value extracted by the information analysis unit with a plurality of predetermined threshold values. apparatus.
請求項1〜3のいずれか1つに記載の画像処理装置を備えることを特徴とする画像形成装置。   An image forming apparatus comprising the image processing apparatus according to claim 1. 圧縮された画像データの量子化テーブルの値をもとに画質レベルを判断する画質レベル判断工程と、
圧縮された画像データに復号処理を施す復号工程と、
画質レベル判断工程で判断された画質レベルに基づきフィルタ処理の係数を設定する係数設定工程と、
復号工程で復号された画像データに対して、係数設定工程で設定された係数を用いてフィルタ処理を施すフィルタ工程と、を備えることを特徴とする画像処理方法。
An image quality level determining step of determining an image quality level based on a value of a quantization table of compressed image data;
A decoding step of decoding the compressed image data;
A coefficient setting step for setting a filter processing coefficient based on the image quality level determined in the image quality level determination step;
And a filtering step of performing a filtering process on the image data decoded in the decoding step using the coefficient set in the coefficient setting step.
前記復号工程で復号された画像データに対して、文字領域および網点領域の少なくとも一方を含む複数の領域に分離する領域分離工程をさらに備え、
前記係数設定工程では、領域分離工程で得られた領域分離結果と画質レベル判断工程で判断された画質レベルとに基づきフィルタ処理の係数を設定することを特徴とする請求項5に記載の画像処理方法。
The image data decoded in the decoding step further comprises a region separation step for separating the image data into a plurality of regions including at least one of a character region and a halftone dot region,
6. The image processing according to claim 5, wherein, in the coefficient setting step, a filter processing coefficient is set based on the region separation result obtained in the region separation step and the image quality level determined in the image quality level determination step. Method.
請求項1〜3のいずれか1つに記載の画像処理装置を実現するための画像処理プログラムであって、コンピュータを前記の各手段として機能させるための画像処理プログラム。   The image processing program for implement | achieving the image processing apparatus as described in any one of Claims 1-3, Comprising: The image processing program for functioning a computer as said each means. 請求項7に記載の画像処理プログラムを記録したコンピュータ読み取り可能な記録媒体。   A computer-readable recording medium on which the image processing program according to claim 7 is recorded.
JP2009008253A 2009-01-16 2009-01-16 Image processing apparatus, image forming apparatus including the same, image processing program, and recording medium Active JP5058183B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009008253A JP5058183B2 (en) 2009-01-16 2009-01-16 Image processing apparatus, image forming apparatus including the same, image processing program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009008253A JP5058183B2 (en) 2009-01-16 2009-01-16 Image processing apparatus, image forming apparatus including the same, image processing program, and recording medium

Publications (2)

Publication Number Publication Date
JP2010166448A true JP2010166448A (en) 2010-07-29
JP5058183B2 JP5058183B2 (en) 2012-10-24

Family

ID=42582244

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009008253A Active JP5058183B2 (en) 2009-01-16 2009-01-16 Image processing apparatus, image forming apparatus including the same, image processing program, and recording medium

Country Status (1)

Country Link
JP (1) JP5058183B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015005959A (en) * 2013-06-24 2015-01-08 株式会社リコー Image processing method, apparatus, and program
JP7210142B2 (en) 2018-02-28 2023-01-23 東京電力ホールディングス株式会社 DATA PROCESSING DEVICE, IMAGE ANALYSIS METHOD, AND PROGRAM

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09172636A (en) * 1995-12-19 1997-06-30 Fuji Xerox Co Ltd Coder
JP2003204551A (en) * 2002-01-09 2003-07-18 Minolta Co Ltd Image processing apparatus, image forming apparatus, and image processing program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09172636A (en) * 1995-12-19 1997-06-30 Fuji Xerox Co Ltd Coder
JP2003204551A (en) * 2002-01-09 2003-07-18 Minolta Co Ltd Image processing apparatus, image forming apparatus, and image processing program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015005959A (en) * 2013-06-24 2015-01-08 株式会社リコー Image processing method, apparatus, and program
JP7210142B2 (en) 2018-02-28 2023-01-23 東京電力ホールディングス株式会社 DATA PROCESSING DEVICE, IMAGE ANALYSIS METHOD, AND PROGRAM

Also Published As

Publication number Publication date
JP5058183B2 (en) 2012-10-24

Similar Documents

Publication Publication Date Title
JP4732488B2 (en) Image processing apparatus, image forming apparatus, image reading apparatus, image processing method, image processing program, and computer-readable recording medium
JP4331159B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium therefor
JP2004112603A (en) Apparatus and method for image processing, and program to be executed by computer
JP2008227759A (en) Image processing device, image forming device, image processing method, image processing program, and computer readable recording medium
JP2008072352A (en) Method and device for processing image, device for reading original, device for forming image and computer program
JP4437825B2 (en) Image processing method, image processing apparatus, image forming apparatus, program, and recording medium
JP2004312387A (en) Image processing method, image processing device, image forming device, image pickup device, and computer program
JP4731595B2 (en) Image processing apparatus, image forming apparatus, computer program, recording medium, and image processing method
JP2004023401A (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and record medium with the program recorded thereon
JP5058183B2 (en) Image processing apparatus, image forming apparatus including the same, image processing program, and recording medium
JP4596964B2 (en) Image processing apparatus, image forming apparatus, image processing method, computer program, and recording medium
JP2010278933A (en) Image processing device, image forming device, image processing method, program and recording medium
JP4112413B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and computer-readable recording medium on which image processing program is recorded
JP5011223B2 (en) Image processing apparatus, image forming apparatus including the same, image processing program, and recording medium
JP7266462B2 (en) IMAGE PROCESSING APPARATUS, IMAGE FORMING APPARATUS, IMAGE PROCESSING METHOD AND PROGRAM
JP4549227B2 (en) Image processing apparatus, image forming apparatus, image processing method, computer program, and recording medium
JP4100116B2 (en) Image processing device
JP2013074309A (en) Image processing apparatus, image forming apparatus, image processing method, computer program and recording medium
JP2008306400A (en) Image processing method, image processing device, image forming apparatus, computer program, and record medium
JP4149368B2 (en) Image processing method, image processing apparatus and image forming apparatus, computer program, and computer-readable recording medium
JP2004282240A (en) Image processing apparatus, image processing method, and program executed by computer
JP2004274398A (en) Image processor, image forming device, image processing method, image processing program, and recording medium
JP4024735B2 (en) Image processing method, image processing apparatus, image forming apparatus, imaging apparatus, and computer program
JP2005072635A (en) Image processing apparatus, image forming apparatus, image reading apparatus, image processing method, image processing program, and computer-readable recording medium stored with the image processing program
JP2010278924A (en) Image processing apparatus, image forming apparatus, image processing method, program, and recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110223

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120403

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120524

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

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

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

Free format text: PAYMENT UNTIL: 20150810

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5058183

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150