JP2803576B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JP2803576B2
JP2803576B2 JP6237887A JP23788794A JP2803576B2 JP 2803576 B2 JP2803576 B2 JP 2803576B2 JP 6237887 A JP6237887 A JP 6237887A JP 23788794 A JP23788794 A JP 23788794A JP 2803576 B2 JP2803576 B2 JP 2803576B2
Authority
JP
Japan
Prior art keywords
scanning direction
magnification
data
gradation
pixel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP6237887A
Other languages
Japanese (ja)
Other versions
JPH08102850A (en
Inventor
成子 桐井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP6237887A priority Critical patent/JP2803576B2/en
Publication of JPH08102850A publication Critical patent/JPH08102850A/en
Application granted granted Critical
Publication of JP2803576B2 publication Critical patent/JP2803576B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

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

【0001】[0001]

【産業上の利用分野】本発明は画像データを加工して、
縦または横の画素数が異なる画面に拡大または縮小する
装置に利用する。特にコンピュータを用いて入力画像を
拡大または縮小し、プリンタやディスプレイ装置その他
に出力する技術に関する。本発明は、拡大倍率または縮
小倍率を任意の実数値で与えることができる装置に関す
る。
BACKGROUND OF THE INVENTION The present invention processes image data,
It is used for a device for enlarging or reducing a screen having different numbers of vertical or horizontal pixels. In particular, the present invention relates to a technique for enlarging or reducing an input image using a computer and outputting the image to a printer, a display device, or the like. The present invention relates to an apparatus capable of giving an enlargement magnification or a reduction magnification with an arbitrary real value.

【0002】[0002]

【従来の技術】画像データを拡大または縮小したりその
階調を変換する装置としては、特開平1−237141
号公報、特開平4−329065号公報、特開平4−3
52568号公報、特開平3−157059号公報、特
開平3−3081号公報および特開昭62−16927
8号公報等に記載された装置がある。これらについて図
8〜図14を参照しながら従来の画像処理装置の動作に
ついて説明する。
2. Description of the Related Art An apparatus for enlarging or reducing image data and converting its gradation is disclosed in JP-A-1-237141.
JP, JP-A-4-329065, JP-A-4-3
JP-A-52568, JP-A-3-15709, JP-A-3-3081 and JP-A-62-16927
There is an apparatus described in Japanese Patent Publication No. 8 and the like. The operation of the conventional image processing apparatus will be described with reference to FIGS.

【0003】図8は特開平1−237141号公報の画
像処理装置のブロック構成図である。図9は同じくCP
U13に登録された画像データの各処理段階を示す図で
ある。図10は特開平4−329065号公報の「画像
縮小処理装置」のブロック構成図である。図11はその
動作説明図である。図12は、特開平4−352568
号公報における画像の副走査方向の拡大、縮小装置を示
す図である。図13はその装置で出力される画素の動作
を説明するための図である。図14は、特開平3−15
7059号公報の「ディザ画像拡大方式」の原理を示す
ブロック構成図である。
FIG. 8 is a block diagram of an image processing apparatus disclosed in Japanese Patent Application Laid-Open No. 1-237141. FIG. 9 shows the CP
It is a figure which shows each process stage of the image data registered into U13. FIG. 10 is a block diagram of an "image reduction processing apparatus" disclosed in Japanese Patent Application Laid-Open No. Hei 4-329065. FIG. 11 is an explanatory diagram of the operation. FIG.
FIG. 1 is a diagram showing a device for enlarging and reducing an image in a sub-scanning direction in Japanese Unexamined Patent Publication (Kokai) Publication. FIG. 13 is a diagram for explaining the operation of the pixel output by the device. FIG.
FIG. 1 is a block diagram showing the principle of the “dither image enlarging method” disclosed in Japanese Patent No. 7059.

【0004】図8に示す従来例(特開平1−23714
1号公報)では、入力画像データメモリ11はデータバ
ス12を介して、CPU13に接続された階調処理回路
14で階調変換処理される。図9(a)に示す入力画像
データ19が記憶されている入力画像データメモリ11
から画素〔0、0〕をデータバス12を介してCPU1
3に取込む。次に画素〔0、0〕を4×4倍の拡大倍率
で拡大処理し、図9(b1)に示す拡大画像データ20
を形成する。続いて、拡大画像データ20をデータバス
12を介して階調処理回路14に出力する。階調処理回
路14では、拡大画素データ20の各画素の階調数と図
9(g)に示すディザパターン27の各画素の値が比較
され、階調数の方が大きいかまたは等しい場合、記録画
素データ21の各画素を記録画素とする。これらの処理
を画素〔0、1〕、〔1、0〕、〔1、1〕について同
様に処理する。
FIG. 8 shows a conventional example (Japanese Patent Laid-Open No. 23714/1990).
In the publication No. 1), the input image data memory 11 is subjected to gradation conversion processing by a gradation processing circuit 14 connected to a CPU 13 via a data bus 12. The input image data memory 11 storing the input image data 19 shown in FIG.
From the CPU 1 via the data bus 12 to the pixel [0,0].
Take in 3. Next, the pixel [0, 0] is enlarged at a magnification of 4 × 4, and the enlarged image data 20 shown in FIG.
To form Subsequently, the enlarged image data 20 is output to the gradation processing circuit 14 via the data bus 12. In the gradation processing circuit 14, the number of gradations of each pixel of the enlarged pixel data 20 is compared with the value of each pixel of the dither pattern 27 shown in FIG. 9 (g), and if the number of gradations is larger or equal, Each pixel of the recording pixel data 21 is a recording pixel. These processes are similarly performed on the pixels [0, 1], [1, 0], and [1, 1].

【0005】また、図10に示す従来例(特開平4−3
29065号公報)では、二値入力画像を縮小する「画
像縮小処理装置」で画素の補間処理に特徴を持つ。入力
画素を得た図10に示す変倍装置15はこの入力画素の
出力画素中に占める割合をもとに縮小出力画素の濃度を
求める。続いて、変倍装置15で得られた濃度データは
出力装置(DSP)の階調表現に合わせて丸め装置16
で丸め処理された後、ディスプレイ装置に出力される。
A conventional example shown in FIG.
Japanese Patent Publication No. 290065) has a feature in pixel interpolation processing in an “image reduction processing device” for reducing a binary input image. The magnification changing device 15 shown in FIG. 10 that has obtained the input pixel obtains the density of the reduced output pixel based on the ratio of the input pixel to the output pixel. Subsequently, the density data obtained by the scaling device 15 is rounded to a rounding device 16 according to the gradation expression of the output device (DSP).
And then output to the display device.

【0006】まず、入力画素間の距離を1、X方向の倍
率をSX(<1)、Y方向の倍率をSY(<1)とする
と、出力画素間の距離は、X方向が1/SX、Y方向が
1/SYとなる。したがって、出力画素の面の面積は1
/(SX×SY)となり、注目点出力画素の面に占める
入力画素“1”の面の面積と、出力画素の面の面積をも
とめる。これから注目点の濃度を求め、この値を8ビッ
トの二進数(固定少数点)に規格化し丸め装置16で正
規化し多階調表示出力する。
First, assuming that the distance between input pixels is 1, the magnification in the X direction is SX (<1), and the magnification in the Y direction is SY (<1), the distance between output pixels is 1 / SX in the X direction. , Y direction is 1 / SY. Therefore, the area of the surface of the output pixel is 1
/ (SX × SY), and the area of the surface of the input pixel “1” occupying the surface of the target pixel output pixel and the area of the surface of the output pixel are obtained. From this, the density of the target point is obtained, and this value is normalized to an 8-bit binary number (fixed decimal point), normalized by the rounding device 16, and output as a multi-tone display.

【0007】また、図12に示す従来例(特開平4−3
52568号公報)では、入力画素を副走査方向に拡大
または縮小する「画像の拡大装置および拡大縮小装置」
でその特徴は、入力画像に対し倍率に対応して隣接する
ライン間の影響を考慮した係数を乗じるところにある。
この拡大縮小係数を記憶する係数テーブルとしての図1
2に示すROM17を中心に説明する。
Further, a conventional example shown in FIG.
No. 52568) discloses an “image enlargement device and enlargement / reduction device” for enlarging or reducing input pixels in the sub-scanning direction.
The feature is that the input image is multiplied by a coefficient in consideration of the influence between adjacent lines according to the magnification.
FIG. 1 as a coefficient table for storing the scaling factor
2 will be mainly described.

【0008】係数テーブルのROM17は、例えば投影
法や線形補間法にもとづいて予め倍率に対応して定めら
れた2つの拡大縮小係数17aおよび17bを記憶して
いるテーブルで、特開平4−352568号公報ではR
OMを用いて説明されている。拡大縮小係数17aは、
メモリ18から読込まれた信号18aと乗算器で掛けあ
わされ、また拡大縮小係数17bは入力画素と乗算器で
掛けあわされる。これらで出力される画素の動作につい
て図13を参照し説明する。
The coefficient table ROM 17 is a table which stores two enlargement / reduction coefficients 17a and 17b which are determined in advance according to the magnification based on, for example, a projection method or a linear interpolation method. In the gazette R
It is described using OM. The scaling factor 17a is
The signal 18a read from the memory 18 is multiplied by a multiplier, and the scaling factor 17b is multiplied by an input pixel by a multiplier. The operation of the pixel output from these will be described with reference to FIG.

【0009】図13(a)は、副走査方向に1.5倍拡
大する場合を示し、図13(b)は0.5倍に縮小する
場合を示す。図13(a)の場合、原画像(1画素×2
ライン)に対する影響度を考えると、拡大後のC画像は
A画像の影響をそのまま受けているためC画像としてA
画像が出力される。D画像はA画像とB画像の影響を半
分ずつ受けているため、D画像として A画像×0.5+B画像×0.5 が出力される。E画像はB画像の影響のみを受けている
ためE画像としてB画像が出力される。これを回路に適
用すると、拡大縮小係数17aは“1.0”となりC画
像としてA画像が出力される。D画像に対しては、拡大
縮小係数17aは“0.5”、17bは“0.5”とな
り、D画像として A画像×0.5+B画像×0.5 が出力される。E画像はB画像が出力され、拡大縮小係
数17aは“0”、17bは“1.0”となる。図13
(b)も同様の動作である。このように算出された画像
を出力する。
FIG. 13A shows a case where the image is enlarged 1.5 times in the sub-scanning direction, and FIG. 13B shows a case where the image is reduced 0.5 times. In the case of FIG. 13A, the original image (1 pixel × 2
Considering the degree of influence on the C image, the C image after the enlargement is directly affected by the A image.
An image is output. Since the D image is half affected by the A image and the B image, the A image × 0.5 + B image × 0.5 is output as the D image. Since the E image is affected only by the B image, the B image is output as the E image. When this is applied to the circuit, the enlargement / reduction coefficient 17a becomes "1.0", and the A image is output as the C image. For the D image, the scaling factor 17a is "0.5" and 17b is "0.5", and the A image × 0.5 + B image × 0.5 is output as the D image. The B image is output as the E image, and the scaling factor 17a is "0" and the scaling factor 17b is "1.0". FIG.
(B) is the same operation. The image calculated in this way is output.

【0010】また、図14に示す従来例(特開平3−1
57059号公報)は、ディザ画像を所定の倍率で拡大
する「ディザ画像拡大方式」であり、被変換画素入力手
段は、ディザマトリックスを用いてディザ処理された原
画像の二値データを被変換画素群のデータとして取り込
む。次に被変換画素濃度算出手段では被変換画素の濃度
を所定の大きさ内に位置する被変換画素のデータに基づ
いて、拡大倍率に応じた階調数に増加して算出する。す
なわち、一般に4×4のディザマトリクスで処理された
原画像は、このディザマトリックスの大きさを1単位と
して濃度情報が保存されており、したがって、ディザマ
トリックス内の原画像の二値データに基づいてある着目
画素の濃度(平均濃度)を決定することができる。続い
て変換画素濃度算出手段では、拡大処理された変換画素
を被変換画素上に投影した場合に、変換画素の各濃度を
この変換画素の近傍に位置する複数の被変換画素の平均
濃度とこれらとの位置関係に基づいて算出する。すなわ
ち、4つの被変換画素を頂点とする正方形を4等分する
水平軸および垂直軸を考え、これらの軸が変換画素を中
心とする同一面積の正方形を分割する面積比率を算出す
る。そして、この面積比率と各被変換画素の濃度との積
和演算を行って、変換画素の濃度算出を行う。続いてデ
ィザ二値化手段では、算出された変換画素の濃度を拡大
倍率に応じた第二のディザマトリックスでディザ処理す
る。このようにディザ画像の解像度を上げるとともに濃
度が変わる部分での境界を目立たなくして、画像データ
を出力する。
A conventional example shown in FIG.
No. 57059) is a "dither image enlargement method" for enlarging a dither image at a predetermined magnification, and a conversion target pixel input means converts binary data of an original image dithered using a dither matrix into a conversion target pixel. Import as group data. Next, the converted pixel density calculating means calculates the density of the converted pixel based on the data of the converted pixel located within a predetermined size by increasing the number of gradations according to the magnification. That is, in general, an original image processed by a 4 × 4 dither matrix stores density information with the size of the dither matrix as one unit, and therefore, is based on binary data of the original image in the dither matrix. The density (average density) of a certain pixel of interest can be determined. Subsequently, the conversion pixel density calculating means calculates the average density of a plurality of conversion pixels located in the vicinity of the conversion pixel, when projecting the conversion pixel subjected to the enlargement processing onto the conversion pixel. Calculated based on the positional relationship with That is, a horizontal axis and a vertical axis that divide a square having four converted pixels as vertices into four equal parts are considered, and an area ratio at which these axes divide a square having the same area around the converted pixel is calculated. Then, a product-sum operation of the area ratio and the density of each converted pixel is performed to calculate the density of the converted pixel. Subsequently, the dither binarizing means dithers the calculated density of the converted pixel with a second dither matrix corresponding to the magnification. As described above, the resolution of the dither image is increased, and the boundary at the portion where the density changes is made inconspicuous, and the image data is output.

【0011】また、特開平3−3081号公報では、階
調を有する画素データの拡大処理と縮小処理とを同一構
成で実現し、変換後の画像パターンの画質を向上させる
「画像パターン変換方式」がある。この方式は、シリア
ルの画素データである入力画素パターンを主走査方向ま
たは副走査方向の少なくとも一方に変倍する画像パター
ン変換方式で以下に動作を説明する。
Japanese Patent Laid-Open Publication No. Hei 3-3081 discloses an "image pattern conversion method" in which the enlargement processing and the reduction processing of pixel data having gradations are realized with the same configuration and the image quality of the converted image pattern is improved. There is. This method is an image pattern conversion method in which an input pixel pattern, which is serial pixel data, is scaled in at least one of the main scanning direction and the sub-scanning direction.

【0012】この方式は、次の二つの手段を持つ。変倍
する方向について、整数である最変倍率で入力画像パタ
ーンを拡大変倍する最大変倍手段と、拡大変倍された画
像パターンを入力指示された変倍率に応じて間引いて変
倍された出力画像パターンを得る間引変倍手段である。
This method has the following two means. In the scaling direction, the maximum scaling means for enlarging and scaling the input image pattern at the maximum scaling factor, which is an integer, and the scaled-down image pattern is scaled down according to the input scaling factor. This is a thinning magnification changing means for obtaining an output image pattern.

【0013】まず、最大変倍手段で行われる変倍方法と
しては、拡大率に応じた所定個数毎の画素データを二度
出力する従来の拡大方法や、最大倍率で変倍したと等価
な状態を作り出す方法等をとる。間引き変倍手段は、例
えば主走査方向に二倍されたと等価な画素データ列の一
部を間引いて出力画素データを形成するが、このとき、
間引いた画素近傍の画素データの平均値データを得て画
素を出力していく。
First, as the scaling method performed by the maximum scaling means, there are a conventional enlargement method of outputting twice a predetermined number of pixel data corresponding to the enlargement ratio, and a state equivalent to the case of scaling at the maximum magnification. Take a method to create The thinning-out scaling means forms output pixel data by thinning out a part of a pixel data string equivalent to, for example, doubled in the main scanning direction.
The average value data of the pixel data in the vicinity of the thinned pixel is obtained and the pixel is output.

【0014】また、特開昭62−169278号公報の
「画像処理装置」では、拡大縮小処理を機械的走査で行
っている。すなわち、主走査方向の拡大縮小は電気的な
信号処理で行い、副走査方向の拡大縮小はCCDの露光
時間は一定にしておき、CCDまたは画像情報の移動速
度を変えて行う。副走査方向の移動速度を遅くすると拡
大され、速くすると縮小される。同様な方法については
特開昭64−36260号公報にも示されている。
In the "image processing apparatus" disclosed in Japanese Patent Application Laid-Open No. 62-169278, enlargement / reduction processing is performed by mechanical scanning. That is, enlargement / reduction in the main scanning direction is performed by electrical signal processing, and enlargement / reduction in the sub-scanning direction is performed while the exposure time of the CCD is kept constant and the moving speed of the CCD or image information is changed. When the moving speed in the sub-scanning direction is reduced, the image is enlarged, and when the moving speed is increased, the image is reduced. A similar method is disclosed in JP-A-64-36260.

【0015】[0015]

【発明が解決しようとする課題】従来の画像処理装置
は、特開平1−237141号公報では、拡大倍率をn
×nのマトリックスで決定しているために、整数倍処理
しかできないという課題がある。また仮に実数倍処理が
可能としても処理手順の具体性がない。特開平4−32
9065号公報では、二値入力画素の縮小処理に限定さ
れている上、縮小処理は基本的に入力画素の間引き処理
であるが、出力画素間の距離に在るべき出力画素位置の
決定について具体性がない。
A conventional image processing apparatus is disclosed in Japanese Patent Application Laid-Open No. 1-237141, in which the enlargement magnification is n.
There is a problem that only an integer multiple processing can be performed because the matrix is determined by the × n matrix. Even if the real number multiplication process is possible, there is no specificity of the processing procedure. JP-A-4-32
In Japanese Patent No. 9065, the reduction processing is limited to the reduction processing of binary input pixels, and the reduction processing is basically thinning processing of input pixels. There is no sex.

【0016】特開平4−352568号公報では、副走
査方向の拡大縮小処理に限定されている上、例えば図1
3(a)、(b)以外の実数倍率で拡大縮小処理をしよ
うとするとき、副走査方向に並ぶ原画像の内、どこから
どこまでの画像(図13(c)ではA、B画像、(b)
ではF、G画像)を選択して、いくつかの出力画像を形
成するのか、またそのときの影響度および拡大縮小係数
の算出根拠の具体性がない。特開平3−157059号
公報では、ディザ画像を所定の倍率で拡大しようとする
具体的手段がない。
In Japanese Patent Application Laid-Open No. 4-352568, enlargement / reduction processing in the sub-scanning direction is limited.
When the enlargement / reduction processing is to be performed at a real number magnification other than 3 (a) and 3 (b), the images (from A to B to (B) in FIG. )
Then, F or G images are selected to form some output images, and there is no specificity of the influence degree and the basis for calculating the scaling factor at that time. In JP-A-3-157059, there is no specific means for enlarging a dither image at a predetermined magnification.

【0017】特開平3−3081号公報では、主走査方
向または副走査方向の少なくとも一方の変倍方式しかな
く、また変倍方法も最大倍率で変倍したと等価な状態を
作り出すため製品コストがかかるという欠点がある。ま
た間引変倍手段についても、手順について具体性がな
い。
In Japanese Patent Application Laid-Open No. Hei 3-3081, there is only a scaling method in at least one of the main scanning direction and the sub-scanning direction. In addition, since the scaling method creates a state equivalent to zooming at the maximum magnification, product cost is reduced. There is a disadvantage that this is the case. Also, there is no specific procedure for the thinning / magnifying means.

【0018】特開昭62−169278号公報では、画
像データの拡大または縮小処理を機械的走査で行ってい
るために製品コストがかかる。
In Japanese Patent Application Laid-Open No. 62-169278, since the enlargement or reduction processing of image data is performed by mechanical scanning, a product cost is required.

【0019】本発明は、このような背景に行われたもの
であり、画像データの拡大または縮小を任意の実数倍率
により行うことができるとともに任意の階調数に変換す
ることができる画像処理装置を提供することを目的とす
る。
The present invention has been made in such a background, and an image processing apparatus capable of enlarging or reducing image data at an arbitrary real number magnification and converting the image data into an arbitrary number of gradations. The purpose is to provide.

【0020】本発明は、画像データの拡大または縮小を
任意の実数倍率で指定することができる画像処理装置を
提供することを目的とする。
An object of the present invention is to provide an image processing apparatus capable of designating enlargement or reduction of image data at an arbitrary real magnification.

【0021】[0021]

【課題を解決するための手段】本発明は画像処理装置で
あり、その特徴とするところは、主走査方向にm個、副
走査方向にn個配列された連続する(m×n個)の入力
画像データを入力する入力部と、その連続する入力画像
データのその画像における主走査方向および副走査方向
について拡大または縮小し階調を変換する倍率階調変換
部と、この倍率階調変換部で変換されたデータを記憶す
る記憶部と、この記憶部または前記倍率階調変換部の出
力データを画像として表示する表示部とを備え、前記倍
率階調変換部に、主走査方向の拡大または縮小倍率p、
副走査方向の拡大または縮小倍率qにしたがって、前記
入力画像データをそれぞれ主走査方向に処理回数がp×
m回、副走査方向に処理回数がq×n回になるように重
ね読みまたは飛ばし読みを実行する手段を備えるところ
にある。
The present invention relates to an image processing apparatus, which is characterized in that m (n × n) continuous (m × n) arrays are arranged in the main scanning direction and the sub-scanning direction. An input unit for inputting input image data, a magnification gradation conversion unit for enlarging or reducing the gradation of the continuous input image data in the main scanning direction and the sub-scanning direction in the image, and a magnification gradation conversion unit A storage unit for storing the data converted in the above, and a display unit for displaying the output data of this storage unit or the magnification gradation conversion unit as an image, the magnification gradation conversion unit, the enlargement in the main scanning direction or Reduction ratio p,
The number of times the input image data is processed in the main scanning direction is p ×
There is provided a means for executing the overlapped reading or the skipped reading so that the number of processes becomes m × n times and the number of processes becomes q × n times.

【0022】前記倍率階調変換部に、前記の値m,n,
p,qが設定されたときに、重ね読みおよびまたは飛ば
し読みが実行される入力画像データが分散されるように
あらかじめ配置設定する手段を備えることが望ましい。
In the magnification gradation conversion section, the values m, n,
It is desirable to have a means for setting the arrangement in advance so that the input image data to be overlaid and / or skipped is dispersed when p and q are set.

【0023】前記倍率階調変換部には、重ね読みおよび
または飛ばし読みを実行することにより、連続するデー
タの階調が連続的に変化するように階調を表すデータの
置き換え処理を実行する手段を含むことできる。
The magnification / gradation conversion unit executes a superposition reading and / or a skip reading to execute a process of replacing data representing gradation so that the gradation of continuous data continuously changes. it can contain.

【0024】[0024]

【作用】主走査方向にm個、副走査方向にn個配列され
た連続する(m×n個)の入力画像データを入力する。
その連続する入力画像データのその画像における主走査
方向および副走査方向について拡大または縮小し階調を
変換し、この倍率階調変換部で変換されたデータを記憶
する。
Function: m (n × n) continuous input image data arranged in the main scanning direction and n in the sub-scanning direction are input.
The continuous input image data is enlarged or reduced in the main scanning direction and the sub-scanning direction in the image to convert the gradation, and stores the data converted by the magnification gradation conversion unit.

【0025】このとき、主走査方向の拡大または縮小倍
率p、副走査方向の拡大または縮小倍率qにしたがっ
て、入力画像データをそれぞれ主走査方向に処理回数が
p×m回、副走査方向に処理回数がq×n回になるよう
に重ね読みまたは飛ばし読みを実行する。
At this time, according to the enlargement or reduction magnification p in the main scanning direction and the enlargement or reduction magnification q in the sub-scanning direction, the input image data is processed p × m times in the main scanning direction and processed in the sub-scanning direction. Overlapped or skipped reading is executed so that the number of times becomes q × n.

【0026】値m,n,p,qが設定されたときに、重
ね読みおよびまたは飛ばし読みが実行される入力画像デ
ータが分散されるようにあらかじめ配置設定することが
よい。
When the values m, n, p, and q are set, it is preferable to arrange the input image data to be overlaid and / or skipped in advance so as to be dispersed.

【0027】重ね読みおよびまたは飛ばし読みを実行す
ることにより、連続するデータの階調が連続的に変化す
るように階調を表すデータの置き換え処理を実行するこ
とがよい。
It is preferable that by performing the overlaid reading and / or the skipped reading, a process of replacing data representing a gradation is performed so that the gradation of continuous data continuously changes.

【0028】すなわち、連続する画像データを入力しそ
の主走査方向および副走査方向について拡大または縮小
し階調を変換するとき、実数倍率に拡大または縮小す
る。
That is, when continuous image data is input and enlarged and reduced in the main scanning direction and sub-scanning direction to convert the gradation, the image data is enlarged or reduced to a real magnification.

【0029】拡大処理のときは画素をさらに隣ビットに
コピーし、縮小処理のときは画素を読みとばすことによ
り拡大または縮小処理を行う。このとき実数倍率の累計
にしたがい、その位置に対応するバッファのポインタ位
置に画素を書込んで行くことにより任意の実数倍率で拡
大または縮小を行うことができる。
In enlargement processing, pixels are further copied to adjacent bits, and in reduction processing, enlargement or reduction processing is performed by skipping pixels. At this time, according to the cumulative total of the real number magnification, the pixel can be written or written at the pointer position of the buffer corresponding to the position, so that the enlargement or reduction can be performed at an arbitrary real number magnification.

【0030】[0030]

【実施例】本発明実施例を図1を参照して説明する。図
1は本発明実施例のブロック構成図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described with reference to FIG. FIG. 1 is a block diagram of an embodiment of the present invention.

【0031】本発明は画像処理装置であり、その特徴と
するところは、主走査方向にm個、副走査方向にn個配
列された連続する(m×n個)の入力画像データを入力
する入力部1と、その連続する入力画像データのその画
像における主走査方向および副走査方向について拡大ま
たは縮小し階調を変換する倍率階調変換部2と、この倍
率階調変換部2で変換されたデータを記憶する記憶部3
と、この記憶部3または倍率階調変換部2の出力データ
を画像として表示する表示部4とを備え、倍率階調変換
部2に、主走査方向の拡大または縮小倍率p、副走査方
向の拡大または縮小倍率qにしたがって、前記入力画像
データをそれぞれ主走査方向に処理回数がp×m回、副
走査方向に処理回数がq×n回になるように重ね読みま
たは飛ばし読みを実行する手段を備えるところにある。
The present invention is an image processing apparatus characterized by inputting continuous (m × n) input image data arranged m in the main scanning direction and n in the sub-scanning direction. An input unit 1, a magnification / gradation conversion unit 2 for enlarging or reducing the continuous input image data in the main scanning direction and the sub-scanning direction in the image and converting the gradation, and a conversion by the magnification / gradation conversion unit 2. Storage unit 3 for storing data
And a display unit 4 for displaying output data of the storage unit 3 or the magnification gradation conversion unit 2 as an image. The magnification gradation conversion unit 2 has an enlargement or reduction magnification p in the main scanning direction and a magnification ratio p in the sub-scanning direction. Means for executing over-reading or skipping reading of the input image data in accordance with an enlargement or reduction magnification q such that the number of processings is p × m in the main scanning direction and the number of processings is q × n in the sub-scanning direction. Is provided.

【0032】倍率階調変換部2に、前記の値m,n,
p,qが設定されたときに、重ね読みおよびまたは飛ば
し読みが実行される入力画像データが分散されるように
あらかじめ配置設定する手段を備えている。
The above-mentioned values m, n,
There is provided a means for setting the arrangement in advance so that the input image data to be overlaid and / or skipped is dispersed when p and q are set.

【0033】さらに、倍率階調変換部2には、重ね読み
およびまたは飛ばし読みを実行することにより、連続す
るデータの階調が連続的に変化するように階調を表すデ
ータの置き換え処理を実行する手段を含む。
Further, the magnification / gradation conversion unit 2 performs a superposition reading and / or a skip reading to execute a process of replacing data representing a gradation so that the gradation of continuous data continuously changes. Including means to do.

【0034】次に、本発明実施例の動作を図2ないし図
7を参照して説明する。図2および図3は拡大または縮
小および階調変換を説明するための図である。図4およ
び図5は拡大または縮小および階調変換手順を示すフロ
ーチャートである。図6は主走査および副走査方向にス
ケール=1.333472倍(拡大)するときの各変数
値と処理図である。図7は主走査および副走査方向にス
ケール=0.41735倍(縮小)するときの各変数値
と処理図である。図2、図3では本発明の基本的な考え
方を示し、図4〜図7ではその具体的手順を示してい
る。以後、本発明実施例を説明するために、32ビット
系マシンを用いて1画素を4階調で得られた画素データ
を1画素2階調に変換し、かつ実数倍率に変換処理をす
ることを例にとって説明する。
Next, the operation of the embodiment of the present invention will be described with reference to FIGS. 2 and 3 are diagrams for explaining enlargement or reduction and gradation conversion. FIGS. 4 and 5 are flowcharts showing the enlargement or reduction and gradation conversion procedures. FIG. 6 is a diagram showing each variable value and processing when the scale is 1.3333472 times (enlarged) in the main scanning and sub-scanning directions. FIG. 7 is a diagram illustrating each variable value and processing when the scale is reduced to 0.41735 times (reduced) in the main scanning and sub-scanning directions. 2 and 3 show the basic concept of the present invention, and FIGS. 4 to 7 show the specific procedures. Hereinafter, in order to explain the embodiment of the present invention, it is necessary to convert pixel data obtained by converting one pixel into four gradations into one pixel and two gradations using a 32-bit system machine, and to perform a conversion process to a real number magnification. Will be described as an example.

【0035】図2にn×mの連続する画素データを示
す。図2(a)は主走査方向にm個の画素、副走査方向
にn個の画素が並んでいる。このとき、1画素を4階調
で読んでいるので、図2(b)に示すように二次元配列
data5の1配列には8画素分があることになる。
FIG. 2 shows nxm continuous pixel data. FIG. 2A shows m pixels in the main scanning direction and n pixels in the sub-scanning direction. At this time, since one pixel is read in four gradations, there are eight pixels in one array of the two-dimensional array data5 as shown in FIG. 2B.

【0036】図3では、二次元配列data5の1配列
内の処理手順を示している。まず、1配列を4ビットず
つ右シフトしながら読み出す位置ポインタ(prx)6
は初回は28ビット右シフトして1画素分4ビットを下
位のビット位置にシフトする。つぎに他の余分なビット
位置をマスクするためにf(16)と論理積をとり1画
素分の階調数をとり、バッファii7に入れる。このと
き、4ビットの階調数0〜15に対し、あらかじめ閾値
を定めた2階調の階調数への変換テーブルにあてはめ2
階調の階調数を求める。次に書込バッファ内のビット位
置ポインタ(pwx)8をもつ書込用バッファiw9に
入れる。これら処理をpxr6とpwx8を4ビット右
シフト、2ビット左シフトを繰り返しながらバッファi
w9が埋まるまで繰り返し埋まったところで、書出用2
次元配列wdata10に1配列分代入することを繰り
返す。図4〜図6を参照して拡大処理の説明をする。
FIG. 3 shows a processing procedure in one array of the two-dimensional array data5. First, a position pointer (prx) 6 for reading out one array while shifting it to the right by 4 bits
Shifts right by 28 bits in the first time and shifts 4 bits for one pixel to lower bit positions. Next, in order to mask other extra bit positions, logical AND with f (16) is taken, the number of tones for one pixel is taken, and the result is put into the buffer ii7. At this time, a 4- bit gradation number 0 to 15 is applied to a conversion table for converting a gradation value of 2 gradations into a predetermined threshold value.
The number of gradations is obtained. Next, the data is put into a write buffer iw9 having a bit position pointer (pwx) 8 in the write buffer. These processes are performed by repeatedly shifting pxr6 and pwx8 to the right by 4 bits and shifting left by 2 bits to buffer i.
When w9 is repeatedly filled until it is filled, for writing 2
Substitution of one array into the dimensional array wdata10 is repeated. The enlargement process will be described with reference to FIGS.

【0037】処理で使用するバッファの初期化を行う
(ステップ41)。主な変数を説明しておく。図6よ
り、sclxは実数倍率の累計をとり、少数点以下の繰
り上げを考慮する。isclxはsclxを整数化した
値を持ち、ixcとともに、例えば拡大処理のとき、2
階調に変換した画素をさらに隣ビットにコピーすればよ
いわけだが、このときのコピー回数(ループ回数)を判
定する。これらsclx、isclxおよびiycを持
つ。次に副走査方向でのコピー回数(ループ回数)を判
定する(S42)。すなわち、図2(a)で示す副走査
方向0〜nの画素行を順番に処理しているとき、読んだ
その行を読みとばすか(縮小)、主走査方向の画素列を
1回以上同一処理するか(拡大)を判定する。図6は主
走査方向の各変数値を示しているが、副走査方向も同様
な図を持つ。図6では、初回ループでは1行1回処理さ
れる。もしこの判定が偽であれば、その行の処理をとば
して副走査方向のスケールの実数倍率の累計(S57)
後、次行に処理手順をうつす。一方この判定が真ならば
以下の順に進む。
The buffer used in the processing is initialized (step 41). Let me explain the main variables. As shown in FIG. 6, sclx is obtained by accumulating the real number magnifications, and taking into account the carry-up below the decimal point. isclx has a value obtained by converting scclx to an integer.
It is only necessary to copy the pixel converted to the gradation to the adjacent bit, and the number of copies (the number of loops) at this time is determined. These have scclx, isclx and iyc. Next, the number of copies (the number of loops) in the sub-scanning direction is determined (S42). That is, when the pixel rows in the sub-scanning direction 0 to n shown in FIG. 2A are sequentially processed, the read row is skipped (reduced), or the pixel row in the main scanning direction is made the same at least once. Determine whether to process (enlarge). FIG. 6 shows each variable value in the main scanning direction, but the sub-scanning direction has a similar diagram. In FIG. 6, processing is performed once per line in the first loop. If this determination is false, the processing of that line is skipped and the total of the real magnification of the scale in the sub-scanning direction is accumulated (S57).
Then, the processing procedure is transferred to the next line. On the other hand, if this determination is true, the process proceeds in the following order.

【0038】次に、副走査方向処理のコピー回数(ルー
プ回数)であるiyc変数を+1カウントアップする
(S43)。次に、画素データより8画素分1配列をバ
ッファedata102 に取り込む(S44)。これに
より、ステップ51まで、前述した本発明の基本的考え
方で、述べている処理手順で、まとめて説明する。まず
図6より、初回のixc<isclxはixc、isc
lの初期値をもとに主走査方向の1画素すなわち位置ポ
インタ(prx)6のさし示す画素を1回処理すること
を示し、主走査方向処理のコピー回数(ループ回数)で
あるixc変数を+1カウントアップする(S45、S
46)。次に図3より、位置ポインタ(prx)6がさ
し示す画素を下位ビットに右シフト後、他の余分ビット
位置にマスクするためにf(16)と論理積をとり、そ
の画素の階調数をもとめて、バッファii7に入れる
(S47)。この処理は、 ii=rdata≫nn&(1≫階調)−1 により表せる。ただし、nnは(32−階調)を初期値
とし、位置ポインタ6がシフトするごとにnn=nn−
階調を繰り返す。“ii”はバッファii7で階調は今
回の例では4階調であり、“32”は32ビット系マシ
ンを使用しているためである。本式は、階調および“3
2”を変えることにより、拡大または縮小および階調処
理に汎用的に用いることができる。
Next, the iyc variable which is the number of copies (the number of loops) in the sub-scanning direction processing is counted up by +1 (S43). Then, taking the 8 pixels 1 sequence than the pixel data in the buffer edata10 2 (S44). Thus, up to step 51, the processing procedure described in the above-described basic concept of the present invention will be described together. First, from FIG. 6, the initial ixc <isclx is ixc, isc
An ixc variable that indicates that one pixel in the main scanning direction, that is, the pixel indicated by the position pointer (prx) 6 is processed once based on the initial value of l, and is the number of copies (the number of loops) in the main scanning direction. Is incremented by +1 (S45, S
46). Next, from FIG. 3, after the pixel pointed to by the position pointer (prx) 6 is right-shifted to lower bits, logical AND with f (16) is performed to mask other extra bit positions, and the gradation of the pixel is obtained. The number is obtained and stored in the buffer ii7 (S47). This processing can be represented by ii = rdata {nn & (1} gradation) -1. However, nn is set to (32-gradation) as an initial value, and nn = nn− every time the position pointer 6 shifts.
Repeat the gradation. “Ii” is the buffer ii7 and the gradation is four gradations in this example, and “32” is because a 32-bit machine is used. This expression is based on the gradation and “3”.
By changing 2 ″, it can be generally used for enlargement or reduction and gradation processing.

【0039】次にバッファii7で求められた1画素分
の階調数を、あらかじめ定めておいた閾値をもとに、2
階調の階調数(0〜3)に丸める(S48)。次に書込
バッファiw9内のビット位置ポインタ(pwx)8の
位置に書込む(S49)。このとき、pwxが書込みバ
ッファiw9の最上位ビット位置をさしていれば、書込
みバッファiw9内は16画素分2階調に変換されてい
ると判定し(S50)、書込みバッファ配列wdata
10に書く(S51)。
[0039] Then the number of gradations of one pixel obtained by the buffer Ii7, based on the previously constant Umate Oita threshold 2
The gradation is rounded to the gradation number (0 to 3) (S48). Next, writing is performed at the position of the bit position pointer (pwx) 8 in the write buffer iw9 (S49). At this time, if pwx points to the most significant bit position of the write buffer iw9, it is determined that the data in the write buffer iw9 has been converted into two gradations for 16 pixels (S50), and the write buffer array wdata is determined.
Write in 10 (S51).

【0040】次に主走査方向に対し、上述手順を繰り返
すが、その手順(S52からS56)をまとめて説明す
る。
Next, the above procedure is repeated in the main scanning direction, and the procedure (S52 to S56) will be described together.

【0041】まず、書込バッファiw9内のビット位置
ポインタ(pwx)8が、バッファiw9の最上位ビッ
ト位置にまだ達していなければ、ビット位置ポインタ
(pwx)8を左シフトし(S52)、次の画素の書込
み位置に移動する。次に図5より主走査方向のスケール
和(実数倍率の累計)をとる(S53)。このとき、各
isclx変数はスケール和がとられたことでカウント
アップする。次に読出しバッファrdata102 内の
ビット位置ポインタ(prx)6が読出しバッファrd
ata102 の8画素目をさしていれば、読出しバッフ
ァrdata102 内の画素の変換を終了したと判定し
(S54)、さらに主走査方向に画素があれば(S5
6)、次の8画素分1配列を読出しバッファrdata
102 に取り込む手順(S44)に戻る。もし、読出バ
ッファrdata102 内の画素の変換が終了していな
ければ、ビット位置ポインタ(prx)6を右シフトし
(S55)、ixc<iscl判定(S45)にもど
る。
First, if the bit position pointer (pwx) 8 in the write buffer iw9 has not yet reached the most significant bit position of the buffer iw9, the bit position pointer (pwx) 8 is shifted to the left (S52). To the writing position of the pixel. Next, the sum of the scales in the main scanning direction (cumulative real number magnification) is calculated from FIG. 5 (S53). At this time, each isclx variable counts up when the scale sum is obtained. Then the bit position pointer of the read buffer rdata10 in 2 (prx) 6 is read buffer rd
If refers to Ata10 8 pixel of the 2, it determines that it has finished the conversion of pixels of the read buffer rdata10 in 2 (S54), if there is a pixel in the further main scanning direction (S5
6), read out one array for the next 8 pixels and read buffer rdata
Return to step (S44) to incorporate into 10 2. If not completed the conversion of the pixel of the read buffer rdata10 2, bit position pointer (prx) 6 Right Shift (S55), returns to ixc <ISCL determined (S45).

【0042】またもし、読出バッファrdata102
内の画素の変換は終了したと判定し(S54)、さらに
主走査方向の画素変換が終了すればS42にもどり、そ
の判定が偽になるまで上述処理を続ける。次に副走査方
向への処理判定(S57、S58)を説明する。
If the read buffer rdata10 2
It is determined that the conversion of the pixels within is completed (S54), and if the pixel conversion in the main scanning direction is completed, the process returns to S42, and the above processing is continued until the determination becomes false. Next, processing determination in the sub-scanning direction (S57, S58) will be described.

【0043】主走査方向が終了後、二次元配列data
5の副走査方向が終了していれば、ここで処理が終了す
る。しかし副走査方向が終了していなければ(S5
7)、副走査方向のスケール和(実数倍率の累計)をと
る(S58)。このとき副走査方向のiscly変数
は、スケール和がとられたことでカウントアップし、 iyc<iscly の判定(S42)にもどる。これら処理を繰り返し1画
素4階調で読みとられた画素データに対し、主走査方向
および副走査方向に1.333472倍し、2階調へ階
調変換することができる。図6では実数倍率0.417
35倍の縮小処理の各変数値を示しており、拡大処理と
同様実数倍率の累計をとりながら、読みとばすべき主走
査方向の画素位置および副走査方向の画素列を決定して
いく。
After the end of the main scanning direction, the two-dimensional array data
If the sub-scanning direction of 5 has been completed, the process ends here. However, if the sub-scanning direction is not completed (S5
7) The sum of scales in the sub-scanning direction (total of real magnifications) is calculated (S58). At this time, the iscly variable in the sub-scanning direction is counted up by the sum of the scales, and returns to the determination of iyc <iscly (S42). These processes are repeated, and the pixel data read at four gradations per pixel is multiplied by 1.333372 in the main scanning direction and the sub-scanning direction, and can be converted into two gradations. In FIG. 6, the real number magnification is 0.417.
Each variable value of the 35-fold reduction processing is shown, and the pixel position in the main scanning direction and the pixel row in the sub-scanning direction to be skipped are determined while accumulating the real magnification as in the case of the enlargement processing.

【0044】今回の例では階調や32ビット系マシン選
択など具体例で説明したが、実数倍率や階調、何ビット
系マシンかは本発明では問わず汎用的に応用できる。
Although specific examples such as gradation and selection of a 32-bit machine have been described in this example, the present invention can be applied to general-purpose magnifications, gradations, and the number of bit machines regardless of the present invention.

【0045】[0045]

【発明の効果】以上説明したように、本発明によれば、
画像データの拡大または縮小を任意の実数倍率により行
うことができるとともに任意の階調数に変換することが
できる画像処理装置を実現することができる。
As described above, according to the present invention,
An image processing apparatus capable of enlarging or reducing image data at an arbitrary real number magnification and converting the image data to an arbitrary number of gradations can be realized.

【0046】本発明によれば、画像データの拡大または
縮小を任意の実数倍率で指定することができる画像処理
装置を実現することができる。
According to the present invention, it is possible to realize an image processing apparatus capable of designating enlargement or reduction of image data at an arbitrary real number magnification.

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

【図1】本発明実施例のブロック構成図。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】拡大または縮小および階調変換を説明するため
の図。
FIG. 2 is a view for explaining enlargement or reduction and gradation conversion.

【図3】拡大または縮小および階調変換を説明するため
の図。
FIG. 3 is a diagram for explaining enlargement or reduction and gradation conversion.

【図4】拡大または縮小および階調変換手順を示すフロ
ーチャート。
FIG. 4 is a flowchart showing a procedure for enlarging or reducing and gradation conversion.

【図5】拡大または縮小および階調変換手順を示すフロ
ーチャート。
FIG. 5 is a flowchart showing a procedure for enlarging or reducing and gradation conversion.

【図6】主走査および副走査方向にスケール=1.33
3472倍(拡大)するときの各変数値と処理図。
FIG. 6 shows scale = 1.33 in the main scanning and sub-scanning directions.
FIG. 4 is a diagram illustrating each variable value and processing when the image is enlarged by 3472 times (enlarged).

【図7】主走査および副走査方向にスケール=0.41
735倍(縮小)するときの各変数値と処理図。
FIG. 7 shows a scale = 0.41 in the main scanning and sub scanning directions.
FIG. 11 is a diagram illustrating each variable value and processing when the image is reduced by 735 times (reduced).

【図8】特開平1−237141号公報の画像処理装置
のブロック構成図。
FIG. 8 is a block diagram of an image processing apparatus disclosed in Japanese Patent Application Laid-Open No. 1-237141.

【図9】CPUに登録された画像データの各処理段階を
示す図。
FIG. 9 is a diagram showing each processing stage of image data registered in the CPU.

【図10】特開平4−329065号公報の「画像縮小
処理装置」のブロック構成図。
FIG. 10 is a block diagram of an “image reduction processing device” disclosed in JP-A-4-329065.

【図11】特開平4−329065号公報の動作説明
図。
FIG. 11 is an operation explanatory diagram of Japanese Patent Application Laid-Open No. Hei 4-329065.

【図12】特開平4−352568号公報における画像
の副走査方向の拡大、縮小装置を示す図。
FIG. 12 is a diagram showing a device for enlarging and reducing an image in the sub-scanning direction in Japanese Patent Application Laid-Open No. 4-352568.

【図13】特開平4−352568号公報に開示された
装置で出力される画素の動作を説明するための図。
FIG. 13 is a diagram for explaining the operation of a pixel output by the device disclosed in Japanese Patent Application Laid-Open No. 4-352568.

【図14】特開平3−157059号公報の「ディザ画
像拡大方式」の原理を示すブロック構成図。
FIG. 14 is a block diagram showing the principle of the “dither image enlargement method” disclosed in JP-A-3-157059.

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

1 入力部 2 倍率階調変換部 3 記憶部 4 表示部 11 入力画像データメモリ 12 データバス 13 CPU 14 階調処理回路 15 変倍装置 16 丸め装置 17 ROM 17a、17b 拡大縮小係数 18 メモリ 18a 信号 19 入力画像データ DESCRIPTION OF SYMBOLS 1 Input part 2 Magnification gradation conversion part 3 Storage part 4 Display part 11 Input image data memory 12 Data bus 13 CPU 14 Gradation processing circuit 15 Magnification device 16 Rounding device 17 ROM 17a, 17b Enlargement / reduction coefficient 18 Memory 18a Signal 19 Input image data

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 主走査方向にm個、副走査方向にn個配
列された連続する(m×n個)の入力画像データを入力
する入力部と、その連続する入力画像データのその画像
における主走査方向および副走査方向について拡大また
は縮小し階調を変換する倍率階調変換部と、この倍率階
調変換部で変換されたデータを記憶する記憶部と、この
記憶部または前記倍率階調変換部の出力データを画像と
して表示する表示部とを備え、 前記倍率階調変換部に、主走査方向の拡大または縮小倍
率p、副走査方向の拡大または縮小倍率qにしたがっ
て、前記入力画像データをそれぞれ主走査方向に処理回
数がp×m回、副走査方向に処理回数がq×n回になる
ように倍率の累計を計数しながら重ね読みまたは飛ばし
読みを実行する手段を備え、この実行する手段は、前記倍率の累計値の位置に対応す
るバッファのポインタ位置に前記画素データを書き込む
手段を含む ことを特徴とする画像処理装置。
1. An input section for inputting m (n × n) continuous input image data arranged in the main scanning direction and n in the sub-scanning direction, and the continuous input image data in the image A magnification / gradation conversion unit that scales up and down in the main scanning direction and the sub-scanning direction to convert gradation, a storage unit that stores data converted by the magnification / gradation conversion unit, and the storage unit or the magnification gradation A display unit that displays output data of the conversion unit as an image. The magnification / gradation conversion unit includes an input / output unit that outputs the input image data according to an enlargement / reduction magnification p in the main scanning direction and an enlargement / reduction magnification q in the sub-scanning direction. each main scanning direction in the processing number p × m times, the number of processing times in the sub-scanning direction comprising means for performing reading overlapped reading or skip while counting the total magnification so as to q × n times, the execution Means to do , To correspond to the position of the total value of the magnification
Write the pixel data to the pointer position of the buffer
An image processing apparatus characterized by including means .
【請求項2】 前記倍率階調変換部に、前記の値m,
n,p,qが設定されたときに、重ね読みおよびまたは
飛ばし読みが実行される入力画像データが分散されるよ
うにあらかじめ配置設定する手段を備えた請求項1記載
の画像処理装置。
2. The method according to claim 1, wherein the value of m,
2. The image processing apparatus according to claim 1, further comprising means for setting the arrangement in advance so that input image data to be overlaid and / or skipped when n, p, and q are set are dispersed.
【請求項3】 前記倍率階調変換部には、複数の画素1
配列分を連続的に重ね読みおよびまたは飛ばし読みを実
行することにより、連続するデータの階調の変換を連続
的に変換するように階調を表すデータの置き換え処理を
実行する手段を含む請求項2記載の画像処理装置。
3. A method according to claim 1, wherein the magnification gradation conversion unit includes a plurality of pixels.
Claims: A means for executing a process of replacing data representing a gradation so as to continuously convert a gradation conversion of continuous data by continuously reading and / or skipping reading of an array portion. 3. The image processing device according to 2.
【請求項4】 前記倍率階調変換部には、重ね読みおよ
びまたは飛ばし読みする入力画素データについて、主走
査方向および副走査方向での拡大倍率または縮小倍率に
よって重ね読みまたは飛ばし読み処理回数を判定し、そ
の処理回数に応じて主走査方向の複数の画素1配列分を
取り込み、取り込んだ画素の階調数を置き換えて対応す
るバッファのポインタ位置に書き込み、その処理を画素
データn行m列について繰り返す手段を含む請求項3記
載の画像処理装置。
4. The magnification / gradation conversion unit determines the number of times of over-reading or skip-reading processing for input pixel data to be over-read or skip-read based on an enlargement ratio or a reduction ratio in a main scanning direction and a sub-scanning direction. Then, a plurality of pixel arrays in the main scanning direction are fetched in accordance with the number of processes, the gradation number of the fetched pixels is replaced and written into the corresponding buffer pointer position, and the process is performed for n rows and m columns of pixel data. 4. The image processing apparatus according to claim 3, further comprising a repeating unit.
【請求項5】 前記倍率階調変換部には、主走査方向の
複数画素1配列分の画素データを第一のバッファに取り
込み、この取り込んだ画素データについて1画素ずつ画
素の階調数データを求め、この階調数データを変換後の
階調数データに置き換え倍率の累計値に対応する書き込
みバッファの位置ポインタに書き込む手段を含む請求項
3記載の画像処理装置。
5. The magnification / gradation conversion unit fetches pixel data of one array of a plurality of pixels in the main scanning direction into a first buffer, and converts the fetched pixel data into one pixel at a time. 4. The image processing apparatus according to claim 3, further comprising means for obtaining and converting the gradation number data to the converted gradation number data and writing the converted gradation number data to a position pointer of a write buffer corresponding to the cumulative value of the magnification.
JP6237887A 1994-09-30 1994-09-30 Image processing device Expired - Fee Related JP2803576B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6237887A JP2803576B2 (en) 1994-09-30 1994-09-30 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6237887A JP2803576B2 (en) 1994-09-30 1994-09-30 Image processing device

Publications (2)

Publication Number Publication Date
JPH08102850A JPH08102850A (en) 1996-04-16
JP2803576B2 true JP2803576B2 (en) 1998-09-24

Family

ID=17021899

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6237887A Expired - Fee Related JP2803576B2 (en) 1994-09-30 1994-09-30 Image processing device

Country Status (1)

Country Link
JP (1) JP2803576B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4100210B2 (en) 2003-03-24 2008-06-11 富士ゼロックス株式会社 Image processing device
CN103304724A (en) * 2012-03-08 2013-09-18 无锡洪汇新材料科技股份有限公司 Vinyl chloride-acrylic acid ester-vinyl acetate-acrylic acid copolymerized emulsion

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2670299B2 (en) * 1988-07-07 1997-10-29 株式会社東芝 Image data gradation converter
JPH05183735A (en) * 1991-12-28 1993-07-23 Nisca Corp Method and device for picture conversion

Also Published As

Publication number Publication date
JPH08102850A (en) 1996-04-16

Similar Documents

Publication Publication Date Title
JP3276886B2 (en) Generating pixel values for enlarged destination images
US5034806A (en) Image processing apparatus and method
US5793379A (en) Method and apparatus for scaling images having a plurality of scan lines of pixel data
JPS6232476B2 (en)
US4607340A (en) Line smoothing circuit for graphic display units
JPH0573675A (en) Picture processor
JP2803576B2 (en) Image processing device
JP2001086355A (en) Image processor and recording medium
JP4156194B2 (en) Method for converting first resolution raster digital data to second resolution digital data
JP2788699B2 (en) Image data processing device
JP3059287B2 (en) Binary image scaling device
JP2524470B2 (en) Digital halftone screen generating method and apparatus
JP3949642B2 (en) Image processing device
JP3974271B2 (en) Image processing method and image processing apparatus
JP3054338B2 (en) Image processing apparatus and method
JP3815514B2 (en) High-speed pixel interpolation method and image processing apparatus for enlarged image
JP2903175B2 (en) Image processing device
JPH0227486A (en) Picture enlarging/reducing device
JP3517982B2 (en) Drawing device
JP3359361B2 (en) Enlargement printing device
JPH07306936A (en) Image magnifying/reducing method
JP2966630B2 (en) Straight line drawing device
JPH09181912A (en) Image processor and print system
JPS61208363A (en) Picture magnifying and reducing device
JP2002056385A (en) Image correcting method and image correcting device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees