JPH0844617A - Image processor - Google Patents

Image processor

Info

Publication number
JPH0844617A
JPH0844617A JP6197217A JP19721794A JPH0844617A JP H0844617 A JPH0844617 A JP H0844617A JP 6197217 A JP6197217 A JP 6197217A JP 19721794 A JP19721794 A JP 19721794A JP H0844617 A JPH0844617 A JP H0844617A
Authority
JP
Japan
Prior art keywords
image
address
data
binary
memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP6197217A
Other languages
Japanese (ja)
Inventor
Yoshihiro Kaneko
▲よし▼宏 金子
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP6197217A priority Critical patent/JPH0844617A/en
Publication of JPH0844617A publication Critical patent/JPH0844617A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To display images while switching a multilevel image and a binary image by using one image memory by mixedly designating the storage addresses of the digital image data of the multilevel image and/or the binary image to one image memory. CONSTITUTION:Memory cells 6A-6D secure a memory area while dividing it into two pictures for gradation image areas 7A and 7B and one picture for a binary image area 8. When dealing with a monochromatic video signal, the amount of data for one scanning line is set at 512 picture elements, the number of valid scanning lines for the video signal is set at 480, and the data of 512X480 picture elements are used as the image data of one frame. In this case, even when two pictures for 512X480X8 bits are secured, remaining data for 512X512X1 bits can be used for the binary image memory area 8, and the memory cells 6A-6D are effectively utilized. Thus, the memory areas of the gradation image areas 7A and 7B and the binary image area 8 are secured in one frame buffer, and both the images can be independently processed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【目次】以下の順序で本発明を説明する。 産業上の利用分野 従来の技術(図8) 発明が解決しようとする課題 課題を解決するための手段(図1〜図6) 作用(図7) 実施例(図1〜図7) 発明の効果[Table of Contents] The present invention will be described in the following order. Field of Industrial Application Conventional Technology (FIG. 8) Problem to be Solved by the Invention Means for Solving the Problem (FIGS. 1 to 6) Action (FIG. 7) Example (FIGS. 1 to 7) Effect of the Invention

【0002】[0002]

【産業上の利用分野】本発明は画像処理装置に関し、特
に多値画像と2値画像の両方のデイジタル画像データの
画像表示に対応するものに適用し得る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus, and in particular, it can be applied to an image processing apparatus capable of displaying digital image data of both multi-valued images and binary images.

【0003】[0003]

【従来の技術】従来、画像処理装置では、アナログビデ
オ信号をアナログデイジタル変換してフレームバツフア
に一旦格納し、その格納データに対してデイジタル信号
処理し、その結果をデイジタルアナログ変換してモニタ
に出力表示している。フレームバツフアにはDRAM(d
ynamic random access memory)等が用いられ、画像デー
タをフレーム毎に蓄えると共に所定のビデオレート30
〔frame/sec 〕で高速に読み書き(リード/ライト)す
るようにされている。
2. Description of the Related Art Conventionally, in an image processing apparatus, an analog video signal is analog-digital converted and temporarily stored in a frame buffer, the stored data is digital-signal processed, and the result is digital-analog converted to a monitor. The output is displayed. DRAM (d
dynamic random access memory) etc. is used to store image data for each frame and at a predetermined video rate 30
It is designed to read and write (read / write) at high speed in [frame / sec].

【0004】ここでフレームバツフアを多値(濃淡)画
像表示と2値(ビツトマツプ)画像表示の両方に用いる
場合、例えば第1の方法としてフレームバツフアを濃淡
画像専用の画像メモリ構成とする。そして図8に示すよ
うに、デイジタルアナログ変換器の入力前段に設置され
るルツクアツプテーブルにおいてテーブルの内容を濃淡
画像の場合と2値画像の場合で書き換えることにより、
濃淡画像表示及び2値画像表示を切替えて表示するよう
になされている。
When the frame buffer is used for both multi-value (grayscale) image display and binary (bitmap) image display, the frame buffer is formed as an image memory structure dedicated to a grayscale image as a first method, for example. Then, as shown in FIG. 8, by rewriting the contents of the table in the look-up table installed before the input of the digital analog converter in the case of the grayscale image and in the case of the binary image,
The grayscale image display and the binary image display are switched and displayed.

【0005】また第2の方法としては、濃淡画像表示専
用の画像メモリと2値画像表示専用の画像メモリとを用
意することによつて、目的に応じて画像表示の出力を切
り替えるようにする。ここで例えば濃淡を8ビツト256
階調で表現すると、1画素が1ビツトの2値画像は1面
当たり濃淡画像の1/8の容量で構成できる。あるい
は、1つの画像メモリを濃淡画像モードと2値画像モー
ドとして使用する。
As a second method, an image memory dedicated to displaying a grayscale image and an image memory dedicated to displaying a binary image are prepared so that the output of image display can be switched according to the purpose. Here, for example, the gradation is 8 bits 256
Expressed in terms of gradation, a binary image in which one pixel is one bit can be configured with 1/8 the capacity of the grayscale image per surface. Alternatively, one image memory is used as the grayscale image mode and the binary image mode.

【0006】[0006]

【発明が解決しようとする課題】ところで第1の方法で
は、画像メモリを2値画像表示に設定する場合、8ビツ
ト階調の場合、2値画像の8画面分の容量をもつ濃淡画
像1画面分の画像メモリ領域を2値画像専用の領域とし
なければならない。このため2値画像では8画面分の容
量に相当する画像メモリ領域を2値画像1画面分として
しか使用できず、画像メモリの使用効率が低下するとい
う問題があつた。
By the way, according to the first method, when the image memory is set to the binary image display, in the case of 8 bit gradation, one gray image having a capacity of eight screens of the binary image is displayed. The minute image memory area must be dedicated to the binary image. Therefore, in the binary image, the image memory area corresponding to the capacity of eight screens can be used only for one screen of the binary image, and there is a problem that the use efficiency of the image memory is reduced.

【0007】また第2の方法では、濃淡画像メモリとは
別の画像メモリを2値画像専用として設けるので、使用
する画像メモリ(DRAM)の個数が増加する。濃淡画
像表示又は2値画像表示に択一的にモードを切り替える
場合は、メモリの使用効率は最適化されているが、濃淡
画像と2値画像の両方の画像を濃淡のみか2値のみにメ
モリ構成の変更することなしに表示することができない
という問題があつた。
In the second method, since the image memory other than the grayscale image memory is provided exclusively for the binary image, the number of image memories (DRAM) used increases. When the mode is selectively switched to grayscale image display or binary image display, the memory usage efficiency is optimized, but both grayscale and binary images are stored in either grayscale or binary only. There was a problem that it could not be displayed without changing the configuration.

【0008】本発明は以上の点を考慮してなされたもの
で、1つの画像メモリを用いて多値画像又は2値画像に
よる切替え画像表示のできる画像処理装置を提案しよう
とするものである。
The present invention has been made in consideration of the above points, and it is an object of the present invention to propose an image processing apparatus capable of displaying a switched image by a multivalued image or a binary image using one image memory.

【0009】[0009]

【課題を解決するための手段】かかる問題を解決するた
め本発明においては、多値画像及び又は2値画像のデイ
ジタル画像データを記憶し、デイジタル画像データを画
像処理して多値画像又は2値画像とを切替えて画像表示
手段により画像表示する画像処理装置(1)において、
デイジタル画像データを記憶する画像メモリ(6A〜6
D)とデイジタル画像データに対する入出力バツフアメ
モリ(10A〜10D)とを有する画像メモリ手段
(3)と、デイジタル画像データに対して行アドレスと
列アドレスを指定することにより、多値画像及び又は2
値画像の記憶アドレスを生成するアドレス生成手段(2
0)と、画像メモリ手段からデイジタル画像データを多
値画像又は2値画像とで切替えて読み出す出力画像切替
手段(30)とを備える。
In order to solve such a problem, in the present invention, digital image data of a multivalued image and / or a binary image is stored, and the digital image data is subjected to image processing to obtain a multivalued image or a binary image. In an image processing device (1) for switching between images and displaying images by an image display means,
An image memory (6A to 6) for storing digital image data
D) and an image memory means (3) having an input / output buffer memory (10A to 10D) for digital image data, and a multi-valued image and / or 2 by designating a row address and a column address for the digital image data.
Address generating means for generating a storage address of the value image (2
0) and output image switching means (30) for switching the digital image data from the image memory means to a multi-valued image or a binary image and reading it.

【0010】[0010]

【作用】1つの画像メモリ(6A〜6D)に多値画像及
び又は2値画像のデイジタル画像データの記憶アドレス
を混在して指定することにより、多値画像又は2値画像
のデイジタル画像データを切替えて画像表示することが
できると共に、画像メモリの記憶容量を効率良く使用す
ることができる。
The digital image data of the multi-valued image or the binary image is switched by specifying the storage addresses of the digital image data of the multi-valued image and / or the binary image in a single image memory (6A to 6D). It is possible to display an image as a result and efficiently use the storage capacity of the image memory.

【0011】[0011]

【実施例】以下図面について、本発明の一実施例を詳述
する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the drawings.

【0012】図1において1は全体として画像処理装置
を示し、ホストプロセツサ2から送出されるデイジタル
ビデオ信号はフレームバツフア3に一旦記憶された後、
ランダムにリード/ライトされデイジタル信号処理され
る。デイジタル信号処理されたデイジタルビデオ信号
は、順次連続的に読み出され、デイジタルアナログ変換
回路4でデイジタルアナログ変換されてモノクロコンポ
ジツトビデオ信号(以下ビデオ信号という)としてデイ
スプレイ5に送出され画像表示される。
In FIG. 1, reference numeral 1 denotes an image processing apparatus as a whole, in which a digital video signal sent from a host processor 2 is temporarily stored in a frame buffer 3 and then
Random read / write is performed and digital signal processing is performed. The digital video signal subjected to the digital signal processing is sequentially and continuously read, digital-analog converted by the digital analog conversion circuit 4, and sent to the display 5 as a monochrome composite video signal (hereinafter referred to as a video signal) for image display. .

【0013】図2に示すように、フレームバツフア3を
構成するメモリセル6A〜6Dはそれぞれが1〔Mbit
s〕の記憶容量をもつ4個のDRAMで構成されたデユ
アルポートDRAMで、全体で4〔Mbits〕の記憶容量
を有する。このメモリセル6A〜6Dはメモリ領域を51
2 ×480 ×8〔bits〕の濃淡画像領域7A及び7Bの2
面分と、512 ×512 ×1〔 bit〕の2値画像領域8の1
面分とに領域分割して確保している。
As shown in FIG. 2, each of the memory cells 6A to 6D forming the frame buffer 3 has 1 [Mbit.
It is a dual port DRAM composed of four DRAMs having a storage capacity of [s], and has a total storage capacity of 4 [Mbits]. These memory cells 6A to 6D have 51 memory areas.
2 × 480 × 8 [bits] grayscale image areas 7A and 7B 2
Area and 1 of 512 × 512 × 1 [bit] binary image area 8
It is secured by dividing it into areas and areas.

【0014】モノクロビデオ信号を扱う場合、走査線1
ライン分のデータ量を512 画素とし、ビデオ信号の有効
走査線数を画像入力装置(図示せず)の中心から外れた
周辺部のデータの歪みを考慮して480 本に設定して 512
×480 画素のデータを1フレームの画像データとして使
用する。このとき濃淡画像512 ×480 ×8〔bits〕を2
面分確保しても、残り512 ×512 ×1〔bit 〕分のデー
タを2値画像メモリ領域として使用することができ、メ
モリセル6A〜6Dが有効に活用される。このように1
つのフレームバツフア3内に濃淡画像領域7A及び7B
と2値画像領域8のメモリ領域を確保して、独立に両画
像を処理することができる。
When handling a monochrome video signal, the scanning line 1
The data amount for lines is 512 pixels, and the number of effective scanning lines of the video signal is set to 480 in consideration of the distortion of the data in the peripheral portion deviated from the center of the image input device (not shown).
Data of × 480 pixels is used as one frame of image data. At this time, the grayscale image 512 x 480 x 8 [bits] is 2
Even if the surface area is secured, the remaining 512 × 512 × 1 [bit] data can be used as the binary image memory area, and the memory cells 6A to 6D are effectively used. Like this one
Grayscale image areas 7A and 7B in one frame buffer 3
It is possible to secure the memory area of the binary image area 8 and process both images independently.

【0015】図3に示すように、デイスプレイ5への画
像表示とデータ処理の2系統の回路からのアクセスに同
時に対応することができるデユアルポートDRAMのフ
レームバツフア3にはシリアルアクセスのバツフアレジ
スタとなるそれぞれ4×512〔bits〕の記憶容量を有す
る4つのシリアルメモリ10A〜10D(SAM)が各
メモリセル6A〜6Dに対応して内蔵されている。フレ
ームバツフア3のメモリセル6A〜6Dからトランスフ
アゲート11を介してSAM10A〜10Dに転送され
るデータはメモリセル6A〜6Dと任意の1行を単位と
して相互にデータ転送される。このSAM10A〜10
Dはデータ転送時以外はメモリセル6A〜6D側のポー
トとは独立に動作することができる。そこで、これを表
示用のシリアルアクセスのためのバツフアとして利用す
ることにより、メモリセル6A〜6D側は、通常のDR
AMと同じように動作できる。
As shown in FIG. 3, the frame buffer 3 of the dual port DRAM capable of simultaneously supporting the image display on the display 5 and the access from the two circuits for the data processing is provided in the serial register buffer register. Thus, four serial memories 10A to 10D (SAM) each having a storage capacity of 4 × 512 [bits] are built in corresponding to the respective memory cells 6A to 6D. The data transferred from the memory cells 6A to 6D of the frame buffer 3 to the SAMs 10A to 10D via the transfer gate 11 are mutually transferred with the memory cells 6A to 6D in units of any one row. This SAM 10A-10
D can operate independently of the ports on the side of the memory cells 6A to 6D except when transferring data. Therefore, by using this as a buffer for serial access for display, the memory cells 6A to 6D side can perform normal DR.
It can operate in the same way as AM.

【0016】メモリセル6A〜6Dに対して、アドレス
入力バツフア12を介してロウデコーダ13によつてメ
モリセル6A〜6DのRAS(row address strobe)ア
ドレスが指定される。されにカラムデコーダ14によつ
てCAS(column address strobe) アドレスが指定され
る。ここでメモリセル6A〜6Dの画像データを用いて
画像表示する場合、RASアドレスとCASアドレスに
よつて指定される画像データを外部入力のシリアルクロ
ツク(SC)によつてアドレスカウンタ15でカウント
し、シリアルデータセレクタ16でパラレルシリアル変
換した後、シリアルアウトイネーブル信号(SOE)を
受けてシリアル入出力バツフア17のシリアルアウトS
O1〜SO4から出力される。
RAS (row address strobe) addresses of the memory cells 6A-6D are designated by the row decoder 13 via the address input buffer 12 for the memory cells 6A-6D. Then, the column decoder 14 specifies a CAS (column address strobe) address. Here, when an image is displayed using the image data of the memory cells 6A to 6D, the image data designated by the RAS address and the CAS address is counted by the address counter 15 by the serial clock (SC) of the external input. , After serial-to-serial conversion by the serial data selector 16, receives the serial-out enable signal (SOE) and outputs the serial-out S of the serial input / output buffer 17.
It is output from O1 to SO4.

【0017】フレームバツフア3では、図4に示すアド
レス生成回路20によつて、走査線(A0〜A8)から
送出されてくるビデオ信号に対して、濃淡画像及び2値
画像それぞれに応じてRASアドレスとCASアドレス
が指定される。すなわち1画素が8ビツトの濃淡画像の
場合、RASアドレスには走査線A0〜A8に対応する
アドレスがそのままRASアドレスとして指定される。
図5に示すように、メモリセル6A〜6DからSAM1
0A及び10Bに一旦格納された画像データはSAM1
0A及び10Bからそれぞれ4〔bits〕ずつ読み出さ
れ、8〔bits〕画素データの512 カラム分がアドレス指
定されて読み出され、RASアドレスがインクリメント
される毎に1ライン分の画像データとして送出される。
In the frame buffer 3, the address generation circuit 20 shown in FIG. 4 responds to the video signals sent from the scanning lines (A0 to A8) with RAS in accordance with the grayscale image and the binary image, respectively. An address and a CAS address are designated. That is, in the case of a gray image in which one pixel has 8 bits, the address corresponding to the scanning lines A0 to A8 is directly designated as the RAS address.
As shown in FIG. 5, memory cells 6A to 6D to SAM1
The image data once stored in 0A and 10B is SAM1.
4 [bits] each are read out from 0A and 10B, 512 columns of 8 [bits] pixel data are addressed and read out, and are sent as one line of image data every time the RAS address is incremented. It

【0018】また図6に示すように、2値画像の場合は
メモリセル6A〜6DからSAM10A〜10Dに一旦
格納された画像データが4〔bits〕ずつ16カラム分読み
出される。すなわちCASアドレスのCA5〜CA8に
対して走査線アドレスA0〜A3を指定することによ
り、メモリセル6A〜6Dの1カラムに対して16〔bit
s〕の画素データがアドレス指定される。これからCA
Sアドレス32カラムで512〔bits〕の画像データ1ライ
ンを形成し、この画像データの16ライン分が、RASア
ドレスがインクリメントされる毎に指定される。この結
果、アドレス生成回路20で指定するCASアドレスは
濃淡画像の場合は常に0であるが、2値画像の場合は多
重にアクセスされる。
Further, as shown in FIG. 6, in the case of a binary image, the image data once stored in the memory cells 6A to 6D in the SAMs 10A to 10D are read out by 4 [bits] for 16 columns. That is, by designating the scanning line addresses A0 to A3 for the CAS addresses CA5 to CA8, 16 [bits are set for one column of the memory cells 6A to 6D.
s] pixel data is addressed. CA from now on
One line of 512 [bits] image data is formed by 32 columns of S addresses, and 16 lines of this image data are designated every time the RAS address is incremented. As a result, the CAS address designated by the address generation circuit 20 is always 0 in the case of a grayscale image, but is accessed in multiples in the case of a binary image.

【0019】ビデオ信号のRASは8ビツトバイナリカ
ウンタ21で水平同期信号Hsyncによつて走査線と同期
される。すなわち画像データのアドレス指定は、データ
移動(LOAD)条件の設定されたLOAD信号Sl
同期してカウンタにセツトされる初期値8ビツトによつ
て開始される。2値画像のビデオ信号に対しては、デー
タ移動保持(HOLD)条件として、走査線アドレスA
1、A2、A3、A4の内どれか1つが1であるときデ
ータ移動を保持することを設定したHOLD信号Sh
よつてカウンタを止めデータ移動を保持する。
The RAS of the video signal is synchronized with the scanning line by the 8-bit binary counter 21 by the horizontal synchronizing signal H sync . That is, the addressing of the image data is started by an initial value of 8 bits which is set in the counter in synchronization with the LOAD signal S 1 for which the data movement (LOAD) condition is set. For a video signal of a binary image, a scan line address A is set as a data movement holding (HOLD) condition.
1, A2, A3, one among any of A4 holds data detent the Yotsute counter HOLD signal S h is set to hold the data movement time is 1.

【0020】8ビツトバイナリカウンタ21によつて同
期された8ビツトビデオ信号のRASにはインターレー
ス走査の偶数又は奇数フイールドを設定するRA0を加
えた9〔bits〕のアドレスが指定される。RASとCA
Sはアドレスセレクタ22で、RAS/CAS切替え信
号S1によつて切替えられ、メモリセル6A〜6DのR
ASアドレスとCASアドレスとが指定される。
The RAS of the 8-bit video signal synchronized by the 8-bit binary counter 21 is designated by an address of 9 [bits] including RA0 for setting an even or odd field of interlaced scanning. RAS and CA
S is an address selector 22, which is switched by a RAS / CAS switching signal S1 and is set to R of the memory cells 6A to 6D.
An AS address and a CAS address are designated.

【0021】フレームバツフア3に記憶された濃淡画像
と2値画像とを出力する場合、画像データは図7に示す
出力切替え回路30によつて切替えられてデイスプレイ
5に出力される。フレームバツフア3の画像データはシ
リアル入出力バツフア17より送出されるとトランシー
バ31を介して、濃淡画像と2値画像とで8ビツトバス
ラインを切替えて送出される。濃淡画像の場合はバスラ
イン32を経てデイジタルアナログ変換回路4を介して
デイスプレイ5に出力され、2値画素の場合はバスライ
ン33A及び33Bを介してシフトレジスタ34A及び
34Bに送出された後、デイジタルアナログ変換回路4
を介してデイスプレイ5に出力される。
When the grayscale image and the binary image stored in the frame buffer 3 are output, the image data is switched by the output switching circuit 30 shown in FIG. 7 and output to the display 5. When the image data of the frame buffer 3 is transmitted from the serial input / output buffer 17, the 8-bit bus line is switched between the grayscale image and the binary image via the transceiver 31 and transmitted. In the case of a grayscale image, it is output to the display 5 via the digital analog conversion circuit 4 via the bus line 32, and in the case of a binary pixel, it is sent to the shift registers 34A and 34B via the bus lines 33A and 33B and then to the digital. Analog conversion circuit 4
Is output to the display 5 via.

【0022】このトランシーバ31はDIR(directio
n) 端子35に入力されるメモリセル6A〜6Dに対す
るリード/ライト信号S2によつて、メモリセル6A〜
6Dに対する書き込みと読み出しの操作とを切替える。
またゲート端子36には濃淡画像領域7Aと7Bとの選
択信号S3と濃淡画像領域7A及び7Bと2値画像領域
8との選択信号S4がNOT回路37及びNAND回路
38を介して送出される。この出力結果に基づいた画像
表示切替え信号S5によつて画像表示のメモリ領域が選
択される。
The transceiver 31 has a DIR (directio)
n) According to the read / write signal S2 for the memory cells 6A to 6D input to the terminal 35, the memory cells 6A to 6D
The writing and reading operations for 6D are switched.
Further, a selection signal S3 for the grayscale image regions 7A and 7B and a selection signal S4 for the grayscale image regions 7A and 7B and the binary image region 8 are sent to the gate terminal 36 via the NOT circuit 37 and the NAND circuit 38. The image display switching signal S5 based on the output result selects the image display memory area.

【0023】2値画像を出力する場合には、濃淡と2値
の選択信号S5がハイレベルHとなり、AND回路39
を介してドツトクロツクCLKをシフトレジスタ34A
及び34Bのクロツク(CLK)端子40A及び40B
に送出する。さらにドツトクロツクCLKの16パルスに
対して1回出力されるパルスPLSをカウンタ41より
LOAD端子42A及び42Bに送出する。さらにデー
タ表示期間として、水平同期信号HsyncをAND回路4
3を介してCLR端子44A及び44Bに送出する。
When outputting a binary image, the grayscale and binary selection signal S5 becomes high level H, and the AND circuit 39
Dot clock CLK via shift register 34A
And 34B clock (CLK) terminals 40A and 40B
Send to. Further, a pulse PLS which is output once for 16 pulses of the dot clock CLK is sent from the counter 41 to the LOAD terminals 42A and 42B. Further, in the data display period, the horizontal synchronizing signal H sync is applied to the AND circuit 4
3 to CLR terminals 44A and 44B.

【0024】シフトレジスタ34A及び34Bはシフト
レジスタ34AのSO(serial out) 端子45Aとシフ
トレジスタ34BのSI(serial in)端子46Bとで接
続され、シフトレジスタ34BのSO端子45Bから2
値画像データを1〔bit 〕ずつデイジタルアナログ変換
器4に送出する。シフトレジスタ34AのSI端子46
Aはグランドに接地される。
The shift registers 34A and 34B are connected by the SO (serial out) terminal 45A of the shift register 34A and the SI (serial in) terminal 46B of the shift register 34B, and are connected to the SO terminal 45B of the shift register 34B from the SO terminal 45B.
The value image data is sent to the digital analog converter 4 by 1 [bit] at a time. SI terminal 46 of shift register 34A
A is grounded to ground.

【0025】以上の構成において、メモリセル6A〜6
Dに格納する画像データのRASアドレスとCASアド
レスはアドレス生成回路20によつて指定される。ここ
で濃淡画像データをメモリセル6A〜6Dにアドレス指
定する場合、濃淡画像データの格納アドレスはRASア
ドレス(RA1、RA2、RA3、RA4、RA5、R
A6、RA7、RA8)の初期値として(0、0、0、
0、0、0、0、0)が指定される。次に8ビツトバイ
ナリカウンタ21によつて8〔bits〕の画素データがカ
ウントされ、水平同期信号Hsyncと同期した1ライン51
2 ビツトの画像データのRASアドレスが各走査線A0
〜A8のアドレスに対応して濃淡画像領域7A又は7B
に指定される。このとき各ラインは常にCASアドレス
0から開始される。
In the above structure, the memory cells 6A to 6A
The RAS address and the CAS address of the image data stored in D are designated by the address generation circuit 20. Here, when the grayscale image data is addressed to the memory cells 6A to 6D, the storage addresses of the grayscale image data are RAS addresses (RA1, RA2, RA3, RA4, RA5, R).
(A6, RA7, RA8) as the initial value (0, 0, 0,
0, 0, 0, 0, 0) is designated. Next, 8 [bits] pixel data is counted by the 8-bit binary counter 21, and one line 51 synchronized with the horizontal synchronizing signal H sync
2 The RAS address of the image data of each bit is the scan line A0.
~ Grayscale image area 7A or 7B corresponding to address A8
Specified in. At this time, each line always starts from the CAS address 0.

【0026】また2値画像データをメモリセル6A〜6
Dにアドレス指定する場合は、RASアドレス(RA
1、RA2、RA3、RA4、RA5、RA6、RA
7、RA8)の初期値として(0、0、0、0、1、
1、1、1)が指定される。これにより2値画像アドレ
ス指定のHOLD条件が解除され、2値画像領域8に対
して画像データがアドレス指定される。すなわち濃淡画
像領域の終了するRASアドレスの次から2値画像領域
のRASアドレスが指定される。このときCASアドレ
ス(CA1、CA2、CA3、CA4、CA5、CA
6、CA7、CA8)は(0、0、0、0、A0、A
1、A2、A3)のように設定される。
Further, the binary image data is transferred to the memory cells 6A to 6A.
When addressing D, the RAS address (RA
1, RA2, RA3, RA4, RA5, RA6, RA
(7, RA8) as the initial value (0, 0, 0, 0, 1,
1, 1, 1) is designated. As a result, the HOLD condition for binary image addressing is released, and the image data is addressed to the binary image area 8. That is, the RAS address of the binary image area is designated next to the RAS address at which the grayscale image area ends. At this time, the CAS address (CA1, CA2, CA3, CA4, CA5, CA
6, CA7, CA8) is (0, 0, 0, 0, A0, A
1, A2, A3).

【0027】ここでCASアドレスは、16ビツト毎にカ
ウントされるRA4により、画素データが16ビツト書き
込まれる毎に1ずつシフトされる。さらにCASアドレ
スに設定される走査線アドレスA0〜A3により、1カ
ラム16ビツトの画素データが32カラム分カウントされ、
RASアドレス毎に1ライン512 〔bits〕の2値画像の
画素データ16ライン分が2値画像領域8に対してアドレ
ス指定される。
Here, the CAS address is shifted by 1 every time 16 bits of pixel data are written by RA4 counted every 16 bits. Further, the scanning line addresses A0 to A3 set to the CAS address count the pixel data of 16 bits per column for 32 columns.
16 lines of pixel data of a binary image of 512 [bits] per line are addressed to the binary image area 8 for each RAS address.

【0028】このように1つのメモリセル6A〜6D内
において、濃淡画像領域7A及び7Bと共に2値画像領
域8を生成することができる。この際、RASアドレス
を生成するときのカウンタのLOAD信号Sl 、LOA
D信号Sl に同期してカウンタにセツトされる初期値8
ビツト及びカウンタを保持させるためのHOLD信号S
h を濃淡画像用と2値画像用に分け、水平同期信号H
syncをクロツクとする8ビツトのバイナリカウンタ21
を用いてアドレス生成することにより、回路の多くの部
分を共通化することができる。さらにCASアドレスに
ついても図4に示すように濃淡画像用と2値画像用に分
けてデユアルポートDRAMに入力することによつて、
RASアドレス生成の場合と同様に回路の共通化ができ
る。
Thus, in one memory cell 6A to 6D, the binary image area 8 can be generated together with the grayscale image areas 7A and 7B. At this time, when the RAS address is generated, the LOAD signals S 1 and LOAD of the counter
Initial value 8 set in the counter in synchronization with D signal S l
HOLD signal S for holding the bit and counter
h is divided into a grayscale image and a binary image, and the horizontal synchronization signal H
8-bit binary counter 21 with sync as clock
By generating an address using, it is possible to share many parts of the circuit. Further, as for the CAS address, as shown in FIG. 4, by inputting to the dual port DRAM separately for the grayscale image and the binary image,
Similar to the case of RAS address generation, the circuit can be shared.

【0029】このようにしてホストプロセツサ2の制御
でメモリセル6A〜6Dに記憶された濃淡画像及び2値
画像の画像データが読み出される。すなわち図7におい
て、先ずハイレベルHのリード/ライト信号S2がトラ
ンシーバ31のDIR端子35に入力されると、画像デ
ータの読み出しが選択される。ここで濃淡画像領域7A
の画像データを読み出す場合には、ローレベルLの濃淡
画像領域の選択信号S3とローレベルLの濃淡と2値画
像の選択信号S4により、ハイレベルHの画像切替え信
号S5がゲート端子36に送出される。この結果、濃淡
画像領域7Aの画像データがバスライン32によりドツ
トクロツクCLKに同期してデイジタルアナログ変換回
路4に送出され、濃淡画像としてデイスプレイ5上に画
像表示される。
In this way, the image data of the grayscale image and the binary image stored in the memory cells 6A to 6D is read out by the control of the host processor 2. That is, in FIG. 7, when the read / write signal S2 of high level H is first input to the DIR terminal 35 of the transceiver 31, the reading of image data is selected. Here, the grayscale image area 7A
When reading out the image data of, the image switching signal S5 of the high level H is sent to the gate terminal 36 by the selection signal S3 of the gray level image region of the low level L and the selection signal S4 of the gray level of the low level L and the binary image. To be done. As a result, the image data of the grayscale image area 7A is sent to the digital analog conversion circuit 4 by the bus line 32 in synchronization with the dot clock CLK, and displayed as a grayscale image on the display 5.

【0030】次に濃淡画像領域7Bの画像データを読み
出す場合には、ハイレベルHの濃淡画像領域の選択信号
S3とローレベルLの濃淡と2値画像の選択信号S4に
より、ローレベルLの画像切替え信号S5がゲート端子
36に送出される。この結果、濃淡画像領域7Bの画像
データがバスライン32によりデイジタルアナログ変換
回路4に送出され、濃淡画像としてデイスプレイ5に画
像表示される。
Next, when the image data of the grayscale image area 7B is read out, the low level L image is selected by the high level H grayscale image area selection signal S3 and the low level L grayscale and binary image selection signal S4. The switching signal S5 is sent to the gate terminal 36. As a result, the image data of the grayscale image area 7B is sent to the digital analog conversion circuit 4 via the bus line 32, and is displayed on the display 5 as a grayscale image.

【0031】また2値画像の画像データを読み出す場合
には、ハイレベルHの濃淡画像領域の選択信号S3とハ
イレベルHの濃淡と2値画像の選択信号S4により、ハ
イレベルHの画像切替え信号S5がゲート端子36に送
出される。このとき同時に選択信号S4がAND回路3
9及びAND回路43に入力され、それぞれドツトクロ
ツクCLKと水平同期信号Hsyncとの間で論理積がとら
れる。
When the image data of the binary image is read out, the high-level H image switching signal is selected by the high-level H grayscale image area selection signal S3 and the high-level H grayscale and binary image selection signal S4. S5 is sent to the gate terminal 36. At this time, the selection signal S4 is simultaneously changed to the AND circuit 3
9 and the AND circuit 43, and a logical product is obtained between the dot clock CLK and the horizontal synchronizing signal H sync .

【0032】この結果、AND回路39からの出力はク
ロツクCLK信号としてクロツク端子40A及び40B
に送出される。またAND回路43からの出力は水平同
期信号Hsyncからなるデータ表示期間を設定する信号と
して、反転入力のクリア端子44A及び44Bに送出さ
れる。またこのときドツトクロツクCLKの16パルスに
対して1パルスの出力がカウンタ41より反転入力のL
OAD端子42A及び42Bに送出される。
As a result, the output from the AND circuit 39 is the clock terminals 40A and 40B as the clock CLK signal.
Sent to The output from the AND circuit 43 is sent to the inverting input clear terminals 44A and 44B as a signal for setting the data display period consisting of the horizontal synchronizing signal Hsync . At this time, an output of 1 pulse for 16 pulses of the clock CLK is inverted input from the counter 41 to L level.
It is sent to the OAD terminals 42A and 42B.

【0033】これによりシリアルメモリ10A〜10D
から1回のデータアクセス毎に16〔bits〕分のデータが
バスライン33A及び33Bを介してシフトレジスタ3
4A及び34Bに送出される。シフトレジスタ34A及
び34Bは一旦この16〔bits〕分のデータを記憶した
後、2値画像の画像データとしてパラレルシリアル変換
して、1〔bit 〕ずつ画像データを順次デイジタルアナ
ログ変換器4に送出する。
As a result, the serial memories 10A to 10D
16 [bits] worth of data for each data access from the shift register 3 via the bus lines 33A and 33B.
4A and 34B. The shift registers 34A and 34B temporarily store this 16 [bits] worth of data, then perform parallel-to-serial conversion as image data of a binary image, and sequentially send the image data 1 [bit] at a time to the digital-analog converter 4. .

【0034】以上の構成によれば、1〔Mbits〕のデユ
アルポートDRAMのメモリセル6A〜6Dを512 ×48
0 ×8〔bits〕の濃淡画像領域7A及び7Bの2面分と
512×512 ×1〔bit 〕の2値画像領域8の1面分とに
領域分割して1つの画像メモリに濃淡画像と2値画像と
を混在して記憶することにより、1つの画像メモリによ
つて、濃淡画像と2値画像とを切替えて画像出力できる
ようになると共に、4〔Mbits〕DRAMの記憶領域を
無駄なく効率よく使用することができる。
According to the above structure, the memory cells 6A to 6D of the dual port DRAM of 1 [Mbits] are 512 × 48.
0 × 8 [bits] gray image areas 7A and 7B
By dividing the area into one area of the binary image area 8 of 512 × 512 × 1 [bit] and storing the grayscale image and the binary image in a mixed manner in one image memory, the image is stored in one image memory. Therefore, the grayscale image and the binary image can be switched for image output, and the storage area of the 4 [Mbits] DRAM can be efficiently used without waste.

【0035】なお上述の実施例においては、画像メモリ
に記憶するビデオ信号としてモノクロビデオ信号を対象
とした場合について述べたが、本発明はこれに限らず、
カラービデオ信号を記憶するようにしても良い。さらに
上述の実施例においては、コンポジツトビデオ信号を用
いた画像処理装置で濃淡画像と2値画像を切替えて表示
する場合について述べたが、本発明はこれに限らず、広
く一般のグラフイツク端末に対して用いることができ
る。例えばUNIXコンピユータの端末として最近利用
されているX端末に用いれば、濃淡又はカラー画面のほ
かに、これらと独立した2値のビツトマツプ画面を構築
することができる。
In the above embodiment, the case where a monochrome video signal is used as the video signal stored in the image memory has been described, but the present invention is not limited to this.
Color video signals may be stored. Further, in the above-mentioned embodiment, the case where the grayscale image and the binary image are switched and displayed by the image processing apparatus using the composite video signal has been described, but the present invention is not limited to this, and is widely applied to general graphic terminals. It can be used for. For example, when it is used for an X terminal which is recently used as a UNIX computer terminal, it is possible to construct a binary bit map screen independent of the gray screen or the color screen.

【0036】また上述の実施例においては、フレームバ
ツフアとしてデユアルポートDRAMを用いた場合につ
いて述べたが、本発明はこれに限らず、トリプルポート
等のマルチポートメモリを用いても良い。
In the above embodiment, the case where the dual port DRAM is used as the frame buffer has been described, but the present invention is not limited to this, and a multi port memory such as a triple port may be used.

【0037】[0037]

【発明の効果】上述のように本発明によれば、1つの画
像メモリに多値画像及び又は2値画像のデイジタル画像
データを混在して記憶させることにより多値画像又は2
値画像を切替えて画像表示することができると共に、画
像メモリの記憶容量を効率良く使用することができる画
像処理装置を実現することができる。
As described above, according to the present invention, by storing digital image data of a multivalued image and / or a binary image mixedly in one image memory, the multivalued image or the binary image data can be stored.
It is possible to realize an image processing apparatus capable of switching the value images and displaying the images and efficiently using the storage capacity of the image memory.

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

【図1】本発明の一実施例による画像処理装置を示すブ
ロツク図である。
FIG. 1 is a block diagram showing an image processing apparatus according to an embodiment of the present invention.

【図2】フレームバツフアのメモリ構成を示す略線図で
ある。
FIG. 2 is a schematic diagram showing a memory configuration of a frame buffer.

【図3】デユアルポートフレームバツフアの構成を示す
ブロツク図である。
FIG. 3 is a block diagram showing a configuration of a dual port frame buffer.

【図4】アドレス生成回路によるアドレス指定を示すブ
ロツク図である。
FIG. 4 is a block diagram showing address designation by an address generation circuit.

【図5】濃淡画像表示のレジスタによる処理を示すブロ
ツク図である。
FIG. 5 is a block diagram showing processing by a register for displaying a grayscale image.

【図6】2値画像表示のレジスタによる処理を示すブロ
ツク図である。
FIG. 6 is a block diagram showing processing by a register for displaying a binary image.

【図7】データ出力切替回路を示すブロツク図である。FIG. 7 is a block diagram showing a data output switching circuit.

【図8】濃淡画像と2値画像のルツクアツプテーブルの
内容を示すグラフである。
FIG. 8 is a graph showing the contents of a lookup table for a grayscale image and a binary image.

【符号の説明】 1……画像処理装置、2……ホストプロセツサ、3……
フレームバツフア、4デイジタルアナログ変換器、5…
…デイスプレイ、6A、6B、6C、6D……メモリセ
ル、7A、7B……濃淡画像領域、8……2値画像領
域、10A、10B、10C、10D……SAM、11
……トランスフアゲート、12……アドレス入力バツフ
ア、13……ロウデコーダ、14……カラムデコーダ、
15……アドレスカウンタ、16……シリアルデータセ
レクタ、17……シリアル入出力バツフア、20……ア
ドレス生成回路、21……8ビツトバイナリカウンタ、
22……アドレスセレクタ、30……データ出力切換回
路、31……トランシーバ、32、33A、33B……
バスライン、34A、34B……シフトレジスタ、35
……DIR端子、36……ゲート端子、37……NOT
回路、38……NAND回路、39、43……AND回
路、40A、40B……クロツク端子、41……カウン
タ、42A、42B……LOAD端子、44A、44B
……CLR端子、45A、45B……SO端子、46
A、46B……SI端子。
[Explanation of Codes] 1 ... Image processing device, 2 ... Host processor, 3 ...
Frame buffer, 4 digital analog converter, 5 ...
Display, 6A, 6B, 6C, 6D ... Memory cell, 7A, 7B ... Gray image area, 8 ... Binary image area, 10A, 10B, 10C, 10D ... SAM, 11
...... Transfer gate, 12 ...... Address input buffer, 13 ...... Row decoder, 14 ...... Column decoder,
15 ... Address counter, 16 ... Serial data selector, 17 ... Serial input / output buffer, 20 ... Address generation circuit, 21 ... 8 bit binary counter,
22 ... Address selector, 30 ... Data output switching circuit, 31 ... Transceiver, 32, 33A, 33B ...
Bus line, 34A, 34B ... Shift register, 35
...... DIR terminal, 36 ... Gate terminal, 37 ... NOT
Circuit, 38 ... NAND circuit, 39, 43 ... AND circuit, 40A, 40B ... clock terminal, 41 ... counter, 42A, 42B ... LOAD terminal, 44A, 44B
... CLR terminal, 45A, 45B ... SO terminal, 46
A, 46B ... SI terminal.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G06F 15/64 450 G ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI technical display location G06F 15/64 450 G

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】多値画像及び又は2値画像のデイジタル画
像データを記憶し、上記デイジタル画像データを画像処
理して上記多値画像又は上記2値画像とを切替えて画像
表示手段により画像表示する画像処理装置において、 上記デイジタル画像データを記憶する画像メモリと上記
デイジタル画像データに対する入出力バツフアメモリと
を有する画像メモリ手段と、 上記デイジタル画像データに対して行アドレスと列アド
レスを指定することにより、上記多値画像及び又は上記
2値画像の記憶アドレスを生成するアドレス生成手段
と、 上記画像メモリ手段から上記デイジタル画像データを上
記多値画像又は上記2値画像とで切替えて読み出す出力
画像切替手段とを具えることを特徴とする画像処理装
置。
1. Digital image data of a multivalued image and / or a binary image is stored, the digital image data is subjected to image processing, and the multivalued image or the binary image is switched to display an image by an image display means. In the image processing apparatus, an image memory means having an image memory for storing the digital image data and an input / output buffer memory for the digital image data; and a row address and a column address for the digital image data are designated to obtain Address generating means for generating a storage address of the multi-valued image and / or the binary image, and output image switching means for switching the digital image data from the image memory means by the multi-valued image or the binary image and reading the digital image data. An image processing device comprising:
【請求項2】上記画像メモリは1個の記憶容量が1〔M
bits〕の第1、第2、第3及び第4のDRAMで形成さ
れ、上記アドレス生成回路によつて、上記行アドレスを
上記画像表示手段の走査線 480〔bits〕に対応させ、か
つ上記列アドレスを上記画像表示手段の横方向 512〔bi
ts〕に対応させ、上記第1及び上記第2のDRAMと上
記第3及び上記第4のDRAMに対してそれぞれ単位デ
イジタル画像データが8ビツトの濃度値をもつ上記多値
画像の2画面分の記憶アドレスを指定し、かつ上記多値
画像の上記記憶アドレスの次行を開始行アドレスとして
上記行アドレス毎に16走査線分の上記2値画像の上記デ
イジタル画像データの記憶アドレスを上記第1、第2、
第3及び第4のDRAMの32行アドレス×512 列アドレ
スに指定することを特徴とする請求項1に記載の画像処
理装置。
2. The image memory has a storage capacity of 1 [M
bits] of the first, second, third, and fourth DRAMs, and the address generation circuit causes the row address to correspond to the scanning line 480 [bits] of the image display means and the column. The address is set to 512 [bi
ts], the unit digital image data for the first and second DRAMs and the third and fourth DRAMs have a density value of 8 bits for two screens of the multi-valued image. A storage address is designated, and the storage address of the digital image data of the binary image of 16 scanning lines is set for each row address using the next row of the storage address of the multi-valued image as a start row address. Second,
2. The image processing apparatus according to claim 1, wherein the address is specified as a 32 row address.times.512 column address of the third and fourth DRAMs.
JP6197217A 1994-07-29 1994-07-29 Image processor Pending JPH0844617A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6197217A JPH0844617A (en) 1994-07-29 1994-07-29 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6197217A JPH0844617A (en) 1994-07-29 1994-07-29 Image processor

Publications (1)

Publication Number Publication Date
JPH0844617A true JPH0844617A (en) 1996-02-16

Family

ID=16370787

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6197217A Pending JPH0844617A (en) 1994-07-29 1994-07-29 Image processor

Country Status (1)

Country Link
JP (1) JPH0844617A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100779636B1 (en) * 2005-08-17 2007-11-26 윈본드 일렉트로닉스 코포레이션 Buffer memory system and method
KR100801317B1 (en) * 2006-08-16 2008-02-05 엠텍비젼 주식회사 Variable buffer system for processing 3d graphics and method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100779636B1 (en) * 2005-08-17 2007-11-26 윈본드 일렉트로닉스 코포레이션 Buffer memory system and method
KR100801317B1 (en) * 2006-08-16 2008-02-05 엠텍비젼 주식회사 Variable buffer system for processing 3d graphics and method thereof

Similar Documents

Publication Publication Date Title
US4168488A (en) Image rotation apparatus
US5129059A (en) Graphics processor with staggered memory timing
US5587726A (en) Method and apparatus for increasing the speed of operation of a double buffered display system
US6496192B1 (en) Modular architecture for image transposition memory using synchronous DRAM
US5163024A (en) Video display system using memory with parallel and serial access employing serial shift registers selected by column address
US5218274A (en) Flat panel display controller using dual-port memory
US4783652A (en) Raster display controller with variable spatial resolution and pixel data depth
EP0398510B1 (en) Video random access memory
US5268682A (en) Resolution independent raster display system
US6753872B2 (en) Rendering processing apparatus requiring less storage capacity for memory and method therefor
JPH05508481A (en) Multi-buffer computer display controller device
JPH0636311B2 (en) Dual port VRAM memory
GB2202978A (en) Video apparatus employing vrams
US4675842A (en) Apparatus for the display and storage of television picture information by using a memory accessible from a computer
JP3489228B2 (en) Image storage device
JPH0844617A (en) Image processor
JPH06167958A (en) Memory device
JP3018329B2 (en) Display system and liquid crystal display
US5519413A (en) Method and apparatus for concurrently scanning and filling a memory
US5097256A (en) Method of generating a cursor
JP3550510B2 (en) Dynamic random access memory device, data transfer system and data writing method
JPH08211849A (en) Display control device
JP3002951B2 (en) Image data storage controller
EP0283579A2 (en) Raster scan display system with random access memory character generator
US5812829A (en) Image display control system and memory control capable of freely forming display images in various desired display modes