JP2854433B2 - Line memory control circuit - Google Patents
Line memory control circuitInfo
- Publication number
- JP2854433B2 JP2854433B2 JP3118090A JP11809091A JP2854433B2 JP 2854433 B2 JP2854433 B2 JP 2854433B2 JP 3118090 A JP3118090 A JP 3118090A JP 11809091 A JP11809091 A JP 11809091A JP 2854433 B2 JP2854433 B2 JP 2854433B2
- Authority
- JP
- Japan
- Prior art keywords
- register
- line memory
- image
- processing
- enlargement
- 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
Links
Landscapes
- Image Processing (AREA)
- Editing Of Facsimile Originals (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、画像を任意の倍率で拡
大・縮小しながら空間フィルタ操作などの画像処理を行
なう画像処理装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus for performing image processing such as a spatial filter operation while enlarging or reducing an image at an arbitrary magnification.
【0002】画像処理技術は、様々な分野で利用されて
きており、今後ますます市場の拡大が予想されている。
なかでも、印刷、出版関連分野では作業の効率化・簡略
化を目的に、急速にこの技術の導入が進められている。
この分野で最も頻繁に使用される処理のひとつに画像の
拡大・縮小がある。例えば、新聞を作成する場合、オペ
レータが自由に紙面の編集等を行なう際に、画像等を拡
大・縮小しながら適切な紙面を作成している。そして近
年、この拡大・縮小の処理に高速化が要求されるように
なった。このため、拡大・縮小に伴う処理の効率化を図
る必要が生じている。[0002] Image processing technology has been used in various fields, and the market is expected to expand further in the future.
Above all, in the printing and publishing-related fields, the introduction of this technology is being rapidly promoted for the purpose of streamlining and simplifying work.
One of the most frequently used processes in this field is image scaling. For example, when a newspaper is created, when an operator freely edits a sheet of paper, an appropriate sheet of paper is created while enlarging or reducing an image or the like. In recent years, speeding up of the enlargement / reduction processing has been required. For this reason, there is a need to increase the efficiency of processing accompanying enlargement / reduction.
【0003】[0003]
【従来の技術】図3は、従来の技術について説明する図
である。図3(a)に示すように、従来は入力画像34
を座標変換によって拡大し、この変換画像35をワーク
メモリ上に作成する。その後に、空間フィルタや網点化
等の処理を行ない出力画像36を作成する。座標変換と
は、図3(b)に示すように、入力画像34の一つ一つ
の座標について変換式に基づいて計算を行ない出力の座
標を求めるものである。2. Description of the Related Art FIG. 3 is a diagram for explaining a conventional technique. Conventionally, as shown in FIG.
Is enlarged by coordinate transformation, and this transformed image 35 is created on the work memory. After that, an output image 36 is created by performing processes such as a spatial filter and halftoning. In the coordinate conversion, as shown in FIG. 3B, each coordinate of the input image 34 is calculated based on a conversion formula to obtain output coordinates.
【0004】[0004]
【発明が解決しようとする課題】このような従来の方法
では、入力画像に座標変換の処理を施し変換画像を作成
した後に、該変換画像に対して空間フィルタ等の処理を
施すので、変換画像を一時的に保存するための広大なメ
モリ領域を必要とした。また、座標変換の処理と空間フ
ィルタ等の処理とを2段階に分けて行なっているので、
画像処理全体として多くの時間がかかった。さらに、特
に拡大の手法である座標変換は、それ自体で多くの時間
を必要とするという問題点があった。In such a conventional method, after a coordinate conversion process is performed on an input image to create a converted image, a process such as a spatial filter is performed on the converted image. Requires a large memory area to temporarily store the data. Also, since the process of coordinate transformation and the process of spatial filter etc. are performed in two stages,
It took a lot of time for the whole image processing. Further, there is a problem that coordinate conversion, which is a method of enlargement, requires a lot of time by itself.
【0005】本発明は、このような従来の問題点に鑑
み、小容量のメモリを使用して、高速に画像処理を行な
うことができる画像処理装置を提供することを目的とす
る。The present invention has been made in view of the above problems, and has as its object to provide an image processing apparatus capable of performing image processing at high speed using a small-capacity memory.
【0006】[0006]
【課題を解決するための手段】本発明によれば、上述の
目的は、前記特許請求の範囲に記載した手段により達成
される。According to the invention, the above-mentioned object is achieved by the means described 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のレジスタとを具備するラインメモリ
制御回路である。More specifically, a first aspect of the present invention is a control circuit for performing enlargement or reduction processing on image data transferred to a line memory on a line basis in the image processing apparatus, wherein the screen is represented by a fraction. When an arbitrary magnification in the horizontal direction is specified, an X-direction numerator register for storing the number of the numerator, an X-direction denominator register for storing the number of the denominator, the X-direction numerator register and the X-direction First to select and output one of the contents of the denominator register
, A first register for storing a surplus value for arithmetic processing for enlarging or reducing the screen in the horizontal direction, a surplus value of the first register, and an output from the first multiplexer A first pulse that outputs a pulse according to the sign of the remaining value of the first register at the same time as storing the result in the first register.
The first DDA involved in the process of enlarging or reducing the screen in the horizontal direction and the number of the numerator when an arbitrary magnification in the vertical direction of the screen expressed by a fraction is designated , A Y-direction denominator register for storing the number of denominators, and a second multiplexer for selecting and outputting any one of the Y-direction denominator register and the Y-direction denominator register A second register for storing a surplus value for an operation for enlarging or reducing the screen in the vertical direction, a surplus value of the second register, and a value output from the second multiplexer And a second adder that outputs a pulse in accordance with the sign of the remainder of the second register at the same time as storing the result in the second register. The constituting the second DDA involved in the process of enlargement or reduction of the direction, the first DDA 1
A read address counter that counts up by a pulse output from the adder of one row and instructs what digit data is to be read and processed for one row of image data to be subjected to enlargement or reduction processing, and a fixed cycle. A write address counter that counts up and writes the data to be written from the buffer to the line memory, in which digit of the line memory the address on the line memory is to be written, and the read timing and write of data related to enlargement or reduction processing Switching timing 3
And a second DDA constituting the second DDA.
And a third register for holding a pulse output from the adder and instructing whether or not to write data from the buffer to the line memory.
【0008】また、請求項2の発明は、少なくとも1つ
のラインメモリと、該ラインメモリを制御して、画像デ
ータに対し拡大または縮小の処理を行なう請求項1記載
のラインメモリ制御回路と、前記ラインメモリからの出
力データに対して、空間フィルタや網点化などの後処理
をパイプライン制御により行なう演算器とを具備する画
像処理装置である。According to a second aspect of the present invention, there is provided a line memory control circuit according to the first aspect, wherein at least one line memory is controlled, and the line memory is controlled to perform enlargement or reduction processing on image data. The image processing apparatus includes an arithmetic unit that performs post-processing such as a spatial filter and halftone processing by pipeline control on output data from a line memory.
【0009】[0009]
【作用】図1は、本発明の原理説明図である。本発明に
おいては、拡大・縮小等の座標変換の処理と、空間フィ
ルタ等の処理とを一度に行なう。図1において、入力画
像1の1行分の画像データが次々とラインメモリ4へ送
られる。ラインメモリ4へ送られる画像データは、ライ
ンメモリ制御回路5によって任意の倍率で拡大あるいは
縮小されラインメモリ4上に展開される。拡大あるいは
縮小された画像データは、直ちにパイプライン制御を行
なう演算器3へ送られ、ここで空間フィルタ等の処理が
施される。出力画像2には、画像処理されたデータが順
次送られる。FIG. 1 is a diagram illustrating the principle of the present invention. In the present invention, processing of coordinate transformation such as enlargement / reduction and processing of a spatial filter or the like are performed at one time. In FIG. 1, one line of image data of the input image 1 is sent to the line memory 4 one after another. The image data sent to the line memory 4 is expanded 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 a computing unit 3 that performs pipeline control, where a process such as a spatial filter is performed. Image-processed data is sequentially sent to the output image 2.
【0010】このように、拡大・縮小の処理と空間フィ
ルタ等の処理を別個の処理としないで一連の一つの処理
とみたて、画像データを行単位に処理していくことで画
像処理の高速化することが可能となる。すなわち、全て
の画像データが拡大あるいは縮小されるのを待つことな
く、拡大あるいは縮小の処理が終わった順に、次々と空
間フィルタ等の処理を施していく。そうすることによ
り、必要なメモリも、1画面分でなく1行分の容量があ
ればよいので小さくて済んでいる。As described above, the enlargement / reduction processing and the processing such as the spatial filter are not regarded as separate processing but as a series of one processing. Can be realized. 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 only needs to have a capacity for one row instead of one screen, so that it is small.
【0011】[0011]
【実施例】図2は、本発明によるラインメモリ制御回路
の構成例を示す図である。図2において、入力される画
像データは画像バスを経てバッファ7へ送られる。この
画像データはラインメモリ6で拡大あるいは縮小されて
演算器8へ送られる。演算器8は空間フィルタ等の処理
を行ない、その結果を画像メモリに書き出す。画像メモ
リ9に書かれたデータは出力画像として表示される。FIG. 2 is a diagram showing a configuration example of a line memory control circuit according to the present invention. In FIG. 2, input image data is sent to a buffer 7 via an image bus. This image data is enlarged or reduced by the line memory 6 and sent to the arithmetic unit 8. The arithmetic unit 8 performs a process such as a spatial filter and writes the result to an image memory. The data written in the image memory 9 is displayed as an output image.
【0012】ラインメモリ6を制御するラインメモリ制
御回路10は、デジタル微分解析機( Digital Differe
ntial Analyzer;以下DDAという)の演算機構を用い
て、画像データの拡大あるいは縮小を行なう。以下、拡
大を例にとって説明する。The line memory control circuit 10 for controlling the line memory 6 includes a digital differential analyzer (Digital Differe).
The image data is enlarged or reduced using an arithmetic mechanism of an ntial analyzer (hereinafter referred to as DDA). Hereinafter, the expansion will be described 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 a horizontal direction (hereinafter referred to as an x direction). Line memory 6
Receives one line of image data, the DDA 11 calculates how many repetitions in the x direction of each digit of the one line will produce a predetermined enlargement ratio. For example, if it is desired to double the value in the x direction, the image data for one line sent is read one digit at a time from the beginning, and after reading one digit, this is output to the arithmetic unit 8 twice. At this time, the read address counter 1 indicates the digit address of the original data to be read.
5 The multiplexer 13 switches between the timing of reading data and the timing of writing data.
【0014】DDA12は、画像を縦方向(以下y方向
という)に拡大するためのものである。拡大すべき1行
分の画像データについて、最後尾の桁のデータの拡大が
終わると、これに同期して、y方向の拡大を行なう。こ
こで、ラインメモリ6に書かれているデータを書きかえ
ずに、繰り返しx方向の拡大処理を行なえば、y方向へ
の拡大ができる。例えば、y方向に2倍したい場合は、
ラインメモリ6に書かれているデータを2回繰り返して
拡大処理して出力する。なお、レジスタ16はDDA1
2から出力されるパルスを保持する。The DDA 12 is for enlarging an image in a vertical direction (hereinafter, referred to as a y direction). When the last digit of the image data for one line to be enlarged is enlarged, the image data is enlarged in the y direction in synchronization with the enlargement. Here, if the enlargement processing in the x direction is repeatedly performed without rewriting the data written in the line memory 6, the enlargement in the y direction can be performed. For example, if you want to double in the y direction,
The data written in the line memory 6 is repeated twice to enlarge and output. Note that the register 16 stores the DDA1
2 is held.
【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 the same configuration, 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 in accordance with the sign of the value stored in the registers 21 and 26. The pulse is D
The outputs of DAs 11 and 12 contribute to enlargement processing in the x and y directions. The enlargement ratio in the x direction is stored in the X direction numerator register 17 and the X direction denominator register 18. The enlargement ratio in the y direction is stored in the Y direction numerator register 22 and the Y direction numerator register.
It is stored in the direction denominator register 23. By expressing the enlargement ratio as a fraction, the image can be enlarged at an arbitrary magnification.
【0016】図3は、ラインメモリ制御回路の動作に係
るフローチャートを示す図である。まず、S1でx方向
およびy方向の拡大率をセットする。上述したように、
拡大率は分数で表わし、それぞれの整数値を対応するレ
ジスタ(以下、図3に示すNX,MX,NY,MY を使用す
る)に格納する。このとき、NX ,NY には全ての元の
数値の2の補数を格納することとする。例えば、x方向
の拡大率が3/2倍でNX とMX が4ビットのレジスタ
の場合においては、NXには“0011B”の2の補数
である“1101B”を格納する。一方、MX には“0
010B”を格納する。2の補数を加算すると元の数を
減算することになる。FIG. 3 is a flowchart showing the operation of the line memory control circuit. First, in S1, an enlargement ratio in the x direction and the y direction is set. As mentioned above,
Magnification represents a fraction, each register corresponding integer value is stored (hereinafter, N X, using the M X, N Y, M Y shown in FIG. 3). At this time, two's complements of all the original numerical values are stored in N X and N Y. For example, in the case where the enlargement ratio in the x direction is 3/2 times and N X and M X are 4-bit registers, “1101B” which is the two's complement of “0011B” is stored in N X. On the other hand, the M X "0
010B "is stored. Adding the two's complement value subtracts the original number.
【0017】S2では、DDAの余りのレジスタ(以
下、図3に示すAX ,AY を使用する)に“0”をセッ
トする。そして、S3の比較結果が負であればリードア
ドレスカウンタの値はそのままで、結果が負でなければ
S4でリードアドレスカウンタはインクリメントされ、
次の画像データを1桁読み込む。続いて、S5またはS
6の演算を行ない、S7で繰り返し処理となる。S7を
抜けるのは、リードアドレスカウンタがラインメモリの
最後のアドレスまでいき、クリアされるときに同期して
いる。英字符Aで示すS3〜S7までの処理はx方向へ
の拡大処理で、図2のDDA11が関係する処理であ
る。At S2, "0" is set in the remaining registers of the DDA (hereinafter, A X and A Y shown in FIG. 3 are used). If the comparison result in S3 is negative, the value of the read address counter remains unchanged, and if the result is not negative, the read address counter is incremented in S4,
The next image data is read by one digit. Then, S5 or S
6 is performed, and the process is repeated in S7. The exit from S7 is synchronized when the read address counter goes to the last address of the line memory and is cleared. The processing from S3 to S7 indicated by the letter A is an expansion processing in the x direction, and is processing 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 enlarging process for one line is completed, the alphabet B
The enlarging process in the y direction indicated by is performed. This corresponds to D in FIG.
This is processing related to DA12. The read address counter is cleared in S8, and the comparison is performed in S9. If the result of the comparison is negative, the contents of the line memory are not rewritten. If the result is not negative, one line of the next image data is read in S10.
Subsequently, the calculation in S11 or S12 is performed, and the process returns to S3 in S13. 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 for explaining a case where the enlargement ratio is 4/3. As shown in FIG. 4A, the read address is not necessarily increased because it is added by the output pulse from the DDA contributing to the expansion in the x direction. That is, the read address remains unchanged at times “0” and “4”. FIG. 4B illustrates the registers A X ,
The calculation of N X and M X is shown. Here, since two complements are stored in N X , each is given a negative sign. 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 for explaining an image processing apparatus according to the present invention. The arithmetic unit 33 performs processing such as a spatial filter by pipeline control. The process of the spatial filter is a process for removing noise and sharpening the image for each unit area of the image. To remove noise in a 3 × 3 area,
【数1】 のようなものがあり、また、画像の尖鋭化を行なうもの
には、(Equation 1) There is also something that sharpens the image,
【数2】 のようなものがある。このような演算処理を行なう演算
器33に対して、複数行のラインメモリから読み出され
るデータを送り、これをベクトルデータとしてパイプラ
イン制御によりトコロテン式に処理するようにする。図
5では、3×3の領域に対する空間フィルタの処理を想
定し、3つのラインメモリ27〜29を置いている。ラ
インメモリ制御回路30〜32は、対応するラインメモ
リ27〜29を制御して、任意の倍率で拡大あるいは縮
小の処理を行なう。(Equation 2) There is something like Data read from a plurality of rows of line memories is sent to the arithmetic unit 33 that performs such arithmetic processing, and this is processed as vector data in a Tokoroten manner by pipeline control. In FIG. 5, three line memories 27 to 29 are provided assuming a spatial filter process 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, enlargement or reduction processing is performed by a simple circuit operation, so that enlargement or reduction processing is speeded up. In addition, since the image processing is performed without interruption as one processing up to the processing of the spatial filter, the efficiency is very high. In addition, the use of the line memory enables the effective use of the memory, and the combination of the line memory and its control circuit has the advantage that an image processing apparatus having a high performance which has not been considered before can be configured. is there.
【図1】本発明の原理説明図である。FIG. 1 is a diagram illustrating the principle of the present invention.
【図2】本発明によるラインメモリ制御回路の構成例を
示す図である。FIG. 2 is a diagram illustrating a configuration example of a line memory control circuit according to the present invention;
【図3】ラインメモリ制御回路の動作に係るフローチャ
ートを示す図である。FIG. 3 is a diagram showing a flowchart relating to the operation of the line memory control circuit.
【図4】拡大率4/3の場合について説明する図であ
る。FIG. 4 is a diagram illustrating a case of an enlargement ratio of 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.
1,34 入力画像 2,36 出力画像 3,8,33 演算器 4,6,27〜29 ラインメモリ 5,10,30〜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,30-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)
(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)とを具備することを特徴
とするラインメモリ制御回路。In an image processing apparatus, a control circuit for performing enlargement or reduction processing on image data transferred to a line memory (6) in units of rows, wherein the control circuit performs processing in a horizontal direction of a screen expressed by a fraction. When an arbitrary magnification of is specified,
X-direction numerator register (1
7), an X-direction denominator register (18) for storing the number of denominators, and a multiplexer for selecting and outputting the contents of one of the X-direction numerator register (17) and the X-direction denominator register (18) (19), a register (21) for storing a surplus value for an arithmetic process for enlarging or reducing the screen in the horizontal direction, a surplus value of the register (21), and an output from the multiplexer (19). And an adder (20) for storing the result in the register (21) and simultaneously outputting a pulse in accordance with the sign of the remainder of the register (21). When the DDA (11) involved in the process of enlarging or reducing the image and an arbitrary magnification in the vertical direction of the screen expressed by a fraction are designated, a Y-direction numerator for storing the number of the molecule is used. (22), a Y-direction denominator register (23) for storing the number of denominators, and the contents of one of the Y-direction numerator register (22) and the Y-direction denominator register (23) are selected and output. A multiplexer (24) and a register (26) for storing a surplus value for arithmetic processing for enlarging or reducing the screen in the vertical direction.
And the value of the remainder of the register (26) is added to the value output from the multiplexer (24), and the result is stored in the register (26). An adder (25) for outputting a pulse in accordance with the sign of the value; a DDA (12) involved in the process of enlarging or reducing the screen in the vertical direction; and an adder (20) constituting the DDA (11) ), A read address counter (15) for instructing which digit data is to be read out and processed with respect to one line of image data to be subjected to enlargement or reduction processing, which is counted up by a pulse output from And write data indicating the number of the digit of the line memory (6) to write the data input from the buffer (7) to the line memory (6). And less counter (14), to switch the read timing and write timing of the data according to the enlargement or reduction processing multiplexers (1
3) and an adder (25) constituting the DDA (12)
A line memory control circuit, comprising: a register (16) for holding a pulse output from the memory and instructing output of image data to be written from the buffer (7) to the line memory (6).
インメモリを制御して、画像データに対し拡大または縮
小の処理を行なう請求項1記載のラインメモリ制御回路
と、前記ラインメモリからの出力データに対して、空間
フィルタや網点化などの後処理をパイプライン制御によ
り行なう演算器とを具備することを特徴とする画像処理
装置。2. The line memory control circuit according to claim 1, wherein at least one line memory is controlled, and the line memory is controlled to perform enlargement or reduction processing on the image data. On the other hand, an image processing apparatus comprising: an arithmetic unit that performs post-processing such as a spatial filter and halftoning by pipeline control.
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 JPH04322385A (en) | 1992-11-12 |
| JP2854433B2 true 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) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116456144B (en) * | 2023-06-14 | 2023-09-26 | 合肥六角形半导体有限公司 | Frame-free cache video stream processing output device and method |
-
1991
- 1991-04-22 JP JP3118090A patent/JP2854433B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH04322385A (en) | 1992-11-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH03231383A (en) | Image reduction/expansion method and apparatus | |
| JPH08202524A (en) | Graphic display scroll device | |
| JP2854433B2 (en) | Line memory control circuit | |
| JP2814860B2 (en) | Image scaling device | |
| JPH0640259B2 (en) | Data processing device | |
| JPH04291684A (en) | Thick line plotter | |
| JP2021015569A (en) | Image processing device, control method for image processing device, and program | |
| JPS6079473A (en) | Magnifying and reducing device of picture | |
| CN101310237B (en) | Table checking multiplier | |
| JPH0728991A (en) | Data processing circuit using memory | |
| JP3247441B2 (en) | Image processing device | |
| JPH0512437A (en) | Image filtering method | |
| JPH0668760B2 (en) | DMA controller for image editing device | |
| JP6926940B2 (en) | Image processing equipment and programs | |
| JP2512252B2 (en) | Image scaling device | |
| JP3006946B2 (en) | Printing equipment | |
| JPH0420224B2 (en) | ||
| JPH0764524A (en) | Image display device | |
| JPH04367080A (en) | Image scaling processing device | |
| JP2605609B2 (en) | Dot display processing device | |
| JP2597875B2 (en) | Binary image similarity conversion pixel data generator | |
| JPS62219078A (en) | Arithmetic and processing device for expanded picture | |
| JPH07320044A (en) | Method and apparatus for conversion of geometry of image data | |
| JPH02153392A (en) | Vector figure display method | |
| JPH05183735A (en) | Method and device for picture conversion |
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 |