JP2010074627A - Image processor and method of processing image - Google Patents

Image processor and method of processing image Download PDF

Info

Publication number
JP2010074627A
JP2010074627A JP2008240962A JP2008240962A JP2010074627A JP 2010074627 A JP2010074627 A JP 2010074627A JP 2008240962 A JP2008240962 A JP 2008240962A JP 2008240962 A JP2008240962 A JP 2008240962A JP 2010074627 A JP2010074627 A JP 2010074627A
Authority
JP
Japan
Prior art keywords
image
screen
unit
feature
scanning direction
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
JP2008240962A
Other languages
Japanese (ja)
Inventor
Isanori Higashiura
功典 東浦
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.)
Konica Minolta Business Technologies Inc
Original Assignee
Konica Minolta Business Technologies Inc
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 Konica Minolta Business Technologies Inc filed Critical Konica Minolta Business Technologies Inc
Priority to JP2008240962A priority Critical patent/JP2010074627A/en
Publication of JP2010074627A publication Critical patent/JP2010074627A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color, Gradation (AREA)
  • Image Processing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To not only use a screen adapted to a feature of an image but also reduce the image deterioration caused by using a plurality of screens. <P>SOLUTION: An image processor includes: screen processing portions 2a and 2b that each carries out screen processing by using a plurality of different screens for an image so as to generate images processed by each screen; a feature analyzing portion 1 for carrying out feature analysis of the image; and a combining portion 3 that determines the combination proportion of each image processed by the plurality of the screens based on the results of the feature analysis and outputs the image generated by combining each processed image according to the combining proportion. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、画像処理装置及び画像処理方法に関する。   The present invention relates to an image processing apparatus and an image processing method.

スクリーン線数は線数が低いほど階調性が安定し、線数が高いほど解像度が向上する。よって、文字等のように解像度を重視する領域にはスクリーン線数が高線数のスクリーンを用い、ベタ画像(同程度の濃度で塗りつぶされている領域)等のように階調性を重視する領域についてはスクリーン線数が低いものを用いるとよい。
しかし、文字やベタ画像が混在する画像については、一律に同じスクリーンを用いてスクリーン処理したのでは、解像度と階調性の両方を満足させるのは困難である。
As the number of screen lines decreases, the gradation becomes more stable as the number of lines decreases, and the resolution increases as the number of lines increases. Therefore, a screen with a high number of screen lines is used for an area where the resolution is important, such as characters, and the gradation is emphasized like a solid image (area filled with the same density). It is preferable to use a region with a low screen line number.
However, it is difficult to satisfy both the resolution and the gradation when an image including characters and solid images is uniformly screen-processed using the same screen.

そこで、領域毎に用いるスクリーンを切り替えることが行われている。例えば、描画単位であるオブジェクト毎に、文字(Text)、線画(Graphics)又は写真画(Image)の何れであるかを示すタグ情報を付加しておく。そして、このタグ情報によって識別された文字、線画又は写真画の領域毎に、文字、線画又は写真画に適切なスクリーンを切り替えて用いる。   Therefore, the screen used for each area is switched. For example, tag information indicating whether a text (Text), a line drawing (Graphics), or a photograph (Image) is added to each object as a drawing unit. An appropriate screen is switched to the character, line drawing, or photographic image for each area of the character, line drawing, or photographic image identified by the tag information.

また、画像をハイライト部分(画像の明るい部分)とそれ以外の部分に分離し、ハイライト部分には低線数のスクリーンを用い、それ以外の部分には高線数のスクリーンを用いる方法も開示されている(例えば、特許文献1参照)。
さらに、画像からエッジを検出し、エッジの有無によって異なるスクリーンを用いるとともに、エッジが有る場合にはそのエッジ強度に応じたスクリーンを用いる方法についても開示されている(例えば、特許文献2参照)。
特開2006−270655号公報 特開平9−294208号公報
There is also a method in which the image is separated into a highlight part (bright part of the image) and other parts, a screen with a low line number is used for the highlight part, and a screen with a high line number is used for the other parts. It is disclosed (for example, see Patent Document 1).
Furthermore, a method is also disclosed in which an edge is detected from an image, a screen that differs depending on the presence or absence of an edge is used, and when there is an edge, a screen corresponding to the edge strength is used (see, for example, Patent Document 2).
JP 2006-270655 A JP-A-9-294208

しかしながら、写真画像の中に髪の毛や文字(例えば、瓶のラベル、Tシャツの文字)が含まれている場合等は、上記のようにタグ情報を用いた領域分離方法や、特許文献1、2に記載の領域分離方法では正確な分離が難しく、適切なスクリーンが用いられない場合がある。   However, when a photographic image includes hair or characters (for example, a bottle label or a T-shirt character), the region separation method using tag information as described above, or Patent Documents 1 and 2 In the area separation method described in 1), accurate separation is difficult, and an appropriate screen may not be used.

また、中間調の濃度を持つ文字等については、低線数のスクリーンを用いると、文字のエッジがギザギザになるジャギーと呼ばれる画質劣化を生じる。このような画質劣化を回避するには、タグ情報により文字であることが示され、文字用の高線数のスクリーンが用いられるとよいが、様々な印刷条件の下ではこのようにタグ情報を正確に反映できない場合がある。   For a character having a halftone density, when a screen with a low number of lines is used, image quality deterioration called jaggy with jagged edges of the character occurs. In order to avoid such image quality degradation, the tag information indicates that the character is a character, and a screen with a high line number for the character may be used. However, under various printing conditions, the tag information is displayed in this way. It may not be accurately reflected.

また、画像に中間調の濃度を持つ縦線や横線が含まれる場合、スクリーン角度が45°以外のスクリーンを使用してスクリーン処理すると、スクリーンの方位性により縦線や横線の線幅が変わってしまい、線画像の再現性が低くなるという問題がある。   Also, if the image contains vertical and horizontal lines with halftone density, screen processing using a screen with a screen angle other than 45 ° will change the line width of the vertical and horizontal lines depending on the orientation of the screen. Therefore, there is a problem that the reproducibility of the line image is lowered.

さらに、同一画像において複数種のスクリーンを切り替えて使用すると、その切り替え部分が見た目に分かる程目立ち、不要なノイズを生じる場合もある。   Furthermore, when a plurality of types of screens are switched and used in the same image, the switching portion is noticeable enough to be visually recognized, and unnecessary noise may be generated.

本発明の課題は、画像の特徴に適したスクリーンを精度良く用いることである。   An object of the present invention is to use a screen suitable for image characteristics with high accuracy.

請求項1に記載の発明によれば、
画像に、異なる複数のスクリーンを用いてそれぞれスクリーン処理を行い、各スクリーンによる処理画像を生成するスクリーン処理部と、
前記画像の特徴解析を行う特徴解析部と、
前記特徴解析の結果に基づいて前記複数のスクリーンによる各処理画像の合成比率を決定し、当該合成比率によって各処理画像を合成した合成画像を出力する合成部と、
を備える画像処理装置が提供される。
According to the invention of claim 1,
A screen processing unit that performs screen processing on each image using a plurality of different screens, and generates a processed image by each screen;
A feature analysis unit for performing feature analysis of the image;
Determining a synthesis ratio of each processed image by the plurality of screens based on a result of the feature analysis, and a synthesis unit that outputs a synthesized image obtained by synthesizing each processed image according to the synthesis ratio;
An image processing apparatus is provided.

請求項2に記載の発明によれば、
前記特徴解析は、ウェーブレット解析である請求項1に記載の画像処理装置が提供される。
According to invention of Claim 2,
The image processing apparatus according to claim 1, wherein the feature analysis is wavelet analysis.

請求項3に記載の発明によれば、
前記スクリーン処理を行う領域単位と、前記ウェーブレット解析を行う領域単位とが整数倍の関係にある請求項2に記載の画像処理装置が提供される。
According to invention of Claim 3,
The image processing apparatus according to claim 2, wherein an area unit for performing the screen processing and an area unit for performing the wavelet analysis have an integer multiple relationship.

請求項4に記載の発明によれば、
前記異なる複数のスクリーンは、各スクリーンのスクリーン線数が整数倍の関係にある請求項2又は3に記載の画像処理装置が提供される。
According to invention of Claim 4,
4. The image processing apparatus according to claim 2, wherein the plurality of different screens have a screen line number of each screen in an integral multiple relationship.

請求項5に記載の発明によれば、
前記異なる複数のスクリーンは、スクリーン処理において各スクリーンにより形成されるドットの成長中心が周期的に重なる関係にある請求項2又は3に記載の画像処理装置が提供される。
According to the invention of claim 5,
4. The image processing apparatus according to claim 2, wherein the plurality of different screens are in a relationship in which growth centers of dots formed by the respective screens periodically overlap each other in the screen processing.

請求項6に記載の発明によれば、
前記特徴解析部は、ウェーブレット解析により、少なくとも細線構造、エッジ又は孤立点の何れかの特徴の有無を判定するとともに、ベタ画像又はグラデーションの特徴の有無を判定し、
前記合成部は、前記特徴解析部により細線構造、エッジ又は孤立点の特徴が有ると判定された場合、前記異なる複数のスクリーンの中でも高線数のスクリーンを用いた処理画像の合成比率を大きくし、前記特徴解析部によりベタ画像又はグラデーションの特徴が有ると判定された場合、前記異なる複数のスクリーンの中でも低線数のスクリーンを用いた処理画像の合成比率を大きくする請求項2〜5の何れか一項に記載の画像処理装置が提供される。
According to the invention of claim 6,
The feature analysis unit determines whether or not there is a feature of at least a thin line structure, an edge or an isolated point by wavelet analysis, and determines whether or not there is a feature of a solid image or a gradation,
When the characteristic analysis unit determines that the feature analysis unit has a fine line structure, an edge, or an isolated point, the synthesis unit increases a synthesis ratio of processed images using a screen with a high line number among the plurality of different screens. When the feature analysis unit determines that there is a solid image or gradation feature, the processing image synthesis ratio using a screen with a low number of lines among the plurality of different screens is increased. An image processing apparatus according to claim 1 is provided.

請求項7に記載の発明によれば、
前記異なる複数のスクリーンには、中間調の濃度を持ち、画像の主走査方向又は副走査方向に延在する線画像用のスクリーンが含まれ、
前記特徴解析部は、ウェーブレット解析により、中間調の濃度を持ち、画像の主走査方向又は副走査方向に延在する線画像の特徴の有無を判定し、
前記合成部は、前記特徴解析部により前記中間調の濃度を持ち、画像の主走査方向又は副走査方向に延在する線画像の特徴を有すると判定された場合、当該線画像用のスクリーンを用いた処理画像の合成比率を100%に決定する請求項2〜6の何れか一項に記載の画像処理装置が提供される。
According to the invention of claim 7,
The different screens include screens for line images having a halftone density and extending in the main scanning direction or sub-scanning direction of the image,
The feature analysis unit determines whether or not there is a feature of a line image having a halftone density and extending in a main scanning direction or a sub-scanning direction of the image by wavelet analysis,
When the characteristic analysis unit determines that the characteristic analysis unit has the density of the halftone and has the characteristics of the line image extending in the main scanning direction or the sub-scanning direction of the image, the combining unit displays the screen for the line image. The image processing apparatus according to any one of claims 2 to 6, wherein the composition ratio of the used processed image is determined to be 100%.

請求項8に記載の発明によれば、
前記中間調の濃度を持ち、画像の主走査方向又は副走査方向に延在する線画像用のスクリーンは、スクリーン角度45°のスクリーンである請求項7に記載の画像処理装置が提供される。
According to the invention described in claim 8,
The image processing apparatus according to claim 7, wherein the screen for line images having the halftone density and extending in the main scanning direction or the sub-scanning direction of the image is a screen having a screen angle of 45 °.

請求項9に記載の発明によれば、
前記合成画像に、誤差拡散処理又はノイズ付加処理を施す後処理部を備える請求項1〜8の何れか一項に記載の画像処理装置が提供される。
According to the invention of claim 9,
The image processing apparatus according to claim 1, further comprising a post-processing unit that performs error diffusion processing or noise addition processing on the composite image.

請求項10に記載の発明によれば、
画像に、異なる複数のスクリーンを用いてそれぞれスクリーン処理を行い、各スクリーンによる処理画像を生成する工程と、
前記画像の特徴解析を行う工程と、
前記特徴解析の結果に基づいて前記複数のスクリーンによる各処理画像の合成比率を決定し、当該合成比率によって各処理画像を合成した合成画像を出力する工程と、
を含む画像処理方法が提供される。
According to the invention of claim 10,
The image is subjected to screen processing using a plurality of different screens, and a processed image is generated by each screen; and
Performing a feature analysis of the image;
Determining a composite ratio of each processed image based on the plurality of screens based on the result of the feature analysis, and outputting a composite image obtained by combining the processed images according to the composite ratio;
An image processing method is provided.

本発明によれば、特徴ある画像部分毎にその特徴に適したスクリーンが精度良く用いられた合成画像を得ることができる。   According to the present invention, it is possible to obtain a composite image in which a screen suitable for each characteristic image portion is accurately used.

本実施形態では、本発明をMFP(Multi Function Peripheral)に適用した例を説明する。MFPは、複写機能、印刷機能等の複数の機能を備えた複合型の画像形成装置である。   In the present embodiment, an example in which the present invention is applied to an MFP (Multi Function Peripheral) will be described. The MFP is a composite image forming apparatus having a plurality of functions such as a copying function and a printing function.

図1に、本実施形態に係るMFPの機能的構成を示す。
MFP100は、外部PC(パーソナルコンピュータ)200と接続されており、当該外部PC200から送信されたPDL(Page Description Language)形式のデータから画像のデータを生成して当該画像の印刷を行うことができる。
FIG. 1 shows a functional configuration of the MFP according to the present embodiment.
The MFP 100 is connected to an external PC (personal computer) 200, and can generate image data from PDL (Page Description Language) format data transmitted from the external PC 200 and print the image.

図1に示すように、MFP100は、コントローラ20、画像処理部10、制御部11、読取部12、操作部13、表示部14、記憶部15、画像メモリ16、印刷装置17を備えて構成されている。   As illustrated in FIG. 1, the MFP 100 includes a controller 20, an image processing unit 10, a control unit 11, a reading unit 12, an operation unit 13, a display unit 14, a storage unit 15, an image memory 16, and a printing device 17. ing.

コントローラ20は、ラスタライズ処理により画素毎の画像データを生成する。
例えば、外部PC200において作成されたドキュメントのデータが、プリンタドライバソフトによってPDL形式に変換され、コントローラ20に送信される。コントローラ20はラスタライズ処理によって、送信されたPDLデータに含まれるPDLコマンドを解析し、描画すべき画像単位(これをオブジェクトという)毎に画素を割り当て、この割り当てた画素毎に画素値を設定した画像のデータを生成する。画像はC(シアン)、M(マジェンタ)、Y(イエロー)、K(黒)の色毎に生成される。
なお、本実施形態ではコントローラ20をMFP100内に内蔵する構成を説明したが、コントローラ20をMFP100外部に設ける構成であってもよい。
The controller 20 generates image data for each pixel by rasterization processing.
For example, document data created in the external PC 200 is converted into PDL format by the printer driver software and transmitted to the controller 20. The controller 20 analyzes the PDL command included in the transmitted PDL data by rasterization processing, assigns a pixel to each image unit to be rendered (this is called an object), and sets the pixel value for each assigned pixel. Generate data for An image is generated for each color of C (cyan), M (magenta), Y (yellow), and K (black).
In the present embodiment, the configuration in which the controller 20 is built in the MFP 100 has been described. However, the controller 20 may be provided outside the MFP 100.

制御部11は、CPU(Central Processing Unit)、RAM(Random Access Memory)等を備えて構成されている。制御部11は、記憶部15に記憶されている各種処理プログラムとの協働により、演算を行ったり、MFP100の各部を集中制御したりして各種処理を実行する。   The control unit 11 includes a CPU (Central Processing Unit), a RAM (Random Access Memory), and the like. The control unit 11 performs various processes by performing calculations and centrally controlling each unit of the MFP 100 in cooperation with various processing programs stored in the storage unit 15.

読取部12は、光学系やCCD(Charge Coupled Device)を有するスキャナを備え、原稿を光走査して画像信号(アナログ信号)を生成する。生成された画像信号は、図示しない処理部において各種補正処理が施された後、デジタル変換されて画像処理部10に出力される。   The reading unit 12 includes a scanner having an optical system and a CCD (Charge Coupled Device), and generates an image signal (analog signal) by optically scanning the document. The generated image signal is subjected to various correction processes in a processing unit (not shown), then digitally converted and output to the image processing unit 10.

操作部13はオペレータの操作指示を入力するためのものであり、各種キーや表示部14と一体に構成されるタッチパネル等を備えて構成されている。操作部13は、キー等の操作に応じた操作信号を生成して制御部11に出力する。
表示部14は、制御部11の制御に従ってディスプレイ上に操作画面等を表示する。
記憶部15は、各種処理プログラムの他、処理に必要なパラメータや設定データ等を記憶している。記憶部15としてはハードディスク等を用いることができる。
画像メモリ16は画像のデータを記憶するためのメモリである。画像メモリ16としてはDRAM(Dynamic RAM)等を用いることができる。
The operation unit 13 is used to input an operation instruction from an operator, and includes various keys, a touch panel configured integrally with the display unit 14, and the like. The operation unit 13 generates an operation signal corresponding to an operation of a key or the like and outputs the operation signal to the control unit 11.
The display unit 14 displays an operation screen or the like on the display according to the control of the control unit 11.
The storage unit 15 stores parameters and setting data necessary for processing in addition to various processing programs. A hard disk or the like can be used as the storage unit 15.
The image memory 16 is a memory for storing image data. As the image memory 16, DRAM (Dynamic RAM) or the like can be used.

印刷装置17は、画像処理部10から入力される印刷用の画像に基づいて印刷を行う。印刷用の画像とは、コントローラ20によって生成された画像に、画像処理部10が画像処理を施して生成したものである。
印刷装置17は、電子写真方式による印刷を行い、例えば給紙部、露光部、現像部、定着部等を含んで構成されている。印刷時には、画像のデータに基づいて露光部が感光ドラム上にレーザ光を照射して静電潜像を形成する。静電潜像は現像部により現像され観光ドラム上にはトナー像が形成される。トナー像の形成はC、M、Y、Kの各色の画像について行われ、各色のトナー像は中間転写ベルト上に重ねて転写されてカラー像となる。カラー像は転写ローラ等によって給紙部から給紙された用紙上に転写され、定着部により定着処理が施される。
The printing device 17 performs printing based on the printing image input from the image processing unit 10. The image for printing is an image generated by the image processing unit 10 performing image processing on the image generated by the controller 20.
The printing device 17 performs electrophotographic printing, and includes, for example, a paper feeding unit, an exposure unit, a developing unit, a fixing unit, and the like. At the time of printing, the exposure unit irradiates the photosensitive drum with laser light based on the image data to form an electrostatic latent image. The electrostatic latent image is developed by the developing unit, and a toner image is formed on the sightseeing drum. The toner image is formed on each color image of C, M, Y, and K, and each color toner image is transferred onto the intermediate transfer belt to be a color image. The color image is transferred onto a sheet fed from a sheet feeding unit by a transfer roller or the like, and subjected to a fixing process by a fixing unit.

次に、画像処理部10についてさらに説明する。
画像処理部10は、コントローラ20から入力される画像や、読取部12から入力される画像に画像処理を施す。例えば、画像処理部10は、読取部12から入力された画像についてはRGBをCMYKの色に変換する色変換処理を施す。また、画像処理部10は、画像に階調補正処理やスクリーン処理を施して印刷用の画像を生成する。
Next, the image processing unit 10 will be further described.
The image processing unit 10 performs image processing on the image input from the controller 20 and the image input from the reading unit 12. For example, the image processing unit 10 performs color conversion processing for converting RGB into CMYK colors for the image input from the reading unit 12. The image processing unit 10 also performs gradation correction processing and screen processing on the image to generate a print image.

スクリーン処理についてさらに説明する。
図2は、画像処理部10においてスクリーン処理時に機能する主な構成部分を示す図である。図2に示すように、画像処理部10は、特徴解析部1、第1スクリーン処理部2a、第2スクリーン処理部2b、合成部3、後処理部4を含んで構成されている。
The screen processing will be further described.
FIG. 2 is a diagram illustrating main components that function during screen processing in the image processing unit 10. As shown in FIG. 2, the image processing unit 10 includes a feature analysis unit 1, a first screen processing unit 2 a, a second screen processing unit 2 b, a synthesis unit 3, and a post-processing unit 4.

特徴解析部1はある領域単位毎に画像の特徴解析を行う。特徴解析はウェーブレット解析であり、特徴解析部1はウェーブレット解析により少なくとも細線構造、エッジ、孤立点、ベタ画像又はグラデーションの特徴の有無を判定する。細線構造とは数画素幅の線画像をいう。ベタ画像とは特定の濃度で塗りつぶされた画像をいう。   The feature analysis unit 1 performs feature analysis of an image for each region unit. The feature analysis is wavelet analysis, and the feature analysis unit 1 determines the presence or absence of at least a fine line structure, an edge, an isolated point, a solid image, or a gradation feature by wavelet analysis. The fine line structure means a line image having a width of several pixels. A solid image is an image filled with a specific density.

具体的なウェーブレット解析法について説明する。
以下、ハールウェーブレットを用いた解析例を示すが、ウェーブレット解析は何れのウェーブレットでもよい。
ウェーブレット解析を行う領域単位と、スクリーン処理を行う領域単位とは、整数倍の関係とすることが好ましい。後述するが、第1スクリーン処理部2aで使用する第1スクリーンは4×4画素の正方形のスクリーンであり、第2スクリーン処理部2bで使用する第2スクリーンは2×2画素の正方形のスクリーンである。第1スクリーン処理部2aでは第1スクリーンを4個組み合わせた8×8画素のスーパーセルを用いて、第2スクリーン処理部2bでは第2スクリーンを16個組合せた8×8画素のスーパーセルを用いてスクリーン処理が行われる。本実施形態では、そのスクリーン処理の領域単位である8×8画素と同じ、つまり1倍の関係に当たる領域単位8×8画素でウェーブレット解析を行う例を説明する。
A specific wavelet analysis method will be described.
Hereinafter, although an example of analysis using a Haar wavelet is shown, any wavelet may be used for wavelet analysis.
It is preferable that the area unit for performing the wavelet analysis and the area unit for performing the screen processing have an integer multiple relationship. As will be described later, the first screen used in the first screen processing unit 2a is a 4 × 4 pixel square screen, and the second screen used in the second screen processing unit 2b is a 2 × 2 pixel square screen. is there. The first screen processing unit 2a uses an 8 × 8 pixel supercell combining four first screens, and the second screen processing unit 2b uses an 8 × 8 pixel supercell combining sixteen second screens. Screen processing. In the present embodiment, an example will be described in which wavelet analysis is performed with 8 × 8 pixels that are the same as the 8 × 8 pixels that are the region unit of the screen processing, that is, with a unit relationship of 1 ×.

図3は8×8画素の領域に対して行う、1次〜3次のウェーブレット解析の概要を示している。
図3に示すように、1次解析において、特徴解析部1は8×8画素の各画素につき主走査方向に隣接する画素間で画素値を加算し、その加算値からなる4×8画素を得る。同様に8×8画素の副走査方向に隣接する画素間で画素値を加算し、その加算値からなる8×4画素を得る。
FIG. 3 shows an outline of primary to tertiary wavelet analysis performed on an 8 × 8 pixel region.
As shown in FIG. 3, in the primary analysis, the feature analysis unit 1 adds pixel values between adjacent pixels in the main scanning direction for each pixel of 8 × 8 pixels, and obtains 4 × 8 pixels composed of the added values. obtain. Similarly, pixel values are added between pixels adjacent in the sub-scanning direction of 8 × 8 pixels, and 8 × 4 pixels including the added value are obtained.

次いで、特徴解析部1は加算値からなる4×8画素に対し、副走査方向に隣接する画素間で画素値を加算してその加算値からなる4×4画素を得るとともに、隣接する画素間で画素値を差分しその差分値からなる4×4画素を得る。この加算値からなる4×4画素が、主走査方向及び副走査方向における合計値の1次解析結果Pであり、差分値からなる4×4画素が副走査方向における差分合計値の1次解析結果Py1である。一方、特徴解析部1は加算値からなる8×4画素を対象として、主走査方向に隣接する画素間で画素値を差分し、差分値からなる4×4画素を得る。この差分値からなる4×4画素が主走査方向における差分合計値の1次解析結果Px1である。 Next, the feature analysis unit 1 adds the pixel values between the adjacent pixels in the sub-scanning direction to the 4 × 8 pixels made up of the added values to obtain 4 × 4 pixels made up of the added values, and between the adjacent pixels The pixel value is subtracted to obtain 4 × 4 pixels composed of the difference value. 4 × 4 pixels consisting of the added value is a first interpretation result P 1 of the total value in the main scanning direction and the sub-scanning direction, first-order difference total value 4 × 4 pixels consisting of the difference values in the sub-scanning direction The analysis result P y1 . On the other hand, the feature analysis unit 1 targets 8 × 4 pixels composed of the added values, and obtains 4 × 4 pixels composed of the difference values by subtracting pixel values between pixels adjacent in the main scanning direction. The 4 × 4 pixels made up of this difference value is the primary analysis result P x1 of the difference total value in the main scanning direction.

2次解析では、特徴解析部1は1次解析で用いた、加算値からなる4×8画素について主走査方向に隣接する画素間で加算を行い、加算値からなる2×8画素を得る。この加算値からなる2×8画素と、1次解析で得られた加算値からなる4×4画素(主走査方向及び副走査方向の合計値)を対象に、図3に示すように上記1次解析と同様の処理を2回繰り返し、2次解析結果P、Px2、Py2を得る。2次解析結果P、Px2、Py2は2×2画素の値である。 In the secondary analysis, the feature analysis unit 1 performs addition between pixels adjacent to each other in the main scanning direction for the 4 × 8 pixels made up of the added values used in the primary analysis to obtain 2 × 8 pixels made up of the added values. As shown in FIG. 3, 2 × 8 pixels composed of the added values and 4 × 4 pixels composed of the added values obtained in the primary analysis (total values in the main scanning direction and the sub-scanning direction) The same processing as in the next analysis is repeated twice to obtain secondary analysis results P 2 , P x2 and P y2 . The secondary analysis results P 2 , P x2 , and P y2 are values of 2 × 2 pixels.

3次解析では、特徴解析部1は2次解析に用いた、加算値からなる2×8画素について、主走査方向に隣接する画素間で加算を行い加算値からなる1×8画素を得る。この加算値からなる1×8画素と、2次解析で得られた加算値からなる2×2画素(主走査方向及び副走査方向の合計値)を対象に、図3に示すように上記1次解析と同様の処理を3回繰り返し、3次解析結果P、Px3、Py3を得る。3次解析結果P、Px3、Py3は1×1画素の値である。 In the tertiary analysis, the feature analysis unit 1 performs addition between pixels adjacent to each other in the main scanning direction for 2 × 8 pixels made up of the added values used in the secondary analysis to obtain 1 × 8 pixels made up of the added values. As shown in FIG. 3, the above-mentioned 1 × 8 pixels made up of the added values and 2 × 2 pixels made up of the added values obtained by the secondary analysis (total values in the main scanning direction and the sub-scanning direction) are used. The same processing as the next analysis is repeated three times to obtain the third analysis results P 3 , P x3 and P y3 . The tertiary analysis results P 3 , P x3 , and P y3 are values of 1 × 1 pixel.

以上のようなウェーブレット解析によって得られた解析結果のうち、3次解析結果であるP、Px3、Py3に基づいて、特徴解析部1は特徴の有無の判定を行う。判定は細線構造、エッジ、孤立点、ベタ画像、グラデーションの順に行い、何れかの特徴を有すると判定した時点で判定を終了する。例えば、特徴解析部1は図4に示すように構成される。図4に示すように、特徴解析部1は、入力された画像に対し8×8画素の領域単位で上述のウェーブレット解析を行うウェーブレット解析部S1、その解析結果を用いて特徴の有無を判定する細線構造判定部S2、エッジ判定部S3、孤立点判定部S4、ベタ画像判定部S5、グラデーション判定部S6を含む。 Of the analysis results obtained by the wavelet analysis as described above, the feature analysis unit 1 determines whether or not there is a feature based on P 3 , P x3 , and P y3 that are tertiary analysis results. The determination is performed in the order of the fine line structure, the edge, the isolated point, the solid image, and the gradation, and the determination ends when it is determined that any of the features is present. For example, the feature analysis unit 1 is configured as shown in FIG. As shown in FIG. 4, the feature analysis unit 1 determines whether or not there is a feature using the wavelet analysis unit S <b> 1 that performs the above-described wavelet analysis on an input image in units of 8 × 8 pixels. It includes a fine line structure determination unit S2, an edge determination unit S3, an isolated point determination unit S4, a solid image determination unit S5, and a gradation determination unit S6.

ウェーブレット解析部S1によって得られたウェーブレット解析結果は、細線構造判定部S2に出力される。このウェーブレット解析の結果により細線構造判定部S2において細線構造の特徴を有すると判定された場合、細線構造判定部S2はその判定結果を示す信号を合成部3に出力する。一方、細線構造判定部S2において細線構造の特徴を有するとは確定できない場合、細線構造判定部S2は後段のエッジ判定部S3にウェーブレット解析結果を出力する。後段のエッジ判定部S3、孤立点判定部S4、ベタ画像判定部S5、グラデーション判定部S6は、細線構造判定部S2と同様にウェーブレット解析結果を用いてそれぞれ判定すべき特徴を有するかどうかを判定する。判定すべき特徴を有すると判定された場合、エッジ判定部S3、孤立点判定部S4、ベタ画像判定部S5又はグラデーション判定部S6はその判定結果を示す信号を出力し、判定すべき特徴を有すると確定できない場合には後段の判定部へとウェーブレット解析結果を出力する。最後にグラデーション判定部S6においてグラデーションとは確定できない場合、つまり細線構造、エッジ、孤立点、ベタ画像、グラデーションの何れの特徴を有するとも確定できなかった場合、グラデーション判定部S6は該当する特徴が無いことを示す信号を出力する。   The wavelet analysis result obtained by the wavelet analysis unit S1 is output to the thin line structure determination unit S2. If the fine line structure determination unit S2 determines that the thin line structure determination unit S2 has the characteristics of the thin line structure based on the result of the wavelet analysis, the thin line structure determination unit S2 outputs a signal indicating the determination result to the synthesis unit 3. On the other hand, when it cannot be determined that the thin line structure determining unit S2 has the characteristics of the thin line structure, the thin line structure determining unit S2 outputs the wavelet analysis result to the subsequent edge determining unit S3. The subsequent edge determination unit S3, isolated point determination unit S4, solid image determination unit S5, and gradation determination unit S6 determine whether or not each has a characteristic to be determined using the wavelet analysis result in the same manner as the thin line structure determination unit S2. To do. When it is determined that the characteristic to be determined is present, the edge determination unit S3, the isolated point determination unit S4, the solid image determination unit S5, or the gradation determination unit S6 outputs a signal indicating the determination result and has the characteristic to be determined. If it cannot be determined, the wavelet analysis result is output to the determination unit at the subsequent stage. Finally, if the gradation determination unit S6 cannot determine the gradation, that is, if the gradation determination unit S6 cannot determine any feature of the fine line structure, the edge, the isolated point, the solid image, or the gradation, the gradation determination unit S6 has the corresponding feature. A signal indicating that there is no output is output.

この判定の順番は、高線数のスクリーンが適している特徴の順番である。細線構造、エッジ、孤立点のように高線数のスクリーンが適している特徴を、ベタ画像、グラデーションのように低線数のスクリーンが適している特徴より先に判定するのは、細線構造等に対し誤って低線数のスクリーンが用いられると画質劣化の程度が大きくなるからである。   This order of determination is the order of features for which a high-line-number screen is suitable. Features such as thin line structures, edges, and isolated points that are suitable for high-line-number screens are judged before features that are suitable for low-line-number screens such as solid images and gradations. On the other hand, if a screen with a low number of lines is used by mistake, the degree of image quality deterioration increases.

また、細線構造、エッジ、孤立点のように高階調性よりも高解像度を実現するスクリーンが適している特徴については前半でまとめて判定し、ベタ画像、グラデーションのように高解像度性よりも高階調性を実現するスクリーンが適している特徴については後半でまとめて判定することにより、画像の特徴が明確でなく判定を誤った場合でも同種のスクリーンが適用された処理結果を得ることができる。例えば、ベタ画像もグラデーションも、後述する合成部3では低線数のスクリーンを用いてスクリーン処理された処理画像が合成に用いられる割合が大きい。よって、本来の特徴はベタ画像であったが誤ってグラデーションと判定された場合でも、合成画像において同種のスクリーンを用いた処理画像の割合が同じ程度であり、処理結果に大きな違いは生じない。   Also, features that are suitable for screens that achieve higher resolution than high gradation, such as thin line structures, edges, and isolated points, are judged together in the first half, and higher-order than high-resolution characteristics such as solid images and gradations. The features suitable for the screen that achieves tonality are determined together in the second half, so that a processing result to which the same type of screen is applied can be obtained even if the image features are not clear and the determination is incorrect. For example, in both the solid image and the gradation, the composition unit 3 described later has a high ratio of processing images screen-processed using a screen with a low number of lines used for composition. Therefore, even if the original feature is a solid image but it is erroneously determined to be a gradation, the ratio of processed images using the same type of screen in the composite image is the same, and there is no significant difference in processing results.

次に、各判定部による特徴の有無の判定方法について説明する。
(1)細線構造の判定
細線構造では、細線の延在方向によってもウェーブレット解析の結果が異なるので、細線構造判定部S2は線画像を、斜線と、縦線(画像の副走査方向に延在する線画像)又は横線(画像の主走査方向に延在する線画像)とに分けて判定する。
(1.1)斜線の判定
斜線の場合、主走査方向及び副走査方向の合計値PはP>0となる。また、主走査方向の差分合計値Px3、副走査方向の差分合計値Py3は斜線が延在する方向によってPx3<0、Py3>0となるか、或いはPx3>0、Py3<0となる。よって、3次解析結果P、Px3、Py3がこの条件を満たす場合、細線構造判定部S2はウェーブレット解析を行った8×8画素の領域が斜線の細線構造の特徴を有すると判定する。一方、条件を満たさない場合、細線構造判定部S2は斜線と確定できないと判定する。
Next, a method for determining the presence or absence of features by each determination unit will be described.
(1) Judgment of fine line structure In the fine line structure, the result of wavelet analysis differs depending on the extending direction of the fine line. Therefore, the fine line structure determining unit S2 converts the line image into diagonal lines and vertical lines (extending in the sub-scanning direction of the image). Line image) or horizontal line (line image extending in the main scanning direction of the image).
(1.1) Judgment of oblique lines In the case of oblique lines, the total value P 3 in the main scanning direction and the sub-scanning direction is P 3 > 0. Further, the difference total value P x3 in the main scanning direction and the difference total value P y3 in the sub scanning direction become P x3 <0, P y3 > 0, or P x3 > 0, P y3 depending on the direction in which the oblique lines extend. <0. Therefore, when the tertiary analysis results P 3 , P x3 , and P y3 satisfy this condition, the fine line structure determination unit S2 determines that the region of 8 × 8 pixels subjected to the wavelet analysis has the characteristics of the oblique line structure. . On the other hand, if the condition is not satisfied, the fine line structure determination unit S2 determines that the diagonal line cannot be determined.

例えば、図5に示すような1画素幅の斜線構造を有する8×8画素の領域において、ウェーブレット解析の3次解析結果は、主走査方向及び副走査方向の合計値Pが870、主走査方向の差分合計値Px3は−570、副走査方向の差分合計値Py3は570である。P>0、Px3<0、Py3>0の条件を満たすので、この8×8画素の領域は斜線の細線構造の特徴を有すると判定される。 For example, in the 8 × 8 pixel region having the hatching structure of one pixel width as shown in FIG. 5, third-order analysis result of the wavelet analysis, the total value P 3 of the main scanning direction and the sub-scanning direction is 870, the main scanning The total difference value P x3 in the direction is −570, and the total difference value P y3 in the sub-scanning direction is 570. Since the conditions of P 3 > 0, P x3 <0, and P y3 > 0 are satisfied, it is determined that this 8 × 8 pixel region has the characteristics of the oblique thin line structure.

(1.2)縦線、横線の判定
縦線の場合、主走査方向及び副走査方向の合計値PはP>0、主走査方向の差分合計値Px3はPx3>0、副走査方向の差分合計値Py3はPy3=0又は0付近となる。横線の場合、合計値PはP>0、主走査方向の差分合計値Px3はPx3=0又は0付近、副走査方向の差分合計値Py3はPy3>0となる。Px3又はPy3が0付近かどうかは閾値を用いて判断すればよい。3次解析結果が上記条件を満たす場合、細線構造判定部S2はウェーブレット解析を行った8×8画素の領域が縦線又は横線の細線構造の特徴を有すると判定する。条件を満たさない場合、細線構造判定部S2は縦線又は横線と確定できないと判定する。
(1.2) Determination of Vertical Line and Horizontal Line In the case of a vertical line, the total value P 3 in the main scanning direction and the sub scanning direction is P 3 > 0, and the total difference value P x3 in the main scanning direction is P x3 > 0, The total difference value P y3 in the scanning direction is P y3 = 0 or near zero. In the case of the horizontal line, the total value P 3 is P 3 > 0, the difference total value P x3 in the main scanning direction is P x3 = 0 or near 0, and the difference total value P y3 in the sub-scanning direction is P y3 > 0. Whether P x3 or P y3 is near 0 may be determined using a threshold value. When the tertiary analysis result satisfies the above conditions, the thin line structure determination unit S2 determines that the 8 × 8 pixel region subjected to the wavelet analysis has the characteristics of the vertical line or horizontal line thin line structure. When the condition is not satisfied, the fine line structure determination unit S2 determines that the vertical line or the horizontal line cannot be determined.

例えば、図6に示すような1画素幅の縦線構造を有する8×8画素の領域において、ウェーブレット解析の3次解析結果は、主走査方向及び副走査方向の合計値Pが1600、主走査方向の差分合計値Px3は1600、副走査方向の差分合計値Py3は0である。P>0、Px3>0、Py3=0を満たすので、この8×8画素の領域は縦線の細線構造の特徴を有すると判定される。 For example, in the region of 8 × 8 pixels having a vertical line structure with a width of 1 pixel as shown in FIG. 6, the tertiary analysis result of the wavelet analysis is 1600, the total value P 3 in the main scanning direction and the sub-scanning direction is 1600. The total difference value P x3 in the scanning direction is 1600, and the total difference value P y3 in the sub-scanning direction is 0. Since P 3 > 0, P x3 > 0, and P y3 = 0 are satisfied, it is determined that this 8 × 8 pixel region has the characteristics of a vertical thin line structure.

なお、縦線又は横線の細線構造の特徴を有すると判定された場合、その細線構造が中間調の濃度を持つかどうかを、細線構造判定部S2においてさらに判定することが好ましい。中間調であるかどうかは、予め中間調の濃度かどうかを判断するための閾値を用意しておき、8×8画素の領域内の最大画素値とこの閾値とを比較することにより判断すればよい。或いは、0を超える画素値を持つ画素数を細線構造判定部S2がカウントし、ウェーブレット解析結果である合計値Pをカウントした画素数で除算して平均値を得る。そして、細線構造判定部S2はこの平均値が、細線構造が中間調の濃度であれば取り得る一定範囲内であるかどうかを閾値によって判断し、一定範囲内であれば中間調の濃度であると判断すればよい。中間調の濃度を持つ縦線又は横線の細線構造であると判定された場合、細線構造判定部S2はその判定結果を示す信号を出力する。 When it is determined that the thin line structure has the characteristics of the vertical line or horizontal line, it is preferable that the thin line structure determination unit S2 further determines whether or not the thin line structure has a halftone density. Whether it is halftone or not is determined by preparing a threshold value for judging whether it is halftone density in advance and comparing this threshold value with the maximum pixel value in the region of 8 × 8 pixels. Good. Alternatively, the number of pixels having a pixel value greater than zero and counting wire structure determination unit S2, to obtain an average value by dividing the number of pixels obtained by counting the total value P 3 is a wavelet analysis results. Then, the fine line structure determination unit S2 determines whether or not this average value is within a certain range that can be obtained if the fine line structure is a halftone density, and if it is within the certain range, it is a halftone density. You can judge. When it is determined that the vertical line or horizontal line thin line structure has a halftone density, the thin line structure determination unit S2 outputs a signal indicating the determination result.

(2)エッジの判定
エッジの場合、主走査方向及び副走査方向の合計値PはP>0となる。また、エッジの方向によって、主走査方向の差分合計値Px3、副走査方向の差分合計値Py3は、Px3=0、Py3=P>0であるか、或いはPx3=P>0、Py3=0となる。よって、ウェーブレット解析の3次解析結果がこの条件を満たす場合、エッジ判定部S3はウェーブレット解析を行った8×8画素の領域がエッジの特徴を有すると判定する。条件を満たさない場合にはエッジ判定部S3はエッジと確定できないと判定する。
(2) Determination of edge In the case of an edge, the total value P 3 in the main scanning direction and the sub-scanning direction is P 3 > 0. Further, depending on the edge direction, the difference total value P x3 in the main scanning direction and the difference total value P y3 in the sub scanning direction are P x3 = 0, P y3 = P 3 > 0, or P x3 = P 3 > 0, P y3 = 0. Therefore, when the third-order analysis result of the wavelet analysis satisfies this condition, the edge determination unit S3 determines that the 8 × 8 pixel region subjected to the wavelet analysis has edge characteristics. If the condition is not satisfied, the edge determination unit S3 determines that the edge cannot be determined.

例えば、図7に示すようなエッジを含む8×8画素の領域において、ウェーブレット解析の3次解析結果は、主走査方向及び副走査方向の合計値Pが6120、主走査方向の差分合計値Px3は6120、副走査方向の差分合計値Py3は0である。P>0、Px3=P>0、Py3=0を満たすので、8×8画素の領域はエッジの特徴を有すると判定される。 For example, in the region of 8 × 8 pixels including the edge as shown in FIG. 7, the tertiary analysis result of the wavelet analysis is that the total value P 3 in the main scanning direction and the sub scanning direction is 6120, and the difference total value in the main scanning direction P x3 is 6120, and the total difference value P y3 in the sub-scanning direction is 0. Since P 3 > 0, P x3 = P 3 > 0, and P y3 = 0, the region of 8 × 8 pixels is determined to have edge characteristics.

(3)孤立点の判定
孤立点の場合、主走査方向及び副走査方向の合計値P、主走査方向の差分合計値Px3、副走査方向の差分合計値Py3は、P=Px3=Py3>0となる。よって、ウェーブレット解析の結果がこの条件を満たす場合、孤立点判定部S4はウェーブレット解析を行った8×8画素の領域が孤立点の特徴を有すると判定する。条件を満たさない場合には孤立点判定部S4は孤立点と確定できないと判定する。
(3) Determination of isolated point In the case of an isolated point, the total value P 3 in the main scanning direction and the sub scanning direction, the total difference value P x3 in the main scanning direction, and the total difference value P y3 in the sub scanning direction are P 3 = P x3 = Py3 > 0. Therefore, when the result of the wavelet analysis satisfies this condition, the isolated point determination unit S4 determines that the region of 8 × 8 pixels subjected to the wavelet analysis has an isolated point feature. If the condition is not satisfied, the isolated point determination unit S4 determines that the isolated point cannot be determined.

例えば、図8に示すような孤立点を含む8×8画素の領域において、ウェーブレット解析の3次解析結果は、主走査方向及び副走査方向の合計値Pが255、主走査方向の差分合計値Px3は255、副走査方向の差分合計値Py3は255である。P=Px3=Py3>0を満たすので、8×8画素の領域は孤立点の特徴を有すると判定される。 For example, in an 8 × 8 pixel region including an isolated point as shown in FIG. 8, the tertiary analysis result of the wavelet analysis is that the total value P 3 in the main scanning direction and the sub scanning direction is 255, and the difference in the main scanning direction The value P x3 is 255, and the total difference value P y3 in the sub-scanning direction is 255. Since P 3 = P x3 = P y3 > 0 is satisfied, it is determined that the 8 × 8 pixel region has the feature of an isolated point.

(4)ベタ画像の判定
ベタ画像の場合、主走査方向及び副走査方向の合計値PはP≧0、主走査方向の差分合計値Px3はPx3=0、副走査方向の差分合計値Py3はPy3=0となる。よって、ウェーブレット解析の3次解析結果がこの条件を満たす場合、ベタ画像判定部S5はウェーブレット解析を行った8×8画素の領域がベタ画像の特徴を有すると判定する。条件を満たさない場合にはベタ画像判定部S5はベタ画像と確定できないと判定する。
(4) Solid Image Determination In the case of a solid image, the total value P 3 in the main scanning direction and the sub scanning direction is P 3 ≧ 0, and the difference total value P x3 in the main scanning direction is P x3 = 0, the difference in the sub scanning direction. The total value P y3 is P y3 = 0. Therefore, when the tertiary analysis result of the wavelet analysis satisfies this condition, the solid image determination unit S5 determines that the region of 8 × 8 pixels subjected to the wavelet analysis has the characteristics of the solid image. If the condition is not satisfied, the solid image determination unit S5 determines that the solid image cannot be determined.

例えば、図9に示すようなベタ画像である8×8画素の領域において、ウェーブレット解析の3次解析結果は、主走査方向及び副走査方向の合計値Pが1920、主走査方向の差分合計値Px3は0、副走査方向の差分合計値Py3は0である。P≧0、Px3=0、Py3=0を満たすので、8×8画素の領域はベタ画像の特徴を有すると判定される。 For example, in the region of 8 × 8 pixels, such a solid image as shown in FIG. 9, the third-order analysis result of the wavelet analysis, the main scanning direction and the sub scanning direction of the total value P 3 is 1920, the difference sum of the main scanning direction The value P x3 is 0, and the total difference value P y3 in the sub-scanning direction is 0. Since P 3 ≧ 0, P x3 = 0, and P y3 = 0 are satisfied, it is determined that the 8 × 8 pixel region has the characteristics of a solid image.

(5)グラデーションの判定
グラデーションの場合、主走査方向及び副走査方向の合計値PはP>0である。また、主走査方向の差分合計値Px3、副走査方向の差分合計値Py3は、グラデーションの濃度が変動する方向によってP>Px3>0、Py3=0であるか、Px3=0、P>Py3>0となる。よって、ウェーブレット解析の3次解析結果がこの条件を満たす場合、グラデーション判定部S6はウェーブレット解析を行った8×8画素の領域がグラデーションの特徴を有すると判定する。条件を満たさない場合にはグラデーション判定部S6はグラデーションと確定できず、該当する特徴はないと判定する。
(5) Determination of gradation In the case of gradation, the total value P 3 in the main scanning direction and the sub-scanning direction is P 3 > 0. Also, the difference total value P x3 in the main scanning direction and the difference total value P y3 in the sub scanning direction are P 3 > P x3 > 0, P y3 = 0, or P x3 = 0, P 3 > P y3 > 0. Therefore, when the third-order analysis result of the wavelet analysis satisfies this condition, the gradation determination unit S6 determines that the 8 × 8 pixel area subjected to the wavelet analysis has gradation characteristics. If the condition is not satisfied, the gradation determination unit S6 cannot determine the gradation and determines that there is no corresponding feature.

例えば、図10に示すようなグラデーションである8×8画素の領域において、ウェーブレット解析の3次解析結果は、主走査方向及び副走査方向の合計値Pが8480、主走査方向の差分合計値Px3は4480、副走査方向の差分合計値Py3は0である。P>0、P>Px3>0、Py3=0を満たすので、8×8画素の領域はグラデーションの特徴を有すると判定される。 For example, in the 8 × 8 pixel area having gradation as shown in FIG. 10, the third analysis result of the wavelet analysis is that the total value P 3 in the main scanning direction and the sub scanning direction is 8480, and the difference total value in the main scanning direction. P x3 is 4480, and the total difference value P y3 in the sub-scanning direction is 0. Since P 3 > 0, P 3 > P x3 > 0, and P y3 = 0, it is determined that the 8 × 8 pixel region has gradation characteristics.

次に、第1スクリーン処理部2a、第2スクリーン処理部2bについて説明する。
第1スクリーン処理部2a、第2スクリーン処理部2bは、それぞれ異なるスクリーンを用いて画像にスクリーン処理を施す。
各スクリーンは、そのスクリーン線数を整数倍の関係とすることが好ましい。整数倍とすることにより、スクリーンによって周期的に形成されるスクリーン線の位置が周期的に一部重なる。これにより、後に各スクリーンによりスクリーン処理された処理画像を合成したとき、合成画像において用いられたスクリーンが異なる領域の境界部分の不自然さを低減することができる。
Next, the first screen processing unit 2a and the second screen processing unit 2b will be described.
The first screen processing unit 2a and the second screen processing unit 2b perform screen processing on images using different screens.
Each screen preferably has an integer multiple of the screen line number. By setting an integral multiple, the positions of the screen lines periodically formed by the screen partially overlap. Thereby, when the processed image screen-processed by each screen is synthesize | combined later, the unnaturalness of the boundary part of the area | region where the screen used in the synthesized image differs can be reduced.

同様に、異なるスクリーンを用いたことによる不自然さを低減するため、各スクリーンのスクリーン角度は同じであることが好ましい。
ただし、中間調の濃度を持つ縦線又は横線の線画像については、線幅を含めた線画像の再現性向上のため、当該線画像専用のスクリーンを用いることが好ましい。専用のスクリーンとしては、例えばスクリーン角度45°のスクリーンが挙げられる。また、専用のスクリーンとして、縦線であればスクリーン角度0°のスクリーン、横線であればスクリーン角度90°のスクリーン等、その線の延在方向に直交するスクリーン角度を持つスクリーンを用いることもできる。
Similarly, in order to reduce unnaturalness due to the use of different screens, the screen angles of the respective screens are preferably the same.
However, for a vertical line or horizontal line image having a halftone density, it is preferable to use a screen dedicated to the line image in order to improve the reproducibility of the line image including the line width. An example of the dedicated screen is a screen having a screen angle of 45 °. In addition, as a dedicated screen, a screen having a screen angle orthogonal to the extending direction of the line, such as a screen having a screen angle of 0 ° for a vertical line and a screen having a screen angle of 90 ° for a horizontal line, can be used. .

本実施形態では、そのような条件を満たすスクリーンとして、第1スクリーン処理部2aはスクリーン線数;106線、スクリーン角度;45°、4×4画素の正方形からなる第1スクリーンを用い、第2スクリーン処理部2bはスクリーン線数;212線、スクリーン角度45°、2×2画素の正方形からなる第2スクリーンを用いる例を説明する。第1スクリーンと第2スクリーンはスクリーン角度が同じ45°であり、第2スクリーンの線数は第1スクリーンの2倍である。   In the present embodiment, as a screen satisfying such a condition, the first screen processing unit 2a uses a first screen formed of a screen line number; 106 lines, a screen angle: 45 °, and a square of 4 × 4 pixels. An example in which the screen processing unit 2b uses a second screen composed of 212 lines, a screen angle of 45 °, and a square of 2 × 2 pixels will be described. The first screen and the second screen have the same screen angle of 45 °, and the number of lines of the second screen is twice that of the first screen.

スクリーン処理は、階調性を向上させるため、スーパーセル法により行われることが好ましい。第1スクリーンのスクリーンサイズは4×4画素、第2スクリーンのスクリーンサイズは2×2画素であるので、第1スクリーン処理部2a、第2スクリーン処理部2bはその公倍数である8×8画素の処理単位でスクリーン処理を行う。すなわち、第1スクリーン処理部2aは第1スクリーンを4個組合せたスーパーセルを用い、第2スクリーン処理部2bは第2スクリーンを16個組み合わせたスーパーセルを用いる。   The screen processing is preferably performed by a supercell method in order to improve gradation. Since the screen size of the first screen is 4 × 4 pixels and the screen size of the second screen is 2 × 2 pixels, the first screen processing unit 2a and the second screen processing unit 2b have the common multiple of 8 × 8 pixels. Screen processing is performed in units of processing. That is, the first screen processing unit 2a uses a super cell that combines four first screens, and the second screen processing unit 2b uses a super cell that combines sixteen second screens.

図11に、スーパーセルが用いられた画像例を示す。
図11に示すように、第1スクリーンのスーパーセルが画像に対し繰り返し適用される位置は、第2スクリーンのスーパーセルが画像に対し繰り返し適用される位置と同じである。なお、図11に示す1マスは2×2画素を示している。図11において、第1スクリーンのスーパーセルによって形成される各ドットの中心を結ぶ線が、第1スクリーンによって形成されるスクリーン線である。また、第2スクリーンのスーパーセルによって形成される各ドットの中心を結ぶ線が、第2スクリーンによって形成されるスクリーン線である。図11に示すように、何れのスクリーン線もスクリーン角度45°である。また、第1スクリーンによってスクリーン線が形成される周期の1/2周期で、第2スクリーンのスクリーン線が形成されている。すなわち、第1スクリーンのスクリーン線と第2スクリーンのスクリーン線は、周期的に一部重なっている。
FIG. 11 shows an example of an image using a supercell.
As shown in FIG. 11, the position where the supercell of the first screen is repeatedly applied to the image is the same as the position where the supercell of the second screen is repeatedly applied to the image. Note that one square shown in FIG. 11 represents 2 × 2 pixels. In FIG. 11, a line connecting the centers of the dots formed by the supercells on the first screen is a screen line formed by the first screen. A line connecting the centers of the dots formed by the supercell of the second screen is a screen line formed by the second screen. As shown in FIG. 11, all screen lines have a screen angle of 45 °. In addition, the screen lines of the second screen are formed at a half cycle of the screen lines formed by the first screen. That is, the screen lines of the first screen and the screen lines of the second screen partially overlap each other periodically.

合成部3による画像の合成によって、ある領域では第1スクリーンによって形成されたドットが表れ、隣接する領域で第2スクリーンによって形成されたドットが表れる場合がある。しかし、図11に示すように異なるスクリーンによって表れたドットは同じスクリーン線上に並ぶか、或いは同じスクリーン線上でなくてもドット間の間隔が周期的となる。よって、スクリーンの切り替わり部分が目立ちにくくなり、複数のスクリーンを用いることによる画質劣化の低減を図ることができる。また、ドットの位相ずれによるモアレの発生を防ぐことができる。   Due to the composition of the image by the composition unit 3, there are cases where dots formed by the first screen appear in a certain area and dots formed by the second screen appear in an adjacent area. However, as shown in FIG. 11, the dots appearing on different screens are arranged on the same screen line, or even if they are not on the same screen line, the interval between the dots becomes periodic. Therefore, the screen switching portion is less noticeable, and the deterioration of image quality due to the use of a plurality of screens can be reduced. In addition, it is possible to prevent the occurrence of moire due to the phase shift of dots.

このようにして、第1スクリーン処理部2aによってスクリーン処理された処理画像、第2スクリーン処理部2bによってスクリーン処理された処理画像は、それぞれ合成部3に出力される。   In this way, the processed image screen-processed by the first screen processing unit 2a and the processed image screen-processed by the second screen processing unit 2b are output to the combining unit 3, respectively.

合成部3は、特徴解析部1から入力される特徴解析の結果に基づいて、第1スクリーン処理部2aから入力される処理画像と、第2スクリーン処理部2bから入力される処理画像との合成比率を決定する。このとき、合成部3は特徴解析の結果、細線構造、エッジ、孤立点の特徴を有すると判定された場合には、第1スクリーン又は第2スクリーンの中でもより高線数である第2スクリーンによる処理画像の合成比率を大きくする。一方、ベタ画像、グラデーションの特徴を有すると判定された場合、合成部3は第1スクリーン又は第2スクリーンの中でもより低線数である第1スクリーンによる処理画像の合成比率を大きくする。そして、合成部3は決定した合成比率で各処理画像の各画素の画素値を足し合わせて、各処理画像を合成した合成画像を生成する。   The combining unit 3 combines the processed image input from the first screen processing unit 2a and the processed image input from the second screen processing unit 2b based on the result of the feature analysis input from the feature analysis unit 1. Determine the ratio. At this time, if it is determined as a result of the feature analysis that the composition unit 3 has a fine line structure, an edge, or an isolated point, the composition unit 3 uses the second screen having the higher number of lines in the first screen or the second screen. Increase the composite ratio of processed images. On the other hand, when it is determined that the image has a solid image and gradation characteristics, the composition unit 3 increases the composition ratio of the processed image by the first screen having the lower number of lines in the first screen or the second screen. Then, the synthesizing unit 3 adds the pixel values of the pixels of the processed images at the determined combining ratio to generate a combined image obtained by combining the processed images.

合成例を挙げると、特徴解析により細線構造の特徴を有すると判定された場合、合成部3は第1スクリーンと第2スクリーンのうち高線数である第2スクリーンの処理画像の合成比率を100%と決定する。すなわち、細線構造の特徴を有すると判定された8×8画素の領域については、第2スクリーンによる処理画像を選択してそのまま出力する。エッジ又は孤立点と判定された場合も同様に、より高線数である第2スクリーンの処理画像を100%の合成比率で出力する。   As a synthesis example, when it is determined by the feature analysis that the feature has the fine line structure, the synthesis unit 3 sets the synthesis ratio of the processed image of the second screen having a high number of lines between the first screen and the second screen to 100. %. That is, for the 8 × 8 pixel region determined to have the fine line structure feature, the processed image by the second screen is selected and output as it is. Similarly, when it is determined as an edge or an isolated point, the processed image of the second screen having a higher number of lines is output at a composition ratio of 100%.

一方、ベタ画像又はグラデーションの特徴を有すると判定された場合、合成部3は第1スクリーンと第2スクリーンのうち低線数である第1スクリーンの処理画像の合成比率を100%と決定する。すなわち、ベタ画像又はグラデーションの特徴を有すると判定された8×8画素の領域については、第1スクリーンによる処理画像を選択してそのまま出力する。   On the other hand, when it is determined that the image has the characteristics of a solid image or gradation, the composition unit 3 determines that the composition ratio of the processed image of the first screen that has the low number of lines of the first screen and the second screen is 100%. That is, for the 8 × 8 pixel area determined to have a solid image or gradation characteristics, a processed image by the first screen is selected and output as it is.

上記6種の特徴の何れにも該当なしと判定された場合、合成部3は第1スクリーンの処理画像と第2スクリーンの処理画像との合成比率をそれぞれ50%と決定する。合成部3は、該当なしと判定された8×8画素の領域については、各処理画像の平均値を算出して出力する。   When it is determined that none of the six types of features is applicable, the synthesis unit 3 determines the synthesis ratio of the processed image on the first screen and the processed image on the second screen to be 50%. The synthesizer 3 calculates and outputs an average value of each processed image for an 8 × 8 pixel area determined to be not applicable.

なお、何れかの特徴を有すると判定された場合であっても、その特徴の強弱があるので、閾値によって段階的に特徴の強弱を判定し、その強弱によって合成比率を決定することとしてもよい。
孤立点の例で説明すると、図8に示したように画素値255を持つ孤立点の周辺が全て画素値0であるような明確な特徴を有する画像ではなく、周辺にノイズが含まれていたりする場合がある。このような場合、ウェーブレット解析の3次解析結果はP=Px3=Py3=255とならず、P、Px3、Py3間に5や10等の差が生じることとなる。よって、閾値として例えば10を設定しておき、各P、Px3、Py3の差が0であれば合成部3は孤立点の特徴が強いと判断し、上記のように第2スクリーンを用いた処理画像の合成比率を100%とする。これに対し、差が0より大きく閾値10以下であれば、合成部3は孤立点の特徴が弱いと判断し、第1スクリーンを用いた処理画像の合成比率を10%、第2スクリーンを用いた処理画像の合成比率を90%に決定する。これにより特徴の強弱によってより細かなスクリーンの使い分けが可能となる。なお、各P、Px3、Py3の差が閾値10以上であれば、特徴解析部1において孤立点として確定できないと判定するようにすればよい。
Note that even if it is determined that any of the features is present, the strength of the feature is present. Therefore, the strength of the feature may be determined step by step based on a threshold, and the composition ratio may be determined based on the strength. .
In the example of isolated points, as shown in FIG. 8, the image is not an image having a clear feature in which the periphery of an isolated point having a pixel value 255 is all pixel values 0, and noise is included in the periphery. There is a case. In such a case, the third-order analysis result of the wavelet analysis is not P 3 = P x3 = P y3 = 255, and a difference of 5 or 10 or the like occurs between P 3 , P x3 , and P y3 . Therefore, for example, 10 is set as the threshold value, and if the difference between P 3 , P x3 , and P y3 is 0, the synthesis unit 3 determines that the feature of the isolated point is strong, and the second screen is set as described above. The composition ratio of the used processed image is set to 100%. On the other hand, if the difference is greater than 0 and less than or equal to the threshold value 10, the composition unit 3 determines that the feature of the isolated point is weak, and uses the second screen for the composition ratio of the processed image using the first screen of 10%. The synthesis ratio of the processed image is determined to be 90%. This makes it possible to use different screens depending on the strength of the features. Note that if the difference between each of P 3 , P x3 , and P y3 is equal to or greater than the threshold 10, it may be determined that the feature analysis unit 1 cannot determine the isolated point.

また、中間調の濃度を持つ縦線又は横線であるとの判定結果が入力された場合、合成部3はスクリーン角度45°のスクリーンを用いた処理画像の合成比率を100%とする。第1スクリーン及び第2スクリーンは何れもスクリーン角度は45°であるので、何れの合成比率で合成してもよい。例えば、細線構造であることを考慮して高線数の第2スクリーンを用いた処理画像の合成比率を100%としてもよいし、中間調の濃度であることを考慮してそれぞれ50%の合成比率としてもよい。
このようにして生成された合成画像は後処理部4に出力される。
When a determination result that a vertical line or horizontal line having a halftone density is input, the synthesis unit 3 sets the synthesis ratio of the processed image using a screen having a screen angle of 45 ° to 100%. Since both the first screen and the second screen have a screen angle of 45 °, they may be combined at any combination ratio. For example, in consideration of the thin line structure, the composition ratio of the processed image using the second screen having a high number of lines may be set to 100%, or the composition ratio of 50% is considered in consideration of the halftone density. It is good also as a ratio.
The composite image generated in this way is output to the post-processing unit 4.

後処理部4は、合成部3から出力された合成画像に対し、ノイズ付加処理や誤差拡散処理等の後処理を施す。ノイズ付加処理において、後処理部4は例えばランダムに発生させたノイズ分の画素値を、合成画像の任意の位置の画素に加算する。また、誤差拡散処理では、後処理部4は合成画像の各画素の画素値を閾値との比較により2値化し、2値化の際の閾値との誤差を周辺画素へ加算する。   The post-processing unit 4 performs post-processing such as noise addition processing and error diffusion processing on the combined image output from the combining unit 3. In the noise addition process, the post-processing unit 4 adds, for example, pixel values corresponding to randomly generated noise to pixels at arbitrary positions in the composite image. In the error diffusion process, the post-processing unit 4 binarizes the pixel value of each pixel of the composite image by comparison with a threshold value, and adds an error from the threshold value at the time of binarization to surrounding pixels.

以上のように、本実施形態に係るMFP100によれば、第1スクリーン処理部2aが第1スクリーンを用いて画像にスクリーン処理を行い、第2スクリーン処理部2bが第1スクリーンとは異なる第2スクリーンを用いてスクリーン処理を行って、それぞれ処理画像を生成する。また、特徴解析部1が画像の特徴解析を行い、その解析結果に基づいて合成部3がそれぞれ異なる2つのスクリーンによって得られた各処理画像の合成比率を決定し、当該合成比率によって各処理画像を合成した合成画像を出力する。   As described above, according to the MFP 100 according to the present embodiment, the first screen processing unit 2a performs screen processing on an image using the first screen, and the second screen processing unit 2b is different from the first screen. Screen processing is performed using a screen, and each processed image is generated. Also, the feature analysis unit 1 performs feature analysis of the image, and based on the analysis result, the synthesis unit 3 determines a synthesis ratio of each processed image obtained by two different screens, and each processed image is determined by the synthesis ratio. A composite image obtained by combining is output.

これにより、特徴を有する画像部分毎に合成比率を変えることができるので、1つの画像に様々な特徴を持つ画像部分が混在していても、特徴を有する画像部分毎にその特徴に適したスクリーンを精度良く用いてスクリーン処理された合成画像を得ることができる。また、異なるスクリーンが用いられた処理画像を合成することにより、解像度と階調性のバランスを調整することができる。さらに、合成により異なるスクリーンによる処理結果を違和感なく出力することができる。   As a result, since the composition ratio can be changed for each image portion having a feature, even if image portions having various features are mixed in one image, a screen suitable for the feature for each image portion having a feature. Can be used to obtain a screen-processed composite image. Also, by combining processed images using different screens, the balance between resolution and gradation can be adjusted. Furthermore, the processing results from different screens can be output without a sense of incongruity by synthesis.

特徴解析部1の特徴解析はウェーブレット解析であるので、その解析結果から複数種の特徴を精度良く判定することが可能となる。   Since the feature analysis of the feature analysis unit 1 is a wavelet analysis, it is possible to accurately determine a plurality of types of features from the analysis result.

また、特徴解析部1は、ウェーブレット解析により少なくとも細線構造、エッジ、孤立点、ベタ画像、グラデーションの特徴の有無を判定し、合成部3は細線構造、エッジ又は孤立点の特徴を有すると判定された場合、第1スクリーンと第2スクリーンのうちより高線数の第2スクリーンを用いた処理画像の合成比率を、第1スクリーンを用いた処理画像よりも大きくする。これにより、合成画像において細線構造、エッジ、孤立点の特徴を有する画像部分については高解像度を実現することができる。また、合成部3はベタ画像又はグラデーションの特徴を有すると判定された場合、第1スクリーンと第2スクリーンのうちより低線数の第1スクリーンを用いた処理画像の合成比率を、第2スクリーンを用いた処理画像よりも大きくする。これにより、合成画像においてベタ画像やグラデーションの特徴を有する画像部分については高階調性を実現することができる。   Further, the feature analysis unit 1 determines at least the presence or absence of features of the fine line structure, edge, isolated point, solid image, and gradation by wavelet analysis, and the synthesis unit 3 is determined to have the feature of the fine line structure, edge or isolated point. In this case, the composite ratio of the processed image using the second screen having the higher number of lines among the first screen and the second screen is made larger than that of the processed image using the first screen. As a result, high resolution can be realized for an image portion having features of a fine line structure, an edge, and an isolated point in the composite image. Further, when it is determined that the composition unit 3 has a solid image or gradation characteristic, the composition ratio of the processed image using the first screen having the lower number of lines of the first screen and the second screen is set to the second screen. To be larger than the processed image using. As a result, high gradation can be realized for a solid image or an image portion having gradation characteristics in the synthesized image.

また、特徴解析部1は中間調の濃度を持つ縦線又は横線の特徴の有無を判定し、合成部3は当該縦線又は横線の特徴を有すると判定された場合、当該縦線又は横線専用のスクリーン角度45°のスクリーンを用いた処理画像の合成比率を100%に決定する。これにより、合成画像において、中間調の濃度を持つ縦線又は横線の線幅が変わることを防ぐことができ、当該縦線又は横線の再現性向上を図ることができる。   Also, the feature analysis unit 1 determines whether or not there is a vertical line or horizontal line feature having a halftone density, and if the synthesis unit 3 determines that the vertical line or horizontal line feature is present, the feature analysis unit 1 is dedicated to the vertical line or horizontal line. The synthetic ratio of the processed image using a screen having a screen angle of 45 ° is determined to be 100%. Thereby, it is possible to prevent a change in the line width of the vertical line or horizontal line having a halftone density in the composite image, and to improve the reproducibility of the vertical line or horizontal line.

また、後処理部4は合成画像に後処理を施すので、隣接する画像領域間で異なるスクリーンが用いられた合成画像が得られた場合でも、その境界部分の不自然さを低減させることができる。   Further, since the post-processing unit 4 performs post-processing on the composite image, even when a composite image using different screens between adjacent image regions is obtained, the unnaturalness of the boundary portion can be reduced. .

なお、上記実施形態に係るMFP100は本発明の好適な一例であり、これに限定されるものではない。
例えば、異なる複数のスクリーンは、スクリーン処理において各スクリーンにより形成されるドットの成長中心が周期的に重なる関係にあることとしてもよい。成長中心とは、スクリーンの中で最も容易にドットが出力されるように閾値が定められた位置をいう。多くの場合、この成長中心からドットの成長が開始されることとなる。このとき、第1スクリーン及び第2スクリーン内で形成されるドットの成長中心が周期的に重なるように、第1スクリーン処理部2aが第1スクリーンを画像に繰り返し用いる位置を調整するか、或いは第2スクリーン処理部2bが第2スクリーンを画像に繰り返し用いる位置を調整する。
The MFP 100 according to the above embodiment is a preferred example of the present invention, and the present invention is not limited to this.
For example, a plurality of different screens may have a relationship in which the growth centers of dots formed by the respective screens in the screen processing are periodically overlapped. The growth center is a position where a threshold is set so that dots are output most easily on the screen. In many cases, the growth of dots starts from this growth center. At this time, the position where the first screen processing unit 2a repeatedly uses the first screen for the image is adjusted so that the growth centers of the dots formed in the first screen and the second screen periodically overlap, or the first The two-screen processing unit 2b adjusts the position where the second screen is repeatedly used for the image.

図12は、スクリーンの適用位置の調整結果の一例を示す図である。
図12に示すように、第1スクリーンのドット成長中心は、4×4画素のうち上から2画素、左から2画素の位置(図12に示す第1スクリーンのドット成長開始位置)に定められており、第2スクリーンのドット成長中心は、2×2画素のうちの左上の位置(図12に示す第2スクリーンのドット成長開始位置)に定められている。なお、図12において1マスは1画素を示している。第1スクリーン処理部2aは第1スクリーンのドット成長中心を第2スクリーンのドット成長中心に一致させるため、図12に示すように第1スクリーンの画像への適用位置を調整する。第1スクリーン及び第2スクリーンはスクリーン線数が整数倍であり、同じスクリーン角度、同じスクリーン形状であるので、図12に示すように第1スクリーンによって形成されるドットの周期の1/2周期で、第2スクリーンによるドットが形成されることとなる。結果として、第1スクリーン、第2スクリーンのそれぞれによって形成されるドットの成長中心は周期的に一部重なる。
FIG. 12 is a diagram illustrating an example of the adjustment result of the application position of the screen.
As shown in FIG. 12, the center of dot growth of the first screen is determined at the position of 2 pixels from the top and 2 pixels from the left (4 × 4 pixels) (dot growth start position of the first screen shown in FIG. 12). The dot growth center of the second screen is determined at the upper left position of 2 × 2 pixels (dot growth start position of the second screen shown in FIG. 12). In FIG. 12, one square represents one pixel. The first screen processing unit 2a adjusts the application position of the first screen to the image as shown in FIG. 12 in order to make the dot growth center of the first screen coincide with the dot growth center of the second screen. Since the first screen and the second screen have an integral multiple of screen lines, the same screen angle, and the same screen shape, as shown in FIG. 12, the period is half the period of dots formed by the first screen. Then, dots are formed by the second screen. As a result, the growth centers of dots formed by the first screen and the second screen partially overlap each other periodically.

合成部3による画像の合成によって、第1スクリーンによって形成された各ドットが表れる領域と、第2スクリーンによって形成された各ドットが表れる領域とが隣接する場合がある。しかし、図12に示すように異なるスクリーンによって表れたドットは成長中心が一部重なっているので、領域毎に異なるスクリーンが用いられてもその境界部分の不自然さを低減でき、複数のスクリーンを用いることによる画質劣化の低減を図ることができる。また、ドットの位相ずれによるモアレの発生を防ぐことができる。   By combining images by the combining unit 3, there are cases where an area where each dot formed by the first screen appears is adjacent to an area where each dot formed by the second screen appears. However, as shown in FIG. 12, since the dots appearing on different screens partially overlap the growth center, even if different screens are used for each region, the unnaturalness of the boundary portion can be reduced, and a plurality of screens can be reduced. It is possible to reduce image quality deterioration due to use. In addition, it is possible to prevent the occurrence of moire due to the phase shift of dots.

また、上述のスクリーン処理では第1スクリーン及び第2スクリーンの何れもスクリーン角度45°のものを用いたが、条件によっては、中間調の濃度を持つ縦線又は横線に適したスクリーン角度45°のスクリーンが用いられない場合がある。例えば、スクリーン角度が75°、75°、15°の3つのスクリーンが用いられる場合である。このような状況下では、結果としてスクリーン角度45°の合成画像が得られるように、合成部3がスクリーン角度75°の処理画像と、スクリーン角度15°の処理画像とを合成比率50%で合成すればよい。   In the above screen processing, both the first screen and the second screen have a screen angle of 45 °. However, depending on the conditions, the screen angle of 45 ° suitable for a vertical line or horizontal line having a halftone density is used. The screen may not be used. For example, three screens with screen angles of 75 °, 75 °, and 15 ° are used. Under such circumstances, the synthesis unit 3 synthesizes the processed image with the screen angle of 75 ° and the processed image with the screen angle of 15 ° at a synthesis ratio of 50% so that a synthesized image with a screen angle of 45 ° is obtained as a result. do it.

また、第1スクリーン及び第2スクリーンが正方形のスクリーンである例を説明したが、その他の形状のスクリーンを用いることもできる。例えば、図13に示すようなスクリーン形状のスクリーンの場合、特徴解析はスクリーンを含む4×4画素の処理単位で行うことができる。このとき、4×4画素の領域のうち、スクリーンに該当しない画素は画素値0に変換して特徴解析を行えばよい。また、図13に示すようにスクリーンのシフト位置に合わせて特徴解析の対象とする領域もシフトすればよい。   Moreover, although the example in which the first screen and the second screen are square screens has been described, screens of other shapes can be used. For example, in the case of a screen having a screen shape as shown in FIG. 13, the feature analysis can be performed in a processing unit of 4 × 4 pixels including the screen. At this time, in the 4 × 4 pixel region, pixels that do not correspond to the screen may be converted to a pixel value of 0 and subjected to feature analysis. Further, as shown in FIG. 13, the region to be subjected to feature analysis may be shifted in accordance with the shift position of the screen.

また、上述の特徴解析部1は、細線構造、エッジ、孤立点、ベタ画像、グラデーションの順に、優先順位を設けて判定し、何れか1つの判定結果を合成部3に出力していたが、合成部3において優先順位をつけることとしてもよい。例えば、図14に示すように特徴解析部1では全ての判定を並行して行い、その判定結果を合成部3に出力する。合成部3では各判定結果を受けて細線構造、エッジ、孤立点、ベタ画像、グラデーションの順に判定結果を採用する。例えば、エッジの特徴を有するとの判定結果と、ベタ画像の特徴を有するとの判定結果が入力されている場合にはエッジの特徴を有するとの判定結果を優先して採用する。   In addition, the above-described feature analysis unit 1 determines the priority in the order of the fine line structure, the edge, the isolated point, the solid image, and the gradation, and outputs any one determination result to the synthesis unit 3. It is good also as giving a priority in the synthetic | combination part 3. FIG. For example, as shown in FIG. 14, the feature analysis unit 1 performs all determinations in parallel, and outputs the determination results to the synthesis unit 3. The synthesizer 3 receives the determination results and adopts the determination results in the order of fine line structure, edge, isolated point, solid image, and gradation. For example, when the determination result that the image has an edge feature and the determination result that the image has a solid image feature are input, the determination result that the image has an edge feature is preferentially adopted.

また、図14に示す構成の場合、合成部3において予め各特徴の判定結果に対し、第1スクリーンと第2スクリーンの合成比率を、その処理画像に乗算する係数として定めておき、採用された判定結果に応じた係数で処理画像の合成を行うこととしてもよい。例えば、細線構造、エッジ、孤立点は第1スクリーンの係数を0(合成比率0%)、第2スクリーンの係数を1(合成比率100%)、ベタ画像、グラデーションは第1スクリーンの係数を1(合成比率100%)、第2スクリーンの係数を0(合成比率0%)と設定しておく。なお、図14において合成部3に示す比率は、スクリーンの種類とその係数を示している。スクリーンの種類は第1スクリーンであれば1、第2スクリーンであれば2の数値で示している。例えば「1:1」は第1スクリーンの係数が1であることを示している。   In the case of the configuration shown in FIG. 14, the composition unit 3 preliminarily determines and adopts the composition ratio of the first screen and the second screen as a coefficient for multiplying the processed image with respect to the determination result of each feature. The processed image may be synthesized with a coefficient corresponding to the determination result. For example, a fine line structure, an edge, and an isolated point have a first screen coefficient of 0 (combination ratio 0%), a second screen coefficient of 1 (combination ratio 100%), and a solid image and gradation have a first screen coefficient of 1 (The composition ratio is 100%), and the coefficient of the second screen is set to 0 (the composition ratio is 0%). In FIG. 14, the ratio shown in the composition unit 3 indicates the type of screen and its coefficient. The screen type is indicated by a numerical value of 1 for the first screen and 2 for the second screen. For example, “1: 1” indicates that the coefficient of the first screen is 1.

なお、合成部3において2以上の特徴を有するとの判定結果が得られた場合、係数を修正することとしてもよい。例えば、上述のようにエッジとベタ画像の特徴を有するとの判定結果が得られている場合、エッジの判定結果が優先されるため、本来エッジに適した高線数の第2スクリーンの処理画像に対する係数を1(合成比率100%)とすることとなるが、ベタ画像であるとの判定結果を考慮して第2スクリーンの係数を0.9(合成比率90%)、第1スクリーンの係数を0.1(合成比率10%)に修正して合成することとしてもよい。   In addition, when the determination result that the combining unit 3 has two or more features is obtained, the coefficient may be corrected. For example, when the determination result that the edge and the solid image have the characteristics as described above is obtained, the edge determination result is prioritized. Therefore, the processed image of the second screen having a high number of lines originally suitable for the edge The coefficient for the first screen is 1 (combination ratio 100%), but the second screen coefficient is 0.9 (combination ratio 90%) and the first screen coefficient in consideration of the determination result that the image is a solid image. May be modified to 0.1 (combination ratio 10%).

また、画像の特徴を精度良く判定できるのであれば、ウェーブレット解析の結果は3次解析結果だけでなく2次解析結果等を用いて特徴を判定してもよい。
例えば、図5に示す斜線の場合、2次解析結果として図15に示すような結果が得られる。図15に示すように、細線構造の斜線であれば、主走査方向及び副走査方向の合計値Pは2×2画素の対向する2画素の1組が0の値となり、他方の1組が0より大きい値となる。また、主走査方向の差分合計値Px2、副走査方向の差分合計値Py2は、Px2の2×2画素の対向する2画素の1組が0の値、他方の1組が0より小さい値となり、Py2の2×2画素の対向する2画素の1組が0の値、他方の1組が0より大きい値となる。斜線の延在する方向によってはその逆で、Px2の2×2画素の対向する2画素の1組が0の値、他方の1組が0より大きい値となり、Py2の2×2画素の対向する2画素の1組が0の値、他方の1組が0より小さい値となる。よって、この条件を満たすかどうかによって斜線の細線構造か否かを判定することができる。
If the feature of the image can be accurately determined, the result of the wavelet analysis may be determined using not only the tertiary analysis result but also the secondary analysis result.
For example, in the case of the oblique line shown in FIG. 5, the result shown in FIG. 15 is obtained as the secondary analysis result. As shown in FIG. 15, if the hatched wire structures, the main scanning direction and the sub scanning direction of the total value P 2 is a set of two pixels which faces the 2 × 2 pixels is a value of 0, the other pair Becomes a value larger than 0. Further, the difference total value P x2 in the main scanning direction and the difference total value P y2 in the sub-scanning direction are such that one set of two opposed 2 × 2 pixels of P x2 is 0, and the other set is 0. The value is a small value, and one set of two opposing pixels of Py2 of 2 × 2 pixels has a value of 0, and the other set has a value greater than 0. Depending on the direction in which the diagonal line extends, the opposite of the 2 × 2 pixels of P x2 is a value of 0, and the other set is a value greater than 0, so that 2 × 2 pixels of P y2 One set of two opposing pixels has a value of 0, and the other set has a value smaller than 0. Therefore, it can be determined whether or not the structure is an oblique thin line structure depending on whether or not this condition is satisfied.

また、MFP以外にも画像処理を行うコンピュータ装置であれば本発明を適用することが可能である。また、上述した特徴解析部1、第1スクリーン処理部2a、第2スクリーン処理部2b、合成部3、後処理部4の処理をプログラム化し、当該プログラムを用いてソフトウェアによる画像処理を行うこととしてもよい。この場合、プログラムのコンピュータ読み取り可能な媒体としては、ROM、フラッシュメモリ等の不揮発性メモリ、CD-ROM等の可搬型記録媒体を適用することが可能である。また、プログラムのデータを通信回線を介して提供する媒体として、キャリアウエーブ(搬送波)も適用される。   In addition to the MFP, the present invention can be applied to any computer apparatus that performs image processing. In addition, the processing of the feature analysis unit 1, the first screen processing unit 2a, the second screen processing unit 2b, the synthesis unit 3, and the post-processing unit 4 described above is programmed, and image processing by software is performed using the program. Also good. In this case, as a computer-readable medium for the program, a non-volatile memory such as a ROM and a flash memory, and a portable recording medium such as a CD-ROM can be applied. A carrier wave is also used as a medium for providing program data via a communication line.

本実施形態におけるMFPの機能的構成を示す図である。FIG. 2 is a diagram illustrating a functional configuration of an MFP according to the present embodiment. 図1の画像処理部においてスクリーン処理時に主に機能する構成部分を示す図である。It is a figure which shows the component mainly functioned at the time of screen processing in the image processing part of FIG. ウェーブレット解析の概要を示す図である。It is a figure which shows the outline | summary of a wavelet analysis. 図2の特徴解析部の機能ブロック図である。FIG. 3 is a functional block diagram of a feature analysis unit in FIG. 2. 斜線の細線構造と、そのウェーブレット解析結果例を示す図である。It is a figure which shows the diagonal thin line structure and the example of a wavelet analysis result. 縦線の細線構造と、そのウェーブレット解析結果例を示す図である。It is a figure which shows the example of a thin line structure of a vertical line, and its wavelet analysis result. エッジと、そのウェーブレット解析結果例を示す図である。It is a figure which shows an edge and its wavelet analysis result example. 孤立点と、そのウェーブレット解析結果例を示す図である。It is a figure which shows an isolated point and the example of a wavelet analysis result. ベタ画像と、そのウェーブレット解析結果例を示す図である。It is a figure which shows a solid image and the example of its wavelet analysis result. グラデーションと、そのウェーブレット解析結果例を示す図である。It is a figure which shows a gradation and its wavelet analysis result example. スクリーン線数が整数倍の関係にある2つのスクリーンのスーパーセルを示す図である。It is a figure which shows the supercell of two screens in which the screen line number has an integer multiple relationship. ドットの成長中心が周期的に重なる関係にある2つのスクリーンを示す図である。It is a figure which shows the two screens in which the growth center of a dot overlaps periodically. 正方形でないスクリーンを用いる場合の特徴解析の領域単位について説明する図である。It is a figure explaining the area unit of the feature analysis in the case of using a non-square screen. 特徴解析部と合成部の他の構成例を示す図である。It is a figure which shows the other structural example of a feature-analysis part and a synthetic | combination part. 斜線の細線構造についてのウェーブレット解析の2次解析結果を示す図である。It is a figure which shows the secondary analysis result of the wavelet analysis about an oblique thin line structure.

符号の説明Explanation of symbols

100 MFP
10 画像処理部
1 特徴解析部
2a 第1スクリーン処理部
2b 第2スクリーン処理部
3 合成部
4 後処理部
100 MFP
10 image processing unit 1 feature analysis unit 2a first screen processing unit 2b second screen processing unit 3 composition unit 4 post-processing unit

Claims (10)

画像に、異なる複数のスクリーンを用いてそれぞれスクリーン処理を行い、各スクリーンによる処理画像を生成するスクリーン処理部と、
前記画像の特徴解析を行う特徴解析部と、
前記特徴解析の結果に基づいて前記複数のスクリーンによる各処理画像の合成比率を決定し、当該合成比率によって各処理画像を合成した合成画像を出力する合成部と、
を備える画像処理装置。
A screen processing unit that performs screen processing on each image using a plurality of different screens, and generates a processed image by each screen;
A feature analysis unit for performing feature analysis of the image;
Determining a synthesis ratio of each processed image by the plurality of screens based on a result of the feature analysis, and a synthesis unit that outputs a synthesized image obtained by synthesizing each processed image according to the synthesis ratio;
An image processing apparatus comprising:
前記特徴解析は、ウェーブレット解析である請求項1に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the feature analysis is wavelet analysis. 前記スクリーン処理を行う領域単位と、前記ウェーブレット解析を行う領域単位とが整数倍の関係にある請求項2に記載の画像処理装置。   The image processing apparatus according to claim 2, wherein an area unit for performing the screen processing and an area unit for performing the wavelet analysis have an integer multiple relationship. 前記異なる複数のスクリーンは、各スクリーンのスクリーン線数が整数倍の関係にある請求項2又は3に記載の画像処理装置。   The image processing apparatus according to claim 2, wherein the plurality of different screens have an integer multiple of screen lines. 前記異なる複数のスクリーンは、スクリーン処理において各スクリーンにより形成されるドットの成長中心が周期的に重なる関係にある請求項2又は3に記載の画像処理装置。   4. The image processing apparatus according to claim 2, wherein the plurality of different screens have a relationship in which growth centers of dots formed by the respective screens periodically overlap in the screen processing. 前記特徴解析部は、ウェーブレット解析により、少なくとも細線構造、エッジ又は孤立点の何れかの特徴の有無を判定するとともに、ベタ画像又はグラデーションの特徴の有無を判定し、
前記合成部は、前記特徴解析部により細線構造、エッジ又は孤立点の特徴が有ると判定された場合、前記異なる複数のスクリーンの中でも高線数のスクリーンを用いた処理画像の合成比率を大きくし、前記特徴解析部によりベタ画像又はグラデーションの特徴が有ると判定された場合、前記異なる複数のスクリーンの中でも低線数のスクリーンを用いた処理画像の合成比率を大きくする請求項2〜5の何れか一項に記載の画像処理装置。
The feature analysis unit determines whether or not there is a feature of at least a thin line structure, an edge or an isolated point by wavelet analysis, and determines whether or not there is a feature of a solid image or a gradation,
When the characteristic analysis unit determines that the feature analysis unit has a fine line structure, an edge, or an isolated point, the synthesis unit increases a synthesis ratio of processed images using a screen with a high line number among the plurality of different screens. When the feature analysis unit determines that there is a solid image or gradation feature, the processing image synthesis ratio using a screen with a low number of lines among the plurality of different screens is increased. An image processing apparatus according to claim 1.
前記異なる複数のスクリーンには、中間調の濃度を持ち、画像の主走査方向又は副走査方向に延在する線画像用のスクリーンが含まれ、
前記特徴解析部は、ウェーブレット解析により、中間調の濃度を持ち、画像の主走査方向又は副走査方向に延在する線画像の特徴の有無を判定し、
前記合成部は、前記特徴解析部により前記中間調の濃度を持ち、画像の主走査方向又は副走査方向に延在する線画像の特徴を有すると判定された場合、当該線画像用のスクリーンを用いた処理画像の合成比率を100%に決定する請求項2〜6の何れか一項に記載の画像処理装置。
The different screens include screens for line images having a halftone density and extending in the main scanning direction or the sub-scanning direction of the image,
The feature analysis unit determines whether or not there is a feature of a line image having a halftone density and extending in the main scanning direction or the sub-scanning direction of the image by wavelet analysis,
When the characteristic analysis unit determines that the characteristic analysis unit has the density of the halftone and has the characteristics of the line image extending in the main scanning direction or the sub-scanning direction of the image, the combining unit displays the screen for the line image. The image processing apparatus according to claim 2, wherein a composite ratio of the used processed image is determined to be 100%.
前記中間調の濃度を持ち、画像の主走査方向又は副走査方向に延在する線画像用のスクリーンは、スクリーン角度45°のスクリーンである請求項7に記載の画像処理装置。   The image processing apparatus according to claim 7, wherein the screen for line images having the halftone density and extending in the main scanning direction or the sub-scanning direction of the image is a screen having a screen angle of 45 °. 前記合成画像に、誤差拡散処理又はノイズ付加処理を施す後処理部を備える請求項1〜8の何れか一項に記載の画像処理装置。   The image processing apparatus according to claim 1, further comprising a post-processing unit that performs error diffusion processing or noise addition processing on the composite image. 画像に、異なる複数のスクリーンを用いてそれぞれスクリーン処理を行い、各スクリーンによる処理画像を生成する工程と、
前記画像の特徴解析を行う工程と、
前記特徴解析の結果に基づいて前記複数のスクリーンによる各処理画像の合成比率を決定し、当該合成比率によって各処理画像を合成した合成画像を出力する工程と、
を含む画像処理方法。
The image is subjected to screen processing using a plurality of different screens, and a processed image is generated by each screen; and
Performing a feature analysis of the image;
Determining a composite ratio of each processed image based on the plurality of screens based on the result of the feature analysis, and outputting a composite image obtained by combining the processed images according to the composite ratio;
An image processing method including:
JP2008240962A 2008-09-19 2008-09-19 Image processor and method of processing image Pending JP2010074627A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008240962A JP2010074627A (en) 2008-09-19 2008-09-19 Image processor and method of processing image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008240962A JP2010074627A (en) 2008-09-19 2008-09-19 Image processor and method of processing image

Publications (1)

Publication Number Publication Date
JP2010074627A true JP2010074627A (en) 2010-04-02

Family

ID=42205976

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008240962A Pending JP2010074627A (en) 2008-09-19 2008-09-19 Image processor and method of processing image

Country Status (1)

Country Link
JP (1) JP2010074627A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2413585A2 (en) 2010-07-27 2012-02-01 Canon Kabushiki Kaisha Image processing apparatus, image processing method, and program
JP2013251740A (en) * 2012-05-31 2013-12-12 Canon Inc Image processor, program and computer readable storage medium
US9749496B2 (en) 2013-06-19 2017-08-29 Canon Kabushiki Kaisha Performing halftone processing using intra-cell sum value differences applied so as to correct boundary pixels

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2413585A2 (en) 2010-07-27 2012-02-01 Canon Kabushiki Kaisha Image processing apparatus, image processing method, and program
US8699066B2 (en) 2010-07-27 2014-04-15 Canon Kabushiki Kaisha Data processing apparatus, data processing method, and storage medium capable of suppressing an increase in processing load in determination of a color range
JP2013251740A (en) * 2012-05-31 2013-12-12 Canon Inc Image processor, program and computer readable storage medium
US9749496B2 (en) 2013-06-19 2017-08-29 Canon Kabushiki Kaisha Performing halftone processing using intra-cell sum value differences applied so as to correct boundary pixels

Similar Documents

Publication Publication Date Title
JP4912270B2 (en) Image processing apparatus and control method thereof
US20100265549A1 (en) Image processing apparatus and image processing method
KR101223865B1 (en) Image processing apparatus and control method of image processing apparatus
JP6403490B2 (en) Image processing apparatus, image forming apparatus, image processing method, and program.
US9967429B2 (en) Image processing apparatus, image processing method, and storage medium
JP5561249B2 (en) Threshold matrix creation device and threshold matrix creation method
JP2009239887A (en) Image processor, image processing method, image forming apparatus, program, and recording medium
JP7005314B2 (en) Image processing equipment, image processing methods, and programs
JP2013041104A (en) Image processor and method thereof
JP5499981B2 (en) Image processing device
JP2010113070A (en) Image forming apparatus and control method
US7542169B2 (en) Halftone image processing using a dither matrix with a consecutive order and shifted from an adjoining block in a main scan direction
JP2010074627A (en) Image processor and method of processing image
US8363263B2 (en) Image processing apparatus and image processing method
US8565548B2 (en) Image processing apparatus which performs anti-aliasing on input image data and image processing method thereof
US20110122216A1 (en) Image forming apparatus and image forming method
JP2010062610A (en) Image processor and image processing method
US9077914B2 (en) Image processing apparatus and control method thereof printing image data having M tones under infrared light
JP7077451B2 (en) Image forming apparatus and control method of image forming apparatus, and program
US10404892B2 (en) Image forming apparatus for outputting a halftone image and image forming method
US10542158B1 (en) Image forming apparatus and image forming method with gamma correction
JP2013074314A (en) Image processing method, image reader, and image processing program
JP2010273393A (en) Image processor, and method of controlling the same
JP4492090B2 (en) Image forming apparatus and image forming method
JP6688193B2 (en) Image processing apparatus, image forming apparatus, image processing method, and image processing program