JP2012165245A - Image processing apparatus, image forming apparatus and program - Google Patents
Image processing apparatus, image forming apparatus and program Download PDFInfo
- Publication number
- JP2012165245A JP2012165245A JP2011024967A JP2011024967A JP2012165245A JP 2012165245 A JP2012165245 A JP 2012165245A JP 2011024967 A JP2011024967 A JP 2011024967A JP 2011024967 A JP2011024967 A JP 2011024967A JP 2012165245 A JP2012165245 A JP 2012165245A
- Authority
- JP
- Japan
- Prior art keywords
- image
- pixel
- value
- pixels
- target 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.)
- Granted
Links
Images
Landscapes
- Color, Gradation (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
Abstract
Description
本発明は、画像処理装置、画像形成装置、及びプログラムに関する。 The present invention relates to an image processing apparatus, an image forming apparatus, and a program.
特許文献1には、黒色を含む複数の色で表現された画像データを入力する入力手段と、画像データにおける黒色領域を検出する黒色領域検出手段と、黒色領域における黒色の濃度に応じて、黒色領域に出力する黒色以外の色材の量を決定する色材量決定手段と、黒色領域のエッジ部を検出するエッジ部検出手段と、エッジ部の周辺における色に応じた量の黒色以外の色材を、エッジ部に追加して出力すると共に、エッジ部以外の黒色領域に対して、黒色領域における黒色の濃度に応じた量の黒色の色材を出力すると共に、黒色以外の色材を、画像データの内容に拘わらず色材量決定手段によって決定された量出力する出力手段と、を備えた画像処理装置が開示されている。 Japanese Patent Application Laid-Open No. 2004-133830 discloses an input unit that inputs image data expressed in a plurality of colors including black, a black region detection unit that detects a black region in the image data, and a black color according to the black density in the black region. Color material amount determining means for determining the amount of color material other than black to be output to the area, edge part detecting means for detecting the edge part of the black area, and color other than black in an amount corresponding to the color around the edge part In addition to outputting the material in addition to the edge portion, for the black region other than the edge portion, the black color material in an amount corresponding to the black density in the black region is output, and the color material other than black is output. An image processing apparatus is disclosed that includes output means for outputting the amount determined by the color material amount determination means regardless of the content of the image data.
特許文献2には、複数の基本色を用いてカラーの画像を形成する画像形成装置における画像処理方法であって、画像に含まれるオブジェクトの隣接領域の色データを取得する第1のステップと、オブジェクトの境界付近における不自然さを低減するためにオブジェクトに対して行う処理として、取得した色データに基づいてトラッピングまたはオーバープリントの何れかを選択する第2のステップと、第2のステップにおいて選択された処理を実行する第3のステップと、を有する画像処理方法が開示されている。 Patent Document 2 discloses an image processing method in an image forming apparatus that forms a color image using a plurality of basic colors, the first step of acquiring color data of an adjacent region of an object included in the image, A second step of selecting either trapping or overprinting based on the acquired color data as processing to be performed on the object in order to reduce unnaturalness in the vicinity of the object boundary, and selection in the second step A third step of executing the processed processing is disclosed.
本発明の課題は、本発明の変換手段及び置換手段を有しない場合に比べ、複数の原色が混在した画像に対してレジずれが原因で発生する白抜けを抑制するための加工を施すことによって生じる画質の低下を軽減する画像処理装置、画像形成装置、及びプログラムを提供することである。 An object of the present invention is to perform processing for suppressing white spots caused by misregistration on an image in which a plurality of primary colors are mixed as compared with the case where the conversion unit and the replacement unit of the present invention are not provided. An object is to provide an image processing apparatus, an image forming apparatus, and a program for reducing the deterioration in image quality that occurs.
上記目的を達成するために、請求項1に記載の画像処理装置を、複数の原色が混在した混色画像を2値で示した2値化画像において、特定の原色の多値化対象画素に対して予め定められた方向に該特定の原色の画素が連続している場合、該多値化対象画素の濃度が予め定められた閾値以上となるように該多値化対象画素を多値化し、該多値化対象画素に対して該方向に該特定の原色の画素が連続していない場合、該多値化対象画素の濃度が該閾値未満となるように該多値化対象画素を多値化することにより該2値化画像を多値化画像に変換する変換手段と、前記変換手段によって変換されて得られた多値化画像において、前記閾値以上の濃度を有する前記特定の原色の画素のうちの注目画素を含む予め定められた領域に該注目画素とは異なる原色の画素が含まれる場合、該注目画素を該領域に含まれる各画素の原色が混在した画素に置き換える置換手段と、を含めて構成した。
In order to achieve the above-described object, the image processing apparatus according to
請求項2に記載の画像処理装置を、請求項1に記載の発明において、前記置換手段によって前記注目画素が置き換えられて得られた前記多値化画像を2値化する2値化手段を更に含むものとしてもよい。
The image processing apparatus according to claim 2, further comprising: binarizing means for binarizing the multi-valued image obtained by replacing the target pixel by the replacing means in the invention according to
請求項3に記載の画像処理装置を、請求項1または請求項2に記載の発明において、前記変換手段が、前記多値化対象画素を始点として前記方向に連続する前記特定の原色の画素に対して互いに異なる重み値を付与する重み値付与手段を有し、該重み値付与手段によって付与された重み値を加算して得た総計値を前記多値化対象画素の濃度に相当する値として適用することにより前記2値化画像を前記多値化画像に変換するものとしてもよい。
The image processing apparatus according to claim 3, wherein, in the invention according to
請求項4に記載の画像処理装置を、請求項3に記載の発明において、前記重み値付与手段は、更に、前記多値化対象画素を始点として前記方向に対して交差する方向に連続する前記特定の原色の画素に対して互いに異なる重み値を付与し、前記変換手段が、前記重み値付与手段によって前記方向に連続する画素に対して付与された重み値を加算して得た総計値及び前記重み値付与手段によって前記交差する方向に連続する前記特定の原色の画素に対して付与された重み値を加算して得た総計値のうちの予め定められた条件を満足した方を前記多値化対象画素の濃度に相当する値として適用することにより前記2値化画像を前記多値化画像に変換するものとしてもよい。 The image processing apparatus according to claim 4, wherein the weight value assigning unit is further continued in a direction intersecting the direction starting from the multi-value quantization target pixel. A weight value different from each other is given to a pixel of a specific primary color, and the conversion means adds a weight value given to pixels continuous in the direction by the weight value giving means, and a total value obtained by adding The one that satisfies a predetermined condition among the total values obtained by adding the weight values assigned to the pixels of the specific primary color that are continuous in the intersecting direction by the weight value assigning means. The binarized image may be converted into the multi-valued image by applying as a value corresponding to the density of the pixel to be binarized.
請求項5に記載の画像処理装置を、請求項3に記載の発明において、前記重み値付与手段が、更に、前記多値化対象画素を始点として前記方向に対して交差する方向に連続する前記特定の原色の画素に対して互いに異なる重み値を付与し、前記重み値付与手段によって前記方向に連続する画素に対して付与された重み値を加算して得た総計値と前記重み値付与手段によって前記交差する方向に連続する前記特定の原色の画素に対して付与された重み値を加算して得た総計値との何れかを前記多値化対象画素の濃度に相当する値として指定する指定手段を更に含み、前記変換手段が、前記指定手段によって指定された総計値を前記多値化対象画素の濃度に相当する値として適用することにより前記2値化画像を前記多値化画像に変換するものとしてもよい。 The image processing apparatus according to claim 5, wherein the weight value assigning unit further continues in a direction intersecting the direction starting from the multi-value quantization target pixel. A total value obtained by adding different weight values to pixels of a specific primary color and adding the weight values given to the pixels continuous in the direction by the weight value giving means and the weight value giving means The total value obtained by adding the weight values given to the pixels of the specific primary color that are continuous in the intersecting direction is designated as a value corresponding to the density of the multilevel pixel. Further comprising a designation unit, wherein the conversion unit applies the total value designated by the designation unit as a value corresponding to the density of the multi-valued pixel, thereby converting the binarized image into the multi-valued image. What to convert It may be.
請求項6に記載の画像処理装置を、請求項3〜請求項5の何れか1項に記載の発明において、入力された指示に応じて前記閾値を変更する変更手段を更に含み、前記重み値付与手段が画素に対して付与する重み値を、前記変更手段によって変更された前記閾値に対して予め定められた重み値としたものとしてもよい。 The image processing apparatus according to claim 6, further comprising changing means for changing the threshold value according to an input instruction in the invention according to any one of claims 3 to 5, wherein the weight value The weight value given to the pixel by the assigning unit may be a weight value predetermined for the threshold value changed by the changing unit.
請求項7に記載の画像処理装置を、請求項1〜請求項6の何れか1項に記載の発明において、前記変換手段が、更に、前記混色画像を多値で示した画像を示す画像情報が入力された場合、該画像情報により示される画像を2値化し、2値化して得た画像を前記2値化画像としたものとしてもよい。 The image processing apparatus according to claim 7, wherein the conversion unit further includes image information indicating an image in which the mixed-color image is expressed in multiple values. Is input, the image indicated by the image information may be binarized, and an image obtained by binarization may be used as the binarized image.
請求項8に記載の画像処理装置を、請求項1〜請求項7の何れか1項に記載の発明において、前記特定の原色を黒色としたものとしてもよい。
The image processing apparatus according to claim 8 may be the one in which the specific primary color is black in the invention according to any one of
請求項9に記載の画像形成装置を、請求項1〜請求項8の何れか1項に記載の画像処理装置と、前記置換手段によって前記注目画素が置き換えられて得られた前記多値化画像が2値化されて得られた画像を記録媒体に形成する形成手段と、を含めて構成した。
The image forming apparatus according to claim 9, wherein the multi-valued image obtained by replacing the target pixel by the image processing apparatus according to any one of
請求項10に記載のプログラムを、コンピュータを、複数の原色が混在した混色画像を2値で示した2値化画像において、特定の原色の多値化対象画素に対して予め定められた方向に該特定の原色の画素が連続している場合、該多値化対象画素の濃度が予め定められた閾値以上となるように該濃度を多値化し、該多値化対象画素に対して該方向に該特定の原色の画素が連続していない場合、該多値化対象画素の濃度が該閾値未満となるように該多値化対象画素を多値化することにより該2値化画像を多値化画像に変換する変換手段、及び前記変換手段によって変換されて得られた多値化画像において、前記閾値以上の濃度を有する前記特定の原色の画素のうちの注目画素を含む予め定められた領域に該注目画素とは異なる原色の画素が含まれる場合、該注目画素を該領域に含まれる各画素の原色が混在した画素に置き換える置換手段として機能させるためのものとした。
The program according to
請求項1、請求項9及び請求項10に係る発明によれば、本発明の変換手段及び置換手段を有しない場合に比べ、複数の原色が混在した画像に対してレジずれが原因で発生する白抜けを抑制するための加工を施すことによって生じる画質の低下が軽減される、という効果が得られる。 According to the first, ninth, and tenth aspects of the present invention, it occurs due to a registration error in an image in which a plurality of primary colors are mixed, as compared with the case where the conversion unit and the replacement unit of the present invention are not provided. There is an effect that the deterioration of the image quality caused by the processing for suppressing the white spot is reduced.
請求項2に係る発明によれば、置換手段によって注目画素が置き換えられて得られた多値化画像を2値化しない場合に比べ、加工を施す過程で要する記憶容量が削減される、という効果が得られる。 According to the second aspect of the present invention, the storage capacity required in the process of processing is reduced compared to the case where the multi-valued image obtained by replacing the target pixel by the replacement unit is not binarized. Is obtained.
請求項3に係る発明によれば、本発明の重み値付与手段を有しない場合に比べ、2値化画像が容易に多値化される、という効果が得られる。 According to the third aspect of the present invention, an effect is obtained that the binarized image is easily multi-valued as compared with the case where the weight value assigning means of the present invention is not provided.
請求項4に係る発明によれば、本発明の変換手段を有しない場合に比べ、2値化画像が高精度に多値化される、という効果が得られる。 According to the fourth aspect of the present invention, compared to the case where the conversion means of the present invention is not provided, an effect that the binarized image is multi-valued with high accuracy can be obtained.
請求項5に係る発明によれば、2値化画像を多値化する上での利便性が向上する、という効果が得られる。 According to the fifth aspect of the present invention, there is an effect that convenience in multi-value binarization is improved.
請求項6に係る発明によれば、本発明の変更手段を有しない場合に比べ、白抜けを抑制するための加工の精度が容易に調整される、という効果が得られる。 According to the invention which concerns on Claim 6, compared with the case where it does not have the change means of this invention, the effect that the precision of the process for suppressing a white spot is adjusted easily is acquired.
請求項7に係る発明によれば、混色画像を多値で示した画像を示す画像情報が入力された場合、該画像情報により示される画像を2値化して得た画像を多値化しない場合に比べ、加工を施す過程で要する記憶容量が削減される、という効果が得られる。 According to the seventh aspect of the present invention, when image information indicating an image showing a multi-valued color image is input, the image obtained by binarizing the image indicated by the image information is not multi-valued As compared with the above, an effect that the storage capacity required in the process of processing is reduced can be obtained.
請求項8に係る発明によれば、特定の原色を黒色としない場合に比べ、画質の低下がより一層軽減される、という効果が得られる。 According to the eighth aspect of the invention, it is possible to obtain an effect that the deterioration of the image quality is further reduced as compared with the case where the specific primary color is not black.
以下、図面を参照して本発明を実施するための形態の一例について詳細に説明する。なお、以下では、3段階以上の離散値で画素値を表現した画素(画像若しくは画像領域)を“多値で示した画素(画像若しくは画像領域)”又は“多値で表現された画素(画像若しくは画像領域)”と称する。 Hereinafter, an example of an embodiment for carrying out the present invention will be described in detail with reference to the drawings. In the following, a pixel (image or image region) representing a pixel value with three or more levels of discrete values is referred to as a “multi-valued pixel (image or image region)” or “multi-valued pixel (image). Or image area) ”.
図1は、本実施形態に係る画像形成装置10の構成の一例を示すブロック図である。同図に示すように、画像形成装置10は、各種プログラムの処理を実行することにより画像形成装置10全体を制御するCPU(中央処理装置)12と、画像形成装置10全体の作動を制御する制御プログラムや後述するトラッピング処理プログラム、各種データ等が予め記憶された記憶媒体であるROM(Read Only Memory)14と、各種プログラムの実行時のワークエリア等として用いられる記憶媒体であるRAM(Random Access Memory)16と、画像形成装置10の電源スイッチ(図示省略)が切られても各種プログラムやパラメータ等の各種情報を記憶する不揮発性の記憶媒体である二次記憶部(例えばハードディスク)18と、ディスプレイ上に透過型のタッチパネルが重ねられたタッチパネルディスプレイ等から構成され、各種情報がディスプレイの表示面に表示されると共に、ユーザがタッチパネルに触れることにより各種情報や指示を受け付けるUIパネル20と、通信手段を介して端末装置22(例えば、パーソナル・コンピュータ)と各種情報の授受が行うためのインタフェース(I/F)24とを含んで構成されている。
FIG. 1 is a block diagram illustrating an example of a configuration of an
また、画像形成装置10は、外部から画像を示す画像情報が入力された場合、入力された画像情報により示される画像を記録用紙に形成する画像形成部26を備えている。なお、本実施形態では、画像形成部26としてゼログラフィ方式で記録用紙にトナーによる画像を形成するプリンタを適用しているが、これに限らず、サーマル方式のプリンタやインクジェット方式のプリンタを適用してもよい。
The
CPU12、ROM14、RAM16、二次記憶部18、UIパネル20、I/F24、及び画像形成部26は、バス28を介して相互に接続されている。従って、CPU12は、ROM14、RAM16、及び二次記憶部18に対するアクセスと、UIパネル20への各種情報の表示と、UIパネル20によって受け付けられた各種情報の把握と、I/F24を介した各種情報の送受信と、画像形成部26の作動の制御と、を各々行う。
The
次に、本実施形態に係る画像形成装置10の作用について説明する。
Next, the operation of the
画像形成装置10は、外部(例えば、端末装置22)から、黒(K)、イエロー(Y)、マゼンタ(M)、シアン(C)の各原色で表現された画像を示す画像情報が入力されると、各原色の画像情報に対応したトナー像を記録用紙に順次に形成し、形成したトナー像を加熱及び加圧することにより記録用紙に定着させ、トナー像が定着された記録用紙を外部に排出する。
The
ところで、画像形成装置10では、KYMCのトナーを記録用紙に付着させるプロセスは原色毎に独立して行われる。従って、機械的な位置精度や記録用紙の搬送速度のむら等が原因となって各原色の画像の相対的な位置関係が数画素分ずれる所謂“レジずれ”が発生する場合がある。これにより、複数の原色が混在した混色画像を記録用紙に形成する場合、例えば図2に示すように記録用紙に形成される黒色の文字「あ」というKの画像領域とK以外の原色で形成された周辺の画像領域(例えば、Mの画像領域)との境界(Kの画像領域の輪郭)において部分的に本来存在しない非画像形成領域(以下、「白抜け」と称する。)が発生する場合がある。なお、図2の例では、記録用紙が白色であるため、Kの画像領域の輪郭において部分的に白い輪郭が発生する。そのため、一般的には、画像の輪郭部分、すなわち異なる原色の画像領域の境界領域に対してトラッピングを行うことによりレジずれが原因で発生する白抜けを抑制している。
By the way, in the
なお、本実施形態において、「トラッピング」とは、複数の原色が混在した混色画像において一方の画像領域が他方の画像領域に対して予め定められた濃度差を有する異なる原色による2つの画像領域(例えば、Kの画像領域とMの画像領域)に挟まれた領域にその異なる原色を混在させる加工を施すことを意味する。また、以下では、錯綜を回避するために、上記の2つの画像領域に挟まれた領域をKの画像領域とし、この画像領域を構成しているKの単一画素が注目画素とされた場合に注目画素の画素値をKの画素の画素値とMの画素の画素値とを足し合わせる(Kの画素にMの画素の画素値を追加する)ことによりトラッピングを行う形態例を挙げて説明する。ここで、“足し合わせる”とは、数値(階調値)の加算ではなく、各色のレイヤの重ね合わせ(例えば、KのレイヤとMのレイヤとの重ね合わせ)によることを意味する。 In the present embodiment, “trapping” refers to two image regions of different primary colors in which one image region has a predetermined density difference with respect to the other image region in a mixed-color image in which a plurality of primary colors are mixed. For example, it means that the region between the K image region and the M image region) is processed so that the different primary colors are mixed. Also, in the following, in order to avoid complications, a region sandwiched between the two image regions is set as a K image region, and a single pixel of K constituting the image region is set as a target pixel. An example in which trapping is performed by adding the pixel value of the pixel of interest to the pixel value of the K pixel and the pixel value of the M pixel (adding the pixel value of the M pixel to the K pixel) will be described. To do. Here, “adding” means not the addition of numerical values (gradation values) but the superposition of the layers of each color (for example, the superposition of the K layer and the M layer).
ここで、図3を参照しながら従来のトラッピングの手法について説明する。なお、図3は、濃度が50%のKの画像領域と濃度が50%のMの画像領域とが隣接して構成され、かつ多値で表現された混色画像に対してトラッピングを行う過程の一例が示されている。同図(a)に示されるように、Kの画像領域とMの画像領域との境界領域は、縦横の各々に5個の画素が配置されるウィンドウを示す5×5のウィンドウを用いて判別される。つまり、5×5のウィンドウの中央に配置される画素を注目画素として、同図(a)の正面視左から右に(同図に示すX方向に)1画素単位で移動させると共に同図(a)の正面視上から下に(同図に示すY方向に)1ライン単位で移動させながら5×5のウィンドウに注目画素の画素値との画素値の差が予め定められた値以上の画素が含まれているか否かを判定することによってKの画像領域とMの画像領域との境界領域が判別される。なお、ここで言う画素値とは、各色を8ビットの階調値(例えばCMYKの階調値)で表現したものを示す。 Here, a conventional trapping method will be described with reference to FIG. FIG. 3 shows a process of trapping a mixed color image in which a K image area having a density of 50% and an M image area having a density of 50% are adjacent to each other and expressed in multiple values. An example is shown. As shown in FIG. 5A, the boundary area between the K image area and the M image area is determined using a 5 × 5 window indicating a window in which 5 pixels are arranged in each of the vertical and horizontal directions. Is done. That is, the pixel arranged in the center of the 5 × 5 window is set as a pixel of interest, and is moved in units of one pixel from left to right (in the X direction shown in the figure) in front view in FIG. The difference between the pixel value of the pixel of interest in the 5 × 5 window is greater than or equal to a predetermined value while moving in units of one line from the front view to the bottom (in the Y direction shown in FIG. 4A). By determining whether or not a pixel is included, a boundary region between the K image region and the M image region is determined. Note that the pixel value referred to here represents each color expressed by an 8-bit gradation value (for example, a CMYK gradation value).
5×5のウィンドウによってKの画像領域とMの画像領域との境界領域が判別されると、Kの画素が注目画素とされた場合、注目画素の現在の画素値を、5×5のウィンドウに含まれる全画素のうちの画素値が0の画素以外の画素の画素値を足し合わせた画素値に置き換える。同図(b)に示す例では、Kの画像領域においてMの画像領域との境界から2画素分の領域を構成している画素に対してトラッピングが行われている。この結果、Kの画像領域においてMの画像領域との境界から2画素分の領域がKとMとが混在した色で表される。このようにして多値で表現された混色画像に対してトラッピングが行われて得られたトラッピング済みの混色画像は2値化される。なお、同図(c)は、多値で示した混色画像を2値化せずにトラッピングを行ってから2値化した混色画像の一例を模式的に示している。 When the boundary area between the K image area and the M image area is determined by the 5 × 5 window, if the K pixel is the target pixel, the current pixel value of the target pixel is set to the 5 × 5 window. Is replaced with a pixel value obtained by adding the pixel values of pixels other than the pixel having a pixel value of 0. In the example shown in FIG. 5B, trapping is performed on pixels constituting an area of two pixels from the boundary with the M image area in the K image area. As a result, in the K image area, the area corresponding to two pixels from the boundary with the M image area is represented by a color in which K and M are mixed. The trapped mixed color image obtained by trapping the mixed color image expressed in multiple values in this way is binarized. FIG. 6C schematically shows an example of a mixed-color image obtained by binarizing a multi-valued mixed-color image after performing trapping without binarizing.
一方、多値で示した混色画像を2値化してからトラッピングを行う場合、一例として同図(a)に示す混色画像を同図(d)に示すように2値化してから、注目画素の現在の画素値を、5×5のウィンドウに含まれる全画素のうちの画素値が0の画素以外の画素の画素値を足し合わせた画素値に置き換える。なお、同図(e)は、多値で示した混色画像を2値化してからトラッピングを行った場合の混色画像の一例を模式的に示している。 On the other hand, when the trapping is performed after binarizing the multi-valued mixed color image, as an example, the mixed color image shown in FIG. 10A is binarized as shown in FIG. The current pixel value is replaced with a pixel value obtained by adding the pixel values of pixels other than the pixel having a pixel value of 0 among all the pixels included in the 5 × 5 window. FIG. 5E schematically shows an example of a mixed color image in the case where the multi-valued mixed color image is binarized and then trapped.
図4は、濃度が50%のKの画像領域と濃度が50%のMの画像領域とが重ねられて構成され、かつ多値で表現された混色画像を2値化する過程の一例が示されている。同図(a)に示すように多値で示したKの画像領域と多値で示したMの画像領域とが重ねられているため、トラッピングは行われずに2値化される。なお。同図(c)は、同図(a)に示す多値で表現された混色画像を2値化した混色画像の一例を模式的に示している。同図(a)〜(c)の例では、多値で示したKの画像領域の濃度50%に対して2値で示したKの画像領域でKが占める割合は50%となり、多値で示したMの画像領域の濃度50%に対して2値で示したMの画像領域でMが占める割合は50%となる。つまり、2値化の前後で混色画像の全体に対してKの占める割合及びMの占める割合に変化は生じない。 FIG. 4 shows an example of a process of binarizing a multi-valued mixed color image that is configured by superimposing a 50% density K image area and a 50% density M image area. Has been. As shown in FIG. 9A, since the multi-valued K image region and the multi-valued M image region are overlapped, they are binarized without being trapped. Note that. FIG. 7C schematically shows an example of a color mixture image obtained by binarizing the color mixture image expressed in multiple values shown in FIG. In the examples shown in FIGS. 5A to 5C, the ratio of K in the binary image area to 50% of the density of the multi-value K image area is 50%. The ratio of M in the M image area indicated by the binary value to 50% of the density of the M image area indicated by is 50%. That is, there is no change in the ratio of K and the ratio of M with respect to the entire mixed color image before and after binarization.
一方、同図(a)に示す多値で示した混色画像を2値化すると、混色画像は、一例として同図(d)に示すように、Kのみの画像領域、Mのみの画像領域、画素値が0の画素からなる領域、及びKの画素値とMの画素値とを足し合わせた画素値を有する画素からなる画像領域によって構成される。そして、同図(d)に示す2値で示した混色画像に対して従来の手法を用いてトラッピングを行うと、Kの画像領域にMの画像領域が重ねられて混色画像の全体に対してMの占める割合が75%になってしまう。そのため、一例として同図(e)に示すように、図4(c)に示す混色画像とは異なる混色画像が得られることになる。 On the other hand, when the multi-valued mixed-color image shown in FIG. 6A is binarized, the mixed-color image includes, as an example, as shown in FIG. It is composed of an area composed of pixels having a pixel value of 0 and an image area composed of pixels having pixel values obtained by adding the K pixel value and the M pixel value. Then, when the conventional method is used for trapping the binary color mixture image shown in FIG. 4D, the M image area is superimposed on the K image area, and the entire mixed color image is displayed. The proportion of M will be 75%. Therefore, as an example, a mixed color image different from the mixed color image shown in FIG. 4C is obtained as shown in FIG.
このように、従来のトラッピングの手法を用いると、トラッピングが行われるべきでない画素に対してトラッピングが行われてしまうことがあった。 As described above, when the conventional trapping technique is used, trapping may be performed on pixels that should not be trapped.
そこで、本実施形態に係る画像形成装置10では、トラッピングが行われるべきでない画素に対してトラッピングが行われることを回避する処理が実行される。
In view of this, in the
次に、図5を参照して、トラッピング処理を実行しているときの画像形成装置10の作用を説明する。なお、図5は、画像情報が入力された際にCPU12によって実行されるトラッピング処理プログラムの処理の流れを示すフローチャートであり、このトラッピング処理プログラムはROM14の予め定められた領域に予め記憶されている。また、ここでは、錯綜を回避するために、Kの画像領域を示すKレイヤ及びMの画像領域を示すMレイヤが重ね合わされて構成された混色画像であって、マトリクス状に配列された複数の画素によって構成された混色画像に対してトラッピングを行う場合について説明する。また、ここでは、錯綜を回避するために、混色画像におけるMの画像領域を構成しているMの画素を、白抜けを発生させる条件を満足した画素であることを前提にして説明する。また、ここでは、白抜けを発生させる条件として、白抜けが視認される濃度として予め定められた濃度に相当する画素値を有する、との条件を適用している。
Next, the operation of the
同図のステップ100では、入力された画像情報により示される画像が多値で示した多値化画像あるか否かを判定し、否定判定となった場合にはステップ104に移行する一方、肯定判定となった場合にはステップ102に移行し、多値化画像を2値で示した2値化画像に変換した後、ステップ104に移行する。ステップ104では、多値化処理ルーチン・プログラムを実行する。
In
ここで、図6を参照して、本実施形態に係る多値化処理ルーチン・プログラムについて説明する。なお、図6は、多値化処理ルーチン・プログラムの処理の流れを示すフローチャートであり、このプログラムもROM14の予め定められた領域に予め記憶されている。
Here, with reference to FIG. 6, the multi-value processing routine program according to the present embodiment will be described. FIG. 6 is a flowchart showing the flow of processing of the multi-value processing routine program. This program is also stored in advance in a predetermined area of the
同図のステップ200では、特定の原色(ここでは、K)以外の原色のレイヤ(ここでは、Mレイヤ)を単純多値化した後、ステップ204に移行し、Kレイヤに対して一例として図7に示す1次元フィルタαを重ね合わせることにより1次元フィルタαに含まれる画素を連続性の有無の判定対象画素として指定する。ここで、単純多値化とは、入力の2値データを入力が“0”のときは出力を“0”とし、入力が“1のときは出力を多値化の最大値とすることを意味し、8ビット多値化とは、0−>0,1−>255に変換することを意味する。本実施形態に係る1次元フィルタαは、一例として図7に示すように水平方向(X方向)に5画素分の重み値を有している。また、1次元フィルタαを構成している5画素分の重み値は中央の画素位置を中心にして水平方向に対称に配置されている。同図に示す例では、1次元フィルタαの中央の画素位置Aに重み値として“0.65”が付与されている。また、画素位置Aに隣接する各画素位置Bには重み値として“0.1”が付与されている。更に、画素位置Bの各々に隣接する画素位置Cには重み値として“0.05”が付与されている。なお、上記ステップ204の処理では、1次元フィルタαの画素位置Aに配置された画素が多値化対象画素として扱われ、Kレイヤを構成している各画素に1次元フィルタαの画素位置Aを配置した際に1次元フィルタαに含まれる画素を連続性の有無の判定対象画素として指定する。また、上記ステップ204の処理では、Kレイヤを構成している画素の何れも未だに多値化されていない場合、Kレイヤの左上隅の画素が注目画素として扱われるように1次元フィルタαを配置する。
In
次のステップ206では、1次元フィルタαの画素位置Aに配置された画素、すなわち多値化対象画素がKの画素であるか(画素値が0の画素でないか)否かを判定し、否定判定となった場合にはステップ216に移行する一方、肯定判定となった場合にはステップ208に移行し、1次元フィルタαにおいて画素位置Aに配置された多値化対象画素を始点としてKの画素が連続しているか(孤立していないか)否かを判定し、肯定判定となった場合にはステップ210に移行し、1次元フィルタαにおいて多値化対象画素を始点として連続している画素の各々に対して対応する重み値を付与した後、ステップ212に移行し、多値化対象画素の画素値を算出することにより多値化対象画素の多値化を行った後、ステップ216に移行する。
In the
上記ステップ212では、例えば、多値化対象画素を含めてKの画素が2画素連続していた場合には画素位置Aの重み値“0.65”に画素位置Bの重み値“0.1”を加算して得た“0.75”を多値化対象画素の濃度に相当する画素値(以下、「濃度相当値」と称する)として多値化対象画素の現在の画素値と置き換えることにより多値化対象画素を多値化している。また、多値化対象画素を含めてKの画素が3画素連続していた場合には画素位置Aの重み値“0.65”に画素位置Bの重み値“0.1”及び画素位置Cの重み値“0.05”を加算して得た“0.8”を濃度相当値として多値化対象画素の現在の画素値と置き換えることにより多値化対象画素を多値化している。
In the
一方、上記ステップ208において否定判定となった場合にはステップ214に移行し、多値化対象画素に対して画素位置Aの重み値“0.65”を付与することにより多値化対象画素の多値化を行った後、ステップ216に移行する。ここでは、上記ステップ214の処理の一例として、画素位置Aの重み値“0.65”を濃度相当値として多値化対象画素の現在の画素値と置き換えることにより多値化対象画素を多値化する処理を適用している。
なお、本多値化処理ルーチン・プログラムでは、説明の便宜上、上記ステップ208の処理によって上記ステップ210又は上記ステップ214に分岐させる形態例を挙げて説明したが、これはあくまでも一例であり、上記ステップ208、上記ステップ210及び上記ステップ214を必ずしも設ける必要はない。この場合、上記ステップ212の処理に代えて、状況に応じて(例えば多値化対象画素が孤立しているか否かに応じて)上述したステップ210,214の処理を使い分けて多値化対象画素の画素値を多値化する処理を適用すれば良い。
On the other hand, when a negative determination is made in
In the present multi-value process routine program, for convenience of explanation, an example in which the process of
ステップ216では、Kのレイヤを構成している全画素を多値化したか否かを判定し、否定判定となった場合にはステップ218に移行し、1次元フィルタαの画素位置Aに次に予定された画素が配置されるように1次元フィルタαを移動させた後、ステップ204に移行する。なお、本多値化処理ルーチン・プログラムでは、Kレイヤを構成している全画素の何れも未だに多値化されていない状態で上記ステップ204の処理が実行されると、Kレイヤの左上隅の画素が多値化対象画素として扱われるように1次元フィルタαが配置される。そして、上記ステップ218の処理によって、1次元フィルタαを、Kレイヤを構成している画素の各々が1回ずつ多値化対象画素として扱われるようにKレイヤの水平方向(左から右)に1画素単位で移動させると共にKレイヤの垂直方向(上から下)に1ライン単位で移動させる。
In
一方、上記ステップ216において肯定判定となった場合には本多値化処理ルーチン・プログラムを終了し、トラッピング処理プログラムのステップ106に移行する。
On the other hand, if the determination in
ステップ106では、特定の原色のレイヤ(ここでは、Kレイヤ)に対して上述した5×5のウィンドウを重ねることによって注目画素を指定する。すなわち、5×5のウィンドウの中央の画素位置に配置される画素を注目画素として指定した後、ステップ108に移行する。
In
ステップ108では、5×5のウィンドウの中央の画素位置に配置された画素、すなわち注目画素がKの画素であるか(画素値が0の画素でないか)否かを判定し、否定判定となった場合にはステップ116に移行する一方、肯定判定となった場合にステップ110に移行する。
In
ステップ110では、注目画素の濃度相当値が予め定められた閾値以上であるか否かを判定し、否定判定となった場合にはステップ116に移行する一方、肯定判定となった場合にはステップ112に移行する。なお、上記予め定められた閾値は、連続画素数に対応する値を意味しており、閾値が大きいということは、画素数の連続性が高いことを意味する。例えば、本実施形態では、一例として、2画素連続しているか否かを判断するために用いられる閾値が“0.75”とされ、3画素連続しているか否かを判断するために用いられる閾値が“0.8”とされ、4画素連続しているか否かを判断するために用いられる閾値を“0.9”とされている。これらの閾値の組み合わせはあくまでも一例である。これに限らず、例えば、2画素連続しているか否かを判断するために用いられる閾値を“0.71”とし、3画素連続しているか否かを判断するために用いられる閾値を“0.8”とし、4画素連続しているか否かを判断するために用いられる閾値を0.99としても良い。この場合、例えば1次元フィルタαの画素位置Aの重み値を“0.6”、画素位置Bの重み値を“0.11”、画素位置Cの重み値を“0.09”とすれば良い。
また、閾値の組み合わせは上記のように一通りに限定される必要はなく、複数通り予め用意されていても良い。この場合、例えば上記ステップ110で用いられ得る閾値の組み合わせがROM14に予め複数記憶されており、この組み合わせがユーザの指示によって予め指定されるものとしてもよい。また、この組み合わせに対しては1次元フィルタαで用いられる重み値として一意に定められた重み値が対応付けられており、ROM14に閾値の組み合わせに対応付けられた状態で予め記憶されている。よって、ユーザがUIパネル20を介して閾値の組み合わせを指定することにより指定した閾値の組み合わせと共にこれに対応する重み値もCPU12によってROM14から読み出され、読み出された閾値は上記ステップ110の処理で用いられ、読み出された重み値は1次元フィルタαの重み値として適用される。
In
Further, the threshold combinations need not be limited to one as described above, and a plurality of combinations may be prepared in advance. In this case, for example, a plurality of threshold combinations that can be used in
ステップ112では、5×5のウィンドウにKの画素とMの画素との境界が存在するか否かを判定し、否定判定となった場合にはステップ116に移行する一方、肯定判定となった場合にはステップ114に移行し、トラッピングを行う。ここでのトラッピングとは、注目画素の現在の画素値を、5×5のウィンドウに含まれる全画素のうちの画素値が0の画素以外の画素(単純多値化なので“0”以外は“255”のみしかない)があれば置き換えることを意味する。
In
ステップ116では、Kレイヤを構成している全画素に対して上記ステップ108の処理を実行したか否かを判定し、否定判定となった場合にはステップ118に移行し、5×5のウィンドウの中央の画素位置に次に予定された画素が配置されるように5×5のウィンドウを移動させた後、ステップ106に移行する。なお、本トラッピング処理プログラムでは、Kレイヤを構成している画素の何れに対しても上記ステップ108の処理が実行されていない状態で上記ステップ106の処理が実行されると、Kレイヤの左上隅の画素が注目画素として扱われるように5×5のウィンドウが配置される。そして、上記ステップ118の処理によって、5×5のウィンドウを、Kレイヤを構成している画素の各々が1回ずつ注目画素として扱われるように水平方向(左から右)に1画素単位で移動させると共に垂直方向(上から下)に1ライン単位で移動させる。
In
一方、ステップ116において肯定判定となった場合には本トラッピング処理プログラムを終了する。なお、このようにトラッピング処理によってトラッピングが行われて得られた混色画像はCPU12によって2値化されてRAM16における予め定められた記憶領域に記憶される。
On the other hand, if the determination in
次に、図8及び図9を参照しながら本実施形態に係るトラッピング処理の具体例を説明する。なお、ここでは、錯綜を回避するために、上記ステップ110の処理で用いる閾値として、2画素連続しているか否かを判断するために用いられる閾値を“0.71”とし、3画素連続しているか否かを判断するために用いられる閾値を“0.8”とし、4画素連続しているか否かを判断するために用いられる閾値を0.99とし、1次元フィルタαの画素位置Aの重み値を“0.6”、画素位置Bの重み値を“0.11”、画素位置Cの重み値を“0.09”とした場合について説明する。また、ここでは、錯綜を回避するために、トラッピング後の2値化(単純2値化)で用いられる閾値として“0.6”以下の値を用いた場合について説明する。
Next, a specific example of the trapping process according to the present embodiment will be described with reference to FIGS. Here, in order to avoid complications, the threshold used for determining whether or not two pixels are continuous is set to “0.71” as the threshold used in the processing of
先ず、図8に示す具体例について説明する。図8は、本実施形態に係る画像形成装置10によって、Kの画像領域とMの画像領域とが隣接している多値で示した混色画像30Aを、トラッピングを行ってから2値化する過程の一例を示す模式図である。同図(a)に示すように、混色画像30Aは、濃度が80%のKの画像領域32A及び濃度が80%のMの画像領域34Aが隣接して構成された多値化画像である。ここで、従来のトラッピングの手法を用いて同図(a)に示す混色画像30Aに対して2値化せずにトラッピングを行うと、一例として同図(b)に示すようにKの画像領域32AにおいてMの画像領域34Aとの境界から2画素分の領域を構成している画素に対してトラッピングが行われる。この結果、混色画像30Aは、Kの画像領域32AにおいてMの画像領域34Aとの境界から2画素分の領域がKとMとが混在した色で表される。このようにして得られたトラッピング済みの混色画像30Aは、2値化されると、一例として同図(c)に示すように、混色画像30Aにおいてトラッピングが行われた領域(Kの画像領域30AとMの画像領域30Bとの境界領域)に対応する領域に対してトラッピングが行われた2値で示した混色画像30Bが得られる。
First, a specific example shown in FIG. 8 will be described. FIG. 8 shows a process in which the
一方、混色画像30Aを2値化してからトラッピングを行う場合、先ず、一例として同図(a)及び(d)に示すように混色画像30Aを2値化して混色画像30Cに変換する。同図(d)の例では、同図(a)に示すKの画像領域32AがKの画像領域32Bに、同図(a)に示すMの画像領域34AがMの画像領域34Bに各々変換されている。Kの画像領域32Bは、Kの画像領域32Aに対応する領域を構成している複数の画素の80%の画素を予め定められたスクリーンパターンを用いてKの画素に変換することによって構成されている。また、Mの画像領域34Bは、Mの画像領域34Aに対応する領域を構成している複数の画素の80%の画素を予め定められたスクリーンパターンを用いてMの画素に変換することによって構成されている。なお、ここでは、Kの画像領域32Bを構成する際に用いられるスクリーンパターンのスクリーン角度として63度を、Mの画像領域34Bを構成する際に用いられるスクリーンパターンのスクリーン角度として117度を各々適用している。
On the other hand, when trapping is performed after binarizing the mixed-
次に、同図(e)に示すように混色画像30CのKの画素に着目し、1次元フィルタαを用いてKの画像領域32Bを構成しているKの各画素を多値化する。また、Kの画素とは別にMの画像領域34Bを構成しているMの各画素は単純多値化で多値化する。この結果、同図(d)に示す混色画像30Cは同図(f)に示すように多値で示した混色画像30Dに変換される。同図(f)に示す例では、水平方向にかけてKの画素が3連続している各画素には“0.8”の濃度相当値(濃度=80%)が付与され、水平方向にかけてKの画素が2連続している各画素には“0.71”の濃度相当値(濃度=71%)が付与され、水平方向に連続していない単一のKの画素には“0.6”の濃度相当値(濃度=60%)が付与される。そして、“0.71”の濃度相当値が付与された画素及び“0.6”の濃度相当値が付与された画素を孤立画素とし、“0.8”の濃度相当値が付与された画素を非孤立画素とした上で、5×5のウィンドウを用いて、注目画素に孤立画素が配置された場合は5×5のウィンドウ内のMの画素の存在の有無に拘わらず注目画素に対してトラッピングを行わず、注目画素に非孤立画素が配置され、かつ5×5のウィンドウにMの画素が存在する場合は注目画素に対してトラッピングを行う。この結果、混色画像30Dは、同図(g)に示すようにKの画像領域32BにおいてMの画像領域34Bとの境界から2画素分の領域の非孤立画素のみにトラッピングが行われ、この非孤立画素は、KとMとが混在した色(Kの画素の画素値とMの画素の画素値とが足し合わされて表現された色)で表される。
Next, paying attention to the K pixel of the
このようにして得られたトラッピング済みの混色画像30Dは、2値化されると、一例として同図(h)に示すように、混色画像30Dにおいてトラッピングが行われた画素(非孤立画素)に対応する画素に対してトラッピングが行われた2値で示した混色画像30Eが得られる。ここでの2値化は単純2値化を行う。単純2値化とは、ある閾値に対してそれより小さい値は“0”とし、大きい値は“1”とする2値化のことである。この閾値には1次元フィルタαの画素位置Aの重み値以下の値を使用することで孤立ドットも欠落することなく表現される。
When the trapped
なお、上記ステップ110の処理で用いる閾値として“0.7”を適用した場合、同図(f)に示す混色画像30DのKの画像領域32Bにおいて“0.6”の濃度相当値が付与された画素を孤立画素とし、“0.7”の濃度相当値が付与された画素及び“0.8”の濃度相当値が付与された画素を非孤立画素とした上で、5×5のウィンドウを用いて、注目画素に孤立画素が配置された場合は5×5のウィンドウ内のMの画素の存在の有無に拘わらず注目画素に対してトラッピングを行わず、注目画素に非孤立画素が配置され、かつ5×5のウィンドウにMの画素が存在する場合は注目画素に対してトラッピングを行う。この結果、混色画像30Dは、Kの画像領域32BにおいてMの画像領域34Bとの境界から2画素分の領域の非孤立画素のみにトラッピングが行われ、この非孤立画素は、KとMとが混在した色で表される。このようにして得られたトラッピング済みの混色画像30Dは、単純2値化されると、一例として同図(i)に示すように、混色画像30Dにおいてトラッピングが行われた画素(非孤立画素)に対応する画素に対してトラッピングが行われた2値で示した混色画像30Fが得られる。
以上のように、同図(a)に示す混色画像30Aから同図(d)に示す混色画像30Cへの変換は、通常の2値化(一般的なスクリーン処理)によって実現されるのに対し、同図(f)に示す混色画像30Dから同図(i)に示す混色画像30Fへの変換及び同図(g)に示す混色画像30Dから同図(h)に示す混色画像30Eへの変換は、単純2値化(1×1単位で予め定められた閾値を超えているか否かで判断される2値化)によって実現される。
When “0.7” is applied as the threshold value used in the processing of
As described above, the conversion from the
次に、図9に示す具体例について説明する。図9は、本実施形態に係る画像形成装置10によって、濃度が50%のKの画像領域と濃度が50%のMの画像領域とが重ねられて構成され、かつ多値で表現された混色画像40Aを2値化する過程の一例が示されている。同図(a)に示すように混色画像40Aは、多値で示したKの画像領域と多値で示したMの画像領域とが重ねられているため、トラッピングは行われずに2値化される。なお。同図(c)には、同図(a)に示す多値で表現された混色画像を2値化した混色画像の一例が示されている。同図(a)〜(c)の例では、多値で示したKの画像領域の濃度50%に対して2値で示したKの画像領域でKが占める割合は50%となり、多値で示したMの画像領域の濃度50%に対して2値で示したMの画像領域でMが占める割合は50%となる。つまり、2値化の前後で混色画像の全体に対してKの占める割合及びMの占める割合に変化は生じない。
Next, a specific example shown in FIG. 9 will be described. FIG. 9 shows a mixed color in which the
一方、同図(a)に示す混色画像40Aを2値化してからトラッピングを行う場合、先ず、同図(a)に示す混色画像40Aを2値化することにより混色画像40Aを混色画像40Cに変換する。混色画像40Cは、一例として同図(d)に示すように、Kのみの画像領域、Mのみの画像領域、画素値が0の画素からなる領域及びKの画素値とMの画素値とを足し合わせた画素値を有する画素(Kのレイヤの画素とMのレイヤの画素とを重ね合わせた画素)からなる画像領域で構成される。
On the other hand, in the case of performing trapping after binarizing the
次に、同図(e)に示すようにKのみの画素に着目し、1次元フィルタαを用いてKの各画素を多値化する。また、Kの画素とは別にMの画像領域を構成しているMの各画素は単純多値化する。この結果、同図(e)に示すKのみの画素は同図(f)に示すように多値で示したKのみの画素に変換される。同図(f)に示す例では、水平方向にかけてKの画素が2連続している各画素には“0.71”の濃度相当値(濃度=71%)が付与され、水平方向に連続していない単一のKの画素には“0.6”の濃度相当値(濃度=60%)が付与される。なお、水平方向にKの画素が3連続している各画素には“0.8”の濃度相当値が付与されるが、同図(f)に示す例では水平方向にKの画素が3連続している画素は存在しないため、同図(f)に示すKの画素の何れにも“0.8”の濃度相当値が付与されない。 Next, as shown in FIG. 5E, paying attention to only the pixel of K, each pixel of K is multi-valued using a one-dimensional filter α. In addition to the K pixel, each M pixel constituting the M image area is simply multi-valued. As a result, the K-only pixel shown in FIG. 5E is converted into a multi-valued K-only pixel as shown in FIG. In the example shown in FIG. 5F, a density equivalent value of “0.71” (density = 71%) is assigned to each pixel in which two K pixels continue in the horizontal direction, and the pixels are continuously in the horizontal direction. A single equivalent K pixel is assigned a density equivalent value of “0.6” (density = 60%). Note that a density equivalent value of “0.8” is assigned to each pixel in which three K pixels are arranged in the horizontal direction, but in the example shown in FIG. Since there is no continuous pixel, a density equivalent value of “0.8” is not given to any of the K pixels shown in FIG.
そして、同図(f)に示すKの画像領域に多値化されたMの画像領域を重ね合わせてから、“0.71”の濃度相当値が付与された画素及び“0.6”の濃度相当値が付与された画素を孤立画素とし、“0.8”の濃度相当値が付与された画素を非孤立画素とした上で、5×5のウィンドウを用いて、注目画素に孤立画素が配置された場合は5×5のウィンドウ内のMの画素の存在の有無に拘わらず注目画素に対してトラッピングを行わず、注目画素に非孤立画素が配置され、かつ5×5のウィンドウにMの画素が存在する場合は注目画素に対してトラッピングを行う。この結果、同図(h)に示すように、同図(c)に示す混色画像40Bが得られる。つまり、同図(f)に示すKの画像領域を構成している画素には非孤立画素が存在しないため、トラッピングが実施されない。
Then, after superimposing the multi-valued M image area on the K image area shown in FIG. 5F, the pixel to which the density equivalent value of “0.71” is assigned and “0.6”. A pixel to which a density equivalent value is assigned is an isolated pixel, a pixel to which a density equivalent value of “0.8” is assigned is a non-isolated pixel, and an isolated pixel is used as a target pixel using a 5 × 5 window. Is not trapped with respect to the target pixel regardless of the presence or absence of M pixels in the 5 × 5 window, a non-isolated pixel is disposed at the target pixel, and the 5 × 5 window When there are M pixels, trapping is performed on the target pixel. As a result, a
以上詳細に説明したように、本実施形態に係る画像形成装置10によれば、トラッピングを行うべき画素に対してはトラッピングが行われ、トラッピングを行うべきでない画素に対してはトラッピングが行われないので、記録用紙に形成される画像の画質の低下が軽減される。
As described above in detail, according to the
なお、上記実施形態では、1次元フィルタαを用いて多値化を行う場合の形態例を挙げて説明したが、これに限らず、例えば図10に示すように1次元フィルタαを90度回転させた1次元フィルタβを用いて多値化を行ってもよい。1次元フィルタα及びβの何れを用いるかは、入力2値化データのスクリーンパターンのスクリーン角度に応じて決定すればよい。例えば、スクリーン角度θが0度以上45度以下の場合及び135度以上180度未満の場合に1次元フィルタβを用いることが好ましい。この場合、1次元フィルタαによって多値化対象画素に付与された濃度相当値及び1次元フィルタβによって多値化対象画素に付与された濃度相当値の予め定められた条件を満足した方を適用することにより多値化を行う形態例が挙げられる。予め定められた条件としては、例えば、他方よりも大きな濃度相当値を有する、との条件や、他方よりも小さな濃度相当値を有する、との条件が挙げられる。 In the above-described embodiment, an example of a case where multi-value conversion is performed using the one-dimensional filter α has been described. However, the present invention is not limited to this, and for example, the one-dimensional filter α is rotated by 90 degrees as illustrated in FIG. Multi-value conversion may be performed using the one-dimensional filter β. Which of the one-dimensional filters α and β is used may be determined according to the screen angle of the screen pattern of the input binarized data. For example, it is preferable to use the one-dimensional filter β when the screen angle θ is 0 degree or more and 45 degrees or less and when the screen angle θ is 135 degrees or more and less than 180 degrees. In this case, the one that satisfies the predetermined conditions of the density equivalent value given to the multilevel pixel by the one-dimensional filter α and the density equivalent value given to the multilevel pixel by the one-dimensional filter β is applied. By doing so, an example of performing multi-value conversion is given. Examples of the predetermined condition include a condition that a value corresponding to the density is larger than the other, and a condition that the value is equivalent to a density that is smaller than the other.
また、ユーザがUIパネル20を介して1次元フィルタα及びβの何れを用いるかを予め指定し、指定した1次元フィルタによって多値化対象画素に付与された濃度相当値を適用することにより多値化を行ってもよい。1次元フィルタα及びβの何れを用いるかは、多値で示した画像を2値化する際に用いるスクリーンパターンのスクリーン角度に応じて決定すればよい。例えば、スクリーン角度θが45度よりも大きく135度よりも小さい場合には1次元フィルタαを用い、スクリーン角度θが0度以上45度以下の場合及び135度以上180度未満の場合に1次元フィルタβを用いることが好ましい。
In addition, the user designates in advance which one of the one-dimensional filters α and β is to be used via the
また、多値化を行うために用いるフィルタは1次元フィルタに限らず、2次元フィルタを用いてもよい。この場合、例えば、重み値がマトリクス状に配列されたN×M(N及びM;2以上の自然数)の2次元フィルタを用いる形態例や、1次元フィルタα及びβを併用する形態例が挙げられる。 Moreover, the filter used for multi-value conversion is not limited to a one-dimensional filter, and a two-dimensional filter may be used. In this case, for example, a form example using an N × M (N and M; natural numbers of 2 or more) in which weight values are arranged in a matrix, or a form example using a combination of the one-dimensional filters α and β. It is done.
また、上記実施形態では、CPU12によってトラッピング処理プログラムが実行されることによりトラッピング処理プログラムの各ステップを実現するソフトウェア的な形態を例示したが、これに限らず、各種回路(一例として、ASIC(Application Specific Integrated Circuit))を接続して構成されるハードウェア的な形態や、ソフトウェア的な形態とハードウェア的な形態とを組み合わせた形態が挙げられる。
In the above-described embodiment, the software form for realizing each step of the trapping process program by executing the trapping process program by the
また、上記実施形態では、トラッピング処理プログラムがROM14に予め記憶されている場合の形態例を挙げて説明したが、本発明はこれに限定されるものではなく、これらのプログラムをCD−ROMやDVD−ROM、USBメモリなどのコンピュータによって読み取られる記録媒体に格納した状態で提供する形態を適用してもよいし、有線又は無線による通信手段を介して配信する形態を適用しても良い。
In the above embodiment, the trapping processing program has been described as an example in the case where the
10 画像形成装置
12 CPU
20 UIパネル
26 画像形成部
10
20
Claims (10)
前記変換手段によって変換されて得られた多値化画像において、前記閾値以上の濃度を有する前記特定の原色の画素のうちの注目画素を含む予め定められた領域に該注目画素とは異なる原色の画素が含まれる場合、該注目画素を該領域に含まれる各画素の原色が混在した画素に置き換える置換手段と、
を含む画像処理装置。 In a binarized image in which a mixed color image in which a plurality of primary colors are mixed is represented by binary values, pixels of the specific primary color are continuous in a predetermined direction with respect to the multi-value quantization target pixel of the specific primary color The multi-value quantization target pixel is multi-valued so that the density of the multi-value quantization target pixel is equal to or higher than a predetermined threshold, and the pixel of the specific primary color is in the direction with respect to the multi-value quantization target pixel. Conversion means for converting the binarized image into a multilevel image by multileveling the multilevel pixel so that the density of the multilevel pixel is less than the threshold when not continuous When,
In the multi-valued image obtained by conversion by the conversion means, a primary color different from the target pixel in a predetermined region including the target pixel among the pixels of the specific primary color having a density equal to or higher than the threshold value. When a pixel is included, replacement means for replacing the target pixel with a pixel in which the primary colors of the pixels included in the region are mixed;
An image processing apparatus.
前記変換手段は、前記重み値付与手段によって前記方向に連続する画素に対して付与された重み値を加算して得た総計値及び前記重み値付与手段によって前記交差する方向に連続する前記特定の原色の画素に対して付与された重み値を加算して得た総計値のうちの予め定められた条件を満足した方を前記多値化対象画素の濃度に相当する値として適用することにより前記2値化画像を前記多値化画像に変換する請求項3に記載の画像処理装置。 The weight value assigning unit further assigns different weight values to the pixels of the specific primary color that are continuous in the direction intersecting the direction starting from the multi-value pixel.
The converting means includes a total value obtained by adding the weight values given to the pixels that are continuous in the direction by the weight value giving means and the specific value that is continuous in the intersecting direction by the weight value giving means. By applying the one that satisfies a predetermined condition among the total values obtained by adding the weight values assigned to the primary color pixels as a value corresponding to the density of the multilevel pixel The image processing apparatus according to claim 3, wherein a binarized image is converted into the multilevel image.
前記重み値付与手段によって前記方向に連続する画素に対して付与された重み値を加算して得た総計値と前記重み値付与手段によって前記交差する方向に連続する前記特定の原色の画素に対して付与された重み値を加算して得た総計値との何れかを前記多値化対象画素の濃度に相当する値として指定する指定手段を更に含み、
前記変換手段は、前記指定手段によって指定された総計値を前記多値化対象画素の濃度に相当する値として適用することにより前記2値化画像を前記多値化画像に変換する請求項3に記載の画像処理装置。 The weight value assigning unit further assigns different weight values to the pixels of the specific primary color that are continuous in the direction intersecting the direction starting from the multi-value pixel.
The total value obtained by adding the weight values given to the pixels continuous in the direction by the weight value giving means and the pixels of the specific primary color that are continuous in the intersecting direction by the weight value giving means And a specifying means for specifying any one of the total values obtained by adding the weight values given in the above as a value corresponding to the density of the multi-valued pixel,
The conversion unit converts the binarized image into the multilevel image by applying the total value specified by the specifying unit as a value corresponding to the density of the multilevel pixel. The image processing apparatus described.
前記重み値付与手段が画素に対して付与する重み値を、前記変更手段によって変更された前記閾値に対して予め定められた重み値とした請求項3〜請求項5の何れか1項に記載の画像処理装置。 A change unit for changing the threshold value according to the input instruction;
The weight value given to the pixel by the weight value assigning unit is a weight value set in advance for the threshold value changed by the changing unit. Image processing apparatus.
前記置換手段によって前記注目画素が置き換えられて得られた前記多値化画像が2値化されて得られた画像を記録媒体に形成する形成手段と、
を含む画像形成装置。 The image processing apparatus according to any one of claims 1 to 8,
Forming means for forming, on a recording medium, an image obtained by binarizing the multi-valued image obtained by replacing the target pixel by the replacing means;
An image forming apparatus including:
複数の原色が混在した混色画像を2値で示した2値化画像において、特定の原色の多値化対象画素に対して予め定められた方向に該特定の原色の画素が連続している場合、該多値化対象画素の濃度が予め定められた閾値以上となるように該濃度を多値化し、該多値化対象画素に対して該方向に該特定の原色の画素が連続していない場合、該多値化対象画素の濃度が該閾値未満となるように該多値化対象画素を多値化することにより該2値化画像を多値化画像に変換する変換手段、及び
前記変換手段によって変換されて得られた多値化画像において、前記閾値以上の濃度を有する前記特定の原色の画素のうちの注目画素を含む予め定められた領域に該注目画素とは異なる原色の画素が含まれる場合、該注目画素を該領域に含まれる各画素の原色が混在した画素に置き換える置換手段として機能させるためのプログラム。 Computer
In a binarized image in which a mixed color image in which a plurality of primary colors are mixed is represented by binary values, pixels of the specific primary color are continuous in a predetermined direction with respect to the multi-value quantization target pixel of the specific primary color The multi-value quantization target pixel is multi-valued so that the density of the multi-value quantization target pixel is equal to or higher than a predetermined threshold, and the pixels of the specific primary color are not continuous in the direction with respect to the multi-value quantization target pixel. A conversion unit that converts the binarized image into a multilevel image by multileveling the multilevel binarization pixel so that the density of the multilevel binarization pixel is less than the threshold; and the conversion In the multi-valued image obtained by conversion by the means, a primary color pixel different from the target pixel is present in a predetermined region including the target pixel among the specific primary color pixels having a density equal to or higher than the threshold value. If included, the pixel of interest is the primary color of each pixel included in the region A program for functioning as a replacement means for replacing with a mixed pixel.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011024967A JP5699655B2 (en) | 2011-02-08 | 2011-02-08 | Image processing apparatus, image forming apparatus, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011024967A JP5699655B2 (en) | 2011-02-08 | 2011-02-08 | Image processing apparatus, image forming apparatus, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012165245A true JP2012165245A (en) | 2012-08-30 |
JP5699655B2 JP5699655B2 (en) | 2015-04-15 |
Family
ID=46844197
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011024967A Expired - Fee Related JP5699655B2 (en) | 2011-02-08 | 2011-02-08 | Image processing apparatus, image forming apparatus, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5699655B2 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016048874A (en) * | 2014-08-28 | 2016-04-07 | 株式会社東芝 | Image forming apparatus |
US10457068B2 (en) | 2017-08-30 | 2019-10-29 | Brother Kogyo Kabushiki Kaisha | Image processing apparatus configured to trapping process and non-transitory computer-readable recording medium storing instructions for image processing including trapping process |
JP7487525B2 (en) | 2020-03-31 | 2024-05-21 | セイコーエプソン株式会社 | Recording device and recording method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006135568A (en) * | 2004-11-05 | 2006-05-25 | Konica Minolta Medical & Graphic Inc | Image output system, controller, image output method, program and storage medium storing that program |
JP2010245965A (en) * | 2009-04-08 | 2010-10-28 | Sharp Corp | Image processor, image forming apparatus, image processing method, computer program, and recording medium |
-
2011
- 2011-02-08 JP JP2011024967A patent/JP5699655B2/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006135568A (en) * | 2004-11-05 | 2006-05-25 | Konica Minolta Medical & Graphic Inc | Image output system, controller, image output method, program and storage medium storing that program |
JP2010245965A (en) * | 2009-04-08 | 2010-10-28 | Sharp Corp | Image processor, image forming apparatus, image processing method, computer program, and recording medium |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016048874A (en) * | 2014-08-28 | 2016-04-07 | 株式会社東芝 | Image forming apparatus |
US10457068B2 (en) | 2017-08-30 | 2019-10-29 | Brother Kogyo Kabushiki Kaisha | Image processing apparatus configured to trapping process and non-transitory computer-readable recording medium storing instructions for image processing including trapping process |
JP7487525B2 (en) | 2020-03-31 | 2024-05-21 | セイコーエプソン株式会社 | Recording device and recording method |
Also Published As
Publication number | Publication date |
---|---|
JP5699655B2 (en) | 2015-04-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101223865B1 (en) | Image processing apparatus and control method of image processing apparatus | |
US6943809B2 (en) | Tiled vector flattened output | |
JP5699655B2 (en) | Image processing apparatus, image forming apparatus, and program | |
JP2006352633A (en) | Image processing method and its program | |
JP2008067044A (en) | Image processor, image reader, image processing method, and image processing program | |
JP5282800B2 (en) | Image processing apparatus and program | |
US10071564B2 (en) | Control apparatus, image processing method and non-transitory recording medium storing image processing program | |
CN102461149A (en) | Image forming apparatus and image processing method | |
JP2015126277A (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 | |
JP4453979B2 (en) | Image reproducing apparatus, image reproducing method, program, and recording medium | |
JP2004135317A (en) | Color image processing apparatus and color image processing method | |
JP2010074627A (en) | Image processor and method of processing image | |
JP4492090B2 (en) | Image forming apparatus and image forming method | |
JP6834559B2 (en) | Image processing program and image processing equipment | |
JP2006270655A (en) | Apparatus and method for image processing | |
JP2019149786A (en) | Image processing apparatus, image forming apparatus, and program | |
JP6292061B2 (en) | Information processing apparatus and program | |
JP2007214966A (en) | Unit and method for processing image, and image forming apparatus | |
JP5994471B2 (en) | Image processing program and information processing apparatus | |
JP5458969B2 (en) | Image processing apparatus, image processing method, and program | |
JP4228804B2 (en) | Image processing apparatus, image forming apparatus, image processing method, program thereof, and recording medium recording the program | |
JP5115203B2 (en) | Image processing apparatus, encoding method, and decoding method | |
JP2013135396A (en) | Image processor and image processing method | |
JP4409883B2 (en) | Image printing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20140121 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20141006 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20141111 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20141218 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20150120 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20150202 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5699655 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |