JP6131613B2 - Image forming apparatus and image processing method - Google Patents

Image forming apparatus and image processing method Download PDF

Info

Publication number
JP6131613B2
JP6131613B2 JP2013014910A JP2013014910A JP6131613B2 JP 6131613 B2 JP6131613 B2 JP 6131613B2 JP 2013014910 A JP2013014910 A JP 2013014910A JP 2013014910 A JP2013014910 A JP 2013014910A JP 6131613 B2 JP6131613 B2 JP 6131613B2
Authority
JP
Japan
Prior art keywords
pixel
contour
thinning
value
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2013014910A
Other languages
Japanese (ja)
Other versions
JP2014146211A (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 JP2013014910A priority Critical patent/JP6131613B2/en
Publication of JP2014146211A publication Critical patent/JP2014146211A/en
Application granted granted Critical
Publication of JP6131613B2 publication Critical patent/JP6131613B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

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

一般的に、電子写真方式の画像形成装置により形成された文字の線幅は、ドットゲイン、トナー散り等の要因によって、本来の線幅よりも太くなることがあり、その対策の1つとして細線化処理が行われている。文字の輪郭の画素値を減らす細線化処理によって、画像形成による線幅の太りを抑えることができる。   In general, the line width of characters formed by an electrophotographic image forming apparatus may be thicker than the original line width due to factors such as dot gain and toner scattering. Is being processed. By thinning processing that reduces the pixel value of the outline of a character, it is possible to suppress an increase in line width due to image formation.

細線化処理では、2値の画像データの場合、輪郭の画素値を全て減らして輪郭自体を消去し、細線化を実現する(例えば、特許文献1参照)。一方、多値の画像データの場合、輪郭の画素値を一部減らすことにより、線幅を調整する(例えば、特許文献2参照)。画素値をどれだけ減らすかによって、細線化の強度を調整することができる。
この細線化強度の調整は、従来、予め用意された段階的な強度、例えば5段階の強度の中から、ユーザーが手動で設定していた。
In the thinning process, in the case of binary image data, all the pixel values of the contour are reduced to erase the contour itself, thereby realizing thinning (see, for example, Patent Document 1). On the other hand, in the case of multivalued image data, the line width is adjusted by partially reducing the pixel value of the contour (see, for example, Patent Document 2). The intensity of thinning can be adjusted depending on how much the pixel value is reduced.
Conventionally, the adjustment of the thinning strength has been manually set by the user from among stepwise strengths prepared in advance, for example, five levels of strength.

特開2009−211376号公報JP 2009-212376 A 特開2005−341249号公報JP 2005-341249 A

しかしながら、画像形成時の条件、例えば最大濃度又は用紙の種類によっても、線幅が変動することがあり、ユーザーが設定した強度で細線化されない場合があった。
また、最大濃度を変更したとき、ノイズ等が原因で縦線か横線かによって画像形成後の線幅がばらつくこともある。
However, the line width may fluctuate depending on the conditions at the time of image formation, for example, the maximum density or the type of paper, and the line may not be thinned with the intensity set by the user.
In addition, when the maximum density is changed, the line width after image formation may vary depending on whether it is a vertical line or a horizontal line due to noise or the like.

本発明の課題は、細線化後の線幅を安定化することである。   An object of the present invention is to stabilize the line width after thinning.

請求項1に記載の発明によれば、
画像データを解析し、文字又は図形の輪郭画素及び当該輪郭画素のエッジ方向を決定する輪郭検出部と、
前記輪郭画素の画素値を、当該輪郭画素のエッジ方向に応じて減らし、前記文字又は図形を細線化する細線化部と、
画像形成条件に応じて、細線化後の線幅が期待値となるように、前記輪郭画素の細線化後の画素値を調整する強度調整部と、
を備える画像形成装置が提供される。
According to the invention of claim 1,
Analyzing the image data, the contour detection unit for determining the edge pixel of the contour pixel and the contour pixel of the character or figure,
A thinning unit that reduces the pixel value of the contour pixel in accordance with the edge direction of the contour pixel and thins the character or figure;
In accordance with image forming conditions, an intensity adjustment unit that adjusts the pixel value after thinning of the contour pixels so that the line width after thinning becomes an expected value;
An image forming apparatus is provided.

請求項2に記載の発明によれば、
画像データを解析し、文字又は図形の輪郭画素と当該輪郭画素のエッジ方向とを決定する輪郭検出部と、
前記輪郭画素の画素値を、当該輪郭画素のエッジ方向に応じて減らし、前記文字又は図形を細線化する細線化部と、
画像形成条件及び前記輪郭画素が縦線の輪郭画素か又は横線の輪郭画素かに応じて、細線化後の線幅が期待値となるように、当該縦線及び横線の輪郭画素の細線化後の画素値を調整する強度調整部と、
を備える画像形成装置が提供される。
According to invention of Claim 2,
Analyzing the image data, a contour detection unit that determines a contour pixel of a character or a figure and an edge direction of the contour pixel;
A thinning unit that reduces the pixel value of the contour pixel in accordance with the edge direction of the contour pixel and thins the character or figure;
Depending on the image forming condition and whether the contour pixel is a vertical or horizontal contour pixel, the vertical and horizontal contour pixels are thinned so that the line width after thinning becomes an expected value. An intensity adjustment unit for adjusting the pixel value of
An image forming apparatus is provided.

請求項に記載の発明によれば、
前記画像形成条件は、最大濃度又は用紙の種類である、
請求項1又は2に記載の画像形成装置が提供される。
According to invention of Claim 3 ,
The image forming condition is maximum density or paper type.
An image forming apparatus according to claim 1 or 2 is provided.

請求項に記載の発明によれば、
画像データを解析し、文字又は図形の輪郭画素及び当該輪郭画素のエッジ方向を決定する輪郭検出工程と、
前記輪郭画素の画素値を、当該輪郭画素のエッジ方向に応じて減らし、前記文字又は図形を細線化する細線化工程と、
画像形成条件に応じて、細線化後の線幅が期待値となるように、前記輪郭画素の細線化後の画素値を調整する強度調整工程と、
を含む画像処理方法が提供される。
According to invention of Claim 4 ,
Analyzing image data and determining a contour pixel of a character or a figure and an edge direction of the contour pixel;
A thinning step of reducing the pixel value of the contour pixel according to the edge direction of the contour pixel, and thinning the character or figure,
According to the image forming conditions, an intensity adjustment step of adjusting the pixel value after thinning of the contour pixels so that the line width after thinning becomes an expected value;
An image processing method is provided.

請求項に記載の発明によれば、
画像データを解析し、文字又は図形の輪郭画素と当該輪郭画素のエッジ方向とを決定する輪郭検出工程と、
前記輪郭画素の画素値を、当該輪郭画素のエッジ方向に応じて減らし、前記文字又は図形を細線化する細線化工程と、
画像形成条件及び前記輪郭画素が縦線の輪郭画素か又は横線の輪郭画素かに応じて、細線化後の線幅が期待値となるように、当該縦線及び横線の輪郭画素の細線化後の画素値を調整する強度調整工程と、
を含む画像処理方法が提供される。
According to the invention of claim 5 ,
Analyzing image data and determining a contour pixel of a character or figure and an edge direction of the contour pixel;
A thinning step of reducing the pixel value of the contour pixel according to the edge direction of the contour pixel, and thinning the character or figure,
Depending on the image forming condition and whether the contour pixel is a vertical or horizontal contour pixel, the vertical and horizontal contour pixels are thinned so that the line width after thinning becomes an expected value. An intensity adjustment step of adjusting the pixel value of
An image processing method is provided.

本発明によれば、画像形成後に細線化された線幅が変動することを抑えることができ、細線化後の線幅を安定化することができる。よって、画像形成された文字又は図形を、期待された線幅で再現することができる。   According to the present invention, it is possible to suppress fluctuations in the line width that is thinned after image formation, and it is possible to stabilize the line width after thinning. Therefore, it is possible to reproduce the image-formed character or graphic with the expected line width.

本実施の形態に係る画像形成装置の機能ブロック図である。1 is a functional block diagram of an image forming apparatus according to the present embodiment. 図1の画像処理装置の機能ブロック図である。It is a functional block diagram of the image processing apparatus of FIG. 3×3画素を示す図である。It is a figure which shows 3x3 pixel. (a)現像電位と線幅の対応関係を示す図である。(b)レーザーパワーと線幅の対応関係を示す図である。(A) It is a figure which shows the correspondence of developing potential and line | wire width. (B) It is a figure which shows the correspondence of laser power and line | wire width. 画像処理装置が、細線化後に、画像形成条件に応じて細線化の強度を調整するときの処理手順を示すフローチャートである。6 is a flowchart showing a processing procedure when the image processing apparatus adjusts the intensity of thinning according to image forming conditions after thinning. (a)Tの文字とその背景の各画素を示す図である。(b)(a)の文字の輪郭を細線化した処理結果を示す図である。(c)(b)の文字の輪郭の細線化の強度を画像形成条件に応じて調整した処理結果を示す図である。(A) It is a figure which shows each pixel of the character of T and its background. (B) It is a figure which shows the processing result which thinned the outline of the character of (a). (C) It is a figure which shows the processing result which adjusted the intensity | strength of the thinning of the outline of the character of (b) according to image formation conditions. (a)現像電位と縦線及び横線の線幅との対応関係を示す図である。(b)レーザーパワーと縦線及び横線の線幅との対応関係を示す図である。(A) It is a figure which shows the correspondence of the developing potential and the line | wire width of a vertical line and a horizontal line. (B) It is a figure which shows the correspondence of a laser power and the line | wire width of a vertical line and a horizontal line. 画像処理装置が、細線化後に、縦線か又は横線かによって細線化の強度を調整するときの処理手順を示すフローチャートである。It is a flowchart which shows the process sequence when an image processing apparatus adjusts the intensity | strength of thinning according to whether it is a vertical line or a horizontal line after thinning. (a)Tの文字とその背景の各画素を示す図である。(b)(a)の文字の輪郭を細線化した処理結果を示す図である。(c)(b)の文字の輪郭の細線化の強度を縦線か横線かによって調整した処理結果を示す図である。(A) It is a figure which shows each pixel of the character of T and its background. (B) It is a figure which shows the processing result which thinned the outline of the character of (a). (C) It is a figure which shows the processing result which adjusted the intensity | strength of the thinning of the outline of the character of (b) by the vertical line or the horizontal line.

以下、図面を参照して、本発明の画像形成装置及び画像処理方法の実施の形態について説明する。   Embodiments of an image forming apparatus and an image processing method of the present invention will be described below with reference to the drawings.

図1は、本実施の形態に係る画像形成装置Gの機能ブロック図である。
画像形成装置Gは、図1に示すように、制御部1、記憶部2、操作部3、表示部4、通信部5、プリントコントローラー6、スキャナー7、画像メモリー8、画像処理装置9及び画像形成部10を備えて、構成されている。
FIG. 1 is a functional block diagram of an image forming apparatus G according to the present embodiment.
As shown in FIG. 1, the image forming apparatus G includes a control unit 1, a storage unit 2, an operation unit 3, a display unit 4, a communication unit 5, a print controller 6, a scanner 7, an image memory 8, an image processing device 9, and an image processing device 9. A forming unit 10 is provided.

制御部1は、CPU(Central Processing Unit)、RAM(Random Access Memory)等を備えている。制御部1は、記憶部2に記憶されているプログラムを読み出し、当該プログラムに従って画像形成装置Gの各部を制御する。
例えば、制御部1は、画像処理装置9により画像データを画像処理させて、画像形成部10により画像を形成させる。
The control unit 1 includes a CPU (Central Processing Unit), a RAM (Random Access Memory), and the like. The control unit 1 reads a program stored in the storage unit 2 and controls each unit of the image forming apparatus G according to the program.
For example, the control unit 1 causes the image processing device 9 to perform image processing on the image data and causes the image forming unit 10 to form an image.

記憶部2は、制御部1が読み取り可能なプログラム、ファイル等を記憶している。記憶部2としては、例えばハードディスク、ROM(Read Only Memory)等の記憶媒体を用いることができる。   The storage unit 2 stores programs, files, and the like that can be read by the control unit 1. As the storage unit 2, for example, a storage medium such as a hard disk or a ROM (Read Only Memory) can be used.

操作部3は、操作キーや表示部4と一体に構成されたタッチパネル等を備え、これらの操作に応じた操作信号を制御部1に出力する。
表示部4は、制御部1の指示に従って操作画面等を表示する。
通信部5は、制御部1からの指示に従い、ネットワーク上のサーバー等と通信する。
The operation unit 3 includes an operation key, a touch panel configured integrally with the display unit 4, and the like, and outputs operation signals corresponding to these operations to the control unit 1.
The display unit 4 displays an operation screen and the like according to instructions from the control unit 1.
The communication unit 5 communicates with a server on the network in accordance with an instruction from the control unit 1.

プリントコントローラー6は、通信部を備えてネットワーク上のコンピューターからPDL(Page Description Language)データを受信し、当該PDLデータをラスタライズ処理して、ビットマップ形式の画像データを生成する。プリントコントローラー6は、C(シアン)、M(マジェンタ)、Y(イエロー)、K(黒)の4色の画像データを生成する。生成された画像データは画像メモリー8に出力され、保持される。   The print controller 6 includes a communication unit, receives PDL (Page Description Language) data from a computer on the network, rasterizes the PDL data, and generates bitmap format image data. The print controller 6 generates image data of four colors of C (cyan), M (magenta), Y (yellow), and K (black). The generated image data is output to the image memory 8 and held.

プリントコントローラー6は、ラスタライズ処理時、各画素の属性を示す属性データを生成する。属性データは、画像データとともに出力される。
属性としては、文字(Text)、図形(Graphics)、写真(Image)がある。図形は、例えば円、多角形、矢印、線、罫線等である。プリントコントローラー6は、文字、図形及び写真の各オブジェクトに該当する画素の属性を、それぞれ文字、図形及び写真の属性に設定する。
The print controller 6 generates attribute data indicating the attribute of each pixel during the rasterization process. The attribute data is output together with the image data.
The attributes include text, graphics, and images. The figure is, for example, a circle, a polygon, an arrow, a line, a ruled line, or the like. The print controller 6 sets the attribute of the pixel corresponding to each object of character, graphic, and photograph to the attribute of character, graphic, and photo, respectively.

スキャナー7は、原稿を読み取って、R(赤)、G(緑)、B(青)の3色の画像データを生成する。生成された画像データは、画像メモリー8に出力され、保持される。   The scanner 7 reads an original and generates image data of three colors of R (red), G (green), and B (blue). The generated image data is output to the image memory 8 and held.

画像メモリー8は、画像データを保持するメモリーである。画像メモリー8としては、DRAM(Dynamic Random Access Memory)等を用いることができる。   The image memory 8 is a memory that holds image data. As the image memory 8, a DRAM (Dynamic Random Access Memory) or the like can be used.

画像処理装置9は、スキャナー7により生成されたR、G、Bの画像データを色変換し、得られたC、M、Y、Kの画像データを画像メモリー8に書き込む。
画像処理装置9は、画像メモリー8に保持されたC、M、Y、Kの画像データを圧縮処理して画像メモリー8に書き込み、制御部1からの画像形成の指示に応じて、当該画像データを画像メモリー8から読み出して伸張処理する。
画像処理装置9は、画像データを細線化処理及び中間調処理して画像形成部10に出力する。
The image processing device 9 performs color conversion on the R, G, B image data generated by the scanner 7 and writes the obtained C, M, Y, K image data in the image memory 8.
The image processing device 9 compresses the C, M, Y, and K image data held in the image memory 8 and writes the compressed image data into the image memory 8, and in response to an image formation instruction from the control unit 1, the image data Is read from the image memory 8 and decompressed.
The image processing device 9 performs thinning processing and halftone processing on the image data and outputs the processed image data to the image forming unit 10.

画像形成部10は、画像データに基づき、用紙上に画像を形成する。
具体的には、画像形成部10は、C、M、Y、Kの色毎に露光部、現像部、感光体を4セット備えている。露光部は、帯電し、回転する感光体上を、画像データに基づいてレーザーダイオードにより光走査して露光する。現像部は、現像ローラーによりトナーを供給して、露光により感光体上に形成された静電潜像を現像する。このようにして4つの感光体上に形成された各色の画像は、中間転写ベルト等を介して用紙上に重ねて転写され、定着装置により定着処理される。
The image forming unit 10 forms an image on a sheet based on the image data.
Specifically, the image forming unit 10 includes four sets of an exposure unit, a development unit, and a photoreceptor for each of C, M, Y, and K colors. The exposure unit exposes the charged and rotating photoconductor by optical scanning with a laser diode based on the image data. The developing unit supplies toner by a developing roller, and develops the electrostatic latent image formed on the photoconductor by exposure. The images of the respective colors formed on the four photoconductors in this way are transferred onto the paper in a superimposed manner via an intermediate transfer belt or the like, and fixed by a fixing device.

図2は、画像処理装置9のうち、細線化処理及び中間調処理を行う構成部分の機能ブロック図である。
図2に示すように、画像処理装置9は、輪郭検出部101、細線化部102、強度調整部103、コントーン処理部104、中間調処理部105、出力選択部106及び記憶部107を備えている。
FIG. 2 is a functional block diagram of components that perform thinning processing and halftone processing in the image processing apparatus 9.
As shown in FIG. 2, the image processing apparatus 9 includes a contour detection unit 101, a thinning unit 102, an intensity adjustment unit 103, a contone processing unit 104, a halftone processing unit 105, an output selection unit 106, and a storage unit 107. Yes.

輪郭検出部101は、画像データを解析して、文字又は図形の輪郭画素及び当該輪郭画素のエッジ方向を決定する。輪郭画素とは、文字又は図形の輪郭に位置する画素であり、エッジ方向とは、画素値が小さい画素から大きい画素へ向かう方向である。   The contour detection unit 101 analyzes the image data and determines the contour pixel of the character or figure and the edge direction of the contour pixel. An outline pixel is a pixel located in the outline of a character or a figure, and an edge direction is a direction from a pixel with a small pixel value toward a large pixel.

具体的には、輪郭検出部101は、画像データを3×3画素単位で入力し、その中心に位置する画素を注目画素として、注目画素が文字の輪郭画素か否かを決定し、輪郭画素である場合はさらにエッジ方向を決定する。
図3は、3×3画素を示す。
図3において、各画素を画素0〜8と表す。画素4が注目画素である。
Specifically, the contour detection unit 101 inputs image data in units of 3 × 3 pixels, determines whether the pixel of interest is a contour pixel of a character with the pixel located at the center as the pixel of interest, and the contour pixel If it is, the edge direction is further determined.
FIG. 3 shows 3 × 3 pixels.
In FIG. 3, each pixel is represented as pixels 0 to 8. Pixel 4 is the target pixel.

輪郭検出部101は、属性データが示す注目画素4の属性が文字又は図形である場合、注目画素4と、注目画素4の上下左右に隣接する各隣接画素1、7、3及び5との画素値の差分SP[u]、SP[d]、SP[l]及びSP[r]を算出する。
注目画素4と各隣接画素1、7、3及び5の画素値を、それぞれC[4]、C[1]、C[7]、C[3]及びC[5]と表すとき、各差分SP[u]、SP[d]、SP[l]及びSP[r] は、次のように表される。
SP[u]=C[4]−C[1]
SP[d]=C[4]−C[7]
SP[l]=C[4]−C[3]
SP[r]=C[4]−C[5]
When the attribute of the target pixel 4 indicated by the attribute data is a character or a figure, the contour detection unit 101 includes the target pixel 4 and the adjacent pixels 1, 7, 3, and 5 adjacent to the target pixel 4 in the vertical and horizontal directions. Differences SP [u], SP [d], SP [l] and SP [r] are calculated.
When the pixel values of the pixel of interest 4 and the adjacent pixels 1, 7, 3 and 5 are respectively expressed as C [4], C [1], C [7], C [3] and C [5], each difference SP [u], SP [d], SP [l] and SP [r] are expressed as follows.
SP [u] = C [4] -C [1]
SP [d] = C [4] -C [7]
SP [l] = C [4] -C [3]
SP [r] = C [4] -C [5]

次に、輪郭検出部101は、SP[u]とSP[d]を比較し、SP[l]とSP[r]を比較する。比較の結果、SP[u]≠SP[d]又はSP[l]≠SP[r]の場合、輪郭検出部101は、注目画素4が文字の輪郭画素であると決定する。   Next, the contour detection unit 101 compares SP [u] and SP [d], and compares SP [l] and SP [r]. As a result of the comparison, if SP [u] ≠ SP [d] or SP [l] ≠ SP [r], the contour detection unit 101 determines that the pixel of interest 4 is a character contour pixel.

主走査方向及び副走査方向のエッジ方向をそれぞれPx及びPyと表すと、輪郭検出部101は、SP[l]>SP[r]のとき、Px=+1に決定し、SP[l]<SP[r]のとき、Px=−1に決定し、SP[l]=SP[r]のとき、Px=0に決定する。
また、輪郭検出部101は、SP[u]<SP[d]のとき、Py=+1に決定し、SP[u]>SP[d]のとき、Py=−1に決定し、SP[u]=SP[d]のとき、Py=0に決定する。
When the edge directions in the main scanning direction and the sub-scanning direction are expressed as Px and Py, respectively, the contour detection unit 101 determines Px = + 1 when SP [l]> SP [r], and SP [l] <SP When [r], Px = −1 is determined, and when SP [l] = SP [r], Px = 0 is determined.
The contour detection unit 101 determines Py = + 1 when SP [u] <SP [d], and determines Py = −1 when SP [u]> SP [d], and SP [u ] = SP [d], Py = 0 is determined.

注目画素の総合的なエッジ方向をPと表すと、輪郭検出部101は、主走査方向のエッジ方向Px及び副走査方向のエッジ方向Pyの組み合わせにより、次のようにしてエッジ方向Pを決定する。
Px=+1かつPy=−1のとき、P=4
Px=+1かつPy= 0のとき、P=2
Px=+1かつPy=+1のとき、P=7
Px= 0かつPy=−1のとき、P=0
Px= 0かつPy=+1のとき、P=1
Px=−1かつPy=−1のとき、P=6
Px=−1かつPy= 0のとき、P=3
Px=−1かつPy=+1のとき、P=5
When the total edge direction of the pixel of interest is represented as P, the contour detection unit 101 determines the edge direction P as follows according to the combination of the edge direction Px in the main scanning direction and the edge direction Py in the sub-scanning direction. .
When Px = + 1 and Py = −1, P = 4
When Px = + 1 and Py = 0, P = 2
When Px = + 1 and Py = + 1, P = 7
When Px = 0 and Py = −1, P = 0
When Px = 0 and Py = + 1, P = 1
When Px = -1 and Py = -1, P = 6
When Px = -1 and Py = 0, P = 3
When Px = -1 and Py = + 1, P = 5

下記表は、Pの値0〜7が表すエッジ方向を示している。表に示すように、エッジ方向Pは、上下左右の4方向に、斜め方向の4方向を加えた合計8方向である。
The following table shows the edge directions represented by P values 0-7. As shown in the table, the edge direction P is a total of eight directions including four directions in the up, down, left, and right directions and four oblique directions.

細線化部102は、輪郭検出部101により決定された輪郭画素の画素値を、当該輪郭画素のエッジ方向に応じて減らし、文字又は図形を細線化する。
具体的には、細線化部102は、輪郭画素の画素値と、当該輪郭画素のエッジ方向と逆方向に隣接する隣接画素の画素値とを重み付け平均し、得られた画素値を輪郭画素の細線化後の画素値として出力する。例えば、輪郭画素のエッジ方向PがP=3であり、左方向である場合、細線化部102は、輪郭画素の右隣に位置する隣接画素を重み付け平均に用いる。
The thinning unit 102 reduces the pixel value of the contour pixel determined by the contour detection unit 101 according to the edge direction of the contour pixel, and thins the character or figure.
Specifically, the thinning unit 102 performs weighted averaging of the pixel value of the contour pixel and the pixel value of the adjacent pixel adjacent in the direction opposite to the edge direction of the contour pixel, and the obtained pixel value is calculated for the contour pixel. Output as a pixel value after thinning. For example, when the edge direction P of the contour pixel is P = 3 and the left direction, the thinning unit 102 uses the adjacent pixel located on the right side of the contour pixel for the weighted average.

輪郭画素及び隣接画素の画素値をそれぞれC[OE] 及びC[PA] と表し、輪郭画素の細線化後の画素値をC[OEs]と表すと、細線化部102は、画素値C[OEs]を次式により算出する。
C[OEs]=C[OE]×f/100+C[PA]×(100−f)/100
ここで、fは細線化係数であり、0〜100%の範囲内で適宜決定することができる。細線化の強度として5段階の強度1〜5を用意し、このうちユーザーにより操作部3を介して指定された強度に応じて、fを設定することもできる。例えば、強度1の場合はf=75%、強度2の場合はf=60%、強度3の場合はf=45%、強度4の場合はf=30%、強度5の場合は10%に設定すればよい。
When the pixel values of the contour pixel and the adjacent pixel are represented as C [OE] and C [PA], respectively, and the pixel value after thinning the contour pixel is represented as C [OEs], the thinning unit 102 obtains the pixel value C [ OEs] is calculated by the following equation.
C [OEs] = C [OE] × f / 100 + C [PA] × (100−f) / 100
Here, f is a thinning coefficient and can be appropriately determined within a range of 0 to 100%. Five levels of strengths 1 to 5 are prepared as the thinning strength, and f can be set according to the strength designated by the user via the operation unit 3. For example, f = 75% for strength 1, f = 60% for strength 2, f = 45% for strength 3, f = 30% for strength 4, 10% for strength 5 You only have to set it.

エッジ方向と逆方向の隣接画素は背景の画素であり、前景である輪郭画素より画素値が小さい。上記C[OEs]の算出式に示すように、輪郭画素の画素値に、隣接画素の画素値をマージ(混合)することにより、輪郭画素の画素値を減らすことができる。   Adjacent pixels in the direction opposite to the edge direction are background pixels and have a pixel value smaller than that of the contour pixel as the foreground. As shown in the calculation formula for C [OEs], the pixel value of the contour pixel can be reduced by merging (mixing) the pixel value of the adjacent pixel with the pixel value of the contour pixel.

強度調整部103は、画像形成部10の画像形成条件に応じて、細線化後の線幅が期待値となるように、輪郭画素の細線化後の画素値を調整し、細線化の強度を調整する。
具体的には、強度調整部103は、画像形成条件から画像形成後の線幅を推定し、この線幅の推定値と期待値との誤差から細線化強度の調整値を算出し、輪郭画素の細線化後の画素値に調整値を加算する。なお、強度調整部103は、制御部1から画像形成条件を取得する。
The intensity adjusting unit 103 adjusts the pixel value after thinning of the contour pixel so that the line width after thinning becomes an expected value according to the image forming conditions of the image forming unit 10, and reduces the thinning intensity. adjust.
Specifically, the intensity adjusting unit 103 estimates the line width after image formation from the image forming conditions, calculates an adjustment value of the thinning intensity from an error between the estimated value of the line width and the expected value, and generates a contour pixel. The adjustment value is added to the pixel value after thinning. The intensity adjustment unit 103 acquires image forming conditions from the control unit 1.

線幅に影響する画像形成条件としては、最大濃度、用紙の種類等が挙げられる。
例えば、最大濃度の調整時、画像形成部10により最大値の画素値が設定されたパッチ画像が形成され、当該パッチ画像の測定濃度が目標濃度となるように、現像電位、レーザーパワー(MPC;Mean Power Controlともいう)等が調整される。現像電位は、電圧の印加によって負に帯電した現像部の現像ローラーの電位(V)をいい、レーザーパワーは露光部のレーザーダイオードの出力エネルギー(mW)をいう。現像電位の絶対値が大きいほど、またレーザーパワーが大きいほど、用紙上のトナー量が増加し、濃度が上昇する。このような性質上、現像電位やレーザーパワーの設定値によって線幅が変動する。
Image forming conditions that affect the line width include maximum density, paper type, and the like.
For example, at the time of adjusting the maximum density, a patch image in which the maximum pixel value is set is formed by the image forming unit 10, and the development potential, laser power (MPC; MPC;) so that the measured density of the patch image becomes the target density. Etc.) is also adjusted. The developing potential refers to the potential (V) of the developing roller of the developing portion that is negatively charged by the application of voltage, and the laser power refers to the output energy (mW) of the laser diode in the exposed portion. The larger the absolute value of the developing potential and the larger the laser power, the more toner is on the paper and the density is increased. Due to these properties, the line width varies depending on the set value of the development potential and the laser power.

図4(a)は、線幅が2画素幅(1200dpiのとき、42μm)の線のテストパターンを、現像電位を異ならせて形成したときの線幅の測定結果を表している。
図4(a)に示すように、現像電位が大きい(現像電位は負の電位であるので、絶対値が大きい)ほど、線幅も大きくなっている。線幅の期待値Wtは42μmであるが、現像電位の設定値によって期待値Wtから線幅が変動している。
FIG. 4A shows the measurement result of the line width when a line test pattern having a line width of 2 pixels (42 μm when 1200 dpi) is formed with different development potentials.
As shown in FIG. 4A, the line width increases as the development potential increases (the development potential is a negative potential, so the absolute value is large). The expected value Wt of the line width is 42 μm, but the line width varies from the expected value Wt depending on the set value of the development potential.

図4(b)は、同じテストパターンを、レーザーパワーを異ならせて形成したときの線幅の測定結果を表している。
レーザーパワーについても現像電位と同様に、レーザーパワーが大きいほど、線幅が大きくなる傾向があり、レーザーパワーの設定値によって42μmの期待値Wtから線幅が変動している。
FIG. 4B shows a measurement result of the line width when the same test pattern is formed with different laser powers.
As for the laser power, like the developing potential, the line width tends to increase as the laser power increases, and the line width varies from the expected value Wt of 42 μm depending on the set value of the laser power.

このように、予め測定により得られた画像形成条件と線幅との対応関係を、記憶部107が記憶している。強度調整部103は、記憶部107に記憶された対応関係から、画像形成条件に応じた線幅の推定値を得る。線幅の期待値と推定値の差分だけ画像形成後に線幅が変動するので、強度調整部103は、この変動分を線の両端から調整するため、一端の輪郭画素の調整値を、下記式に示すようにして算出する。
調整値(%)=100%×{(期待値−推定値)(μm)/2}/1画素の幅(μm)
As described above, the storage unit 107 stores the correspondence between the image forming conditions and the line widths obtained by measurement in advance. The intensity adjusting unit 103 obtains an estimated value of the line width according to the image forming condition from the correspondence relationship stored in the storage unit 107. Since the line width fluctuates after image formation by the difference between the expected value and the estimated value of the line width, the intensity adjustment unit 103 adjusts the fluctuation value from both ends of the line. Calculate as follows.
Adjustment value (%) = 100% × {(expected value−estimated value) (μm) / 2} / 1 pixel width (μm)

例えば、強度調整部103は、図4(a)に示す対応関係から、現像電位の設定値V1に対応する線幅の推定値W1を得て、期待値Wtから当該推定値W1を差し引いた差分を求める。その差分が、例えば−21μmである場合、1画素の幅が21μmであるので、強度調整部103は、上記式から−50%(−50=100×{−21/2}/21)を調整値として決定する。   For example, the intensity adjusting unit 103 obtains an estimated value W1 of the line width corresponding to the set value V1 of the development potential from the correspondence shown in FIG. 4A, and subtracts the estimated value W1 from the expected value Wt. Ask for. For example, when the difference is −21 μm, the width of one pixel is 21 μm, and the intensity adjustment unit 103 adjusts −50% (−50 = 100 × {−21/2} / 21) from the above formula. Determine as value.

強度調整部103は、現像電位の場合と同様にして、図4(b)に示す対応関係から、レーザーパワーの設定値E1から線幅の推定値W2を得る。期待値Wtと推定値W2の差分が、例えば+10.5μmである場合、1画素の幅が21μmであるので、強度調整部103は、上記式から+25%(+25=100×{+10.5/2}/21)を調整値として決定する。
強度調整部103は、輪郭画素の細線化後の画素値に、現像電位に応じて算出された調整値−50%と、レーザーパワーに応じて算出された調整値+25%をそれぞれ加算する。輪郭画素の細線化後の画素値が75%の場合、強度調整部103は、調整後の輪郭画素の画素値として50%(50=75−50+25)を出力する。
The intensity adjusting unit 103 obtains the estimated line width W2 from the laser power set value E1 from the correspondence shown in FIG. When the difference between the expected value Wt and the estimated value W2 is, for example, +10.5 μm, the width of one pixel is 21 μm. Therefore, the intensity adjustment unit 103 calculates + 25% (+ 25 = 100 × {+ 10.5 / 2} / 21) is determined as the adjustment value.
The intensity adjustment unit 103 adds the adjustment value −50% calculated according to the development potential and the adjustment value + 25% calculated according to the laser power to the pixel value after the thinning of the contour pixel. When the pixel value after thinning the contour pixel is 75%, the intensity adjustment unit 103 outputs 50% (50 = 75−50 + 25) as the pixel value of the contour pixel after adjustment.

なお、強度調整部103は、画像形成条件が用紙の種類である場合も、同じようにして細線化の強度を調整することができる。
用紙の種類の場合、例えばコート紙は転写性が良好であり、線幅が大きくなりやすい等、種類によって画像形成後に線幅が変動することがある。強度調整部103は、各種類の用紙に、所定の線幅からなる線のテストパターンを画像形成したときの線幅の測定値を得て、各種類の調整値を決定する。強度調整部103は、決定された各調整値を記憶部107に保存し、画像形成に用いられる用紙の種類に応じた調整値を記憶部107から読み出して、輪郭画素の細線化後の画素値に加算する。
The intensity adjusting unit 103 can adjust the intensity of thinning in the same way even when the image forming condition is the type of paper.
In the case of the type of paper, for example, the coated paper has good transferability and the line width tends to increase, and the line width may vary after image formation depending on the type. The intensity adjustment unit 103 obtains a measurement value of a line width when a line test pattern having a predetermined line width is formed on each type of paper, and determines each type of adjustment value. The intensity adjustment unit 103 stores the determined adjustment values in the storage unit 107, reads out adjustment values according to the type of paper used for image formation from the storage unit 107, and pixel values after thinning the contour pixels Add to.

また、線幅の期待値Wtは、理想的な線幅と異なっていてもよい。
例えば、画像データの解像度が1200dpiのとき、2画素幅の線を42μmの線幅で画像形成できると理想的である。上述したように、期待値Wtをこの理想的な線幅と同じ42μmとすることもできるが、意図せず大きく細線化され、文字の形状等が崩れることを防ぐため、線幅の期待値Wtを45μmとすることもできる。
Further, the expected value Wt of the line width may be different from the ideal line width.
For example, when the resolution of the image data is 1200 dpi, it is ideal that an image can be formed with a line width of 2 pixels and a line width of 42 μm. As described above, the expected value Wt can be set to 42 μm, which is the same as the ideal line width. However, the expected value Wt of the line width is prevented in order to prevent unintentional thinning and collapse of the shape of the character. Can also be 45 μm.

コントーン処理部104は、強度調整部103により調整された画像データをコントーン処理し、出力選択部106に出力する。コントーン処理は、画像データをそのまま出力する処理である。   The contone processing unit 104 performs contone processing on the image data adjusted by the intensity adjustment unit 103 and outputs the processed data to the output selection unit 106. The contone process is a process for outputting image data as it is.

中間調処理部105は、細線化部102から出力された画像データを中間調処理し、出力選択部106に出力する。中間調処理としては、誤差拡散処理、ディザマトリクスを用いたスクリーン処理等が挙げられる。   The halftone processing unit 105 performs halftone processing on the image data output from the thinning unit 102 and outputs the processed image data to the output selection unit 106. Examples of halftone processing include error diffusion processing and screen processing using a dither matrix.

出力選択部106は、画像データの各画素のうち、輪郭検出部101により決定された輪郭画素については、コントーン処理部104から出力された画像データを選択して出力する。また、出力選択部106は、輪郭画素以外の各画素については、中間調処理部105から出力された画像データを出力する。   The output selection unit 106 selects and outputs the image data output from the contone processing unit 104 for the contour pixels determined by the contour detection unit 101 among the pixels of the image data. The output selection unit 106 outputs the image data output from the halftone processing unit 105 for each pixel other than the contour pixel.

中間調処理された画像データは、ドットの密度によって階調表現されているため、文字又は図形の輪郭が不鮮明になりやすい。一方、コントーン処理された画像データは、各画素の画素値がそのままドットに反映される。よって、輪郭画素については、コントーン処理された画像データを選択することにより、文字又は図形の輪郭をスクリーン処理された背景の領域よりも強調することができる。   Since the halftone-processed image data is expressed in gradation by the density of dots, the outline of characters or figures tends to be unclear. On the other hand, in the image data subjected to the contone process, the pixel value of each pixel is directly reflected in the dot. Therefore, for the contour pixel, the contour of the character or figure can be emphasized more than the background region subjected to the screen processing by selecting the image data subjected to the contone processing.

記憶部107は、現像電位及びレーザーパワーと線幅との対応関係を記憶している。
また、記憶部107は、用紙の種類毎の調整値を記憶している。
The storage unit 107 stores a correspondence relationship between the development potential, the laser power, and the line width.
The storage unit 107 stores adjustment values for each paper type.

図5は、画像処理装置9が文字又は図形を細線化し、画像形成条件に応じて細線化の強度を調整するときの処理手順を示すフローチャートである。
画像処理装置9では、図5に示すように、輪郭検出部101が文字又は図形の輪郭画素及び当該輪郭画素のエッジ方向を決定する(ステップS1)。
次に、細線化部102が、輪郭検出部101により決定された輪郭画素の画素値を、当該輪郭画素のエッジ方向に応じて減らし、文字又は図形を細線化する(ステップS2)。
中間調処理部105は、文字又は図形が細線化された画像データを中間調処理する(ステップS3)。
FIG. 5 is a flowchart showing a processing procedure when the image processing device 9 thins characters or figures and adjusts the thinning intensity according to the image forming conditions.
In the image processing device 9, as shown in FIG. 5, the contour detection unit 101 determines the contour pixel of a character or graphic and the edge direction of the contour pixel (step S1).
Next, the thinning unit 102 reduces the pixel value of the contour pixel determined by the contour detection unit 101 in accordance with the edge direction of the contour pixel, thereby thinning the character or figure (step S2).
The halftone processing unit 105 performs halftone processing on the image data in which characters or figures are thinned (step S3).

強度調整部103は、現像電位の設定値に応じて画像形成後の線幅を推定する(ステップS4)。強度調整部103は、線幅の期待値と推定値の差分から細線化強度の調整値を決定する(ステップS5)。
同様にして、強度調整部103は、レーザーパワーの設定値に応じて画像形成後の線幅を推定し(ステップS6)、線幅の推定値と期待値との差分から細線化強度の調整値を決定する(ステップS7)。
The intensity adjusting unit 103 estimates the line width after image formation according to the set value of the development potential (step S4). The intensity adjustment unit 103 determines an adjustment value of the thinning intensity from the difference between the expected value and the estimated value of the line width (step S5).
Similarly, the intensity adjusting unit 103 estimates the line width after image formation according to the set value of the laser power (step S6), and the adjustment value of the thinning intensity from the difference between the estimated value of the line width and the expected value. Is determined (step S7).

強度調整部103は、輪郭検出部101により決定された輪郭画素の細線化後の画素値に、現像電位及びレーザーパワーに応じて決定された各調整値を加算し、細線化の強度を調整する(ステップS8)。
コントーン処理部104は、強度調整部103により調整された画像データをコントーン処理して出力する(ステップS9)。
The intensity adjustment unit 103 adds each adjustment value determined according to the developing potential and the laser power to the pixel value after thinning of the contour pixel determined by the contour detection unit 101, and adjusts the thinning intensity. (Step S8).
The contone processing unit 104 performs contone processing on the image data adjusted by the intensity adjustment unit 103 and outputs the processed image data (step S9).

出力選択部106は、画像データの各画素が、輪郭検出部101により決定された輪郭画素であれば、コントーン処理部104から出力された画像データを出力する。また、出力選択部106は、輪郭検出部101により決定された輪郭画素以外の画素であれば、中間調処理部105から出力された画像データを出力する(ステップS10)。   If each pixel of the image data is a contour pixel determined by the contour detection unit 101, the output selection unit 106 outputs the image data output from the contone processing unit 104. Further, the output selection unit 106 outputs the image data output from the halftone processing unit 105 if it is a pixel other than the contour pixel determined by the contour detection unit 101 (step S10).

上述の処理手順は、画像形成時の最大濃度の条件に応じて細線化の強度を調整する場合の例である。画像形成条件が用紙の種類である場合は、用紙の種類に応じた調整値を記憶部107から取得する点が異なる他は同様の処理手順で、細線化の強度を調整することができる。   The above-described processing procedure is an example in the case where the thinning intensity is adjusted according to the maximum density condition during image formation. When the image forming condition is a paper type, the thinning intensity can be adjusted by the same processing procedure except that an adjustment value corresponding to the paper type is acquired from the storage unit 107.

図6(a)〜図6(c)は、画像処理装置9による細線化の処理結果を示している。
図6(a)は、Tの文字とその背景の各画素を示している。文字部分の画素値は最大値100%であり、背景の画素値は最小値0%である。また、図6(a)の矢印は、輪郭検出部101によって決定された輪郭画素のエッジ方向を示している。
細線化部102によって細線化されると、このエッジ方向と逆方向に位置する背景の隣接画素の画素値が文字の輪郭画素の画素値にマージされるので、図6(b)に示すように、輪郭画素の画素値が一律に減らされる。
画像形成条件から推定された線幅の推定値が期待値を上回る場合、強度調整部103により輪郭画素の画素値に負の値の調整値が加算される。その結果、図6(c)に示すように輪郭画素の画素値がさらに減らされる。
画像形成後の線幅は、調整値により減らされた分だけ大きくなるため、最終的に細線化係数fで細線化された文字が得られる。
FIG. 6A to FIG. 6C show thinning processing results by the image processing apparatus 9.
FIG. 6A shows a letter T and each pixel of the background. The pixel value of the character portion has a maximum value of 100%, and the background pixel value has a minimum value of 0%. In addition, the arrow in FIG. 6A indicates the edge direction of the contour pixel determined by the contour detection unit 101.
When thinning is performed by the thinning unit 102, the pixel value of the adjacent pixel in the background located in the direction opposite to the edge direction is merged with the pixel value of the outline pixel of the character, as shown in FIG. The pixel value of the contour pixel is uniformly reduced.
When the estimated value of the line width estimated from the image forming conditions exceeds the expected value, the intensity adjustment unit 103 adds a negative adjustment value to the pixel value of the contour pixel. As a result, the pixel value of the contour pixel is further reduced as shown in FIG.
Since the line width after image formation is increased by the amount reduced by the adjustment value, a character thinned with a thinning coefficient f is finally obtained.

以上のように、本実施の形態によれば、画像形成装置Gは、画像データを解析し、文字又は図形の輪郭画素及び当該輪郭画素のエッジ方向を決定する輪郭検出部101と、輪郭画素の画素値を、当該輪郭画素のエッジ方向に応じて減らし、文字又は図形を細線化する細線化部102と、画像形成条件に応じて、細線化後の線幅が期待値となるように、輪郭画素の細線化後の画素値を調整する強度調整部103と、を備える。   As described above, according to the present embodiment, the image forming apparatus G analyzes the image data, determines the contour pixel of the character or figure and the edge direction of the contour pixel, and the contour pixel The pixel value is reduced according to the edge direction of the contour pixel, the thinning unit 102 for thinning a character or a figure, and the line width after thinning becomes an expected value according to the image forming conditions. And an intensity adjustment unit 103 that adjusts the pixel value after thinning the pixel.

これにより、画像形成条件に起因して、画像形成後に線幅が変動することを抑えることができ、細線化後の線幅を安定化することができる。よって、画像形成された文字又は図形を、期待された線幅で再現することができる。   Thereby, it is possible to suppress the fluctuation of the line width after the image formation due to the image forming conditions, and it is possible to stabilize the line width after the thinning. Therefore, it is possible to reproduce the image-formed character or graphic with the expected line width.

〔他の実施の形態〕
文字又は図形の線幅は、文字又は図形を構成する線が縦線か又は横線かによって変動することがある。
縦線か横線かによらず、細線化後の線幅を安定化するため、上記強度調整部103は、縦線の輪郭画素か又は横線の輪郭画素かに応じて、細線化後の線幅が期待値となるように、輪郭画素の細線化後の画素値を調整することもできる。
[Other Embodiments]
The line width of a character or graphic may vary depending on whether the line constituting the character or graphic is a vertical line or a horizontal line.
In order to stabilize the line width after thinning regardless of whether it is a vertical line or a horizontal line, the intensity adjusting unit 103 determines whether the line width after thinning depends on whether it is a vertical line pixel or a horizontal line pixel. It is also possible to adjust the pixel value after thinning the contour pixel so that becomes an expected value.

図7(a)は、線幅が2画素幅(1200dpiのとき、42μm)の縦線及び横線のテストパターンを、現像電位を異ならせて形成したときの線幅の測定結果を示している。図7(b)は、同じテストパターンを、レーザーパワーを異ならせて形成したときの縦線及び横線の線幅の測定結果を示している。
図7(a)及び図7(b)において、実線が横線の線幅を表し、1点鎖線が縦線の線幅を表している。
図7(a)及び図7(b)に示すように、現像電位及びレーザーパワーが大きいほど線幅が大きくなる傾向は同じだが、縦線は横線よりも線幅が大きくなりやすい。
FIG. 7A shows the measurement result of the line width when the vertical and horizontal test patterns having a line width of 2 pixels (42 μm at 1200 dpi) are formed with different development potentials. FIG. 7B shows the measurement results of the line widths of the vertical and horizontal lines when the same test pattern is formed with different laser powers.
7A and 7B, the solid line represents the horizontal line width, and the alternate long and short dash line represents the vertical line width.
As shown in FIGS. 7A and 7B, the line width tends to increase as the development potential and the laser power increase, but the vertical line tends to be larger than the horizontal line.

このように、予め測定により得られた画像形成条件と縦線及び横線の線幅との対応関係を、記憶部107が記憶している。強度調整部103は、記憶部107に記憶された対応関係から、画像形成条件に応じた縦線及び横線の線幅の推定値を得て、期待値から推定値を差し引いた差分により横線用及び縦線用の調整値をそれぞれ算出する。   As described above, the storage unit 107 stores the correspondence between the image forming conditions obtained by measurement in advance and the line widths of the vertical and horizontal lines. The intensity adjustment unit 103 obtains the estimated values of the vertical and horizontal line widths according to the image forming conditions from the correspondence stored in the storage unit 107, and uses the difference obtained by subtracting the estimated value from the expected value for the horizontal line and The adjustment value for the vertical line is calculated respectively.

例えば、強度調整部103は、図7(a)に示す対応関係から、現像電位の設定値V1に対応する縦線及び横線の線幅の推定値W11及びW12を得る。1画素の幅が21μmのとき、強度調整部103は、この推定値W11及びW12を用いて、次のようにして縦線用及び横線用の調整値を求める。
縦線用の調整値(%)=100×{(Wt−W11)/2}/21
横線用の調整値(%)=100×{(Wt−W12)/2}/21
同様にして、図7(b)に示す対応関係から、レーザーパワーの設定値E1に対応する縦線及び横線の線幅の推定値W21及びW22を得て、縦線用及び横線用の調整値を求める。
For example, the intensity adjusting unit 103 obtains the estimated values W11 and W12 of the vertical and horizontal line widths corresponding to the setting value V1 of the development potential from the correspondence shown in FIG. When the width of one pixel is 21 μm, the intensity adjustment unit 103 uses the estimated values W11 and W12 to obtain adjustment values for vertical lines and horizontal lines as follows.
Adjustment value for vertical line (%) = 100 × {(Wt−W11) / 2} / 21
Adjustment value for horizontal line (%) = 100 × {(Wt−W12) / 2} / 21
Similarly, the estimated values W21 and W22 of the vertical and horizontal line widths corresponding to the set value E1 of the laser power are obtained from the correspondence shown in FIG. 7B, and the adjustment values for the vertical and horizontal lines are obtained. Ask for.

強度調整部103は、エッジ方向Pが2又は3である輪郭画素を、縦線の輪郭画素として、当該輪郭画素の細線化後の画素値に縦線用の各調整値を加算する。また、強度調整部103は、エッジ方向Pが0又は1である輪郭画素を、横線の輪郭画素として、当該輪郭画素の細線化後の画素値に横線用の各調整値を加算する。   The intensity adjustment unit 103 sets the contour pixel whose edge direction P is 2 or 3 as a vertical contour pixel, and adds each vertical line adjustment value to the pixel value after thinning the contour pixel. In addition, the intensity adjustment unit 103 sets the contour pixel whose edge direction P is 0 or 1 as the horizontal contour pixel, and adds each adjustment value for the horizontal line to the pixel value after thinning the contour pixel.

なお、強度調整部103は、画像形成条件が用紙の種類である場合も、同じようにして細線化の強度を調整することができる。
用紙の種類の場合、強度調整部103は、各種類の用紙に所定の線幅からなる縦線及び横線のテストパターンを画像形成したときの線幅の測定値を得て、各種類に応じた縦線用及び横線用の調整値を決定する。強度調整部103は、決定された各調整値を記憶部107に保存し、画像形成に用いられる用紙の種類に応じた縦線用及び横線用の調整値を記憶部107から読み出して、縦線の輪郭画素及び横線の輪郭画素の細線化後の画素値にそれぞれ加算する。
The intensity adjusting unit 103 can adjust the intensity of thinning in the same way even when the image forming condition is the type of paper.
In the case of the type of paper, the intensity adjusting unit 103 obtains a measurement value of the line width when the test pattern of the vertical line and the horizontal line having a predetermined line width is formed on each type of paper, and according to each type. Determine adjustment values for vertical and horizontal lines. The intensity adjustment unit 103 stores the determined adjustment values in the storage unit 107, reads out the adjustment values for vertical lines and horizontal lines according to the type of paper used for image formation from the storage unit 107, and generates vertical lines. Are added to the pixel values after the thinning of the contour pixels and the horizontal contour pixels.

図8は、画像処理装置9が文字又は図形を細線化し、細線化された輪郭画素が縦線の輪郭画素か横線の輪郭画素に応じて細線化の強度を調整するときの処理手順を示すフローチャートである。
図8に示すように、輪郭検出部101が文字又は図形の輪郭画素及び輪郭画素のエッジ方向を決定する(ステップS21)。
次に、細線化部102が、輪郭検出部101により決定されたエッジ方向に応じて、文字又は図形の輪郭画素の画素値を減らし、細線化する(ステップS22)。
中間調処理部105は、細線化された画像データを中間調処理する(ステップS23)。
FIG. 8 is a flowchart showing a processing procedure when the image processing apparatus 9 thins a character or a figure and the thinned outline pixel adjusts the thinning intensity according to the vertical outline pixel or the horizontal outline pixel. It is.
As shown in FIG. 8, the contour detection unit 101 determines the contour pixel of a character or graphic and the edge direction of the contour pixel (step S21).
Next, the thinning unit 102 reduces the pixel value of the contour pixel of the character or figure according to the edge direction determined by the contour detection unit 101, and thins the line (step S22).
The halftone processing unit 105 performs halftone processing on the thinned image data (step S23).

強度調整部103は、現像電位の設定値に応じて、縦線及び横線の線幅を推定する(ステップS24)。強度調整部103は、縦線及び横線のそれぞれの線幅の推定値と期待値との差分から、縦線及び横線のそれぞれの細線化の調整値を決定する(ステップS25)。   The intensity adjusting unit 103 estimates the line widths of the vertical and horizontal lines according to the set value of the development potential (step S24). The intensity adjustment unit 103 determines an adjustment value for thinning of each of the vertical and horizontal lines from the difference between the estimated value of the vertical line and the horizontal line and the expected value (step S25).

同様にして、強度調整部103は、レーザーパワーの設定値に応じて、縦線及び横線の線幅を推定する(ステップS26)。強度調整部103は、縦線及び横線のそれぞれの線幅の推定値と期待値との差分から、縦線及び横線のそれぞれの細線化の調整値を決定する(ステップS27)。   Similarly, the intensity adjusting unit 103 estimates the line widths of the vertical and horizontal lines according to the set value of the laser power (step S26). The intensity adjustment unit 103 determines an adjustment value for thinning of each vertical line and horizontal line from the difference between the estimated value and the expected value of each line width of the vertical line and horizontal line (step S27).

強度調整部103は、輪郭検出部101により決定された輪郭画素が、縦線の輪郭画素である場合、当該輪郭画素の細線化後の画素値に、現像電位及びレーザーパワーに応じて決定された縦線用の調整値をそれぞれ加算し、細線化の強度を調整する。
また、強度調整部103は、輪郭検出部101により決定された輪郭画素が、横線の輪郭画素である場合、当該輪郭画素の細線化後の画素値に、現像電位及びレーザーパワーに応じて決定された横線用の調整値をそれぞれ加算し、細線化の強度を調整する(ステップS28)。
コントーン処理部104は、強度調整部103により調整された画像データをコントーン処理して出力する(ステップS29)。
When the contour pixel determined by the contour detection unit 101 is a vertical contour pixel, the intensity adjustment unit 103 determines the pixel value after thinning the contour pixel according to the development potential and the laser power. The adjustment values for vertical lines are added to adjust the strength of thinning.
Further, when the contour pixel determined by the contour detection unit 101 is a horizontal contour pixel, the intensity adjustment unit 103 determines the pixel value after thinning the contour pixel according to the development potential and the laser power. The horizontal line adjustment values are added to adjust the thinning intensity (step S28).
The contone processing unit 104 performs contone processing on the image data adjusted by the intensity adjustment unit 103 and outputs the processed image data (step S29).

出力選択部106は、画像データの各画素が、輪郭検出部101により決定された輪郭画素であれば、強度調整部103から出力された画像データを出力する。また、出力選択部106は、輪郭検出部101により決定された輪郭画素以外の画素であれば、中間調処理部105から出力された画像データを出力する(ステップS30)。   If each pixel of the image data is a contour pixel determined by the contour detection unit 101, the output selection unit 106 outputs the image data output from the intensity adjustment unit 103. The output selection unit 106 outputs the image data output from the halftone processing unit 105 if it is a pixel other than the contour pixel determined by the contour detection unit 101 (step S30).

上述の処理手順は、画像形成時の最大濃度の条件に応じて細線化の強度を調整する場合の例である。画像形成条件が用紙の種類である場合は、用紙の種類に応じた調整値を記憶部107から取得する点が異なる他は同様の処理手順で、細線化の強度を調整することができる。   The above-described processing procedure is an example in the case where the thinning intensity is adjusted according to the maximum density condition during image formation. When the image forming condition is a paper type, the thinning intensity can be adjusted by the same processing procedure except that an adjustment value corresponding to the paper type is acquired from the storage unit 107.

図9(a)〜図9(c)は、上述した細線化の処理結果を示している。
図9(a)は、Tの文字とその背景の各画素を示している。文字部分の画素値は最大値100%であり、背景の画素値は最小値0%である。また、図9(a)の矢印は、輪郭検出部101によって決定された輪郭画素のエッジ方向を示している。
細線化部102によって細線化されると、このエッジ方向と逆方向に位置する背景の隣接画素の画素値が文字の輪郭画素にマージされるので、図9(b)に示すように、輪郭画素の画素値が一律に減らされる。
Fig.9 (a)-FIG.9 (c) have shown the processing result of the thinning mentioned above.
FIG. 9A shows the letter T and each pixel of the background. The pixel value of the character portion has a maximum value of 100%, and the background pixel value has a minimum value of 0%. Also, the arrow in FIG. 9A indicates the edge direction of the contour pixel determined by the contour detection unit 101.
When thinning is performed by the thinning unit 102, the pixel values of adjacent pixels in the background located in the direction opposite to the edge direction are merged with the contour pixel of the character, so that as shown in FIG. Is uniformly reduced.

さらに、強度調整部103により、エッジ方向が左右方向(矢印が→又は←)である縦線の輪郭画素の画素値に負の値の調整値が加算されると、図9(c)に示すように縦線の輪郭画素はより強く細線化される。一方、強度調整部103により、エッジ方向が上下方向(矢印が↓又は↑)である横線の輪郭画素の画素値に正の値の調整値が加算されると、図9(c)に示すように、横線の輪郭画素は細線化が緩和される。
画像形成後の線幅は、調整値によって画素値が増えた分だけ細くなり、画素値が減った分だけ太くなるので、最終的に細線化係数fで細線化された文字が得られる。
Furthermore, when the negative adjustment value is added to the pixel value of the vertical outline pixel whose edge direction is the left-right direction (the arrow is → or ←) by the intensity adjustment unit 103, it is shown in FIG. 9C. As described above, the vertical outline pixels are more strongly thinned. On the other hand, when the positive adjustment value is added to the pixel value of the horizontal outline pixel whose edge direction is the vertical direction (arrow is ↓ or ↑) by the intensity adjusting unit 103, as shown in FIG. In addition, thinning of the horizontal outline pixels is alleviated.
The line width after image formation becomes thinner as the pixel value increases due to the adjustment value, and becomes thicker as the pixel value decreases, so that a character thinned with the thinning coefficient f is finally obtained.

以上のように、他の実施の形態によれば、画像形成装置Gは、画像データを解析し、文字又は図形の輪郭画素と当該輪郭画素のエッジ方向とを決定する輪郭検出部101と、輪郭画素の画素値を、当該輪郭画素のエッジ方向に応じて減らし、文字又は図形を細線化する細線化部102と、輪郭画素が縦線の輪郭画素か又は横線の輪郭画素かに応じて、細線化後の線幅が期待値となるように、当該縦線及び横線の輪郭画素の細線化後の画素値を調整する強度調整部103と、を備える。   As described above, according to another embodiment, the image forming apparatus G analyzes the image data, determines the outline pixel of the character or figure and the edge direction of the outline pixel, and the outline The pixel value of a pixel is reduced according to the edge direction of the contour pixel, and a thinning unit 102 that thins a character or a figure, and a thin line depending on whether the contour pixel is a vertical line pixel or a horizontal line pixel And an intensity adjusting unit 103 that adjusts the pixel values after thinning of the vertical and horizontal outline pixels so that the line width after the conversion becomes an expected value.

これにより、縦線か又は横線かによって線幅が変動することを抑えることができ、細線化後の線幅を安定化することができる。よって、画像形成された文字又は図形を、期待された線幅で再現することができる。   Thereby, it can suppress that line width fluctuates depending on whether it is a vertical line or a horizontal line, and the line width after thinning can be stabilized. Therefore, it is possible to reproduce the image-formed character or graphic with the expected line width.

上記他の実施の形態は本発明の好適な一例であり、これに限定されない。本発明の主旨を逸脱しない範囲で適宜変更可能である。
例えば、輪郭検出部101は、Sobelフィルター、Prewittフィルター等により画像データをフィルター処理して、輪郭画素を決定することができる。
また、強度調整部103は、エッジ方向により縦線の輪郭画素か横線の輪郭画素かを決定していたが、パターンマッチングにより決定することもできる。
The above-mentioned other embodiment is a preferred example of the present invention, and the present invention is not limited to this. Modifications can be made as appropriate without departing from the spirit of the present invention.
For example, the contour detection unit 101 can determine contour pixels by filtering image data using a Sobel filter, a Prewitt filter, or the like.
Further, although the intensity adjusting unit 103 determines whether the pixel is a vertical outline pixel or a horizontal outline pixel according to the edge direction, it can also be determined by pattern matching.

また、強度調整部103は、エッジ方向Pが4〜7である斜め方向である輪郭画素についても、縦線の輪郭画素か又は横線の輪郭画素として、細線化の強度を調整することが可能である。
例えば、強度調整部103は、エッジ方向Pが4及び5である輪郭画素を縦線用の輪郭画素として細線化の強度を調整し、エッジ方向が6及び7である輪郭画素を横線用の輪郭画素として細線化の強度を調整することができる。
Further, the intensity adjusting unit 103 can adjust the intensity of thinning as a vertical outline pixel or a horizontal outline pixel even with respect to an outline pixel whose edge direction P is an oblique direction of 4 to 7. is there.
For example, the intensity adjustment unit 103 adjusts the thinning intensity by using the contour pixels whose edge direction P is 4 and 5 as vertical line contour pixels, and the contour pixels whose edge directions 6 and 7 are horizontal line contours. The intensity of thinning can be adjusted as a pixel.

また、画像形成条件と線幅の対応関係は変動することがある。よって、制御部1が画像形成部10により定期的にテストパターンを形成させて、スキャナー7により当該テストパターンを読み取らせ、画像形成条件と線幅の対応関係を測定し、記憶部107に保存された対応関係を更新することとしてもよい。   Also, the correspondence between the image forming conditions and the line width may vary. Therefore, the control unit 1 causes the image forming unit 10 to periodically form a test pattern, causes the scanner 7 to read the test pattern, measures the correspondence between the image forming conditions and the line width, and stores the test pattern in the storage unit 107. The correspondence relationship may be updated.

また、図5及び図8に示す画像処理装置9の処理手順をプログラム化し、当該プログラムを記憶部2に保存し、制御部1が当該プログラムを読み取って実行し、画像処理装置9と同じ処理をソフトウェアにより実現することも可能である。プログラムのコンピューター読み取り可能な媒体としては、ROM、フラッシュメモリー等の不揮発性メモリー、CD-ROM等の可搬型記録媒体を適用することが可能である。また、プログラムのデータを、通信回線を介して提供する媒体として、キャリアウエーブ(搬送波)も適用される。   Further, the processing procedure of the image processing device 9 shown in FIGS. 5 and 8 is programmed, the program is stored in the storage unit 2, the control unit 1 reads and executes the program, and the same processing as that of the image processing device 9 is performed. It can also be realized by software. As a computer-readable medium for the program, a non-volatile memory such as a ROM and a flash memory, and a portable recording medium such as a CD-ROM can be applied. A carrier wave is also used as a medium for providing program data via a communication line.

G 画像形成装置
1 制御部
2 記憶部
6 プリントコントローラー
9 画像処理装置
101 輪郭検出部
102 細線化部
103 強度調整部
104 コントーン処理部
105 中間調処理部
106 出力選択部
10 画像形成部
G Image forming apparatus 1 Control unit 2 Storage unit 6 Print controller 9 Image processing apparatus 101 Outline detection unit 102 Thinning unit 103 Strength adjustment unit 104 Contone processing unit 105 Halftone processing unit 106 Output selection unit 10 Image forming unit

Claims (5)

画像データを解析し、文字又は図形の輪郭画素及び当該輪郭画素のエッジ方向を決定する輪郭検出部と、
前記輪郭画素の画素値を、当該輪郭画素のエッジ方向に応じて減らし、前記文字又は図形を細線化する細線化部と、
画像形成条件に応じて、細線化後の線幅が期待値となるように、前記輪郭画素の細線化後の画素値を調整する強度調整部と、
を備える画像形成装置。
Analyzing the image data, the contour detection unit for determining the edge pixel of the contour pixel and the contour pixel of the character or figure,
A thinning unit that reduces the pixel value of the contour pixel in accordance with the edge direction of the contour pixel and thins the character or figure;
In accordance with image forming conditions, an intensity adjustment unit that adjusts the pixel value after thinning of the contour pixels so that the line width after thinning becomes an expected value;
An image forming apparatus comprising:
画像データを解析し、文字又は図形の輪郭画素と当該輪郭画素のエッジ方向とを決定する輪郭検出部と、
前記輪郭画素の画素値を、当該輪郭画素のエッジ方向に応じて減らし、前記文字又は図形を細線化する細線化部と、
画像形成条件及び前記輪郭画素が縦線の輪郭画素か又は横線の輪郭画素かに応じて、細線化後の線幅が期待値となるように、当該縦線及び横線の輪郭画素の細線化後の画素値を調整する強度調整部と、
を備える画像形成装置。
Analyzing the image data, a contour detection unit that determines a contour pixel of a character or a figure and an edge direction of the contour pixel;
A thinning unit that reduces the pixel value of the contour pixel in accordance with the edge direction of the contour pixel and thins the character or figure;
Depending on the image forming condition and whether the contour pixel is a vertical or horizontal contour pixel, the vertical and horizontal contour pixels are thinned so that the line width after thinning becomes an expected value. An intensity adjustment unit for adjusting the pixel value of
An image forming apparatus comprising:
前記画像形成条件は、最大濃度又は用紙の種類である、
請求項1又は2に記載の画像形成装置。
The image forming condition is maximum density or paper type.
The image forming apparatus according to claim 1 or 2.
画像データを解析し、文字又は図形の輪郭画素及び当該輪郭画素のエッジ方向を決定する輪郭検出工程と、
前記輪郭画素の画素値を、当該輪郭画素のエッジ方向に応じて減らし、前記文字又は図形を細線化する細線化工程と、
画像形成条件に応じて、細線化後の線幅が期待値となるように、前記輪郭画素の細線化後の画素値を調整する強度調整工程と、
を含む画像処理方法。
Analyzing image data and determining a contour pixel of a character or a figure and an edge direction of the contour pixel;
A thinning step of reducing the pixel value of the contour pixel according to the edge direction of the contour pixel, and thinning the character or figure,
According to the image forming conditions, an intensity adjustment step of adjusting the pixel value after thinning of the contour pixels so that the line width after thinning becomes an expected value;
An image processing method including:
画像データを解析し、文字又は図形の輪郭画素と当該輪郭画素のエッジ方向とを決定する輪郭検出工程と、
前記輪郭画素の画素値を、当該輪郭画素のエッジ方向に応じて減らし、前記文字又は図
形を細線化する細線化工程と、
画像形成条件及び前記輪郭画素が縦線の輪郭画素か又は横線の輪郭画素かに応じて、細線化後の線幅が期待値となるように、当該縦線及び横線の輪郭画素の細線化後の画素値を調整する強度調整工程と、
を含む画像処理方法。
Analyzing image data and determining a contour pixel of a character or figure and an edge direction of the contour pixel;
A thinning step of reducing the pixel value of the contour pixel according to the edge direction of the contour pixel, and thinning the character or figure,
Depending on the image forming condition and whether the contour pixel is a vertical or horizontal contour pixel, the vertical and horizontal contour pixels are thinned so that the line width after thinning becomes an expected value. An intensity adjustment step of adjusting the pixel value of
An image processing method including:
JP2013014910A 2013-01-30 2013-01-30 Image forming apparatus and image processing method Active JP6131613B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013014910A JP6131613B2 (en) 2013-01-30 2013-01-30 Image forming apparatus and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013014910A JP6131613B2 (en) 2013-01-30 2013-01-30 Image forming apparatus and image processing method

Publications (2)

Publication Number Publication Date
JP2014146211A JP2014146211A (en) 2014-08-14
JP6131613B2 true JP6131613B2 (en) 2017-05-24

Family

ID=51426415

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013014910A Active JP6131613B2 (en) 2013-01-30 2013-01-30 Image forming apparatus and image processing method

Country Status (1)

Country Link
JP (1) JP6131613B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6410087B2 (en) * 2014-09-04 2018-10-24 株式会社リコー Image forming method, image forming apparatus, and printed matter production method
JP6909192B2 (en) * 2014-09-04 2021-07-28 株式会社リコー Image forming method, image forming device, printed matter production method
JP2017208669A (en) * 2016-05-17 2017-11-24 株式会社リコー Image processing apparatus, drive control device, light source control device, image forming apparatus, and image processing method
JP6828349B2 (en) * 2016-09-30 2021-02-10 株式会社リコー Image processing device, image forming device and image processing method
JP6822233B2 (en) * 2017-03-14 2021-01-27 株式会社リコー Image processing device, drive control device, light source control device, image forming device, and image processing method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5058695B2 (en) * 2006-07-07 2012-10-24 キヤノン株式会社 Image processing apparatus, image processing method, and image processing program
JP2012121265A (en) * 2010-12-09 2012-06-28 Canon Inc Image forming apparatus and control method thereof

Also Published As

Publication number Publication date
JP2014146211A (en) 2014-08-14

Similar Documents

Publication Publication Date Title
US9349161B2 (en) Image processing apparatus and image processing method with edge enhancement
JP5874721B2 (en) Image processing apparatus, image correction method, and program
JP6131613B2 (en) Image forming apparatus and image processing method
US9571697B2 (en) Image processing device setting sharpness adjustment degrees for object regions and performing unsharp masking process
JP4872860B2 (en) Image processing apparatus and image processing method
US10506131B2 (en) Image processing apparatus that specifies edge pixel in target image using single-component image data
US8917425B2 (en) Image processing apparatus for executing halftone processing, image processing system, image processing method, program product, and computer-readable storage medium
US8804202B2 (en) Image processing apparatus, image processing method, and recording medium
US20180240218A1 (en) Image processing apparatus that smooths image using classification result of pixels included therein
JP5875543B2 (en) Image forming apparatus
US9398194B2 (en) Image processing apparatus and method performing density adjustment on image data based on generated density characteristics data
JP2017053985A (en) Image forming apparatus, control method of image forming apparatus, and program
US8810856B2 (en) Image processing device executing halftone process by using determined parameter based on potential for banding
JP6236971B2 (en) Image processing apparatus, image forming apparatus, and image processing program
JP3796985B2 (en) Image processing apparatus, image processing method, and storage medium
JP2018033043A (en) Image formation device, control method, and program
JP6209894B2 (en) Image processing apparatus, image forming apparatus, and image processing program
JP6303458B2 (en) Image processing apparatus and image processing method
US9280115B2 (en) Image forming apparatus with consumption prediction, method of controlling the same, and non-transitory computer-readable medium
JP6604172B2 (en) Image forming apparatus and line width adjusting method
US10477067B2 (en) Image forming apparatus, image forming method, and storage medium
US9143654B2 (en) Image processing apparatus, image processing method, and storage medium
JP2023020165A (en) Image processing apparatus and image forming apparatus and method for controlling these, and program
JP6440000B2 (en) Image processing device
JP2013025186A (en) Image forming apparatus and image processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150925

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160920

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160927

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161128

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170403

R150 Certificate of patent or registration of utility model

Ref document number: 6131613

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150