JPH04322385A - Line memory control circuit - Google Patents

Line memory control circuit

Info

Publication number
JPH04322385A
JPH04322385A JP3118090A JP11809091A JPH04322385A JP H04322385 A JPH04322385 A JP H04322385A JP 3118090 A JP3118090 A JP 3118090A JP 11809091 A JP11809091 A JP 11809091A JP H04322385 A JPH04322385 A JP H04322385A
Authority
JP
Japan
Prior art keywords
register
line memory
control circuit
line
processing
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.)
Granted
Application number
JP3118090A
Other languages
Japanese (ja)
Other versions
JP2854433B2 (en
Inventor
Yumiko Kasahara
笠原 由美子
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP3118090A priority Critical patent/JP2854433B2/en
Publication of JPH04322385A publication Critical patent/JPH04322385A/en
Application granted granted Critical
Publication of JP2854433B2 publication Critical patent/JP2854433B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To increase the picture processing speed by using a line memory in a picture processing device. CONSTITUTION:A digital differential analyzer 11 for enlargement and reduction in the transverse direction of a picture, a digital differential analyzer 12 for enlargement and reduction in the longitudinal direction, a read address counter 15 and a write address counter 14 which indicate the address of the line memory, a multiplexer 13 for switching between read and write of picture data, and a register 16 which indicates output of data are provided to constitute a line memory control circuit.

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 that performs image processing such as spatial filter operation while enlarging or reducing an image at an arbitrary magnification.

【0002】画像処理技術は、様々な分野で利用されて
きており、今後ますます市場の拡大が予想されている。 なかでも、印刷、出版関連分野では作業の効率化・簡略
化を目的に、急速にこの技術の導入が進められている。 この分野で最も頻繁に使用される処理のひとつに画像の
拡大・縮小がある。例えば、新聞を作成する場合、オペ
レータが自由に紙面の編集等を行なう際に、画像等を拡
大・縮小しながら適切な紙面を作成している。そして近
年、この拡大・縮小の処理に高速化が要求されるように
なった。このため、拡大・縮小に伴う処理の効率化を図
る必要が生じている。
Image processing technology has been used in various fields, and the market is expected to expand further in the future. In particular, this technology is being rapidly introduced in printing and publishing-related fields with the aim of streamlining and simplifying work. One of the most frequently used processes in this field is image enlargement and reduction. For example, when creating a newspaper, an operator freely edits the page and creates an appropriate page while enlarging or reducing images and the like. In recent years, there has been a demand for faster processing of enlargement and reduction. For this reason, there is a need to improve the efficiency of processing associated with enlargement and reduction.

【0003】0003

【従来の技術】図3は、従来の技術について説明する図
である。図3(a)に示すように、従来は入力画像34
を座標変換によって拡大し、この変換画像35をワーク
メモリ上に作成する。その後に、空間フィルタや網点化
等の処理を行ない出力画像36を作成する。座標変換と
は、図3(b)に示すように、入力画像34の一つ一つ
の座標について変換式に基づいて計算を行ない出力の座
標を求めるものである。
2. Description of the Related Art FIG. 3 is a diagram illustrating a conventional technique. As shown in FIG. 3(a), conventionally the input image 34
is enlarged by coordinate transformation, and this transformed image 35 is created on the work memory. Thereafter, processing such as spatial filtering and dotting is performed to create an output image 36. As shown in FIG. 3(b), the coordinate transformation is to calculate the coordinates of each input image 34 based on a transformation formula to obtain the output coordinates.

【0004】0004

【発明が解決しようとする課題】このような従来の方法
では、入力画像に座標変換の処理を施し変換画像を作成
した後に、該変換画像に対して空間フィルタ等の処理を
施すので、変換画像を一時的に保存するための広大なメ
モリ領域を必要とした。また、座標変換の処理と空間フ
ィルタ等の処理とを2段階に分けて行なっているので、
画像処理全体として多くの時間がかかった。さらに、特
に拡大の手法である座標変換は、それ自体で多くの時間
を必要とするという問題点があった。
[Problems to be Solved by the Invention] In such conventional methods, after a coordinate transformation process is performed on an input image to create a transformed image, processing such as a spatial filter is performed on the transformed image. It required a huge memory area to temporarily store the data. Also, since the processing of coordinate transformation and processing of spatial filters etc. are performed in two stages,
The image processing as a whole took a lot of time. Furthermore, there is a problem in that coordinate transformation, which is a method of enlargement in particular, requires a lot of time.

【0005】本発明は、このような従来の問題点に鑑み
、小容量のメモリを使用して、高速に画像処理を行なう
ことができる画像処理装置を提供することを目的とする
SUMMARY OF THE INVENTION In view of these conventional problems, it is an object of the present invention to provide an image processing apparatus that can perform image processing at high speed using a small memory capacity.

【0006】[0006]

【課題を解決するための手段】本発明によれば、上述の
目的は、前記特許請求の範囲に記載した手段により達成
される。
According to the invention, the above objects are achieved by the means set out in the claims.

【0007】すなわち、請求項1の発明は、画像処理装
置において、ラインメモリに行単位で転送される画像デ
ータに対して、拡大または縮小の処理を行なう制御回路
であって、分数で表わされる画面の横方向への任意の倍
率を指定したとき、その分子の数を格納するためのX方
向分子レジスタと、分母の数を格納するためのX方向分
母レジスタと、該X方向分子レジスタおよびX方向分母
レジスタのいずれか一方の内容を選択して出力する第1
のマルチプレクサと、画面の横方向への拡大または縮小
のための演算処理について余りの値を格納する第1のレ
ジスタと、該第1のレジスタの余りの値と前記第1のマ
ルチプレクサから出力される値とを加算して、その結果
を前記第1のレジスタに格納すると同時に前記第1のレ
ジスタの余りの値の符号に従ってパルスを出力する第1
の加算器とにより構成され、画面の横方向への拡大また
は縮小の処理に関与する第1のDDAと、分数で表わさ
れる画面の縦方向への任意の倍率を指定したとき、その
分子の数を格納するためのY方向分子レジスタと、分母
の数を格納するためのY方向分母レジスタと、該Y方向
分子レジスタおよびY方向分母レジスタのいづれか一方
の内容を選択して出力する第2のマルチプレクサと、画
面の縦方向への拡大または縮小のための演算処理につい
て余りの値を格納する第2のレジスタと、該第2のレジ
スタの余りの値と、前記第2のマルチプレクサから出力
される値とを加算して、その結果を前記第2のレジスタ
に格納すると同時に、前記第2のレジスタの余りの値の
符号に従ってパルスを出力する第2の加算器とにより構
成され、画面の縦方向への拡大または縮小の処理に関与
する第2のDDAと、前記第1のDDAを構成する第1
の加算器から出力されるパルスによってカウントアップ
し、拡大または縮小の処理を施すべき一行分の画像デー
タについて、何桁目のデータを読み出して処理すべきか
を指示するリードアドレスカウンタと、一定周期でカウ
ントアップし、バッファからラインメモリへ書き込むデ
ータの、ラインメモリ上のアドレスを前記ラインメモリ
の何桁目に書き込むかを指示するライトアドレスカウン
タと、拡大または縮小の処理に係るデータの読み出しタ
イミングと書き込みタイミングの切り替えを行なう第3
のマルチプレクサと、前記第2のDDAを構成する第2
の加算器から出力されるパルスを保持し、前記ラインメ
モリへバッファからのデータを書き込むか書き込まない
かを指示する第3のレジスタとを具備するラインメモリ
制御回路である。
That is, the invention of claim 1 is a control circuit for enlarging or reducing image data transferred line by line to a line memory in an image processing apparatus, When specifying an arbitrary magnification in the horizontal direction, an X-direction numerator register for storing the number of numerators, an The first one selects and outputs the contents of either one of the denominator registers.
a multiplexer, a first register that stores a remainder value for arithmetic processing for horizontally enlarging or reducing the screen, and outputting the remainder value of the first register and the first multiplexer. a first register that adds the values and stores the result in the first register, and simultaneously outputs a pulse according to the sign of the remainder value in the first register;
When specifying an arbitrary magnification in the vertical direction of the screen expressed as a fraction, the number of the numerator is a Y-direction numerator register for storing the number of denominators, a Y-direction denominator register for storing the number of denominators, and a second multiplexer that selects and outputs the contents of either the Y-direction numerator register or the Y-direction denominator register. a second register that stores a remainder value for arithmetic processing for vertically expanding or reducing the screen; a remainder value of the second register; and a value output from the second multiplexer. and a second adder that stores the result in the second register, and at the same time outputs a pulse according to the sign of the remainder value of the second register. a second DDA involved in the process of enlarging or reducing the
A read address counter counts up using the pulses output from the adder and instructs which digit of data should be read and processed for one line of image data to be enlarged or reduced. A write address counter that counts up and instructs which digit in the line memory to write the address on the line memory of the data to be written from the buffer to the line memory, and the read timing and write of data related to enlargement or reduction processing. 3rd stage to switch timing
and a second multiplexer constituting the second DDA.
and a third register that holds the pulse output from the adder and instructs whether or not to write data from the buffer to the line memory.

【0008】また、請求項2の発明は、少なくとも1つ
のラインメモリと、該ラインメモリを制御して、画像デ
ータに対し拡大または縮小の処理を行なう請求項1記載
のラインメモリ制御回路と、前記ラインメモリからの出
力データに対して、空間フィルタや網点化などの後処理
をパイプライン制御により行なう演算器とを具備する画
像処理装置である。
The invention according to claim 2 also provides at least one line memory, the line memory control circuit according to claim 1, which controls the line memory and performs processing for enlarging or reducing image data; This image processing device includes an arithmetic unit that performs post-processing such as spatial filtering and halftone dotting on output data from a line memory using pipeline control.

【0009】[0009]

【作用】図1は、本発明の原理説明図である。本発明に
おいては、拡大・縮小等の座標変換の処理と、空間フィ
ルタ等の処理とを一度に行なう。図1において、入力画
像1の1行分の画像データが次々とラインメモリ4へ送
られる。ラインメモリ4へ送られる画像データは、ライ
ンメモリ制御回路5によって任意の倍率で拡大あるいは
縮小されラインメモリ4上に展開される。拡大あるいは
縮小された画像データは、直ちにパイプライン制御を行
なう演算器3へ送られ、ここで空間フィルタ等の処理が
施される。出力画像2には、画像処理されたデータが順
次送られる。
[Operation] FIG. 1 is an explanatory diagram of the principle of the present invention. In the present invention, coordinate transformation processing such as enlargement/reduction, and processing such as spatial filtering are performed at the same time. In FIG. 1, image data for one line of input image 1 is sent to line memory 4 one after another. The image data sent to the line memory 4 is enlarged or reduced at an arbitrary magnification by the line memory control circuit 5 and developed on the line memory 4. The enlarged or reduced image data is immediately sent to the arithmetic unit 3 that performs pipeline control, where it is subjected to processing such as a spatial filter. Image-processed data is sequentially sent to the output image 2.

【0010】このように、拡大・縮小の処理と空間フィ
ルタ等の処理を別個の処理としないで一連の一つの処理
とみたて、画像データを行単位に処理していくことで画
像処理の高速化することが可能となる。すなわち、全て
の画像データが拡大あるいは縮小されるのを待つことな
く、拡大あるいは縮小の処理が終わった順に、次々と空
間フィルタ等の処理を施していく。そうすることにより
、必要なメモリも、1画面分でなく1行分の容量があれ
ばよいので小さくて済んでいる。
[0010] In this way, the processing of enlargement/reduction and the processing of spatial filters, etc. are not treated as separate processes, but are treated as a series of processes, and image data is processed line by line, thereby increasing the speed of image processing. It becomes possible to convert into That is, without waiting for all image data to be enlarged or reduced, processing such as a spatial filter is performed one after another in the order in which the enlargement or reduction processing is completed. By doing so, the required memory can be kept small since it only needs to have a capacity for one line rather than one screen.

【0011】[0011]

【実施例】図2は、本発明によるラインメモリ制御回路
の構成例を示す図である。図2において、入力される画
像データは画像バスを経てバッファ7へ送られる。この
画像データはラインメモリ6で拡大あるいは縮小されて
演算器8へ送られる。演算器8は空間フィルタ等の処理
を行ない、その結果を画像メモリに書き出す。画像メモ
リ9に書かれたデータは出力画像として表示される。
Embodiment FIG. 2 is a diagram showing an example of the configuration of a line memory control circuit according to the present invention. In FIG. 2, input image data is sent to buffer 7 via an image bus. This image data is enlarged or reduced in the line memory 6 and sent to the arithmetic unit 8. The arithmetic unit 8 performs processing such as spatial filtering, and writes the results to the image memory. The data written to the image memory 9 is displayed as an output image.

【0012】ラインメモリ6を制御するラインメモリ制
御回路10は、デジタル微分解析機( Digital
 Differential Analyzer;以下
DDAという)の演算機構を用いて、画像データの拡大
あるいは縮小を行なう。以下、拡大を例にとって説明す
る。
The line memory control circuit 10 that controls the line memory 6 is a digital differential analyzer (Digital differential analyzer).
Image data is enlarged or reduced using a calculation mechanism of a Differential Analyzer (hereinafter referred to as DDA). Expansion will be explained below as an example.

【0013】DDA11は、画像を横方向(以下x方向
という)に拡大するためのものである。ラインメモリ6
には1行分の画像データが送られてくるので、この1行
の各々の桁についてx方向に何回繰り返して書けば所定
の拡大率が得られるかを、DDA11が計算する。例え
ば、x方向に2倍したい場合は、送られてくる1行分の
画像データを頭から1桁ずつ読み、1桁読んだらこれを
演算器8へ2回出力する。このとき、読み出す元のデー
タの桁のアドレスを示すのがリードアドレスカウンタ1
5である。なお、データを読むタイミングと書くタイミ
ングの切り替えはマルチプレクサ13が行なう。
The DDA 11 is for enlarging an image in the horizontal direction (hereinafter referred to as the x direction). line memory 6
Since one line of image data is sent to the DDA 11, the DDA 11 calculates how many times each digit of this one line must be repeatedly written in the x direction to obtain a predetermined enlargement ratio. For example, when it is desired to double the image data in the x direction, one line of image data sent is read one digit at a time from the beginning, and after one digit is read, it is output to the arithmetic unit 8 twice. At this time, read address counter 1 indicates the address of the digit of the original data to be read.
It is 5. Note that the multiplexer 13 switches between the data reading timing and the data writing timing.

【0014】DDA12は、画像を縦方向(以下y方向
という)に拡大するためのものである。拡大すべき1行
分の画像データについて、最後尾の桁のデータの拡大が
終わると、これに同期して、y方向の拡大を行なう。こ
こで、ラインメモリ6に書かれているデータを書きかえ
ずに、繰り返しx方向の拡大処理を行なえば、y方向へ
の拡大ができる。例えば、y方向に2倍したい場合は、
ラインメモリ6に書かれているデータを2回繰り返して
拡大処理して出力する。なお、レジスタ16はDDA1
2から出力されるパルスを保持する。
The DDA 12 is for enlarging an image in the vertical direction (hereinafter referred to as the y direction). Regarding one line of image data to be enlarged, when the last digit of data is enlarged, in synchronization with this, enlargement is performed in the y direction. Here, if the data written in the line memory 6 is repeatedly enlarged in the x direction without being rewritten, the data can be enlarged in the y direction. For example, if you want to double in the y direction,
The data written in the line memory 6 is enlarged twice and output. Note that register 16 is DDA1
Holds the pulse output from 2.

【0015】2つのDDA11,12は同様の構成をし
ており、マルチプレクサ19,24の出力とレジスタ2
1,26の内容を加算器20,25が加算し、その結果
をレジスタ21,26に格納する。同時に加算器20,
25は、レジスタ21,26に格納される値の符号に従
って、オーバーフローパルスを出力する。該パルスがD
DA11,12の出力となって、x方向およびy方向の
拡大処理に寄与する。なお、x方向の拡大率はX方向分
子レジスタ17およびX方向分母レジスタ18に格納し
、y方向の拡大率はY方向分子レジスタ22およびY方
向分母レジスタ23に格納する。拡大率を分数で表わす
ことによって、任意の倍率で画像を拡大することができ
る。
The two DDAs 11 and 12 have similar configurations, and the outputs of the multiplexers 19 and 24 and the register 2
Adders 20 and 25 add the contents of 1 and 26, and store the results in registers 21 and 26. At the same time, adder 20,
25 outputs an overflow pulse according to the sign of the value stored in the registers 21 and 26. The pulse is D
It becomes the output of DA11, 12 and contributes to the enlargement processing in the x direction and the y direction. Note that the expansion rate in the x direction is stored in the X direction numerator register 17 and the X direction denominator register 18, and the expansion rate in the y direction is stored in the Y direction numerator register 22 and the Y direction denominator register 23. By expressing the magnification factor as a fraction, the image can be magnified at any magnification.

【0016】図3は、ラインメモリ制御回路の動作に係
るフローチャートを示す図である。まず、S1でx方向
およびy方向の拡大率をセットする。上述したように、
拡大率は分数で表わし、それぞれの整数値を対応するレ
ジスタ(以下、図3に示すNX,MX,NY,MY を
使用する)に格納する。このとき、NX ,NY には
全ての元の数値の2の補数を格納することとする。例え
ば、x方向の拡大率が3/2倍でNX とMX が4ビ
ットのレジスタの場合においては、NXには“0011
B”の2の補数である“1101B”を格納する。一方
、MX には“0010B”を格納する。2の補数を加
算すると元の数を減算することになる。
FIG. 3 is a flow chart showing the operation of the line memory control circuit. First, in S1, the magnification ratios in the x direction and the y direction are set. As mentioned above,
The enlargement ratio is expressed as a fraction, and each integer value is stored in the corresponding register (hereinafter, NX, MX, NY, MY shown in FIG. 3 will be used). At this time, the two's complement numbers of all the original numerical values are stored in NX and NY. For example, if the magnification rate in the x direction is 3/2 and NX and MX are 4-bit registers, NX has “0011”.
"1101B" which is the two's complement of "B" is stored. On the other hand, "0010B" is stored in MX. Adding the two's complement number means subtracting the original number.

【0017】S2では、DDAの余りのレジスタ(以下
、図3に示すAX ,AY を使用する)に“0”をセ
ットする。そして、S3の比較結果が負であればリード
アドレスカウンタの値はそのままで、結果が負でなけれ
ばS4でリードアドレスカウンタはインクリメントされ
、次の画像データを1桁読み込む。続いて、S5または
S6の演算を行ない、S7で繰り返し処理となる。S7
を抜けるのは、リードアドレスカウンタがラインメモリ
の最後のアドレスまでいき、クリアされるときに同期し
ている。英字符Aで示すS3〜S7までの処理はx方向
への拡大処理で、図2のDDA11が関係する処理であ
る。
In S2, "0" is set in the remainder registers of DDA (hereinafter, AX and AY shown in FIG. 3 will be used). If the comparison result in S3 is negative, the value of the read address counter remains unchanged; if the result is not negative, the read address counter is incremented in S4, and the next image data is read by one digit. Subsequently, the calculation in S5 or S6 is performed, and the process is repeated in S7. S7
Exit is synchronized when the read address counter reaches the last address in the line memory and is cleared. The processes from S3 to S7 indicated by the alphabetic character A are enlargement processes in the x direction, and are processes related to the DDA 11 in FIG.

【0018】1行分の拡大処理が終了すると、英字符B
で示すy方向への拡大処理を行なう。これは、図2のD
DA12が関係する処理である。S8でリードアドレス
カウンタがクリアされ、S9で比較を行なう。比較の結
果が負であればラインメモリの内容を書きかえず、結果
が負でなければ、S10で次の画像データを1行読む。 続いて、S11またはS12の演算を行ない、S13で
再びS3の処理へ戻る。S13を抜けるのは、拡大処理
の対象となる画像データの最終行を処理した後である。
When the enlargement process for one line is completed, the alphabetic character B
Enlargement processing in the y direction shown by is performed. This is D in Figure 2.
This is a process related to DA12. The read address counter is cleared in S8, and a comparison is made in S9. If the comparison result is negative, the contents of the line memory are not rewritten, and if the result is not negative, the next line of image data is read in S10. Subsequently, the calculation in S11 or S12 is performed, and in S13, the process returns to S3 again. The process exits from S13 after the last line of the image data to be enlarged is processed.

【0019】図4は、拡大率4/3の場合について説明
する図である。図4(a)に示すように、リードアドレ
スは、x方向の拡大に寄与するDDAからの出力パルス
によって加算されるので、必ずしも増加していない。す
なわち、時間“0”と“4”においてリードアドレスは
そのままである。図4(b)は、図3のレジスタAX 
,NX ,MX の計算について示している。ここで、
NX には2つの補数が格納されているので、それぞれ
負の符号を付ける。時間“0”と“4”においては、計
算結果が負の値になっているのでリードアドレスは加算
されないことになる。
FIG. 4 is a diagram illustrating a case where the magnification is 4/3. As shown in FIG. 4(a), the read address is not necessarily increased because it is added by the output pulse from the DDA that contributes to expansion in the x direction. That is, the read address remains unchanged at times "0" and "4". FIG. 4(b) shows the register AX in FIG.
, NX and MX are shown. here,
Since two's complement numbers are stored in NX, a negative sign is assigned to each number. At times "0" and "4", the read address is not added because the calculation result is a negative value.

【0020】図5は、本発明による画像処理装置につい
て説明する図である。演算器33はパイプライン制御に
より空間フィルタ等の処理を行なう。空間フィルタの処
理は、画像の各単位領域に対して雑音除去や画像の尖鋭
化を目的とする処理である。3×3の領域に対する雑音
除去を行なうものには、
FIG. 5 is a diagram illustrating an image processing apparatus according to the present invention. The arithmetic unit 33 performs processing such as a spatial filter under pipeline control. Spatial filter processing is processing that aims to remove noise and sharpen the image for each unit region of the image. For noise removal in a 3×3 area,

【数1】 のようなものがあり、また、画像の尖鋭化を行なうもの
には、
There are things like [Equation 1], and things that sharpen images include:

【数2】 のようなものがある。このような演算処理を行なう演算
器33に対して、複数行のラインメモリから読み出され
るデータを送り、これをベクトルデータとしてパイプラ
イン制御によりトコロテン式に処理するようにする。図
5では、3×3の領域に対する空間フィルタの処理を想
定し、3つのラインメモリ27〜29を置いている。ラ
インメモリ制御回路30〜32は、対応するラインメモ
リ27〜29を制御して、任意の倍率で拡大あるいは縮
小の処理を行なう。
There is something like [Mathematical 2]. Data read out from a plurality of lines of line memory is sent to the arithmetic unit 33 that performs such arithmetic processing, and the data is processed as vector data in a sequential manner by pipeline control. In FIG. 5, three line memories 27 to 29 are provided assuming spatial filter processing for a 3×3 area. The line memory control circuits 30 to 32 control the corresponding line memories 27 to 29 to perform enlargement or reduction processing at an arbitrary magnification.

【0021】[0021]

【発明の効果】以上説明した様に、本発明によれば、簡
単な回路動作によって拡大あるいは縮小の処理を行なっ
ているので、拡大あるいは縮小の処理が高速化されてい
る。そのうえ、空間フィルタの処理までを1つの処理と
して間断なく画像処理を行なうので、たいへん効率がよ
い。また、ラインメモリの使用によって、メモリの有効
活用が図れると共に、ラインメモリとその制御回路とを
組み合わせることで、従来では考えられなかった高いパ
フォーマンスを有する画像処理装置を構成することがで
きるという利点がある。
As described above, according to the present invention, the enlargement or reduction processing is performed by a simple circuit operation, so that the processing speed of the enlargement or reduction is increased. Moreover, since image processing is performed without interruption, including processing up to the spatial filter, it is very efficient. In addition, the use of line memory allows for effective use of memory, and by combining line memory and its control circuit, it has the advantage that it is possible to configure an image processing device with high performance that was previously unimaginable. be.

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

【図1】本発明の原理説明図である。FIG. 1 is a diagram explaining the principle of the present invention.

【図2】本発明によるラインメモリ制御回路の構成例を
示す図である。
FIG. 2 is a diagram showing a configuration example of a line memory control circuit according to the present invention.

【図3】ラインメモリ制御回路の動作に係るフローチャ
ートを示す図である。
FIG. 3 is a diagram showing a flowchart related to the operation of the line memory control circuit.

【図4】拡大率4/3の場合について説明する図である
FIG. 4 is a diagram illustrating a case where the enlargement ratio is 4/3.

【図5】本発明による画像処理方法について説明する図
である。
FIG. 5 is a diagram illustrating an image processing method according to the present invention.

【図6】従来の技術について説明する図である。FIG. 6 is a diagram illustrating a conventional technique.

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

1,34    入力画像 2,36    出力画像 3,8,33    演算器 4,6,27〜29    ラインメモリ5,10,3
0〜32    ラインメモリ制御回路7    バッ
ファ 9    画像メモリ 11,12    DDA 13,19,24    マルチプレクサ14    
ライトアドレスカウンタ 15    リードアドレスカウンタ 16,21,26    レジスタ 17    X方向分子レジスタ 18    X方向分母レジスタ 20,25    加算器 22    Y方向分子レジスタ 23    Y方向分母レジスタ 35    変換画像
1, 34 Input image 2, 36 Output image 3, 8, 33 Arithmetic unit 4, 6, 27-29 Line memory 5, 10, 3
0 to 32 Line memory control circuit 7 Buffer 9 Image memory 11, 12 DDA 13, 19, 24 Multiplexer 14
Write address counter 15 Read address counter 16, 21, 26 Register 17 X-direction numerator register 18 X-direction denominator register 20, 25 Adder 22 Y-direction numerator register 23 Y-direction denominator register 35 Conversion image

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  画像処理装置において、ラインメモリ
(6)に行単位で転送される画像データに対して、拡大
または縮小の処理を行なう制御回路であって、分数で表
わされる画面の横方向への任意の倍率を指定したとき、
その分子の数を格納するためのX方向分子レジスタ(1
7)と、分母の数を格納するためのX方向分母レジスタ
(18)と、該X方向分子レジスタ(17)およびX方
向分母レジスタ(18)のいずれか一方の内容を選択し
て出力するマルチプレクサ(19)と、画面の横方向へ
の拡大または縮小のための演算処理について余りの値を
格納するレジスタ(21)と、該レジスタ(21)の余
りの値と前記マルチプレクサ(19)から出力される値
とを加算して、その結果を前記レジスタ(21)に格納
すると同時に前記レジスタ(21)の余りの値の符号に
従ってパルスを出力する加算器(20)とにより構成さ
れ、画面の横方向への拡大または縮小の処理に関与する
DDA(11)と、分数で表わされる画面の縦方向への
任意の倍率を指定したとき、その分子の数を格納するた
めのY方向分子レジスタ(22)と、分母の数を格納す
るためのY方向分母レジスタ(23)と、該Y方向分子
レジスタ(22)およびY方向分母レジスタ(23)の
いづれか一方の内容を選択して出力するマルチプレクサ
(24)と、画面の縦方向への拡大または縮小のための
演算処理について余りの値を格納するレジスタ(26)
と、該レジスタ(26)の余りの値と、前記マルチプレ
クサ(24)から出力される値とを加算して、その結果
を前記レジスタ(26)に格納すると同時に、前記レジ
スタ(26)の余りの値の符号に従ってパルスを出力す
る加算器(25)とにより構成され、画面の縦方向への
拡大または縮小の処理に関与するDDA(12)と、前
記DDA(11)を構成する加算器(20)から出力さ
れるパルスによってカウントアップし、拡大または縮小
の処理を施すべき一行分の画像データについて、何桁目
のデータを読み出して処理すべきかを指示するリードア
ドレスカウンタ(15)と、一定周期でカウントアップ
し、バッファ(7)からラインメモリ(6)へ入力され
るデータをラインメモリ(6)の何桁目に書き込むかを
指示するライトアドレスカウンタ(14)と、拡大また
は縮小の処理に係るデータの読み出しタイミングと書き
込みタイミングの切り替えを行なうマルチプレクサ(1
3)と、前記DDA(12)を構成する加算器(25)
から出力されるパルスを保持し、バッファ(7)から前
記ラインメモリ(6)へ書き込む画像データを出力する
よう指示するレジスタ(16)とを具備することを特徴
とするラインメモリ制御回路。
1. A control circuit for enlarging or reducing image data transferred line by line to a line memory (6) in an image processing device, the control circuit being capable of enlarging or reducing image data in the horizontal direction of the screen expressed as a fraction. When you specify an arbitrary magnification of
The X-direction molecule register (1
7), an X-direction denominator register (18) for storing the number of denominators, and a multiplexer that selects and outputs the contents of either the X-direction numerator register (17) or the X-direction denominator register (18). (19), a register (21) that stores a remainder value for arithmetic processing for horizontally enlarging or reducing the screen, and a register (21) that stores the remainder value of the register (21) and the output from the multiplexer (19). and an adder (20) that adds the result to the register (21) and simultaneously outputs a pulse according to the sign of the remainder value of the register (21). DDA (11) involved in the process of enlarging or reducing the screen, and a Y-direction numerator register (22) for storing the number of molecules when specifying an arbitrary magnification in the vertical direction of the screen expressed as a fraction. , a Y-direction denominator register (23) for storing the number of denominators, and a multiplexer (24) that selects and outputs the contents of either the Y-direction numerator register (22) or the Y-direction denominator register (23). and a register (26) that stores the remainder value for the arithmetic processing for vertically enlarging or reducing the screen.
, the remainder value of the register (26), and the value output from the multiplexer (24) are added, and the result is stored in the register (26), and at the same time, the remainder value of the register (26) is added. A DDA (12) that is configured with an adder (25) that outputs pulses according to the sign of the value and is involved in the process of vertically expanding or contracting the screen, and an adder (20) that configures the DDA (11). ) and a read address counter (15) that instructs which digit of data should be read and processed for one line of image data to be enlarged or reduced, and a read address counter (15) that is counted up by pulses output from A write address counter (14) that counts up and instructs which digit in the line memory (6) to write the data input from the buffer (7) to the line memory (6), and A multiplexer (1
3) and an adder (25) that constitutes the DDA (12).
A line memory control circuit comprising: a register (16) that holds pulses output from the buffer (7) and instructs to output image data to be written to the line memory (6).
【請求項2】  少なくとも1つのラインメモリと、該
ラインメモリを制御して、画像データに対し拡大または
縮小の処理を行なう請求項1記載のラインメモリ制御回
路と、前記ラインメモリからの出力データに対して、空
間フィルタや網点化などの後処理をパイプライン制御に
より行なう演算器とを具備することを特徴とする画像処
理装置。
2. A line memory control circuit according to claim 1, comprising: at least one line memory; and a line memory control circuit that controls the line memory to perform enlargement or reduction processing on image data; On the other hand, an image processing apparatus is characterized in that it includes an arithmetic unit that performs post-processing such as spatial filtering and halftone dotting by pipeline control.
JP3118090A 1991-04-22 1991-04-22 Line memory control circuit Expired - Fee Related JP2854433B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3118090A JP2854433B2 (en) 1991-04-22 1991-04-22 Line memory control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3118090A JP2854433B2 (en) 1991-04-22 1991-04-22 Line memory control circuit

Publications (2)

Publication Number Publication Date
JPH04322385A true JPH04322385A (en) 1992-11-12
JP2854433B2 JP2854433B2 (en) 1999-02-03

Family

ID=14727751

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3118090A Expired - Fee Related JP2854433B2 (en) 1991-04-22 1991-04-22 Line memory control circuit

Country Status (1)

Country Link
JP (1) JP2854433B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116456144A (en) * 2023-06-14 2023-07-18 合肥六角形半导体有限公司 Frame-free cache video stream processing output device and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116456144A (en) * 2023-06-14 2023-07-18 合肥六角形半导体有限公司 Frame-free cache video stream processing output device and method
CN116456144B (en) * 2023-06-14 2023-09-26 合肥六角形半导体有限公司 Frame-free cache video stream processing output device and method

Also Published As

Publication number Publication date
JP2854433B2 (en) 1999-02-03

Similar Documents

Publication Publication Date Title
JP2523222B2 (en) Image reduction / enlargement method and apparatus
JPH04322385A (en) Line memory control circuit
JPH0512437A (en) Image filtering method
JP3154741B2 (en) Image processing apparatus and system
JPS6079473A (en) Magnifying and reducing device of picture
JPH0728991A (en) Data processing circuit using memory
JPH01114988A (en) Method for expanding and contracting image
JPH0668760B2 (en) DMA controller for image editing device
JPS62219078A (en) Arithmetic and processing device for expanded picture
JP2855136B2 (en) Information processing device with image editing function
JP3247441B2 (en) Image processing device
JPH02299082A (en) Processor for processing variable length data
JPS59146363A (en) Parallel signal processor
JPS61184967A (en) Image processor
JP2000020705A (en) Parallel image processing processor
JP2512252B2 (en) Image scaling device
JPH0638041A (en) Image processor
JPH05303636A (en) Picture data processor
JPH07320044A (en) Method and apparatus for conversion of geometry of image data
JPH02153392A (en) Vector figure display method
JP2002152501A (en) Method and system for reducing image and recording medium
JPS6190276A (en) Distance conversion circuit
JPH01195581A (en) Image data processing system
JPS63189979A (en) Pipe line arithmetic circuit
JPS61251971A (en) Image processor

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19981110

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081120

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees