JPH11261820A - Image processing device - Google Patents

Image processing device

Info

Publication number
JPH11261820A
JPH11261820A JP10074952A JP7495298A JPH11261820A JP H11261820 A JPH11261820 A JP H11261820A JP 10074952 A JP10074952 A JP 10074952A JP 7495298 A JP7495298 A JP 7495298A JP H11261820 A JPH11261820 A JP H11261820A
Authority
JP
Japan
Prior art keywords
pattern
row
data
pixel
dither
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10074952A
Other languages
Japanese (ja)
Inventor
Norio Saito
紀夫 齋藤
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP10074952A priority Critical patent/JPH11261820A/en
Publication of JPH11261820A publication Critical patent/JPH11261820A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

(57)【要約】 【課題】 画像処理のコストを低く抑えることのできる
画像処理装置を提供すること。 【解決手段】 画像データを二値化するためのディザパ
ターンの各行毎に当該各行を繰り返してなる1行の行パ
ターン(第1パターン121〜第3パターン123)を
取得する行パターン取得手段と、これらの行パターンを
前記ディザパターンの前記同一行の繰り返しとなるよう
に連続して用いるための行パターンの順番を表すリスト
を取得するリスト取得手段を備え、濃度レベルが同一で
ある画素が前記画像データの一行内において連続してい
る場合に、これらの第1パターン121〜第3パターン
123においてこれらの画素と対応する位置のデータを
これらの画素の二値化データとしてまとめて取得する。
(57) [Problem] To provide an image processing apparatus capable of reducing the cost of image processing. SOLUTION: For each row of a dither pattern for binarizing image data, a row pattern acquisition means for acquiring one row pattern (first pattern 121 to third pattern 123) obtained by repeating each row, A list acquisition unit for acquiring a list representing the order of the row patterns for continuously using these row patterns so as to be a repeat of the same row of the dither pattern, wherein pixels having the same density level When the data is continuous in one row, the data at the positions corresponding to these pixels in the first to third patterns 121 to 123 is collectively acquired as the binarized data of these pixels.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、画像処理装置に関
し、更に詳細には、画像処理のコストを低く抑えること
のできる画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus, and more particularly, to an image processing apparatus capable of reducing the cost of image processing.

【0002】[0002]

【従来の技術】従来の画像処理装置においては、プリン
タやディスプレイに画像を印刷、表示する場合に、各色
ごと(RGB、CMYK等)の画像データを画像の1行
ごとにVRAM形式に変換して出力する。
2. Description of the Related Art In a conventional image processing apparatus, when an image is printed and displayed on a printer or a display, image data for each color (RGB, CMYK, etc.) is converted into a VRAM format for each line of the image. Output.

【0003】そして、VRAM形式に変換する課程にお
いて、図6に示されるように、4×4ピクセル、6×6
ピクセル等のブロックで現すディザパターンを用い、画
像データをこのディザパターンと同様にブロック化し、
各ブロックごとにディザパターンから二値化データを取
得する。このような従来の画像処理装置として、ディザ
パターンが、図6に示されるように各色の濃度レベルそ
れぞれに対応して決定されているものがあり、このよう
な画像処理装置においては、各画素の濃度レベルに基づ
いて対応するディザパターンが選択され、処理対象とな
っている画素のブロックにおける位置に対して、選択さ
れたディザパターンにおいて対応する位置に配置されて
いるデータが、当該画素の二値化後のデータ(白/黒)
とされる。
In the process of converting to a VRAM format, as shown in FIG. 6, 4 × 4 pixels, 6 × 6 pixels
Using a dither pattern represented by blocks such as pixels, image data is divided into blocks like this dither pattern,
Binarized data is obtained from the dither pattern for each block. As such a conventional image processing apparatus, there is an image processing apparatus in which a dither pattern is determined corresponding to each density level of each color as shown in FIG. The corresponding dither pattern is selected based on the density level, and the data located at the position corresponding to the selected dither pattern in the block of the pixel to be processed is the binary value of the pixel. Data after conversion (white / black)
It is said.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上述の
従来の画像処理装置においては、各色の画像データにつ
いて各画素毎にディザパターンを選択し且つこのディザ
パターンから二値化データを取得するため、処理コスト
が高くなってしまう問題点がある。
However, in the above-described conventional image processing apparatus, a dither pattern is selected for each pixel with respect to image data of each color, and binarized data is obtained from the dither pattern. There is a problem that the cost increases.

【0005】本発明は、上述のような課題を解決するた
めになされたもので、低コストで画像処理を行うことの
できる画像処理装置を提供するこを目的とする。
[0005] The present invention has been made to solve the above-mentioned problems, and has as its object to provide an image processing apparatus capable of performing image processing at low cost.

【0006】[0006]

【課題を解決するための手段】請求項1記載の発明は、
画像データを取得するデータ取得手段と、前記データ取
得手段が取得した前記画像データの各画素の濃度レベル
を取得する濃度レベル取得手段と、画像データの各画素
の濃度レベルと位置とにより決定される前記各画素の二
値化データを、前記画素の濃度レベル別に、前記画素の
位置と対応する位置に配置したディザパターンを格納す
るディザパターン格納手段と、前記画像データの各画素
について、前記濃度レベル取得手段が取得した濃度レベ
ルのディザパターンにおいて当該画素と対応する位置の
データを当該画素の二値化データとして取得する二値化
手段と、前記ディザパターン格納部に格納される各濃度
レベル毎の前記ディザパターンそれぞれについて、該デ
ィザパターンの各行を繰り返してなるこれらディザパタ
ーンの各行毎の行パターンを取得する行パターン取得手
段とを備え、前記二値化手段は、濃度レベルが同一であ
る画素が前記画像データの一行内において連続している
場合に、前記行パターンにおいてこれらの画素と対応す
る位置のデータをこれらの画素の二値化データとしてま
とめて取得することにより上記目的を達成する。
According to the first aspect of the present invention,
Determined by data acquisition means for acquiring image data, density level acquisition means for acquiring the density level of each pixel of the image data acquired by the data acquisition means, and the density level and position of each pixel of the image data A dither pattern storing means for storing binarized data of each pixel, for each density level of the pixel, a dither pattern arranged at a position corresponding to the position of the pixel, and for each pixel of the image data, A binarizing unit for acquiring data at a position corresponding to the pixel in the dither pattern of the density level acquired by the acquiring unit as binarized data of the pixel; and a binarizing unit for each density level stored in the dither pattern storage unit. For each of the dither patterns, a row for each row of the dither pattern obtained by repeating each row of the dither pattern A row pattern acquisition unit for acquiring a turn, wherein the binarization unit corresponds to these pixels in the row pattern when pixels having the same density level are continuous in one row of the image data. The above-mentioned object is achieved by collectively acquiring data of the positions where the data is to be obtained as binarized data of these pixels.

【0007】請求項2記載の発明は、請求項1記載の発
明において、前記行パターン取得手段が取得した複数の
行パターンを前記ディザパターンの前記同一行の繰り返
しとなるように連続して用いるための、前記複数の行パ
ターンの順番を表すリストを取得するリスト取得手段を
備え、前記二値化手段は、複数の前記行パターンを前記
リスト取得手段が取得したリストの順番に従って用い、
前記画像データの一行内において連続している濃度レベ
ルが同一である画素についての、前記行パターンにおい
て対応する位置のデータを二値化データとして取得する
ことにより上記目的を達成する。
According to a second aspect of the present invention, in the first aspect of the invention, a plurality of row patterns acquired by the row pattern acquisition means are used continuously so that the same row of the dither pattern is repeated. The list acquisition means for acquiring a list representing the order of the plurality of line patterns, the binarization means, using the plurality of line patterns according to the order of the list acquired by the list acquisition means,
The above object is achieved by obtaining, as binarized data, data at a corresponding position in the row pattern for pixels having the same density level in one row of the image data.

【0008】請求項3記載の発明は、請求項1記載の発
明において、前記行パターン取得手段が取得した複数の
行パターンを前記ディザパターンの前記同一行の繰り返
しとなるように連続して用いるための、前記複数の行パ
ターンの順番を表すリストを取得するリスト取得手段を
備え、前記リスト取得手段が取得したリストの順番に従
って複数の前記行パターンを連続した連続行パターンを
取得し記憶する連続行パターン記憶部を備え、前記二値
化手段は、前記連続行パターン記憶手段に記憶された連
続行パターンから、前記画像データの一行内において連
続している濃度レベルが同一である画素についての、前
記行パターンにおいて対応する位置のデータを二値化デ
ータとして取得することにより上記目的を達成する。
According to a third aspect of the present invention, in the first aspect of the present invention, a plurality of row patterns acquired by the row pattern acquisition means are used continuously so that the same row of the dither pattern is repeated. A list acquisition unit that acquires a list representing the order of the plurality of line patterns, and a continuous line that acquires and stores a continuous line pattern in which the plurality of line patterns are consecutive according to the order of the list acquired by the list acquisition unit. A pattern storage unit, wherein the binarization unit is configured such that, from the continuous row pattern stored in the continuous row pattern storage unit, for pixels having the same density level in one row of the image data, The above object is achieved by acquiring data at a corresponding position in a row pattern as binary data.

【0009】請求項4記載の発明は、請求項3記載の発
明において、前記連続行パターン記憶部が、キャッシュ
メモリであるにより上記目的を達成する。
According to a fourth aspect of the present invention, in the third aspect of the present invention, the above object is achieved by the continuous row pattern storage section being a cache memory.

【0010】[0010]

【発明の実施の形態】(1) 実施の形態の概要 ディザパターンを使用して各色画素に対してマスク処理
を行う場合の、画素変換処理用パターンの作成手段と、
この画素変換処理用パターンを、複数連続させて使用す
るために、画素変換処理用パターンを用いた、より大き
なパターンを作成し、このパターンを一定数連続させて
作成する、パターンリスト作成手段と、このパターンリ
スト作成手段の作成したパターンリストを使用して画素
データの変換を高速に行う手段を備える。更に、画素変
化処理用パターンの作成手段によるパターン作成をより
効率よく行うためのディザキャッシュ作成手段と、この
ディザキャッシュを用いて画素変換処理を高速に行うた
めの画素変換手段とを備える。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS (1) Outline of Embodiment A pixel conversion processing pattern creating means for performing mask processing on each color pixel using a dither pattern,
A pattern list creating unit that creates a larger pattern using the pixel conversion processing pattern and uses the pattern for the pixel conversion processing to create a larger number of the patterns in order to use a plurality of the patterns in succession. There is provided means for converting pixel data at high speed using the pattern list created by the pattern list creating means. Further, there is provided a dither cache creating means for more efficiently creating a pattern by the pixel change processing pattern creating means, and a pixel converting means for performing a pixel conversion process at a high speed using the dither cache.

【0011】(2) 実施の形態の詳細 以下、本発明の実施の形態について、図1乃至図5を参
照しながら詳細に説明する。本実施形態の画像処理装置
は、各色毎の画像データを取得するデータ取得部と、各
色毎の画像データの各画素の濃度レベルを検出する濃度
レベル検出部と、ディザパターン格納部と、行パターン
取得部と、マスク処理部とを備えている。
(2) Details of Embodiment Hereinafter, an embodiment of the present invention will be described in detail with reference to FIGS. The image processing apparatus according to the present embodiment includes a data acquisition unit that acquires image data for each color, a density level detection unit that detects the density level of each pixel of the image data for each color, a dither pattern storage unit, a row pattern An acquisition unit and a mask processing unit are provided.

【0012】データ取得部としては、原稿を露光し取得
した像光を光電変換することにより画像データを取得す
るもの、磁気記憶媒体や光磁気記憶媒体等の記憶媒体に
記憶される画像データを読み出して取得するもの、通信
制御装置により画像データをダウンロードするもの等、
従来公知のデータ取得手段が採用される。
The data acquisition unit acquires image data by exposing a document and photoelectrically converting the acquired image light, and reads out image data stored in a storage medium such as a magnetic storage medium or a magneto-optical storage medium. Such as downloading image data by communication control device, etc.
Conventionally known data acquisition means is employed.

【0013】ディザパターン格納部は、従来技術のディ
ザパターン(図6)と同様の6×6ピクセルの256階
調の濃度レベル毎のディザパターンを格納する。濃度レ
ベル検出部は、データ取得部が取得した各色の画像デー
タの各画素を、0〜255の256階調の濃度レベルに
区分するものである。行パターン取得部は、ディザパタ
ーン格納部に格納される256の階調別の6×6のディ
ザパターンそれぞれの各行について、その各行を繰り返
してなる1行の行パターンを取得する。
The dither pattern storage unit stores a dither pattern for each density level of 256 gradations of 6.times.6 pixels similar to the dither pattern of the prior art (FIG. 6). The density level detection section divides each pixel of the image data of each color acquired by the data acquisition section into density levels of 256 gradations from 0 to 255. The row pattern acquisition unit acquires one row pattern obtained by repeating each row for each of the 6 × 6 dither patterns of 256 gradations stored in the dither pattern storage unit.

【0014】図1は、行パターン取得部が取得する行パ
ターンとディザパターンとの対応を表した説明図であ
る。この図1に示すように、本実施形態の行パターン取
得部は、256階調の各濃度レベルのディザパターンに
ついて、その各行について第1パターン121から第3
パターン123の3パターンずつ、32ビットの行パタ
ーンを取得する。第1のパターン121は、ディザパタ
ーンの各行をint型の上位ビットから5回繰り返して
詰めて表現しており、下位の2ビットにはディザパター
ンの当該行における始端の2ピクセルを詰めている。第
2パターン122は、第1パターン121を左に2ビッ
トシフトし、ディザパターンの当該行のうちの中間の2
ビットを下位に詰めて作成したものであり、第1パター
ン121の終端の2ピクセルにこの第2パターン122
の始端の2ピクセルを連続させるとこれらの4ピクセル
によりディザパターンの1行が形成されるようになって
いる。
FIG. 1 is an explanatory diagram showing the correspondence between the row pattern obtained by the row pattern obtaining section and the dither pattern. As shown in FIG. 1, the row pattern acquisition unit according to the present embodiment performs the first pattern 121 to the third pattern for each row of the 256-gradation dither pattern for each density level.
A 32-bit row pattern is acquired for each of the three patterns 123. The first pattern 121 expresses each row of the dither pattern by repeating it five times from the upper bit of the int type, and fills the lower two bits with the starting two pixels of the row of the dither pattern. The second pattern 122 shifts the first pattern 121 to the left by two bits, and sets the middle 2 in the row of the dither pattern.
The second pattern 122 is created by packing the bits in the lower order.
When the two pixels at the start end are continuous, one row of the dither pattern is formed by these four pixels.

【0015】第3パターン123は、第1パターン12
1を左に4ビットシフトして、ディザパターンの下位4
ビットを詰めて作成したものであり、第2パターン12
2の終端の2ピクセルに第3パターン123の始端の2
ピクセルを連続させるとこれらの4ピクセルによりディ
ザパターンの1行が形成されるようになっている。ま
た、この第3パターン123の終端の4ピクセルはディ
ザパターンの1行と同一のパターンなっている。従っ
て、第3パターン123に続いて第1パターン121を
用いることにより、同一行パターンを繰り返した状態を
形成させることができる。
The third pattern 123 is the first pattern 12
1 is shifted to the left by 4 bits, and the lower 4 bits of the dither pattern are shifted.
The second pattern 12
The two pixels at the end of the second pattern are added to the two pixels at the end of the third pattern 123.
When the pixels are made continuous, one row of the dither pattern is formed by these four pixels. The last four pixels of the third pattern 123 have the same pattern as one row of the dither pattern. Therefore, by using the first pattern 121 subsequent to the third pattern 123, a state where the same row pattern is repeated can be formed.

【0016】上述の第1パターン121をマスク処理
(画素データの二値化データへの変換)に使用する場
合、終端の2ピクセルEを始端の2ピクセルSと連続し
てもディザパターンの1行目と同様のパターンが形成さ
れないため、この第1パターン121のみを繰り返して
連続使用することはできない。しかし、本実施形態で
は、上述のように、3種類用の行パターンを用いること
により、これらのint幅の行パターンを第1パターン
121から第3パターン123の順に連続させて用いる
ことによりディザパターンの行の繰り返しと同様のパタ
ーンを取得し、画素データの変換を行うことができる。
When the first pattern 121 described above is used for mask processing (conversion of pixel data into binary data), even if the last two pixels E are continuous with the first two pixels S, one line of the dither pattern Since a pattern similar to the eye is not formed, only the first pattern 121 cannot be repeatedly used continuously. However, in the present embodiment, as described above, by using three types of row patterns, these int-width row patterns are used successively from the first pattern 121 to the third pattern 123 so that the dither pattern is used. The same pattern as that of the repetition of the row is obtained, and the pixel data can be converted.

【0017】尚、本実施形態においては、6×6のディ
ザパターンを用いてマスク処理の単位(32ビット)の
行パターンを取得しているため、取得した行パターンを
連続して用いてマスク処理を行うためには各行について
第1パターン121から第3パターン123の3つのパ
ターンを必要としている。しかし、例えば、4×4のデ
ィザパターンを用いて32ビット単位理のマスク処理を
行う場合には、ディザパターンの各行それぞれに対応す
る行パターンとして、ディザパターンの当該各行を8回
繰り返した行パターン1つずつを用いて、その行パター
ンを繰り返してマスク処理が可能である。この様に、行
パターンの数は、マスク処理の処理単位と、行パターン
を取得するもととなるディザパターンの各行の画素数と
の相互の関連において決定される。
In this embodiment, since the row pattern of the mask processing unit (32 bits) is obtained by using a 6 × 6 dither pattern, the mask processing is continuously performed using the obtained row patterns. Requires three patterns of the first pattern 121 to the third pattern 123 for each row. However, for example, in the case of performing a masking process on a 32-bit basis using a 4 × 4 dither pattern, a row pattern obtained by repeating each row of the dither pattern eight times as a row pattern corresponding to each row of the dither pattern. Using one by one, the row pattern can be repeated to perform mask processing. As described above, the number of row patterns is determined in relation to the processing unit of the mask processing and the number of pixels in each row of the dither pattern from which the row pattern is obtained.

【0018】マスク処理部(二値化手段)は、濃度レベ
ル検出部が検出した各画素の濃度レベルに基づいてマス
ク処理を行う。このマスク処理部は、各行内において同
一濃度レベルの画素が連続する同一濃度画素連続部があ
ると、これを検出し、前述の行パターン取得部の取得し
た対応する濃度レベルの行パターンを用いてマスク処理
を行うようになっている。尚、マスク処理は、できる限
り大きな幅ごとに行った方が処理コストが低減できる
が、計算機上でマスク処理を行うには、そのパターン
は、たとえばchar型、int型等の変数に入れて処
理を行わなければならない。そして、本実施形態におい
ては、int型であらわしたパターンを用い、32ビッ
ト単位でマスク処理を行う。
The mask processing section (binarizing means) performs mask processing based on the density level of each pixel detected by the density level detecting section. This mask processing unit detects, when there is a continuous portion of the same density pixel in which a pixel of the same density level is continuous in each row, and uses the row pattern of the corresponding density level acquired by the row pattern acquisition unit described above. Mask processing is performed. It is to be noted that the mask processing can be performed for each of the largest possible widths to reduce the processing cost. Must be done. In the present embodiment, mask processing is performed in 32-bit units using an int-type pattern.

【0019】また、本実施形態の画像処理装置は、循環
リストを格納する循環リスト格納部を備えている。上述
のマスク処理部は、同一の濃度レベルの画素が1つの行
パターンを越えて連続した場合には、この循環リストに
従った順番で行パターンを取得することにより、行パタ
ーンにおいてこれらの画素に対応する位置のデータを取
得し、マスク処理を行う。図2は循環リスト格納部に格
納される循環リストの内容を表した説明図である。この
図2に示されるように、マスク処理部は、循環リストに
従って、第1パターン121、第2パターン122、第
3パターン123の順に行パターンを用い、第3パター
ン123の後には再び第1パターン121に戻って処理
を行うようになっており、計算機上は、画素変換処理
を、int幅ごとに、循環リストを辿りながら行う。
Further, the image processing apparatus of the present embodiment has a circular list storage unit for storing a circular list. When the pixels having the same density level continue beyond one row pattern, the mask processing unit described above acquires the row patterns in the order according to the circular list, and The data of the corresponding position is obtained, and the mask processing is performed. FIG. 2 is an explanatory diagram showing the contents of the circular list stored in the circular list storage. As shown in FIG. 2, the mask processing unit uses a row pattern in the order of the first pattern 121, the second pattern 122, and the third pattern 123 in accordance with the circulation list, and after the third pattern 123, the first pattern again. The processing is returned to 121, and the computer performs the pixel conversion processing while tracing the circular list for each int width.

【0020】このように、本実施形態においては、画素
データの変換を効率よく行うために、行パターンを、所
定の順に連続して使用する。計算機上で画素データ変換
を行う場合に、前記3種類のパターンを連続して使用で
きるように、それぞれのパターンを接続可能にリストし
た循環リストで現すことで、より大きなパターン(連続
行パターン)を作成することができる。循環リスト格納
部は、これような行パターンから連続行パターンを取得
するための循環リストをディザパターンの高さ即ち行数
分格納する。更に、本実施形態は、上述の連続行パター
ンを記憶するディザキャッシュメモリ(連続行パターン
記憶手段)15を備えている。
As described above, in the present embodiment, the row patterns are continuously used in a predetermined order in order to efficiently convert the pixel data. When performing pixel data conversion on a computer, a larger pattern (continuous line pattern) is represented by displaying each pattern in a connectable list so that the three types of patterns can be used continuously. Can be created. The circulating list storage unit stores a circulating list for acquiring a continuous line pattern from such a line pattern by the height of the dither pattern, that is, the number of lines. The present embodiment further includes a dither cache memory (continuous row pattern storage means) 15 for storing the above-described continuous row pattern.

【0021】図3は本実施形態におけるディザキャッシ
ュメモリの内容を表した説明図である。前述のように循
環リストに基づいて取得した96ビットの連続行パター
ンを使用して画素データの変換を行う場合、1ラインの
処理ごとに新たに連続行パターンを作成し直していたの
では、連続行パターン作成の処理コストがかかってしま
い効率的ではない。さらに、連続行パターンの種類はた
かだか色レベル(0〜255まで計256)毎にディザ
パターンの高さ分しかない。そのため、本実施形態にお
いては、図3に示されるように、一度作成した連続行パ
ターンをキャッシュ領域13に保持し、再度利用できる
ようにする。また本実施形態においては、更に、その連
続行パターンが作成されているかどうかを判断するため
に、各行毎のフラグを記憶するフラグ領域14を備えて
いる。このフラグ領域14は連続行パターンのデータの
領域の近くに確保し、連続行パターンのデータをさらに
効率よく利用できるようにしている。このフラグは初期
設定時には0に設定される。
FIG. 3 is an explanatory diagram showing the contents of the dither cache memory in this embodiment. As described above, when pixel data is converted using a 96-bit continuous line pattern acquired based on a circular list, a continuous line pattern is newly created every time one line is processed. The processing cost of line pattern creation is high, which is not efficient. Further, the type of the continuous line pattern is at most as high as the dither pattern for each color level (256 in total from 0 to 255). Therefore, in the present embodiment, as shown in FIG. 3, the continuous line pattern once created is held in the cache area 13 and can be used again. Further, in the present embodiment, a flag area 14 for storing a flag for each line is provided in order to determine whether or not the continuous line pattern has been created. The flag area 14 is secured near the data area of the continuous row pattern so that the data of the continuous row pattern can be used more efficiently. This flag is set to 0 at the time of initial setting.

【0022】次に、上述のような構成の本実施形態の画
像処理装置の動作について説明する。本実施形態の画像
処理装置では、まず、画像データ取得部が画像データを
取得し、濃度レベル検出部が画像データの1行目の各画
素の濃度レベルを取得する。続いて、マスク処理部が、
濃度レベル検出部からのデータに基づいて、同一濃度レ
ベルの画素が32ビット以上連続する同一濃度画素連続
部を検出する。そして、同一濃度画素連続部以外の画素
については、従来の画像処理装置と同様に、各画素毎
に、その濃度レベルに対応するディザパターンから、二
値化データを取得する。同一濃度画素連続部について
は、行パターン取得部の取得した行パターンをそのまま
二値化データとする。また、同一の濃度レベルの画素が
各行パターンを越えて連続した場合には、この循環リス
トに従った順番に行パターンを取得して、二値化データ
とする。
Next, the operation of the image processing apparatus of the present embodiment having the above-described configuration will be described. In the image processing apparatus according to the present embodiment, first, the image data acquisition unit acquires the image data, and the density level detection unit acquires the density level of each pixel in the first row of the image data. Subsequently, the mask processing unit
Based on the data from the density level detection unit, the same density pixel continuation section in which pixels of the same density level continue for 32 bits or more is detected. Then, for pixels other than the same density pixel continuous portion, binarized data is acquired from a dither pattern corresponding to the density level for each pixel as in the conventional image processing apparatus. For the same density pixel continuous portion, the row pattern acquired by the row pattern acquisition section is used as binary data as it is. If pixels of the same density level continue beyond each row pattern, row patterns are acquired in order according to the circulating list and used as binary data.

【0023】図4は、本実施形態における連続行パター
ンの作成と読み出しについての動作についての説明図で
ある。同一の濃度レベルの画素が各行パターンを越えて
連続した場合には、図4に示されるように、フラグ領域
において、当該濃度レベルのディザパターンの1行目に
ついてのフラグの設定が調べられる。フラグが0に設定
されている場合には、マスク処理部が、循環リスト格納
部に格納される循環リストに基づいて、第1パターン1
21から第3パターン123を順番に取得し、そのまま
二値化データとする。更に、第1パターン121から第
3パターン123をつなげた連続行パターンを取得し、
この連続行パターンをキャッシュ領域に格納するととも
に、対応するフラグを1に設定する。フラグが1に設定
されている場合には、キャッシュ領域から連続行パター
ンを取得し、この連続行パターンから二値化データを取
得する。
FIG. 4 is an explanatory diagram of an operation for creating and reading a continuous row pattern in this embodiment. When pixels of the same density level continue beyond each row pattern, as shown in FIG. 4, the setting of the flag for the first row of the dither pattern of the density level is checked in the flag area. When the flag is set to 0, the mask processing unit performs the first pattern 1 based on the circular list stored in the circular list storage unit.
The third patterns 123 are obtained in order from 21 and are directly used as binarized data. Further, a continuous line pattern connecting the first pattern 121 to the third pattern 123 is obtained,
This continuous line pattern is stored in the cache area, and the corresponding flag is set to 1. When the flag is set to 1, a continuous line pattern is obtained from the cache area, and binary data is obtained from the continuous line pattern.

【0024】図5は、本実施形態における画像データと
この画像データに対して行われるマスク処理に用いられ
る行パターンとの対応を表した概念図である。この図5
に示されるように、本実施形態においては、画像データ
の各行について第1パターン121に従ったマスク処
理、第2パターン122に従ったマスク処理、第3パタ
ーン123に従ったマスク処理を繰り返して、処理後の
データ(二値化データ)が取得される。
FIG. 5 is a conceptual diagram showing the correspondence between the image data in this embodiment and the row patterns used for the mask processing performed on the image data. This figure 5
As shown in FIG. 5, in the present embodiment, the mask processing according to the first pattern 121, the mask processing according to the second pattern 122, and the mask processing according to the third pattern 123 are repeated for each row of the image data. The processed data (binary data) is obtained.

【0025】画像データの1行目についてのマスク処理
が終了すると、続いて、画像データの2行目以降につい
て、上述の1行目と同様に行パターンの取得からの動作
を行う。7行目以降の画像データについては、n(n≧
7)行目についてのマスク処理に用いられるディザパタ
ーンは(n−6)行目において用いられたものと同一で
あり、画素の濃度レベルが同じであれば同じ連続行パタ
ーンを用いることになる。従って画素の濃度レベルによ
っては、フラグ領域のフラグの設定を調べると、1にな
っている場合がある。この場合は、図4に示されるよう
に、ディザキャッシュメモリのキャッシュを使用して、
96ビット幅毎に、循環リストを辿りながら画素データ
の変換を行う。
When the mask processing for the first line of the image data is completed, the operation from the acquisition of the line pattern is performed for the second and subsequent lines of the image data in the same manner as the first line. For the image data of the seventh and subsequent lines, n (n ≧ n)
7) The dither pattern used for the mask processing for the row is the same as that used for the (n-6) th row, and the same continuous row pattern is used if the pixel has the same density level. Therefore, depending on the density level of the pixel, the setting of the flag in the flag area may be 1 in some cases. In this case, as shown in FIG. 4, using a cache of a dither cache memory,
The pixel data is converted for each 96-bit width while tracing the circular list.

【0026】この様に、本実施形態の画像処理装置によ
ると、ディザパターンの各行をそれぞれ複数連続させた
行パターンを取得し、濃度レベルが同一である画素が前
記画像データの一行内において連続している場合に、行
パターンを用いて、濃度レベルが同一である画素につい
て一度に効率よく二値化データを取得することができ、
処理コストが低減される。本実施形態の画像処理装置に
よると、行パターンをマスク処理の単位である32ビッ
トで取得しているので、マスク処理の処理能力を最大限
に生かして、効率よく低コストでマスク処理が行われ
る。
As described above, according to the image processing apparatus of the present embodiment, a row pattern in which a plurality of rows of the dither pattern are respectively obtained is obtained, and pixels having the same density level are continuously formed in one row of the image data. In this case, using the row pattern, binarized data can be efficiently obtained at once for pixels having the same density level,
Processing costs are reduced. According to the image processing apparatus of the present embodiment, since the row pattern is acquired in 32 bits, which is the unit of the mask processing, the mask processing is performed efficiently and at low cost by maximizing the processing capability of the mask processing. .

【0027】本実施形態の画像処理装置によると、循環
リストによって始端と終端がディザパターンの各行とな
るように順番に各行の第1行パターンから第3行パター
ンを順番に繰り返し用いて、濃度レベルが同一である画
素が前記画像データの一行内において行パターンをこえ
て連続する場合にも、効率よく低コストでマスク処理を
行うことができる。本実施形態の画像処理装置による
と、一度用いられた連続行パターンはディザキャッシュ
メモリに格納し、同じ連続行パターンを用いる場合に、
新たに連続行パターンを取得することなくディザキャッ
シュメモリに格納されているパターンを読み出し利用す
るので、更に効率的に低コストでマスク処理を行うこと
ができる。
According to the image processing apparatus of the present embodiment, the first to third row patterns of each row are repeatedly used in order so that the start and end are each row of the dither pattern according to the cyclic list. Can be efficiently and at low cost even when pixels having the same pixel number continue over a row pattern in one row of the image data. According to the image processing apparatus of the present embodiment, the continuous line pattern used once is stored in the dither cache memory, and when the same continuous line pattern is used,
Since a pattern stored in the dither cache memory is read and used without acquiring a new continuous line pattern, mask processing can be performed more efficiently and at low cost.

【0028】[0028]

【発明の効果】請求項1記載の発明によれば、行パター
ン取得手段によりディザパターンの各行を繰り返してな
る行パターンを取得し、濃度レベルが同一である画素が
前記画像データの一行内において連続している場合に、
二値化手段が、行パターンからこれらの画素の二値化デ
ータをまとめて取得し効率良くマスク処理を行うので、
処理コストを低減することができる。
According to the first aspect of the present invention, a row pattern obtained by repeating each row of the dither pattern is obtained by the row pattern obtaining means, and pixels having the same density level are continuously arranged in one row of the image data. If you have
Since the binarization means collectively acquires the binarized data of these pixels from the row pattern and efficiently performs the mask processing,
Processing costs can be reduced.

【0029】請求項2記載の発明によれば、リスト取得
手段が複数の行パターンをディザパターンの前記同一行
の繰り返しとなるように連続して用いるための前記複数
の行パターンの順番を表すリストを取得するので、この
リストに従って行パターンを取得することにより、濃度
レベルが同一である画素が行パターンをこえて連続する
場合にも、効率よく低コストでマスク処理を行い、処理
コストを低減することができる。
According to the second aspect of the present invention, the list representing the order of the plurality of row patterns for the list obtaining means to use a plurality of row patterns continuously so as to repeat the same row of the dither pattern. By obtaining a row pattern according to this list, even when pixels having the same density level continue over the row pattern, mask processing is efficiently performed at low cost, and processing cost is reduced. be able to.

【0030】請求項3及び請求項4記載の発明によれ
ば、連続行パターン記憶手段が、リスト取得手段が取得
したリストの順番に従って複数の前記行パターンを連続
した連続行パターンを取得し記憶するので、記憶されて
いる連続行パターンを読み出し利用することにより、更
に効率的にマスク処理を行い、処理コストを低減するこ
とができる。
According to the third and fourth aspects of the present invention, the continuous line pattern storing means obtains and stores a continuous line pattern in which a plurality of the line patterns are continuous according to the order of the list obtained by the list obtaining means. Therefore, by reading and using the stored continuous row pattern, the mask processing can be performed more efficiently, and the processing cost can be reduced.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の画像処理装置の一実施形態において、
行パターン取得部が取得する行パターンとディザパター
ンとの対応を表した説明図である。
FIG. 1 shows an image processing apparatus according to an embodiment of the present invention.
FIG. 9 is an explanatory diagram showing a correspondence between a row pattern and a dither pattern acquired by a row pattern acquisition unit.

【図2】図1の画像処理装置において循環リスト格納部
に格納される循環リストの内容を表した説明図である。
FIG. 2 is an explanatory diagram showing the contents of a circulation list stored in a circulation list storage unit in the image processing apparatus of FIG.

【図3】図1の画像処理装置におけるディザキャッシュ
メモリの内容を表した説明図である。
FIG. 3 is an explanatory diagram showing the contents of a dither cache memory in the image processing apparatus of FIG. 1;

【図4】図1の画像処理装置における連続行パターンの
作成と読み出しについての動作についての説明図であ
る。
FIG. 4 is an explanatory diagram of an operation for creating and reading a continuous row pattern in the image processing apparatus of FIG. 1;

【図5】図1の画像処理装置における画像データとこの
画像データに対して行われるマスク処理に用いられる行
パターンとの対応を表した概念図である。
FIG. 5 is a conceptual diagram showing a correspondence between image data in the image processing apparatus of FIG. 1 and a row pattern used for mask processing performed on the image data.

【図6】従来技術の画像処理装置におけるディザパター
ン一例を示す図である。
FIG. 6 is a diagram illustrating an example of a dither pattern in a conventional image processing apparatus.

【符号の説明】[Explanation of symbols]

121 第1パターン 122 第2パターン 123 第3パターン 13 キャッシュ領域 14 フラグ領域 121 1st pattern 122 2nd pattern 123 3rd pattern 13 Cache area 14 Flag area

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 画像データを取得するデータ取得手段
と、 前記データ取得手段が取得した前記画像データの各画素
の濃度レベルを取得する濃度レベル取得手段と、 画像データの各画素の濃度レベルと位置とにより決定さ
れる前記各画素の二値化データを、前記画素の濃度レベ
ル別に、前記画素の位置と対応する位置に配置したディ
ザパターンを格納するディザパターン格納手段と、 前記画像データの各画素について、前記濃度レベル取得
手段が取得した濃度レベルのディザパターンにおいて当
該画素と対応する位置のデータを当該画素の二値化デー
タとして取得する二値化手段と、 前記ディザパターン格納部に格納される各濃度レベル毎
の前記ディザパターンそれぞれについて、該ディザパタ
ーンの各行を繰り返してなるこれらディザパターンの各
行毎の行パターンを取得する行パターン取得手段とを備
え、 前記二値化手段は、濃度レベルが同一である画素が前記
画像データの一行内において連続している場合に、前記
行パターンにおいてこれらの画素と対応する位置のデー
タをこれらの画素の二値化データとしてまとめて取得す
ることを特徴とする画像処理装置。
A data acquisition unit that acquires image data; a density level acquisition unit that acquires a density level of each pixel of the image data acquired by the data acquisition unit; and a density level and a position of each pixel of the image data. Dither pattern storage means for storing binarized data of each pixel determined by the above, for each density level of the pixel, a dither pattern arranged at a position corresponding to the position of the pixel, and each pixel of the image data In the dither pattern of the density level obtained by the density level obtaining means, binarization means for obtaining data of a position corresponding to the pixel as binarized data of the pixel, and stored in the dither pattern storage unit For each of the dither patterns for each density level, these dither patterns are obtained by repeating each row of the dither pattern. Line pattern acquiring means for acquiring a line pattern for each line of the image data, wherein the binarizing means includes a step of, when pixels having the same density level are continuous in one line of the image data, An image processing apparatus according to claim 1, wherein data of positions corresponding to these pixels is collectively acquired as binarized data of these pixels.
【請求項2】 前記行パターン取得手段が取得した複数
の行パターンを前記ディザパターンの前記同一行の繰り
返しとなるように連続して用いるための、前記複数の行
パターンの順番を表すリストを取得するリスト取得手段
を備え、 前記二値化手段は、複数の前記行パターンを前記リスト
取得手段が取得したリストの順番に従って用い、前記画
像データの一行内において連続している濃度レベルが同
一である画素についての、前記行パターンにおいて対応
する位置のデータを二値化データとして取得することを
特徴とする請求項1に記載の画像処理装置。
2. A list representing an order of the plurality of line patterns for sequentially using the plurality of line patterns obtained by the line pattern obtaining means so as to repeat the same line of the dither pattern is obtained. The binarizing means uses a plurality of the row patterns in accordance with the order of the list acquired by the list acquiring means, and the density levels which are continuous in one row of the image data are the same. The image processing apparatus according to claim 1, wherein data of a position of a pixel corresponding to the row pattern is obtained as binarized data.
【請求項3】 前記行パターン取得手段が取得した複数
の行パターンを前記ディザパターンの前記同一行の繰り
返しとなるように連続して用いるための、前記複数の行
パターンの順番を表すリストを取得するリスト取得手段
を備え、 前記リスト取得手段が取得したリストの順番に従って複
数の前記行パターンを連続した連続行パターンを取得し
記憶する連続行パターン記憶部を備え、 前記二値化手段は、前記連続行パターン記憶手段に記憶
された連続行パターンから、前記画像データの一行内に
おいて連続している濃度レベルが同一である画素につい
ての、前記行パターンにおいて対応する位置のデータを
二値化データとして取得することを特徴とする請求項1
に記載の画像処理装置。
3. A list representing an order of the plurality of row patterns for sequentially using the plurality of row patterns obtained by the row pattern obtaining means so as to repeat the same row of the dither pattern is obtained. A continuous line pattern storage unit that acquires and stores a continuous line pattern in which a plurality of the line patterns are continuous according to the order of the list acquired by the list acquiring unit; and the binarizing unit includes: From the continuous row pattern stored in the continuous row pattern storage means, for pixels having the same density level in one row of the image data, data at a corresponding position in the row pattern is converted to binary data. 2. The method of claim 1, wherein
An image processing apparatus according to claim 1.
【請求項4】 前記連続行パターン記憶部が、キャッシ
ュメモリであることを特徴とする請求項3に記載の画像
処理装置。
4. The image processing apparatus according to claim 3, wherein the continuous row pattern storage unit is a cache memory.
JP10074952A 1998-03-09 1998-03-09 Image processing device Pending JPH11261820A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10074952A JPH11261820A (en) 1998-03-09 1998-03-09 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10074952A JPH11261820A (en) 1998-03-09 1998-03-09 Image processing device

Publications (1)

Publication Number Publication Date
JPH11261820A true JPH11261820A (en) 1999-09-24

Family

ID=13562183

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10074952A Pending JPH11261820A (en) 1998-03-09 1998-03-09 Image processing device

Country Status (1)

Country Link
JP (1) JPH11261820A (en)

Similar Documents

Publication Publication Date Title
EP0195372B1 (en) Method and apparatus for forming 3x3 pixel arrays and for performing programmable pattern contingent modifications of those arrays
JPH11353436A (en) Representation code and its coding method
US5687252A (en) Image processing apparatus
JPH10200778A5 (en)
JP3512462B2 (en) Black isolated point removal device
JP2646889B2 (en) Image processing device
JPS60136476A (en) Image processing device
JP2646888B2 (en) Image processing device
JP3432064B2 (en) Image processing apparatus and method
JPH1125221A (en) Optical character reader read
JP2002152512A (en) Image processing method and apparatus
JP3747602B2 (en) Image processing method and image processing apparatus
JP2000184197A (en) Image processing device
JPS6180965A (en) Picture signal processing method
JPH04273768A (en) Half tone transmission system
JPH09200517A (en) Image processing device
JPH0640085A (en) Information recording device
JPH0462395B2 (en)
JPH05336371A (en) Image reader
JPH064658A (en) Method and device for processing image
JPS62107575A (en) Method and device for generating high resolution binarization picture data
JPH0974483A (en) Image processing apparatus and method
JP2004147158A (en) Image processing apparatus and method, and storage medium storing control program
JPS6285574A (en) Binary coding circuit
JPH03149967A (en) Image processing method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050418

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050516

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060608