JP2009253645A - Image processor and processing method thereof - Google Patents

Image processor and processing method thereof Download PDF

Info

Publication number
JP2009253645A
JP2009253645A JP2008098743A JP2008098743A JP2009253645A JP 2009253645 A JP2009253645 A JP 2009253645A JP 2008098743 A JP2008098743 A JP 2008098743A JP 2008098743 A JP2008098743 A JP 2008098743A JP 2009253645 A JP2009253645 A JP 2009253645A
Authority
JP
Japan
Prior art keywords
image data
processing
data
binarized
smoothing
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.)
Withdrawn
Application number
JP2008098743A
Other languages
Japanese (ja)
Inventor
Takeshi Akiyama
武士 秋山
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.)
Canon Inc
Original Assignee
Canon 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 Canon Inc filed Critical Canon Inc
Priority to JP2008098743A priority Critical patent/JP2009253645A/en
Publication of JP2009253645A publication Critical patent/JP2009253645A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To reduce hardware costs in smoothing processing and to perform high-definition smoothing processing. <P>SOLUTION: Input multi-level image data are binarized by a binarizing section, and the binarized data are held in a plurality of line buffers. Based on the binarized data held in the plurality of line buffers, when smoothing multi-level image data, the order of transferring the multi-level image data to be smoothed to the binarizing section is controlled. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、パターンマッチングを用いたエッジ検出方法に関するものである。   The present invention relates to an edge detection method using pattern matching.

近年、電子写真技術を用いた画像形成装置の分野において、ジャギーを除去する方法として、オーバーサンプリングやパターンマッチングによる置き換えなど様々な方法が検討されている。   In recent years, various methods such as replacement by oversampling or pattern matching have been studied as methods for removing jaggies in the field of image forming apparatuses using electrophotographic technology.

特に、ハードウェア(ラインバッファ)を用いてパターンマッチングを行い、その結果からジャギー補正を行う場合、以下に説明する2つの方法が提案されている。   In particular, when pattern matching is performed using hardware (line buffer) and jaggy correction is performed based on the result, two methods described below have been proposed.

1つ目の方法は、特許文献1に記載のように、ハーフトーンなどの擬似中間調処理の後にスムージング処理を行う方法である。しかし、この方法では、図1に示すように、入力された画像データ(8ビット)を2値化部101で擬似中間調(ハーフトーン)処理する。その後、スムージング処理部102でパターンマッチングを行って参照画素の濃度値を補正するため、擬似中間調の再現性に問題が生じる。   The first method is a method of performing a smoothing process after a pseudo halftone process such as a halftone as described in Patent Document 1. However, in this method, as shown in FIG. 1, the input image data (8 bits) is subjected to pseudo halftone processing by the binarization unit 101. After that, since the smoothing processing unit 102 performs pattern matching to correct the density value of the reference pixel, a problem occurs in the reproducibility of the pseudo halftone.

この問題を解決するには、スムージング処理を考慮したハーフトーンパターンの作成が必要である。しかし、このスムージング処理を考慮したハーフトーンパターンを設計するには、更なる時間を要し、そのハーフトーンパターンの作成にはスムージング処理を考慮することにより、より複雑になってしまう。   In order to solve this problem, it is necessary to create a halftone pattern in consideration of the smoothing process. However, it takes more time to design a halftone pattern in consideration of the smoothing process, and the creation of the halftone pattern becomes more complicated by considering the smoothing process.

また、擬似中間調処理を行った後にスムージング処理をかけるのは、元画像よりも情報量が少ない状態でスムージング処理を行うことになり、高性能なスムージング処理を行うことは期待できない。   In addition, applying the smoothing process after the pseudo halftone process is performed means that the smoothing process is performed in a state where the amount of information is smaller than that of the original image, and high-performance smoothing process cannot be expected.

2つ目の方法は、ハーフトーンなどの疑似中間階調処理の前にスムージング処理を行う方法である。ここで、図2を用いてこの方法を説明する。ラインバッファに、8ビットの画像データが入力される。尚、5×5のウィンドウを用いてスムージング処理を行う場合には、最低でも4ライン分のラインバッファを必要とする。この例では、ラインバッファは8ビット×4ライン×(主走査方向の画素数)分が必要となる。   The second method is a method in which smoothing processing is performed before pseudo halftone processing such as halftone. Here, this method will be described with reference to FIG. 8-bit image data is input to the line buffer. Note that when performing the smoothing process using a 5 × 5 window, a line buffer for at least four lines is required. In this example, the line buffer needs 8 bits × 4 lines × (number of pixels in the main scanning direction).

ラインバッファに貯められた画像データはスムージング処理部201のシフトレジスタに入力され、5×5の補正ウィンドウを作る。このウィンドウを用いて、エッジ検出部がパターン記憶部に保持されたパターンデータと比較し、エッジ検出を行う。このパターンマッチングにより、エッジと判断された画素は画素補正演算部でスムージング処理され、エッジでない画素はそのまま出力される。そして、出力された多ビットデータは、ハーフトーン処理部202により擬似中間調処理が行われる。   The image data stored in the line buffer is input to the shift register of the smoothing processing unit 201 to create a 5 × 5 correction window. Using this window, the edge detection unit compares the pattern data stored in the pattern storage unit with edge detection. By this pattern matching, pixels determined to be edges are smoothed by the pixel correction calculation unit, and pixels that are not edges are output as they are. The output multi-bit data is subjected to pseudo halftone processing by the halftone processing unit 202.

この方法の利点は、スムージング処理を行った後の多値データに対してハーフトーンなどの擬似中間調処理を行うことにより、濃度の再現性が高まる点である。また、多ビットデータに対してスムージング処理を行うことができるため、高性能なスムージングを実現することができる点である。   An advantage of this method is that density reproducibility is improved by performing pseudo halftone processing such as halftone on multi-value data after smoothing processing. In addition, since smoothing processing can be performed on multi-bit data, high-performance smoothing can be realized.

しかし、2つ目の方法の問題点は、1つ目の方法において擬似中間調処理されたデータが1ビットで、その1ビットのデータに対してスムージング処理を行った場合と比較すると、ラインバッファの量が8倍に増えている。
特開2002-165096号公報
However, the problem of the second method is that the data subjected to pseudo halftone processing in the first method is 1 bit, and the line buffer is compared with the case where the smoothing processing is performed on the 1-bit data. The amount of has increased 8 times.
Japanese Patent Laid-Open No. 2002-165096

上記従来例では、パターンマッチングを用いて、エッジ検出を行うスムージング処理において、2値データに対してスムージング処理をかけるにはスムージング処理を考慮したハーフトーンパターンの設計が必要である。また、2値データに対してスムージング処理を行った場合、高精彩化が期待できない。   In the above conventional example, in the smoothing process for performing edge detection using pattern matching, the halftone pattern must be designed in consideration of the smoothing process in order to apply the smoothing process to the binary data. Further, when smoothing processing is performed on binary data, high definition cannot be expected.

一方、多値データに対してスムージング処理を行った場合、ラインバッファのデータ量が大きく、ハードウェアのコストが高価になる。   On the other hand, when smoothing processing is performed on multi-value data, the amount of data in the line buffer is large and the cost of hardware becomes expensive.

本発明は、スムージング処理におけるハードウェアコストを安価にすると共に、高精彩なスムージング処理を可能とすることを目的とする。   An object of the present invention is to reduce the hardware cost in the smoothing process and to enable a high-quality smoothing process.

本発明は、入力された多値の画像データを画像処理して出力する画像処理装置であって、前記多値の画像データを2値化する2値化手段と、前記2値化された2値化データを保持する複数のラインバッファと、前記複数のラインバッファに保持された2値化データに基づいて前記多値の画像データをスムージング処理する処理手段と、前記処理手段でスムージング処理される前記多値の画像データを前記2値化手段へ転送する順序を制御する制御手段と、を有することを特徴とする。   The present invention is an image processing apparatus that performs image processing on input multi-value image data and outputs the image data, and binarization means for binarizing the multi-value image data; and the binarized 2 A plurality of line buffers that hold the binarized data; a processing unit that smoothes the multi-valued image data based on the binarized data held in the plurality of line buffers; and the smoothing process performed by the processing unit Control means for controlling the order in which the multi-value image data is transferred to the binarization means.

また、本発明は、入力された多値の画像データを画像処理して出力する画像処理装置の処理方法であって、前記多値の画像データを2値化する2値化工程と、前記2値化された2値化データを複数のラインバッファに保持する保持工程と、前記複数のラインバッファに保持された2値化データに基づいて前記多値の画像データをスムージング処理する処理工程と、前記処理工程でスムージング処理される前記多値の画像データを前記2値化工程へ転送する順序を制御する制御工程と、を有することを特徴とする。   The present invention is also a processing method of an image processing apparatus that performs image processing on input multi-valued image data and outputs the processed multi-valued image data, and a binarization step for binarizing the multi-valued image data; A holding step of holding the binarized binarized data in a plurality of line buffers; a processing step of smoothing the multi-valued image data based on the binarized data held in the plurality of line buffers; And a control step for controlling the order in which the multivalued image data subjected to the smoothing process in the processing step is transferred to the binarization step.

本発明によれば、スムージング処理におけるハードウェアコストが安価になると共に、高精彩なスムージング処理が可能となる。   According to the present invention, the hardware cost in the smoothing process is reduced, and a high-quality smoothing process is possible.

以下、図面を参照しながら発明を実施するための最良の形態について詳細に説明する。   The best mode for carrying out the invention will be described below in detail with reference to the drawings.

図3は、画像形成装置における画像処理部の構成の一例を示す図である。尚、画像形成装置はレーザプリンタであり、画像処理部は入力された画像データをパターンマッチングによりスムージング処理し、ジャギーを除去した後、ハーフトーンなどの擬似中間調処理を行って出力する。   FIG. 3 is a diagram illustrating an example of the configuration of the image processing unit in the image forming apparatus. The image forming apparatus is a laser printer, and the image processing unit performs smoothing processing on input image data by pattern matching, removes jaggies, and then performs pseudo halftone processing such as halftone and outputs.

また、パターンマッチングにより画像データのエッジを検出する際に、ウィンドウ処理に必要なラインバッファのサイズを削減するために、入力された多値の画像データを2値化してラインバッファに保持する。   Further, when detecting the edge of the image data by pattern matching, the input multi-valued image data is binarized and stored in the line buffer in order to reduce the size of the line buffer necessary for window processing.

図3において、301〜304はラインバッファであり、入力された2値データを一時記憶する。305はスムージング処理部であり、シフトレジスタ群311、エッジ検出部312、画素補正演算部313から構成される。   In FIG. 3, reference numerals 301 to 304 denote line buffers, which temporarily store input binary data. A smoothing processing unit 305 includes a shift register group 311, an edge detection unit 312, and a pixel correction calculation unit 313.

シフトレジスタ群311は、パターンマッチングによりエッジ検出を行うウィンドウとして機能するものである。シフトレジスタ群311は、ラインバッファ301〜304に保持された1ビットのデータを保持するシフトレジスタと、入力された8ビットのデータを保持するシフトレジスタとで構成される。このシフトレジスタ群311をウィンドウとも称す。   The shift register group 311 functions as a window for performing edge detection by pattern matching. The shift register group 311 includes a shift register that holds 1-bit data held in the line buffers 301 to 304 and a shift register that holds input 8-bit data. This shift register group 311 is also referred to as a window.

また、エッジ検出部312はエッジ検出用のパターンを記憶するパターン記憶部314を含む。そして、画素補正演算部313はエッジ検出部312での検出結果により詳細は後述する演算方法に従って参照画素を補正する。   The edge detection unit 312 includes a pattern storage unit 314 that stores a pattern for edge detection. Then, the pixel correction calculation unit 313 corrects the reference pixel according to the calculation method described later in detail based on the detection result of the edge detection unit 312.

306はハーフトーン部であり、スムージング処理部305でスムージング処理された画像データに対して擬似中間調処理を行う。307はパルス幅変調(PWM)部であり、ハーフトーン処理された画素データに対してパルス幅変調を行い、不図示のエンジン部へ出力する。308は2値化部であり、入力された多値の画像データを2値化する。ここで、2値化部308は2値化の閾値として8ビットデータの128を設定し、画素データが閾値よりも大きい場合は“1”に、小さい場合は“0”に2値化する。   A halftone unit 306 performs pseudo halftone processing on the image data smoothed by the smoothing processing unit 305. A pulse width modulation (PWM) unit 307 performs pulse width modulation on the halftone-processed pixel data and outputs the result to an engine unit (not shown). Reference numeral 308 denotes a binarization unit that binarizes input multi-value image data. Here, the binarization unit 308 sets 128 of 8-bit data as a binarization threshold, and binarizes to “1” when the pixel data is larger than the threshold and to “0” when the pixel data is smaller.

ここで、入力された画像データを2値化し、ラインバッファ(1ビット×4ライン)に一時記憶し、ウィンドウを用いたパターンマッチングにより参照画素をスムージング処理する方法を、図4〜図9を用いて説明する。   Here, a method of binarizing input image data, temporarily storing it in a line buffer (1 bit × 4 lines), and performing a smoothing process on reference pixels by pattern matching using a window will be described with reference to FIGS. I will explain.

図4は、入力された画像データの一例を示す図である。ここでは、8ビットのデータで濃度が50%の文字“a”に対してスムージング処理を行うものとする。図4において、400は画素データに対してスムージング処理を行う際の画素データとウィンドウ311との関係を示す仮想的なウィンドウである。また、このウィンドウ400はスムージング処理により図中の右側へ移動していく。また、401はスムージング処理を行う際の参照画素であり、多ビット(8ビット)の画素である。   FIG. 4 is a diagram illustrating an example of input image data. Here, it is assumed that the smoothing process is performed on the character “a” having 8-bit data and a density of 50%. In FIG. 4, reference numeral 400 denotes a virtual window showing the relationship between the pixel data and the window 311 when the smoothing process is performed on the pixel data. Further, this window 400 moves to the right side in the figure by the smoothing process. Reference numeral 401 denotes a reference pixel when performing the smoothing process, and is a multi-bit (8-bit) pixel.

図5は、2値化された画素データが入力されたウィンドウ311を示す図である。図6は、パターン記憶部314に記憶されるマッチングパターンの一例を示す図である。図7は、マッチングパターンと参照画素の演算方法との対応を示す図である。   FIG. 5 is a diagram illustrating a window 311 into which binarized pixel data is input. FIG. 6 is a diagram illustrating an example of a matching pattern stored in the pattern storage unit 314. FIG. 7 is a diagram illustrating a correspondence between a matching pattern and a reference pixel calculation method.

尚、図7に示す701の「1の位置30%で出力」の「1の位置」は、図8に示す位置である。また、図6では、(a)〜(f)に示す6種類のマッチングパターンを例として示しているが、パターンの数に制限はなく、図7に示すように、パターンの数に対応する演算方法を用意しておけば良い。   Incidentally, “1 position” of “output at 30% of 1 position” of 701 shown in FIG. 7 is the position shown in FIG. In FIG. 6, six types of matching patterns shown in (a) to (f) are shown as an example. However, the number of patterns is not limited, and as shown in FIG. 7, an operation corresponding to the number of patterns is performed. Prepare a method.

ここで、図5に示すウィンドウ311の画素データの場合、エッジ検出部312は一致するエッジパターンとして図6に示す(b)のマッチングパターンを検出する。従って、画素補正演算部313は、演算方法として図7に示す「参照画素の80%で出力」702を選択し、図9に示すように、参照画素の濃度を補正する。   Here, in the case of the pixel data of the window 311 shown in FIG. 5, the edge detection unit 312 detects the matching pattern shown in FIG. 6B as a matching edge pattern. Accordingly, the pixel correction calculation unit 313 selects “output at 80% of the reference pixels” 702 shown in FIG. 7 as the calculation method, and corrects the density of the reference pixels as shown in FIG.

図10は、スムージング処理を行った結果を示す図である。図10に示すように、図4と比較してエッジ部分が滑らかになっている。図10に示す例は、20種類のマッチングパターンを用意してスムージング処理を行った結果である。   FIG. 10 is a diagram illustrating a result of performing the smoothing process. As shown in FIG. 10, the edge portion is smoother than in FIG. The example shown in FIG. 10 is a result of smoothing processing by preparing 20 types of matching patterns.

従来のハーフトーンなどの擬似中間調処理が行われた後、スムージング処理を行うと、参照画素自体のビット数が減り情報量が減ってしまう。しかし、擬似中間調処理を行う前にスムージング処理を行えば、参照画素を多ビット(8ビット)で扱うことができるため、より高性能なスムージング処理を行うことが可能となる。   When the smoothing process is performed after the pseudo halftone process such as the conventional halftone process is performed, the number of bits of the reference pixel itself is decreased and the amount of information is decreased. However, if the smoothing process is performed before the pseudo halftone process is performed, the reference pixel can be handled with multiple bits (8 bits), so that a higher-performance smoothing process can be performed.

また、従来の画像データは1ライン目から順に転送され、スムージング処理がなされていた。しかし、本実施形態では、エッジ検出用のラインバッファを大幅に削減するために、特徴あるライン転送方法によって転送を行っている。   Further, conventional image data is transferred in order from the first line, and is subjected to smoothing processing. However, in this embodiment, transfer is performed by a characteristic line transfer method in order to greatly reduce the edge detection line buffer.

そのため、データの転送サイズは約2倍と大きくなるが、安価なハードウェアの構成で高性能なスムージング処理を行うことができる。   Therefore, although the data transfer size is about twice as large, high-performance smoothing processing can be performed with an inexpensive hardware configuration.

ここで、本発明に係る特徴的なライン転送順序を、図3及び図11を用いて説明する。尚、ライン転送順序の制御は、不図示のCPUがROMに格納されたプログラムに従って実行するものとする。   Here, a characteristic line transfer order according to the present invention will be described with reference to FIGS. The control of the line transfer order is executed by a CPU (not shown) according to a program stored in the ROM.

図11は、本実施形態におけるライン転送順序を示すフローチャートである。まず、ステップS1101において、ラインカウンタNを“1”に初期化する。次に、ステップS1102において、ラインカウンタNの値が“3”以上か否かを判定し、YesであればステップS1104へ処理を進め、NoであればステップS1103へ処理を進める。   FIG. 11 is a flowchart showing the line transfer order in this embodiment. First, in step S1101, the line counter N is initialized to “1”. Next, in step S1102, it is determined whether or not the value of the line counter N is “3” or more. If Yes, the process proceeds to step S1104, and if No, the process proceeds to step S1103.

ステップS1103では、ページの先頭を白画素として処理するために、1ライン分の白画素を示すデータを画像データ入力Aから投入する。ここで、Aから投入されたデータはシフトレジスタを通り2値化部308で2値化処理が施され、ラインバッファ302に入力される。また同時に、元々ラインバッファ302に貯められていたデータは、シフトレジスタを通過し、ラインバッファ301に入力される。   In step S1103, data indicating white pixels for one line is input from the image data input A in order to process the top of the page as a white pixel. Here, the data input from A passes through the shift register, is binarized by the binarization unit 308, and is input to the line buffer 302. At the same time, the data originally stored in the line buffer 302 passes through the shift register and is input to the line buffer 301.

一方、ステップS1104では、画像データを画像データ入力Aから投入する。Aから投入されたデータはシフトレジスタを通り2値化部308で2値化処理が施され、ラインバッファ302に入力される。また同時に、元々ラインバッファ302に貯められていたデータは、シフトレジスタを通過し、ラインバッファ301に入力される。   On the other hand, in step S1104, image data is input from image data input A. The data input from A passes through the shift register, is binarized by the binarization unit 308, and is input to the line buffer 302. At the same time, the data originally stored in the line buffer 302 passes through the shift register and is input to the line buffer 301.

次に、ステップS1105において、ラインカウンタNの値が“ライン数”以下か否かを判定し、YesであればステップS1106へ処理を進め、またNoであればステップS1107へ処理を進める。   Next, in step S1105, it is determined whether or not the value of the line counter N is equal to or less than the “number of lines”. If Yes, the process proceeds to step S1106, and if No, the process proceeds to step S1107.

ステップS1106では、Nライン目のデータを画像データ入力Bから投入する。このBから投入されたデータは2値化部308で2値化処理が施され、ラインバッファ304に入力される。また同時に、元々ラインバッファ304に貯められていたデータは、シフトレジスタを通過し、ラインバッファ303に入力される。そして、ステップS1109で、ラインカウンタNをN+1に更新し、ステップS1102に戻り、上述の処理を繰り返す。   In step S1106, the Nth line data is input from the image data input B. The data input from B is binarized by the binarizing unit 308 and input to the line buffer 304. At the same time, the data originally stored in the line buffer 304 passes through the shift register and is input to the line buffer 303. In step S1109, the line counter N is updated to N + 1, the process returns to step S1102, and the above-described processing is repeated.

ステップS1107では、ラインカウンタNの値がライン数を超えたので、1ライン分の白画素を示すデータを画像データ入力Bから投入する。そして、ステップS1108において、ラインカウンタNの値が“ライン数+2”に等しいか否かを判定し、NoであればステップS1109へ処理を進めるが、Yesであれば、この処理を終了する。   In step S1107, since the value of the line counter N exceeds the number of lines, data indicating white pixels for one line is input from the image data input B. In step S1108, it is determined whether or not the value of the line counter N is equal to “number of lines + 2”. If No, the process proceeds to step S1109. If Yes, the process ends.

本実施形態では、1ページの全てのデータを転送する場合を想定しているため、画像の周囲に白画素があると仮定して補正を行っている。しかし、画像を複数のラインのバンド単位に区切って転送する場合、前のバンドの最終ラインを投入する処理も考えられる。   In this embodiment, since it is assumed that all data of one page is transferred, correction is performed on the assumption that there are white pixels around the image. However, when the image is transferred by being divided into band units of a plurality of lines, a process of inserting the last line of the previous band is also conceivable.

また、本実施形態では、5×5のウィンドウを用いて参照画素の補正を行っているが、本発明はウィンドウのサイズに制限されるものではない。   In this embodiment, reference pixels are corrected using a 5 × 5 window, but the present invention is not limited to the size of the window.

また、本実施形態では、2値化データを用いてラインバッファの削減を試みているが、2/3種類の閾値を設定して3値化又は4値化データを用いてエッジ検出を行っても良く、ビット幅を制限するものではない。   In this embodiment, line buffer reduction is attempted using binarized data, but 2/3 types of thresholds are set and edge detection is performed using ternary or quaternary data. It does not limit the bit width.

更に、本実施形態では、1ページ全てのデータに対してスムージング処理を行う場合を説明したが、1ページを複数のバンドに分けて転送する場合、スムージングを行わなくて良いバンドに対してはデータを2度転送しなくても良い。   Furthermore, in the present embodiment, the case where the smoothing process is performed on all the data of one page has been described. However, when one page is divided into a plurality of bands and transferred, the data for the band that does not need to be smoothed is used. May not be transferred twice.

図12は、1ページを複数のバンドに分けて各バンドを処理する場合の一例を示す図である。図12に示すように、バンド1、2、6のテキスト部分にスムージング処理を行い、バンド3〜5の自然画部分にスムージング処理を行いたくない場合、スムージング処理部305に処理を行うか否かを設定する機能が必要となる。   FIG. 12 is a diagram illustrating an example of processing each band by dividing one page into a plurality of bands. As shown in FIG. 12, when smoothing processing is performed on the text portions of bands 1, 2, and 6 and smoothing processing is not performed on the natural image portions of bands 3 to 5, whether or not the smoothing processing unit 305 performs processing is determined. The function to set is required.

図13は、複数のバンドの各々をスムージング処理するか否かを設定可能な画像処理部の構成の一例を示す図である。例えば、バンド3〜5の自然画部分にスムージング処理を行いたくない場合、図13に示すスムージングON/OFFレジスタ1301にOFFを設定し、Aから通常通りに(上からラインを順番通りに)、転送すれば良い。   FIG. 13 is a diagram illustrating an example of a configuration of an image processing unit that can set whether to perform smoothing processing on each of a plurality of bands. For example, when it is not desired to perform the smoothing process on the natural image portions of the bands 3 to 5, the smoothing ON / OFF register 1301 shown in FIG. Just forward.

尚、本発明は複数の機器(例えば、ホストコンピュータ、インターフェース機器、リーダ、プリンタなど)から構成されるシステムに適用しても、1つの機器からなる装置(例えば、複写機、ファクシミリ装置など)に適用しても良い。   Even if the present invention is applied to a system constituted by a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), it is applied to an apparatus (for example, a copying machine, a facsimile machine, etc.) comprising a single device. It may be applied.

また、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記録媒体を、システム或いは装置に供給し、そのシステム或いは装置のコンピュータ(CPU若しくはMPU)が記録媒体に格納されたプログラムコードを読出し実行する。これによっても、本発明の目的が達成されることは言うまでもない。   In addition, a recording medium in which a program code of software for realizing the functions of the above-described embodiments is recorded is supplied to the system or apparatus, and the computer (CPU or MPU) of the system or apparatus stores the program code stored in the recording medium. Read and execute. It goes without saying that the object of the present invention can also be achieved by this.

この場合、コンピュータ読み取り可能な記録媒体から読出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記録媒体は本発明を構成することになる。   In this case, the program code itself read from the computer-readable recording medium realizes the functions of the above-described embodiments, and the recording medium storing the program code constitutes the present invention.

このプログラムコードを供給するための記録媒体として、例えばフレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROMなどを用いることができる。   As a recording medium for supplying the program code, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

また、コンピュータが読出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、次の場合も含まれることは言うまでもない。即ち、プログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)などが実際の処理の一部又は全部を行い、その処理により前述した実施形態の機能が実現される場合である。   In addition, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also the following cases are included. That is, based on the instruction of the program code, an OS (operating system) running on the computer performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing. .

更に、記録媒体から読出されたプログラムコードがコンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込む。その後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部又は全部を行い、その処理により前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Further, the program code read from the recording medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer. After that, based on the instruction of the program code, the CPU of the function expansion board or function expansion unit performs part or all of the actual processing, and the function of the above-described embodiment is realized by the processing. Needless to say.

従来のハーフトーンなどの擬似中間調処理の後にスムージング処理を行う方法を説明するための図である。It is a figure for demonstrating the method of performing a smoothing process after the pseudo halftone processes, such as the conventional halftone. 従来のハーフトーンなどの疑似中間階調処理の前にスムージング処理を行う方法を説明するための図である。It is a figure for demonstrating the method of performing a smoothing process before pseudo | simulation halftone processes, such as the conventional halftone. 画像形成装置における画像処理部の構成の一例を示す図である。2 is a diagram illustrating an example of a configuration of an image processing unit in the image forming apparatus. FIG. 入力された画像データの一例を示す図である。It is a figure which shows an example of the input image data. 2値化された画素データが入力されたウィンドウ311を示す図である。It is a figure which shows the window 311 into which the binarized pixel data was input. パターン記憶部314に記憶されるマッチングパターンの一例を示す図である。It is a figure which shows an example of the matching pattern memorize | stored in the pattern memory | storage part 314. マッチングパターンと参照画素の演算方法との対応を示す図である。It is a figure which shows a response | compatibility with the calculation method of a matching pattern and a reference pixel. 図7に記載の「位置」を説明するための図である。It is a figure for demonstrating the "position" described in FIG. 画素補正演算部313における参照画素の濃度補正を説明するための図である。FIG. 10 is a diagram for explaining density correction of a reference pixel in a pixel correction calculation unit 313. スムージング処理を行った結果を示す図である。It is a figure which shows the result of having performed the smoothing process. 本実施形態におけるライン転送順序を示すフローチャートである。It is a flowchart which shows the line transfer order in this embodiment. 1ページを複数のバンドに分けて各バンドを処理する場合の一例を示す図である。It is a figure which shows an example in the case of dividing each page into a plurality of bands and processing each band. 複数のバンドの各々をスムージング処理するか否かを設定可能な画像処理部の構成の一例を示す図である。It is a figure which shows an example of a structure of the image process part which can set whether each of a some band is smoothed.

符号の説明Explanation of symbols

301 ラインバッファ
302 ラインバッファ
303 ラインバッファ
304 ラインバッファ
305 スムージング処理部
306 ハーフトーン部
307 パルス幅変調(PWM)部
308 2値化部
311 シフトレジスタ群(ウィンドウ)
312 エッジ検出部
313 画素補正演算部
314 パターン記憶部
400 ウィンドウ
401 参照画素
301 Line buffer 302 Line buffer 303 Line buffer 304 Line buffer 305 Smoothing processing unit 306 Halftone unit 307 Pulse width modulation (PWM) unit 308 Binary unit 311 Shift register group (window)
312 Edge detection unit 313 Pixel correction calculation unit 314 Pattern storage unit 400 Window 401 Reference pixel

Claims (7)

入力された多値の画像データを画像処理して出力する画像処理装置であって、
前記多値の画像データを2値化する2値化手段と、
前記2値化された2値化データを保持する複数のラインバッファと、
前記複数のラインバッファに保持された2値化データに基づいて前記多値の画像データをスムージング処理する処理手段と、
前記処理手段でスムージング処理される前記多値の画像データを前記2値化手段へ転送する順序を制御する制御手段と、
を有することを特徴とする画像処理装置。
An image processing apparatus that performs image processing and outputs input multi-value image data,
Binarizing means for binarizing the multi-valued image data;
A plurality of line buffers for holding the binarized binarized data;
Processing means for smoothing the multi-valued image data based on the binarized data held in the plurality of line buffers;
Control means for controlling the order of transferring the multi-value image data smoothed by the processing means to the binarization means;
An image processing apparatus comprising:
前記制御手段は、前記多値の画像データを前記2値化手段へ転送する順序と、前記処理手段へ転送する順序とを制御することを特徴とする請求項1に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the control unit controls an order of transferring the multi-value image data to the binarization unit and an order of transferring the multi-value image data to the processing unit. 前記処理手段は、パターンマッチングにより前記多値の画像データのエッジ部分を検出し、検出された多値の画像データのエッジ部分をスムージング処理することを特徴とする請求項1又は2に記載の画像処理装置。   3. The image according to claim 1, wherein the processing unit detects an edge portion of the multivalued image data by pattern matching and performs a smoothing process on the detected edge portion of the multivalued image data. Processing equipment. 前記処理手段は、1ページを複数のバンドに分けて各バンドを処理する際に、該処理を行うか否かを設定する手段を更に有することを特徴とする請求項1乃至3の何れか1項に記載の画像処理装置。   The processing means further comprises means for setting whether or not to perform processing when each page is processed by dividing one page into a plurality of bands. The image processing apparatus according to item. 入力された多値の画像データを画像処理して出力する画像処理装置の処理方法であって、
前記多値の画像データを2値化する2値化工程と、
前記2値化された2値化データを複数のラインバッファに保持する保持工程と、
前記複数のラインバッファに保持された2値化データに基づいて前記多値の画像データをスムージング処理する処理工程と、
前記処理工程でスムージング処理される前記多値の画像データを前記2値化工程へ転送する順序を制御する制御工程と、
を有することを特徴とする画像処理装置の処理方法。
A processing method of an image processing apparatus that performs image processing on input multi-valued image data and outputs the processed image data,
A binarization step for binarizing the multi-value image data;
A holding step of holding the binarized binarized data in a plurality of line buffers;
A process for smoothing the multi-valued image data based on the binarized data held in the plurality of line buffers;
A control step for controlling the order in which the multi-value image data smoothed in the processing step is transferred to the binarization step;
A processing method for an image processing apparatus, comprising:
請求項5に記載の画像処理装置の処理方法をコンピュータに実行させるためのプログラム。   A program for causing a computer to execute the processing method of the image processing apparatus according to claim 5. 請求項6に記載のプログラムを記録したコンピュータにより読み取り可能な記録媒体。   A computer-readable recording medium on which the program according to claim 6 is recorded.
JP2008098743A 2008-04-04 2008-04-04 Image processor and processing method thereof Withdrawn JP2009253645A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008098743A JP2009253645A (en) 2008-04-04 2008-04-04 Image processor and processing method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008098743A JP2009253645A (en) 2008-04-04 2008-04-04 Image processor and processing method thereof

Publications (1)

Publication Number Publication Date
JP2009253645A true JP2009253645A (en) 2009-10-29

Family

ID=41313890

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008098743A Withdrawn JP2009253645A (en) 2008-04-04 2008-04-04 Image processor and processing method thereof

Country Status (1)

Country Link
JP (1) JP2009253645A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011176556A (en) * 2010-02-24 2011-09-08 Ricoh Co Ltd Image processing apparatus, program and recording medium
JP2012124874A (en) * 2010-12-10 2012-06-28 Canon Inc Image forming apparatus and image forming method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011176556A (en) * 2010-02-24 2011-09-08 Ricoh Co Ltd Image processing apparatus, program and recording medium
JP2012124874A (en) * 2010-12-10 2012-06-28 Canon Inc Image forming apparatus and image forming method thereof
US9247105B2 (en) 2010-12-10 2016-01-26 Canon Kabushiki Kaisha Image forming apparatus and image forming method therefor

Similar Documents

Publication Publication Date Title
JP3592545B2 (en) Image processing apparatus, image processing method, and information recording medium
JP5209953B2 (en) Image data supply apparatus and image data supply method
US9036214B2 (en) Dither matrix generating method, image processing device, and non-transitory computer readable storage medium storing program
US8379998B2 (en) Image processing apparatus and method
JP2008067044A (en) Image processor, image reader, image processing method, and image processing program
JP2009253645A (en) Image processor and processing method thereof
JP2008072585A (en) Method of supplying data for arithmetic processing and image processing apparatus
JP2009038733A (en) Image processing apparatus, image correcting method, and program
JP4950919B2 (en) Image processing apparatus and image processing method
JP4146047B2 (en) Image tilt detection method and document image processing apparatus
US8466928B2 (en) Image processing apparatus and method
JP4313527B2 (en) Image drawing device
JP6886622B2 (en) Image processing device
JP4784531B2 (en) Image processing method and image processing apparatus
JP3080937B2 (en) JBIG encoding method and recording medium recording JBIG program
JP2006264257A (en) Image processing apparatus for performing image processing in band unit
JP2005092757A (en) Image processor
JP3867886B2 (en) Image encoding method, image encoding device, image decoding method, and image decoding device
JP4788584B2 (en) Image processing device
JP2005204263A (en) Image processing apparatus and image processing method
JP2005109857A (en) Image processor and control method therefor
JP2006050299A (en) Dithering apparatus
JP3812211B2 (en) Image processing device
JP2007097013A (en) Image processing apparatus and image forming method
JP2005311992A (en) Image processing apparatus, image processing method, storage medium, and program

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20110607