JP5593769B2 - Image processing apparatus and image processing method - Google Patents

Image processing apparatus and image processing method Download PDF

Info

Publication number
JP5593769B2
JP5593769B2 JP2010071202A JP2010071202A JP5593769B2 JP 5593769 B2 JP5593769 B2 JP 5593769B2 JP 2010071202 A JP2010071202 A JP 2010071202A JP 2010071202 A JP2010071202 A JP 2010071202A JP 5593769 B2 JP5593769 B2 JP 5593769B2
Authority
JP
Japan
Prior art keywords
pixel
line drawing
line
thinning
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2010071202A
Other languages
Japanese (ja)
Other versions
JP2011205436A (en
Inventor
宏司 鷲尾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Konica Minolta Inc
Original Assignee
Konica Minolta 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 Inc filed Critical Konica Minolta Inc
Priority to JP2010071202A priority Critical patent/JP5593769B2/en
Publication of JP2011205436A publication Critical patent/JP2011205436A/en
Application granted granted Critical
Publication of JP5593769B2 publication Critical patent/JP5593769B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

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

印刷画像に対して施す画像処理の一つとして、細線化処理がある。細線化処理とは、文字画像その他の線画の輪郭を構成する画素の画素値を下げ、線画の見た目の太さを調節する処理である。
一部の画像形成装置では、細線化処理を行わない場合に文字が太くなる場合がある。例えば、電子写真方式の画像形成装置は、オフセット印刷等の画像形成装置に比してドットゲインが大きい。このため、電子写真方式の画像形成装置によって形成されたドットの線画は、オフセット印刷等の画像形成装置によって形成されたドットの線画に比して太くなる傾向がある。そこで、細線化処理を施すことにより線画の見た目の太さを調節する。
One type of image processing performed on a print image is thinning processing. The thinning process is a process of adjusting the apparent thickness of a line drawing by lowering the pixel values of pixels constituting the outline of a character image or other line drawing.
In some image forming apparatuses, characters may become thick when thinning processing is not performed. For example, an electrophotographic image forming apparatus has a larger dot gain than an image forming apparatus such as offset printing. For this reason, a dot line image formed by an electrophotographic image forming apparatus tends to be thicker than a dot line image formed by an image forming apparatus such as offset printing. Therefore, the line thickness is adjusted to adjust the apparent thickness of the line drawing.

図26(A)、(B)に細線化処理の一例を示す。図26(A)は細線化処理前の文字画像の一例を示し、図26(B)は図26(A)の文字画像に対して細線化処理を施した一例を示す。
図26(A)に示す文字画像の場合、細線化処理によって当該文字画像の輪郭を構成するエッジ画素200(図26(B)において薄いドットマスクを施された画素)の画素値が下げられる。
FIGS. 26A and 26B show an example of the thinning process. FIG. 26A shows an example of a character image before thinning processing, and FIG. 26B shows an example of thinning processing performed on the character image of FIG.
In the case of the character image shown in FIG. 26A, the pixel value of the edge pixel 200 (the pixel to which a thin dot mask is applied in FIG. 26B) constituting the outline of the character image is lowered by the thinning process.

上述のように、細線化処理は線画の輪郭を構成する画素の画素値を下げることで線画の見た目の太さを調節する。しかしながら、全ての線画に対して無条件に細線化処理を施すと、元々細かった線が細くなりすぎてかすれや消失を生じることがあり、細線化処理によって画質を損なうことがあった。そこで、元々細い線には細線化処理を施さない画像処理方法がある(例えば特許文献1)。   As described above, the thinning process adjusts the apparent thickness of the line drawing by lowering the pixel value of the pixels constituting the outline of the line drawing. However, if the line thinning process is unconditionally performed on all line drawings, the originally thin line may become too thin, resulting in blurring or disappearance, and the thinning process may impair the image quality. Therefore, there is an image processing method in which thinning processing is not originally performed on thin lines (for example, Patent Document 1).

特開2005−341249号公報JP 2005-341249 A

しかしながら、特許文献1に記載の画像処理方法は、線画の見た目の太さを均一化させてしまうことがあるという問題点がある。なぜならば、元々細い線には細線化処理を施さず、太い線に細線化処理を施す画像処理を行うと、細い線はそのままである一方で太い線の見た目が細くなる。このため、細い線と太い線の見た目の違いが小さくなり、区別がつかなくなるのである。例えば、明朝体の文字画像は縦線が太く横線が細い。しかし、明朝体の文字画像に対して特許文献1の細線化処理を施すと、縦線と横線の太さの差がなくなり、ゴシック体のように見えてしまうことがある。   However, the image processing method described in Patent Document 1 has a problem in that the apparent thickness of a line drawing may be made uniform. This is because if the thin line is not subjected to the thinning process and the thinning process is performed on the thick line, the thin line remains unchanged, but the thick line looks fine. For this reason, the difference in appearance between the thin line and the thick line is reduced, making it impossible to distinguish. For example, a Mincho character image has a thick vertical line and a thin horizontal line. However, when the thinning process of Patent Document 1 is performed on a Mincho-style character image, there is no difference in the thickness between the vertical and horizontal lines, and the character image may appear to be Gothic.

本発明は、画質を損なうことなく、線幅の見た目の太さの差異を保持した細線化処理を行うことを目的とする。   An object of the present invention is to perform a thinning process that retains the difference in the apparent thickness of the line width without impairing the image quality.

請求項1に記載の発明による画像処理装置は、線画の線幅と、当該線画に隣接する背景の線画の有無と、に応じて設定された複数の細線化強度係数の保持手段と、画像の輪郭画素を検出する輪郭検出手段と、前記輪郭画素を含む線画を検出し、当該線画の線幅と、前記輪郭画素に隣接する背景の線画の有無と、を判定する線検出手段と、前記複数の細線化強度係数のうち、前記線画検出手段により判定された前記線画の線幅と、前記背景の線画の有無と、に対応する細線化強度係数を取得し、取得した細線化強度係数を用いて前記輪郭画素の画素値を変更する画素値変更手段と、を備えることを特徴とする。 An image processing apparatus according to a first aspect of the present invention comprises a plurality of thinning intensity coefficient holding means set in accordance with the line width of a line drawing and the presence or absence of a background line drawing adjacent to the line drawing , a contour detecting unit for detecting a contour pixel, detects a line drawing including the contour pixel, the line width of the line image, a line image detecting means for determining a presence or absence of a line drawing of a background adjacent to the contour pixels, the Among the plurality of thinning intensity coefficients, the thinning intensity coefficient corresponding to the line width of the line drawing determined by the line drawing detecting means and the presence or absence of the background line drawing is obtained, and the obtained thinning intensity coefficient is obtained. And pixel value changing means for changing the pixel value of the contour pixel.

請求項2に記載の発明は、請求項1に記載の画像処理装置であって、前記保持手段は、前記線画の線幅と、当該線画に隣接する背景の線画の有無と、当該線画の方向と、に応じて設定された複数の細線化強度係数を保持し、前記線画検出手段は、前記輪郭画素を含む線画を検出し、当該線画の線幅と、前記輪郭画素に隣接する背景の線画の有無と、当該線画の方向と、を判定し、前記画素値変更手段は、前記複数の細線化強度係数のうち、前記線画検出手段により判定された前記線画の線幅と、前記背景の線画の有無と、前記線画の方向と、に対応する細線化強度係数を取得し、取得した細線化強度係数を用いて前記輪郭画素の画素値を変更することを特徴とする。 A second aspect of the present invention is the image processing apparatus according to the first aspect, wherein the holding unit includes a line width of the line drawing, presence / absence of a background line drawing adjacent to the line drawing, and a direction of the line drawing. A plurality of thinning intensity coefficients set in accordance with the line drawing detection means, wherein the line drawing detecting means detects a line drawing including the outline pixel, and the line width of the line drawing and the line drawing of the background adjacent to the outline pixel. The pixel value changing means determines the line width of the line drawing determined by the line drawing detection means and the line drawing of the background out of the plurality of thinning intensity coefficients. The thinning intensity coefficient corresponding to the presence or absence and the direction of the line drawing is acquired, and the pixel value of the contour pixel is changed using the acquired thinning intensity coefficient .

請求項3に記載の発明は、請求項1又は2に記載の画像処理装置であって、前記画素値変更手段は、取得した細線化強度係数と、前記輪郭画素と当該輪郭画素に隣接する画素との画素値の差と、を用いて補正値を算出し、当該補正値を前記輪郭画素の画素値に加算して、変更後の画素値を得ることを特徴とする。 A third aspect of the present invention is the image processing apparatus according to the first or second aspect, wherein the pixel value changing means includes the acquired thinning intensity coefficient, the contour pixel, and a pixel adjacent to the contour pixel. The correction value is calculated using the difference between the pixel value and the pixel value of the contour pixel, and the correction value is added to the pixel value of the contour pixel to obtain the changed pixel value .

請求項4に記載の発明は、請求項1から3のいずれか一項に記載の画像処理装置であって、前記線幅は、前記線画の幅方向の画素数であり、前記細線化強度係数は、前記線画の幅方向の画素数が多いほど前記輪郭画素の画素値の変更の度合いが大きくなるように設定されていることを特徴とする。 A fourth aspect of the present invention is the image processing apparatus according to any one of the first to third aspects, wherein the line width is the number of pixels in the width direction of the line drawing, and the thinning intensity coefficient , the higher the number of pixels width direction of the line drawing is large, characterized in that the degree of the change pixel values of the contour pixel is set to be larger.

請求項5に記載の発明は、請求項1から4のいずれか一項に記載の画像処理装置であって、前記画像の各画素に中間調処理を施す中間調処理手段と、前記画像の各画素に対して、輪郭画素である画素には前記画素値変更手段の処理結果を適用し、輪郭画素でない画素には前記中間調処理手段の処理結果を適用する処理選択手段と、を備えることを特徴とする。   The invention according to claim 5 is the image processing apparatus according to any one of claims 1 to 4, wherein halftone processing means for performing halftone processing on each pixel of the image, and each of the images A processing selection unit that applies a processing result of the pixel value changing unit to a pixel that is a contour pixel and applies a processing result of the halftone processing unit to a pixel that is not a contour pixel. Features.

請求項6に記載の発明による画像処理方法は、画像の輪郭画素を検出する輪郭検出工程と、前記輪郭画素を含む線画を検出し、当該線画の線幅と、前記輪郭画素に隣接する背景の線画の有無と、を判定する線検出工程と、線画の線幅と、当該線画に隣接する背景の線画の有無と、に応じて設定された複数の細線化強度係数のうち、前記線画検出工程により判定された前記線画の線幅と、前記背景の線画の有無と、に対応する細線化強度係数を取得し、取得した細線化強度係数を用いて前記輪郭画素の画素値を変更する画素値変更工程と、を有することを特徴とする。 An image processing method according to an embodiment of the present invention includes a contour detection step of detecting a contour pixel of an image, a line drawing including the contour pixel, a line width of the line drawing, and a background adjacent to the contour pixel. and the presence or absence of line drawing, a line image detection step of determining, the line width of the line drawing, and the presence or absence of the line drawing the background adjacent to the line drawings, among the plurality of thinning intensity coefficient set according to the line drawing detection A pixel that obtains a thinning intensity coefficient corresponding to the line width of the line drawing determined in the process and the presence or absence of the background line drawing, and changes the pixel value of the contour pixel using the obtained thinning intensity coefficient And a value changing step.

請求項7に記載の発明は、請求項6に記載の画像処理方法であって、前記線画検出工程では、前記輪郭画素を含む線画を検出し、当該線画の線幅と、前記輪郭画素に隣接する背景の線画の有無と、当該線画の方向と、を判定し、前記画素値変更工程では、前記線画の線幅と、当該線画に隣接する背景の線画の有無と、当該線画の方向と、に応じて設定された複数の細線化強度係数のうち、前記線画検出工程により判定された前記線画の線幅と、前記背景の線画の有無と、前記線画の方向と、に対応する細線化強度係数を取得し、取得した細線化強度係数を用いて前記輪郭画素の画素値を変更することを特徴とする。 The invention according to claim 7 is the image processing method according to claim 6, wherein in the line drawing detection step, a line drawing including the outline pixel is detected, and the line width of the line drawing and the outline pixel are adjacent to each other. The presence or absence of a background line drawing and the direction of the line drawing are determined, and in the pixel value changing step, the line width of the line drawing, the presence or absence of a background line drawing adjacent to the line drawing, and the direction of the line drawing, The thinning intensity corresponding to the line width of the line drawing determined by the line drawing detection step, the presence / absence of the background line drawing, and the direction of the line drawing among the plurality of thinning strength coefficients set according to A coefficient is acquired, and the pixel value of the contour pixel is changed using the acquired thinning intensity coefficient .

請求項8に記載の発明は、請求項6又は7に記載の画像処理方法であって、前記画素値変更工程では、取得した細線化強度係数と、前記輪郭画素と当該輪郭画素に隣接する画素との画素値の差と、を用いて補正値を算出し、当該補正値を前記輪郭画素の画素値に加算して、変更後の画素値を得ることを特徴とする。 The invention according to an eighth aspect is the image processing method according to the sixth or seventh aspect, wherein, in the pixel value changing step, the obtained thinning intensity coefficient, the contour pixel, and a pixel adjacent to the contour pixel The correction value is calculated using the difference between the pixel value and the pixel value of the contour pixel, and the correction value is added to the pixel value of the contour pixel to obtain the changed pixel value .

請求項9に記載の発明は、請求項6から8のいずれか一項に記載の画像処理方法であって、前記線幅は、前記線画の幅方向の画素数であり、前記細線化強度係数は、前記線画の幅方向の画素数が多いほど前記輪郭画素の画素値の変更の度合いが大きくなるように設定されていることを特徴とする。 The invention according to claim 9 is the image processing method according to any one of claims 6 to 8, wherein the line width is the number of pixels in the width direction of the line drawing, and the thinning intensity coefficient , the higher the number of pixels width direction of the line drawing is large, characterized in that the degree of the change pixel values of the contour pixel is set to be larger.

請求項10に記載の発明は、請求項6から9のいずれか一項に記載の画像処理方法であって、前記画像の各画素に中間調処理を施す中間調処理工程と、前記画像の各画素に対して、輪郭画素である画素には前記画素値変更工程の処理結果を適用し、輪郭画素でない画素には前記中間調処理工程の処理結果を適用する処理選択工程と、を備えることを特徴とする。   A tenth aspect of the present invention is the image processing method according to any one of the sixth to ninth aspects, wherein a halftone processing step of performing halftone processing on each pixel of the image, and each of the images A process selection step of applying a processing result of the pixel value changing step to a pixel that is a contour pixel and applying a processing result of the halftone processing step to a pixel that is not a contour pixel. Features.

本発明によれば、画質を損なうことなく、線幅の見た目の太さの差異を保持した細線化処理を行うことができる。   According to the present invention, it is possible to perform a thinning process that retains the difference in the apparent thickness of the line width without impairing the image quality.

本発明による画像処理装置を含む画像形成システム1の構成の一例を示す図である。1 is a diagram illustrating an example of a configuration of an image forming system 1 including an image processing apparatus according to the present invention. 画像処理部100の構成を示すブロック図である。2 is a block diagram illustrating a configuration of an image processing unit 100. FIG. ラインバッファ110の記憶保持内容とブロックBとの対応関係の一例を示す説明図である。図3(A)は、ラインバッファ110の記憶保持内容と画像データとの対応関係の一例を示す説明図である。図3(B)は、ラインバッファ110の記憶保持内容と属性データTAGとの対応関係の一例を示す説明図である。FIG. 5 is an explanatory diagram illustrating an example of a correspondence relationship between stored contents of a line buffer 110 and a block B. FIG. 3A is an explanatory diagram illustrating an example of a correspondence relationship between the contents stored in the line buffer 110 and the image data. FIG. 3B is an explanatory diagram illustrating an example of a correspondence relationship between the contents stored in the line buffer 110 and the attribute data TAG. 5×5[画素]のブロックBの注目画素Cに対する周辺画素の画素値の関係の一例を示す説明図である。It is explanatory drawing which shows an example of the relationship of the pixel value of the surrounding pixel with respect to the attention pixel C of the block B of 5x5 [pixel]. 5×5[画素]のブロックBの注目画素Cに対する周辺画素のエッジ強度En[ch]の関係の一例を示す説明図である。It is explanatory drawing which shows an example of the relationship of edge intensity | strength En [ch] of the surrounding pixel with respect to the attention pixel C of the block B of 5x5 [pixel]. 5×5[画素]のブロックBの注目画素Cに対する周辺画素の2値化エッジ値en [ch]の関係の一例を示す説明図である。It is explanatory drawing which shows an example of the relationship of the binarized edge value en [ch] of the surrounding pixel with respect to the attention pixel C of the block B of 5 × 5 [pixel]. 第一のパターンマッチング処理のイメージ図である。図7(A)は、注目画素Cを中心として並ぶ横の3画素について、白黒白のパターンがあるか否かを判定する処理のイメージ図である。図7(B)は、注目画素Cを中心として並ぶ縦の3画素について、白黒白のパターンがあるか否かを判定する処理のイメージ図である。It is an image figure of a 1st pattern matching process. FIG. 7A is an image diagram of processing for determining whether there is a black and white pattern for the three horizontal pixels arranged around the target pixel C. FIG. FIG. 7B is an image diagram of processing for determining whether there is a black and white pattern for three vertical pixels arranged around the target pixel C as a center. 第二のパターンマッチング処理のイメージ図である。図8(A)は、注目画素Cを中心として左上から右下にかけて並ぶ斜め方向の3画素について、白黒白のパターンがあるか否かを判定する処理のイメージ図である。図8(B)は、注目画素Cを中心として右上から左下にかけて並ぶ斜め方向の3画素について、白黒白のパターンがあるか否かを判定する処理のイメージ図である。It is an image figure of a 2nd pattern matching process. FIG. 8A is an image diagram of processing for determining whether or not there is a monochrome white pattern for the three pixels in the oblique direction arranged from the upper left to the lower right with the target pixel C as the center. FIG. 8B is an image diagram of processing for determining whether or not there is a black and white pattern for three diagonal pixels arranged from the upper right to the lower left with the target pixel C as the center. 第三のパターンマッチング処理のイメージ図である。図9(A)は、2値化エッジ値e12及びe15が1であるか否かを判定する処理のイメージ図である。図9(B)は、2値化エッジ値e11及びe14が1であるか否かを判定する処理のイメージ図である。図9(C)は、2値化エッジ値e8及びe23が1であるか否か否かを判定する処理のイメージ図である。図9(D)は、2値化エッジ値e3及びe18が1であるか否か否かを判定する処理のイメージ図である。It is an image figure of a 3rd pattern matching process. FIG. 9A is an image diagram of processing for determining whether or not the binarized edge values e12 and e15 are one. FIG. 9B is an image diagram of processing for determining whether or not the binarized edge values e11 and e14 are 1. FIG. 9C is an image diagram of processing for determining whether or not the binarized edge values e8 and e23 are “1”. FIG. 9D is an image diagram of processing for determining whether or not the binarized edge values e3 and e18 are 1. 第四のパターンマッチング処理のイメージ図である。図10(A)は、2値化エッジ値e1及びe19が1であるか否か否かを判定する処理のイメージ図である。図10(B)は、2値化エッジ値e5及びe17が1であるか否かを判定する処理のイメージ図である。図10(C)は、2値化エッジ値e7及びe25が1であるか否かを判定する処理のイメージ図である。図10(D)は、2値化エッジ値e9及びe21が1であるか否かを判定する処理のイメージ図である。It is an image figure of a 4th pattern matching process. FIG. 10A is an image diagram of processing for determining whether or not the binarized edge values e1 and e19 are 1. FIG. 10B is an image diagram of processing for determining whether or not the binarized edge values e5 and e17 are 1. FIG. 10C is an image diagram of processing for determining whether or not the binarized edge values e7 and e25 are 1. FIG. 10D is an image diagram of processing for determining whether or not the binarized edge values e9 and e21 are one. 5×5[画素]のブロックBの注目画素Cに対する周辺画素の非エッジ値fn [ch]の関係の一例を示す説明図である。It is explanatory drawing which shows an example of the relationship of the non-edge value fn [ch] of the surrounding pixel with respect to the attention pixel C of the block B of 5 × 5 [pixel]. 第五のパターンマッチング処理のイメージ図である。図12(A)は、注目画素Cの左側に白抜き線があるか否かを判定する処理のイメージ図である。図12(B)は、注目画素Cの上側に白抜き線があるか否かを判定する処理のイメージ図である。図12(C)は、注目画素Cの右側に白抜き線があるか否かを判定する処理のイメージ図である。図12(D)は、注目画素Cの下側に白抜き線があるか否かを判定する処理のイメージ図である。It is an image figure of a 5th pattern matching process. FIG. 12A is an image diagram of processing for determining whether or not there is a white line on the left side of the target pixel C. FIG. 12B is an image diagram of processing for determining whether or not there is a white line above the target pixel C. FIG. 12C is an image diagram of processing for determining whether or not there is a white line on the right side of the target pixel C. FIG. 12D is an image diagram of processing for determining whether or not there is a white line below the target pixel C. 第六のパターンマッチング処理のイメージ図である。図13(A)は、注目画素Cの左上側に白抜き線があるか否かを判定する処理のイメージ図である。図13(B)は、注目画素Cの右上側に白抜き線があるか否かを判定する処理のイメージ図である。図13(C)は、注目画素Cの右下側に白抜き線があるか否かを判定する処理のイメージ図である。図13(D)は、注目画素Cの左下側に白抜き線があるか否かを判定する処理のイメージ図である。It is an image figure of a 6th pattern matching process. FIG. 13A is an image diagram of processing for determining whether or not there is a white line on the upper left side of the target pixel C. FIG. FIG. 13B is an image diagram of processing for determining whether or not there is a white line on the upper right side of the target pixel C. FIG. 13C is an image diagram of processing for determining whether or not there is a white line on the lower right side of the target pixel C. FIG. 13D is an image diagram of processing for determining whether or not there is a white line on the lower left side of the target pixel C. 細線構造信号ThinLine[ch]及び白抜き文字情報WThinLine[ch]と細線化強度係数FTVL、BTVLとの対応関係を示す表である。10 is a table showing a correspondence relationship between a thin line structure signal ThinLine [ch] and white character information WThinLine [ch] and thinning intensity coefficients FTVL and BTVL. 図14に示す表の各設定値を具体化した一例を示す表である。It is a table | surface which shows an example which actualized each setting value of the table | surface shown in FIG. 正エッジ情報PEDGE[ch]及び負エッジ情報REDGE[ch]の生成処理の流れの一例を示すフローチャートである。It is a flowchart which shows an example of the flow of a production | generation process of positive edge information PEDGE [ch] and negative edge information REDGE [ch]. 輪郭情報E_EDGEの生成処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the production | generation process of outline information E_EDGE. 前景情報FOREGROUND[ch]及び背景情報BACKGROUND[ch]の生成処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a production | generation process of foreground information FOREGROUND [ch] and background information BACKGROUND [ch]. 細線構造信号ThinLine[ch]及び白抜き文字情報WThinLine[ch]の生成処理のうち、ステップS31〜S44を示すフローチャートである。It is a flowchart which shows step S31-S44 among the production | generation processes of thin line structure signal ThinLine [ch] and white character information WThinLine [ch]. 細線構造信号ThinLine[ch]及び白抜き文字情報WThinLine[ch]の生成処理のうち、ステップS45〜S54を示すフローチャートである。It is a flowchart which shows step S45-S54 among the production | generation processes of thin line structure signal ThinLine [ch] and outline character information WThinLine [ch]. ベタ判定フラグONSOLID、RVSOLIDの生成処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a production | generation process of solid determination flag ONSOLID and RVSOLID. 拡張タグ(ETAG)の設定処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a setting process of an expansion tag (ETAG). 補正値dST[ch]及び細線化フラグFlagST[ch]の生成処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a production | generation process of correction value dST [ch] and thinning flag FlagST [ch]. 出力画像データOut[ch]の生成処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a production | generation process of output image data Out [ch]. 画像形成部10の主要構成を示す説明図である。2 is an explanatory diagram illustrating a main configuration of an image forming unit 10. FIG. 細線化処理の一例を示す説明図である。図26(A)は細線化処理前の文字画像の一例を示す説明図である。図26(B)は図26(A)の文字画像に対して細線化処理を施した一例を示す説明図である。It is explanatory drawing which shows an example of a thinning process. FIG. 26A is an explanatory diagram showing an example of a character image before thinning processing. FIG. 26B is an explanatory diagram showing an example in which the thinning process is performed on the character image of FIG.

以下、図を参照して本発明の実施の形態の例を詳細に説明する。
本発明に係る画像処理装置としては、例えばプリンタ、複写機、ファクシミリ装置又はこれらの複合機等に搭載される画像処理装置が挙げられるが、これに限定されるものではない。
Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the drawings.
Examples of the image processing apparatus according to the present invention include, but are not limited to, an image processing apparatus mounted on a printer, a copying machine, a facsimile machine, or a multifunction machine of these.

図1に、本発明による画像処理装置を含む画像形成システム1の構成の一例を示す。
画像形成システム1は、PC2、コントローラ3、画像形成装置4を有する。PC2とコントローラ3は回線5により接続され、コントローラ3と画像形成装置4は回線6により接続される。
FIG. 1 shows an example of the configuration of an image forming system 1 including an image processing apparatus according to the present invention.
The image forming system 1 includes a PC 2, a controller 3, and an image forming apparatus 4. The PC 2 and the controller 3 are connected by a line 5, and the controller 3 and the image forming apparatus 4 are connected by a line 6.

PC2は、印刷ジョブをコントローラ3へ出力する。印刷ジョブは、PDL(Page Description Language)データを含む。   The PC 2 outputs the print job to the controller 3. The print job includes PDL (Page Description Language) data.

コントローラ3は、印刷ジョブを受信すると、印刷ジョブに含まれるPDLデータを解析してDL(Display List)データを生成する。DLデータは、画像形成装置4の印刷処理によって描画されるオブジェクトの位置座標や領域データ、色データのアドレス情報等を含む中間データである。
コントローラ3は、さらに、DLデータに基づいて画像データを生成する。画像データは、DLデータに基づいて描画されるオブジェクトに対して画素を割り当てたデータである。画像データに含まれる各画素には画素値が設定される。本実施形態では、コントローラ3は8ビットの画像データを生成する。つまり、画像データの各画素には0〜255のいずれかの画素値が設定される。
画像データは、画像形成装置4で用いる色剤の種類に応じて生成される。本実施形態では、コントローラ3は、シアン(C)、マゼンタ(M)、イエロー(Y)及びブラック(K)の各色に対応する画像データを生成する。
When receiving the print job, the controller 3 analyzes the PDL data included in the print job and generates DL (Display List) data. The DL data is intermediate data including the position coordinates of the object drawn by the printing process of the image forming apparatus 4, area data, color data address information, and the like.
The controller 3 further generates image data based on the DL data. The image data is data in which pixels are assigned to an object drawn based on DL data. A pixel value is set for each pixel included in the image data. In the present embodiment, the controller 3 generates 8-bit image data. That is, any pixel value of 0 to 255 is set for each pixel of the image data.
The image data is generated according to the type of colorant used in the image forming apparatus 4. In the present embodiment, the controller 3 generates image data corresponding to each color of cyan (C), magenta (M), yellow (Y), and black (K).

また、コントローラ3は、各画素の属性を示す属性データTAGを生成する。属性データTAGを生成するに際して、コントローラ3は、DLデータに基づいて各画素の画像属性を判別し、その判別結果に基づいて画素単位で属性データTAGを生成する。属性データTAGが示す属性としては、画素が写真画を構成することを示すIMAGE、画素が線画を構成することを示すGRAPHICS、画素が文字を構成することを示すTEXTがある。属性データTAGは数値によって属性の内容を示すデータであり、TAG=0の場合はIMAGEの属性を示し、TAG=1の場合はGRAPHICSの属性を示し、TAG=2又は3の場合はTEXTの属性を示す。   Further, the controller 3 generates attribute data TAG indicating the attribute of each pixel. When generating the attribute data TAG, the controller 3 determines the image attribute of each pixel based on the DL data, and generates the attribute data TAG for each pixel based on the determination result. The attributes indicated by the attribute data TAG include IMAGE indicating that a pixel constitutes a photographic image, GRAPHICS indicating that the pixel constitutes a line image, and TEXT indicating that the pixel constitutes a character. The attribute data TAG is data indicating the content of the attribute by a numerical value. When TAG = 0, it indicates the IMAGE attribute, when TAG = 1, the GRAPHICS attribute, and when TAG = 2 or 3, the TEXT attribute. Indicates.

コントローラ3は、生成した画像データ及び属性データTAGを画像形成装置4へ出力する。   The controller 3 outputs the generated image data and attribute data TAG to the image forming apparatus 4.

画像形成装置4は、画像データ及び属性データTAGに基づいて印刷媒体(例えば紙等)に対して画像を形成する。
画像形成装置4は、画像処理部100と、画像形成部10とを有する。
The image forming apparatus 4 forms an image on a print medium (for example, paper) based on the image data and the attribute data TAG.
The image forming apparatus 4 includes an image processing unit 100 and an image forming unit 10.

画像処理部100は、画像データ及び属性データTAGに基づいて出力画像データOut[ch]を生成し、画像形成部10へ出力する。
図2に、画像処理部100の構成を示す。
画像処理部100は、ラインバッファ110、エッジ抽出部120、細線化処理部130、コントーン処理部140、スクリーン処理部150及びセレクタ160を有する。
The image processing unit 100 generates output image data Out [ch] based on the image data and the attribute data TAG, and outputs the output image data Out [ch] to the image forming unit 10.
FIG. 2 shows the configuration of the image processing unit 100.
The image processing unit 100 includes a line buffer 110, an edge extraction unit 120, a thinning processing unit 130, a contone processing unit 140, a screen processing unit 150, and a selector 160.

ラインバッファ110は、コントローラ3から入力された画像データ及び属性データTAGを記憶、保持する。ラインバッファ110は、4ライン分の画像データと、3ライン分の属性データTAGと、を保持する。ラインバッファ110は、エッジ抽出部120、細線化処理部130及びスクリーン処理部150の処理に応じて画像データ、属性データTAG又はその両方を画素単位又はブロック単位で供給する。   The line buffer 110 stores and holds image data and attribute data TAG input from the controller 3. The line buffer 110 holds image data for 4 lines and attribute data TAG for 3 lines. The line buffer 110 supplies image data, attribute data TAG, or both in pixel units or block units in accordance with the processing of the edge extraction unit 120, thinning processing unit 130, and screen processing unit 150.

エッジ抽出部120は、5×5[画素]単位のブロックBの画像データを取得し、各画素のエッジ強度En[ch]ならびに注目画素Cの正エッジ情報PEDGE[ch]、負エッジ情報REDGE[ch]、輪郭情報E_EDGE及び背景情報BACKGROUND[ch]の各種データを生成し、細線化処理部130へ出力する。   The edge extraction unit 120 acquires the image data of the block B in units of 5 × 5 [pixels], the edge intensity En [ch] of each pixel, the positive edge information PEDGE [ch], the negative edge information REDGE [ ch], contour information E_EDGE, and background information BACKGROUND [ch] are generated and output to the thinning processing unit 130.

本実施形態における注目画素Cとは、5×5[画素]単位のブロックBの中心に位置する画素をさす。注目画素Cは、画像データからの5×5[画素]単位のブロックBの切り出し位置によって変化し、画像処理部100は画像データに含まれる全ての画素を注目画素Cとして扱うよう、5×5[画素]単位のブロックBの切り出し位置を順次変更して処理する。   The target pixel C in this embodiment refers to a pixel located at the center of the block B in units of 5 × 5 [pixels]. The target pixel C changes depending on the cut-out position of the block B in units of 5 × 5 [pixels] from the image data, and the image processing unit 100 treats all the pixels included in the image data as the target pixel C, 5 × 5. Processing is performed by sequentially changing the cut-out position of the block B in [pixel] units.

細線化処理部130は、ラインバッファ110から取得した5×5[画素]単位のブロックBの画像データ、注目画素Cを中心とする3×3画素分の属性データTAG及びエッジ抽出部120によって出力された各種データに基づいて、細線構造信号ThinLine[ch]及び白抜き文字情報WThinLine[ch]を生成する。また、細線化処理部130は、細線化処理を行う。細線化処理において、細線構造信号ThinLine[ch]及び白抜き文字情報WThinLine[ch]に基づいて細線化の強度が決定される。そして、細線化処理部130は、細線化処理がなされた画素値を示すコントーン入力信号IS[ch]を生成し、コントーン処理部140へ出力する。また、細線化処理部130は、細線化実施フラグTotalSTを生成し、セレクタ160へ出力する。   The thinning processing unit 130 outputs the image data of the block B in units of 5 × 5 [pixels] acquired from the line buffer 110, the attribute data TAG for 3 × 3 pixels centered on the pixel of interest C, and the edge extraction unit 120. A thin line structure signal ThinLine [ch] and white character information WThinLine [ch] are generated based on the various data. Further, the thinning processing unit 130 performs a thinning process. In the thinning process, the thinning strength is determined based on the thin line structure signal ThinLine [ch] and the outline character information WThinLine [ch]. Then, the thinning processing unit 130 generates a contone input signal IS [ch] indicating the pixel value subjected to the thinning processing, and outputs it to the contone processing unit 140. Further, the thinning processing unit 130 generates a thinning execution flag TotalST and outputs it to the selector 160.

コントーン処理部140は、コントーン入力信号IS[ch]に対してγ補正(ガンマ補正)処理を施し、コントーン出力信号contone[ch]を生成し、セレクタ160へ出力する。   The contone processing unit 140 performs γ correction (gamma correction) processing on the contone input signal IS [ch], generates a contone output signal contone [ch], and outputs it to the selector 160.

スクリーン処理部150は、注目画素Cの画像データ及び属性データTAGを取得する。そして、スクリーン処理部150は、注目画素Cに対してγ補正処理及び中間調処理(スクリーン処理)を施したスクリーン出力信号screen[ch]を生成し、セレクタ160へ出力する。スクリーン処理部150は、画像データの各画素に中間調処理を施す中間調処理手段として機能する。   The screen processing unit 150 acquires image data and attribute data TAG of the target pixel C. Then, the screen processing unit 150 generates a screen output signal screen [ch] obtained by performing γ correction processing and halftone processing (screen processing) on the target pixel C, and outputs the screen output signal screen [ch] to the selector 160. The screen processing unit 150 functions as halftone processing means for performing halftone processing on each pixel of the image data.

セレクタ160は、細線化実施フラグTotalSTに基づいて、コントーン出力信号contone[ch]又はスクリーン出力信号screen[ch]のいずれか一方を出力画像データOut[ch]として画像形成部10へ出力する。   Based on the thinning execution flag TotalST, the selector 160 outputs either the contone output signal contone [ch] or the screen output signal screen [ch] to the image forming unit 10 as output image data Out [ch].

次に、画像処理部100の各部について詳細を説明する。
図3(A)、(B)にラインバッファ110の記憶保持内容とブロックBとの対応関係の一例を示す。図3(A)は、ラインバッファ110の記憶保持内容と画像データとの対応関係の一例を示し、図3(B)は、ラインバッファ110の記憶保持内容と属性データTAGとの対応関係の一例を示す。
図3(A)においてマスクされた画素に示すように、注目画素Cを中心とする5×5[画素]のブロックBを構成する各画素のデータを得るには、注目画素Cを含むライン及び注目画素Cを含むラインを基準とした上下2ライン分のデータを要する。このうち、画像処理部100に対して入力される1ライン分についてはラインバッファ110による保持を要しない。このことから、注目画素Cを中心とする5×5[画素]のブロックBを構成する各画素の画像データを得るには、画像処理部100に対してリアルタイムで入力される1ラインより前に入力される4ライン分の画像データを保持する必要がある。このため、本実施形態では4ライン分の画像データを記憶、保持するラインバッファ110を設けている。
Next, details of each unit of the image processing unit 100 will be described.
3A and 3B show an example of the correspondence relationship between the stored contents of the line buffer 110 and the block B. FIG. FIG. 3A shows an example of the correspondence relationship between the stored content of the line buffer 110 and the image data, and FIG. 3B shows an example of the correspondence relationship between the stored content of the line buffer 110 and the attribute data TAG. Indicates.
As shown in the masked pixel in FIG. 3A, in order to obtain data of each pixel constituting the 5 × 5 [pixel] block B centered on the target pixel C, a line including the target pixel C and Data for two upper and lower lines with reference to the line including the target pixel C is required. Of these, one line input to the image processing unit 100 does not need to be held by the line buffer 110. From this, in order to obtain the image data of each pixel constituting the 5 × 5 [pixel] block B centered on the target pixel C, the image processing unit 100 is input before one line inputted in real time. It is necessary to hold the input image data for four lines. Therefore, in this embodiment, a line buffer 110 that stores and holds image data for four lines is provided.

一方、属性データTAGについては、注目画素Cを中心とする3×3[画素]のブロックBがあればよいが、注目画素Cを中心とする3×3[画素]のブロックBを構成する各画素のデータは、画像処理部100に対してリアルタイムで入力される1ラインに含まれない。このことから、注目画素Cを中心とする5×5[画素]のブロックBを構成する各画素の属性データTAGを得るには、画像処理部100に対してリアルタイムで入力される1ラインより前に入力される3ライン分の属性データTAGを保持する必要がある。このため、本実施形態では3ライン分の属性データTAGを記憶、保持するラインバッファ110を設けている。   On the other hand, as for the attribute data TAG, it is sufficient if there is a 3 × 3 [pixel] block B centered on the target pixel C, but each of the blocks constituting the 3 × 3 [pixel] block B centered on the target pixel C. Pixel data is not included in one line input to the image processing unit 100 in real time. From this, in order to obtain the attribute data TAG of each pixel constituting the 5 × 5 [pixel] block B with the target pixel C as the center, the attribute data TAG before the one line input to the image processing unit 100 in real time is obtained. It is necessary to hold the attribute data TAG for three lines input to. For this reason, in this embodiment, a line buffer 110 for storing and holding attribute data TAG for three lines is provided.

本実施形態のラインバッファ110が記憶、保持する画像データ及び属性データTAGのライン数はあくまで一例であり、画像処理に要するブロックBの単位に応じて適宜変更することができる。   The number of lines of image data and attribute data TAG stored and held in the line buffer 110 of this embodiment is merely an example, and can be appropriately changed according to the unit of the block B required for image processing.

エッジ抽出部120は、5×5[画素]のブロックBに含まれる各画素の画素値に基づいて、注目画素に対するエッジ強度En[ch](n=1〜25)を生成する。エッジ強度En[ch]は、注目画素Cの画素値と周辺画素の画素値との差に基づく値である。
図4に、5×5[画素]のブロックBの注目画素Cに対する周辺画素の画素値の関係の一例を示す。図5に、5×5[画素]のブロックBの注目画素Cに対する周辺画素のエッジ強度En[ch]の関係の一例を示す。
なお、説明に用いる注目画素Cは、ブロックBの中央に位置する画素であり、周辺画素は、注目画素Cの周辺に位置し、ブロックBに含まれる画素である。
The edge extraction unit 120 generates the edge intensity En [ch] (n = 1 to 25) for the pixel of interest based on the pixel value of each pixel included in the 5 × 5 [pixel] block B. The edge strength En [ch] is a value based on the difference between the pixel value of the target pixel C and the pixel values of the surrounding pixels.
FIG. 4 shows an example of the relationship between the pixel values of the peripheral pixels and the target pixel C of the block B of 5 × 5 [pixels]. FIG. 5 shows an example of the relationship of the edge intensity En [ch] of the peripheral pixels with respect to the target pixel C of the block B of 5 × 5 [pixels].
Note that the target pixel C used for the description is a pixel located in the center of the block B, and the peripheral pixels are pixels included in the block B and located around the target pixel C.

エッジ強度En[ch]( n=1〜25)の生成にあたり、まず、エッジ抽出部120は、図4に示すように、注目画素Cの画素値及び周辺画素の画素値I01〜I25を得る。ここで、ブロックBが画像データの領域外を含む場合、周辺画素の一部が存在せず、画素値を得られない場合が有る。この場合、存在しない周辺画素の画素値は0とする。
次に、図5に示すように、エッジ抽出部120は、注目画素Cの画素値と周辺画素の画素値との差を算出してエッジ強度E01〜E25を得る。ここでエッジ強度E01〜E25は−256〜256の範囲の整数である。
なお、本実施形態では、図4、図5に示すように、画素値I01〜I25及びエッジ強度E01〜E25のうち、注目画素Cの位置に対応する画素値I13及びエッジ強度E13は用いないので、使用しない画素値、エッジ強度については取得してもしなくてもよい。
In generating the edge intensity En [ch] (n = 1 to 25), first, the edge extraction unit 120 obtains the pixel value of the target pixel C and the pixel values I01 to I25 of the peripheral pixels as shown in FIG. Here, when the block B includes outside the area of the image data, there are cases where some of the peripheral pixels do not exist and the pixel value cannot be obtained. In this case, the pixel values of the peripheral pixels that do not exist are 0.
Next, as illustrated in FIG. 5, the edge extraction unit 120 calculates the difference between the pixel value of the target pixel C and the pixel values of the surrounding pixels to obtain edge intensities E01 to E25. Here, the edge strengths E01 to E25 are integers in the range of −256 to 256.
In this embodiment, as shown in FIGS. 4 and 5, the pixel value I13 and the edge strength E13 corresponding to the position of the pixel of interest C are not used among the pixel values I01 to I25 and the edge strengths E01 to E25. The unused pixel values and edge strengths may or may not be acquired.

次に、エッジ抽出部120は、エッジ強度En[ch]に基づいて、正エッジ情報PEDGE[ch]及び負エッジ情報REDGE[ch]を生成する。
エッジ抽出部120は、注目画素Cに隣接する4画素のエッジ強度のうち最大値を正エッジ情報PEDGE[ch]とする。具体的には、本実施形態の場合、E08、E12、E14、E18のうち最大値を正エッジ情報PEDGE[ch]とする。
また、エッジ抽出部120は、注目画素Cに隣接する4画素のエッジ強度のうち最小値を負エッジ情報REDGE[ch]とする。具体的には、本実施形態の場合、E08、E12、E14、E18のうち最小値を負エッジ情報REDGE[ch]とする。ただし、エッジ抽出部120は、第一の閾値EDGETH未満となった正エッジ情報PEDGE[ch]、負エッジ情報REDGE[ch]又はその両方を0とする。第一の閾値EDGETHは正エッジ情報PEDGE[ch]、負エッジ情報REDGE[ch]として認められる最低値を示しており、1〜254の値を取ることができる。本実施形態では、第一の閾値EDGETHを32としている。
Next, the edge extraction unit 120 generates positive edge information PEDGE [ch] and negative edge information REDGE [ch] based on the edge strength En [ch].
The edge extraction unit 120 sets the maximum value among the edge intensities of the four pixels adjacent to the target pixel C as the positive edge information PEDGE [ch]. Specifically, in the present embodiment, the maximum value among E08, E12, E14, and E18 is set as the positive edge information PEDGE [ch].
Further, the edge extraction unit 120 sets the minimum value among the edge strengths of the four pixels adjacent to the target pixel C as negative edge information REDGE [ch]. Specifically, in the present embodiment, the minimum value among E08, E12, E14, and E18 is set as negative edge information REDGE [ch]. However, the edge extraction unit 120 sets the positive edge information PEDGE [ch], the negative edge information REDGE [ch], or both, which are less than the first threshold EDGETH to 0. The first threshold EDGETH indicates the lowest value recognized as the positive edge information PEDGE [ch] and the negative edge information REDGE [ch], and can take a value of 1 to 254. In the present embodiment, the first threshold EDGETH is set to 32.

エッジ強度En[ch]、正エッジ情報PEDGE[ch]及び負エッジ情報REDGE[ch]は、各色(例えばCMYK)の画像データに対して個別に生成される。[ch]には0〜3の整数値が設定され、ch=0はシアン(C)を、ch=1はマゼンタ(M)を、ch=2はイエロー(Y)を、ch=3はブラック(K)を示す。以下、[ch]の記載を含むデータは、各色についてそれぞれ生成される。   The edge strength En [ch], the positive edge information PEDGE [ch], and the negative edge information REDGE [ch] are individually generated for the image data of each color (for example, CMYK). [ch] is set to an integer value from 0 to 3, ch = 0 is cyan (C), ch = 1 is magenta (M), ch = 2 is yellow (Y), and ch = 3 is black (K) is shown. Hereinafter, data including the description of [ch] is generated for each color.

さらに、エッジ抽出部120は、各色のエッジ強度En[ch]、正エッジ情報PEDGE[ch]及び負エッジ情報REDGE[ch]に基づいて輪郭情報E_EDGEを生成する。輪郭情報E_EDGEは、注目画素Cが画像の輪郭を構成するか否かを示す。   Further, the edge extraction unit 120 generates contour information E_EDGE based on the edge intensity En [ch], the positive edge information PEDGE [ch], and the negative edge information REDGE [ch] of each color. The contour information E_EDGE indicates whether or not the target pixel C constitutes the contour of the image.

輪郭情報E_EDGEの生成にあたり、エッジ抽出部120は、まず中間データであるTOTALPEDGE、TOTALREDGEを求める。TOTALPEDGEは下記の式(1)によって求められる。TOTALREDGEは下記の式(2)によって求められる。
TOTALPEDGE ={(PEDGE[0] × Wc) + (PEDGE[1] × Wm) + (PEDGE[2] ×Wy) + (PEDGE[3] × Wk)} / 256……(1)
TOTALREDGE ={(REDGE[0] × Wc) + (REDGE[1] × Wm) + (REDGE[2] ×Wy) + (REDGE[3] × Wk)} / 256……(2)
上記式(1)、(2)における係数Wc、Wm、Wy及びWkはそれぞれ8bitの整数である。また、係数Wc、Wm、Wy、Wkは、Wc+Wm+Wy+Wk≦256を満たすように設定される。
TOTALPEDGE、TOTALREDGEは前景、背景それぞれのエッジにおける各色(例えばCMYK)のエッジの強さを比視感度に相当する係数で重み付けして足し合わせた値に基づく中間データ値である。なお、画素値の異なる複数の画素がエッジを形成する画像データにおいて、前景とは濃度が相対的に高い領域のことをさし、背景とは濃度が相対的に低い領域のことをさす。
注目画素Cが画像の輪郭を構成するか否かを示す輪郭情報E_EDGEを決定するにあたり、注目画素Cが視覚的な濃度差に基づいて輪郭を形成するか否かを判定する必要がある。そこで、中間データTOTALPEDGE、TOTALREDGEを求めるにあたり、それぞれ正エッジ情報PEDGE[ch]、負エッジ情報REDGE[ch]に対して比視感度に相当する係数による補正をかける。具体的には、シアン(C)の正エッジ情報PEDGE[0]、負エッジ情報REDGE[0]には係数Wcを用い、マゼンタ(M)の正エッジ情報PEDGE[1]、負エッジ情報REDGE[1]には係数Wmを用い、イエロー(Y)の正エッジ情報PEDGE[2]、負エッジ情報REDGE[2]には係数Wyを用い、ブラック(K)の正エッジ情報PEDGE[3]、負エッジ情報REDGE[3]には係数Wkを用い、補正をかける。
In generating the contour information E_EDGE, the edge extraction unit 120 first obtains TOTALPEDGE and TOTALREDGE as intermediate data. TOTALPEDGE is obtained by the following equation (1). TOTALREDGE is obtained by the following equation (2).
TOTALPEDGE = {(PEDGE [0] x Wc) + (PEDGE [1] x Wm) + (PEDGE [2] x Wy) + (PEDGE [3] x Wk)} / 256 …… (1)
TOTALREDGE = {(REDGE [0] x Wc) + (REDGE [1] x Wm) + (REDGE [2] x Wy) + (REDGE [3] x Wk)} / 256 …… (2)
The coefficients Wc, Wm, Wy and Wk in the above formulas (1) and (2) are 8-bit integers. The coefficients Wc, Wm, Wy, and Wk are set so as to satisfy Wc + Wm + Wy + Wk ≦ 256.
TOTALPEDGE and TOTALREDGE are intermediate data values based on values obtained by weighting and adding the edge strength of each color (for example, CMYK) at each edge of the foreground and background with a coefficient corresponding to the relative visibility. In image data in which a plurality of pixels having different pixel values form an edge, the foreground refers to a region with a relatively high density, and the background refers to a region with a relatively low density.
In determining the contour information E_EDGE indicating whether or not the target pixel C constitutes the contour of the image, it is necessary to determine whether or not the target pixel C forms a contour based on a visual density difference. Therefore, in obtaining the intermediate data TOTALPEDGE and TOTALREDGE, correction is performed on the positive edge information PEDGE [ch] and the negative edge information REDGE [ch] by a coefficient corresponding to the relative visibility. Specifically, the coefficient Wc is used for the positive edge information PEDGE [0] and negative edge information REDGE [0] for cyan (C), and the positive edge information PEDGE [1] and negative edge information REDGE [for magenta (M). 1] uses coefficient Wm, yellow (Y) positive edge information PEDGE [2], negative edge information REDGE [2] uses coefficient Wy, black (K) positive edge information PEDGE [3], negative The edge information REDGE [3] is corrected using the coefficient Wk.

本実施形態では、係数Wc、Wm、Wy、Wkの値は、比視感度に応じる。例えば、イエロー(Y)は、画素値の異なる二画素の画素値の差による視覚的な濃度差を他の色に比して生じさせにくい。一方、ブラック(K)は画素値の異なる二画素の画素値の差による視覚的な濃度差を他の色に比して生じさせやすい。係数Wc、Wm、Wy、Wkの値は、このような比視感度に応じて設定されており、例えばWc=80、Wm=32、Wy=16、Wk=128である。   In the present embodiment, the values of the coefficients Wc, Wm, Wy, Wk depend on the relative visibility. For example, yellow (Y) is less likely to cause a visual density difference due to a difference between pixel values of two pixels having different pixel values compared to other colors. On the other hand, black (K) is more likely to cause a visual density difference due to the difference between pixel values of two pixels having different pixel values compared to other colors. The values of the coefficients Wc, Wm, Wy, Wk are set according to such relative luminous sensitivity, for example, Wc = 80, Wm = 32, Wy = 16, Wk = 128.

エッジ抽出部120は、TOTALPEDGEとTOTALREDGEとの大小比較結果に基づいて輪郭情報E_EDGEを決定する。本実施形態では、TOTALPEDGEがTOTALREDGEより大きい場合に、エッジ抽出部120は、注目画素Cが輪郭を構成する画素であると判定して輪郭情報E_EDGEをONとする。TOTALPEDGEがTOTALREDGE以下である場合、エッジ抽出部120は、輪郭情報E_EDGEをOFFとする。本実施形態では、輪郭情報E_EDGEはON/OFFを示す1bit値で表されるが、同様の情報を示すことができれば他の値をとっても良い。   The edge extraction unit 120 determines the contour information E_EDGE based on the magnitude comparison result between TOTALPEDGE and TOTALREDGE. In the present embodiment, when TOTALPEDGE is larger than TOTALREDGE, the edge extraction unit 120 determines that the pixel of interest C is a pixel constituting the contour, and sets the contour information E_EDGE to ON. When TOTALPEDGE is equal to or less than TOTALREDGE, the edge extraction unit 120 turns the contour information E_EDGE OFF. In the present embodiment, the contour information E_EDGE is represented by a 1-bit value indicating ON / OFF, but other values may be used as long as similar information can be indicated.

このように、エッジ抽出部120は、輪郭情報E_EDGEの生成及びその値のON/OFFによって、注目画素Cが輪郭を構成する画素(輪郭画素)であるか否かを検知する。つまり、エッジ抽出部120は、画像データに含まれる輪郭画素を検出する輪郭検出手段として機能する。   As described above, the edge extraction unit 120 detects whether or not the pixel of interest C is a pixel (contour pixel) constituting the contour by generating the contour information E_EDGE and turning on / off the value of the contour information E_EDGE. That is, the edge extraction unit 120 functions as a contour detection unit that detects contour pixels included in the image data.

また、エッジ抽出部120は、正エッジ情報PEDGE[ch]及び負エッジ情報REDGE[ch]に基づいて背景情報BACKGROUND[ch]を生成する。BACKGROUND[ch]は注目画素Cが前景に含まれるか背景に含まれるかを簡易的に推定するためのデータである。本実施形態では、背景情報BACKGROUND[ch]と対になる前景情報FOREGROUND[ch]も同時に生成される。前景情報FOREGROUND[ch]及び背景情報BACKGROUND[ch]は、ON/OFFを示す1bit値で表されるが、同様の情報を示すことができれば他の値をとっても良い。前景情報FOREGROUND[ch]及び背景情報BACKGROUND[ch]は、各色(例えばCMYK)に対して個別に生成される。   In addition, the edge extraction unit 120 generates background information BACKGROUND [ch] based on the positive edge information PEDGE [ch] and the negative edge information REDGE [ch]. BACKGROUND [ch] is data for simply estimating whether the target pixel C is included in the foreground or the background. In this embodiment, foreground information FOREGROUND [ch] that is paired with background information BACKGROUND [ch] is also generated. The foreground information FOREGROUND [ch] and the background information BACKGROUND [ch] are represented by 1-bit values indicating ON / OFF, but may take other values as long as similar information can be indicated. Foreground information FOREGROUND [ch] and background information BACKGROUND [ch] are generated individually for each color (for example, CMYK).

前景情報FOREGROUND[ch]及び背景情報BACKGROUND[ch]を生成するにあたり、エッジ抽出部120は、PEDGE[ch]とREDGE[ch]とを比較する。PEDGE[ch]がREDGE[ch]よりも大きい場合、エッジ抽出部120は前景情報FOREGROUND[ch]をONとし、背景情報BACKGROUND[ch]をOFFとする。PEDGE[ch]がREDGE[ch]よりも小さい場合、エッジ抽出部120は前景情報FOREGROUND[ch]をOFFとし、背景情報BACKGROUND[ch]をONとする。PEDGE[ch]とREDGE[ch]とが等しい場合、エッジ抽出部120は前景情報FOREGROUND[ch]、背景情報BACKGROUND[ch]を共にOFFとする。   In generating the foreground information FOREGROUND [ch] and the background information BACKGROUND [ch], the edge extraction unit 120 compares PEDGE [ch] and REDGE [ch]. When PEDGE [ch] is larger than REDGE [ch], the edge extraction unit 120 turns on the foreground information FOREGROUND [ch] and turns off the background information BACKGROUND [ch]. When PEDGE [ch] is smaller than REDGE [ch], the edge extraction unit 120 turns off the foreground information FOREGROUND [ch] and turns on the background information BACKGROUND [ch]. When PEDGE [ch] and REDGE [ch] are equal, the edge extraction unit 120 turns OFF both the foreground information FOREGROUND [ch] and the background information BACKGROUND [ch].

細線化処理部130は、まず、エッジの2値化を行う。本実施形態では、細線化処理部130は、8bitのエッジ強度En[ch]の値と第二の閾値TLSOLIDTHとの比較結果に基づいて、周辺画素の2値化エッジ値en[ch](n=1〜25)を求める。2値化エッジ値en[ch]は、各色(例えばCMYK)に対して個別に生成される。
図6に、5×5[画素]のブロックBの注目画素Cに対する周辺画素の2値化エッジ値en [ch]の関係の一例を示す。
細線化処理部130は、8bitのエッジ強度En[ch]の値が第二の閾値TLSOLIDTHより大きい周辺画素に対して、その2値化エッジ値en [ch]として1を設定する。細線化処理部130は、8bitのエッジ強度En[ch]の値が第二の閾値TLSOLIDTH以下の周辺画素に対して、その2値化エッジ値en [ch]として0を設定する。
The thinning processing unit 130 first binarizes the edges. In the present embodiment, the thinning processing unit 130, based on the comparison result between the value of the 8-bit edge strength En [ch] and the second threshold TLSOLIDTH, binarized edge values en [ch] (n = 1 to 25). The binarized edge value en [ch] is generated individually for each color (for example, CMYK).
FIG. 6 shows an example of the relationship between the binarized edge values en [ch] of the peripheral pixels with respect to the target pixel C of the block B of 5 × 5 [pixels].
The thinning processing unit 130 sets 1 as the binarized edge value en [ch] for peripheral pixels whose 8-bit edge strength En [ch] value is greater than the second threshold TLSOLIDTH. The thinning processing unit 130 sets 0 as the binarized edge value en [ch] for peripheral pixels whose 8-bit edge intensity En [ch] value is equal to or smaller than the second threshold TLSOLIDTH.

次に、細線化処理部130は、細線構造信号ThinLine[ch]の生成を行う。
細線構造信号ThinLine[ch]の生成にあたり、細線化処理部130は、細線構造信号ThinLine[ch]を初期値0で設定する。その後、細線化処理部130は、注目画素Cを中心として並ぶ縦又は横の3画素について、白黒白のパターンがあるか否かを判定する。注目画素Cを中心として並ぶ縦又は横の3画素について、白黒白のパターンがある場合、細線化処理部130は、細線構造信号ThinLine[ch]の値を1とする。本実施形態の細線化処理部130は、注目画素Cを中心として並ぶ縦又は横の3画素について、白黒白のパターンがあるか否かを判定するにあたり、第一のパターンマッチング処理を行う。
Next, the thinning processing unit 130 generates a thin line structure signal ThinLine [ch].
In generating the thin line structure signal ThinLine [ch], the thinning processing unit 130 sets the thin line structure signal ThinLine [ch] with an initial value of 0. Thereafter, the thinning processing unit 130 determines whether there is a black and white pattern for three vertical or horizontal pixels arranged around the target pixel C. When there are black and white patterns for three vertical or horizontal pixels arranged around the target pixel C, the thinning processing unit 130 sets the value of the thin line structure signal ThinLine [ch] to 1. The thinning processing unit 130 of the present embodiment performs a first pattern matching process when determining whether there is a black and white pattern for three vertical or horizontal pixels arranged around the target pixel C.

図7(A)、(B)に、第一のパターンマッチング処理のイメージ図を示す。図7(A)は、注目画素Cを中心として並ぶ横の3画素について、白黒白のパターンがあるか否かを判定する処理のイメージ図を示し、図7(B)は、注目画素Cを中心として並ぶ縦の3画素について、白黒白のパターンがあるか否かを判定する処理のイメージ図を示す。
第一のパターンマッチング処理として、細線化処理部130は、2値化エッジ値e12及びe14又はe8及びe18のいずれか一の組が共に1であるか否かを判定する。2値化エッジ値又はe8及びe18のいずれか一の組が共に1である場合、細線化処理部130は、細線構造信号ThinLine[ch]の値を1とする。
7A and 7B are image diagrams of the first pattern matching process. FIG. 7A shows an image diagram of processing for determining whether or not there is a monochrome white pattern for the three horizontal pixels arranged around the target pixel C. FIG. 7B shows the center of the target pixel C. The image figure of the process which determines whether there exists a monochrome white pattern about three vertical pixels arranged as follows is shown.
As the first pattern matching processing, the thinning processing unit 130 determines whether or not any one of the binarized edge values e12 and e14 or e8 and e18 is 1. When the binarized edge value or any one set of e8 and e18 is 1, the thinning processing unit 130 sets the value of the thin line structure signal ThinLine [ch] to 1.

細線構造信号ThinLine[ch]=1は、縦又は横方向に沿った1画素幅の線があることを示す。
第一のパターンマッチング処理後、細線構造信号ThinLine[ch]の値が0である場合、注目画素Cを中心として並ぶ縦及び横の3画素について、白黒白のパターンがないことを示す。その場合、細線化処理部130は、注目画素Cを中心として並ぶ斜め方向の3画素について、白黒白のパターンがあるか否かを判定する。注目画素Cを中心として並ぶ斜め方向の3画素について、白黒白のパターンがある場合、細線化処理部130は、細線構造信号ThinLine[ch]の値を2とする。本実施形態の細線化処理部130は、注目画素Cを中心として並ぶ斜め方向の3画素について、白黒白のパターンがあるか否かを判定するにあたり、第二のパターンマッチング処理を行う。
The thin line structure signal ThinLine [ch] = 1 indicates that there is a line having a width of one pixel along the vertical or horizontal direction.
After the first pattern matching process, when the value of the thin line structure signal ThinLine [ch] is 0, it indicates that there is no monochrome white pattern for the vertical and horizontal three pixels arranged around the target pixel C. In this case, the thinning processing unit 130 determines whether or not there is a monochrome white pattern for the three pixels in the diagonal direction centered on the target pixel C. When there is a black and white pattern for three diagonal pixels arranged around the pixel of interest C, the thinning processing unit 130 sets the value of the thin line structure signal ThinLine [ch] to 2. The thinning processing unit 130 of the present embodiment performs a second pattern matching process when determining whether there is a black and white pattern for three diagonal pixels arranged around the target pixel C.

図8(A)、(B)に、第二のパターンマッチング処理のイメージ図を示す。図8(A)は、注目画素Cを中心として左上から右下にかけて並ぶ斜め方向の3画素について、白黒白のパターンがあるか否かを判定する処理のイメージ図を示し、図8(B)は、注目画素Cを中心として右上から左下にかけて並ぶ斜め方向の3画素について、白黒白のパターンがあるか否かを判定する処理のイメージ図を示す。
第二のパターンマッチング処理として、白黒白のパターンがあるか否かを判定する場合、細線化処理部130は、2値化エッジ値e7及びe19又はe9及びe17のいずれか一方の組が共に1であるか否かを判定する。2値化エッジ値e7及びe19又はe9及びe17のいずれか一方の組が共に1である場合、細線化処理部130は、細線構造信号ThinLine[ch]の値を2とする。
8A and 8B show an image diagram of the second pattern matching process. FIG. 8A shows an image diagram of processing for determining whether or not there is a monochrome white pattern for three diagonal pixels arranged from the upper left to the lower right with the target pixel C as the center, and FIG. The image figure of the process which determines whether a monochrome white pattern exists about three pixels of the diagonal direction arranged from the upper right to the lower left centering on the attention pixel C is shown.
When determining whether or not there is a black and white pattern as the second pattern matching processing, the thinning processing unit 130 determines that either one of the binarized edge values e7 and e19 or e9 and e17 is set to 1. It is determined whether or not. If any one of the binarized edge values e7 and e19 or e9 and e17 is 1, the thinning processing unit 130 sets the value of the thin line structure signal ThinLine [ch] to 2.

細線構造信号ThinLine[ch]=2は、斜め方向の1画素幅の線があることを示す。
第二のパターンマッチング処理後、細線構造信号ThinLine[ch]の値が0である場合、注目画素Cを中心として並ぶ縦、横及び斜めの3画素について、白黒白のパターンがないことを示す。その場合、細線化処理部130は、注目画素Cを含んだ縦又は横の2画素幅の線があるか否かを判定する。注目画素Cを含んだ縦又は横の2画素幅の線がある場合、細線化処理部130は、細線構造信号ThinLine[ch]の値を3とする。本実施形態の細線化処理部130は、注目画素Cを含んだ縦又は横の2画素幅の線があるか否かを判定するにあたり、第三のパターンマッチング処理を行う。
A thin line structure signal ThinLine [ch] = 2 indicates that there is a line with a width of one pixel in an oblique direction.
After the second pattern matching processing, when the value of the thin line structure signal ThinLine [ch] is 0, it indicates that there is no black and white pattern for three vertical, horizontal, and diagonal pixels arranged around the pixel of interest C. In that case, the thinning processing unit 130 determines whether or not there is a vertical or horizontal two-pixel wide line including the target pixel C. When there is a vertical or horizontal two-pixel wide line including the target pixel C, the thinning processing unit 130 sets the value of the thin line structure signal ThinLine [ch] to 3. The thinning processing unit 130 of the present embodiment performs a third pattern matching process in determining whether there is a vertical or horizontal two-pixel wide line including the target pixel C.

図9(A)〜(D)に、第三のパターンマッチング処理のイメージ図を示す。図9(A)は、2値化エッジ値e12及びe15が1であるか否かを判定する処理のイメージ図を示し、図9(B)は、2値化エッジ値e11及びe14が1であるか否かを判定する処理のイメージ図を示し、図9(C)は、2値化エッジ値e8及びe23が1であるか否か否かを判定する処理のイメージ図を示し、図9(D)は、2値化エッジ値e3及びe18が1であるか否か否かを判定する処理のイメージ図を示す。
第三のパターンマッチング処理として、細線化処理部130は、2値化エッジ値e12及びe15、e11及びe14、e8及びe23又はe3及びe18のいずれか一の組が共に1であるか否かを判定する。2値化エッジ値e12及びe15、e11及びe14、e8及びe23又はe3及びe18のいずれか一の組が共に1である場合、細線化処理部130は、細線構造信号ThinLine[ch]の値を3とする。
9A to 9D are image diagrams of the third pattern matching process. FIG. 9A shows an image diagram of processing for determining whether or not the binarized edge values e12 and e15 are 1. FIG. 9B shows that the binarized edge values e11 and e14 are 1. FIG. 9C shows an image diagram of processing for determining whether or not, and FIG. 9C shows an image diagram of processing for determining whether or not the binarized edge values e8 and e23 are 1, FIG. 9D. Shows an image diagram of processing for determining whether or not the binarized edge values e3 and e18 are one.
As a third pattern matching process, the thinning processing unit 130 determines whether or not any one of the binarized edge values e12 and e15, e11 and e14, e8 and e23, or e3 and e18 is 1. judge. When any one of the binarized edge values e12 and e15, e11 and e14, e8 and e23 or e3 and e18 is 1, the thinning processing unit 130 sets the value of the thin line structure signal ThinLine [ch]. 3

細線構造信号ThinLine[ch]=3は、注目画素Cを含んだ縦又は横の2画素幅の線があることを示す。
第三のパターンマッチング処理後、細線構造信号ThinLine[ch]の値が0である場合、注目画素Cを中心として並ぶ縦、横及び斜めの3画素について白黒白のパターンがないことならびに注目画素Cを含んだ縦及び横の2画素幅の線がないことを示す。その場合、細線化処理部130は、注目画素Cを含んだ斜め方向の2画素幅の線があるか否かを判定する。注目画素Cを含んだ斜め方向の2画素幅の線がある場合、細線化処理部130は、細線構造信号ThinLine[ch]の値を4とする。本実施形態の細線化処理部130は、注目画素Cを含んだ斜め方向の2画素幅の線があるか否かを判定するにあたり、第四のパターンマッチング処理を行う。
The thin line structure signal ThinLine [ch] = 3 indicates that there is a vertical or horizontal two-pixel wide line including the target pixel C.
After the third pattern matching processing, when the value of the thin line structure signal ThinLine [ch] is 0, there is no black and white pattern for the vertical, horizontal, and diagonal three pixels arranged around the target pixel C, and the target pixel C This indicates that there are no vertical and horizontal two-pixel-width lines including. In that case, the thinning processing unit 130 determines whether or not there is a line with a two-pixel width in an oblique direction including the target pixel C. When there is a diagonal two-pixel line including the target pixel C, the thinning processing unit 130 sets the value of the thin line structure signal ThinLine [ch] to 4. The thinning processing unit 130 of the present embodiment performs a fourth pattern matching process when determining whether or not there is a line with a two-pixel width in the diagonal direction including the target pixel C.

図10(A)〜(D)に、第四のパターンマッチング処理のイメージ図を示す。図10(A)は、2値化エッジ値e1及びe19が1であるか否か否かを判定する処理のイメージ図を示し、図10(B)は、2値化エッジ値e5及びe17が1であるか否かを判定する処理のイメージ図を示し、図10(C)は、2値化エッジ値e7及びe25が1であるか否かを判定する処理のイメージ図を示し、図10(D)は、2値化エッジ値e9及びe21が1であるか否かを判定する処理のイメージ図を示す。
第四のパターンマッチング処理として、細線化処理部130は、2値化エッジ値e1及びe19、e5及びe17、e7及びe25又はe9及びe21のいずれか一の組が共に1であるか否かを判定する。2値化エッジ値e1及びe19、e5及びe17、e7及びe25又はe9及びe21のいずれか一の組が共に1である場合、細線化処理部130は、細線構造信号ThinLine[ch]の値を4とする。
10A to 10D are image diagrams of the fourth pattern matching process. FIG. 10A shows an image diagram of processing for determining whether or not the binarized edge values e1 and e19 are 1, and FIG. 10B shows that the binarized edge values e5 and e17 are 1. FIG. 10C shows an image diagram of processing for determining whether or not the binarized edge values e7 and e25 are 1, and FIG. Shows an image diagram of processing for determining whether or not the binarized edge values e9 and e21 are 1. FIG.
As the fourth pattern matching process, the thinning processing unit 130 determines whether or not any one of the binarized edge values e1 and e19, e5 and e17, e7 and e25, or e9 and e21 is 1. judge. When any one of the binarized edge values e1 and e19, e5 and e17, e7 and e25, or e9 and e21 is 1, the thinning processing unit 130 sets the value of the thin line structure signal ThinLine [ch]. 4

細線構造信号ThinLine[ch]=4は、注目画素Cを含んだ斜め方向の2画素幅の線があることを示す。
注目画素Cを含んだ縦又は横の2画素幅の線があるか否かを判定した後、細線構造信号ThinLine[ch]の値が0である場合、注目画素Cを中心として並ぶ縦、横及び斜めの3画素について白黒白のパターンがないことならびに注目画素Cを含んだ縦、横及び斜め方向の2画素幅の線がないことを示す。その場合、細線化処理部130は、細線構造信号ThinLine[ch]の値を0のままとする。細線構造信号ThinLine[ch]=0は、3画素以上の幅を有する画素の固まりがあることを示す。
細線化処理部130は、細線構造信号ThinLine[ch]の値が0以外になったとき又は第四のパターンマッチング処理の終了後、細線構造信号ThinLine[ch]の値を決定する処理を終了する。
The thin line structure signal ThinLine [ch] = 4 indicates that there is a line with a two-pixel width in an oblique direction including the pixel of interest C.
After determining whether or not there is a vertical or horizontal two-pixel wide line including the pixel of interest C, if the value of the thin line structure signal ThinLine [ch] is 0, the vertical and horizontal lines centered on the pixel of interest C In addition, it indicates that there is no black-and-white pattern for the three diagonal pixels, and that there are no two-pixel wide lines including the target pixel C in the vertical, horizontal, and diagonal directions. In this case, the thinning processing unit 130 keeps the value of the thin line structure signal ThinLine [ch] as 0. The thin line structure signal ThinLine [ch] = 0 indicates that there is a cluster of pixels having a width of 3 pixels or more.
The thinning processing unit 130 ends the process of determining the value of the thin line structure signal ThinLine [ch] when the value of the thin line structure signal ThinLine [ch] becomes other than 0 or after the fourth pattern matching process is finished. .

細線構造信号ThinLine[ch]の値の決定処理に示すように、細線化処理部130は、注目画素Cを含む線画の線幅を検出する線幅検出手段として機能する。そして、細線構造信号ThinLine[ch]は、線幅情報として機能する。
また、細線化処理部130は、細線構造信号ThinLine[ch]の値を、注目画素Cを含む線画の幅方向の画素数に応じて設定する。
さらに、細線化処理部130は、細線構造信号ThinLine[ch]の値を、線画の幅方向が画像の縦横のいずれか一方に沿っているか否かに応じて設定する。本実施形態では、細線構造信号ThinLine[ch]は、その値が1又は3の場合、線画の幅方向が画像の縦横のいずれか一方に沿っていることを示す。一方、細線構造信号ThinLine[ch]は、その値が2又は4の場合、線画の幅方向が画像の縦横のいずれか一方に沿っておらず、斜め方向であることを示す。
As shown in the process of determining the value of the thin line structure signal ThinLine [ch], the thinning processing unit 130 functions as a line width detecting unit that detects the line width of the line drawing including the target pixel C. The thin line structure signal ThinLine [ch] functions as line width information.
Further, the thinning processing unit 130 sets the value of the thin line structure signal ThinLine [ch] according to the number of pixels in the width direction of the line drawing including the target pixel C.
Further, the thinning processing unit 130 sets the value of the thin line structure signal ThinLine [ch] according to whether the width direction of the line drawing is along one of the vertical and horizontal directions of the image. In the present embodiment, when the value of the thin line structure signal ThinLine [ch] is 1 or 3, it indicates that the width direction of the line drawing is along one of the vertical and horizontal directions of the image. On the other hand, when the value of the thin line structure signal ThinLine [ch] is 2 or 4, it indicates that the width direction of the line drawing is not along either the vertical or horizontal direction of the image but is an oblique direction.

次に、細線化処理部130は、白抜き文字情報WThinLine[ch]を生成する。
白抜き文字情報WThinLine[ch]を生成するにあたり、細線化処理部130は、非エッジ値fn[ch] (n=1〜25)を求める。非エッジ値fn[ch]は、注目画素Cの画素値と周辺画素の画素値との差が所定の範囲内に収まっているか否かを示す。本実施形態では、各周辺画素のエッジ強度En[ch]が第三の閾値FlatTHを下回る場合、細線化処理部130は、注目画素Cの画素値と周辺画素の画素値との差が所定の範囲内に収まっていると判定し、その周辺画素の非エッジ値fn[ch]の値を1とする。一方、本実施形態では、各周辺画素のエッジ強度En[ch]が第三の閾値FlatTH以上の場合、その周辺画素の非エッジ値fn[ch]の値を0とする。
Next, the thinning processing unit 130 generates outline character information WThinLine [ch].
In generating the outline character information WThinLine [ch], the thinning processing unit 130 obtains a non-edge value fn [ch] (n = 1 to 25). The non-edge value fn [ch] indicates whether or not the difference between the pixel value of the target pixel C and the pixel values of the peripheral pixels is within a predetermined range. In the present embodiment, when the edge intensity En [ch] of each peripheral pixel is lower than the third threshold value FlatTH, the thinning processing unit 130 determines that the difference between the pixel value of the target pixel C and the pixel value of the peripheral pixel is a predetermined value. It is determined that it is within the range, and the non-edge value fn [ch] of the surrounding pixels is set to 1. On the other hand, in this embodiment, when the edge intensity En [ch] of each peripheral pixel is equal to or greater than the third threshold value FlatTH, the value of the non-edge value fn [ch] of the peripheral pixel is set to 0.

図11に、5×5[画素]のブロックBの注目画素Cに対する周辺画素の非エッジ値fn [ch]の関係の一例を示す。
本実施形態では、図11に示すように、非エッジ値f01〜f25のうち、f01、f03、f05、f11、f15、f21、f23、f25以外は用いないので、使用しない非エッジ値については算出してもしなくてもよい。
FIG. 11 shows an example of the relationship of the non-edge value fn [ch] of the peripheral pixels with respect to the target pixel C of the block B of 5 × 5 [pixels].
In the present embodiment, as shown in FIG. 11, since non-edge values f01 to f25 other than f01, f03, f05, f11, f15, f21, f23, and f25 are not used, non-edge values that are not used are calculated. You don't have to.

非エッジ値fn[ch]を得た後、細線化処理部130は、2値化エッジ値en[fh]及び非エッジ値fn[ch]に基づいて、白抜き線が存在するか否かを判定する処理を行う。
具体的には、細線化処理部130は、まず、白抜き文字情報WThinLine[ch]を初期値0で設定する。その後、縦又は横の1画素幅の白抜き線があるか否かを判定する。縦又は横の1画素幅の白抜き線がある場合、細線化処理部130は、白抜き文字情報WThinLine[ch]の値を1とする。本実施形態の細線化処理部130は、縦又は横の1画素幅の白抜き線があるか否かを判定するにあたり、第五のパターンマッチング処理を行う。
After obtaining the non-edge value fn [ch], the thinning processing unit 130 determines whether a white line exists based on the binarized edge value en [fh] and the non-edge value fn [ch]. Processing to determine is performed.
Specifically, the thinning processing unit 130 first sets the outline character information WThinLine [ch] with an initial value of 0. Thereafter, it is determined whether or not there is a vertical line or horizontal line with a width of one pixel. When there is a vertical line or horizontal white line of one pixel width, the thinning processing unit 130 sets the value of the white character information WThinLine [ch] to 1. The thinning processing unit 130 of the present embodiment performs a fifth pattern matching process in determining whether there is a vertical or horizontal white pixel line.

図12(A)〜(D)に、第五のパターンマッチング処理のイメージ図を示す。図12(A)は、注目画素Cの左側に白抜き線があるか否かを判定する処理のイメージ図を示し、図12(B)は、注目画素Cの上側に白抜き線があるか否かを判定する処理のイメージ図を示し、図12(C)は、注目画素Cの右側に白抜き線があるか否かを判定する処理のイメージ図を示し、図12(D)は、注目画素Cの下側に白抜き線があるか否かを判定する処理のイメージ図を示す。
第五のパターンマッチング処理として、細線化処理部130は、非エッジ値f11及び2値化エッジ値e12、非エッジ値f3及び2値化エッジ値e8、非エッジ値f15及び2値化エッジ値e14、非エッジ値f23及び2値化エッジ値e18のいずれか一の組が共に1であるか否かを判定する。非エッジ値f11及び2値化エッジ値e12、非エッジ値f3及び2値化エッジ値e8、非エッジ値f15及び2値化エッジ値e14、非エッジ値f23及び2値化エッジ値e18のいずれか一の組が共に1である場合、細線化処理部130は、白抜き文字情報WThinLine[ch]の値を1とする。
12A to 12D are image diagrams of the fifth pattern matching process. 12A shows an image diagram of processing for determining whether or not there is a white line on the left side of the target pixel C. FIG. 12B shows whether or not there is a white line on the upper side of the target pixel C. FIG. 12C shows an image diagram of processing for determining whether or not there is a white line on the right side of the target pixel C, and FIG. 12D shows the image of the target pixel C. The image figure of the process which determines whether there is a white line below is shown.
As the fifth pattern matching process, the thinning processing unit 130 includes a non-edge value f11 and a binarized edge value e12, a non-edge value f3 and a binarized edge value e8, a non-edge value f15 and a binarized edge value e14. Whether any one of the non-edge value f23 and the binarized edge value e18 is 1 is determined. Any of non-edge value f11 and binarized edge value e12, non-edge value f3 and binarized edge value e8, non-edge value f15 and binarized edge value e14, non-edge value f23 and binarized edge value e18 If both sets are 1, the thinning processing unit 130 sets the value of the white character information WThinLine [ch] to 1.

白抜き文字情報WThinLine[ch]=1は、縦又は横の1画素幅の白抜き線があることを示す。
第五のパターンマッチング処理後、白抜き文字情報WThinLine[ch]の値が0である場合、縦又は横の1画素幅の白抜き線がないことを示す。その場合、細線化処理部130は、斜め方向の1画素幅の白抜き線があるか否かを判定する。斜め方向の1画素幅の白抜き線場合、細線化処理部130は、白抜き文字情報WThinLine[ch]の値を2とする。本実施形態の細線化処理部130は、斜め方向の1画素幅の白抜き線があるか否かを判定するにあたり、第六のパターンマッチング処理を行う。
White character information WThinLine [ch] = 1 indicates that there is a white or vertical white pixel line.
After the fifth pattern matching process, when the value of the white character information WThinLine [ch] is 0, it indicates that there is no vertical line or horizontal white line of 1 pixel width. In that case, the thinning processing unit 130 determines whether or not there is a white line with a one-pixel width in an oblique direction. In the case of a white line with a width of one pixel in the oblique direction, the thinning processing unit 130 sets the value of the white character information WThinLine [ch] to 2. The thinning processing unit 130 of the present embodiment performs a sixth pattern matching process when determining whether or not there is a white line with a one-pixel width in an oblique direction.

図13(A)〜(D)に、第六のパターンマッチング処理のイメージ図を示す。図13(A)は、注目画素Cの左上側に白抜き線があるか否かを判定する処理のイメージ図を示し、図13(B)は、注目画素Cの右上側に白抜き線があるか否かを判定する処理のイメージ図を示し、図13(C)は、注目画素Cの右下側に白抜き線があるか否かを判定する処理のイメージ図を示し、図13(D)は、注目画素Cの左下側に白抜き線があるか否かを判定する処理のイメージ図を示す。
第六のパターンマッチング処理として、細線化処理部130は、非エッジ値f1及び2値化エッジ値e7、非エッジ値f5及び2値化エッジ値e9、非エッジ値f25及び2値化エッジ値e19、非エッジ値f21及び2値化エッジ値e17のいずれか一の組が共に1であるか否かを判定する。非エッジ値f1及び2値化エッジ値e7、非エッジ値f5及び2値化エッジ値e9、非エッジ値f25及び2値化エッジ値e19、非エッジ値f21及び2値化エッジ値e17のいずれか一の組が共に1である場合、細線化処理部130は、白抜き文字情報WThinLine[ch]の値を2とする。
FIGS. 13A to 13D show image diagrams of the sixth pattern matching process. 13A shows an image diagram of processing for determining whether or not there is a white line on the upper left side of the target pixel C, and FIG. 13B shows a white line on the upper right side of the target pixel C. FIG. 13C shows an image diagram of a process for determining whether or not there is a white line on the lower right side of the target pixel C, and FIG. The image figure of the process which determines whether the white line exists in the lower left side of the attention pixel C is shown.
As the sixth pattern matching process, the thinning processing unit 130 includes a non-edge value f1 and a binarized edge value e7, a non-edge value f5 and a binarized edge value e9, a non-edge value f25 and a binarized edge value e19. Whether any one of the non-edge value f21 and the binarized edge value e17 is 1 is determined. Any of non-edge value f1 and binarized edge value e7, non-edge value f5 and binarized edge value e9, non-edge value f25 and binarized edge value e19, non-edge value f21 and binarized edge value e17 If both sets are 1, the thinning processing unit 130 sets the value of the white character information WThinLine [ch] to 2.

白抜き文字情報WThinLine[ch]=2は、斜め方向の1画素幅の白抜き線があることを示す。
第六のパターンマッチング処理後、白抜き文字情報WThinLine[ch]の値が0である場合、注目画素Cの周囲に白抜き線がないことを示す。その場合、細線化処理部130は、白抜き文字情報WThinLine[ch]の値を0のままとする。白抜き文字情報WThinLine[ch]=0は、注目画素Cに隣接する白抜き文字がないことを示す。
White character information WThinLine [ch] = 2 indicates that there is a white line of one pixel width in an oblique direction.
After the sixth pattern matching process, when the value of the white character information WThinLine [ch] is 0, it indicates that there is no white line around the pixel of interest C. In this case, the thinning processing unit 130 keeps the value of the white character information WThinLine [ch] as 0. White character information WThinLine [ch] = 0 indicates that there is no white character adjacent to the target pixel C.

細線構造信号ThinLine[ch]及び白抜き文字情報WThinLine[ch]は、各色(例えばCMYK)に対して個別に生成される。   The thin line structure signal ThinLine [ch] and the outline character information WThinLine [ch] are individually generated for each color (for example, CMYK).

次に、細線化処理部130は、細線化処理を行う。
細線化処理において、細線化処理部130は、まず、注目画素C及び注目画素Cに隣接する周辺画素がベタか否かを判定する。細線化処理部130は、第三の閾値SOBに基づいて、ベタか否かを判定し、その結果をベタ判定フラグ(ONSOLID、RVSOLID)として生成する。ベタ判定フラグONSOLID、RVSOLIDは共にON/OFFを示すデータである。ベタ判定フラグONSOLIDがONの場合、前景のベタであることを示す。ベタ判定フラグRVSOLIDがONの場合、背景のベタがONであることを示す。
本実施形態では、細線化処理部130は、正エッジ情報PEDGE[ch]、負エッジ情報REDGE[ch]をそれぞれ第三の閾値SOBと比較する。
細線化処理部130は、各色(例えばCMYK)の正エッジ情報PEDGE[ch]をそれぞれ第三の閾値SOBと比較し、1つ以上の正エッジ情報PEDGE[ch]が第三の閾値SOBよりも大きい場合に細線化処理部130はベタ判定フラグONSOLIDをONとする。いずれの正エッジ情報PEDGE[ch]も第三の閾値SOB以下である場合、細線化処理部130は、ベタ判定フラグONSOLIDをOFFとする。
また、細線化処理部130は、各色(例えばCMYK)の負エッジ情報REDGE[ch]をそれぞれ第三の閾値SOBと比較し、1つ以上の負エッジ情報REDGE[ch]が第三の閾値SOBよりも大きい場合に細線化処理部130はベタ判定フラグRVSOLIDをONとする。いずれの負エッジ情報REDGE[ch]も第三の閾値SOB以下である場合、細線化処理部130は、ベタ判定フラグRVSOLIDをOFFとする。
Next, the thinning processing unit 130 performs a thinning process.
In the thinning process, the thinning processing unit 130 first determines whether or not the target pixel C and peripheral pixels adjacent to the target pixel C are solid. The thinning processing unit 130 determines whether or not it is solid based on the third threshold value SOB, and generates the result as a solid determination flag (ONSOLID, RVSOLID). The solid determination flags ONSOLID and RVSOLID are both data indicating ON / OFF. When the solid determination flag ONSOLID is ON, it indicates that the foreground is solid. When the solid determination flag RVSOLID is ON, it indicates that the background solid is ON.
In the present embodiment, the thinning processing unit 130 compares the positive edge information PEDGE [ch] and the negative edge information REDGE [ch] with the third threshold value SOB.
The thinning processing unit 130 compares the positive edge information PEDGE [ch] of each color (for example, CMYK) with the third threshold value SOB, and one or more positive edge information PEDGE [ch] is more than the third threshold value SOB. If it is larger, the thinning processing unit 130 turns on the solid determination flag ONSOLID. If any of the positive edge information PEDGE [ch] is equal to or smaller than the third threshold value SOB, the thinning processing unit 130 sets the solid determination flag ONSOLID to OFF.
Further, the thinning processing unit 130 compares the negative edge information REDGE [ch] of each color (for example, CMYK) with the third threshold value SOB, and one or more negative edge information REDGE [ch] is compared with the third threshold value SOB. If it is larger than that, the thinning processing unit 130 sets the solid determination flag RVSOLID to ON. If any negative edge information REDGE [ch] is equal to or smaller than the third threshold value SOB, the thinning processing unit 130 turns the solid determination flag RVSOLID OFF.

ベタ判定フラグONSOLID、RVSOLIDの生成の後、細線化処理部130は、細線構造信号ThinLine[ch]及び白抜き文字情報WThinLine[ch]に基づいて細線化強度係数FTVL、BTVLの値を決定する。細線化強度係数FTVL、BTVLは、細線化の強度を示す係数である。   After generating the solid determination flags ONSOLID and RVSOLID, the thinning processing unit 130 determines the values of the thinning strength coefficients FTVL and BTVL based on the thin line structure signal ThinLine [ch] and the outline character information WThinLine [ch]. The thinning strength coefficients FTVL and BTVL are coefficients indicating the thinning strength.

図14に、細線構造信号ThinLine[ch]及び白抜き文字情報WThinLine[ch]と細線化強度係数FTVL、BTVLとの対応関係を示す。
図14に示すように、細線構造信号ThinLine[ch]、白抜き文字情報WThinLine[ch]の値に応じて、細線化強度係数FTVL、BTVLに個別の設定があらかじめなされている。
図14に示すSTVL及びBGSTVLは、注目画素Cが細線構造(例えば1画素幅又は2画素幅の線)及び白抜き文字を構成しない場合に用いられる設定値を示す。TLVL(TLVL1〜4)及びBGTLVL (BGTLVL1〜4)は、注目画素Cが細線構造を構成し、白抜き文字を構成しない場合に用いられる設定値を示す。WEVL (WEVL1,2)及びBGWEVL (BGWEVL1,2)は、注目画素Cが細線構造を構成せず、白抜き文字を構成する場合に用いられる設定値を示す。SWVL (SWVL1〜8)及びBGSWVL (BGSWVL1〜8)は、注目画素Cが細線構造及び白抜き文字を構成する場合に用いられる設定値を示す。
FIG. 14 shows a correspondence relationship between the thin line structure signal ThinLine [ch] and the outline character information WThinLine [ch] and the thinning intensity coefficients FTVL and BTVL.
As shown in FIG. 14, the thinning intensity coefficients FTVL and BTVL are individually set in advance according to the values of the thin line structure signal ThinLine [ch] and the outline character information WThinLine [ch].
STVL and BGSTVL shown in FIG. 14 indicate setting values used when the pixel of interest C does not form a thin line structure (for example, a line having a width of 1 pixel or 2 pixels) and a white character. TLVL (TLVL1 to 4) and BGTLVL (BGTLVL1 to 4) indicate setting values used when the target pixel C forms a thin line structure and does not form a white character. WEVL (WEVL1,2) and BGWEVL (BGWEVL1,2) indicate setting values used when the pixel of interest C does not form a thin line structure but forms an outline character. SWVL (SWVL1 to 8) and BGSWVL (BGSWVL1 to 8) indicate setting values used when the target pixel C forms a thin line structure and white characters.

各設定値には、それぞれ具体的な細線化の強度を示す値が設定される。本実施形態では、細線化の強度を最小(0)〜最大(100)で示す。大きな値が設定されるほど、細線化処理で施される細線化の度合い(強度)は強くなる。各設定値は、細線構造信号ThinLine[ch]が示す、注目画素Cを含む線画の幅方向の画素数が多いほど注目画素Cの細線化の強度、即ち細線化処理による注目画素Cの画素値の変更の度合いを大きくするよう設定される。   Each setting value is set to a value indicating a specific thinning intensity. In the present embodiment, the thinning intensity is indicated by a minimum (0) to a maximum (100). As a larger value is set, the degree (strength) of thinning performed in the thinning process becomes stronger. Each set value indicates the thinning intensity of the target pixel C, that is, the pixel value of the target pixel C by the thinning process as the number of pixels in the width direction of the line drawing including the target pixel C indicated by the thin line structure signal ThinLine [ch] increases. Is set to increase the degree of change.

図15に、図14に示す表の各設定値を具体化した一例を示す。
各設定値間を相対比較した場合の傾向として、WEVL及びBGWEVLは、大きな値が設定される。これは、白抜き文字がつぶれないよう、白抜き文字の輪郭を構成する画素の細線化を強めに行うことが望ましいためである。また、STVL及びBGSTVLも、大きな値が設定される。これは、細線構造でも白抜き文字でもない部分の輪郭には、強い細線化処理を施しても文字のかすれや消失を生じる可能性が低いためである。一方、TLVL及びBGTLVLは、弱めに設定される。これは、これは、細線構造に対して強い細線化処理を行うと、文字のかすれや消失を生じる可能性が大きくなるため、細線化処理の強度を弱くしたいためである。SWVL 及びBGSWVLは、中庸な値が設定される。これは、注目画素Cが細線構造を構成するため細線化処理の強度を弱くしたい一方で、注目画素Cが白抜き文字も同時に構成するため、細線化処理の強度が弱すぎると白抜き文字がつぶれる可能性が生じることから、強度を一方的に大きく、又は小さく設定することが困難なためである。
FIG. 15 shows an example in which each setting value in the table shown in FIG. 14 is embodied.
Large values are set for WEVL and BGWEVL as a tendency when the set values are relatively compared. This is because it is desirable to increase the thinning of the pixels constituting the outline of the outline character so that the outline character is not collapsed. Also, large values are set for STVL and BGSTVL. This is because the outline of a portion that is neither a fine line structure nor a white character is less likely to cause blurring or disappearance of the character even if a strong thinning process is performed. On the other hand, TLVL and BGTLVL are set weakly. This is because if the thinning process is performed with respect to the thin line structure, the possibility of fading or disappearance of characters increases, so that it is desired to reduce the strength of the thinning process. SWVL and BGSWVL are set to moderate values. This is because the pixel of interest C forms a thin line structure and thus it is desired to reduce the strength of the thinning process. On the other hand, the pixel of interest C also forms a white character at the same time. This is because it is difficult to set the strength unilaterally large or small because the possibility of crushing occurs.

本実施形態では、細線化処理部130は、細線構造信号ThinLine[ch]及び白抜き文字情報WThinLine[ch]に応じ、図15に示す細線化強度係数FTVL、BTVLの設定値を取得する。図15に示す各設定値は一例であり、他の値を設定してもよい。   In the present embodiment, the thinning processing unit 130 acquires setting values of the thinning strength coefficients FTVL and BTVL shown in FIG. 15 according to the thin line structure signal ThinLine [ch] and the outline character information WThinLine [ch]. Each setting value shown in FIG. 15 is an example, and other values may be set.

細線構造信号ThinLine[ch]及び白抜き文字情報WThinLine[ch]と細線化強度係数FTVL、BTVLとの対応関係を示すデータ(対応付け情報)は、細線化処理部130が保持している。このように、細線化処理部130は、線幅情報と輪郭画素に対して施す画素値の変更の度合いとを対応付ける対応付け情報を保持する対応付け情報保持手段として機能する。   The thinning processing unit 130 retains data (association information) indicating the correspondence between the thin line structure signal ThinLine [ch] and the outline character information WThinLine [ch] and the thinning strength coefficients FTVL and BTVL. As described above, the thinning processing unit 130 functions as association information holding means that holds association information that associates the line width information with the degree of change of the pixel value applied to the contour pixel.

また、細線化処理部130は、細線構造信号ThinLine[ch]及び白抜き文字情報WThinLine[ch]に基づいて、ToTalThinLineを設定し、その値を決定する。
ToTalThinLineの値の決定にあたり、後述する式(3)、(4)のように、細線化処理部130は、各色の細線構造信号ThinLine[ch]の論理和(TotalTL)及び各色の白抜き文字情報WThinLine[ch]の論理和(TotalWTL)を得る。
TotalTL=(ThinLine[0]|ThinLine[1] |ThinLine[2]|ThinLine[3])……(3)
TotalWTL=(WThinLine[0]|WThinLine[1]|WThinLine[2]|WThinLine[3])……(4)
そして、細線化処理部130は、後述する式(5)のように、TotalTLとTotalWTLの論理和をTotalThinLineとして得る。つまり、TotalThinLineの値は、各色の細線構造信号ThinLine[ch]及び各色の白抜き文字情報WThinLine[ch]の論理和に応じる。
TotalThinLine=(TotalTL|TotalWTL)……(5)
Further, the thinning processing unit 130 sets ToTalThinLine and determines its value based on the thin line structure signal ThinLine [ch] and the outline character information WThinLine [ch].
In determining the value of ToTalThinLine, as shown in equations (3) and (4) described later, the thinning processing unit 130 performs the logical sum (TotalTL) of the thin line structure signal ThinLine [ch] of each color and the white character information of each color. Get the logical sum (TotalWTL) of WThinLine [ch].
TotalTL = (ThinLine [0] | ThinLine [1] | ThinLine [2] | ThinLine [3]) …… (3)
TotalWTL = (WThinLine [0] | WThinLine [1] | WThinLine [2] | WThinLine [3]) …… (4)
Then, the thinning processing unit 130 obtains the logical sum of TotalTL and TotalWTL as TotalThinLine as shown in Equation (5) described later. That is, the value of TotalThinLine corresponds to the logical sum of the fine line structure signal ThinLine [ch] for each color and the white character information WThinLine [ch] for each color.
TotalThinLine = (TotalTL | TotalWTL) …… (5)

また、細線化処理部130は、属性データTAGのチェック処理及び拡張タグ(ETAG)の設定を行う。具体的には、細線化処理部130は、注目画素C及び注目画素Cに対して上下左右又は斜めのいずれかで隣接する8画素の属性データTAGを取得する。そして、取得された属性データTAGのいずれかがTEXT又はGRAPHICSを示す場合、細線化処理部130は注目画素Cに対して拡張タグ(ETAG)を設定し、ETAGの値をTEXT/GRAPHICSとする。一方、取得された属性データTAGのいずれもTEXT又はGRAPHICSを示さない、即ち9画素全ての属性データTAGがIMAGEを示す場合、細線化処理部130は注目画素Cに対して拡張タグ(ETAG)を設定し、ETAGの値をIMAGEとする。   The thinning processing unit 130 also performs attribute data TAG check processing and expansion tag (ETAG) setting. Specifically, the thinning processing unit 130 acquires attribute data TAG of 8 pixels adjacent to the target pixel C and the target pixel C either vertically or horizontally or diagonally. If any of the acquired attribute data TAG indicates TEXT or GRAPHICS, the thinning processing unit 130 sets an expansion tag (ETAG) for the pixel of interest C, and sets the ETAG value to TEXT / GRAPHICS. On the other hand, if none of the acquired attribute data TAG indicates TEXT or GRAPHICS, that is, if the attribute data TAG of all nine pixels indicates IMAGE, the thinning processing unit 130 applies an expansion tag (ETAG) to the target pixel C. Set the ETAG value to IMAGE.

また、細線化処理部130は、正エッジ情報PEDGE[ch]、負エッジ情報REDGE[ch]及び細線化強度係数FTVL、BTVLに基づいて前景強度dST_power_FG[ch]、背景強度dST_power_BG[ch]の算出を行う。本実施形態の細線化処理部130は、式(6)、(7)を用いて前景強度dST_power_FG[ch]、背景強度dST_power_BG[ch]の算出を行う。
dST_power_FG[ch]=−(FTVL×(PEDGE[ch]−REDGE[ch]))/256……(6)
dST_power_BG[ch]=(BTVL×(PEDGE[ch]−REDGE[ch]))/256……(7)
前景強度dST_power_FG[ch]、背景強度dST_power_BG[ch]の算出は、各色(例えばCMYK)に対して個別に行われる。
Further, the thinning processing unit 130 calculates the foreground strength dST_power_FG [ch] and the background strength dST_power_BG [ch] based on the positive edge information PEDGE [ch], the negative edge information REDGE [ch] and the thinning strength coefficients FTVL and BTVL. I do. The thinning processing unit 130 according to the present embodiment calculates the foreground intensity dST_power_FG [ch] and the background intensity dST_power_BG [ch] using Expressions (6) and (7).
dST_power_FG [ch] = − (FTVL × (PEDGE [ch] −REDGE [ch])) / 256 …… (6)
dST_power_BG [ch] = (BTVL × (PEDGE [ch] −REDGE [ch])) / 256 …… (7)
The foreground intensity dST_power_FG [ch] and the background intensity dST_power_BG [ch] are calculated individually for each color (for example, CMYK).

次に、細線化処理部130は、補正値dST[ch]を設定し、その値を決定する。
細線化処理部130は、補正値dST[ch]の値を決定するにあたり、輪郭情報E_EDGE、ETAG、ベタ判定フラグONSOLID及び背景情報BACKGROUND[ch]の値をチェックする。注目画素Cについて、輪郭情報E_EDGEがONであり、ETAGの値がIMAGEでなく、ベタ判定フラグONSOLIDがONであって、かつ、背景情報BACKGROUND[ch]がOFFの場合、細線化処理部130は前景強度dST_power_FG[ch]の値を補正値dST[ch]の値とする。また、注目画素Cについて、輪郭情報E_EDGEであり、ETAGの値がIMAGEでなく、ベタ判定フラグONSOLIDがONであって、かつ、背景情報BACKGROUND[ch]がONの場合、細線化処理部130は背景強度dST_power_BG[ch]の値を補正値dST[ch]の値とする。それ以外の場合、即ち、輪郭情報E_EDGEがOFFであるか、ETAGの値がIMAGEであるか、あるいはベタ判定フラグONSOLIDがOFFである場合、細線化処理部130は補正値dST[ch]の値を0とする。
Next, the thinning processing unit 130 sets a correction value dST [ch] and determines the value.
In determining the correction value dST [ch], the thinning processing unit 130 checks the values of the contour information E_EDGE, ETAG, the solid determination flag ONSOLID, and the background information BACKGROUND [ch]. For the target pixel C, when the outline information E_EDGE is ON, the ETAG value is not IMAGE, the solid determination flag ONSOLID is ON, and the background information BACKGROUND [ch] is OFF, the thinning processing unit 130 The value of the foreground intensity dST_power_FG [ch] is set as the correction value dST [ch]. For the pixel of interest C, if the contour information is E_EDGE, the ETAG value is not IMAGE, the solid determination flag ONSOLID is ON, and the background information BACKGROUND [ch] is ON, the thinning processing unit 130 The value of the background intensity dST_power_BG [ch] is set as the correction value dST [ch]. In other cases, that is, when the contour information E_EDGE is OFF, the ETAG value is IMAGE, or the solid determination flag ONSOLID is OFF, the thinning processing unit 130 sets the correction value dST [ch] value. Is 0.

また、細線化処理部130は、細線化フラグFlagST[ch]を設定し、その値を決定する。細線化フラグFlagST[ch]は細線化を行うか否かをON/OFFで示すデータである。
細線化処理部130は、細線化フラグFlagST[ch]の値を決定するにあたり、輪郭情報E_EDGE、ETAG及びベタ判定フラグONSOLIDの値をチェックする。注目画素Cについて、輪郭情報E_EDGEがONであり、ETAGの値がIMAGEでなく、かつ、ベタ判定フラグONSOLIDがONの場合、細線化処理部130は細線化フラグFlagST[ch]をONとする。それ以外の場合、即ち、輪郭情報E_EDGEがOFFであるか、ETAGの値がIMAGEであるか、あるいはベタ判定フラグONSOLIDがOFFである場合、細線化処理部130は細線化フラグFlagST[ch]をOFFとする。
Further, the thinning processing unit 130 sets a thinning flag FlagST [ch] and determines its value. The thinning flag FlagST [ch] is data indicating ON / OFF whether or not thinning is performed.
In determining the value of the thinning flag FlagST [ch], the thinning processing unit 130 checks the values of the contour information E_EDGE, ETAG, and the solid determination flag ONSOLID. For the pixel of interest C, if the contour information E_EDGE is ON, the ETAG value is not IMAGE, and the solid determination flag ONSOLID is ON, the thinning processing unit 130 turns the thinning flag FlagST [ch] ON. In other cases, that is, when the contour information E_EDGE is OFF, the ETAG value is IMAGE, or the solid determination flag ONSOLID is OFF, the thinning processing unit 130 sets the thinning flag FlagST [ch]. Set to OFF.

輪郭情報E_EDGEがONであるということは、注目画素Cが輪郭(エッジ)を構成する画素であることを示す。ETAGの値がIMAGEでないとういうことは、属性データTAGがTEXT又はGRAPHICSであり、注目画素Cが文字又は線画を構成する画素であることを示す。そして、ベタ判定フラグONSOLIDがONであるということは、注目画素Cが前景のベタ画素であることを示す。
本実施形態において、細線化処理部130は、注目画素Cが輪郭(エッジ)を構成する画素であり、文字又は線画を構成する画素であり、注目画素Cが前景のベタ画素である場合に細線化処理を行う。そこで、輪郭情報E_EDGE、ETAG及びベタ判定フラグONSOLIDの値をチェックし、細線化フラグFlagST[ch]のON/OFFを決定する。
また、細線化処理部130は、注目画素Cが前景に含まれるか背景に含まれるかによって、細線化処理による注目画素値の画素値を変更する。注目画素Cが前景に含まれる場合、周囲に対して注目画素Cの画素値が大きい、即ち色が濃いということである。この場合、細線化処理部130は補正値dST[ch]の値を注目画素Cの画素値を低減させる値とする。式(6)に示すように、前景強度dST_power_FG[ch]の値は負の値である。後述する式(9)で示すように、細線化処理部130は、注目画素Cの画素値に補正値dST[ch]の値を加算することで画素値を低減させる。一方、注目画素Cが背景に含まれる場合、周囲に対して注目画素Cの画素値が小さい、即ち色が薄いということである。この場合、細線化処理部130は補正値dST[ch]の値を注目画素Cの画素値を増大させる値とする。式(7)に示すように、背景強度dST_power_BG[ch]の値は正の値である。後述する式(9)で示すように、細線化処理部130は、注目画素Cの画素値に補正値dST[ch]の値を加算することで画素値を増大させる。細線化処理部130は、背景情報BACKGROUND[ch]の値に基づいて、注目画素Cが前景に含まれるか背景に含まれるかを判定する。
The fact that the contour information E_EDGE is ON indicates that the target pixel C is a pixel constituting the contour (edge). That the value of ETAG is not IMAGE indicates that the attribute data TAG is TEXT or GRAPHICS, and the target pixel C is a pixel constituting a character or a line drawing. The solid determination flag ONSOLID being ON indicates that the target pixel C is a foreground solid pixel.
In the present embodiment, the thinning processing unit 130 is a pixel in which the target pixel C is a pixel that forms a contour (edge), a pixel that forms a character or a line drawing, and the target pixel C is a solid pixel in the foreground. Process. Therefore, the values of the contour information E_EDGE, ETAG, and the solid determination flag ONSOLID are checked, and ON / OFF of the thinning flag FlagST [ch] is determined.
Further, the thinning processing unit 130 changes the pixel value of the target pixel value by the thinning processing depending on whether the target pixel C is included in the foreground or the background. When the target pixel C is included in the foreground, the pixel value of the target pixel C is larger than the surroundings, that is, the color is dark. In this case, the thinning processing unit 130 sets the correction value dST [ch] as a value for reducing the pixel value of the pixel of interest C. As shown in Expression (6), the value of the foreground intensity dST_power_FG [ch] is a negative value. As shown in Expression (9) described later, the thinning processing unit 130 reduces the pixel value by adding the correction value dST [ch] to the pixel value of the pixel of interest C. On the other hand, when the target pixel C is included in the background, the pixel value of the target pixel C is small with respect to the surroundings, that is, the color is light. In this case, the thinning processing unit 130 sets the correction value dST [ch] as a value that increases the pixel value of the target pixel C. As shown in Expression (7), the value of the background intensity dST_power_BG [ch] is a positive value. As shown in Expression (9) described later, the thinning processing unit 130 increases the pixel value by adding the correction value dST [ch] to the pixel value of the target pixel C. The thinning processing unit 130 determines whether the pixel of interest C is included in the foreground or the background based on the value of the background information BACKGROUND [ch].

補正値dST[ch]及び細線化フラグFlagST[ch]は、各色(例えばCMYK)に対して個別に設定、決定される。
補正値dST[ch]及び細線化フラグFlagST[ch]の値の決定処理におけるチェック処理のうち共通部分、即ち輪郭情報E_EDGE、ETAG及びベタ判定フラグONSOLIDの値は個別に行う必要は無く、1回のチェック処理で補正値dST[ch]及び細線化フラグFlagST[ch]の値の決定を行うことができる。無論、チェック処理を個別に行っても良い。
The correction value dST [ch] and the thinning flag FlagST [ch] are individually set and determined for each color (for example, CMYK).
Of the check processing in the determination processing of the correction value dST [ch] and the thinning flag FlagST [ch], the common part, that is, the values of the contour information E_EDGE, ETAG, and the solid determination flag ONSOLID do not need to be performed individually, but once In this check process, the correction value dST [ch] and the value of the thinning flag FlagST [ch] can be determined. Of course, the check processing may be performed individually.

次に、細線化処理部130は、細線化実施フラグTotalSTを生成する。
後述する式(8)のように、細線化処理部130は、各色の細線化フラグFlagST[ch]の論理和を細線化実施フラグTotalSTとする。
TotalST=(FlagST[0] | FlagST[1] | FlagST[2] | FlagST[3])……(8)
細線化実施フラグTotalSTは、画像データに含まれる各色(例えばCMYK)のうち、一つ以上の色について、注目画素Cの細線化処理が行われるか否かを示す。いずれか一つ以上の色について注目画素Cの細線化処理が行われる場合、細線化実施フラグTotalSTはONとなる。ここで、いずれか一つ以上の色について注目画素Cの細線化処理が行われる、即ち各色の細線化フラグFlagST[ch]のうち少なくとも一つがONであるということは、各色の輪郭情報E_EDGEのうち少なくとも一つがONであることを示し、注目画素Cが輪郭を構成していることを示す。つまり、細線化実施フラグTotalSTがONであるということは、注目画素Cが輪郭を構成していることを示す。
Next, the thinning processing unit 130 generates a thinning execution flag TotalST.
As in equation (8) described later, the thinning processing unit 130 sets the logical sum of the thinning flags FlagST [ch] for each color as the thinning execution flag TotalST.
TotalST = (FlagST [0] | FlagST [1] | FlagST [2] | FlagST [3]) …… (8)
The thinning execution flag TotalST indicates whether or not the thinning process of the target pixel C is performed for one or more colors among the colors (for example, CMYK) included in the image data. When the thinning process of the target pixel C is performed for any one or more colors, the thinning execution flag TotalST is turned ON. Here, the thinning process of the pixel of interest C is performed for any one or more colors, that is, at least one of the thinning flags FlagST [ch] of each color is ON, the contour information E_EDGE of each color It indicates that at least one of them is ON, and indicates that the target pixel C forms a contour. That is, that the thinning execution flag TotalST is ON indicates that the target pixel C forms a contour.

また、細線化処理部130は、コントーン入力信号IS[ch]を生成する。細線化処理部130は、以下の式(9)を用いてコントーン入力信号IS[ch]を生成する。
IS[ch]=C[ch]+dST[ch]……(9)
式(9)のC[ch]は、各色(例えばCMYK)の注目画素Cの画素値を示す。つまり、コントーン入力信号IS[ch]は、注目画素Cの画素値C[ch]に補正値dST[ch]を加えた、細線化処理後の画素値を値として持つ。
コントーン入力信号IS[ch]は、各色(例えばCMYK)に対して個別に生成される。
Further, the thinning processing unit 130 generates a contone input signal IS [ch]. The thinning processing unit 130 generates a contone input signal IS [ch] using the following equation (9).
IS [ch] = C [ch] + dST [ch] (9)
C [ch] in Expression (9) indicates the pixel value of the pixel of interest C of each color (for example, CMYK). That is, the contone input signal IS [ch] has, as a value, a pixel value after thinning processing in which the correction value dST [ch] is added to the pixel value C [ch] of the target pixel C.
The contone input signal IS [ch] is generated individually for each color (for example, CMYK).

このように、細線化処理部130は、注目画素Cを含む線画の線幅と、細線構造信号ThinLine[ch]と細線化強度係数FTVL、BTVLとの対応関係を示すデータと、に基づいて輪郭画素の画素値を変更する画素値変更手段として機能する。   As described above, the thinning processing unit 130 contours based on the line width of the line drawing including the target pixel C and the data indicating the correspondence between the thin line structure signal ThinLine [ch] and the thinning intensity coefficients FTVL and BTVL. It functions as a pixel value changing means for changing the pixel value of the pixel.

コントーン処理部140は、コントーン入力信号IS[ch]に対してγ補正(ガンマ補正)処理を施した出力値をコントーン出力信号contone[ch]としてセレクタ160へ出力する。一方、スクリーン処理部150は、注目画素Cの画像データ及び属性データTAGを取得し、注目画素Cに対してγ補正処理及びスクリーン処理を施したスクリーン出力信号screen[ch]を生成し、セレクタ160へ出力する。スクリーン処理部150は、注目画素に対してスクリーン処理を施す一方で、コントーン処理部140は、細線化処理を施した注目画素Cに対してスクリーン処理を施さない。
なお、スクリーン処理及びγ補正処理については既知の処理であるので、その詳細を省略する。
The contone processing unit 140 outputs an output value obtained by performing γ correction (gamma correction) processing on the contone input signal IS [ch] to the selector 160 as a contone output signal contone [ch]. On the other hand, the screen processing unit 150 acquires the image data and attribute data TAG of the pixel of interest C, generates a screen output signal screen [ch] obtained by performing γ correction processing and screen processing on the pixel of interest C, and selects the selector 160. Output to. The screen processing unit 150 performs screen processing on the target pixel, while the contone processing unit 140 does not perform screen processing on the target pixel C that has been subjected to the thinning process.
Since the screen processing and the γ correction processing are known processing, details thereof are omitted.

セレクタ160は、細線化実施フラグTotalSTに基づいて、コントーン出力信号contone[ch]又はスクリーン出力信号screen[ch]のいずれか一方を出力画像データOut[ch]として画像形成部10へ出力する。
仮に、注目画素Cが細線化処理を施されるべき画素であるにも関わらず細線化処理を経ないスクリーン出力信号screen[ch]を注目画素Cに適用すると、印刷画像の輪郭にジャギーを生じさせ、画質を劣化させることとなる。そこで、セレクタ160は、細線化実施フラグTotalSTに基づいて、注目画素Cが細線化処理を行う対象となる画素であるか否かを判定し、注目画素Cが細線化処理を行う対象となる画素である場合には、セレクタ160はコントーン出力信号contone[ch]を注目画素Cの画素値とした出力画像データOut[ch]を出力する。一方、注目画素Cが細線化処理を行う対象となる画素でない場合には、セレクタ160はスクリーン出力信号screen[ch] を注目画素Cの画素値とした出力画像データOut[ch]を出力する。
Based on the thinning execution flag TotalST, the selector 160 outputs either the contone output signal contone [ch] or the screen output signal screen [ch] to the image forming unit 10 as output image data Out [ch].
If the screen output signal screen [ch] that does not undergo the thinning process is applied to the target pixel C even though the target pixel C is a pixel to be subjected to the thinning process, a jaggy occurs in the outline of the printed image. As a result, the image quality is degraded. Therefore, the selector 160 determines whether or not the target pixel C is a pixel to be subjected to the thinning process based on the thinning execution flag TotalST, and the pixel to which the target pixel C is to be subjected to the thinning process. In this case, the selector 160 outputs output image data Out [ch] with the contone output signal contone [ch] as the pixel value of the pixel of interest C. On the other hand, when the target pixel C is not a pixel to be thinned, the selector 160 outputs output image data Out [ch] with the screen output signal screen [ch] as the pixel value of the target pixel C.

ここで、前述のように、細線化実施フラグTotalSTがONであるということは、注目画素Cは輪郭を構成する画素であるということを示す。つまり、セレクタ160は、細線化実施フラグTotalSTに基づく判定により、画像の各画素に対して、輪郭画素である画素には細線化処理部130の処理結果であるコントーン出力信号contone[ch]を適用し、輪郭画素でない画素にはスクリーン処理部159の処理結果であるスクリーン出力信号screen[ch]を適用する処理選択手段として機能する。   Here, as described above, that the thinning execution flag TotalST is ON indicates that the target pixel C is a pixel constituting the contour. That is, the selector 160 applies the contone output signal contone [ch] that is the processing result of the thinning processing unit 130 to the pixels that are the contour pixels for each pixel of the image based on the determination based on the thinning execution flag TotalST. Then, it functions as a process selection unit that applies a screen output signal screen [ch], which is a processing result of the screen processing unit 159, to pixels that are not contour pixels.

次に、画像処理部100の各部の処理内容を図16及至図24のフローチャートを用いて説明する。
図16に、正エッジ情報PEDGE[ch]及び負エッジ情報REDGE[ch]の生成処理の流れの一例をフローチャートで示す。
まず、エッジ抽出部120は、エッジ強度En[ch]を算出する(ステップS1)。
次に、エッジ抽出部120は、注目画素Cの上下左右のエッジ強度(エッジ強度E08、E12、E14、E18)のうち最大値を正エッジ情報PEDGE[ch]とする(ステップS2)。そして、エッジ抽出部120は、正エッジ情報PEDGE[ch]が第一の閾値EDGETH未満であるか否かを判定する(ステップS3)。正エッジ情報PEDGE[ch]が第一の閾値EDGETH未満である場合(ステップS3:YES)、エッジ抽出部120は、正エッジ情報PEDGE[ch]を0とする(ステップS4)。
また、エッジ抽出部120は、注目画素Cの上下左右のエッジ強度(エッジ強度E08、E12、E14、E18)のうち最小値を負エッジ情報REDGE[ch]とする(ステップS5)。そして、エッジ抽出部120は、負エッジ情報REDGE[ch]が第一の閾値EDGETH未満であるか否かを判定する(ステップS6)。負エッジ情報REDGE[ch]が第一の閾値EDGETH未満である場合(ステップS6:YES)、エッジ抽出部120は、負エッジ情報REDGE[ch]を0とする(ステップS7)。
正エッジ情報PEDGE[ch]の生成と負エッジ情報REDGE[ch]の生成順序は順不同である。
Next, the processing contents of each unit of the image processing unit 100 will be described with reference to the flowcharts of FIGS.
FIG. 16 is a flowchart showing an example of the flow of processing for generating positive edge information PEDGE [ch] and negative edge information REDGE [ch].
First, the edge extraction unit 120 calculates the edge strength En [ch] (step S1).
Next, the edge extraction unit 120 sets the maximum value among the vertical and horizontal edge strengths (edge strengths E08, E12, E14, E18) of the target pixel C as the positive edge information PEDGE [ch] (step S2). Then, the edge extraction unit 120 determines whether the primary edge information PEDGE [ch] is less than the first threshold EDGETH (Step S3). When the normal edge information PEDGE [ch] is less than the first threshold EDGETH (step S3: YES), the edge extraction unit 120 sets the normal edge information PEDGE [ch] to 0 (step S4).
Further, the edge extraction unit 120 sets the minimum value among the vertical and horizontal edge strengths (edge strengths E08, E12, E14, and E18) of the target pixel C as negative edge information REDGE [ch] (step S5). Then, the edge extraction unit 120 determines whether or not the negative edge information REDGE [ch] is less than the first threshold EDGETH (step S6). When the negative edge information REDGE [ch] is less than the first threshold EDGETH (step S6: YES), the edge extraction unit 120 sets the negative edge information REDGE [ch] to 0 (step S7).
The generation order of the positive edge information PEDGE [ch] and the generation order of the negative edge information REDGE [ch] are in random order.

図17に、輪郭情報E_EDGEの生成処理の流れをフローチャートで示す。
輪郭情報E_EDGEの生成処理に先立ち、正エッジ情報PEDGE[ch]及び負エッジ情報REDGE[ch]の生成処理が行われている。
エッジ抽出部120は、中間データTOTALPEDGE、TOTALREDGEを求める(ステップS11)。次に、エッジ抽出部120は、TOTALPEDGEがTOTALREDGEより大きいか否かを判定する(ステップS12)。TOTALPEDGEがTOTALREDGEより大きい場合(ステップS12:YES)、エッジ抽出部120は、輪郭情報E_EDGEをONとする(ステップS13)。一方、TOTALPEDGEがTOTALREDGE以下の場合(ステップS12:NO)、エッジ抽出部120は、輪郭情報E_EDGEをOFFとする(ステップS14)。
FIG. 17 is a flowchart showing the flow of processing for generating the contour information E_EDGE.
Prior to the generation process of the contour information E_EDGE, the generation process of the positive edge information PEDGE [ch] and the negative edge information REDGE [ch] is performed.
The edge extraction unit 120 obtains intermediate data TOTALPEDGE and TOTALREDGE (step S11). Next, the edge extraction unit 120 determines whether TOTALPEDGE is larger than TOTALREDGE (step S12). When TOTALPEDGE is larger than TOTALREDGE (step S12: YES), the edge extraction unit 120 turns the contour information E_EDGE ON (step S13). On the other hand, when TOTALPEDGE is equal to or lower than TOTALREDGE (step S12: NO), the edge extraction unit 120 turns the contour information E_EDGE OFF (step S14).

図18に、前景情報FOREGROUND[ch]及び背景情報BACKGROUND[ch]の生成処理の流れをフローチャートで示す。
前景情報FOREGROUND[ch]及び背景情報BACKGROUND[ch]の生成処理に先立ち、正エッジ情報PEDGE[ch]及び負エッジ情報REDGE[ch]の生成処理が行われている。
エッジ抽出部120は、正エッジ情報PEDGE[ch]が負エッジ情報REDGE[ch]より大きいか否かを判定する(ステップS21)。正エッジ情報PEDGE[ch]が負エッジ情報REDGE[ch]より大きい場合(ステップS21:YES)、エッジ抽出部120は、前景情報FOREGROUND[ch]をONとし、背景情報BACKGROUND[ch]をOFFとして(ステップS22)、処理を終了する。正エッジ情報PEDGE[ch]が負エッジ情報REDGE[ch]以下の場合(ステップS21:NO)、エッジ抽出部120は、正エッジ情報PEDGE[ch]が負エッジ情報REDGE[ch]より小さいか否かを判定する(ステップS23)。正エッジ情報PEDGE[ch]が負エッジ情報REDGE[ch]より小さい場合(ステップS23:YES)、エッジ抽出部120は、前景情報FOREGROUND[ch]をOFFとし、背景情報BACKGROUND[ch]をONとして(ステップS24)、処理を終了する。ステップS23において、正エッジ情報PEDGE[ch]が負エッジ情報REDGE[ch]より小さくない場合(ステップS23:NO)、エッジ抽出部120は、前景情報FOREGROUND[ch]、背景情報BACKGROUND[ch]を共にOFFとして(ステップS25)、処理を終了する。
FIG. 18 is a flowchart showing a flow of processing for generating foreground information FOREGROUND [ch] and background information BACKGROUND [ch].
Prior to the generation processing of foreground information FOREGROUND [ch] and background information BACKGROUND [ch], generation processing of positive edge information PEDGE [ch] and negative edge information REDGE [ch] is performed.
The edge extraction unit 120 determines whether the positive edge information PEDGE [ch] is larger than the negative edge information REDGE [ch] (step S21). When the positive edge information PEDGE [ch] is larger than the negative edge information REDGE [ch] (step S21: YES), the edge extraction unit 120 turns on the foreground information FOREGROUND [ch] and turns off the background information BACKGROUND [ch]. (Step S22), the process ends. When the positive edge information PEDGE [ch] is equal to or less than the negative edge information REDGE [ch] (step S21: NO), the edge extraction unit 120 determines whether the positive edge information PEDGE [ch] is smaller than the negative edge information REDGE [ch]. Is determined (step S23). When the positive edge information PEDGE [ch] is smaller than the negative edge information REDGE [ch] (step S23: YES), the edge extraction unit 120 sets the foreground information FOREGROUND [ch] to OFF and the background information BACKGROUND [ch] to ON. (Step S24), the process ends. In step S23, when the positive edge information PEDGE [ch] is not smaller than the negative edge information REDGE [ch] (step S23: NO), the edge extraction unit 120 sets the foreground information FOREGROUND [ch] and the background information BACKGROUND [ch]. Both are turned off (step S25), and the process is terminated.

図19、図20に、細線構造信号ThinLine[ch]及び白抜き文字情報WThinLine[ch]の生成処理の流れをフローチャートで示す。
図19は、細線構造信号ThinLine[ch]及び白抜き文字情報WThinLine[ch]の生成処理のうち、ステップS31〜S44を示す。
図20は、細線構造信号ThinLine[ch]及び白抜き文字情報WThinLine[ch]の生成処理のうち、ステップS45〜S54を示す。
まず、細線化処理部130は、2値化エッジ値en [ch]及び非エッジ値fn[ch]を算出する(ステップS31)。また、細線化処理部130は、細線構造信号ThinLine[ch]及び白抜き文字情報WThinLine[ch]を共に初期値0で設定する(ステップS32)。
19 and 20 are flowcharts showing the flow of processing for generating the thin line structure signal ThinLine [ch] and the outline character information WThinLine [ch].
FIG. 19 shows steps S31 to S44 in the generation process of the thin line structure signal ThinLine [ch] and the outline character information WThinLine [ch].
FIG. 20 shows steps S45 to S54 in the generation process of the thin line structure signal ThinLine [ch] and the outline character information WThinLine [ch].
First, the thinning processing unit 130 calculates a binarized edge value en [ch] and a non-edge value fn [ch] (step S31). Further, the thinning processing unit 130 sets both the thin line structure signal ThinLine [ch] and the outline character information WThinLine [ch] with an initial value 0 (step S32).

次に、細線化処理部130は、細線構造信号ThinLine[ch]の値が0であるか否か判定する(ステップS33)。細線構造信号ThinLine[ch]の値が0である場合(ステップS33:YES)、細線化処理部130は、第一のパターンマッチング処理を行い(ステップS34)、マッチした場合(ステップS35:YES)、細線構造信号ThinLine[ch]を1とする(ステップS36)。
ステップS35においてマッチしなかった場合(ステップS35:NO)、細線化処理部130は、細線構造信号ThinLine[ch]の値が0であるか否か判定する(ステップS37)。細線構造信号ThinLine[ch]の値が0である場合(ステップS37:YES)、細線化処理部130は、第二のパターンマッチング処理を行い(ステップS38)、マッチした場合(ステップS39:YES)、細線構造信号ThinLine[ch]を2とする(ステップS40)。
ステップS39においてマッチしなかった場合(ステップS39:NO)、細線化処理部130は、細線構造信号ThinLine[ch]の値が0であるか否か判定する(ステップS41)。細線構造信号ThinLine[ch]の値が0である場合(ステップS41:YES)、細線化処理部130は、第三のパターンマッチング処理を行い(ステップS42)、マッチした場合(ステップS43:YES)、細線構造信号ThinLine[ch]を3とする(ステップS44)。
ステップS43においてマッチしなかった場合(ステップS43:NO)、細線化処理部130は、細線構造信号ThinLine[ch]の値が0であるか否か判定する(ステップS45)。細線構造信号ThinLine[ch]の値が0である場合(ステップS45:YES)、細線化処理部130は、第三のパターンマッチング処理を行い(ステップS46)、マッチした場合(ステップS47:YES)、細線構造信号ThinLine[ch]を4とする(ステップS48)。
Next, the thinning processing unit 130 determines whether or not the value of the thin line structure signal ThinLine [ch] is 0 (step S33). When the value of the thin line structure signal ThinLine [ch] is 0 (step S33: YES), the thinning processing unit 130 performs the first pattern matching process (step S34), and when matched (step S35: YES). The thin line structure signal ThinLine [ch] is set to 1 (step S36).
When there is no match in step S35 (step S35: NO), the thinning processing unit 130 determines whether or not the value of the thin line structure signal ThinLine [ch] is 0 (step S37). When the value of the thin line structure signal ThinLine [ch] is 0 (step S37: YES), the thinning processing unit 130 performs the second pattern matching process (step S38), and when matched (step S39: YES). The thin line structure signal ThinLine [ch] is set to 2 (step S40).
If there is no match in step S39 (step S39: NO), the thinning processing unit 130 determines whether or not the value of the thin line structure signal ThinLine [ch] is 0 (step S41). When the value of the thin line structure signal ThinLine [ch] is 0 (step S41: YES), the thinning processing unit 130 performs a third pattern matching process (step S42), and when matched (step S43: YES). The thin line structure signal ThinLine [ch] is set to 3 (step S44).
If no match is found in step S43 (step S43: NO), the thinning processing unit 130 determines whether or not the value of the thin line structure signal ThinLine [ch] is 0 (step S45). When the value of the thin line structure signal ThinLine [ch] is 0 (step S45: YES), the thinning processing unit 130 performs the third pattern matching process (step S46), and when matched (step S47: YES). The thin line structure signal ThinLine [ch] is set to 4 (step S48).

ステップS36、S40、S44又はS48の処理後、ステップS47においてマッチしなかった場合(ステップS47:NO)あるいはステップS33、S37、S41、S45において細線構造信号ThinLine[ch]の値が0でなかった場合、細線化処理部130は、第五のパターンマッチング処理を行い(ステップS49)、マッチした場合(ステップS50:YES)、白抜き文字情報WThinLine[ch]を1とする(ステップS51)。
ステップS50においてマッチしなかった場合(ステップS50:NO)、細線化処理部130は、第六のパターンマッチング処理を行い(ステップS52)、マッチした場合(ステップS53:YES)、白抜き文字情報WThinLine[ch]を2とする(ステップS54)。
ステップS51又はS54の処理後あるいはステップS53においてマッチしなかった場合(ステップS53:NO)、細線化処理部130は処理を終了する。
After step S36, S40, S44 or S48, if there is no match in step S47 (step S47: NO) or the value of the thin line structure signal ThinLine [ch] is not 0 in steps S33, S37, S41, S45 In this case, the thinning processing unit 130 performs a fifth pattern matching process (step S49), and when matched (step S50: YES), white character information WThinLine [ch] is set to 1 (step S51).
If there is no match in step S50 (step S50: NO), the thinning processing unit 130 performs a sixth pattern matching process (step S52). If there is a match (step S53: YES), the white character information WThinLine [ch] is set to 2 (step S54).
After the process of step S51 or S54 or when there is no match in step S53 (step S53: NO), the thinning processing unit 130 ends the process.

ステップS31の処理のうち、非エッジ値fn[ch]の算出はステップS49の処理前に行われていればよく、必ずしも2値化エッジ値en [ch]と同時に算出する必要はない。同様に、ステップS32の処理のうち、白抜き文字情報WThinLine[ch]を初期値0で設定する処理についても、非エッジ値fn[ch]の算出はステップS49の処理前に行われていればよく、必ずしも細線構造信号ThinLine[ch]と同時に設定する必要はない。
また、細線構造信号ThinLine[ch]の値を決定する処理と、白抜き文字情報WThinLine[ch]の値を決定する処理の順序は順不同である。
また、ステップS33、S37、S41、S45の処理は省略することができる。
Of the processing in step S31, the non-edge value fn [ch] may be calculated before the processing in step S49, and is not necessarily calculated simultaneously with the binarized edge value en [ch]. Similarly, in the process of setting the white character information WThinLine [ch] with the initial value 0 in the process of step S32, the calculation of the non-edge value fn [ch] is performed before the process of step S49. It is not always necessary to set the thin line structure signal ThinLine [ch] at the same time.
The order of the process for determining the value of the thin line structure signal ThinLine [ch] and the process for determining the value of the outline character information WThinLine [ch] are in no particular order.
Further, the processes of steps S33, S37, S41, and S45 can be omitted.

図21に、ベタ判定フラグONSOLID、RVSOLIDの生成処理の流れをフローチャートで示す。
細線化処理部130は、各色(例えばCMYK)の正エッジ情報PEDGE[ch]のいずれか一つ以上について、第三の閾値SOBより大きいか否かを判定する。(ステップS61)各色の正エッジ情報PEDGE[ch]のいずれか一つ以上が第三の閾値SOBより大きい場合(ステップS61:YES)、細線化処理部130はベタ判定フラグONSOLIDをONとする(ステップS62)。各色の正エッジ情報PEDGE[ch]のいずれも第三の閾値SOB以下である場合(ステップS61:NO)、細線化処理部130はベタ判定フラグONSOLIDをOFFとする(ステップS63)。
また、細線化処理部130は、各色(例えばCMYK)の負エッジ情報REDGE[ch]のいずれか一つ以上について、第三の閾値SOBより大きいか否かを判定する。(ステップS64)各色の負エッジ情報REDGE[ch]のいずれか一つ以上が第三の閾値SOBより大きい場合(ステップS64:YES)、細線化処理部130はベタ判定フラグRVSOLIDをONとする(ステップS65)。各色の負エッジ情報REDGE[ch]のいずれも第三の閾値SOB以下である場合(ステップS64:NO)、細線化処理部130はベタ判定フラグRVSOLIDをOFFとする(ステップS66)。
FIG. 21 is a flowchart showing the flow of processing for generating the solid determination flags ONSOLID and RVSOLID.
The thinning processing unit 130 determines whether any one or more of the positive edge information PEDGE [ch] of each color (for example, CMYK) is larger than the third threshold value SOB. (Step S61) If any one or more of the positive edge information PEDGE [ch] of each color is larger than the third threshold value SOB (Step S61: YES), the thinning processing unit 130 turns ON the solid determination flag ONSOLID ( Step S62). When all the positive edge information PEDGE [ch] of each color is equal to or smaller than the third threshold value SOB (step S61: NO), the thinning processing unit 130 turns off the solid determination flag ONSOLID (step S63).
Further, the thinning processing unit 130 determines whether any one or more of the negative edge information REDGE [ch] of each color (for example, CMYK) is larger than the third threshold value SOB. (Step S64) If any one or more of the negative edge information REDGE [ch] of each color is larger than the third threshold value SOB (step S64: YES), the thinning processing unit 130 turns on the solid determination flag RVSOLID ( Step S65). When all the negative edge information REDGE [ch] of each color is equal to or smaller than the third threshold value SOB (step S64: NO), the thinning processing unit 130 turns off the solid determination flag RVSOLID (step S66).

ベタ判定フラグONSOLIDの生成処理とベタ判定フラグRVSOLIDの生成処理の順序は順不同である。   The order of the solid determination flag ONSOLID generation process and the solid determination flag RVSOLID generation process is not specified.

図22に、拡張タグ(ETAG)の設定処理の流れをフローチャートで示す。
細線化処理部130は。注目画素C及び注目画素Cに対して上下左右又は斜めのいずれかで隣接する8画素、計9画素の属性データTAGが全てIMAGEを示す値であるか否か判定する(ステップS71)。当該9画素の属性データTAGが全てIMAGEを示す値である場合(ステップS71:YES)、細線化処理部130は、ETAGの値をIMAGEとする(ステップS72)。一方、当該9画素の属性データTAGのいずれか1画素以上がIMAGEを示す値でない場合(ステップS71:NO)、細線化処理部130は、ETAGの値をTEXT/GRAPHICSとする(ステップS73)。
FIG. 22 is a flowchart showing the process of setting an expansion tag (ETAG).
The thinning processing unit 130. It is determined whether or not the attribute data TAG of a total of nine pixels, that is, the target pixel C and eight pixels adjacent to the target pixel C either vertically or horizontally or diagonally, is a value indicating IMAGE (step S71). When the attribute data TAG of the nine pixels are all values indicating IMAGE (step S71: YES), the thinning processing unit 130 sets the ETAG value to IMAGE (step S72). On the other hand, if any one or more of the 9-pixel attribute data TAG is not a value indicating IMAGE (step S71: NO), the thinning processing unit 130 sets the ETAG value to TEXT / GRAPHICS (step S73).

図23に、補正値dST[ch]及び細線化フラグFlagST[ch]の生成処理の流れをフローチャートで示す。
まず、細線化処理部130は、前景強度dST_power_FG[ch]、背景強度dST_power_BG[ch]を算出する(ステップS81)。
次に、細線化処理部130は、注目画素Cについて、輪郭情報E_EDGEがONであり、ETAGの値がIMAGEでなく、かつ、ベタ判定フラグONSOLIDがONであるか否かを判定する(ステップS82)。注目画素Cについて、輪郭情報E_EDGEがONであり、ETAGの値がIMAGEでなく、かつ、ベタ判定フラグONSOLIDがONである場合(ステップS82:YES)、細線化処理部130は、背景情報BACKGROUND[ch]がONであるか否かを判定する(ステップS83)。背景情報BACKGROUND[ch]がONである場合(ステップS83:YES)、細線化処理部130は、背景強度dST_power_BG[ch]の値を補正値dST[ch]の値とし、細線化フラグFlagST[ch]をONとする(ステップS84)。背景情報BACKGROUND[ch]がOFFである場合(ステップS83:NO)、細線化処理部130は、前景強度dST_power_FG[ch]の値を補正値dST[ch]の値とし、細線化フラグFlagST[ch]をONとする(ステップS85)。ステップS82において、注目画素Cについて、輪郭情報E_EDGEがOFFであるか、ETAGの値がIMAGEであるか、又は、ベタ判定フラグONSOLIDがOFFである場合(ステップS82:NO)、細線化処理部130は、補正値dST[ch]の値を0とし、細線化フラグFlagST[ch]をOFFとする(ステップS86)。
FIG. 23 is a flowchart showing a flow of processing for generating the correction value dST [ch] and the thinning flag FlagST [ch].
First, the thinning processing unit 130 calculates the foreground intensity dST_power_FG [ch] and the background intensity dST_power_BG [ch] (step S81).
Next, the thinning processing unit 130 determines whether or not the contour information E_EDGE is ON for the target pixel C, the ETAG value is not IMAGE, and the solid determination flag ONSOLID is ON (step S82). ). For the target pixel C, when the contour information E_EDGE is ON, the value of ETAG is not IMAGE, and the solid determination flag ONSOLID is ON (step S82: YES), the thinning processing unit 130 uses the background information BACKGROUND [ Whether or not ch] is ON is determined (step S83). When the background information BACKGROUND [ch] is ON (step S83: YES), the thinning processing unit 130 uses the value of the background intensity dST_power_BG [ch] as the correction value dST [ch] and the thinning flag FlagST [ch ] Is turned ON (step S84). When the background information BACKGROUND [ch] is OFF (step S83: NO), the thinning processing unit 130 sets the value of the foreground intensity dST_power_FG [ch] as the correction value dST [ch] and the thinning flag FlagST [ch ] Is turned ON (step S85). In step S82, if the outline information E_EDGE is OFF, the ETAG value is IMAGE, or the solid determination flag ONSOLID is OFF for the target pixel C (step S82: NO), the thinning processing unit 130 Sets the correction value dST [ch] to 0 and sets the thinning flag FlagST [ch] to OFF (step S86).

図24に、出力画像データOut[ch]の生成処理の流れをフローチャートで示す。
セレクタ160は、細線化実施フラグTotalSTがONであるか否かを判定する(ステップS91)。細線化実施フラグTotalSTがONである場合(ステップS91:YES)、セレクタ160は、コントーン出力信号contone[ch]を出力画像データOut[ch]として出力する(ステップS92)。細線化実施フラグTotalSTがOFFである場合(ステップS91:YES)、セレクタ160は、スクリーン出力信号screen[ch]を出力画像データOut[ch]として出力する(ステップS93)。
FIG. 24 is a flowchart showing the flow of processing for generating output image data Out [ch].
The selector 160 determines whether or not the thinning execution flag TotalST is ON (step S91). When the thinning execution flag TotalST is ON (step S91: YES), the selector 160 outputs the contone output signal contone [ch] as the output image data Out [ch] (step S92). When the thinning execution flag TotalST is OFF (step S91: YES), the selector 160 outputs the screen output signal screen [ch] as the output image data Out [ch] (step S93).

画像形成部10は、画像処理部100からの出力画像データOut[ch]に基づいて画像を形成する。
図25に、画像形成部10の主要構成を示す。
画像形成部10は、用紙Aを備蓄可能な給紙トレイ11、12と、給紙トレイ11、12から一枚ずつ用紙Aを引き出す給紙部15、15と、用紙Aを後述する転写部30へ搬送する搬送部20と、用紙Aに画像を転写する転写部30と、用紙Aに転写された画像を定着させる定着部45と、用紙Aを排紙受け部80の上方へ排出する排紙部50と、手差しで給紙を行うための手差し給紙部70と、を有する。
The image forming unit 10 forms an image based on the output image data Out [ch] from the image processing unit 100.
FIG. 25 shows a main configuration of the image forming unit 10.
The image forming unit 10 includes paper feeding trays 11 and 12 that can store paper A, paper feeding units 15 and 15 that pull out the paper A one by one from the paper feeding trays 11 and 12, and a transfer unit 30 that will be described later. A transfer unit 20 that transfers the image onto the paper A, a fixing unit 45 that fixes the image transferred onto the paper A, and a paper discharge that discharges the paper A above the paper discharge receiving unit 80. Section 50 and a manual sheet feeding section 70 for manually feeding sheets.

給紙トレイ11は、画像形成部10の側方から引出し可能に設けられる。給紙トレイ11を引き出した状態で、その上方から用紙Aを載置して給紙トレイ11を画像形成部10にセットすることで給紙部15による用紙Aの給紙動作が可能となる。給紙トレイ11は、用紙Aを載置する底面に上げ底部(図示略)を有し、給紙トレイ11のセット時には用紙Aが載置された上げ底部が上昇動作する。これによって、給紙トレイ11内に備蓄された複数の用紙Aのうち、最も上に位置する用紙Aの上面が給紙部15の可動ローラ16に当接する。給紙トレイ12についても給紙トレイ11と同様である。
本実施形態の給紙トレイ11、12は、A4サイズの普通紙を備蓄する。
The paper feed tray 11 is provided so that it can be pulled out from the side of the image forming unit 10. In a state where the paper feed tray 11 is pulled out, the paper A is placed from above and the paper feed tray 11 is set in the image forming unit 10 so that the paper feed unit 15 can feed the paper A. The paper feed tray 11 has a raised bottom portion (not shown) on the bottom surface on which the paper A is placed, and when the paper feed tray 11 is set, the raised bottom portion on which the paper A is placed moves up. Accordingly, the upper surface of the uppermost sheet A among the plurality of sheets A stored in the sheet feed tray 11 comes into contact with the movable roller 16 of the sheet feeding unit 15. The paper feed tray 12 is the same as the paper feed tray 11.
The paper feed trays 11 and 12 of this embodiment store A4-size plain paper.

給紙部15は、その回転軸が上下動可能に設けられた可動ローラ16と、回転軸が固定された固定ローラ17とを有する。可動ローラ16、固定ローラ17はそれぞれモータ等の駆動部(図示略)によって回転駆動する。
可動ローラ16は、前述のように給紙トレイ11、12内に備蓄された複数の用紙Aのうち、最も上に位置する用紙Aの上面と当接する。用紙Aと当接した状態の可動ローラ16が回転駆動されることで、用紙Aは1枚ずつ固定ローラ17側へと引き出される。固定ローラ17は、可動ローラ16によって引き出された用紙Aを挟んで対向する位置に設けられたローラ18と協働して用紙Aを挟みこみ、回転駆動されることで用紙Aを搬送する。
The sheet feeding unit 15 includes a movable roller 16 having a rotation shaft that can move up and down, and a fixed roller 17 to which the rotation shaft is fixed. The movable roller 16 and the fixed roller 17 are driven to rotate by a driving unit (not shown) such as a motor.
The movable roller 16 contacts the upper surface of the uppermost sheet A among the plurality of sheets A stored in the sheet feed trays 11 and 12 as described above. When the movable roller 16 in contact with the paper A is rotationally driven, the paper A is pulled out one by one to the fixed roller 17 side. The fixed roller 17 sandwiches the paper A in cooperation with a roller 18 provided at a position opposed to the paper A drawn by the movable roller 16, and conveys the paper A by being driven to rotate.

給紙部15によって引き出されて搬送された用紙Aは、搬送部20の搬送ローラ21,21によって転写部30へと搬送される。搬送ローラ21,21は、用紙Aの搬送経路を挟んで対向する位置に設けられた一対のローラであり、モータ等の駆動部(図示略)によって回転駆動されることで用紙Aを搬送する。   The paper A drawn out and conveyed by the paper supply unit 15 is conveyed to the transfer unit 30 by the conveyance rollers 21 and 21 of the conveyance unit 20. The transport rollers 21 and 21 are a pair of rollers provided at positions facing each other across the transport path of the paper A, and transport the paper A by being rotationally driven by a driving unit (not shown) such as a motor.

転写部30は、中間転写体としての中間転写ベルト31と、テンションローラ33と協働で中間転写ベルト31を張架すると共に中間転写ベルト31を駆動する2次転写駆動ローラ32と、各色(シアン、マゼンダ、イエロー、ブラック)のトナーを担持する感光ドラム34C,34M,34Y,34Kと、中間転写ベルト31を挟んで各感光ドラムと対向する位置にそれぞれ設けられて各感光ドラムのトナーを中間転写ベルト31に転写するプラテンローラ35と、用紙Aにトナーを転写する転写ローラ36と、中間転写ベルト31をクリーニングするクリーニング部41を有する。   The transfer unit 30 includes an intermediate transfer belt 31 as an intermediate transfer member, a secondary transfer driving roller 32 that stretches the intermediate transfer belt 31 in cooperation with the tension roller 33 and drives the intermediate transfer belt 31, and each color (cyan). , Magenta, yellow, and black) toner drums 34C, 34M, 34Y, and 34K, and the intermediate transfer belt 31 between the photosensitive drums and the respective photosensitive drums are provided to the intermediate transfer. A platen roller 35 for transferring to the belt 31, a transfer roller 36 for transferring toner to the paper A, and a cleaning unit 41 for cleaning the intermediate transfer belt 31 are provided.

感光ドラム34C,34M,34Y,34Kの近傍にはそれぞれ各感光ドラムに帯電処理を施す帯電部37C,37M,37Y,37K、各感光ドラムに露光処理を施す露光部38C,38M,38Y,38K、各色のトナーカートリッジ39C,39M,39Y,39K及び各感光ドラムをクリーニングするクリーニング部40、40、40、40が設けられている。2次転写駆動ローラ32及び各感光ドラムはそれぞれモータ等の駆動部(図示略)によって回転駆動される。   In the vicinity of the photosensitive drums 34C, 34M, 34Y, and 34K, charging units 37C, 37M, 37Y, and 37K that perform charging processing on the photosensitive drums, and exposure units 38C, 38M, 38Y, and 38K that perform exposure processing on the photosensitive drums, respectively. Cleaning units 40, 40, 40, 40 for cleaning the toner cartridges 39C, 39M, 39Y, 39K for the respective colors and the respective photosensitive drums are provided. The secondary transfer driving roller 32 and each photosensitive drum are rotated by a driving unit (not shown) such as a motor.

以下、転写部30による用紙Aへのトナー画像の転写について、感光ドラム34Kを例に説明する。まず、感光ドラム34Kの近傍の帯電部37Kによって感光ドラム34Kが帯電され、露光部38Kによる感光ドラムの露光により感光ドラム34Kの被露光部分が除電される処理、所謂現像処理が行われる。当該現像処理によってトナーカートリッジ39Kのトナーが感光ドラム34Kに担持される。当該現像処理は、形成する画像に基づいて行われる。他の感光ドラム34C,34M,34Yについても同様に現像処理が行われる。   Hereinafter, transfer of the toner image onto the paper A by the transfer unit 30 will be described using the photosensitive drum 34K as an example. First, a process in which the photosensitive drum 34K is charged by the charging unit 37K in the vicinity of the photosensitive drum 34K and the exposed portion of the photosensitive drum 34K is neutralized by exposure of the photosensitive drum by the exposure unit 38K, so-called development processing is performed. By the development processing, the toner of the toner cartridge 39K is carried on the photosensitive drum 34K. The development process is performed based on the image to be formed. The other photosensitive drums 34C, 34M, and 34Y are similarly developed.

中間転写ベルト31は2次転写駆動ローラ32の駆動によって稼動し、各感光ドラムに担持されたトナーはそれぞれのプラテンローラ35により中間転写ベルト31に転写される(一次転写)。一次転写により、中間転写ベルト31はトナーを担持する。このとき、各色のトナーが重なるように転写され、ひとつの画像を形成する。中間転写ベルト31に担持されたトナーは、中間転写ベルト31と転写ローラ36とによって用紙Aが挟まれる位置で用紙Aに転写される(2次転写)。かようにして用紙Aへのトナー画像の転写が行われる。用紙Aへのトナー画像の転写と共に、中間転写ベルト31の稼動と転写ローラ36の協働により用紙Aは定着部45へと搬送される。一次転写後の各感光ドラムは各感光ドラム近傍のクリーニング部40に、2次転写後の中間転写ベルト31はクリーニング部41によって転写されなかった残存トナーをクリーニングされる。   The intermediate transfer belt 31 is operated by driving of the secondary transfer driving roller 32, and the toner carried on each photosensitive drum is transferred to the intermediate transfer belt 31 by each platen roller 35 (primary transfer). The intermediate transfer belt 31 carries toner by the primary transfer. At this time, the toners of the respective colors are transferred so as to overlap each other to form one image. The toner carried on the intermediate transfer belt 31 is transferred to the paper A at a position where the paper A is sandwiched between the intermediate transfer belt 31 and the transfer roller 36 (secondary transfer). In this manner, the toner image is transferred onto the paper A. Along with the transfer of the toner image onto the sheet A, the sheet A is conveyed to the fixing unit 45 by the operation of the intermediate transfer belt 31 and the cooperation of the transfer roller 36. Each photosensitive drum after the primary transfer is cleaned by a cleaning unit 40 in the vicinity of each photosensitive drum, and the intermediate transfer belt 31 after the secondary transfer is cleaned by a cleaning unit 41 for residual toner that has not been transferred.

定着部45は、用紙Aを加熱して用紙Aに転写されたトナーを定着させる定着ローラ46と、用紙Aの搬送経路を挟んで定着ローラ46と対向する位置に設けられて用紙Aを定着ローラ46に圧接させる圧接ローラ47と、を有する。
転写部30によってトナーを転写された用紙Aは定着部45へと搬送され、定着ローラ46と圧接ローラ47との間へ導かれる。定着ローラ46はその内部に熱源(例えばコイルやハロゲンランプ等)を有しており、当該熱源により用紙Aを加熱して定着処理を行う。このとき、圧接ローラ47が用紙Aを定着ローラ46に圧接する。定着ローラ46、圧接ローラ47は用紙Aに対する定着処理と共にその回転運動により用紙Aを上方へと搬送する。
The fixing unit 45 heats the sheet A to fix the toner transferred to the sheet A, and is provided at a position facing the fixing roller 46 across the conveyance path of the sheet A. And a pressure roller 47 that is brought into pressure contact with 46.
The sheet A onto which the toner has been transferred by the transfer unit 30 is conveyed to the fixing unit 45 and guided between the fixing roller 46 and the pressure roller 47. The fixing roller 46 has a heat source (for example, a coil or a halogen lamp) inside, and the sheet A is heated by the heat source to perform a fixing process. At this time, the pressure roller 47 presses the paper A against the fixing roller 46. The fixing roller 46 and the pressure roller 47 convey the paper A upward by the rotational movement of the paper A together with the fixing process.

排紙部50は、モータ等の駆動部(図示略)により回転駆動される排紙ローラ51と、ローラ52とを有する。排紙ローラ51は回転駆動されることにより、画像形成の終了した用紙Aを排紙受け部80の上方に排出する。   The paper discharge unit 50 includes a paper discharge roller 51 that is rotationally driven by a drive unit (not shown) such as a motor, and a roller 52. The paper discharge roller 51 is driven to rotate and discharges the paper A on which image formation has been completed above the paper discharge receiving portion 80.

手差し給紙部70は、用紙Aを載置する外部給紙トレイ71と、外部給紙トレイ71に載置された用紙Aを搬送する給紙ローラ72と、を有する。用紙Aは、外部給紙トレイ71上に載置され、モータ等の駆動部(図示略)によって駆動される給紙ローラ72により引き込まれ、搬送部20へと搬送される。   The manual paper feed unit 70 includes an external paper feed tray 71 on which the paper A is placed, and a paper feed roller 72 that transports the paper A placed on the external paper feed tray 71. The paper A is placed on the external paper feed tray 71, pulled in by a paper feed roller 72 driven by a drive unit (not shown) such as a motor, and transported to the transport unit 20.

以上、本実施形態によれば、エッジ抽出部120によって輪郭画素の検出が行われる。そして、細線化処理部130によって検出された輪郭画素を含む線画の線幅と、輪郭画素を含む線画の線幅に応じて設定された細線化強度係数FTVL、BTVLとに基づいて細線化処理が行われる。これによって、線画の線幅に応じた強度の細線化処理を行うことができる。このため、太い線幅を有する線画に対しては強い細線化処理を施し、細い線幅を有する線画に対しては弱い細線化処理を施すことができる。よって、本実施形態の画像処理部100は、細線化処理によって画像データに含まれる線画の見た目の太さを均一化させてしまうことなく、線幅の見た目の太さの差異を保持した細線化処理を行うことができる。また、細い線幅を有する線画に対しては弱い細線化処理を施すことができるので、細線化処理によって線が細くなりすぎてかすれや消失を生じることがあった従来の細線化処理の問題点も解消することができる。つまり、画質を損なうことのない良好な細線化処理を施すことができる。   As described above, according to the present embodiment, the edge extraction unit 120 detects the contour pixel. Then, the thinning processing is performed based on the line width of the line drawing including the contour pixel detected by the thinning processing unit 130 and the thinning intensity coefficients FTVL and BTVL set according to the line width of the line drawing including the contour pixel. Done. As a result, it is possible to perform thinning processing with an intensity corresponding to the line width of the line drawing. For this reason, it is possible to perform a strong thinning process on a line drawing having a thick line width and a weak thinning process on a line drawing having a thin line width. Therefore, the image processing unit 100 according to the present embodiment performs thinning that maintains the difference in the apparent width of the line width without making the apparent thickness of the line drawing included in the image data uniform by the thinning process. Processing can be performed. Also, since it is possible to apply a weak thinning process to a line drawing having a thin line width, the problem of the conventional thinning process that the line becomes too thin due to the thinning process may cause blurring or disappearance. Can also be resolved. That is, it is possible to perform a good thinning process without impairing the image quality.

さらに、細線構造信号ThinLine[ch]は、注目画素Cを含む線画の幅方向の画素数に応じて個別に値を設定することができるので、細線構造信号ThinLine[ch]の値によって線画の幅方向の画素数を分類することができる。これによって、線画の幅方向の画素数に応じて細線化処理の強度を個別に設定することができ、より柔軟できめ細かな細線化処理を行うことができる。   Further, since the value of the thin line structure signal ThinLine [ch] can be set individually according to the number of pixels in the width direction of the line drawing including the target pixel C, the width of the line drawing is determined by the value of the thin line structure signal ThinLine [ch]. The number of pixels in the direction can be classified. Thereby, the intensity of the thinning process can be individually set according to the number of pixels in the width direction of the line drawing, and a more flexible and finer thinning process can be performed.

さらに、細線構造信号ThinLine[ch]は、注目画素Cを含む線画の幅方向が画像データにおける画素の並びの縦横のいずれか一方に沿っているか否かに応じて設定することができる。
線画の線幅は、線画の幅方向が画像データにおける画素の並びの縦横のいずれか一方に沿っている場合、線画の幅方向が画像データにおける画素の並びの縦横のいずれか一方に沿っていない場合(例えば斜め方向の場合等)に比して線幅が細くなる。例えば、正方形の画素の場合、斜め方向である対角線の幅は、縦横の辺の幅に対して約1.41倍(√2倍)となる。このように、線画の幅方向が画像データにおける画素の並びの縦横のいずれか一方に沿っているか否かによって線画の線幅が変わる。本実施形態では、細線構造信号ThinLine[ch]の値によって線画の幅方向が画像データにおける画素の並びの縦横のいずれか一方に沿っているか否かを分類することができるので、線画の幅方向が画像データにおける画素の並びの縦横のいずれか一方に沿っているか否かによって変ずる線画の線幅に応じて細線化処理の強度を個別に設定することができる。つまり、本実施形態の画像処理部100は、いっそう柔軟できめ細かな細線化処理を行うことができる。
Further, the thin line structure signal ThinLine [ch] can be set according to whether the width direction of the line drawing including the target pixel C is along one of the vertical and horizontal directions of the pixel arrangement in the image data.
When the line drawing width direction is along one of the vertical and horizontal directions of the pixel arrangement in the image data, the line drawing width direction is not along either the vertical and horizontal arrangement of the pixel arrangement in the image data. The line width is narrower than in the case (for example, in the oblique direction). For example, in the case of a square pixel, the width of the diagonal line in the diagonal direction is approximately 1.41 times (√2 times) the width of the vertical and horizontal sides. Thus, the line width of the line drawing changes depending on whether the width direction of the line drawing is along one of the vertical and horizontal directions of the pixel arrangement in the image data. In the present embodiment, it is possible to classify whether the width direction of the line drawing is along one of the vertical and horizontal arrangements of the pixels in the image data based on the value of the thin line structure signal ThinLine [ch]. The strength of the thinning process can be individually set according to the line width of the line drawing that changes depending on whether the pixel line is along one of the vertical and horizontal directions of the pixel arrangement in the image data. That is, the image processing unit 100 according to the present embodiment can perform a finer line processing that is more flexible and finer.

さらに、対応付け情報は、細線構造信号ThinLine[ch]が示す線画の幅方向の画素数が多いほど輪郭画素の画素値の変更の度合いを大きくするよう設定される。このため、細線化処理部130は、太い線幅を有する線画に対しては強い細線化処理を施し、細い線幅を有する線画に対しては弱い細線化処理を施す。これによって、細線化処理によって画像データに含まれる線画の見た目の太さを均一化させてしまうことなく、線幅の見た目の太さの差異を保持した細線化処理を行うことができる。また、細い線幅を有する線画に対しては弱い細線化処理を施すことができるので、細線化処理によって線が細くなりすぎてかすれや消失を生じることがあった従来の細線化処理の問題点も解消することができる。つまり、画質を損なうことのない良好な細線化処理を施すことができる。   Furthermore, the association information is set so that the degree of change in the pixel value of the contour pixel increases as the number of pixels in the width direction of the line drawing indicated by the thin line structure signal ThinLine [ch] increases. Therefore, the thinning processing unit 130 performs a strong thinning process on a line drawing having a thick line width and performs a weak thinning process on a line drawing having a thin line width. Thus, the thinning process can be performed while maintaining the difference in the apparent thickness of the line width without making the apparent thickness of the line drawing included in the image data uniform by the thinning process. Also, since it is possible to apply a weak thinning process to a line drawing having a thin line width, the problem of the conventional thinning process that the line becomes too thin due to the thinning process may cause blurring or disappearance. Can also be resolved. That is, it is possible to perform a good thinning process without impairing the image quality.

さらに、セレクタ160は、輪郭画素である注目画素Cの画素値としてコントーン出力信号contone[ch]を適用し、輪郭画素でない注目画素Cの画素値としてスクリーン出力信号screen[ch]を適用する。これによって、輪郭画素に細線化処理を施し、輪郭画素ではない画素に細線化処理を施さないことができる。つまり、細線化処理を施す対象を好適に選定することができ、不要な細線化処理による画質劣化を生じさせずに良好な細線化処理を施すことができる。   Further, the selector 160 applies the contone output signal contone [ch] as the pixel value of the target pixel C that is the contour pixel, and applies the screen output signal screen [ch] as the pixel value of the target pixel C that is not the contour pixel. Thus, it is possible to perform the thinning process on the contour pixel and not perform the thinning process on the pixel that is not the contour pixel. That is, a target to be thinned can be suitably selected, and good thinning can be performed without causing image quality deterioration due to unnecessary thinning.

さらに、本実施形態の細線化処理部130は、各画素が白抜き文字の輪郭を構成するか否かについて判定する。そして、細線化処理部130は、白抜き文字を構成するか否かの情報を白抜き文字情報WThinLine[ch]の値によって各画素に対して設定する。さらに、細線化処理部130は、細線構造信号ThinLine[ch]及び白抜き文字情報WThinLine[ch]の値と細線化処理の強度を示す各設定値とを対応付ける対応付け情報を保持する。そして、細線化処理の強度は、当該対応付け情報によって決定される。つまり、線画の線幅に加えて、白抜き文字を構成するか否かに基づいて細線化処理の強度が決定される。これによって、白抜き文字をつぶさない良好な細線化処理を施すことができる。   Furthermore, the thinning processing unit 130 of the present embodiment determines whether each pixel constitutes the outline of a white character. Then, the thinning processing unit 130 sets information regarding whether or not to form a white character for each pixel according to the value of the white character information WThinLine [ch]. Further, the thinning processing unit 130 holds association information that associates the values of the thin line structure signal ThinLine [ch] and the outline character information WThinLine [ch] with each setting value indicating the strength of the thinning processing. The intensity of the thinning process is determined by the association information. That is, in addition to the line width of the line drawing, the strength of the thinning process is determined based on whether or not a white character is formed. As a result, it is possible to perform an excellent thinning process that does not crush white characters.

なお、本発明の実施の形態は、今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   The embodiment of the present invention should be considered that the embodiment disclosed this time is illustrative and not restrictive in all respects. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

例えば、前述の実施形態では、画像形成装置に設けられた画像処理部100について記載されているが、他の形態をとってもよい。例えば、本発明の画像処理装置をコントローラに設けてもよいし、独立した装置として設けてもよい。   For example, in the above-described embodiment, the image processing unit 100 provided in the image forming apparatus is described, but other forms may be adopted. For example, the image processing apparatus of the present invention may be provided in the controller or as an independent apparatus.

また、前述の実施形態では、画像処理装置の各部の機能をハードウェア処理によって実現しているが、ソフトウェア処理によって同様の処理を行ってもよい。   In the above-described embodiment, the functions of each unit of the image processing apparatus are realized by hardware processing, but similar processing may be performed by software processing.

また、画像形成装置が用いる色の種類及び色数(CMYK)は一例であり、他の色、色数を用いてもよい。例えば、CMY、RGB、その他の画像形成装置で用いることのできる色が挙げられる。   Further, the types of colors and the number of colors (CMYK) used by the image forming apparatus are examples, and other colors and the number of colors may be used. For example, CMY, RGB, and other colors that can be used in the image forming apparatus can be given.

その他、前述の実施形態で画像処理部100が生成、設定する各種のパラメータ、予め設定された閾値やパターンマッチングのパターン、対応付け情報等の開示例はあくまで一例であり、本発明の特徴を逸脱しない範囲内で適宜設定することができる。   In addition, disclosure examples of various parameters generated and set by the image processing unit 100 in the above-described embodiment, preset threshold values, pattern matching patterns, association information, and the like are merely examples, and depart from the characteristics of the present invention. It can set suitably within the range which does not.

110 ラインバッファ
120 エッジ抽出部
130 細線化処理部
140 コントーン処理部
150 スクリーン処理部
159 スクリーン処理部
160 セレクタ
110 Line buffer 120 Edge extraction unit 130 Thinning processing unit 140 Contone processing unit 150 Screen processing unit 159 Screen processing unit 160 Selector

Claims (10)

線画の線幅と、当該線画に隣接する背景の線画の有無と、に応じて設定された複数の細線化強度係数の保持手段と、
画像の輪郭画素を検出する輪郭検出手段と、
前記輪郭画素を含む線画を検出し、当該線画の線幅と、前記輪郭画素に隣接する背景の線画の有無と、を判定する線検出手段と、
前記複数の細線化強度係数のうち、前記線画検出手段により判定された前記線画の線幅と、前記背景の線画の有無と、に対応する細線化強度係数を取得し、取得した細線化強度係数を用いて前記輪郭画素の画素値を変更する画素値変更手段と、
を備えることを特徴とする画像処理装置。
A plurality of thinning intensity coefficient holding means set according to the line width of the line drawing, the presence or absence of a background line drawing adjacent to the line drawing, and
Contour detecting means for detecting contour pixels of the image;
Detecting a line image including the contour pixel, the line width of the line drawing, and the presence or absence of the line drawing the background adjacent to the contour pixel, a line image detection means for determining,
Among the plurality of thinning intensity coefficients, the thinning intensity coefficient corresponding to the line width of the line drawing determined by the line drawing detection unit and the presence or absence of the background line drawing is obtained, and the obtained thinning intensity coefficient Pixel value changing means for changing the pixel value of the contour pixel using
An image processing apparatus comprising:
前記保持手段は、前記線画の線幅と、当該線画に隣接する背景の線画の有無と、当該線画の方向と、に応じて設定された複数の細線化強度係数を保持し、
前記線画検出手段は、前記輪郭画素を含む線画を検出し、当該線画の線幅と、前記輪郭画素に隣接する背景の線画の有無と、当該線画の方向と、を判定し、
前記画素値変更手段は、前記複数の細線化強度係数のうち、前記線画検出手段により判定された前記線画の線幅と、前記背景の線画の有無と、前記線画の方向と、に対応する細線化強度係数を取得し、取得した細線化強度係数を用いて前記輪郭画素の画素値を変更することを特徴とする請求項1に記載の画像処理装置。
The holding means holds a plurality of thinning intensity coefficients set according to the line width of the line drawing, the presence or absence of a background line drawing adjacent to the line drawing, and the direction of the line drawing,
The line drawing detection means detects a line drawing including the contour pixel, determines the line width of the line drawing, the presence or absence of a background line drawing adjacent to the contour pixel, and the direction of the line drawing,
The pixel value changing unit is a thin line corresponding to a line width of the line drawing determined by the line drawing detecting unit, presence or absence of the background line drawing, and a direction of the line drawing among the plurality of thinning intensity coefficients. The image processing apparatus according to claim 1, wherein the image processing apparatus is configured to acquire a reduction intensity coefficient and change a pixel value of the contour pixel using the acquired thinning intensity coefficient .
前記画素値変更手段は、取得した細線化強度係数と、前記輪郭画素と当該輪郭画素に隣接する画素との画素値の差と、を用いて補正値を算出し、当該補正値を前記輪郭画素の画素値に加算して、変更後の画素値を得ることを特徴とする請求項1又は2に記載の画像処理装置。 The pixel value changing means calculates a correction value using the thinning intensity coefficient obtained and a pixel value difference between the contour pixel and a pixel adjacent to the contour pixel, and calculates the correction value as the contour pixel. The image processing apparatus according to claim 1, wherein a pixel value after change is obtained by adding to the pixel value . 前記線幅は、前記線画の幅方向の画素数であり、
前記細線化強度係数は、前記線画の幅方向の画素数が多いほど前記輪郭画素の画素値の変更の度合いが大きくなるように設定されていることを特徴とする請求項1から3のいずれか一項に記載の画像処理装置。
The line width is the number of pixels in the width direction of the line drawing,
4. The thinning intensity coefficient is set such that the degree of change in the pixel value of the contour pixel increases as the number of pixels in the width direction of the line drawing increases. An image processing apparatus according to claim 1.
前記画像の各画素に中間調処理を施す中間調処理手段と、
前記画像の各画素に対して、輪郭画素である画素には前記画素値変更手段の処理結果を適用し、輪郭画素でない画素には前記中間調処理手段の処理結果を適用する処理選択手段と、を備えることを特徴とする請求項1から4のいずれか一項に記載の画像処理装置。
Halftone processing means for applying halftone processing to each pixel of the image;
For each pixel of the image, a processing selection unit that applies a processing result of the pixel value changing unit to a pixel that is a contour pixel, and applies a processing result of the halftone processing unit to a pixel that is not a contour pixel; The image processing apparatus according to claim 1, further comprising:
画像の輪郭画素を検出する輪郭検出工程と、
前記輪郭画素を含む線画を検出し、当該線画の線幅と、前記輪郭画素に隣接する背景の線画の有無と、を判定する線検出工程と、
線画の線幅と、当該線画に隣接する背景の線画の有無と、に応じて設定された複数の細線化強度係数のうち、前記線画検出工程により判定された前記線画の線幅と、前記背景の線画の有無と、に対応する細線化強度係数を取得し、取得した細線化強度係数を用いて前記輪郭画素の画素値を変更する画素値変更工程と、
を有することを特徴とする画像処理方法。
A contour detection step of detecting a contour pixel of the image;
Detecting a line image including the contour pixel, the line width of the line image, a line image detection step of determining, the presence or absence of a line drawing of a background adjacent to the contour pixel,
The line width of the line drawing determined by the line drawing detection step among the plurality of thinning intensity coefficients set according to the line width of the line drawing and the presence or absence of the background line drawing adjacent to the line drawing, and the background A pixel value changing step of acquiring the thinning intensity coefficient corresponding to the presence or absence of the line drawing, and changing the pixel value of the contour pixel using the acquired thinning intensity coefficient ;
An image processing method comprising:
前記線画検出工程では、前記輪郭画素を含む線画を検出し、当該線画の線幅と、前記輪郭画素に隣接する背景の線画の有無と、当該線画の方向と、を判定し、
前記画素値変更工程では、前記線画の線幅と、当該線画に隣接する背景の線画の有無と、当該線画の方向と、に応じて設定された複数の細線化強度係数のうち、前記線画検出工程により判定された前記線画の線幅と、前記背景の線画の有無と、前記線画の方向と、に対応する細線化強度係数を取得し、取得した細線化強度係数を用いて前記輪郭画素の画素値を変更することを特徴とする請求項6に記載の画像処理方法。
In the line drawing detection step, a line drawing including the outline pixel is detected, the line width of the line drawing, the presence or absence of a background line drawing adjacent to the outline pixel, and the direction of the line drawing are determined,
In the pixel value changing step, the line drawing detection is performed among a plurality of thinning intensity coefficients set according to the line width of the line drawing, the presence or absence of a background line drawing adjacent to the line drawing, and the direction of the line drawing. The thinning intensity coefficient corresponding to the line width of the line drawing determined by the process, the presence or absence of the line drawing of the background, and the direction of the line drawing is acquired, and the outline pixel of the contour pixel is acquired using the acquired thinning intensity coefficient. The image processing method according to claim 6, wherein the pixel value is changed .
前記画素値変更工程では、取得した細線化強度係数と、前記輪郭画素と当該輪郭画素に隣接する画素との画素値の差と、を用いて補正値を算出し、当該補正値を前記輪郭画素の画素値に加算して、変更後の画素値を得ることを特徴とする請求項6又は7に記載の画像処理方法。 In the pixel value changing step, a correction value is calculated using the obtained thinning intensity coefficient and a pixel value difference between the contour pixel and a pixel adjacent to the contour pixel, and the correction value is calculated as the contour pixel. The image processing method according to claim 6, wherein the pixel value after change is obtained by adding to the pixel value . 前記線幅は、前記線画の幅方向の画素数であり、
前記細線化強度係数は、前記線画の幅方向の画素数が多いほど前記輪郭画素の画素値の変更の度合いが大きくなるように設定されていることを特徴とする請求項6から8のいずれか一項に記載の画像処理方法。
The line width is the number of pixels in the width direction of the line drawing,
9. The thinning intensity coefficient is set so that the degree of change in the pixel value of the contour pixel increases as the number of pixels in the width direction of the line drawing increases. An image processing method according to claim 1.
前記画像の各画素に中間調処理を施す中間調処理工程と、
前記画像の各画素に対して、輪郭画素である画素には前記画素値変更工程の処理結果を適用し、輪郭画素でない画素には前記中間調処理工程の処理結果を適用する処理選択工程と、を有することを特徴とする請求項6から9のいずれか一項に記載の画像処理方法。
A halftone processing step for applying halftone processing to each pixel of the image;
For each pixel of the image, a processing selection step of applying the processing result of the pixel value changing step to a pixel that is a contour pixel and applying the processing result of the halftone processing step to a pixel that is not a contour pixel; The image processing method according to claim 6, further comprising:
JP2010071202A 2010-03-26 2010-03-26 Image processing apparatus and image processing method Expired - Fee Related JP5593769B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010071202A JP5593769B2 (en) 2010-03-26 2010-03-26 Image processing apparatus and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010071202A JP5593769B2 (en) 2010-03-26 2010-03-26 Image processing apparatus and image processing method

Publications (2)

Publication Number Publication Date
JP2011205436A JP2011205436A (en) 2011-10-13
JP5593769B2 true JP5593769B2 (en) 2014-09-24

Family

ID=44881590

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010071202A Expired - Fee Related JP5593769B2 (en) 2010-03-26 2010-03-26 Image processing apparatus and image processing method

Country Status (1)

Country Link
JP (1) JP5593769B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5609903B2 (en) * 2012-02-21 2014-10-22 コニカミノルタ株式会社 Image processing apparatus and image processing method
KR101910453B1 (en) 2016-03-03 2018-10-24 한국전자통신연구원 Apparatus and method for extracting salient-line informative signs

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09298665A (en) * 1996-05-07 1997-11-18 Ricoh Co Ltd Image processor
JP4189467B2 (en) * 2004-05-27 2008-12-03 コニカミノルタビジネステクノロジーズ株式会社 Image processing device
CN101388951A (en) * 2007-09-14 2009-03-18 株式会社东芝 Image forming apparatus, image processing apparatus and wire narrowing method

Also Published As

Publication number Publication date
JP2011205436A (en) 2011-10-13

Similar Documents

Publication Publication Date Title
JP4410219B2 (en) Image forming apparatus and image forming method
US8089639B2 (en) Image forming apparatus with image density change portion for gradually reducing image density from an outer periphery of a character toward an inside
US9025206B2 (en) Processing image using shared buffer
JP5645689B2 (en) Image processing apparatus and image forming apparatus having the same
JP5593769B2 (en) Image processing apparatus and image processing method
US8736903B2 (en) Image processing apparatus, image forming apparatus, and computer readable medium storing program
CN102215314B (en) Image processing apparatus and image forming method
JP6768202B2 (en) Image forming device and toner amount calculation method
US9036210B2 (en) Image processing device, image forming apparatus, image processing method, and non-transitory computer readable medium
JP2007013566A (en) Image processor and image forming apparatus
JP4671107B2 (en) Image forming apparatus and density setting method for image forming apparatus
JP2005094397A (en) Image forming device
JP2019139083A (en) Image forming apparatus
JP2008211743A (en) Image forming apparatus
JP2015142988A (en) Image generating device
JP2008107803A (en) Image forming apparatus and image forming method
JP2012160858A (en) Image forming apparatus
JP2010192962A (en) Image processing apparatus and program
JP2019219483A (en) Image processor and image processing program
US20230239412A1 (en) Inspection apparatus, method of controlling the same, and storage medium
JP2013223148A (en) Image processing device, image forming device and image processing method
JP2008085564A (en) Device for forming image
JP7176382B2 (en) Image processing device
JP6935708B2 (en) Image processing equipment, image forming equipment, and programs
JP4743878B2 (en) Image forming apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20121017

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20130416

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131011

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131112

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140110

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20140110

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140721

R150 Certificate of patent or registration of utility model

Ref document number: 5593769

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees