JPH08125847A - Image processor - Google Patents

Image processor

Info

Publication number
JPH08125847A
JPH08125847A JP6256642A JP25664294A JPH08125847A JP H08125847 A JPH08125847 A JP H08125847A JP 6256642 A JP6256642 A JP 6256642A JP 25664294 A JP25664294 A JP 25664294A JP H08125847 A JPH08125847 A JP H08125847A
Authority
JP
Japan
Prior art keywords
image
data
data storage
enlarging
reducing
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
JP6256642A
Other languages
Japanese (ja)
Inventor
Takayuki Morishige
孝行 森重
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP6256642A priority Critical patent/JPH08125847A/en
Publication of JPH08125847A publication Critical patent/JPH08125847A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

PURPOSE: To enlarge/reduce an image without damaging the arrangement of picture elements expressing the gray level of a binary image expressing its gray level by systematically arranging the picture elements. CONSTITUTION: This device is provided with a second data storage means 102 equipped with capacity for storing the picture elements for one lateral row or one longitudinal column of image data, repetition information extracting means 103 for extracting the repetition information showing the arrangement of picture elements from the data stored in the second data storage means 102, one-dimensional image enlarging/reducing means 104 for enlarging or reducing a one-dimensional image by inputting the repetition information outputted from the repetition information extracting means 103 and enlargement/reduction scale, and third data storage means 107 for storing the output of the one- dimensional image enlarging/reducing means 104.

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 for enlarging or reducing an image represented by a bit map.

【0002】[0002]

【従来の技術】濃淡(中間調)のある画像の2値画像へ
の変換は、画像ファイルシステムにおいては画像ファイ
ルの容量を減らすため、画像伝送においては伝送路の帯
域幅を減らし雑音に強くするため、画像表示においては
安価な画像表示装置で表示するための方法としてよく利
用されている。
2. Description of the Related Art The conversion of an image having grayscale (halftone) into a binary image reduces the capacity of the image file in the image file system, and thus reduces the bandwidth of the transmission path in the image transmission to make it resistant to noise. Therefore, in image display, it is often used as a method for displaying on an inexpensive image display device.

【0003】その画像変換の方法としては「ディザ法」
と呼ばれる方法がよく用いられるが、その中でも「組織
的ディザ法」と呼ばれる方法は、ハードウェア構成と処
理原理が簡単であり、処理に必要なメモリ容量が少なく
てすむ等の特徴がある。これらディザ法に関しては日経
エレクトロニクス1978年5月1日号p50〜64に
詳しい説明がある。
The dither method is used as the image conversion method.
Among them, the method called "organized dither method" is characterized in that the hardware configuration and the processing principle are simple and the memory capacity required for processing is small. These dither methods are described in detail in Nikkei Electronics, May 1, 1978, p. 50-64.

【0004】従来、ビットマップ画像を拡大縮小するた
めに、各画素を単純に拡大比率に従って反復または間引
くという方法が採られるが、組織的ディザ法によって得
られた2値画像は画像の濃淡を画素の並び方によって表
現するので、従来の方法によってこの画像を拡大・縮小
処理すると、濃淡表現のための画素の並びを崩すことに
なり、原画像の濃淡を表現できなくなる。
Conventionally, in order to enlarge or reduce a bitmap image, a method of simply repeating or thinning out each pixel according to an enlargement ratio has been adopted. However, a binary image obtained by the systematic dither method has a pixel in which light and shade of the image are represented. Since the image is expressed by the arrangement method, if the image is enlarged / reduced by the conventional method, the arrangement of the pixels for expressing the gradation is broken, and the gradation of the original image cannot be expressed.

【0005】これを図を用いて説明する。図3におい
て、301は原画像である。原画像301において擬似
的に中間調(灰色)を表現するために、黒と白の市松模
様が使用されている。これを縦横それぞれ2倍に拡大処
理することを考える。従来の単純な方法では各画素を拡
大方向に対して拡大比率(この場合2)に従って反復す
る。これによって得られた拡大画像を302とする。中
間調を表すパターンそのものが拡大されてしまうため、
市松模様そのものが拡大され、原画像の濃淡とは異なっ
たものとなる。
This will be described with reference to the drawings. In FIG. 3, reference numeral 301 is an original image. A black and white checkered pattern is used in order to artificially represent a halftone (gray) in the original image 301. Consider enlarging this vertically and horizontally. In the conventional simple method, each pixel is repeated in the enlargement direction according to the enlargement ratio (2 in this case). The enlarged image obtained by this is set to 302. Since the pattern itself representing the halftone is enlarged,
The checkered pattern itself is magnified, making it different from the shade of the original image.

【0006】次に原画像301を縦横それぞれ2分の1
に縮小処理することを考える。従来の単純な方法では、
縮小比率(この場合2分の1)の逆数(この場合2)毎
に、画素を縮小方向に対して間引く。303はこれによ
って得られた縮小画像である。1画素ごとにスキップし
て画素を間引いたため、市松模様が全面黒(または全面
白)となり、原画像の濃淡とは異なったものとなる。
Next, the original image 301 is halved vertically and horizontally.
Consider to reduce to. In the traditional simple way,
Pixels are thinned out in the reduction direction for each reciprocal (two in this case) of the reduction ratio (one half in this case). Reference numeral 303 is a reduced image obtained by this. Since the pixels are thinned out by skipping every pixel, the checkerboard pattern becomes entirely black (or entirely white), which is different from the shade of the original image.

【0007】そこで、このような欠点を補うため、例え
ば特開昭63-98779号公報においては、拡大縮小処理は濃
淡表現として中間調をそのまま用い、最終出力段におい
て初めてディザ法等によって2値化するという方法を採
っている。
Therefore, in order to compensate for such a drawback, for example, in Japanese Patent Laid-Open No. 63-98779, halftoning is used as it is for gradation processing in the enlargement / reduction processing, and binarization is first performed by a dither method or the like at the final output stage. The method of doing is adopted.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、上述の
特開昭63-98779号公報に示される方法では、画像の拡大
・縮小のために2値画像の数倍(中間調の量子化数が2
56の場合、8倍)の情報量となる中間調画像データを
常に保持しなければならず、また、一度2値画像に変換
された画像に対しては拡大縮小処理ができないなどの欠
点を有していた。
However, in the method disclosed in the above-mentioned Japanese Patent Laid-Open No. 63-98779, in order to enlarge / reduce the image, the binary image is multiplied by several times (the halftone quantization number is 2).
In the case of 56, halftone image data having an information amount of 8 times) must always be held, and there is a drawback that an image once converted into a binary image cannot be enlarged or reduced. Was.

【0009】本発明は上記した問題点を鑑みてなされた
もので、その目的は画素の組織的な並びによって濃淡を
表した2値画像に対して、その濃淡を表す画素の並びを
維持したまま拡大・縮小を行なうことのできる画像処理
装置を提供することにある。
The present invention has been made in view of the above-described problems, and its object is to maintain a pixel array representing a gray level in a binary image in which a gray level is represented by a systematic array of pixels. An object is to provide an image processing device capable of enlarging / reducing.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するため
に本発明に係る画像処理装置は、矩形画像データを格納
する第1のデータ格納手段と、前記画像データの横1行
分または縦1列分の画素を記憶しうる容量を持つ第2の
データ格納手段と、前記第2のデータ格納手段に格納さ
れたデータから画素の並びの反復情報を抽出する反復情
報抽出手段と、前記反復情報抽出手段から出力される反
復情報と拡大縮小比率とを入力し、1次元画像の拡大ま
たは縮小を行なう1次元画像拡大縮小手段と、前記1次
元画像拡大縮小手段の出力を格納する第3のデータ格納
手段と、前記第3のデータ格納手段に接続される第4の
データ格納手段とを備えたものである。
In order to achieve the above object, an image processing apparatus according to the present invention comprises a first data storage means for storing rectangular image data, and a horizontal row or a vertical row of the image data. Second data storage means having a capacity capable of storing pixels for columns; repetition information extraction means for extracting repetition information of pixel arrangement from the data stored in the second data storage means; and the repetition information. One-dimensional image enlarging / reducing means for enlarging or reducing a one-dimensional image by inputting the repetitive information and the enlarging / reducing ratio output from the extracting means, and third data for storing the output of the one-dimensional image enlarging / reducing means. A storage means and a fourth data storage means connected to the third data storage means are provided.

【0011】また他の本発明に係る画像処理装置は、矩
形画像データを格納する第1のデータ格納手段と、前記
第1のデータ格納手段に接続される第1のアービタと、
前記第1のアービタとデータ線及びデータ要求線によっ
て接続される複数の拡大縮小手段と、前記拡大縮小手段
とデータ線及びデータ要求線によって接続される第2の
アービタと、前記第2のアービタと接続される第2のデ
ータ格納手段とを備え、前記拡大縮小手段は、前記第1
のアービタから出力される前記画像データの横1行分ま
たは縦1列分の画素を記憶しうる容量を持つ第3のデー
タ格納手段と、前記第3のデータ格納手段に格納された
データから画素の並びの反復情報を抽出する反復情報抽
出手段と、前記反復情報抽出手段から出力される反復情
報と拡大縮小比率とを入力し、1次元画像の拡大または
縮小を行なう1次元画像拡大縮小手段と、前記1次元画
像拡大縮小手段の出力を格納する第4のデータ格納手段
を有するものである。
An image processing apparatus according to another aspect of the present invention includes first data storage means for storing rectangular image data, and a first arbiter connected to the first data storage means.
A plurality of scaling means connected to the first arbiter by a data line and a data request line; a second arbiter connected to the scaling means by a data line and a data request line; and a second arbiter. A second data storage unit connected to the first data storage unit;
Of the image data output from the arbiter of the third data storage means having a capacity capable of storing one horizontal row or one vertical column of pixels, and pixels from the data stored in the third data storage means. Repetitive information extracting means for extracting repetitive information of the sequence, and one-dimensional image enlarging / reducing means for enlarging or reducing a one-dimensional image by inputting the repetitive information and the enlargement / reduction ratio output from the repetitive information extracting means. And a fourth data storage means for storing the output of the one-dimensional image enlarging / reducing means.

【0012】また前記反復情報は画素の並びのパターン
とその反復回数から構成することが望ましい。
Further, it is desirable that the repetition information is composed of a pattern of pixel arrangement and the number of repetitions thereof.

【0013】[0013]

【作用】このように本発明の構成においては、画像の縦
横それぞれの方向について、1列毎に画素列がどのよう
に反復しているかの情報を抽出する反復情報抽出手段を
備えることにより、画素の組織的な並びによって濃淡を
表した2値画像に対して、その濃淡を表す画素の並びを
維持したまま拡大・縮小を行なうことを可能とする。
As described above, in the structure of the present invention, by providing the repetitive information extracting means for extracting the information on how the pixel columns are repeated for each column in the vertical and horizontal directions of the image, It is possible to perform enlarging / reducing on a binary image that expresses shading by a systematic arrangement, while maintaining the arrangement of pixels indicating the shading.

【0014】また他の本発明の構成においては、画像の
拡大縮小処理部を複数個もち、画像データ格納手段との
間にアービタを設けたことにより、画像の拡大・縮小処
理を高速で行なうことを可能とする。
In another configuration of the present invention, a plurality of image enlarging / reducing units are provided and an arbiter is provided between the image enlarging / reducing unit and the image data storing unit, so that the image enlarging / reducing process can be performed at high speed. Is possible.

【0015】[0015]

【実施例】【Example】

(実施例1)以下本発明の一実施例の画像処理装置につ
いて、図面を参照しながら説明する。
(Embodiment 1) An image processing apparatus according to an embodiment of the present invention will be described below with reference to the drawings.

【0016】図1は本発明の実施例1における画像処理
装置のブロック図である。図1において、101は第1
のデータ格納手段であり、処理対象の2値画像を格納す
るに十分な容量を持つ。102は第2のデータ格納手段
であり、データ格納手段101から出力される画像デー
タ横1行分または縦1列分を保持するものである。10
3は反復情報抽出手段であり、データ格納手段102に
格納された横1行分または縦1列分の画像データに対し
て、どのような画素並びが何回反復しているか、または
反復していない画像データは何画素分連なっているかの
情報を抽出する。104は1次元画像拡大縮小手段であ
り、反復情報抽出手段103から反復情報を入力し、こ
の反復情報と拡大または縮小比率106とから、横1行
分または縦1列分の画像データの拡大・縮小処理を行
う。107は第3のデータ格納手段であり、1次元画像
拡大縮小手段104から出力される1行または1列分の
拡大または縮小画像を保持する。108は第4のデータ
格納手段であり、拡大・縮小処理結果画像を格納するに
十分な容量をもつ。
FIG. 1 is a block diagram of an image processing apparatus according to the first embodiment of the present invention. In FIG. 1, 101 is the first
Data storage means, and has a sufficient capacity to store a binary image to be processed. A second data storage unit 102 holds one horizontal row or one vertical column of image data output from the data storage unit 101. 10
Reference numeral 3 denotes a repetitive information extracting means, which kind of pixel arrangement is repeated or repeated for the image data for one horizontal row or one vertical column stored in the data storage means 102. Information on how many pixels are connected to the non-existing image data is extracted. Reference numeral 104 denotes a one-dimensional image enlarging / reducing means, which inputs repetitive information from the repetitive information extracting means 103 and, based on the repetitive information and the enlarging or reducing ratio 106, enlarges / reduces image data for one horizontal row or one vertical column. Perform reduction processing. Reference numeral 107 denotes a third data storage unit, which holds the enlarged or reduced image for one row or one column output from the one-dimensional image enlarging / reducing unit 104. Reference numeral 108 denotes a fourth data storage means, which has a sufficient capacity to store the enlargement / reduction processing result image.

【0017】以上のように構成された画像処理装置にお
いて、以下図1及び図4〜図7を用いてその動作を説明
する。
The operation of the image processing apparatus configured as described above will be described below with reference to FIGS. 1 and 4 to 7.

【0018】まず、処理対象となる矩形2値画像はデー
タ格納手段101に格納されている。この画像データの
最上部の横1行の画像データをデータ格納手段102に
読み出す。反復情報抽出手段103はデータ格納手段1
02の先頭から画素を調査し、可変長構造体を出力す
る。
First, the rectangular binary image to be processed is stored in the data storage means 101. The image data of the uppermost horizontal row of this image data is read out to the data storage means 102. The repetitive information extraction means 103 is the data storage means 1
Pixels are checked from the beginning of 02 and a variable length structure is output.

【0019】図4は前記可変長構造体の説明図である。
図4において407a,bは前記可変長構造体の全体を
示す。401〜406は構造体407中のデータフィー
ルドを示す。構造体407は画素列が反復しているか否
かによって2通り、すなわち画素列が反復している構造
体407aと、画素列が反復していない構造体407b
に区別される。フィールド401は画素列反復の有無を
示すフィールドである。フィールド401の内容によっ
て、それ以降のフィールドは2通りに区別される。画素
列の反復が有りの場合、フィールド401は「1」とい
う値をとるとする。そのときフィールド402には画素
列が反復している回数、フィールド403には反復して
いる画素列のビット数、フィールド404には反復して
いる画素列の画素そのものが入る。
FIG. 4 is an explanatory view of the variable length structure.
In FIG. 4, reference numerals 407a and 407 indicate the entire variable length structure. Reference numerals 401 to 406 denote data fields in the structure 407. There are two kinds of structures 407 depending on whether or not the pixel rows are repeated, that is, a structure 407a in which the pixel rows are repeated and a structure 407b in which the pixel rows are not repeated.
To be distinguished. A field 401 is a field indicating whether or not a pixel column is repeated. Depending on the contents of the field 401, the subsequent fields are classified into two types. If there is repetition of the pixel row, the field 401 has a value of "1". At that time, the field 402 stores the number of times the pixel row is repeated, the field 403 contains the number of bits of the repeated pixel row, and the field 404 contains the pixel itself of the repeated pixel row.

【0020】画素列の反復が無い場合、フィールド40
1は「0」という値をとるとする。そのときフィールド
405には反復していない画素が連なる画素数、フィー
ルド406には反復していない画素列の画素そのものが
入る。
If there is no repetition of pixel columns, field 40
It is assumed that 1 has a value of "0". At that time, the field 405 contains the number of pixels in which non-repeating pixels are consecutive, and the field 406 contains the pixels of the non-repeating pixel row.

【0021】図5は、データ格納手段102中の1例で
ある。0は黒画素、1は白画素を示す。図5に示す場合
の、反復情報抽出手段103から出力される構造体40
7の具体的数値を示したのが図6である。
FIG. 5 shows an example of the data storage means 102. 0 indicates a black pixel and 1 indicates a white pixel. The structure 40 output from the repetitive information extraction means 103 in the case shown in FIG.
FIG. 6 shows specific numerical values of 7.

【0022】構造体407は逐次1次元画像拡大縮小手
段104に送られ、1次元画像拡大縮小手段104は構
造体の各フィールドの内容と拡大または縮小比率106
とから拡大・縮小処理を行なう。送られてきた構造体4
07中のフィールド401が1の場合は、その構造体4
07は反復しているデータを表現しているので、フィー
ルド403に格納されている値分のビット数のデータが
フィールド404に格納されている。その画素列を、拡
大または縮小比率(この場合2)とフィールド402の
内容との積の回数分、逐次データ格納手段107に出力
する。
The structure 407 is sequentially sent to the one-dimensional image enlarging / reducing means 104, and the one-dimensional image enlarging / reducing means 104 contains the contents of each field of the structure and the enlargement / reduction ratio 106.
Enlargement / reduction processing is performed from and. Structure 4 sent
If the field 401 in 07 is 1, its structure 4
Since 07 represents the repeating data, the data of the number of bits corresponding to the value stored in the field 403 is stored in the field 404. The pixel column is sequentially output to the data storage unit 107 by the number of times the product of the enlargement or reduction ratio (2 in this case) and the contents of the field 402.

【0023】送られてきた構造体407中のフィールド
401が0の場合は、その構造体407は反復していな
いデータを表現しているので、フィールド405の内容
で示される画素数分のデータがフィールド406に格納
されている。そのデータに対して、拡大・縮小比率10
6(この場合2)とから、従来の拡大縮小方法を用い
て、非反復画素列の拡大・縮小処理を行ない、その結果
を逐次、データ格納手段107に出力する。
When the field 401 in the transmitted structure 407 is 0, the structure 407 represents data that is not repeated, so that the data for the number of pixels indicated by the contents of the field 405 is stored. It is stored in the field 406. Enlargement / reduction ratio of 10 for that data
6 (2 in this case), the non-repetitive pixel row is enlarged / reduced using the conventional enlargement / reduction method, and the result is sequentially output to the data storage unit 107.

【0024】図7は、図5に対応するデータ格納手段1
07中の画素列を示している。構造体407に対する前
記の処理を、データ格納手段102全ての画素に対して
行なう。これで横1行分の画像データに対する拡大縮小
処理が完了する。前記横1行分の画像データに対する拡
大縮小処理を画像の最上行から最下行まで実行する。こ
れで画像全体の横方向への拡大縮小処理が完了する。
FIG. 7 shows a data storage means 1 corresponding to FIG.
The pixel column in 07 is shown. The above processing for the structure 407 is performed for all the pixels of the data storage unit 102. This completes the enlargement / reduction processing for the image data for one horizontal line. Enlargement / reduction processing for the image data for one horizontal line is executed from the top line to the bottom line of the image. This completes the horizontal enlargement / reduction processing of the entire image.

【0025】次に、得られた横方向への処理画像を、原
画像と看做し、画像の縦方向についても同様の処理を行
なうことによって、画像全体に対する拡大・縮小処理が
完了する。
Next, the obtained processed image in the horizontal direction is regarded as an original image, and similar processing is performed in the vertical direction of the image as well, whereby the enlargement / reduction processing for the entire image is completed.

【0026】尚、フィールド401の内容は2通りの状
態を区別できれば、上記以外の数値に変えても一般性を
欠かない。
If the contents of the field 401 can be distinguished between the two states, generality can be achieved even if the contents are changed to values other than the above.

【0027】また構造体407中の各フィールドの順番
を変えても一般性を欠かない。 (実施例2)以下本発明の一実施例の画像処理装置につ
いて、図面を参照しながら説明する。
Further, even if the order of each field in the structure 407 is changed, generality is maintained. (Second Embodiment) An image processing apparatus according to a second embodiment of the present invention will be described below with reference to the drawings.

【0028】図2は本発明の実施例2における画像処理
装置のブロック図である。図2において、101は第1
のデータ格納手段であり、処理対象の2値画像を格納す
るに十分な容量を持つ。201は第1のアービタであ
り、データ格納手段101に対するデータ読み出し要求
に対して、読み出し権を与える。202a,bは拡大縮
小手段であり、実施例1で示されたデータ格納手段10
2、反復情報抽出手段103、1次元画像拡大縮小手段
104、拡大または縮小比率106、データ格納手段1
07から構成される。203は第2のアービタであり、
データ格納手段101に対するデータ読み出し要求に対
して、書き込み権を与える。108は第4のデータ格納
手段であり、拡大・縮小処理結果画像を格納するに十分
な容量をもつ。
FIG. 2 is a block diagram of an image processing apparatus according to the second embodiment of the present invention. In FIG. 2, 101 is the first
Data storage means, and has a sufficient capacity to store a binary image to be processed. A first arbiter 201 gives a read right to a data read request to the data storage means 101. Reference numerals 202a and 202b are enlarging / reducing means, and are the data storage means 10 shown in the first embodiment.
2, repetitive information extraction means 103, one-dimensional image enlargement / reduction means 104, enlargement or reduction ratio 106, data storage means 1
07. 203 is a second arbiter,
A write right is given to a data read request to the data storage means 101. Reference numeral 108 denotes a fourth data storage means, which has a sufficient capacity to store the enlargement / reduction processing result image.

【0029】以上のように構成された画像処理装置にお
いて、以下図2を用いてその動作を説明する。
The operation of the image processing apparatus configured as described above will be described below with reference to FIG.

【0030】まず、処理対象となる矩形2値画像はデー
タ格納手段101に格納されている。2個ある拡大縮小
手段202は、202自身が処理中で無い場合アービタ
201に対してデータ要求を行なう。アービタ201は
拡大縮小手段202からのデータ要求に対して複数の拡
大縮小手段202が同時にデータ格納手段101にアク
セスすることの無い様に調停を行ない、唯一の拡大縮小
手段202に対して、データ読み出し権を与える。
First, the rectangular binary image to be processed is stored in the data storage means 101. The two enlargement / reduction units 202 make a data request to the arbiter 201 when 202 themselves are not processing. The arbiter 201 arbitrates in response to a data request from the scaling means 202 so that a plurality of scaling means 202 do not access the data storage means 101 at the same time, and data is read out to only one scaling means 202. Give the right.

【0031】データ格納手段101からのデータ読み出
し権を得た拡大縮小手段202は、データ格納手段10
1から横1列分の画像データを読み出し、拡大縮小処理
を行なう。この横1列分の拡大縮小処理に関しては、実
施例1に示されている方法と同じである。
The enlarging / reducing means 202 which has obtained the data read right from the data storing means 101 is the data storing means 10.
Image data for 1 horizontal row is read from 1 and enlargement / reduction processing is performed. The enlarging / reducing processing for one horizontal row is the same as the method shown in the first embodiment.

【0032】拡大縮小手段202が前記横1列分の画像
データに対する拡大縮小処理を終えると、アービタ20
3に対してデータ要求を行なう。アービタ203は拡大
縮小手段202からのデータ要求に対して複数の拡大縮
小手段202が同時にデータ格納手段108にアクセス
することの無い様に調停を行ない、唯一の拡大縮小手段
202に対して、データ書き込み権を与える。
When the enlarging / reducing means 202 completes the enlarging / reducing process for the image data for one horizontal line, the arbiter 20
Data is requested to 3. The arbiter 203 arbitrates in response to a data request from the enlarging / reducing means 202 so that the plurality of enlarging / reducing means 202 do not simultaneously access the data storage means 108, and writes data to the only enlarging / reducing means 202. Give the right.

【0033】データ格納手段108へのデータ書き込み
権を得た拡大縮小手段202は、データ格納手段108
から横1列分の画像データを書き出す。
The enlarging / reducing means 202 which has acquired the right to write data into the data storing means 108 is
To write one horizontal row of image data.

【0034】これで横1行分の画像データに対する拡大
縮小処理が完了する。前記横1行分の画像データに対す
る拡大縮小処理を画像の最上行から最下行まで実行す
る。この拡大縮小処理は、アービタ201およびアービ
タ203を介したデータ格納手段101およびデータ格
納手段108へのアクセス以外は画像データの各行毎の
処理が並行処理される。これで画像全体の横方向への拡
大縮小処理が完了する。
This completes the enlarging / reducing process for the horizontal row of image data. Enlargement / reduction processing for the image data for one horizontal line is executed from the top line to the bottom line of the image. In this enlarging / reducing process, each line of image data is processed in parallel except for the access to the data storage unit 101 and the data storage unit 108 via the arbiter 201 and the arbiter 203. This completes the horizontal enlargement / reduction processing of the entire image.

【0035】次に、得られた横方向への処理画像を、原
画像と看做し、画像の縦方向についても同様の処理を行
なうことによって、画像全体に対する拡大・縮小処理が
完了する。
Next, the obtained processed image in the horizontal direction is regarded as an original image, and the same process is performed in the vertical direction of the image, whereby the enlargement / reduction process for the entire image is completed.

【0036】なお、本実施例では拡大縮小手段を2個用
いて説明したが、3個以上の拡大縮小手段を用いるとさ
らに並列度が増し処理速度の高速化が図られる。
In this embodiment, two scaling means are used for description, but if three or more scaling means are used, the parallelism is further increased and the processing speed is increased.

【0037】[0037]

【発明の効果】以上説明したように、本発明の画像処理
装置においては、1次元画素パターンの反復情報抽出手
段を設け、画素パターンの反復の有無によって処理内容
を切り替えることによって、濃淡画像を2値化した画像
を拡大・縮小した際に、中間調を表現する画素並びの、
各画素自体の反復を避け、画素並び全体の反復回数を調
整することにより、原画像に忠実な中間調表現を維持し
たまま、2値画像の拡大・縮小処理を行うことが可能と
なる。
As described above, the image processing apparatus of the present invention is provided with the one-dimensional pixel pattern repetitive information extracting means, and switches the processing contents depending on whether or not the pixel pattern is repeated, so that a grayscale image can be displayed. When the binarized image is enlarged or reduced,
By avoiding repetition of each pixel itself and adjusting the number of repetitions of the entire pixel array, it is possible to perform the enlargement / reduction processing of the binary image while maintaining the halftone expression faithful to the original image.

【0038】また拡大縮小操作を並列に行なうことによ
り高速な処理が可能となる。
Further, by performing the scaling operation in parallel, high speed processing becomes possible.

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

【図1】本発明の第1の実施例における画像処理装置の
ブロック図
FIG. 1 is a block diagram of an image processing apparatus according to a first embodiment of the present invention.

【図2】本発明の第2の実施例における画像処理装置の
ブロック図
FIG. 2 is a block diagram of an image processing apparatus according to a second embodiment of the present invention.

【図3】従来例の問題点の説明図FIG. 3 is an explanatory diagram of problems in the conventional example.

【図4】本発明の第1の実施例における可変長構造体の
説明図
FIG. 4 is an explanatory diagram of a variable length structure according to the first embodiment of the present invention.

【図5】本発明の第1の実施例におけるデータ格納手段
102のデータ例を示した図
FIG. 5 is a diagram showing an example of data in a data storage unit 102 according to the first exemplary embodiment of the present invention.

【図6】本発明の第1の実施例における構造体407の
データ例を示した図
FIG. 6 is a diagram showing an example of data of a structure 407 according to the first embodiment of the present invention.

【図7】本発明の第1の実施例におけるデータ格納手段
107のデータ例を示した図
FIG. 7 is a diagram showing an example of data in a data storage unit 107 according to the first embodiment of the present invention.

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

101,102,107,108 データ格納手段 103 反復情報抽出手段 104 1次元画像拡大縮小手段 106 拡大・縮小比率 201,203 アービタ 202 画像拡大縮小手段 401〜406 構造体のフィールド 407 構造体全体 101, 102, 107, 108 Data storage means 103 Repeated information extraction means 104 One-dimensional image enlargement / reduction means 106 Enlargement / reduction ratio 201, 203 Arbiter 202 Image enlargement / reduction means 401-406 Structure field 407 Entire structure

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】矩形画像データを格納する第1のデータ格
納手段と、 前記画像データの横1行分または縦1列分の画素を記憶
しうる容量を持つ第2のデータ格納手段と、 前記第2のデータ格納手段に格納されたデータから画素
の並びの反復情報を抽出する反復情報抽出手段と、 前記反復情報抽出手段から出力される反復情報と拡大縮
小比率とを入力し、1次元画像の拡大または縮小を行な
う1次元画像拡大縮小手段と、 前記1次元画像拡大縮小手段の出力を格納する第3のデ
ータ格納手段と、 前記第3のデータ格納手段に接続される第4のデータ格
納手段とを備えたことを特徴とする画像処理装置。
1. A first data storage unit for storing rectangular image data, and a second data storage unit having a capacity capable of storing pixels for one horizontal row or one vertical column of the image data, A one-dimensional image is input by inputting repetitive information extraction means for extracting repetitive information of pixel arrangement from the data stored in the second data storage means, repetitive information and enlargement / reduction ratio output from the repetitive information extraction means. A one-dimensional image enlarging / reducing means for enlarging or reducing the image, a third data storing means for storing an output of the one-dimensional image enlarging / reducing means, and a fourth data storage connected to the third data storing means. And an image processing apparatus.
【請求項2】矩形画像データを格納する第1のデータ格
納手段と、 前記第1のデータ格納手段に接続される第1のアービタ
と、 前記第1のアービタとデータ線及びデータ要求線によっ
て接続される複数の拡大縮小手段と、 前記拡大縮小手段とデータ線及びデータ要求線によって
接続される第2のアービタと、 前記第2のアービタと接続される第2のデータ格納手段
とを備え、 前記拡大縮小手段は、 前記第1のアービタから出力される前記画像データの横
1行分または縦1列分の画素を記憶しうる容量を持つ第
3のデータ格納手段と、 前記第3のデータ格納手段に格納されたデータから画素
の並びの反復情報を抽出する反復情報抽出手段と、 前記反復情報抽出手段から出力される反復情報と拡大縮
小比率とを入力し、1次元画像の拡大または縮小を行な
う1次元画像拡大縮小手段と、 前記1次元画像拡大縮小手段の出力を格納する第4のデ
ータ格納手段を有することを特徴とする画像処理装置。
2. A first data storage means for storing rectangular image data, a first arbiter connected to the first data storage means, and a connection between the first arbiter and a data line and a data request line. A plurality of scaling means, a second arbiter connected to the scaling means by a data line and a data request line, and a second data storage means connected to the second arbiter. The enlarging / reducing unit has a third data storage unit having a capacity capable of storing pixels for one horizontal row or one vertical column of the image data output from the first arbiter; and the third data storage. The iterative information extracting means for extracting the iterative information of the pixel arrangement from the data stored in the means, and the iterative information and the enlargement / reduction ratio output from the iterative information extracting means are input to enlarge or expand the one-dimensional image. The image processing apparatus according to claim the 1-dimensional image scaling means for reducing, to have a fourth data storage means for storing an output of said 1-dimensional image scaling means.
【請求項3】前記反復情報は画素の並びのパターンとそ
の反復回数からなることを特徴とする請求項1または2
記載の画像処理装置。
3. The repetition information comprises a pattern of pixel arrangement and the number of repetitions thereof.
The image processing device described.
JP6256642A 1994-10-21 1994-10-21 Image processor Pending JPH08125847A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6256642A JPH08125847A (en) 1994-10-21 1994-10-21 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6256642A JPH08125847A (en) 1994-10-21 1994-10-21 Image processor

Publications (1)

Publication Number Publication Date
JPH08125847A true JPH08125847A (en) 1996-05-17

Family

ID=17295446

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6256642A Pending JPH08125847A (en) 1994-10-21 1994-10-21 Image processor

Country Status (1)

Country Link
JP (1) JPH08125847A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015002530A (en) * 2013-06-18 2015-01-05 キヤノン株式会社 Image formation device, image processing method, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015002530A (en) * 2013-06-18 2015-01-05 キヤノン株式会社 Image formation device, image processing method, and program

Similar Documents

Publication Publication Date Title
US6441811B1 (en) Display control device and reproduction display device for electronic books
JP3233895B2 (en) Display device and driving method thereof
US20080008402A1 (en) Method and apparatus of removing opaque area as rescaling an image
JPH08125847A (en) Image processor
JP2015138417A (en) Image processing device and image processing method
JPH07118002B2 (en) Image processing device
JPH0935053A (en) Image reducing method and device therefor
JP3646839B2 (en) Digital oscilloscope
JP2697679B2 (en) Dither image display device
JPH0764524A (en) Image display device
JPH10178542A (en) Image reduction processing unit
JPH03236097A (en) Method and device for image display
JPH07245708A (en) Isolated black dot eliminating device
JP2000020705A (en) Parallel image processing processor
JPH03289267A (en) Intermediate tone picture data display system
JPS62266970A (en) Information processor
JPH06149223A (en) Display device and its relative device, and image display system
CN116862753A (en) Series filtering structure optimization method and device and computer equipment thereof
JPH06225212A (en) Interpolation method for digital picture signal
JPH06311351A (en) Picture processing method
JP2006050415A (en) Image processing apparatus and threshold data storage method
JPH0589238A (en) Image processing device, image reducing method, and image processing method
JPH01114272A (en) Frame memory access method
JPS6244743B2 (en)
JPS62266974A (en) Picture output device