JP2006191294A - Image processor, program and image-processing method - Google Patents

Image processor, program and image-processing method Download PDF

Info

Publication number
JP2006191294A
JP2006191294A JP2005000768A JP2005000768A JP2006191294A JP 2006191294 A JP2006191294 A JP 2006191294A JP 2005000768 A JP2005000768 A JP 2005000768A JP 2005000768 A JP2005000768 A JP 2005000768A JP 2006191294 A JP2006191294 A JP 2006191294A
Authority
JP
Japan
Prior art keywords
type information
object type
threshold
image
pixel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005000768A
Other languages
Japanese (ja)
Inventor
Etsuro Morimoto
悦朗 森本
Hiroshi Ishii
石井  博
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2005000768A priority Critical patent/JP2006191294A/en
Publication of JP2006191294A publication Critical patent/JP2006191294A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processor capable of establishing the compatibility suitable for respective processing results between regions whose sharpness is desirably emphasized and regions whose granularity and gradation are desirably emphasized, providing processing results respectively suitable for character regions and photo regions without image quality deterioration applied to an input image where characters and photos are intermingled, and also providing processing results with excellent sharpness for the character regions even applied to small letters and low contrast characters or the like. <P>SOLUTION: A halftone processing means 24 for carrying out a halftone process selects a quantization threshold value depending on whether object type information of a target pixel stored in an object type information memory 23 emphasizes the sharpness or the granularity and the gradation and carries out quantization processing by taking a quantization error from pixels around the target pixel into account. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、特にラスタライズされたデジタル画像データの出力画像の画質向上処理を行う画像処理装置、プログラムおよび画像処理方法に関する。   The present invention relates to an image processing apparatus, a program, and an image processing method that perform image quality improvement processing of an output image of rasterized digital image data.

パーソナルコンピュータにインストールされているワードプロセッサなどのアプリケーションを用いて作成されるページ記述言語(page-description language:PDL)をプリンタへと出力する際には、PDLコマンドで表現されている文字や図形などは、プリンタへ出力するための2次元のビットマップイメージに展開されてメモリに一時的に格納される。   When a page-description language (PDL) created using an application such as a word processor installed in a personal computer is output to a printer, characters and graphics expressed by PDL commands The image is expanded into a two-dimensional bitmap image for output to a printer and temporarily stored in the memory.

近年においては、このようにPDLコマンドで表現されている文字や図形などを2次元のビットマップイメージに展開・格納する際に、同時に画素毎にオブジェクト種類情報を対応させて格納し、オブジェクト種類情報に基づいて画像データの文字/写真それぞれの領域に適した中間調処理や色補正を切り替えて実施することにより、自然画像等のハーフトーン画像と文字等のバイナリ画像とが混在している画像データに対して高画質な画像を得るための技術が開示されている。   In recent years, when characters and figures represented by PDL commands are expanded and stored in a two-dimensional bitmap image, object type information is stored corresponding to each pixel at the same time. Based on the image data, halftone images such as natural images and binary images such as characters are mixed by switching halftone processing and color correction suitable for each character / photo area of the image data. In contrast, a technique for obtaining a high-quality image is disclosed.

特許文献1には、展開されたビットマップイメージに対し、主にカラー複写機に搭載される像域分離処理を施すことにより、文字及び写真が混在する画像から文字領域を分離し、文字/写真それぞれの領域に適した処理を切り替えて実施することにより高画質な画像を得る技術が開示されている。このとき、像域分離処理では文字領域をすべて検出できるとは限らず、また自然画像領域でも誤って文字領域として検出されてしまうなど信頼性が低いため、オブジェクト種類情報データを参照して像域分離処理を施すことで信頼性の向上を図っている。   In Japanese Patent Laid-Open No. 2004-228867, the developed bitmap image is subjected to an image area separation process mainly mounted in a color copying machine, thereby separating a character area from an image in which characters and photographs are mixed. A technique for obtaining a high-quality image by switching and executing processing suitable for each region is disclosed. At this time, the image area separation process does not necessarily detect all the character areas, and the natural image area is erroneously detected as a character area. Therefore, the image area is referred to by referring to the object type information data. Reliability is improved by performing separation processing.

特許文献2には、上記特許文献1で用いている像域分離を画像全体に施す場合に多大な時間がかかってしまう欠点と、もともとの画像データが文字である画素において誤判定により文字ではないと判定されてしまう可能性があるという問題点を補うべく、予めオブジェクト種類情報データに基づいて像域分離処理を施す範囲を決定してから像域分離を実行する技術が開示されている。   In Patent Document 2, there is a drawback that it takes a lot of time to perform the image area separation used in Patent Document 1 on the entire image, and a pixel whose original image data is a character is not a character due to a misjudgment. In order to compensate for the problem that the image area may be determined, a technique for executing image area separation after determining a range for performing image area separation processing based on object type information data in advance is disclosed.

ところが、特許文献1および特許文献2に開示されている技術によれば、オブジェクト種類情報と像域分離結果に基づき中間調処理の切り替えを行い、文字領域/写真領域についてそれぞれ適した鮮鋭性重視/粒状性・階調性重視の処理を適用することが可能となるが、一方でこのような異なる性質の中間調処理の切り替えを行った場合に、境界部分で発生する画質劣化に対する対応は考慮されていない。より具体的には、例えば文字領域と判定された領域用には高線数のディザ処理、写真領域と判定された領域用には低線数のディザ処理を適用する場合には、両者の処理切替接点において、ドットピッチがいずれのディザより密となるか連結してしまう部分では、濃度が高く表現され縁取りのような画像として表れ、ドットピッチがいずれのディザより粗なる部分では、濃度が低く白抜けのような画像として現れてしまうという問題点がある。   However, according to the techniques disclosed in Patent Document 1 and Patent Document 2, halftone processing is switched based on the object type information and the image area separation result, and sharpness emphasis appropriate for each of the character area / photograph area / It is possible to apply processing that emphasizes graininess and gradation, but on the other hand, when switching between halftone processing with such different properties, the response to image quality degradation that occurs at the boundary is considered. Not. More specifically, for example, when applying a high line number dither process for an area determined to be a character area and applying a low line number dither process for an area determined to be a photographic area, both processes are applied. At the switching contact, the portion where the dot pitch is denser or connected is displayed with a high density and appears as a bordered image, and the portion where the dot pitch is coarser than any dither has a lower density. There is a problem that it appears as an image that looks like white spots.

そこで、この問題点を解決すべく、MFP(Multi Function Peripheral)機における文字及び写真が混在している入力画像に対し、文字領域では鮮鋭性に優れた処理結果、写真領域では粒状性・階調性に優れた処理結果が得られる中間調処理方式に関する技術が特許文献3に開示されている。より詳細には、入力画像のエッジ度合いの算出を行い、エッジ量算出結果に基づいて、エッジ量が大きい場合には固定閾値の誤差拡散処理、エッジ量が小さい場合にはディザ閾値誤差拡散処理を行うことで、中間調処理の切り替えを行うことなく、文字及び写真が混在する画像に対しても高画質な処理結果を得る事を可能としている。このような特許文献3の中間調処理方式によれば、領域毎の中間調処理切替を行なわずに閾値の切り替えだけで文字領域では鮮鋭性に優れた処理結果、写真領域では粒状性・階調性に優れた処理結果が得られるため、上記のような処理の切り替わり部における画質劣化なく文字及び写真が混在する画像に対しても高画質な画像を得る事が可能である。   Therefore, in order to solve this problem, processing results with excellent sharpness in the character area for the input image in which characters and photographs are mixed in an MFP (Multi Function Peripheral) machine. Patent Document 3 discloses a technique related to a halftone processing method capable of obtaining a processing result with excellent performance. More specifically, the edge degree of the input image is calculated, and based on the edge amount calculation result, error diffusion processing with a fixed threshold is performed when the edge amount is large, and dither threshold error diffusion processing is performed when the edge amount is small. By doing so, it is possible to obtain a high-quality processing result even for an image in which characters and photographs are mixed without switching halftone processing. According to the halftone processing method of Patent Document 3 described above, processing results that are excellent in sharpness in the character area only by switching the threshold value without switching the halftone process for each area, and the graininess and gradation in the photographic area. Therefore, it is possible to obtain a high-quality image even for an image in which characters and photographs are mixed without deterioration in image quality in the above-described process switching portion.

特開2000−134468号公報JP 2000-134468 A 特開2000−259819号公報JP 2000-259819 A 特開2001−128004号公報JP 2001-128004 A

しかしながら、上述したような特許文献3の中間調処理方式では、入力画像に対してエッジ量の算出を行い、エッジ量算出結果に基づいて閾値の切り替えを行うために、エッジ量が算出されにくい小文字や低コントラスト文字等に対しては文字領域として検出できずに写真用の処理が行われるため、処理画像の品質の低下を招いてしまうという問題がある。また、エッジ量算出結果に基づいて閾値の切り替えを行うため、太文字に対して文字の縁のみが文字領域として検出され、文字内部が文字領域として検出されない場合もある。   However, in the halftone processing method of Patent Document 3 as described above, the edge amount is calculated for the input image, and the threshold value is switched based on the edge amount calculation result. For low-contrast characters and the like, since the processing for a photograph is performed without being detected as a character region, there is a problem that the quality of the processed image is deteriorated. In addition, since the threshold value is switched based on the edge amount calculation result, only the character edge may be detected as a character region for a thick character, and the inside of the character may not be detected as a character region.

本発明は、上記に鑑みてなされたものであって、鮮鋭性を重視したい領域と粒状性・階調性を重視したい領域とのそれぞれに適した処理結果を両立することができ、文字及び写真が混在している入力画像に対し、画質劣化なしに文字領域、写真領域それぞれに適した処理結果が得られ、かつ小文字や低コントラスト文字等に対しても文字領域用の鮮鋭性に優れた処理結果を得ることができる画像処理装置、プログラムおよび画像処理方法を実現することを目的とする。   The present invention has been made in view of the above, and can achieve a processing result suitable for each of an area in which sharpness is to be emphasized and an area in which granularity / gradation is to be emphasized. A processing result suitable for each of the character area and the photographic area can be obtained without deterioration in image quality, and processing with excellent sharpness for the character area even for lowercase letters, low-contrast characters, etc. An object is to realize an image processing apparatus, a program, and an image processing method capable of obtaining a result.

また、本発明は、オブジェクト種類情報がイメージオブジェクトであった場合のイメージ内に含まれる線や文字等のように鮮鋭性が良い方が好ましい領域についても、解像性(鮮鋭性)を重視した処理を行うことができる画像処理装置、プログラムおよび画像処理方法を実現することを目的とする。   In addition, the present invention places importance on resolution (sharpness) even for regions where sharpness is preferable, such as lines and characters included in an image when the object type information is an image object. An object is to realize an image processing apparatus, a program, and an image processing method capable of performing processing.

上述した課題を解決し、目的を達成するために、請求項1にかかる発明の画像処理装置は、描画命令で表現されている画像を2次元のビットマップデータに展開してビットマップメモリに記憶するデータ記憶手段と、描画命令で表現されている画像のオブジェクト種類情報を前記ビットマップデータに展開された画像の各画素毎に対応付けてオブジェクト種類情報メモリに記憶するオブジェクト種類情報記憶手段と、前記オブジェクト種類情報メモリに記憶されている注目画素のオブジェクト種類情報が鮮鋭性を重視するか、または粒状性・階調性を重視するかに応じて量子化閾値を切り替え、注目画素周辺画素からの量子化誤差を加味して前記ビットマップメモリに記憶されているビットマップデータに対する量子化処理を行う中間調処理手段と、を備える。   In order to solve the above-described problems and achieve the object, an image processing apparatus according to a first aspect of the present invention develops an image expressed by a drawing command into two-dimensional bitmap data and stores it in a bitmap memory. Data storage means, and object type information storage means for storing the object type information of the image expressed by the rendering command in the object type information memory in association with each pixel of the image developed into the bitmap data, The quantization threshold is switched according to whether the object type information of the pixel of interest stored in the object type information memory emphasizes sharpness, or emphasizes graininess / gradation, and Halftone processing for performing quantization processing on bitmap data stored in the bitmap memory in consideration of quantization error It includes a stage, a.

また、請求項2にかかる発明の画像処理装置は、描画命令で表現されている画像を2次元のビットマップデータに展開してビットマップメモリに記憶するデータ記憶手段と、描画命令で表現されている画像のオブジェクト種類情報を前記ビットマップデータに展開された画像の各画素毎に対応付けてオブジェクト種類情報メモリに記憶するオブジェクト種類情報記憶手段と、前記ビットマップメモリに記憶されているビットマップデータの特徴量を算出する特徴量算出手段と、この特徴量算出手段により算出された前記ビットマップメモリに記憶されているビットマップデータの特徴量と前記オブジェクト種類情報メモリに記憶されている注目画素のオブジェクト種類情報とから、注目画素が鮮鋭性重視であるか、粒状性・階調性重視の画素であるかの閾値判定信号を生成する判定信号生成手段と、この判定信号生成手段により生成された閾値判定信号に応じて量子化閾値を切り替え、注目画素周辺画素からの量子化誤差を加味して前記ビットマップメモリに記憶されているビットマップデータに対する量子化処理を行う中間調処理手段と、を備える。   According to a second aspect of the present invention, there is provided an image processing apparatus comprising: data storage means for expanding an image represented by a drawing command into two-dimensional bitmap data and storing the data in a bitmap memory; Object type information storage means for storing object type information of an image stored in the object type information memory in association with each pixel of the image developed into the bitmap data, and bitmap data stored in the bitmap memory A feature amount calculation means for calculating the feature amount of the bitmap data, a feature amount of the bitmap data stored in the bitmap memory calculated by the feature amount calculation means, and a pixel of interest stored in the object type information memory. From the object type information, the pixel of interest emphasizes sharpness, or the pixel emphasizes graininess and gradation A determination signal generation unit that generates a threshold determination signal of some, and a quantization threshold is switched according to the threshold determination signal generated by the determination signal generation unit, the quantization error from the surrounding pixel of the pixel of interest Halftone processing means for performing quantization processing on the bitmap data stored in the bitmap memory.

また、請求項3にかかる発明は、請求項2記載の画像処理装置において、前記特徴量算出手段において算出されるビットマップデータの特徴量は、画素毎のエッジ度合いを示す値であるエッジ量である。   According to a third aspect of the present invention, in the image processing apparatus according to the second aspect, the feature amount of the bitmap data calculated by the feature amount calculating means is an edge amount that is a value indicating an edge degree for each pixel. is there.

また、請求項4にかかる発明は、請求項3記載の画像処理装置において、前記特徴量算出手段は、前記オブジェクト種類情報メモリに記憶されている注目画素のオブジェクト種類情報が鮮鋭性を重視するか、または粒状性・階調性を重視するかに応じてエッジ量算出方法を切り替える。   According to a fourth aspect of the present invention, in the image processing apparatus according to the third aspect, the feature quantity calculating means determines whether the object type information of the target pixel stored in the object type information memory emphasizes sharpness. Alternatively, the edge amount calculation method is switched according to whether the graininess / gradation is important.

また、請求項5にかかる発明は、請求項1ないし4のいずれか一記載の画像処理装置において、前記中間調処理手段は、前記オブジェクト種類情報メモリに記憶されている注目画素のオブジェクト種類情報が鮮鋭性を重視するか、または粒状性・階調性を重視するかに応じて少なくとも第1の量子化閾値と第2の量子化閾値とを切り替えて適用し、前記第1の量子化閾値は画素位置によらず一定の値を持つ閾値であり鮮鋭性を重視するオブジェクト種類情報に対応し、前記第2の量子化閾値は画像空間上で周期的に振動する閾値であり粒状性・階調性を重視するオブジェクト種類情報に対応する。   According to a fifth aspect of the present invention, in the image processing device according to any one of the first to fourth aspects, the halftone processing means stores the object type information of the pixel of interest stored in the object type information memory. Switching between at least the first quantization threshold and the second quantization threshold depending on whether sharpness is important or granularity / gradation is important, the first quantization threshold is: The threshold value has a constant value regardless of the pixel position and corresponds to the object type information that emphasizes sharpness, and the second quantization threshold value is a threshold value that vibrates periodically in the image space, and has granularity and gradation. It corresponds to the object type information that emphasizes the nature.

また、請求項6にかかる発明は、請求項1ないし4のいずれか一記載の画像処理装置において、前記中間調処理手段は、前記オブジェクト種類情報メモリに記憶されている注目画素のオブジェクト種類情報が鮮鋭性を重視するか、または粒状性・階調性を重視するかに応じて少なくとも第1の量子化閾値と第2の量子化閾値とを切り替えて適用し、前記第1の量子化閾値は画像空間上で周期的に振動する閾値であり鮮鋭性を重視するオブジェクト種類情報に対応し、前記第2の量子化閾値は前記第1の閾値よりも画像空間上で大きな振幅幅で周期的に振動する閾値であり粒状性・階調性を重視するオブジェクト種類情報に対応する。   According to a sixth aspect of the present invention, in the image processing apparatus according to any one of the first to fourth aspects, the halftone processing means stores the object type information of the target pixel stored in the object type information memory. Switching between at least the first quantization threshold and the second quantization threshold depending on whether sharpness is important or granularity / gradation is important, the first quantization threshold is: Corresponding to object type information that is a threshold that periodically vibrates on the image space and emphasizes sharpness, the second quantization threshold is periodically larger in amplitude width on the image space than the first threshold. It corresponds to object type information that is a threshold value for vibration and emphasizes granularity and gradation.

また、請求項7にかかる発明は、請求項1ないし4のいずれか一記載の画像処理装置において、前記中間調処理手段は、前記オブジェクト種類情報メモリに記憶されている注目画素のオブジェクト種類情報が鮮鋭性を重視するか、または粒状性・階調性を重視するかに応じて少なくとも第1の量子化閾値と第2の量子化閾値とを切り替えて適用し、前記第1の量子化閾値は画像空間上で周期的に振動する閾値であり鮮鋭性を重視するオブジェクト種類情報に対応し、前記第2の量子化閾値は前記第1の閾値よりも大きな画像空間上で周期的に振動する閾値であり粒状性・階調性を重視するオブジェクト種類情報に対応する。   According to a seventh aspect of the present invention, in the image processing apparatus according to any one of the first to fourth aspects, the halftone processing means stores the object type information of the pixel of interest stored in the object type information memory. Switching between at least the first quantization threshold and the second quantization threshold depending on whether sharpness is important or granularity / gradation is important, the first quantization threshold is: A threshold that periodically oscillates in the image space, corresponds to object type information that emphasizes sharpness, and the second quantization threshold is a threshold that oscillates periodically in the image space larger than the first threshold. It corresponds to object type information that places importance on graininess and gradation.

また、請求項8にかかる発明は、請求項1ないし7のいずれか一記載の画像処理装置において、前記中間調処理手段により量子化処理されたビットマップデータに基づく画像を記録媒体上に形成する画像形成手段を有する。   According to an eighth aspect of the present invention, in the image processing apparatus according to any one of the first to seventh aspects, an image based on the bitmap data quantized by the halftone processing unit is formed on a recording medium. Image forming means is included.

また、請求項9にかかる発明のプログラムは、描画命令で表現されている画像を2次元のビットマップデータに展開してビットマップメモリに記憶するデータ記憶機能と、描画命令で表現されている画像のオブジェクト種類情報を前記ビットマップデータに展開された画像の各画素毎に対応付けてオブジェクト種類情報メモリに記憶するオブジェクト種類情報記憶機能と、前記オブジェクト種類情報メモリに記憶されている注目画素のオブジェクト種類情報が鮮鋭性を重視するか、または粒状性・階調性を重視するかに応じて量子化閾値を切り替え、注目画素周辺画素からの量子化誤差を加味して前記ビットマップメモリに記憶されているビットマップデータに対する量子化処理を行う中間調処理機能と、をコンピュータに実行させる。   According to a ninth aspect of the present invention, there is provided a data storage function for expanding an image expressed by a drawing command into two-dimensional bitmap data and storing the data in a bitmap memory, and an image expressed by a drawing command. Object type information storage function for storing the object type information in the object type information memory in association with each pixel of the image developed into the bitmap data, and the object of the target pixel stored in the object type information memory The quantization threshold is switched depending on whether the type information emphasizes sharpness or whether graininess / gradation is emphasized, and is stored in the bitmap memory in consideration of quantization errors from pixels around the pixel of interest. And a halftone processing function for performing a quantization process on the current bitmap data.

また、請求項10にかかる発明のプログラムは、描画命令で表現されている画像を2次元のビットマップデータに展開してビットマップメモリに記憶するデータ記憶機能と描画命令で表現されている画像のオブジェクト種類情報を前記ビットマップデータに展開された画像の各画素毎に対応付けてオブジェクト種類情報メモリに記憶するオブジェクト種類情報記憶機能と、前記ビットマップメモリに記憶されているビットマップデータの特徴量を算出する特徴量算出機能と、この特徴量算出機能により算出された前記ビットマップメモリに記憶されているビットマップデータの特徴量と前記オブジェクト種類情報メモリに記憶されている注目画素のオブジェクト種類情報とから、注目画素が鮮鋭性重視であるか、粒状性・階調性重視の画素であるかの閾値判定信号を生成する判定信号生成機能と、この判定信号生成機能により生成された閾値判定信号に応じて量子化閾値を切り替え、注目画素周辺画素からの量子化誤差を加味して前記ビットマップメモリに記憶されているビットマップデータに対する量子化処理を行う中間調処理機能と、をコンピュータに実行させる。   According to a tenth aspect of the present invention, there is provided a data storage function for developing an image expressed by a drawing command into two-dimensional bitmap data and storing the data in a bitmap memory, and an image expressed by the drawing command. Object type information storage function for storing object type information in the object type information memory in association with each pixel of the image developed into the bitmap data, and feature quantity of the bitmap data stored in the bitmap memory The feature amount calculation function for calculating the feature amount, the feature amount of the bitmap data stored in the bitmap memory calculated by the feature amount calculation function, and the object type information of the target pixel stored in the object type information memory Therefore, the pixel of interest emphasizes sharpness or is a pixel that emphasizes graininess and gradation. A determination signal generation function for generating a threshold determination signal, and a quantization threshold is switched according to the threshold determination signal generated by the determination signal generation function, and the quantization error from the surrounding pixels of the target pixel is taken into account A computer is caused to execute a halftone processing function for performing quantization processing on bitmap data stored in the bitmap memory.

また、請求項11にかかる発明の画像処理方法は、描画命令で表現されている画像を2次元のビットマップデータに展開してビットマップメモリに記憶するデータ記憶工程と、描画命令で表現されている画像のオブジェクト種類情報を前記ビットマップデータに展開された画像の各画素毎に対応付けてオブジェクト種類情報メモリに記憶するオブジェクト種類情報記憶工程と、前記オブジェクト種類情報メモリに記憶されている注目画素のオブジェクト種類情報が鮮鋭性を重視するか、または粒状性・階調性を重視するかに応じて量子化閾値を切り替え、注目画素周辺画素からの量子化誤差を加味して前記ビットマップメモリに記憶されているビットマップデータに対する量子化処理を行う中間調処理工程と、を含む。   An image processing method according to an eleventh aspect of the present invention is a data storage step of expanding an image expressed by a drawing command into two-dimensional bitmap data and storing the data in a bitmap memory, and the image processing method expressed by the drawing command. Object type information storage step for storing object type information of an image in the object type information memory in association with each pixel of the image developed into the bitmap data, and a target pixel stored in the object type information memory The quantization threshold is switched according to whether the object type information emphasizes sharpness, or emphasizes graininess / gradation, and the bitmap memory is added to the bitmap memory in consideration of the quantization error from the surrounding pixels of the target pixel. A halftone processing step of performing a quantization process on the stored bitmap data.

また、請求項12にかかる発明の画像処理方法は、描画命令で表現されている画像を2次元のビットマップデータに展開してビットマップメモリに記憶するデータ記憶工程と、描画命令で表現されている画像のオブジェクト種類情報を前記ビットマップデータに展開された画像の各画素毎に対応付けてオブジェクト種類情報メモリに記憶するオブジェクト種類情報記憶工程と、前記ビットマップメモリに記憶されているビットマップデータの特徴量を算出する特徴量算出工程と、この特徴量算出工程により算出された前記ビットマップメモリに記憶されているビットマップデータの特徴量と前記オブジェクト種類情報メモリに記憶されている注目画素のオブジェクト種類情報とから、注目画素が鮮鋭性重視であるか、粒状性・階調性重視の画素であるかの閾値判定信号を生成する判定信号生成工程と、この判定信号生成工程により生成された閾値判定信号に応じて量子化閾値を切り替え、注目画素周辺画素からの量子化誤差を加味して前記ビットマップメモリに記憶されているビットマップデータに対する量子化処理を行う中間調処理工程と、を含む。   According to a twelfth aspect of the present invention, there is provided an image processing method comprising: a data storage step of developing an image represented by a drawing command into two-dimensional bitmap data and storing the data in a bitmap memory; Object type information storing step of storing object type information of an image stored in the object type information memory in association with each pixel of the image developed into the bitmap data, and bitmap data stored in the bitmap memory A feature amount calculation step of calculating the feature amount of the image, a feature amount of the bitmap data stored in the bitmap memory calculated by the feature amount calculation step, and a target pixel stored in the object type information memory Based on the object type information, whether the pixel of interest emphasizes sharpness or an image that emphasizes graininess and gradation A threshold value determination signal for generating a threshold value determination signal and a threshold value determination signal generated by the determination signal generation step, and a quantization threshold value is switched. A halftone processing step of performing a quantization process on the bitmap data stored in the bitmap memory.

また、請求項13にかかる発明は、請求項12記載の画像処理方法において、前記特徴量算出工程において算出されるビットマップデータの特徴量は、画素毎のエッジ度合いを示す値であるエッジ量である。   According to a thirteenth aspect of the present invention, in the image processing method according to the twelfth aspect, the feature amount of the bitmap data calculated in the feature amount calculation step is an edge amount that is a value indicating an edge degree for each pixel. is there.

また、請求項14にかかる発明は、請求項13記載の画像処理方法において、前記特徴量算出工程は、前記オブジェクト種類情報メモリに記憶されている注目画素のオブジェクト種類情報が鮮鋭性を重視するか、または粒状性・階調性を重視するかに応じてエッジ量算出方法を切り替える。   The invention according to claim 14 is the image processing method according to claim 13, wherein in the feature amount calculation step, the object type information of the pixel of interest stored in the object type information memory emphasizes sharpness. Alternatively, the edge amount calculation method is switched according to whether the graininess / gradation is important.

また、請求項15にかかる発明は、請求項11ないし14のいずれか一記載の画像処理方法において、前記中間調処理工程は、前記オブジェクト種類情報メモリに記憶されている注目画素のオブジェクト種類情報が鮮鋭性を重視するか、または粒状性・階調性を重視するかに応じて少なくとも第1の量子化閾値と第2の量子化閾値とを切り替えて適用し、前記第1の量子化閾値は画素位置によらず一定の値を持つ閾値であり鮮鋭性を重視するオブジェクト種類情報に対応し、前記第2の量子化閾値は画像空間上で周期的に振動する閾値であり粒状性・階調性を重視するオブジェクト種類情報に対応する。   The invention according to claim 15 is the image processing method according to any one of claims 11 to 14, wherein in the halftone processing step, the object type information of the target pixel stored in the object type information memory is stored. Switching between at least the first quantization threshold and the second quantization threshold depending on whether sharpness is important or granularity / gradation is important, the first quantization threshold is: The threshold value has a constant value regardless of the pixel position and corresponds to the object type information that emphasizes sharpness, and the second quantization threshold value is a threshold value that vibrates periodically in the image space, and has granularity and gradation. It corresponds to the object type information that emphasizes the nature.

また、請求項16にかかる発明は、請求項11ないし14のいずれか一記載の画像処理方法において、前記中間調処理工程は、前記オブジェクト種類情報メモリに記憶されている注目画素のオブジェクト種類情報が鮮鋭性を重視するか、または粒状性・階調性を重視するかに応じて少なくとも第1の量子化閾値と第2の量子化閾値とを切り替えて適用し、前記第1の量子化閾値は画像空間上で周期的に振動する閾値であり鮮鋭性を重視するオブジェクト種類情報に対応し、前記第2の量子化閾値は前記第1の閾値よりも画像空間上で大きな振幅幅で周期的に振動する閾値であり粒状性・階調性を重視するオブジェクト種類情報に対応する。   According to a sixteenth aspect of the present invention, in the image processing method according to any one of the eleventh to fourteenth aspects, in the halftone processing step, the object type information of the pixel of interest stored in the object type information memory is stored. Switching between at least the first quantization threshold and the second quantization threshold depending on whether sharpness is important or granularity / gradation is important, the first quantization threshold is: Corresponding to object type information that is a threshold that periodically vibrates on the image space and emphasizes sharpness, the second quantization threshold is periodically larger in amplitude width on the image space than the first threshold. It corresponds to object type information that is a threshold value for vibration and emphasizes granularity and gradation.

また、請求項17にかかる発明は、請求項11ないし14のいずれか一記載の画像処理方法において、前記中間調処理工程は、前記オブジェクト種類情報メモリに記憶されている注目画素のオブジェクト種類情報が鮮鋭性を重視するか、または粒状性・階調性を重視するかに応じて少なくとも第1の量子化閾値と第2の量子化閾値とを切り替えて適用し、前記第1の量子化閾値は画像空間上で周期的に振動する閾値であり鮮鋭性を重視するオブジェクト種類情報に対応し、前記第2の量子化閾値は前記第1の閾値よりも大きな画像空間上で周期的に振動する閾値であり粒状性・階調性を重視するオブジェクト種類情報に対応する。   According to a seventeenth aspect of the present invention, in the image processing method according to any one of the eleventh to fourteenth aspects, in the halftone processing step, the object type information of the pixel of interest stored in the object type information memory is stored. Switching between at least the first quantization threshold and the second quantization threshold depending on whether sharpness is important or granularity / gradation is important, the first quantization threshold is: A threshold that periodically oscillates in the image space, corresponds to object type information that emphasizes sharpness, and the second quantization threshold is a threshold that oscillates periodically in the image space larger than the first threshold. It corresponds to object type information that places importance on graininess and gradation.

請求項1にかかる発明によれば、中間調処理手段における中間調処理では、オブジェクト種類情報メモリに記憶されている注目画素のオブジェクト種類情報が鮮鋭性を重視するか、または粒状性・階調性を重視するかに応じて量子化閾値が切り替えられるとともに、注目画素周辺画素からの量子化誤差を加味した量子化処理が行われる。これにより、オブジェクト種類情報に基づき量子化閾値が切り替えられた場合でも、鮮鋭性を重視したい領域と粒状性・階調性を重視したい領域との切り替わり部での画質劣化は生じず、鮮鋭性を重視したい領域と粒状性・階調性を重視したい領域とのそれぞれに適した処理結果を両立することができるので、文字及び写真が混在している入力画像に対し、画質劣化なしに文字領域、写真領域それぞれに適した処理結果が得られ、かつ小文字や低コントラスト文字等に対しても文字領域用の鮮鋭性に優れた処理結果を得ることができるという効果を奏する。   According to the first aspect of the invention, in the halftone processing in the halftone processing means, the object type information of the pixel of interest stored in the object type information memory places importance on sharpness, or graininess / gradation The quantization threshold is switched according to whether or not importance is placed on the image, and quantization processing is performed in consideration of the quantization error from the surrounding pixels of the target pixel. As a result, even when the quantization threshold is switched based on the object type information, image quality deterioration does not occur at the switching portion between the area where the sharpness is to be emphasized and the area where the granularity / gradation is emphasized, and the sharpness is improved. Since it is possible to achieve both processing results suitable for the area that you want to emphasize and the area that you want to emphasize graininess and gradation, the character area, without image quality degradation, for input images that contain both characters and photos A processing result suitable for each photographic area can be obtained, and a processing result excellent in sharpness for a character area can be obtained even for small letters and low contrast characters.

また、請求項2にかかる発明によれば、中間調処理手段における中間調処理では、ビットマップメモリに記憶されているビットマップデータの特徴量とオブジェクト種類情報メモリに記憶されている注目画素のオブジェクト種類情報とから、注目画素が鮮鋭性重視であるか、粒状性・階調性重視の画素であるかの閾値判定信号が生成され、生成された閾値判定信号に応じて量子化閾値が切り替えられるとともに、注目画素周辺画素からの量子化誤差を加味した量子化処理が行われる。これにより、オブジェクト種類情報及び特徴量に基づき量子化閾値が切り替えられた場合でも、鮮鋭性を重視したい領域と粒状性・階調性を重視したい領域との切り替わり部での画質劣化は生じず、鮮鋭性を重視したい領域と粒状性・階調性を重視したい領域とのそれぞれに適した処理結果を両立することができるので、文字及び写真が混在している入力画像に対し、画質劣化なしに文字領域、写真領域それぞれに適した処理結果が得られ、かつ小文字や低コントラスト文字等に対しても文字領域用の鮮鋭性に優れた処理結果を得ることができるという効果を奏する。   According to the invention of claim 2, in the halftone processing in the halftone processing means, the feature value of the bitmap data stored in the bitmap memory and the object of the target pixel stored in the object type information memory From the type information, a threshold determination signal is generated as to whether the pixel of interest is a pixel that emphasizes sharpness or a pixel that emphasizes graininess / gradation, and the quantization threshold is switched according to the generated threshold determination signal. At the same time, a quantization process is performed in consideration of quantization errors from pixels around the target pixel. Thereby, even when the quantization threshold is switched based on the object type information and the feature amount, image quality deterioration does not occur in a switching portion between an area where sharpness is important and an area where granularity / gradation is important, Since it is possible to achieve both processing results suitable for areas that want to emphasize sharpness and areas that want to emphasize graininess and gradation, there is no deterioration in image quality for input images that contain both text and photos. The processing result suitable for each of the character region and the photographic region can be obtained, and the processing result excellent in sharpness for the character region can be obtained even for small letters and low contrast characters.

また、請求項3にかかる発明によれば、特徴量算出手段において算出されるビットマップデータの特徴量は、画素毎のエッジ度合いを示す値であるエッジ量であることにより、オブジェクト種類情報がイメージオブジェクトであった場合のイメージ内に含まれる線や文字等のように鮮鋭性が良い方が好ましい領域についても、鮮鋭性を重視した処理を行うことができるという効果を奏する。   According to the invention of claim 3, the feature amount of the bitmap data calculated by the feature amount calculating means is an edge amount that is a value indicating the edge degree for each pixel, so that the object type information is imaged. Even in a region where it is preferable that the sharpness is preferable, such as a line or a character included in an image in the case of an object, there is an effect that processing that emphasizes sharpness can be performed.

また、請求項4にかかる発明によれば、特徴量算出手段は、オブジェクト種類情報メモリに記憶されている注目画素のオブジェクト種類情報が鮮鋭性を重視するか、または粒状性・階調性を重視するかに応じてエッジ量算出方法を切り替えることにより、複数色の版から構成される線、グラフ等のエッジ部において、版によって太さが異なったり、色が異なる問題を解決することができるという効果を奏する。   According to the invention of claim 4, the feature quantity calculating means emphasizes sharpness in the object type information of the target pixel stored in the object type information memory, or emphasizes graininess and gradation. By switching the edge amount calculation method according to whether or not the edge portion of a line, graph, or the like composed of a plurality of color plates can solve the problem of different thicknesses or colors depending on the plates. There is an effect.

また、請求項5にかかる発明によれば、鮮鋭性を重視したい領域と粒状性・階調性を重視したい領域とのそれぞれに適した処理結果を確実に両立することができるという効果を奏する。   Further, according to the invention according to claim 5, there is an effect that it is possible to surely achieve both the processing results suitable for the area where the sharpness is important and the area where the graininess / gradation is important.

また、請求項6にかかる発明によれば、鮮鋭性を重視したい領域と粒状性・階調性を重視したい領域とのそれぞれに適した処理結果を確実に両立することができるという効果を奏する。   Further, according to the invention of claim 6, there is an effect that it is possible to surely achieve both the processing results suitable for the area where the sharpness is important and the area where the graininess and gradation are important.

また、請求項7にかかる発明によれば、鮮鋭性を重視したい領域と粒状性・階調性を重視したい領域とのそれぞれに適した処理結果を確実に両立することができるという効果を奏する。   Further, according to the invention of claim 7, there is an effect that it is possible to surely achieve both processing results suitable for the region where sharpness is important and the region where granularity / gradation is important.

また、請求項8にかかる発明によれば、鮮鋭性を重視したい領域と粒状性・階調性を重視したい領域との切り替わり部での画質劣化を生じずに、記録媒体上に画像を形成することができるという効果を奏する。   According to the eighth aspect of the present invention, an image is formed on a recording medium without causing image quality deterioration at a switching portion between a region where sharpness is important and a region where granularity / gradation is important. There is an effect that can be.

また、請求項9にかかる発明によれば、中間調処理機能における中間調処理では、オブジェクト種類情報メモリに記憶されている注目画素のオブジェクト種類情報が鮮鋭性を重視するか、または粒状性・階調性を重視するかに応じて量子化閾値が切り替えられるとともに、注目画素周辺画素からの量子化誤差を加味した量子化処理が行われる。これにより、オブジェクト種類情報に基づき量子化閾値が切り替えられた場合でも、鮮鋭性を重視したい領域と粒状性・階調性を重視したい領域との切り替わり部での画質劣化は生じず、鮮鋭性を重視したい領域と粒状性・階調性を重視したい領域とのそれぞれに適した処理結果を両立することができるので、文字及び写真が混在している入力画像に対し、画質劣化なしに文字領域、写真領域それぞれに適した処理結果が得られ、かつ小文字や低コントラスト文字等に対しても文字領域用の鮮鋭性に優れた処理結果を得ることができるという効果を奏する。   According to the ninth aspect of the present invention, in the halftone processing in the halftone processing function, the object type information of the target pixel stored in the object type information memory places importance on sharpness, or the graininess / gradation level. The quantization threshold is switched according to whether tonality is important, and a quantization process is performed in consideration of quantization errors from pixels around the target pixel. As a result, even when the quantization threshold is switched based on the object type information, image quality deterioration does not occur at the switching portion between the area where the sharpness is to be emphasized and the area where the granularity / gradation is emphasized, and the sharpness is improved. Since it is possible to achieve both processing results suitable for the area that you want to emphasize and the area that you want to emphasize graininess and gradation, the character area, without image quality degradation, for input images that contain both characters and photos A processing result suitable for each photographic area can be obtained, and a processing result excellent in sharpness for a character area can be obtained even for small letters and low contrast characters.

また、請求項10にかかる発明によれば、中間調処理機能における中間調処理では、ビットマップメモリに記憶されているビットマップデータの特徴量とオブジェクト種類情報メモリに記憶されている注目画素のオブジェクト種類情報とから、注目画素が鮮鋭性重視であるか、粒状性・階調性重視の画素であるかの閾値判定信号が生成され、生成された閾値判定信号に応じて量子化閾値が切り替えられるとともに、注目画素周辺画素からの量子化誤差を加味した量子化処理が行われる。これにより、オブジェクト種類情報及び特徴量に基づき量子化閾値が切り替えられた場合でも、鮮鋭性を重視したい領域と粒状性・階調性を重視したい領域との切り替わり部での画質劣化は生じず、鮮鋭性を重視したい領域と粒状性・階調性を重視したい領域とのそれぞれに適した処理結果を両立することができるので、文字及び写真が混在している入力画像に対し、画質劣化なしに文字領域、写真領域それぞれに適した処理結果が得られ、かつ小文字や低コントラスト文字等に対しても文字領域用の鮮鋭性に優れた処理結果を得ることができるという効果を奏する。   According to the invention of claim 10, in the halftone processing in the halftone processing function, the feature value of the bitmap data stored in the bitmap memory and the object of the pixel of interest stored in the object type information memory From the type information, a threshold determination signal is generated as to whether the pixel of interest is a pixel that emphasizes sharpness or a pixel that emphasizes graininess / gradation, and the quantization threshold is switched according to the generated threshold determination signal. At the same time, a quantization process is performed in consideration of quantization errors from pixels around the target pixel. Thereby, even when the quantization threshold is switched based on the object type information and the feature amount, image quality deterioration does not occur in a switching portion between an area where sharpness is important and an area where granularity / gradation is important, Since it is possible to achieve both processing results suitable for areas that want to emphasize sharpness and areas that want to emphasize graininess and gradation, there is no deterioration in image quality for input images that contain both text and photos. The processing result suitable for each of the character region and the photographic region can be obtained, and the processing result excellent in sharpness for the character region can be obtained even for small letters and low contrast characters.

また、請求項11にかかる発明によれば、中間調処理工程における中間調処理では、オブジェクト種類情報メモリに記憶されている注目画素のオブジェクト種類情報が鮮鋭性を重視するか、または粒状性・階調性を重視するかに応じて量子化閾値が切り替えられるとともに、注目画素周辺画素からの量子化誤差を加味した量子化処理が行われる。これにより、オブジェクト種類情報に基づき量子化閾値が切り替えられた場合でも、鮮鋭性を重視したい領域と粒状性・階調性を重視したい領域との切り替わり部での画質劣化は生じず、鮮鋭性を重視したい領域と粒状性・階調性を重視したい領域とのそれぞれに適した処理結果を両立することができるので、文字及び写真が混在している入力画像に対し、画質劣化なしに文字領域、写真領域それぞれに適した処理結果が得られ、かつ小文字や低コントラスト文字等に対しても文字領域用の鮮鋭性に優れた処理結果を得ることができるという効果を奏する。   According to the invention of claim 11, in the halftone processing in the halftone processing step, the object type information of the target pixel stored in the object type information memory places importance on sharpness, or the graininess / gradation level. The quantization threshold is switched according to whether tonality is important, and a quantization process is performed in consideration of quantization errors from pixels around the target pixel. As a result, even when the quantization threshold is switched based on the object type information, image quality deterioration does not occur at the switching portion between the area where the sharpness is to be emphasized and the area where the granularity / gradation is emphasized, and the sharpness is improved. Since it is possible to achieve both processing results suitable for the area that you want to emphasize and the area that you want to emphasize graininess and gradation, the character area, without image quality degradation, for input images that contain both characters and photos A processing result suitable for each photographic area can be obtained, and a processing result excellent in sharpness for a character area can be obtained even for small letters and low contrast characters.

また、請求項12にかかる発明によれば、中間調処理工程における中間調処理では、ビットマップメモリに記憶されているビットマップデータの特徴量とオブジェクト種類情報メモリに記憶されている注目画素のオブジェクト種類情報とから、注目画素が鮮鋭性重視であるか、粒状性・階調性重視の画素であるかの閾値判定信号が生成され、生成された閾値判定信号に応じて量子化閾値が切り替えられるとともに、注目画素周辺画素からの量子化誤差を加味した量子化処理が行われる。これにより、オブジェクト種類情報及び特徴量に基づき量子化閾値が切り替えられた場合でも、鮮鋭性を重視したい領域と粒状性・階調性を重視したい領域との切り替わり部での画質劣化は生じず、鮮鋭性を重視したい領域と粒状性・階調性を重視したい領域とのそれぞれに適した処理結果を両立することができるので、文字及び写真が混在している入力画像に対し、画質劣化なしに文字領域、写真領域それぞれに適した処理結果が得られ、かつ小文字や低コントラスト文字等に対しても文字領域用の鮮鋭性に優れた処理結果を得ることができるという効果を奏する。   According to the invention of claim 12, in the halftone processing in the halftone processing step, the feature amount of the bitmap data stored in the bitmap memory and the object of the pixel of interest stored in the object type information memory From the type information, a threshold determination signal is generated as to whether the pixel of interest is a pixel that emphasizes sharpness or a pixel that emphasizes graininess / gradation, and the quantization threshold is switched according to the generated threshold determination signal. At the same time, a quantization process is performed in consideration of quantization errors from pixels around the target pixel. Thereby, even when the quantization threshold is switched based on the object type information and the feature amount, image quality deterioration does not occur in a switching portion between an area where sharpness is important and an area where granularity / gradation is important, Since it is possible to achieve both processing results suitable for areas that want to emphasize sharpness and areas that want to emphasize graininess and gradation, there is no deterioration in image quality for input images that contain both text and photos. The processing result suitable for each of the character region and the photographic region can be obtained, and the processing result excellent in sharpness for the character region can be obtained even for small letters and low contrast characters.

また、請求項13にかかる発明によれば、特徴量算出工程において算出されるビットマップデータの特徴量は、画素毎のエッジ度合いを示す値であるエッジ量であることにより、オブジェクト種類情報がイメージオブジェクトであった場合のイメージ内に含まれる線や文字等のように鮮鋭性が良い方が好ましい領域についても、鮮鋭性を重視した処理を行うことができるという効果を奏する。   According to the thirteenth aspect of the present invention, the feature amount of the bitmap data calculated in the feature amount calculation step is an edge amount that is a value indicating the edge degree for each pixel, so that the object type information is an image. Even in a region where it is preferable that the sharpness is preferable, such as a line or a character included in an image in the case of an object, there is an effect that processing that emphasizes sharpness can be performed.

また、請求項14にかかる発明によれば、特徴量算出工程は、オブジェクト種類情報メモリに記憶されている注目画素のオブジェクト種類情報が鮮鋭性を重視するか、または粒状性・階調性を重視するかに応じてエッジ量算出方法を切り替えることにより、複数色の版から構成される線、グラフ等のエッジ部において、版によって太さが異なったり、色が異なる問題を解決することができるという効果を奏する。   According to the fourteenth aspect of the present invention, in the feature amount calculation step, the object type information of the target pixel stored in the object type information memory emphasizes sharpness, or emphasizes graininess and gradation. By switching the edge amount calculation method according to whether or not the edge portion of a line, graph, or the like composed of a plurality of color plates can solve the problem of different thicknesses or colors depending on the plates. There is an effect.

また、請求項15にかかる発明によれば、鮮鋭性を重視したい領域と粒状性・階調性を重視したい領域とのそれぞれに適した処理結果を確実に両立することができるという効果を奏する。   Further, according to the fifteenth aspect of the present invention, there is an effect that it is possible to surely achieve both the processing results suitable for the region where sharpness is important and the region where granularity / gradation is important.

また、請求項16にかかる発明によれば、鮮鋭性を重視したい領域と粒状性・階調性を重視したい領域とのそれぞれに適した処理結果を確実に両立することができるという効果を奏する。   Further, according to the sixteenth aspect of the present invention, there is an effect that it is possible to surely achieve both processing results suitable for the region where sharpness is important and the region where granularity / gradation is important.

また、請求項17にかかる発明によれば、鮮鋭性を重視したい領域と粒状性・階調性を重視したい領域とのそれぞれに適した処理結果を確実に両立することができるという効果を奏する。   According to the seventeenth aspect of the invention, there is an effect that it is possible to surely achieve both the processing results suitable for the region where sharpness is important and the region where granularity / gradation is important.

以下に添付図面を参照して、この発明にかかる画像処理装置の最良な実施の形態を詳細に説明する。   Exemplary embodiments of an image processing apparatus according to the present invention will be explained below in detail with reference to the accompanying drawings.

(第1の実施の形態)
本発明の第1の実施の形態を図1ないし図7に基づいて説明する。本実施の形態は、画像処理装置として、モノクロレーザプリンタに適用した例を示す。
(First embodiment)
A first embodiment of the present invention will be described with reference to FIGS. This embodiment shows an example in which the present invention is applied to a monochrome laser printer as an image processing apparatus.

図1は、本発明の第1の実施の形態にかかるプリンティングシステムの構築例を示す模式図である。本実施の形態のプリンティングシステムでは、画像処理装置であるモノクロレーザプリンタP1にLAN(Local Area Network)等のネットワークNを介してコンピュータ1が複数台接続されたシステムを想定しており、コンピュータ1上で作成されたデジタル文書データがネットワークNを介してモノクロレーザプリンタP1に送信され、送信されたデジタル文書データがモノクロレーザプリンタP1よりハードコピー出力されるものである。   FIG. 1 is a schematic diagram showing a construction example of a printing system according to the first embodiment of the present invention. The printing system according to the present embodiment assumes a system in which a plurality of computers 1 are connected to a monochrome laser printer P1 that is an image processing apparatus via a network N such as a LAN (Local Area Network). The digital document data created in (1) is transmitted to the monochrome laser printer P1 via the network N, and the transmitted digital document data is output as a hard copy from the monochrome laser printer P1.

まず、コンピュータ1について簡単に説明する。コンピュータ1は、一般的又は標準的なパーソナルコンピュータであり、オペレーティングシステム(OS)上で動作するアプリケーションプログラムとして、マイクロソフト社のワード(登録商標)のようなワードプロセッサソフトやアドビ社のページメーカ(登録商標)のようなページレイアウトソフト、ワードプロセッサソフトやページレイアウトソフトの印刷指示に合わせて印字を行うためにモノクロレーザプリンタP1を制御するプリンタドライバなどをHDD(図示せず)に記憶している。   First, the computer 1 will be briefly described. The computer 1 is a general or standard personal computer, and as an application program operating on an operating system (OS), word processor software such as Microsoft Word (registered trademark) or Adobe page maker (registered trademark). The printer driver for controlling the monochrome laser printer P1 is stored in the HDD (not shown) in order to perform printing in accordance with the print instructions of the page layout software, word processor software and page layout software.

ワードプロセッサソフトやページレイアウトソフトで作成されたデジタル文書データは、オペレーティングシステム(OS)を介してプリンタドライバに受け渡される。プリンタドライバに受け渡されるデジタル文書データは、一般にページ記述言語(PDL:Page-Description Language)で記述された文書内容に対応したPDLコマンド(描画命令)である。このPDLコマンドは、通常次の3種類のオブジェクト種類から構成される。文字を示す文字オブジェクト、線、グラフ、図形、グラデーション等ベクトル情報で記述が可能な電子的画像を示すグラフィックオブジェクト、そしてスキャナ等で読み込まれる写真等の自然画像を示すイメージオブジェクトの3種類である。ページ記述言語(PDL)は、特定のプリンタのみに依存しない形式でプリンタ出力用のデータを記述することを目的として設計された言語処理系、またはプリンタ制御コードである。代表的なページ記述言語(PDL)としては、GDI(登録商標)やポストスクリプト(登録商標)などが挙げられる。   Digital document data created by word processor software or page layout software is transferred to a printer driver via an operating system (OS). Digital document data delivered to the printer driver is generally a PDL command (rendering command) corresponding to document contents described in a page description language (PDL). This PDL command is usually composed of the following three types of objects. There are three types: a character object indicating a character, a graphic object indicating an electronic image that can be described by vector information such as a line, a graph, a figure, and a gradation, and an image object indicating a natural image such as a photograph read by a scanner or the like. The page description language (PDL) is a language processing system or printer control code designed for the purpose of describing data for printer output in a format independent of only a specific printer. Typical page description languages (PDL) include GDI (registered trademark) and Postscript (registered trademark).

PDLコマンドを受け渡されたプリンタドライバは、当該PDLコマンドをネットワークNを介してモノクロレーザプリンタP1に送信する。   The printer driver that has received the PDL command transmits the PDL command to the monochrome laser printer P1 via the network N.

次に、モノクロレーザプリンタP1の制御系の概略構成例を図2に示すブロック図を参照して説明する。この制御系としては、ROM(Read Only Memory)11及びRAM(Random Access Memory)12とともにマイクロコンピュータを構成するCPU(Central Processing Unit)13が設けられている。このCPU13はROM11内に格納された制御プログラムに従い、用紙搬送用のモータ14や、周知の電子写真方式により画像を記録媒体上に形成する画像形成手段であるプリンタエンジン15の駆動制御を始めとして、当該モノクロレーザプリンタP1全体の制御を受け持つ。RAM12には各種処理を行う上で必要なデータ等を一時格納するための等の作業領域(例えば、ビットマップメモリ22やオブジェクト種類情報メモリ23(図3参照))として使われる。また、ROM11内には、画像処理プログラムを始め、その他の各種プログラムが格納されている。また、I/Oインターフェース16を介し、モータ14やプリンタエンジン15を始めとし、当該モノクロレーザプリンタP1を制御する上で必要なその他の入出力装置が接続されている。CPU13、ROM11、RAM12、I/Oインターフェース16は、アドレスバス17及びデータバス18にて接続されており、アドレスの指定及びデータの入出力を行っている。   Next, a schematic configuration example of the control system of the monochrome laser printer P1 will be described with reference to the block diagram shown in FIG. As this control system, a CPU (Central Processing Unit) 13 constituting a microcomputer is provided together with a ROM (Read Only Memory) 11 and a RAM (Random Access Memory) 12. In accordance with a control program stored in the ROM 11, the CPU 13 starts driving control of a paper transport motor 14 and a printer engine 15 which is an image forming means for forming an image on a recording medium by a known electrophotographic method. Responsible for overall control of the monochrome laser printer P1. The RAM 12 is used as a work area (for example, a bitmap memory 22 or an object type information memory 23 (see FIG. 3)) for temporarily storing data necessary for performing various processes. The ROM 11 stores an image processing program and other various programs. Further, via the I / O interface 16, the motor 14 and the printer engine 15 and other input / output devices necessary for controlling the monochrome laser printer P1 are connected. The CPU 13, ROM 11, RAM 12, and I / O interface 16 are connected by an address bus 17 and a data bus 18, and perform address designation and data input / output.

図3は、モノクロレーザプリンタP1の機能構成を示すブロック図である。図3に示すように、モノクロレーザプリンタP1は、CPU13がROM11内に格納された画像処理プログラムに従うことにより、PDL解釈手段21と、ビットマップメモリ22と、オブジェクト種類情報メモリ23と、中間調処理手段24とを実現する。   FIG. 3 is a block diagram showing a functional configuration of the monochrome laser printer P1. As shown in FIG. 3, in the monochrome laser printer P1, the CPU 13 follows the image processing program stored in the ROM 11, so that the PDL interpretation means 21, the bitmap memory 22, the object type information memory 23, and the halftone process Means 24 are implemented.

PDL解釈手段21は、コンピュータ1のプリンタドライバから送信されたPDLコマンドで表現されている文字、線、図形、写真等の内容を解釈し、2次元のビットマップデータにして、文字や図形などのページの構成要素の各モジュールをページ単位の出力サイズに合わせてラスタ化して、ビットマップメモリ22に一時的に記憶する(データ記憶手段)。同時に、PDL解釈手段21は、PDLコマンドで表現されている画像が、文字オブジェクトであったか、グラフィックオブジェクトであったか、イメージオブジェクトであったかのオブジェクト種類情報を、ビットマップデータに展開された画像の各画素毎に対応付けて生成して、オブジェクト種類情報メモリ23に一時的に記憶する(オブジェクト種類情報記憶手段)。なお、PDLコマンドで表現されている画像では、文字オブジェクトであるか、グラフィックオブジェクトであるか、イメージオブジェクトであるかを、コマンドによって容易に区別できる。   The PDL interpretation means 21 interprets the contents of characters, lines, figures, photographs, etc. expressed by the PDL commands transmitted from the printer driver of the computer 1, converts them into two-dimensional bitmap data, and converts the characters, figures, etc. Each module of the page components is rasterized in accordance with the output size in page units and temporarily stored in the bitmap memory 22 (data storage means). At the same time, the PDL interpretation unit 21 obtains object type information indicating whether the image represented by the PDL command is a character object, a graphic object, or an image object for each pixel of the image expanded into bitmap data. And is temporarily stored in the object type information memory 23 (object type information storage means). An image expressed by a PDL command can be easily distinguished by a command whether it is a character object, a graphic object, or an image object.

中間調処理手段24は、ビットマップメモリ22に記憶されていたビットマップデータを入力画像データとして受け、オブジェクト種類情報メモリ23から受け取ったオブジェクト種類情報に基づいて量子化閾値の選択を行い、少値化処理を行う。   The halftone processing means 24 receives the bitmap data stored in the bitmap memory 22 as input image data, selects a quantization threshold based on the object type information received from the object type information memory 23, and reduces the small value. Process.

ここで、中間調処理手段24の構成・動作について図4を参照しつつ詳述する。図4に示すように、中間調処理手段24は、閾値選択部31と、修正入力値算出部32と、出力階調値決定部33と、誤差算出部34と、誤差バッファ35と、誤差和算出部36とで構成されている。   Here, the configuration and operation of the halftone processing means 24 will be described in detail with reference to FIG. As shown in FIG. 4, the halftone processing unit 24 includes a threshold selection unit 31, a corrected input value calculation unit 32, an output gradation value determination unit 33, an error calculation unit 34, an error buffer 35, and an error sum. It is comprised with the calculation part 36. FIG.

閾値選択部31では、オブジェクト種類情報メモリ23から受けたオブジェクト種類情報に基づき、注目画素が文字オブジェクトである場合、すなわち解像性(鮮鋭性)を重視した処理を行うことが望ましい場合は、注目画素の画素位置によって閾値を変化させない固定閾値を用い、注目画素がグラフィックオブジェクトもしくはイメージオブジェクトである場合、すなわち粒状性・階調性を重視した処理を行うことが望ましい場合は、図5に示すような閾値マトリクスM1を用いて量子化を行うことを決定して、決定した閾値情報を出力階調値決定部33へ送る。   In the threshold selection unit 31, based on the object type information received from the object type information memory 23, when the target pixel is a character object, that is, when it is desirable to perform processing that emphasizes resolution (sharpness), When it is desirable to use a fixed threshold value that does not change the threshold value depending on the pixel position of the pixel and the target pixel is a graphic object or an image object, that is, it is desirable to perform processing that emphasizes graininess and gradation, as shown in FIG. Quantization is determined using the threshold matrix M1 and the determined threshold information is sent to the output tone value determination unit 33.

修正入力値算出部32では、ビットマップメモリ22から受けた入力画像データ中の注目画素における画素データと、後述する誤差和算出部36から得られた周辺画素における誤差和との和である修正入力値を算出して後段の出力階調値決定部33に送る。   In the corrected input value calculation unit 32, a corrected input that is the sum of the pixel data of the pixel of interest in the input image data received from the bitmap memory 22 and the error sum of the surrounding pixels obtained from the error sum calculation unit 36 described later. The value is calculated and sent to the output tone value determination unit 33 in the subsequent stage.

出力階調値決定部33では、閾値選択部31から受けた閾値情報(固定閾値または閾値マトリクスM1)から注目画素に対応する閾値と修正入力値算出部32から受けた修正入力値との大小関係を比較して、出力階調値を決定する。   In the output tone value determination unit 33, the magnitude relationship between the threshold value corresponding to the target pixel from the threshold value information (fixed threshold value or threshold value matrix M1) received from the threshold value selection unit 31 and the corrected input value received from the corrected input value calculation unit 32. Are compared to determine the output gradation value.

ここで、閾値選択部31が固定閾値を用いることを決定した場合についての処理例について説明する。なお、本実施の形態では、入力階調値、出力階調値とも“0”以上“255”以下の整数値を取り、“0”は最も濃度が低く、“255”は最も濃度が高いとする。閾値選択部31が固定閾値を用いることを決定した場合、例えば出力階調値“255”に相当するドットを出すか否かを決定するための閾値を“128”としておき、注目画素の修正入力値が“128”以下であれば出力階調値は“0”、注目画素の修正入力値が“128”より大きければ出力階調値は“255”とする。   Here, a processing example when the threshold selection unit 31 determines to use a fixed threshold will be described. In this embodiment, both the input gradation value and the output gradation value take integer values from “0” to “255”, with “0” having the lowest density and “255” having the highest density. To do. When the threshold selection unit 31 determines to use a fixed threshold, for example, the threshold for determining whether to output a dot corresponding to the output gradation value “255” is set to “128”, and the correction input of the target pixel is performed. If the value is “128” or less, the output gradation value is “0”, and if the corrected input value of the target pixel is greater than “128”, the output gradation value is “255”.

次に、閾値選択部31が図5に示す閾値マトリクスM1を用いることを決定した場合についての処理例について説明する。図5に示す閾値マトリクスM1は、出力階調値“255”に相当するドットを出すか否かを決定する閾値であり、600dpiの出力解像度において約212線、45度の網点スクリーンを表現する2値出力用の閾値マトリクスである。閾値マトリクス上で注目画素に対応する位置は、出力画像のサイズにタイル状に繰り返し敷き詰めたとき、注目画素が閾値マトリクス中のどの位置に相当するかにより決定する。すなわち、閾値マトリクスのサイズが横w画素、縦h画素である場合、出力画像座標で横X、縦Yの位置の注目画素に対しては、閾値マトリクス座標で横(X−mw)、縦(Y−nh)の位置の閾値を用いる。ここで、n及びmは座標が最も小さくなる数である。図5に示す閾値マトリクスM1においては、w=h=4であり、例えば出力画像座標で(X,Y)=(9,6)である注目画素に対しては、閾値マトリクス座標で(x,y)=(1,2)の位置の閾値を用いて出力画素値を求める。すなわち、注目画素の修正入力値が出力階調値“255”に相当するドットを出すか否かを決定するための閾値“176”以下であれば出力階調値は“0”、“176”より大きければ出力階調値は“255”となる。   Next, a processing example when the threshold selection unit 31 determines to use the threshold matrix M1 shown in FIG. 5 will be described. A threshold value matrix M1 shown in FIG. 5 is a threshold value for determining whether or not to output a dot corresponding to the output gradation value “255”, and represents a halftone dot screen of about 212 lines and 45 degrees at an output resolution of 600 dpi. It is a threshold value matrix for binary output. The position corresponding to the target pixel on the threshold matrix is determined depending on which position in the threshold matrix the target pixel corresponds to when the output image size is repeatedly tiled. That is, when the threshold matrix size is horizontal w pixels and vertical h pixels, the target pixel at the horizontal X and vertical Y positions in the output image coordinates is horizontal (X-mw) and vertical ( Y−nh) position threshold is used. Here, n and m are numbers with the smallest coordinates. In the threshold value matrix M1 shown in FIG. 5, w = h = 4. For example, for an attention pixel in which (X, Y) = (9, 6) in the output image coordinates, (x, y) = Output pixel value is obtained using the threshold value at the position of (1, 2). That is, if the corrected input value of the target pixel is equal to or less than the threshold value “176” for determining whether or not to output a dot corresponding to the output gradation value “255”, the output gradation value is “0”, “176”. If it is larger, the output gradation value is “255”.

誤差算出部34では、修正入力値算出部32で算出された修正入力値から出力階調値決定部33で決定した出力階調値を減じた値を量子化誤差値として算出し、算出した量子化誤差値を誤差バッファ35に格納する。   The error calculation unit 34 calculates a value obtained by subtracting the output tone value determined by the output tone value determination unit 33 from the corrected input value calculated by the correction input value calculation unit 32 as a quantization error value, and calculates the calculated quantum value. The error value is stored in the error buffer 35.

一方、誤差和算出部36は、図6に示すような誤差マトリクスM2を用いて注目画素に関与する誤差の和を算出する。図6において、×印で示した位置が注目画素を意味する。例えば、注目画素の1ライン真上の画素の量子化誤差値が“32”であった場合、図6に示す誤差マトリクスM2中のその画素に対応する値は“4/32”であるから、その画素から注目画素に関与する誤差値は両者の積である4となる。このようにして、1つの注目画素に対して2ライン上の7画素、1ライン上の7画素、同一ラインの3画素の計17画素における量子化誤差値を誤差バッファ35から読み出し、図6に示す誤差マトリクスM2と積和演算を行うことで注目画素に関与する誤差和を算出して、その誤差和を修正入力値算出部32へ送る。なお、図6に示す誤差マトリクスM2は全ての要素を加算したとき“1”となるように設計している。これは、発生した誤差値を過不足なく周囲の画素で用いるためである。   On the other hand, the error sum calculation unit 36 calculates the sum of errors related to the target pixel using an error matrix M2 as shown in FIG. In FIG. 6, the position indicated by “x” means the target pixel. For example, if the quantization error value of the pixel immediately above the target pixel is “32”, the value corresponding to that pixel in the error matrix M2 shown in FIG. 6 is “4/32”. The error value related to the pixel of interest from that pixel is 4 which is the product of both. In this way, the quantization error values of a total of 17 pixels, that is, 7 pixels on 2 lines, 7 pixels on 1 line, and 3 pixels on the same line, are read from the error buffer 35 for one pixel of interest, and FIG. An error sum related to the pixel of interest is calculated by performing a product-sum operation with the error matrix M2 shown, and the error sum is sent to the corrected input value calculation unit 32. The error matrix M2 shown in FIG. 6 is designed to be “1” when all elements are added. This is because the generated error value is used in surrounding pixels without excess or deficiency.

なお、誤差値を算出するために、図7に示すような誤差マトリクスM3を利用しても良い。図7に示す誤差マトリクスM3は、図6に示す誤差マトリクスM2中の各値を32倍したものである。例えば、注目画素の1ライン真上の画素の量子化誤差値が“32”であった場合、図7に示す誤差マトリクスM3中のその画素に対応する値は“4”であるから、その画素から注目画素に関与する誤差値はひとまず両者の積である“128”とする。このようにして、1つの注目画素に対して2ライン上の7画素、1ライン上の7画素、同一ラインの3画素の計17画素における量子化誤差値を誤差バッファ35から読み出し、図7に示す誤差マトリクスM3と演算を行うことで注目画素に関与する誤差和を算出する。このような方法をとることにより、高速なシフト演算や整数演算で注目画素に関与する誤差和を算出することができる。その後、誤差マトリクス中の各値は32倍にしているため、前記誤差和を32で除算する。   In order to calculate the error value, an error matrix M3 as shown in FIG. 7 may be used. The error matrix M3 shown in FIG. 7 is obtained by multiplying each value in the error matrix M2 shown in FIG. 6 by 32 times. For example, when the quantization error value of a pixel immediately above the target pixel is “32”, the value corresponding to that pixel in the error matrix M3 shown in FIG. 7 is “4”. Therefore, the error value related to the pixel of interest is “128” which is the product of both. In this manner, the quantization error values of a total of 17 pixels, that is, 7 pixels on 2 lines, 7 pixels on 1 line, and 3 pixels on the same line, are read from the error buffer 35 for one pixel of interest. An error sum related to the pixel of interest is calculated by performing an operation with the error matrix M3 shown. By adopting such a method, it is possible to calculate a sum of errors related to the pixel of interest by high-speed shift calculation or integer calculation. Thereafter, since each value in the error matrix is multiplied by 32, the error sum is divided by 32.

以上が中間調処理手段24の構成・動作についての説明である。上記のような中間調処理手段24における中間調処理では、注目画素周辺画素からの量子化誤差を加味した量子化処理を行うため、オブジェクト種類情報に基づき閾値を切り替えた場合でも、鮮鋭性を重視したい領域と粒状性・階調性を重視したい領域との切り替わり部での画質劣化は生じない。   The above is the description of the configuration and operation of the halftone processing means 24. In the halftone processing in the halftone processing means 24 as described above, the quantization processing is performed in consideration of the quantization error from the surrounding pixel of the target pixel. Therefore, even when the threshold value is switched based on the object type information, the sharpness is emphasized. The image quality deterioration does not occur at the switching portion between the desired area and the area where the graininess and gradation are important.

このようにして中間調処理手段24で少値化されたデータは、その後プリンタエンジン15へと送られ、プリンタエンジン15における記憶媒体に対する画像形成が実行される。   The data that has been reduced in value by the halftone processing unit 24 in this manner is then sent to the printer engine 15 where image formation on the storage medium in the printer engine 15 is executed.

このように本実施の形態によれば、中間調処理手段24における中間調処理では、オブジェクト種類情報メモリ23に記憶されている注目画素のオブジェクト種類情報が鮮鋭性を重視するか、または粒状性・階調性を重視するかに応じて量子化閾値が切り替えられるとともに、注目画素周辺画素からの量子化誤差を加味した量子化処理が行われる。これにより、オブジェクト種類情報に基づき量子化閾値が切り替えられた場合でも、鮮鋭性を重視したい領域と粒状性・階調性を重視したい領域との切り替わり部での画質劣化は生じず、鮮鋭性を重視したい領域と粒状性・階調性を重視したい領域とのそれぞれに適した処理結果を両立することができるので、文字及び写真が混在している入力画像に対し、画質劣化なしに文字領域、写真領域それぞれに適した処理結果が得られ、かつ小文字や低コントラスト文字等に対しても文字領域用の鮮鋭性に優れた処理結果を得ることができる。   As described above, according to the present embodiment, in the halftone processing in the halftone processing means 24, the object type information of the target pixel stored in the object type information memory 23 places importance on sharpness, or the graininess / The quantization threshold is switched depending on whether the gradation is important, and a quantization process is performed in consideration of quantization errors from pixels around the target pixel. As a result, even when the quantization threshold is switched based on the object type information, image quality deterioration does not occur at the switching portion between the area where the sharpness is to be emphasized and the area where the granularity / gradation is important, and the sharpness Since it is possible to achieve both processing results suitable for the area that you want to emphasize and the area that you want to emphasize graininess and gradation, the character area, without image quality degradation, for input images that contain both characters and photos A processing result suitable for each photographic area can be obtained, and a processing result excellent in sharpness for a character area can be obtained even for small letters and low contrast characters.

ここでは、中間調処理手段24は、オブジェクト種類情報メモリ23に記憶されている注目画素のオブジェクト種類情報が鮮鋭性を重視するか、または粒状性・階調性を重視するかに応じて少なくとも第1の量子化閾値(固定閾値)と第2の量子化閾値(閾値マトリクスM1)とを切り替えて適用し、第1の量子化閾値(固定閾値)は画素位置によらず一定の値を持つ閾値であり鮮鋭性を重視するオブジェクト種類情報に対応し、第2の量子化閾値(閾値マトリクスM1)は画像空間上で周期的に振動する閾値であり粒状性・階調性を重視するオブジェクト種類情報に対応する。   In this case, the halftone processing means 24 at least in accordance with whether the object type information of the target pixel stored in the object type information memory 23 emphasizes sharpness, or emphasizes graininess / gradation. The first quantization threshold (fixed threshold) and the second quantization threshold (threshold matrix M1) are switched and applied, and the first quantization threshold (fixed threshold) has a constant value regardless of the pixel position. And the second quantization threshold (threshold matrix M1) is a threshold that periodically vibrates in the image space, and object type information that places importance on graininess and gradation. Corresponding to

なお、本実施の形態では、中間調処理手段24の出力階調値決定部33における固定閾値の出力階調値が“0”、“255”の2値のいずれかを取る例を示したが、本発明に基づく構成としてはこれに限るものではなく、例えば、3値、4値、8値や16値などの多値の出力階調値を持つ構成であっても良く、また、出力階調値も例えば4値出力では“0”、“128”、“192”、“255”のように不均等な値のいずれかを取る構成であっても良い。さらに、閾値マトリクスを用いた量子化を行う場合についても同様に、本実施の形態では出力階調値が“0”、“255”の2値のいずれかを取る例を示したが、多値の出力階調値を持つ構成であっても良く、例えば4値出力で出力階調値“85”,“170”,“255”に相当するドットを出すか否かを決定するための閾値マトリクスを、
(1)出力階調値“255”用
(2)出力階調値“170”用
(3)出力階調値“85”用
の計3枚をそれぞれ用意しておき、(1)→(2)→(3)の順に大きな出力階調値に対応する閾値マトリクスの方から順次比較していき、注目画素の修正入力値が閾値以上の場合に該当する出力階調値を出力すればよい。
In the present embodiment, the output gradation value of the fixed threshold value in the output gradation value determining unit 33 of the halftone processing unit 24 has an example in which one of the binary values “0” and “255” is taken. However, the configuration based on the present invention is not limited to this. For example, a configuration having multi-value output gradation values such as three-value, four-value, eight-value, and sixteen-value may be used. For example, in the case of four-value output, the adjustment value may be any one of unequal values such as “0”, “128”, “192”, and “255”. Further, in the case of performing quantization using a threshold matrix, the present embodiment shows an example in which the output gradation value takes one of two values “0” and “255”. For example, a threshold matrix for determining whether or not to output dots corresponding to output gradation values “85”, “170”, and “255” in the case of quaternary output. The
(1) For output gradation value “255” (2) For output gradation value “170” (3) Prepare a total of three sheets for output gradation value “85”, respectively (1) → (2 ) → (3) in order from the threshold matrix corresponding to the larger output gradation value, the corresponding output gradation value may be output when the corrected input value of the pixel of interest is greater than or equal to the threshold value.

また、本実施の形態では、中間調処理手段24の閾値選択部31において、オブジェクト種類情報メモリ23から受けたオブジェクト種類情報に基づき、注目画素が文字オブジェクトである場合に鮮鋭性を重視する、画素位置によって閾値を変化させない固定閾値を用い、注目画素がグラフィックオブジェクトもしくはイメージオブジェクトである場合に階調性を重視する閾値マトリクスを用いて量子化を行う例を示しているが、必ずしもこの組合せである必要はない。例えば、線やグラフのようなグラフィックオブジェクトの場合には鮮鋭性を重視した方が好ましい場合もあるため、文字オブジェクトとグラフィックオブジェクトに対して固定閾値を用い、イメージオブジェクトについてだけ閾値マトリクスを用いるような組合せとしても良い。どちらの組合せを採用するかについて、コンピュータ1のプリンタドライバ上、もしくはモノクロレーザプリンタP1に設けられるパネル(図示せず)等でユーザに選択の場を提供することにより、ユーザにとって望ましい画像出力が可能となる。   In the present embodiment, the threshold value selection unit 31 of the halftone processing unit 24 uses the object type information received from the object type information memory 23, and emphasizes sharpness when the pixel of interest is a character object. An example is shown in which a fixed threshold that does not change the threshold depending on the position is used, and quantization is performed using a threshold matrix that emphasizes gradation when the pixel of interest is a graphic object or an image object. There is no need. For example, in the case of graphic objects such as lines and graphs, it may be preferable to emphasize sharpness. Therefore, a fixed threshold is used for character objects and graphic objects, and a threshold matrix is used only for image objects. It is good also as a combination. Which combination is adopted can be output to the user by providing the user with a place of choice on the printer driver of the computer 1 or a panel (not shown) provided in the monochrome laser printer P1. It becomes.

(第2の実施の形態)
本発明の第2の実施の形態を図8および図9に基づいて説明する。なお、前述した第1の実施の形態と同一部分は同一符号で示し説明も省略する。
(Second Embodiment)
A second embodiment of the present invention will be described with reference to FIGS. The same parts as those in the first embodiment described above are denoted by the same reference numerals, and the description thereof is also omitted.

第1の実施の形態における中間調処理手段24の閾値選択部31では、オブジェクト種類情報メモリ23から受けたオブジェクト種類情報に基づき、注目画素が解像性(鮮鋭性)を重視した処理を行うことが望ましい場合は、注目画素の画素位置によって閾値を変化させない固定閾値を用いるようにした。これに対し、本実施の形態においては、オブジェクト種類情報メモリ23から受けたオブジェクト種類情報に基づき、注目画素が解像性(鮮鋭性)を重視した処理を行うことが望ましい場合には、図8に示すような閾値マトリクスM4を用いる点が、前述した第1の実施の形態とは異なるものである。   In the threshold selection unit 31 of the halftone processing unit 24 in the first embodiment, the pixel of interest performs processing that places importance on resolution (sharpness) based on the object type information received from the object type information memory 23. When is desirable, a fixed threshold value that does not change the threshold value depending on the pixel position of the target pixel is used. On the other hand, in the present embodiment, when it is desirable that the pixel of interest performs processing focusing on resolution (sharpness) based on the object type information received from the object type information memory 23, FIG. The point that the threshold value matrix M4 as shown in FIG. 6 is used is different from the first embodiment described above.

図8に示す閾値マトリクスM4は、図5に示した閾値マトリクスM1と比較してディザ振幅幅の小さい閾値マトリクスとなっている。このようにディザ振幅幅を小さくすることにより、量子化を行った場合に、閾値マトリクスM4は閾値マトリクスM1と比較して解像性(鮮鋭性)を向上させることができる。   The threshold value matrix M4 shown in FIG. 8 is a threshold value matrix having a smaller dither amplitude width than the threshold value matrix M1 shown in FIG. By reducing the dither amplitude width in this way, when quantization is performed, the threshold matrix M4 can improve resolution (sharpness) compared to the threshold matrix M1.

すなわち、閾値選択部31では、オブジェクト種類情報メモリ23から受けたオブジェクト種類情報に基づき、注目画素が文字オブジェクトである場合、すなわち解像性(鮮鋭性)を重視した処理を行うことが望ましい場合は、図8に示すような閾値マトリクスM4を用いて量子化を行うことを決定し、注目画素がグラフィックオブジェクトもしくはイメージオブジェクトである場合、すなわち粒状性・階調性を重視した処理を行うことが望ましい場合は、図5に示すような閾値マトリクスM1を用いて量子化を行うことを決定して、決定した閾値情報(閾値マトリクスM4または閾値マトリクスM1)を出力階調値決定部33へ送る。   That is, in the threshold selection unit 31, based on the object type information received from the object type information memory 23, when the target pixel is a character object, that is, when it is desirable to perform processing that emphasizes resolution (sharpness). , It is desirable to perform quantization using a threshold value matrix M4 as shown in FIG. 8, and when the pixel of interest is a graphic object or an image object, that is, it is desirable to perform processing that places importance on graininess and gradation. In this case, it is determined that the quantization is performed using the threshold value matrix M1 as shown in FIG. 5, and the determined threshold value information (threshold value matrix M4 or threshold value matrix M1) is sent to the output gradation value determining unit 33.

このようにオブジェクト種類情報メモリ23から受けたオブジェクト種類情報に基づき、異なるディザ振幅を持つ閾値マトリクスM4、M1の切り替えを実施する場合においても、第1の実施の形態の場合と同様に、注目画素周辺画素からの量子化誤差を加味した量子化処理を行うため、解像性(鮮鋭性)を重視したい領域と粒状性・階調性を重視したい領域との切り替わり部での画質劣化は生じない。   As described above, in the case of switching between the threshold matrixes M4 and M1 having different dither amplitudes based on the object type information received from the object type information memory 23, the pixel of interest is the same as in the first embodiment. Since quantization processing is performed taking into account quantization errors from surrounding pixels, image quality deterioration does not occur at the switching section between areas where resolution (sharpness) is important and areas where granularity and gradation are important. .

このように本実施の形態によれば、中間調処理手段24における中間調処理では、オブジェクト種類情報メモリ23に記憶されている注目画素のオブジェクト種類情報が鮮鋭性を重視するか、または粒状性・階調性を重視するかに応じて量子化閾値が切り替えられるとともに、注目画素周辺画素からの量子化誤差を加味した量子化処理が行われる。これにより、オブジェクト種類情報に基づき量子化閾値が切り替えられた場合でも、鮮鋭性を重視したい領域と粒状性・階調性を重視したい領域との切り替わり部での画質劣化は生じず、鮮鋭性を重視したい領域と粒状性・階調性を重視したい領域とのそれぞれに適した処理結果を両立することができるので、文字及び写真が混在している入力画像に対し、画質劣化なしに文字領域、写真領域それぞれに適した処理結果が得られ、かつ小文字や低コントラスト文字等に対しても文字領域用の鮮鋭性に優れた処理結果を得ることができる。   As described above, according to the present embodiment, in the halftone processing in the halftone processing means 24, the object type information of the target pixel stored in the object type information memory 23 places importance on sharpness, or the graininess / The quantization threshold is switched depending on whether the gradation is important, and a quantization process is performed in consideration of quantization errors from pixels around the target pixel. As a result, even when the quantization threshold is switched based on the object type information, image quality deterioration does not occur at the switching portion between the area where the sharpness is to be emphasized and the area where the granularity / gradation is important, and the sharpness Since it is possible to achieve both processing results suitable for the area that you want to emphasize and the area that you want to emphasize graininess and gradation, the character area, without image quality degradation, for input images that contain both characters and photos A processing result suitable for each photographic area can be obtained, and a processing result excellent in sharpness for a character area can be obtained even for small letters and low contrast characters.

ここで、中間調処理手段24は、オブジェクト種類情報メモリ23に記憶されている注目画素のオブジェクト種類情報が鮮鋭性を重視するか、または粒状性・階調性を重視するかに応じて少なくとも第1の量子化閾値(閾値マトリクスM4)と第2の量子化閾値(閾値マトリクスM1)とを切り替えて適用し、第1の量子化閾値(閾値マトリクスM4)は画像空間上で周期的に振動する閾値であり鮮鋭性を重視するオブジェクト種類情報に対応し、第2の量子化閾値(閾値マトリクスM1)は第1の閾値よりも画像空間上で大きな振幅幅で周期的に振動する閾値であり粒状性・階調性を重視するオブジェクト種類情報に対応する。   Here, the halftone processing means 24 at least in accordance with whether the object type information of the target pixel stored in the object type information memory 23 emphasizes sharpness, or emphasizes graininess / gradation. The first quantization threshold (threshold matrix M4) and the second quantization threshold (threshold matrix M1) are switched and applied, and the first quantization threshold (threshold matrix M4) periodically oscillates in the image space. The second quantization threshold (threshold matrix M1) is a threshold that is a threshold and vibrates periodically with a larger amplitude width in the image space than the first threshold. This corresponds to the object type information that emphasizes the characteristics and gradation.

また、本実施の形態においては、ディザ振幅幅の異なる閾値マトリクスM4、M1を切り替えて用いることで、解像性(鮮鋭性)を重視した処理と粒状性・階調性を重視した処理の両立を実現しているが、特にディザ振幅の強弱による切り替わりだけに限定する必要はない。例えば、図8に示すような閾値マトリクスM4に代えて図9に示すような閾値マトリクスM5を用いるようにしても良い。図9に示す閾値マトリクスM5は、図5に示した閾値マトリクスM1のディザの振幅が同じであるが、マトリクスサイズを小さくしたものである。このようにマトリクスサイズを小さくすることにより、量子化を行った場合に、閾値マトリクスM5は閾値マトリクスM1と比較して解像性(鮮鋭性)を向上させることができるので、マトリクスサイズの異なる閾値マトリクスM5、M1を切り替えて用いることで、同様の目的を達成することができる。   In the present embodiment, the threshold matrixes M4 and M1 having different dither amplitude widths are switched and used so that processing that emphasizes resolution (sharpness) and processing that emphasizes graininess and gradation are compatible. However, it is not necessary to limit the switching to the dither amplitude. For example, a threshold value matrix M5 as shown in FIG. 9 may be used instead of the threshold value matrix M4 as shown in FIG. The threshold value matrix M5 shown in FIG. 9 has the same dither amplitude as the threshold value matrix M1 shown in FIG. 5, but has a smaller matrix size. By reducing the matrix size in this way, when quantization is performed, the threshold value matrix M5 can improve resolution (sharpness) as compared with the threshold value matrix M1, so that threshold values having different matrix sizes can be obtained. The same purpose can be achieved by switching between the matrices M5 and M1.

ここで、中間調処理手段24は、オブジェクト種類情報メモリ23に記憶されている注目画素のオブジェクト種類情報が鮮鋭性を重視するか、または粒状性・階調性を重視するかに応じて少なくとも第1の量子化閾値(閾値マトリクスM5)と第2の量子化閾値(閾値マトリクスM1)とを切り替えて適用し、第1の量子化閾値(閾値マトリクスM5)は画像空間上で周期的に振動する閾値であり鮮鋭性を重視するオブジェクト種類情報に対応し、第2の量子化閾値(閾値マトリクスM1)は第1の閾値よりも大きな画像空間上で周期的に振動する閾値であり粒状性・階調性を重視するオブジェクト種類情報に対応する。   Here, the halftone processing means 24 at least in accordance with whether the object type information of the target pixel stored in the object type information memory 23 emphasizes sharpness, or emphasizes graininess / gradation. The first quantization threshold (threshold matrix M5) and the second quantization threshold (threshold matrix M1) are switched and applied, and the first quantization threshold (threshold matrix M5) periodically oscillates in the image space. The second quantization threshold value (threshold value matrix M1) is a threshold value that periodically vibrates in an image space larger than the first threshold value, and corresponds to object type information that emphasizes sharpness. Corresponds to object type information that emphasizes tonality.

(第3の実施の形態)
本発明の第3の実施の形態を図10ないし図13に基づいて説明する。なお、前述した第1の実施の形態と同一部分は同一符号で示し説明も省略する。
(Third embodiment)
A third embodiment of the present invention will be described with reference to FIGS. The same parts as those in the first embodiment described above are denoted by the same reference numerals, and the description thereof is also omitted.

第1の実施の形態の中間調処理手段24においては、ビットマップメモリ22に記憶されていたビットマップデータを入力画像データとして受け、オブジェクト種類情報メモリ23から受け取ったオブジェクト種類情報に基づいて閾値の選択を行い、少値化処理を行うようにしていた。これに対し、本実施の形態においては、ビットマップメモリ22から受けた入力画像データから算出されるエッジ量を加味して閾値の選択を行う点が、前述した第1の実施の形態とは異なるものである。   In the halftone processing unit 24 of the first embodiment, the bitmap data stored in the bitmap memory 22 is received as input image data, and a threshold value is determined based on the object type information received from the object type information memory 23. The selection was made and the value reduction process was performed. On the other hand, the present embodiment is different from the first embodiment described above in that the threshold value is selected in consideration of the edge amount calculated from the input image data received from the bitmap memory 22. Is.

図10は、第3の実施の形態にかかるモノクロレーザプリンタP1の機能構成を示すブロック図である。図10に示すように、モノクロレーザプリンタP1は、CPU13がROM11内に格納された画像処理プログラムに従うことにより、PDL解釈手段21と、ビットマップメモリ22と、オブジェクト種類情報メモリ23と、中間調処理手段24と、エッジ量算出手段25と、判定信号生成手段26とを実現する。   FIG. 10 is a block diagram illustrating a functional configuration of a monochrome laser printer P1 according to the third embodiment. As shown in FIG. 10, in the monochrome laser printer P1, the CPU 13 follows the image processing program stored in the ROM 11, so that the PDL interpretation means 21, the bitmap memory 22, the object type information memory 23, and the halftone process Means 24, edge amount calculation means 25, and determination signal generation means 26 are realized.

まず、エッジ量算出手段25について説明する。エッジ量算出手段25は、特徴量算出手段として機能するものであって、概略的には、ビットマップメモリ22に記憶されていたビットマップデータを入力画像データとして受け、受けた入力画像データからエッジ量を算出する。   First, the edge amount calculation means 25 will be described. The edge amount calculation unit 25 functions as a feature amount calculation unit. In general, the edge amount calculation unit 25 receives bitmap data stored in the bitmap memory 22 as input image data, and receives edge data from the received input image data. Calculate the amount.

ここで、エッジ量算出手段25の構成・動作について図11を参照しつつ詳述する。図11に示すように、エッジ量算出手段25は、1次微分フィルタ部41と、絶対値算出部42と、最大値選択部43とで構成されている。   Here, the configuration and operation of the edge amount calculation means 25 will be described in detail with reference to FIG. As shown in FIG. 11, the edge amount calculation means 25 includes a primary differential filter unit 41, an absolute value calculation unit 42, and a maximum value selection unit 43.

1次微分フィルタ部41は、ビットマップメモリ22から受けた入力画像データに対して、1次微分フィルタ演算を行う。より具体的には、1次微分フィルタ部41は、縦横斜めの4方向の傾斜を検出するために図12に示す1001から1004の1次微分フィルタを用いてそれぞれ入力階調値と積和演算を行い、4種類の1次微分値を得て、絶対値算出部42へ送る。   The primary differential filter unit 41 performs a primary differential filter operation on the input image data received from the bitmap memory 22. More specifically, the first-order differential filter unit 41 uses the first-order differential filters 1001 to 1004 shown in FIG. To obtain four types of primary differential values and send them to the absolute value calculator 42.

絶対値算出部42は、1次微分フィルタ部41から受けた1次微分値の絶対値をそれぞれ求め、最大値選択部43へ送る。   The absolute value calculator 42 calculates the absolute value of the primary differential value received from the primary differential filter unit 41 and sends it to the maximum value selector 43.

最大値選択部43は、絶対値算出部42から受けた4種類の1次微分値の絶対値のうち最大の値を注目画素のエッジ量として次の判定信号生成手段26へ送る。   The maximum value selection unit 43 sends the maximum value among the absolute values of the four types of primary differential values received from the absolute value calculation unit 42 to the next determination signal generation unit 26 as the edge amount of the target pixel.

次に、判定信号生成手段26について説明する。判定信号生成手段26では、オブジェクト種類情報メモリ23から受け取ったオブジェクト種類情報と、ビットマップメモリ22から受けた入力画像データからエッジ量算出手段25で算出されるエッジ量とを入力し、注目画素が解像性(鮮鋭性)重視であるか、粒状性・階調性重視の画素であるかの閾値判定信号を生成し、生成した閾値判定信号を中間調処理手段24に送る。図13は、閾値判定信号の生成方法の一例を示す説明図である。図13に示すように、エッジ量が予め定めた一定値(th1)以上もしくはオブジェクト種類情報が文字オブジェクトである場合には解像性(鮮鋭性)重視、いずれにも該当しない場合には粒状性・階調性重視との閾値判定信号を生成する。   Next, the determination signal generation unit 26 will be described. The determination signal generation unit 26 inputs the object type information received from the object type information memory 23 and the edge amount calculated by the edge amount calculation unit 25 from the input image data received from the bitmap memory 22. A threshold value determination signal indicating whether resolution (sharpness) is important or a pixel that emphasizes graininess / gradation is generated, and the generated threshold determination signal is sent to the halftone processing unit 24. FIG. 13 is an explanatory diagram illustrating an example of a method for generating a threshold determination signal. As shown in FIG. 13, when the edge amount is equal to or greater than a predetermined value (th1) or the object type information is a character object, emphasis is placed on resolution (sharpness). Generate a threshold determination signal for emphasizing gradation.

そして、中間調処理手段24の閾値選択部31においては、判定信号生成手段26から受けた閾値判定信号に基づいて、量子化に用いる閾値を決定する。例えば、解像性(鮮鋭性)重視の閾値判定信号を受けた場合には、固定閾値等の解像性(鮮鋭性)を重視する閾値を用い、粒状性・階調性重視の信号を受けた場合には、閾値マトリクス等の粒状性・階調性を重視する閾値を用いるよう決定する。以降の処理は、第1の実施の形態と同様である。   Then, the threshold selection unit 31 of the halftone processing unit 24 determines a threshold used for quantization based on the threshold determination signal received from the determination signal generation unit 26. For example, when a threshold determination signal emphasizing resolution (sharpness) is received, a threshold emphasizing resolution (sharpness) such as a fixed threshold is used to receive a signal emphasizing graininess and gradation. In such a case, it is determined to use a threshold value that emphasizes graininess and gradation, such as a threshold matrix. Subsequent processing is the same as in the first embodiment.

このように本実施の形態によれば、オブジェクト種類情報だけでなく、入力画像データから算出したエッジ量にも基づいて閾値の切り替えを行うことにより、オブジェクト種類の情報に基づいた時の解像性(鮮鋭性)を重視した処理と粒状性・階調性を重視した処理の両立を実現しつつ、両者の切り替わり部での画質劣化は生じないと同時に、例えばオブジェクト種類情報がイメージオブジェクトであった場合のイメージ内に含まれる線や文字等のように鮮鋭性が良い方が好ましい領域についても、解像性(鮮鋭性)を重視した処理を行うことができる。   As described above, according to the present embodiment, the threshold value is switched based not only on the object type information but also on the edge amount calculated from the input image data, so that the resolution based on the object type information is achieved. While realizing both processing that emphasizes (sharpness) and processing that emphasizes graininess and gradation, image quality deterioration does not occur at the switching part between them, and at the same time, for example, the object type information is an image object Even in a region where better sharpness is preferable, such as a line or a character included in an image in the case, processing that emphasizes resolution (sharpness) can be performed.

なお、本実施の形態では、エッジ量算出手段25から送られたエッジ量を判定信号生成手段26では、一定値(th1)以上であるか否かの2値的な判定を行っているが、特に2値的判定である必要はなく、th1,th2,th3・・・というように複数の閾値を用意しておき、多値的判定として、閾値判定信号も2値ではなく多値的なデータを出力するようにして、中間調処理手段24の閾値選択部31に渡しても良い。この場合、最も大きな閾値以上のエッジ量と判定されるか、オブジェクト種類情報で文字オブジェクトと判定された場合の何れかに該当する場合に、閾値判定信号を最も解像性(鮮鋭性)を重視する旨の信号が生成されるようにするのが自然である。   In this embodiment, the determination signal generation unit 26 performs a binary determination as to whether or not the edge amount sent from the edge amount calculation unit 25 is equal to or greater than a certain value (th1). In particular, it is not necessary to make a binary determination, and a plurality of threshold values such as th1, th2, th3,... Are prepared, and as a multilevel determination, the threshold determination signal is not binary but multilevel data. May be output to the threshold selection unit 31 of the halftone processing means 24. In this case, when the edge amount is determined to be greater than or equal to the largest threshold value, or when the object type information is determined to be a character object, the threshold determination signal is emphasized with the highest resolution (sharpness). It is natural to generate a signal to that effect.

また、本実施の形態では、1次微分値に基づいてエッジ量を算出しているが、これに限らず、例えば、細線の内部を検知する目的で、図12に示す1001から1004のフィルタに代えて2次微分フィルタを用いたり、前景か背景かを判断するために入力階調値の大小に基づいて特徴量を算出する構成や、これらを複合して用いて特徴量を算出する構成であっても良い。   In the present embodiment, the edge amount is calculated based on the first-order differential value. However, the present invention is not limited to this. For example, for the purpose of detecting the inside of the thin line, the filters 1001 to 1004 shown in FIG. Instead, a secondary differential filter is used, a feature amount is calculated based on the magnitude of the input gradation value to determine whether it is foreground or background, or a feature amount is calculated using a combination of these. There may be.

なお、本実施の形態においても第1の実施の形態と同様に、固定閾値を用いた場合の出力階調値、閾値マトリクスを用いた場合の出力階調値は必ずしも2値である必要はなく、多値でも良い。また、必ずしも文字オブジェクトのみを解像性(鮮鋭性)重視の処理と限定する必要はなく、文字オブジェクトとグラフィックオブジェクトを解像性(鮮鋭性)重視の処理にしても差し支えない。   In the present embodiment as well, as in the first embodiment, the output gradation value when a fixed threshold is used and the output gradation value when a threshold matrix is used are not necessarily binary. Multi-valued. In addition, it is not always necessary to limit only the character object to processing that emphasizes resolution (sharpness), and the character object and graphic object may be processed to emphasize resolution (sharpness).

(第4の実施の形態)
本発明の第4の実施の形態を図14ないし図16に基づいて説明する。なお、前述した第1の実施の形態ないし第3の実施の形態と同一部分は同一符号で示し説明も省略する。
(Fourth embodiment)
A fourth embodiment of the present invention will be described with reference to FIGS. The same parts as those in the first to third embodiments described above are denoted by the same reference numerals, and description thereof is also omitted.

第1の実施の形態ないし第3の実施の形態においては、画像処理装置としてモノクロレーザプリンタP1を想定したが、本実施の形態においては、画像処理装置としてカラーレーザプリンタP2を想定する。ただし、画像データと画像形成装置とのいずれもが複数色カラーである場合を想定すると、第3の実施の形態で説明した中間調処理手段24における中間調処理を出力画像のデータ色版分だけ実施することになる。例えば、カラーレーザプリンタP2がCMYKのプリンタである場合は、C、M、Y、K4色のいずれか単色データを入力画像データとし、該当色についてエッジ量算出手段25においてエッジ量算出を行い、該当色について単色画像データで出力まで行い、最終的にカラーレーザプリンタP2において全色を重ね合わせることになる。このような構成を採用した場合、例えば赤い線を処理するとM版に対してはエッジ量が大きく取れ解像性(鮮鋭性)を重視した処理を行い、Y版に対してはエッジ量が大きく取れず粒状性・階調性を重視した処理と言ったように、異なる処理方式が行われることがある。その結果として、M版とY版との線の太さが異なってしまい、得たい色と異なった色で再現することがある。そこで、本実施の形態においては、画像処理装置としてカラーレーザプリンタP2を想定するとともに、このような問題を解決したものである。   In the first to third embodiments, the monochrome laser printer P1 is assumed as the image processing apparatus. However, in the present embodiment, the color laser printer P2 is assumed as the image processing apparatus. However, assuming that both the image data and the image forming apparatus have a plurality of colors, the halftone processing in the halftone processing unit 24 described in the third embodiment is performed only for the data color plate of the output image. Will be implemented. For example, when the color laser printer P2 is a CMYK printer, any one of C, M, Y, and K4 color data is used as input image data, and the edge amount calculation unit 25 calculates the edge amount for the corresponding color. The color is output up to monochromatic image data, and finally all colors are superimposed in the color laser printer P2. When such a configuration is adopted, for example, when a red line is processed, the M plate has a large edge amount and processing that emphasizes resolution (sharpness) is performed, and the Y plate has a large edge amount. In some cases, different processing methods are performed, such as processing that places importance on graininess and gradation. As a result, the thickness of the line between the M plate and the Y plate is different, and the color may be reproduced with a color different from the desired color. Therefore, in the present embodiment, a color laser printer P2 is assumed as an image processing apparatus, and such a problem is solved.

図14は、第4の実施の形態にかかるカラーレーザプリンタP2の機能構成を示すブロック図である。図14に示すように、カラーレーザプリンタP2は、CPU13がROM11内に格納された画像処理プログラムに従うことにより、PDL解釈手段21と、ビットマップメモリ22と、オブジェクト種類情報メモリ23と、中間調処理手段24と、エッジ量算出手段40とを実現する。   FIG. 14 is a block diagram illustrating a functional configuration of a color laser printer P2 according to the fourth embodiment. As shown in FIG. 14, in the color laser printer P2, the CPU 13 follows the image processing program stored in the ROM 11, so that the PDL interpretation means 21, the bitmap memory 22, the object type information memory 23, the halftone process Means 24 and edge amount calculation means 40 are realized.

第3の実施の形態では、オブジェクト種類情報メモリ23から受け取ったオブジェクト種類情報と、ビットマップメモリ22から受けた入力画像データからエッジ量算出手段25で算出されるエッジ量に基づいて閾値判定信号を判定信号生成手段26にて生成し、判定信号生成手段26にて生成された閾値判定信号に基づいて量子化に用いる閾値を決定する構成となっていた。これに対し、本実施の形態においては、図14に示すように、オブジェクト種類情報メモリ23から受け取ったオブジェクト種類情報を参照しながら、エッジ量算出手段40でビットマップメモリ22から受ける入力画像データからエッジ量を算出し、算出したエッジ量に基づいて量子化に用いる閾値を中間調処理手段24において決定する構成となっている。ここで本実施の形態のエッジ量算出手段40が第3の実施の形態のエッジ量算出手段25と異なる点は、オブジェクト種類情報によってエッジ量算出方法を切り替える点である。以下において、エッジ量算出手段40においてエッジ量算出方法を切り替える方法について説明する。   In the third embodiment, the threshold determination signal is generated based on the object type information received from the object type information memory 23 and the edge amount calculated by the edge amount calculating means 25 from the input image data received from the bitmap memory 22. The threshold value used for quantization is determined based on the threshold value determination signal generated by the determination signal generation unit 26 and generated by the determination signal generation unit 26. On the other hand, in the present embodiment, as shown in FIG. 14, while referring to the object type information received from the object type information memory 23, from the input image data received from the bitmap memory 22 by the edge amount calculation means 40. The edge amount is calculated, and the halftone processing unit 24 determines a threshold value used for quantization based on the calculated edge amount. Here, the edge amount calculation means 40 of the present embodiment is different from the edge amount calculation means 25 of the third embodiment in that the edge amount calculation method is switched depending on the object type information. Hereinafter, a method of switching the edge amount calculation method in the edge amount calculation means 40 will be described.

本実施の形態のエッジ量算出手段40は、オブジェクト種類情報メモリ23から受け取ったオブジェクト種類情報が文字オブジェクトあるいはグラフィックオブジェクトである場合には、図15に示すように、C、M、Y、Kの各色毎にエッジ量を算出した後、各色毎に算出したエッジ量の最大値を抽出する。このようにして抽出された最大のエッジ量は各色のエッジ量とされ、判定信号生成手段26に送られる。判定信号生成手段26においては、エッジ量算出手段40で抽出された最大のエッジ量に基づいて閾値判定信号を生成し、中間調処理手段24の各色用の閾値選択部31に送る。   When the object type information received from the object type information memory 23 is a character object or a graphic object, the edge amount calculating means 40 of this embodiment, as shown in FIG. 15, C, M, Y, K After calculating the edge amount for each color, the maximum value of the edge amount calculated for each color is extracted. The maximum edge amount extracted in this way is used as the edge amount of each color, and is sent to the determination signal generation means 26. In the determination signal generation unit 26, a threshold determination signal is generated based on the maximum edge amount extracted by the edge amount calculation unit 40 and sent to the threshold selection unit 31 for each color of the halftone processing unit 24.

一方、エッジ量算出手段40は、オブジェクト種類情報メモリ23から受け取ったオブジェクト種類情報がイメージオブジェクトである場合には、図16に示すように、C、M、Y、Kの各色毎にエッジ量が算出され、各色毎に算出したエッジ量をそのまま独立に各色のエッジ量とされ、判定信号生成手段26に送られる。判定信号生成手段26においては、エッジ量算出手段40で算出された、C、M、Y、Kの各色毎のエッジ量に基づいて閾値判定信号を生成し、中間調処理手段24の各色用の閾値選択部31にそれぞれ送る。   On the other hand, when the object type information received from the object type information memory 23 is an image object, the edge amount calculation means 40 has an edge amount for each color of C, M, Y, and K as shown in FIG. The calculated edge amount for each color is directly used as the edge amount for each color as it is, and is sent to the determination signal generating means 26. In the determination signal generation unit 26, a threshold determination signal is generated based on the edge amount for each color of C, M, Y, and K calculated by the edge amount calculation unit 40, and for each color of the halftone processing unit 24. Each is sent to the threshold selection unit 31.

以上のように、エッジ量算出手段40がオブジェクト種類情報メモリ23から受け取ったオブジェクト種類情報によってエッジ量算出方法の切り替えを行うことにより、複数色の版から構成される線、グラフ等のエッジ部において、版によって太さが異なったり、色が異なる問題を解決することができる。   As described above, the edge amount calculation means 40 switches the edge amount calculation method according to the object type information received from the object type information memory 23, so that the edge portion such as a line or graph composed of a plurality of color plates can be used. , You can solve the problem of different thickness and color.

なお、各実施の形態の画像処理装置であるモノクロレーザプリンタP1やカラーレーザプリンタP2で実行されるプログラムは、ROM11に予め組み込まれて提供されるものとしたが、これに限るものではなく、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD等のコンピュータで読み取り可能な記録媒体に記録して提供するように構成してもよい。   The programs executed by the monochrome laser printer P1 and the color laser printer P2 that are the image processing apparatuses according to the embodiments are provided in the ROM 11 in advance. However, the present invention is not limited to this. The file may be recorded in a computer-readable recording medium such as a CD-ROM, a flexible disk (FD), a CD-R, or a DVD as a file in an executable format or an executable format.

さらに、各実施の形態の画像処理装置であるモノクロレーザプリンタP1やカラーレーザプリンタP2で実行されるプログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成しても良い。また、各実施の形態の画像処理装置であるモノクロレーザプリンタP1やカラーレーザプリンタP2で実行されるプログラムをインターネット等のネットワーク経由で提供または配布するように構成しても良い。   Furthermore, the programs executed by the monochrome laser printer P1 and the color laser printer P2 that are the image processing apparatuses according to the embodiments are stored on a computer connected to a network such as the Internet, and are provided by being downloaded via the network. You may comprise so that it may do. The program executed by the monochrome laser printer P1 or the color laser printer P2 that is the image processing apparatus of each embodiment may be provided or distributed via a network such as the Internet.

本発明の第1の実施の形態にかかるプリンティングシステムの構築例を示す模式図である。It is a schematic diagram which shows the construction example of the printing system concerning the 1st Embodiment of this invention. プリンタの制御系の概略構成例を示すブロック図である。FIG. 2 is a block diagram illustrating a schematic configuration example of a printer control system. モノクロレーザプリンタの機能構成を示すブロック図である。It is a block diagram which shows the function structure of a monochrome laser printer. 中間調処理手段の構成・動作を示すブロック図である。It is a block diagram which shows a structure and operation | movement of a halftone processing means. 閾値マトリクスM1を示す模式図である。It is a schematic diagram which shows the threshold value matrix M1. 誤差マトリクスM2を示す模式図である。It is a schematic diagram which shows the error matrix M2. 誤差マトリクスM3を示す模式図である。It is a schematic diagram which shows the error matrix M3. 本発明の第2の実施の形態にかかる閾値マトリクスM4を示す模式図である。It is a schematic diagram which shows the threshold value matrix M4 concerning the 2nd Embodiment of this invention. 閾値マトリクスM5を示す模式図である。It is a schematic diagram which shows the threshold value matrix M5. 本発明の第3の実施の形態にかかるモノクロレーザプリンタの機能構成を示すブロック図である。It is a block diagram which shows the function structure of the monochrome laser printer concerning the 3rd Embodiment of this invention. エッジ量算出手段の構成・動作を示すブロック図である。It is a block diagram which shows a structure and operation | movement of an edge amount calculation means. 1次微分フィルタを示す模式図である。It is a schematic diagram which shows a primary differential filter. 閾値判定信号の生成方法の一例を示す説明図である。It is explanatory drawing which shows an example of the production | generation method of a threshold determination signal. 本発明の第4の実施の形態にかかるカラーレーザプリンタの機能構成を示すブロック図である。It is a block diagram which shows the function structure of the color laser printer concerning the 4th Embodiment of this invention. オブジェクト種類情報が文字オブジェクトあるいはグラフィックオブジェクトである場合のエッジ量算出手段におけるエッジ量算出方法を示す説明図である。It is explanatory drawing which shows the edge amount calculation method in the edge amount calculation means in case object type information is a character object or a graphic object. オブジェクト種類情報がイメージオブジェクトである場合のエッジ量算出手段におけるエッジ量算出方法を示す説明図である。It is explanatory drawing which shows the edge amount calculation method in the edge amount calculation means in case object type information is an image object.

符号の説明Explanation of symbols

22 ビットマップメモリ
23 オブジェクト種類情報メモリ
24 中間調処理手段
25 特徴量算出手段
26 判定信号生成手段
P1,P2 画像処理装置
22 Bit map memory 23 Object type information memory 24 Halftone processing means 25 Feature quantity calculating means 26 Determination signal generating means P1, P2 Image processing device

Claims (17)

描画命令で表現されている画像を2次元のビットマップデータに展開してビットマップメモリに記憶するデータ記憶手段と、
描画命令で表現されている画像のオブジェクト種類情報を前記ビットマップデータに展開された画像の各画素毎に対応付けてオブジェクト種類情報メモリに記憶するオブジェクト種類情報記憶手段と、
前記オブジェクト種類情報メモリに記憶されている注目画素のオブジェクト種類情報が鮮鋭性を重視するか、または粒状性・階調性を重視するかに応じて量子化閾値を切り替え、注目画素周辺画素からの量子化誤差を加味して前記ビットマップメモリに記憶されているビットマップデータに対する量子化処理を行う中間調処理手段と、
を備えることを特徴とする画像処理装置。
Data storage means for expanding an image represented by a drawing command into two-dimensional bitmap data and storing it in a bitmap memory;
Object type information storage means for storing object type information of an image expressed by a drawing command in an object type information memory in association with each pixel of the image developed into the bitmap data;
The quantization threshold is switched according to whether the object type information of the pixel of interest stored in the object type information memory emphasizes sharpness, or emphasizes graininess / gradation, and Halftone processing means for performing quantization processing on the bitmap data stored in the bitmap memory in consideration of quantization error;
An image processing apparatus comprising:
描画命令で表現されている画像を2次元のビットマップデータに展開してビットマップメモリに記憶するデータ記憶手段と、
描画命令で表現されている画像のオブジェクト種類情報を前記ビットマップデータに展開された画像の各画素毎に対応付けてオブジェクト種類情報メモリに記憶するオブジェクト種類情報記憶手段と、
前記ビットマップメモリに記憶されているビットマップデータの特徴量を算出する特徴量算出手段と、
この特徴量算出手段により算出された前記ビットマップメモリに記憶されているビットマップデータの特徴量と前記オブジェクト種類情報メモリに記憶されている注目画素のオブジェクト種類情報とから、注目画素が鮮鋭性重視であるか、粒状性・階調性重視の画素であるかの閾値判定信号を生成する判定信号生成手段と、
この判定信号生成手段により生成された閾値判定信号に応じて量子化閾値を切り替え、注目画素周辺画素からの量子化誤差を加味して前記ビットマップメモリに記憶されているビットマップデータに対する量子化処理を行う中間調処理手段と、
を備えることを特徴とする画像処理装置。
Data storage means for expanding an image represented by a drawing command into two-dimensional bitmap data and storing it in a bitmap memory;
Object type information storage means for storing object type information of an image expressed by a drawing command in an object type information memory in association with each pixel of the image developed into the bitmap data;
A feature amount calculating means for calculating a feature amount of bitmap data stored in the bitmap memory;
The attention pixel emphasizes sharpness from the feature amount of the bitmap data stored in the bitmap memory calculated by the feature amount calculation means and the object type information of the attention pixel stored in the object type information memory. Determination signal generating means for generating a threshold determination signal as to whether the pixel is a pixel with emphasis on graininess and gradation,
Quantization processing for the bitmap data stored in the bitmap memory taking into account the quantization error from the surrounding pixels of the pixel of interest by switching the quantization threshold according to the threshold determination signal generated by the determination signal generation means Halftone processing means for performing
An image processing apparatus comprising:
前記特徴量算出手段において算出されるビットマップデータの特徴量は、画素毎のエッジ度合いを示す値であるエッジ量である、
ことを特徴とする請求項2記載の画像処理装置。
The feature amount of the bitmap data calculated by the feature amount calculating means is an edge amount that is a value indicating the edge degree for each pixel.
The image processing apparatus according to claim 2.
前記特徴量算出手段は、前記オブジェクト種類情報メモリに記憶されている注目画素のオブジェクト種類情報が鮮鋭性を重視するか、または粒状性・階調性を重視するかに応じてエッジ量算出方法を切り替える、
ことを特徴とする請求項3記載の画像処理装置。
The feature amount calculation means uses an edge amount calculation method according to whether the object type information of the target pixel stored in the object type information memory emphasizes sharpness, or emphasizes graininess and gradation. Switch,
The image processing apparatus according to claim 3.
前記中間調処理手段は、前記オブジェクト種類情報メモリに記憶されている注目画素のオブジェクト種類情報が鮮鋭性を重視するか、または粒状性・階調性を重視するかに応じて少なくとも第1の量子化閾値と第2の量子化閾値とを切り替えて適用し、前記第1の量子化閾値は画素位置によらず一定の値を持つ閾値であり鮮鋭性を重視するオブジェクト種類情報に対応し、前記第2の量子化閾値は画像空間上で周期的に振動する閾値であり粒状性・階調性を重視するオブジェクト種類情報に対応する、
ことを特徴とする請求項1ないし4のいずれか一記載の画像処理装置。
The halftone processing means includes at least the first quantum depending on whether the object type information of the target pixel stored in the object type information memory emphasizes sharpness, or emphasizes graininess / gradation. The first quantization threshold is a threshold having a constant value regardless of the pixel position and corresponds to object type information that emphasizes sharpness, The second quantization threshold is a threshold that periodically oscillates in the image space, and corresponds to object type information that emphasizes granularity and gradation.
The image processing apparatus according to claim 1, wherein the image processing apparatus is an image processing apparatus.
前記中間調処理手段は、前記オブジェクト種類情報メモリに記憶されている注目画素のオブジェクト種類情報が鮮鋭性を重視するか、または粒状性・階調性を重視するかに応じて少なくとも第1の量子化閾値と第2の量子化閾値とを切り替えて適用し、前記第1の量子化閾値は画像空間上で周期的に振動する閾値であり鮮鋭性を重視するオブジェクト種類情報に対応し、前記第2の量子化閾値は前記第1の閾値よりも画像空間上で大きな振幅幅で周期的に振動する閾値であり粒状性・階調性を重視するオブジェクト種類情報に対応する、
ことを特徴とする請求項1ないし4のいずれか一記載の画像処理装置。
The halftone processing means includes at least the first quantum depending on whether the object type information of the target pixel stored in the object type information memory emphasizes sharpness, or emphasizes graininess / gradation. The first quantization threshold is a threshold that periodically oscillates in the image space, corresponds to object type information that places importance on sharpness, and is applied to the first quantization threshold and the second quantization threshold. The quantization threshold of 2 is a threshold that periodically vibrates with a larger amplitude width in the image space than the first threshold, and corresponds to object type information that places importance on graininess and gradation.
The image processing apparatus according to claim 1, wherein the image processing apparatus is an image processing apparatus.
前記中間調処理手段は、前記オブジェクト種類情報メモリに記憶されている注目画素のオブジェクト種類情報が鮮鋭性を重視するか、または粒状性・階調性を重視するかに応じて少なくとも第1の量子化閾値と第2の量子化閾値とを切り替えて適用し、前記第1の量子化閾値は画像空間上で周期的に振動する閾値であり鮮鋭性を重視するオブジェクト種類情報に対応し、前記第2の量子化閾値は前記第1の閾値よりも大きな画像空間上で周期的に振動する閾値であり粒状性・階調性を重視するオブジェクト種類情報に対応する、
ことを特徴とする請求項1ないし4のいずれか一記載の画像処理装置。
The halftone processing means includes at least the first quantum depending on whether the object type information of the target pixel stored in the object type information memory emphasizes sharpness, or emphasizes graininess / gradation. The first quantization threshold is a threshold that periodically oscillates in the image space, corresponds to object type information that places importance on sharpness, and is applied to the first quantization threshold and the second quantization threshold. The quantization threshold of 2 is a threshold that periodically oscillates in an image space larger than the first threshold, and corresponds to object type information that places importance on granularity and gradation.
The image processing apparatus according to claim 1, wherein the image processing apparatus is an image processing apparatus.
前記中間調処理手段により量子化処理されたビットマップデータに基づく画像を記録媒体上に形成する画像形成手段を有する、
ことを特徴とする請求項1ないし7のいずれか一記載の画像処理装置。
Image forming means for forming an image based on the bitmap data quantized by the halftone processing means on a recording medium;
The image processing apparatus according to claim 1, wherein the image processing apparatus is an image processing apparatus.
描画命令で表現されている画像を2次元のビットマップデータに展開してビットマップメモリに記憶するデータ記憶機能と、
描画命令で表現されている画像のオブジェクト種類情報を前記ビットマップデータに展開された画像の各画素毎に対応付けてオブジェクト種類情報メモリに記憶するオブジェクト種類情報記憶機能と、
前記オブジェクト種類情報メモリに記憶されている注目画素のオブジェクト種類情報が鮮鋭性を重視するか、または粒状性・階調性を重視するかに応じて量子化閾値を切り替え、注目画素周辺画素からの量子化誤差を加味して前記ビットマップメモリに記憶されているビットマップデータに対する量子化処理を行う中間調処理機能と、
をコンピュータに実行させることを特徴とするプログラム。
A data storage function for expanding an image represented by a drawing command into two-dimensional bitmap data and storing the data in a bitmap memory;
An object type information storage function for storing object type information of an image expressed by a rendering command in an object type information memory in association with each pixel of the image developed into the bitmap data;
The quantization threshold is switched according to whether the object type information of the pixel of interest stored in the object type information memory emphasizes sharpness, or emphasizes graininess / gradation, and A halftone processing function for performing quantization processing on bitmap data stored in the bitmap memory in consideration of quantization error;
A program that causes a computer to execute.
描画命令で表現されている画像を2次元のビットマップデータに展開してビットマップメモリに記憶するデータ記憶機能と、
描画命令で表現されている画像のオブジェクト種類情報を前記ビットマップデータに展開された画像の各画素毎に対応付けてオブジェクト種類情報メモリに記憶するオブジェクト種類情報記憶機能と、
前記ビットマップメモリに記憶されているビットマップデータの特徴量を算出する特徴量算出機能と、
この特徴量算出機能により算出された前記ビットマップメモリに記憶されているビットマップデータの特徴量と前記オブジェクト種類情報メモリに記憶されている注目画素のオブジェクト種類情報とから、注目画素が鮮鋭性重視であるか、粒状性・階調性重視の画素であるかの閾値判定信号を生成する判定信号生成機能と、
この判定信号生成機能により生成された閾値判定信号に応じて量子化閾値を切り替え、注目画素周辺画素からの量子化誤差を加味して前記ビットマップメモリに記憶されているビットマップデータに対する量子化処理を行う中間調処理機能と、
をコンピュータに実行させることを特徴とするプログラム。
A data storage function for expanding an image represented by a drawing command into two-dimensional bitmap data and storing the data in a bitmap memory;
An object type information storage function for storing object type information of an image expressed by a rendering command in an object type information memory in association with each pixel of the image developed into the bitmap data;
A feature amount calculation function for calculating a feature amount of bitmap data stored in the bitmap memory;
The attention pixel emphasizes sharpness from the feature amount of the bitmap data stored in the bitmap memory calculated by the feature amount calculation function and the object type information of the attention pixel stored in the object type information memory. A determination signal generation function for generating a threshold determination signal as to whether the pixel is a pixel with emphasis on graininess or gradation, and
Quantization processing for bitmap data stored in the bitmap memory by switching the quantization threshold according to the threshold determination signal generated by the determination signal generation function and taking into account the quantization error from the surrounding pixels of the target pixel Halftone processing function
A program that causes a computer to execute.
描画命令で表現されている画像を2次元のビットマップデータに展開してビットマップメモリに記憶するデータ記憶工程と、
描画命令で表現されている画像のオブジェクト種類情報を前記ビットマップデータに展開された画像の各画素毎に対応付けてオブジェクト種類情報メモリに記憶するオブジェクト種類情報記憶工程と、
前記オブジェクト種類情報メモリに記憶されている注目画素のオブジェクト種類情報が鮮鋭性を重視するか、または粒状性・階調性を重視するかに応じて量子化閾値を切り替え、注目画素周辺画素からの量子化誤差を加味して前記ビットマップメモリに記憶されているビットマップデータに対する量子化処理を行う中間調処理工程と、
を含むことを特徴とする画像処理方法。
A data storage step of expanding an image represented by a drawing command into two-dimensional bitmap data and storing the data in a bitmap memory;
An object type information storage step of storing object type information of an image expressed by a drawing command in an object type information memory in association with each pixel of the image developed into the bitmap data;
The quantization threshold is switched according to whether the object type information of the pixel of interest stored in the object type information memory emphasizes sharpness, or emphasizes graininess / gradation, and A halftone processing step for performing quantization processing on the bitmap data stored in the bitmap memory in consideration of quantization error;
An image processing method comprising:
描画命令で表現されている画像を2次元のビットマップデータに展開してビットマップメモリに記憶するデータ記憶工程と、
描画命令で表現されている画像のオブジェクト種類情報を前記ビットマップデータに展開された画像の各画素毎に対応付けてオブジェクト種類情報メモリに記憶するオブジェクト種類情報記憶工程と、
前記ビットマップメモリに記憶されているビットマップデータの特徴量を算出する特徴量算出工程と、
この特徴量算出工程により算出された前記ビットマップメモリに記憶されているビットマップデータの特徴量と前記オブジェクト種類情報メモリに記憶されている注目画素のオブジェクト種類情報とから、注目画素が鮮鋭性重視であるか、粒状性・階調性重視の画素であるかの閾値判定信号を生成する判定信号生成工程と、
この判定信号生成工程により生成された閾値判定信号に応じて量子化閾値を切り替え、注目画素周辺画素からの量子化誤差を加味して前記ビットマップメモリに記憶されているビットマップデータに対する量子化処理を行う中間調処理工程と、
を含むことを特徴とする画像処理方法。
A data storage step of expanding an image represented by a drawing command into two-dimensional bitmap data and storing the data in a bitmap memory;
An object type information storage step of storing object type information of an image expressed by a drawing command in an object type information memory in association with each pixel of the image developed into the bitmap data;
A feature amount calculating step of calculating a feature amount of bitmap data stored in the bitmap memory;
The pixel of interest emphasizes sharpness from the feature amount of the bitmap data stored in the bitmap memory calculated in the feature amount calculation step and the object type information of the pixel of interest stored in the object type information memory. A determination signal generation step for generating a threshold determination signal as to whether the pixel is a pixel with emphasis on graininess or gradation,
Quantization processing for the bitmap data stored in the bitmap memory taking into account the quantization error from the surrounding pixels of the pixel of interest by switching the quantization threshold according to the threshold determination signal generated by this determination signal generation step A halftone processing step,
An image processing method comprising:
前記特徴量算出工程において算出されるビットマップデータの特徴量は、画素毎のエッジ度合いを示す値であるエッジ量である、
ことを特徴とする請求項12記載の画像処理方法。
The feature amount of the bitmap data calculated in the feature amount calculation step is an edge amount that is a value indicating an edge degree for each pixel.
The image processing method according to claim 12.
前記特徴量算出工程は、前記オブジェクト種類情報メモリに記憶されている注目画素のオブジェクト種類情報が鮮鋭性を重視するか、または粒状性・階調性を重視するかに応じてエッジ量算出方法を切り替える、
ことを特徴とする請求項13記載の画像処理方法。
The feature amount calculating step uses an edge amount calculation method depending on whether the object type information of the target pixel stored in the object type information memory emphasizes sharpness, or emphasizes graininess and gradation. Switch,
The image processing method according to claim 13.
前記中間調処理工程は、前記オブジェクト種類情報メモリに記憶されている注目画素のオブジェクト種類情報が鮮鋭性を重視するか、または粒状性・階調性を重視するかに応じて少なくとも第1の量子化閾値と第2の量子化閾値とを切り替えて適用し、前記第1の量子化閾値は画素位置によらず一定の値を持つ閾値であり鮮鋭性を重視するオブジェクト種類情報に対応し、前記第2の量子化閾値は画像空間上で周期的に振動する閾値であり粒状性・階調性を重視するオブジェクト種類情報に対応する、
ことを特徴とする請求項11ないし14のいずれか一記載の画像処理方法。
The halftone processing step includes at least the first quantum depending on whether the object type information of the target pixel stored in the object type information memory emphasizes sharpness, or emphasizes graininess and gradation. The first quantization threshold is a threshold having a constant value regardless of the pixel position and corresponds to object type information that emphasizes sharpness, The second quantization threshold is a threshold that periodically oscillates in the image space, and corresponds to object type information that emphasizes granularity and gradation.
The image processing method according to claim 11, wherein the image processing method is an image processing method.
前記中間調処理工程は、前記オブジェクト種類情報メモリに記憶されている注目画素のオブジェクト種類情報が鮮鋭性を重視するか、または粒状性・階調性を重視するかに応じて少なくとも第1の量子化閾値と第2の量子化閾値とを切り替えて適用し、前記第1の量子化閾値は画像空間上で周期的に振動する閾値であり鮮鋭性を重視するオブジェクト種類情報に対応し、前記第2の量子化閾値は前記第1の閾値よりも画像空間上で大きな振幅幅で周期的に振動する閾値であり粒状性・階調性を重視するオブジェクト種類情報に対応する、
ことを特徴とする請求項11ないし14のいずれか一記載の画像処理方法。
The halftone processing step includes at least the first quantum depending on whether the object type information of the target pixel stored in the object type information memory emphasizes sharpness, or emphasizes graininess and gradation. The first quantization threshold is a threshold that periodically oscillates in the image space, corresponds to object type information that places importance on sharpness, and is applied to the first quantization threshold and the second quantization threshold. The quantization threshold of 2 is a threshold that periodically vibrates with a larger amplitude width in the image space than the first threshold, and corresponds to object type information that places importance on graininess and gradation.
The image processing method according to claim 11, wherein the image processing method is an image processing method.
前記中間調処理工程は、前記オブジェクト種類情報メモリに記憶されている注目画素のオブジェクト種類情報が鮮鋭性を重視するか、または粒状性・階調性を重視するかに応じて少なくとも第1の量子化閾値と第2の量子化閾値とを切り替えて適用し、前記第1の量子化閾値は画像空間上で周期的に振動する閾値であり鮮鋭性を重視するオブジェクト種類情報に対応し、前記第2の量子化閾値は前記第1の閾値よりも大きな画像空間上で周期的に振動する閾値であり粒状性・階調性を重視するオブジェクト種類情報に対応する、
ことを特徴とする請求項11ないし14のいずれか一記載の画像処理方法。
The halftone processing step includes at least the first quantum depending on whether the object type information of the target pixel stored in the object type information memory emphasizes sharpness, or emphasizes graininess and gradation. The first quantization threshold is a threshold that periodically oscillates in the image space, corresponds to object type information that places importance on sharpness, and is applied to the first quantization threshold and the second quantization threshold. The quantization threshold of 2 is a threshold that periodically oscillates in an image space larger than the first threshold, and corresponds to object type information that places importance on granularity and gradation.
The image processing method according to claim 11, wherein the image processing method is an image processing method.
JP2005000768A 2005-01-05 2005-01-05 Image processor, program and image-processing method Pending JP2006191294A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005000768A JP2006191294A (en) 2005-01-05 2005-01-05 Image processor, program and image-processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005000768A JP2006191294A (en) 2005-01-05 2005-01-05 Image processor, program and image-processing method

Publications (1)

Publication Number Publication Date
JP2006191294A true JP2006191294A (en) 2006-07-20

Family

ID=36798012

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005000768A Pending JP2006191294A (en) 2005-01-05 2005-01-05 Image processor, program and image-processing method

Country Status (1)

Country Link
JP (1) JP2006191294A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012098605A (en) * 2010-11-04 2012-05-24 Ricoh Co Ltd Image forming apparatus
JP2012118496A (en) * 2010-11-04 2012-06-21 Ricoh Co Ltd Image forming apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012098605A (en) * 2010-11-04 2012-05-24 Ricoh Co Ltd Image forming apparatus
JP2012118496A (en) * 2010-11-04 2012-06-21 Ricoh Co Ltd Image forming apparatus
US9235170B2 (en) 2010-11-04 2016-01-12 Ricoh Company, Ltd. Image forming apparatus capable of obtaining good fixed condition regardless of type of gradation sequence processing

Similar Documents

Publication Publication Date Title
US9734439B2 (en) Image processing apparatus and method thereof
KR100647765B1 (en) Image processing method, image processing device and recording medium thereof
US8237727B2 (en) Image processing apparatus and method
JP4498233B2 (en) Image processing apparatus and image processing method
US8237985B2 (en) Softproofing via modeling print engine rendering characteristics
JP2009069680A (en) Image processor and program
JP2009278363A (en) Image processor and image processing method
JP4564986B2 (en) Image processing apparatus, image processing method, and image processing program
EP2429173B1 (en) Image forming apparatus, printing control terminal apparatus, and image forming method thereof
EP2429166B1 (en) Image forming apparatus and image forming method thereof
JP4525916B2 (en) Image forming apparatus, image forming method, image processing apparatus, and image processing method
JP2006191294A (en) Image processor, program and image-processing method
JP4514168B2 (en) Image processing system and image processing method
JP4492090B2 (en) Image forming apparatus and image forming method
JP2019121870A (en) Image processing apparatus, control method of the same, and program
JP2009232369A (en) Image processing method
JP4426486B2 (en) Image processing apparatus and program
JP2007087190A (en) Image processing device and program
JP6413783B2 (en) Printing instruction apparatus, printing system, and program
JP2007088968A (en) Output system
JP2010187177A (en) Image forming apparatus and control program
JP4673920B2 (en) Image processing apparatus and image processing method
JP2006115369A (en) Image processing apparatus, image processing method, image processing program, recording medium with the program recorded thereon
JP2000261670A (en) Image processing unit, its method and memory computer- readable
JP2006179998A (en) Image processor, image processing method and program