JPH1027130A - Picture processor and its processing method - Google Patents

Picture processor and its processing method

Info

Publication number
JPH1027130A
JPH1027130A JP8183791A JP18379196A JPH1027130A JP H1027130 A JPH1027130 A JP H1027130A JP 8183791 A JP8183791 A JP 8183791A JP 18379196 A JP18379196 A JP 18379196A JP H1027130 A JPH1027130 A JP H1027130A
Authority
JP
Japan
Prior art keywords
drawing data
data
pixels
pixel
color element
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
JP8183791A
Other languages
Japanese (ja)
Other versions
JP3596644B2 (en
Inventor
Takashi Sakamoto
貴 坂本
Kazuhito Konno
和仁 今野
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP18379196A priority Critical patent/JP3596644B2/en
Publication of JPH1027130A publication Critical patent/JPH1027130A/en
Application granted granted Critical
Publication of JP3596644B2 publication Critical patent/JP3596644B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To quickly obtain face sequential type data from dot sequential type data by simple constitution. SOLUTION: Sixteen dot sequential type data in which pixels have continuous positional relation are stored in the same addresses of respective DRAMs 800 to 815 constituting a fame memory. Four dot sequential type data having continuous positional relation of pixels are read out by one access specified by a column address strobe(CAS) signal. Then the four dot sequential data are respectively separated into data indicating respective fundamental colors and data indicating respective elements are arrayed in each fundamental color in the order of pixels to obtain the face sequential type data of each fundamental color.

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 suitable for outputting, for example, plane-sequential drawing data to an output device of a full-color printing apparatus. The present invention relates to an image processing apparatus that stores the image data once, converts the image data into a frame sequential format, and outputs the image data.

【0002】[0002]

【従来の技術】一般的に、カラー画像は、複数のピクセ
ルから構成される。このピクセルは、さらに、そのピク
セルの各基本色を示す多値データから構成される。例え
ば、1ピクセルがY(イエロー)、M(マゼンダ)、C
(シアン)、K(ブラック)の4つの基本色で表され、
かつ、1つの基本色が8ビットで示される場合、1つの
ピクセルを示すデータは、基本色を示す8ビットデータ
が4色分必要となるため、32ビットで示されることに
なる。したがって、複数のピクセルから構成されるカラ
ー画像をデータとして記憶する場合、そのカラー画像を
構成する各ピクセル毎に、基本色を示す多値データが基
本色分存在することになる。
2. Description of the Related Art Generally, a color image is composed of a plurality of pixels. The pixel further includes multi-value data indicating each basic color of the pixel. For example, one pixel is Y (yellow), M (magenta), C
(Cyan) and K (Black)
In addition, when one basic color is represented by 8 bits, data representing one pixel is represented by 32 bits because four 8-bit data representing the basic color are required. Therefore, when a color image composed of a plurality of pixels is stored as data, multivalued data indicating the basic color exists for each pixel constituting the color image for the basic color.

【0003】このようなカラー画像をデータとして記憶
する方式としては、点順次型と面順次型との2つの方式
が代表的なものとして挙げられる。点順次型とは、1ピ
クセルについての色データを1つの単位としてパッキン
グして記憶する方式であり、また、面順次型は基本色単
位にメモリ上に色プレーンを構成して、各描画データを
基本色を単位として記憶する方式である。点順次型およ
び面順次型の一般的なメモリ構成を、それぞれ図15
(a)および(b)に示す。ここで、描画ピクセルをP
0、P1、P2、……とした場合、点順次型では、ピク
セルP0について、それぞれ基本色Y、M、C、Kを示
すデータP0(Y)、P0(M)、P0(C)、P0
(K)、ピクセルP1についてデータP1(Y)、P1
(M)、P1(C)、P1(K)といったように、1つ
の描画点についてY、M、C、Kの基本色を表わすデー
タが順次記憶される。一方、面順次型では基本色毎にプ
レーンが設けられ、YプレーンについてデータP0
(Y)、P1(Y)、P2(Y)……、Mプレーンにつ
いてデータP0(M)、P1(M)、P2(M)……、
CプレーンについてデータP0(C)、P1(C)、P
2(C)……、KプレーンについてデータP0(K)、
P1(K)、P2(K)……といったように、Y、M、
C、Kの基本色を表わすプレーンに、当該基本色のデー
タが順次記憶される。
As a method of storing such a color image as data, there are two typical methods, a dot-sequential type and a plane-sequential type. The dot-sequential type is a method in which color data for one pixel is packed and stored as one unit, and the plane-sequential type forms a color plane on a memory in a basic color unit and stores each drawing data. This is a method of storing basic colors as a unit. The general memory configurations of the dot sequential type and the plane sequential type are shown in FIG.
(A) and (b). Here, the drawing pixel is P
.., 0, P1, P2,..., In the dot sequential type, data P0 (Y), P0 (M), P0 (C), P0 indicating the basic colors Y, M, C, K for the pixel P0, respectively.
(K), data P1 (Y), P1 for pixel P1
Data representing the basic colors of Y, M, C, and K are sequentially stored for one drawing point, such as (M), P1 (C), and P1 (K). On the other hand, in the plane sequential type, a plane is provided for each basic color, and the data P0 for the Y plane is provided.
(Y), P1 (Y), P2 (Y)..., Data P0 (M), P1 (M), P2 (M).
Data P0 (C), P1 (C), P for C plane
2 (C)..., Data P0 (K) for the K plane,
Y, M, P1 (K), P2 (K) ...
The data of the basic colors is sequentially stored in the planes representing the basic colors C and K.

【0004】ここで、描画データをメモリに描画(書
込、記憶)する場合、点順次型、面順次型のどちらが効
率的であるかを考察する。例として、図16に示すよう
に、4つのピクセルからなる直線を描画する場合につい
て考えてみる。なお、描画データは、一般的にCPU等
のプロセッサによりピクセル単位で処理され、アクセス
は点順次型でも面順次型でも32ビット幅の汎用データ
バスを介して行なわれるものとする。また、メモリに1
回アクセスするのには、図17で示されるようなサイク
ルが必要であるとする。まず、点順次型によって描画デ
ータをメモリに記憶するには、図18(a)に示すよう
に、直線を構成する4つのピクセルに対応して書き込む
ため、4サイクルが必要となる。これに対し、面順次型
によって描画データをメモリに記憶するには、図18
(b)に示すように、4つプレーンについて、それぞれ
4つのピクセルに対応して書き込む関係上、点順次型と
比べ、4倍のサイクル数が必要になる。すなわち、1サ
イクルがA[ns]であるとすると、点順次型では4A
[ns]なのに対して、面順次型では16A[ns]で
ある。したがって、ピクセル単位で処理された描画デー
タをメモリ上に記憶させるには、点順次型で記憶させる
方式が効率的であり、面順次型で記憶させる方式は非効
率的あるといえる。
Here, when drawing (writing, storing) drawing data in a memory, it is considered which of a dot sequential type and a plane sequential type is more efficient. As an example, consider a case where a straight line composed of four pixels is drawn as shown in FIG. Note that drawing data is generally processed in units of pixels by a processor such as a CPU, and access is performed via a general-purpose data bus having a 32-bit width regardless of whether it is a dot sequential type or a plane sequential type. Also, 1 in the memory
Assume that a cycle such as that shown in FIG. First, in order to store the drawing data in the memory by the dot-sequential type, as shown in FIG. 18A, writing is performed in correspondence with four pixels forming a straight line, so that four cycles are required. On the other hand, in order to store the drawing data in the memory by the frame sequential type, it is necessary to use FIG.
As shown in (b), the number of cycles is four times as large as that of the dot sequential type because of writing for four pixels for each of the four planes. That is, assuming that one cycle is A [ns], 4 A in the dot sequential type
[Ns] is 16 A [ns] in the field sequential type. Therefore, in order to store the drawing data processed in units of pixels on the memory, it is efficient to store the data in a dot-sequential manner, and inefficient to store the data in a plane-sequential manner.

【0005】次に、メモリに記憶された描画データを出
力する場合について考察する。描画データを出力する場
合は種々あるが、ここでは、カラー印刷装置に出力する
場合を考えてみる。近年のカラー印刷装置においては、
描画データを面順次型で処理するタイプがほんとんどで
ある。なぜなら、カラー画像の形成を、基本色を単位と
する処理ため、描画データも必然的に面順次型で扱わな
ばならないからである。最近では、カラー印刷装置の高
速化傾向が進行し、従来では1色毎に実行していた処理
も各色を連続処理(タンデム処理)する必要が生じてき
た。かかる処理に追従するためには、記憶装置に対して
いかに高速にアクセスができるかが重要となっている。
Next, a case where the drawing data stored in the memory is output will be considered. There are various cases in which drawing data is output. Here, a case in which the drawing data is output to a color printing apparatus will be considered. In recent color printing devices,
Almost all types that process drawing data in a frame-sequential type. This is because, since the formation of a color image is performed in units of basic colors, the drawing data must necessarily be treated in a frame sequential manner. Recently, the speed of color printing apparatuses has been increasing, and it has become necessary to perform continuous processing (tandem processing) for each color in the processing conventionally performed for each color. In order to follow such processing, it is important how fast the storage device can be accessed.

【0006】ここで、描画データがメモリに面順次型で
記憶されていれば、4つのピクセルを1つの単位として
転送できるが、点順次型では、1回のアクセスで1ピク
セル分の色データしか転送できないため、高速に処理す
ることはできない。このため、カラー印刷装置へのデー
タ転送を考えると、描画データを面順次型でメモリに記
憶することが望ましい。しかし、描画データを面順次型
でメモリに記憶することは、上述したように、非効率的
であって、処理速度の低下を招くものである。したがっ
て、記憶・読出という一連の処理を面順次型で行なうの
は、記憶装置たるメモリに高速にアクセスするのに適当
でないという問題があった。
[0006] Here, if the drawing data is stored in the memory in a frame sequential type, four pixels can be transferred as one unit, but in the dot sequential type, only one pixel of color data is accessed by one access. Since it cannot be transferred, it cannot be processed at high speed. For this reason, considering data transfer to a color printing apparatus, it is desirable to store drawing data in a memory in a frame sequential manner. However, storing drawing data in a memory in a frame sequential manner is inefficient and causes a reduction in processing speed, as described above. Therefore, there has been a problem that performing a series of processing of storage and reading in a frame-sequential manner is not suitable for high-speed access to a memory as a storage device.

【0007】この問題を解決するため、従来より次の技
術が存在していた。すなわち、第1に、点順次型/面順
次型書込と点順次面型/面順次型読出とを相互に可能と
する技術や、第2に、点順次型を面順次型に変換する技
術などがあり、これらの技術を用いて、描画データをメ
モリに点順次型で書き込む一方、出力する際には面順次
型で読み出すことにより、記憶・読出という一連の処理
に要する時間を短縮することが考えられた。このうち、
第1の技術は、さらに、アドレス変換を用いる技術とデ
ータバスを分離する技術とに分けられる。前者のアドレ
ス変換を用いる技術については、例えば、特開昭62−
271184や、特開平1−321573、特開平2−
201641、特開平3−62272号公報など記載の
ものがあり、これらは、点順次型あるいは面順次型でア
クセスする際に、アドレス変換手段を用いて、それぞれ
の独立したアドレス形式でアクセスを行なうものであ
り、アドレスには、どのプレーンを選択してアクセス
(書き込みあるいは読み出し)するか、どのピクセル
(画素)を選択してアクセスするか、といった情報が付
加される。後者のデータバスを分離する技術について
は、例えば、特開平3−55672や、特開平4−25
3094号公報など記載のものがあり、これらは、点順
次型アクセス用のアドレスバスとデータバスとを備え、
さらに面順次型アクセス用のアドレスバスとデータバス
とを備え、アクセスする際には、これらのアドレスバ
ス、データバスを適宜選択する。また、第2の点順次型
を面順次型に変換する技術については、例えば、特開平
5−205038や、特開平7−141144号公報な
ど記載のものがあり、これらは、点順次型で描画された
データをピクセル単位で読み出し、そのデータをシフト
レジスタやハードウエアで構成されたデータ整列器に入
力することによって面順次型データを形成するものであ
る。
[0007] To solve this problem, the following techniques have conventionally existed. That is, first, a technology that enables the dot-sequential / plane-sequential writing and the dot-sequential-plane / plane-sequential reading mutually, and second, a technology that converts the dot-sequential type to the frame-sequential type. By using these technologies, drawing data is written to the memory in a point-sequential manner, and when it is output, it is read out in a plane-sequential manner to reduce the time required for a series of processes of storage and reading. Was thought. this house,
The first technique is further divided into a technique using address translation and a technique for separating a data bus. The former technique using address conversion is disclosed in, for example,
271184, JP-A-1-321573, JP-A-2-321
201641, JP-A-3-62272, etc., which are accessed in a dot-sequential type or a frame-sequential type using address conversion means in an independent address format. In the address, information such as which plane is selected and accessed (write or read) and which pixel (pixel) is selected and accessed are added. The latter technique for separating the data bus is disclosed in, for example, JP-A-3-55672 and JP-A-4-25.
No. 3094, which includes an address bus and a data bus for dot-sequential access,
Further, an address bus and a data bus are provided for field sequential access, and when accessing, these address buses and data buses are appropriately selected. Further, as a technique for converting the second dot-sequential type to the plane-sequential type, there are, for example, those described in JP-A-5-205038 and JP-A-7-141144. The obtained data is read out in pixel units, and the data is input to a data aligner composed of a shift register or hardware to form field sequential data.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、点順次
型/面順次型書込と点順次面型/面順次型読出とを相互
に可能とする第1の技術や、点順次型を面順次型に変換
する第2の技術では、次のような問題があった。まず、
第1の技術においてアドレス変換を用いる技術では、プ
レーンやピクセルを選択するためのデータを付加するた
め、実質的にアドレスバスがより多数必要となるといっ
た欠点がある。さらに、アクセスには本来不必要なアド
レス変換手段も必要となる。また、第1の技術において
データバスを分離する技術では、アドレスバス、データ
バスを選択するための手段が必要となるため、必然的に
回路規模が大きくなるといった欠点がある。さらに、面
順次型で描画データを読み出して出力する場合、1度に
1色の描画データしか読み出すことができないという欠
点もある。一方、点順次型を面順次型に変換する第2の
技術では、面順次型データを形成するのに、数サイクル
を要するので、処理が低速となるばかりでなく、シフト
レジスタや整列器などが必要となるので、回路規模が複
雑化・肥大化するといった欠点もある。
However, the first technique which enables the dot-sequential / plane-sequential writing and the dot-sequential plane / plane-sequential reading mutually, and the dot-sequential type is a field-sequential type The second technique for converting to the following has the following problem. First,
The technique using address translation in the first technique has a drawback that substantially more address buses are required because data for selecting a plane or a pixel is added. Further, the access also requires address conversion means which are not originally required. Further, the technique of separating the data bus in the first technique requires a means for selecting the address bus and the data bus, and thus has a disadvantage that the circuit scale is inevitably increased. Furthermore, when drawing data is read out and output in a frame sequential manner, there is a drawback that only one color of drawing data can be read at a time. On the other hand, in the second technique of converting the dot-sequential type to the field-sequential type, it takes several cycles to form the field-sequential type data. Since it is necessary, there is a disadvantage that the circuit scale becomes complicated and enlarged.

【0009】本発明は、以上のような事情に鑑みてなさ
れたもので、その目的とするところは、描画データを書
き込む際には点順次型で行なう一方、読み出す際には面
順次型で行なって、カラー印刷装置の高速化に寄与する
とともに、その構成を簡易として、回路規模の簡易化・
縮小化を図ることが可能な画像処理装置を提供すること
にある。
SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and it is an object of the present invention to write drawing data in a dot-sequential type while writing data in a line-sequential type. In addition to contributing to the speeding up of color printing devices, the configuration is simplified and the circuit scale is simplified.
An object of the present invention is to provide an image processing apparatus capable of reducing the size.

【0010】[0010]

【課題を解決するための手段】上述した課題を解決する
ため、本願第1の発明にあっては、pおよびqをそれぞ
れ2以上の整数とし、1つのピクセルについて、当該ピ
クセルの色要素を示す多値データを、色要素数のp個、
色要素毎に配列した描画データを処理する画像処理装置
において、ピクセルが連続する位置関係にあるq個の描
画データを、1サイクルで読出可能な状態で記憶する記
憶手段と、前記q個の描画データを前記記憶手段から1
サイクルで読み出す読出手段と、読み出されたq個の描
画データの各々を、それぞれ色要素を示す多値データに
分離した後、1つの色要素について、当該色要素を示す
多値データをピクセル順に配列させる分離配列手段とを
具備することを特徴としている。また、本願第2の発明
にあっては、r、sおよびtをそれぞれ2以上の整数
(ただし、s≧t)とし、1つのピクセルについて、当
該ピクセルの色要素を示す多値データを、色要素数のr
個、色要素毎に配列した描画データを処理する画像処理
装置において、前記描画データを記憶するための記憶手
段と、連続する位置関係にあるs個のピクセルのうち、
t個を選択する選択手段と、選択されたt個のピクセル
に対応する描画データを、前記記憶手段に1サイクルで
書き込む書込手段とを具備することを特徴としている。
さらに、本願第3の発明にあっては、w、x、yおよび
zをそれぞれ2以上の整数(ただし、x≧y、x≧z)
とし、1つのピクセルについて、当該ピクセルの色要素
を示す多値データを、色要素数のw個、色要素毎に配列
した描画データを処理する画像処理装置において、前記
描画データを記憶するための記憶手段と、書込時におい
て、連続する位置関係にあるx個のピクセルのうち、y
個を選択する書込選択手段と、選択されたy個のピクセ
ルに対応する描画データを、前記記憶手段に1サイクル
で書き込む書込手段と、読出時において、x個の描画デ
ータのうち、ピクセルが連続する位置関係にあるz個を
選択する読出選択手段と、選択されたz個の描画データ
を前記記憶手段から1サイクルで読み出す読出手段と、
読み出されたz個の描画データの各々を、それぞれ色要
素を示す多値データに分離した後、1つの色要素につい
て、当該色要素を示す多値データをピクセル順に配列さ
せる分離配列手段とを具備することを特徴としている。
くわえて、本願第4の発明にあっては、pおよびqをそ
れぞれ2以上の整数とし、1つのピクセルについて、当
該ピクセルの色要素を示す多値データを、色要素数のp
個、色要素毎に配列した描画データの画像処理方法にお
いて、ピクセルが連続する位置関係にあるq個の描画デ
ータを、1サイクルで読出可能な状態で記憶する過程
と、記憶した前記q個の描画データを1サイクルで読み
出す過程と、読み出したq個の描画データの各々を、そ
れぞれ色要素を示す多値データに分離した後、1つの色
要素について、当該色要素を示す多値データをピクセル
順に配列する過程とを具備することを特徴としている。
In order to solve the above-mentioned problems, in the first invention of the present application, p and q are each an integer of 2 or more, and for one pixel, a color element of the pixel is indicated. Multi-valued data is represented by p color elements,
In an image processing apparatus for processing drawing data arranged for each color element, a storage means for storing q drawing data in which pixels have a continuous positional relationship in a state readable in one cycle; Data from the storage means
Reading means for reading in a cycle, and separating each of the read q pieces of drawing data into multi-valued data indicating a color element, and then multiplying the multi-valued data indicating the color element for one color element in pixel order. And a separation arrangement means for arrangement. Further, in the second invention of the present application, r, s, and t are each an integer of 2 or more (where s ≧ t), and for one pixel, multi-value data indicating a color element of the pixel is represented by a color. R of the number of elements
In an image processing apparatus for processing drawing data arranged for each of the color elements, a storage unit for storing the drawing data, and s pixels in a continuous positional relationship,
It is characterized by comprising selecting means for selecting t pixels and writing means for writing drawing data corresponding to the selected t pixels to the storage means in one cycle.
Further, in the third invention of the present application, w, x, y and z are each an integer of 2 or more (provided that x ≧ y, x ≧ z)
An image processing apparatus for processing, for one pixel, multi-value data indicating the color element of the pixel, w number of color elements, and drawing data arranged for each color element, for storing the drawing data. The storage means, and y of the x pixels in a continuous positional relationship at the time of writing
Write selection means for selecting the number of pixels, writing means for writing the drawing data corresponding to the selected y pixels in one cycle to the storage means, and a pixel among the x pieces of drawing data at the time of reading. Readout selecting means for selecting z pieces of data having a continuous positional relationship, readout means for reading out the selected z pieces of drawing data from the storage means in one cycle,
After separating each of the read z pieces of drawing data into multi-value data indicating a color element, for each color element, separating arrangement means for arranging the multi-value data indicating the color element in pixel order is provided. It is characterized by having.
In addition, in the fourth invention of the present application, p and q are each an integer of 2 or more, and for one pixel, multi-value data indicating a color element of the pixel is represented by p of the number of color elements.
In the image processing method for drawing data arranged for each color element, a step of storing q drawing data in which pixels have a continuous positional relationship in a state readable in one cycle; The process of reading the drawing data in one cycle, and separating each of the read q pieces of drawing data into multi-valued data indicating a color element. Then, for one color element, the multi-valued data indicating the color element is converted to a pixel. And arranging in order.

【0011】(作用)本願第1の発明によれば、ピクセ
ルが連続する位置関係にあるq個の描画データは、1サ
イクルで読出可能に予め記憶され、これを1サイクルで
読み出すことで、ピクセルが連続する位置関係にあるq
個の描画データを得る。ここで、1サイクルの読み出し
は、例えば、q個の描画データを同一番地で記憶し、読
み出しの際に、当該番地を指定することで可能である。
これらq個の描画データは、それぞれのピクセルについ
て、当該ピクセルの色要素を示す多値データを、色要素
数のp個、色要素毎に配列したもの、すなわち、いわゆ
る点順次型の描画データである。これらの描画データ
を、分離配列手段によって、それぞれ色要素を示す他値
データに分離した後、1つの色要素について、当該色要
素を示す多値データをピクセル順に配列させることで、
いわゆる面順次型の描画データを得ることができる。こ
れらの配列を各色要素について行なうと、1サイクルの
読み出しにより面順次型の描画データをすべての色要素
について得ることできる。さらに、分離配列手段は、実
質的に、読み出された描画データを転送するバスライン
を組み替えることのみで構成することができるので、構
成の簡略化を図ることも可能である。次に、本願第2の
発明によれば、連続する位置関係にあるs個のピクセル
のうち、t個を選択し、これらに対応する描画データを
1サイクルで書き込むので、例えば、描画データがt個
同じであれば、このt個の描画データの書込について
は、tサイクル繰り返すことなく1サイクルで済ますこ
とができる。したがって、いわゆる点順次型の描画デー
タを書き込みに要する時間の短縮化に大きく寄与する。
さらに、本願第3の発明によれば、本願第1および第2
の発明を組み合わせることにより、描画データに書込お
よび読出の両処理に要する時間を短縮化することが可能
となる。また、本願第4の発明によれば、本願第1の発
明と同様に、点順次型から面順次型の描画データを簡易
に得ることが可能となる。
(Operation) According to the first aspect of the present invention, q pieces of drawing data in which pixels have a continuous positional relationship are stored in advance so as to be readable in one cycle, and are read out in one cycle. Are in a continuous positional relationship q
Get drawing data. Here, one cycle of reading can be performed, for example, by storing q pieces of drawing data at the same address and designating the address at the time of reading.
These q pieces of drawing data are, for each pixel, multi-valued data indicating the color element of the pixel arranged in p number of color elements for each color element, that is, so-called dot-sequential type drawing data. is there. After separating these drawing data into other value data indicating color elements by separation arrangement means, for one color element, multi-value data indicating the color element is arranged in pixel order.
It is possible to obtain so-called plane-sequential drawing data. When these arrangements are performed for each color element, plane-sequential drawing data can be obtained for all color elements by one cycle of reading. Further, since the separating and arranging means can be substantially constituted only by rearranging the bus lines for transferring the read drawing data, the constitution can be simplified. Next, according to the second aspect of the present invention, t pixels are selected from s pixels in a continuous positional relationship, and the corresponding drawing data is written in one cycle. If they are the same, writing of the t drawing data can be completed in one cycle without repeating t cycles. Therefore, it greatly contributes to shortening the time required for writing the so-called dot-sequential drawing data.
Further, according to the third aspect of the present invention, the first and second aspects of the present invention are provided.
By combining the inventions described above, it is possible to reduce the time required for both writing and reading processing for drawing data. According to the fourth aspect of the present invention, similarly to the first aspect of the present invention, it is possible to easily obtain drawing data of a dot sequential type to a plane sequential type.

【0012】[0012]

【発明の実施の形態】以下、本発明の実施形態について
図面を参照して説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0013】<1:全体構成>図1は、本実施形態にか
かる画像処理装置の全体構成を説明するブロック図であ
る。この図において、60は画像情報生成部であり、フ
レームメモリの読出範囲や、描画有効領域に描画される
描画データPD、その描画データを記憶させるためのア
ドレスADR、後述するピクセル選択データなどを生成
する。
<1: Overall Configuration> FIG. 1 is a block diagram illustrating the overall configuration of an image processing apparatus according to the present embodiment. In this figure, reference numeral 60 denotes an image information generation unit which generates a reading range of a frame memory, drawing data PD drawn in a drawing effective area, an address ADR for storing the drawing data, pixel selection data described later, and the like. I do.

【0014】80は、記憶手段たるフレームメモリであ
る。このフレームメモリ80は、複数のDRAMから構
成され、高速ページモードアクセスが使用可能であっ
て、1つのアドレスに32ビット幅のデータを記憶する
ことが可能となっている。70は制御装置であり、書込
部71と読出部72とから構成される。前者の書込部7
1は、フレームメモリ80に描画データを点順次型で書
き込むものであり、後者の読出部72は、フレームメモ
リ80から描画データを読み出すものである。なお、こ
れら書込部71と読出部72との詳細構成については後
述する。90はバッファであり、後述するように各基本
色に対応して4つFIFO(First In First Out:先入
れ先出し型のバッファ)から構成され、面順次型のデー
タを基本色毎にバッファリングする。
Reference numeral 80 denotes a frame memory as storage means. The frame memory 80 is composed of a plurality of DRAMs, can use high-speed page mode access, and can store 32-bit data at one address. Reference numeral 70 denotes a control device, which includes a writing unit 71 and a reading unit 72. The former writing unit 7
Numeral 1 is for writing drawing data in the frame memory 80 in a dot-sequential manner, and the latter reading section 72 is for reading drawing data from the frame memory 80. The detailed configuration of the writing unit 71 and the reading unit 72 will be described later. Reference numeral 90 denotes a buffer, which comprises four FIFOs (First In First Out: first-in first-out buffers) corresponding to the respective basic colors, as described later, and buffers frame-sequential data for each basic color.

【0015】<1−1:データフォーマット>ここで、
本画像処理装置における描画データのフォーマットの一
例について、図2を参照して説明する。本実施形態にか
かる画像処理装置は、基本色としてY、M、C、Kの4
色を用いており、これら各基本色の階調を示すデータが
それぞれ8ビットで示される。このため、1ピクセルの
描画データは32ビットとなる。本画像処理装置は、こ
のような描画データを、点順次型では図2(a)に示す
ように4色の基本色データを有する1ピクセルを示すも
のとして扱い、面順次型では同図(b)に示すように、
基本色データを1色分有したものであって、4つのピク
セルを示すものとして扱うものとする。いずれにかかる
データも32ビットである。
<1-1: Data Format> Here,
An example of a format of drawing data in the image processing apparatus will be described with reference to FIG. The image processing apparatus according to the present embodiment has four basic colors of Y, M, C, and K.
Colors are used, and data indicating the gradation of each of these basic colors is represented by 8 bits. Therefore, the drawing data of one pixel is 32 bits. The image processing apparatus treats such drawing data as indicating one pixel having four basic color data as shown in FIG. 2A for the dot sequential type, and FIG. ),
It is assumed that the data has one color of the basic color data and indicates four pixels. Both of the data are 32 bits.

【0016】このようなフォーマットを有する描画デー
タは、フレームメモリ80に、後述するように点順次型
で書き込まれる。そこで、この記憶状態について図3を
参照して説明すると、図に示すように、フレームメモリ
80を構成する1つDRAMの1つのアドレスには、1
ピクセル分32ビットの描画データが点順次型で記憶さ
れる。
The drawing data having such a format is written into the frame memory 80 in a dot-sequential type as described later. Therefore, this storage state will be described with reference to FIG. 3. As shown in FIG. 3, one address of one DRAM constituting the frame memory 80 has one address.
32 bits of drawing data for pixels are stored in a dot sequential manner.

【0017】<1−2:メモリ構成の概略>次に、本画
像処理装置におけるフレームメモリ80の概略構成につ
いて説明する。はじめに、描画データの書込から読出ま
での過程について説明し、この過程を実現するための回
路構成については後述することとする。
<1-2: Outline of Memory Configuration> Next, a schematic configuration of the frame memory 80 in the image processing apparatus will be described. First, a process from writing to reading of drawing data will be described, and a circuit configuration for realizing this process will be described later.

【0018】<1−2−1:描画データの流れ>図4
は、フレームメモリ80における描画データの流れを説
明するためのブロック図である。この図において、80
0〜815は、フレームメモリ80を構成するDRAM
であり、上述したように、それぞれ32ビット幅のデー
タを記憶することができる。なお、本実施形態において
DRAMとは、一般のダイナミックRAMで構成される
メモリモジュールという意味で用いている。
<1-2-1: Flow of Drawing Data> FIG.
FIG. 4 is a block diagram for explaining the flow of drawing data in the frame memory 80. In this figure, 80
0 to 815 are DRAMs constituting the frame memory 80
Thus, as described above, data having a 32-bit width can be stored. In this embodiment, the DRAM is used to mean a memory module composed of a general dynamic RAM.

【0019】この図に示すように、DRAM800〜8
15は、4つのメモリブロックMB0〜MB3を構成し
ており、さらに各メモリブロックはそれぞれ4つの面を
有する。このような構成において、ピクセルが連続する
位置関係にある描画データは、メモリブロックに順次記
憶されている。すなわち、図5に示すように、カラー印
刷装置に出力する有効領域EA(横mピクセル×縦nピ
クセル)において、当該領域の始点に描画されるピクセ
ルをP0とし、以降描画されるピクセルを順にP1、P
2、……、P(mn)とした場合、ピクセルP0〜P3
の描画データは、メモリブロックMB0〜MB3の第1
面に、ピクセルP4〜P7の描画データは、メモリブロ
ックMB0〜MB3の第2面に、ピクセルP8〜P11
の描画データは、メモリブロックMB0〜MB3の第3
面に、ピクセルP12〜P15の描画データは、メモリ
ブロックMB0〜MB3の第4面にというようにそれぞ
れ記憶される。別の言い方をすれば、ピクセルP0〜P
15の描画データは、それぞれDRAM800〜815
に記憶される。なお、これら描画データは点順次型で記
憶される。
As shown in FIG.
Reference numeral 15 comprises four memory blocks MB0 to MB3, and each memory block has four surfaces. In such a configuration, drawing data in which pixels have a continuous positional relationship are sequentially stored in a memory block. That is, as shown in FIG. 5, in an effective area EA (m horizontal pixels × n vertical pixels) to be output to the color printing apparatus, a pixel drawn at the start point of the area is set to P0, and pixels to be drawn thereafter are set to P1 in order. , P
2,..., P (mn), pixels P0 to P3
Is the first of the memory blocks MB0 to MB3.
The drawing data of the pixels P4 to P7 are stored on the second surface of the memory blocks MB0 to MB3.
Is the third data of the memory blocks MB0 to MB3.
On the plane, the drawing data of the pixels P12 to P15 are stored on the fourth plane of the memory blocks MB0 to MB3, respectively. In other words, pixels P0-P
Fifteen drawing data are stored in DRAMs 800 to 815, respectively.
Is stored. These drawing data are stored in a dot-sequential type.

【0020】このようにDRAM800〜815に記憶
された描画データは、各メモリブロックからそれぞれ描
画データが1つずつ読み出される。そして、メモリブロ
ックMB0〜MB3から読み出された描画データPD0
〜PD3は、バス変換部820に供給される。バス変換
部820は、図4に示すように、描画データPD0〜P
D3をそれぞれ基本色Y、M、C、Kの成分毎に分離し
た後、基本色Y、M、C、Kの成分毎にピクセルの順番
で並び替えるものである。これにより、面順次型の描画
データLDY、LDM、LDC、LDKが得られること
となる。なお、後述するように、描画データPD0〜P
D3は、メモリブロックMB0〜MB3から1回のアク
セスで同時に読み出される。このため、バス変換部82
0においては、面順次型の描画データLDY、LDM、
LDC、LDKが同時に得られるようになっている。ま
た、バス変換部820は、実質的にデータバスの並び替
えにすぎない。
The drawing data stored in the DRAMs 800 to 815 is read one by one from each memory block. Then, the drawing data PD0 read from the memory blocks MB0 to MB3
To PD3 are supplied to the bus converter 820. The bus conversion unit 820, as shown in FIG.
After D3 is separated for each of the components of the basic colors Y, M, C, and K, the pixels are rearranged in the order of pixels for each of the components of the basic colors Y, M, C, and K. As a result, drawing data LDY, LDM, LDC, and LDK of the frame sequential type are obtained. Note that, as described later, the drawing data PD0 to P
D3 is simultaneously read from the memory blocks MB0 to MB3 by one access. Therefore, the bus converter 82
0, plane-sequential type drawing data LDY, LDM,
LDC and LDK can be obtained simultaneously. Further, the bus conversion unit 820 is substantially only a rearrangement of data buses.

【0021】<1−2−2:フレームメモリの回路構成
>このような描画データの書込から読出までの過程を実
現するための具体的な回路構成について、図6を参照し
て説明する。この図に示すように、DRAM800〜8
15の各々には、アドレスADR、描画データPD、R
AS(ロウ・アドレス・ストローブ)信号およびWE
(ライト・イネーブル)信号が、それぞれ共通して供給
されている。また、DRAM800〜815の各々に
は、DRAM毎に、対応するCAS(カラム・アドレス
・ストローブ信号)が供給される。したがって、本画像
処理装置においてはDRAMが16個であるので、CA
S信号もこれらDRAMの各々に対応して16本存在す
る。これらの16本CAS信号については、説明の便宜
上、DRAM800に対応するCAS信号をLSB、D
RAM815に対応するCAS信号をMSBとする16
ビットデータで表記することとする。なお、フレームメ
モリ80のアドレスは、RAS(行)アドレスとCAS
(列)アドレスとで定められる。
<1-2-2: Circuit Configuration of Frame Memory> A specific circuit configuration for realizing such a process from writing to reading of drawing data will be described with reference to FIG. As shown in FIG.
15 has an address ADR, drawing data PD, R
AS (row address strobe) signal and WE
(Write enable) signals are commonly supplied. Each of the DRAMs 800 to 815 is supplied with a corresponding CAS (column address strobe signal) for each DRAM. Therefore, in this image processing apparatus, since there are 16 DRAMs,
There are also 16 S signals corresponding to each of these DRAMs. Regarding these 16 CAS signals, the CAS signal corresponding to DRAM 800 is represented by LSB, D for convenience of explanation.
The CAS signal corresponding to the RAM 815 is set to the MSB 16
It is described by bit data. The address of the frame memory 80 is the RAS (row) address and the CAS address.
(Column) address.

【0022】このような構成のフレームメモリ80によ
れば、RASアドレスおよびCASアドレスにより同一
のアドレスを指定し、WE信号、RAS信号をともにア
クティブとし、かつ、16本のCAS信号を「000
0」としてDRAM800〜815に対応する各CAS
信号をローアクティブとすることにより、同一の描画デ
ータをDRAM800〜815の各々に1回のアクセス
で書き込むことができるようになっている。また、読出
時においては、RASアドレスおよびCASアドレスに
より同一のアドレスを指定し、WE信号を非アクティ
ブ、RAS信号をアクティブとし、かつ、メモリブロッ
クMB0〜MB3において同一面上の関係にあるDRA
MのCAS信号をアクティブとすることにより、連続す
る4つのピクセルの描画データPD0〜PD3を1回の
アクセスで読み出すことができるようになっている。
According to the frame memory 80 having such a configuration, the same address is designated by the RAS address and the CAS address, the WE signal and the RAS signal are both activated, and the 16 CAS signals are set to "000".
"0" for each CAS corresponding to DRAMs 800 to 815
By making the signal low active, the same drawing data can be written to each of the DRAMs 800 to 815 by one access. At the time of reading, the same address is designated by the RAS address and the CAS address, the WE signal is inactive, the RAS signal is active, and the DRAs having the same plane relationship in the memory blocks MB0 to MB3.
By activating the CAS signal of M, the drawing data PD0 to PD3 of four consecutive pixels can be read by one access.

【0023】なお、フレームメモリ80において、図5
に示される描画データは、図7に示される関係で書き込
まれて、図4に示されるように記憶される。すなわち、
図7は、RASアドレスおよびCASアドレスにより定
まる1組のアドレスに、どのようなピクセルの画像デー
タが記憶されているのかを、DRAM800〜815毎
に示した図である。この図に示すように、一つのアドレ
スにおいては、ピクセルが連続する位置関係にある16
個の描画データが、それぞれDRAM800〜815に
記憶される。
In the frame memory 80, FIG.
Are written in the relationship shown in FIG. 7 and stored as shown in FIG. That is,
FIG. 7 is a diagram showing, for each of the DRAMs 800 to 815, what kind of pixel image data is stored in a set of addresses determined by the RAS address and the CAS address. As shown in this figure, at one address, pixels have a continuous positional relationship.
Pieces of drawing data are stored in the DRAMs 800 to 815, respectively.

【0024】<1−3:ピクセル選択データ>このよう
に本画像処理装置においては、書込時に、1度に最大1
6個のDRAMにアクセスできるようになっている。し
かしながら、1度のアクセスにおいて、アクセスする必
要のないDRAMも当然のことながら存在する。また、
読出時には、連続する4つのピクセルの描画データPD
0〜PD3を得るために、アクセスするDRAMを選択
する必要もある。そこで、本画像処理装置においては、
ピクセル選択データにより、アクセスするDRAMを選
択するようにしている。かかるピクセル選択データの構
成を図8に示す。この図に示すようにピクセル選択デー
タは、LSB〜MSBがDRAM800〜815に対応
した16ビットデータであり、アクセスする必要のある
DRAMに対応したビットが「1」にセットされる。
<1-3: Pixel Selection Data> As described above, in this image processing apparatus, at the time of writing, a maximum of one
Six DRAMs can be accessed. However, there is naturally a DRAM that does not need to be accessed in one access. Also,
At the time of reading, the drawing data PD of four consecutive pixels
In order to obtain 0 to PD3, it is necessary to select a DRAM to be accessed. Therefore, in this image processing apparatus,
The DRAM to be accessed is selected based on the pixel selection data. FIG. 8 shows the configuration of such pixel selection data. As shown in this figure, the pixel selection data is 16-bit data whose LSB to MSB correspond to the DRAMs 800 to 815, and the bit corresponding to the DRAM to be accessed is set to "1".

【0025】かかるピクセル選択データは、書込時にお
いては、画像情報生成部60によりアドレスADRや、
描画データPDとともに生成され、書込部71に供給さ
れる。この場合、書込部71は、ピクセル選択データの
各ビットを検出し、そのうち「1」となっているビット
に対応したDRAMのCAS信号のみをアクティブとす
る。一方、ピクセル選択データは、読出時においては、
後述するように読出部72のタイミングコントローラに
より生成されて、これによりCAS信号を生成してい
る。このようなピクセル選択データにより、あるアドレ
スにおいてアクセスする必要のあるDRAMのみを選択
することができる。
At the time of writing, the pixel information is written by the image information generation unit 60 into the address ADR or the address ADR.
It is generated together with the drawing data PD and supplied to the writing unit 71. In this case, the writing unit 71 detects each bit of the pixel selection data, and activates only the CAS signal of the DRAM corresponding to the bit set to “1”. On the other hand, the pixel selection data is
As will be described later, it is generated by the timing controller of the reading section 72, and thereby generates the CAS signal. With such pixel selection data, only the DRAM that needs to be accessed at a certain address can be selected.

【0026】<1−4:書込部の詳細構成>次に、図1
における書込部71の詳細構成について説明する。図9
は、この書込部71の構成を示すブロック図である。こ
の図において、711はRASアドレスラッチ回路であ
り、画像情報生成部60から供給されたアドレスADR
のうちRASアドレスをラッチする。同様に、712は
CASアドレスラッチ回路であり、アドレスADRのう
ちCASアドレスをラッチする。713はデータラッチ
回路であり、画像情報生成部60から供給された描画デ
ータPDをラッチする。714はピクセル選択ラッチ回
路であり、同じく画像情報生成部60から供給されたピ
クセル選択データ(図8参照)をラッチする。
<1-4: Detailed Configuration of Writing Unit> Next, FIG.
Will be described in detail. FIG.
Is a block diagram showing a configuration of the writing unit 71. In the figure, reference numeral 711 denotes a RAS address latch circuit, which is an address ADR supplied from the image information generation unit 60.
RAS address is latched. Similarly, reference numeral 712 denotes a CAS address latch circuit, which latches a CAS address of the address ADR. A data latch circuit 713 latches the drawing data PD supplied from the image information generation unit 60. A pixel selection latch circuit 714 latches pixel selection data (see FIG. 8) similarly supplied from the image information generation unit 60.

【0027】715はタイミングコントローラであり、
ラッチされたRASアドレスおよびCASアドレスの送
出タイミングをそれぞれゲート716および717を介
して制御し、これをフレームメモリ80の書込アドレス
とする。また、タイミングコントローラ715は、描画
データPDの送出タイミングをデータラッチ回路713
を介して制御し、さらに、CAS信号の送出タイミング
をNANDゲート回路718を介して制御する。くわえ
て、タイミングコントローラ715は、書込アドレスの
送出タイミングにあわせて、RAS信号およびWE信号
のレベルも制御する。なお、CAS信号は、本実施形態
においてはアクティブ・ローとしているため、ピクセル
選択データをNANDゲート回路718により反転し、
その送出を制御している。
715 is a timing controller,
The transmission timing of the latched RAS address and CAS address is controlled via gates 716 and 717, respectively, and is used as the write address of the frame memory 80. Further, the timing controller 715 determines the transmission timing of the drawing data PD by the data latch circuit 713.
, And the transmission timing of the CAS signal is controlled via a NAND gate circuit 718. In addition, the timing controller 715 controls the levels of the RAS signal and the WE signal in accordance with the write address transmission timing. Since the CAS signal is active low in this embodiment, the pixel selection data is inverted by the NAND gate circuit 718,
The transmission is controlled.

【0028】<1−5:読出部の詳細構成>次に、図1
における読出部72の詳細構成について説明する。図1
0は、この読出部72の構成を示すブロック図である。
この図において、721は読出領域設定部であり、画像
情報生成部60から供給された読出範囲を示す情報に基
づいて読出領域を設定する。722はアドレス生成部で
あり、設定された読出領域に基づいて、フレームメモリ
80の読出アドレスをRASアドレスおよびCASアド
レスのそれぞれについて生成する。なお、アドレス生成
部722は、バッファ55から供給されるPAF信号
(後述する)のレベルがローレベルとなるとアドレスの
生成を中断する一方、ハイレベルとなるとアドレスの生
成を再開する。723はRASアドレスラッチ回路であ
り、生成されたRASアドレスをラッチする。同様に、
724はCASアドレスラッチ回路であり、生成された
CASアドレスをラッチする。
<1-5: Detailed Configuration of Reading Unit> Next, FIG.
The detailed configuration of the reading unit 72 in the above will be described. FIG.
0 is a block diagram showing the configuration of the reading unit 72.
In this figure, reference numeral 721 denotes a read area setting unit which sets a read area based on information indicating a read range supplied from the image information generation unit 60. An address generation unit 722 generates a read address of the frame memory 80 for each of the RAS address and the CAS address based on the set read area. Note that the address generation unit 722 suspends address generation when the level of a PAF signal (described later) supplied from the buffer 55 goes low, and resumes address generation when it goes high. Reference numeral 723 denotes a RAS address latch circuit that latches the generated RAS address. Similarly,
A CAS address latch circuit 724 latches the generated CAS address.

【0029】725はタイミングコントローラであり、
ラッチされたRASアドレスおよびCASアドレスの送
出タイミングをそれぞれゲート726および727を介
し制御して、これをフレームメモリ80の読出アドレス
とする。また、タイミングコントローラ725は、読出
アドレスの送出タイミングにあわせて、RAS信号およ
びWE信号のレベルも制御する。
725 is a timing controller,
The transmission timing of the latched RAS address and CAS address is controlled via gates 726 and 727, respectively, and is used as the read address of frame memory 80. In addition, the timing controller 725 controls the levels of the RAS signal and the WE signal in accordance with the transmission timing of the read address.

【0030】<1−6:バッファの詳細構成>次に、図
1におけるバッファ90の詳細構成について説明する。
図11は、このバッファ90の構成を示すブロック図で
ある。この図において、901〜904はFIFOであ
り、それぞれ基本色のY、M、C、Kに対応している。
本実施形態にあっては、1つの基本色あたり32ビット
の面順次型データが入力されるため、16ビット幅を有
する一般的なFIFOを2個並列させて用いている。そ
して、フレームメモリ80からの面順次型描画データL
DY、LDM、LDC、LDKの各々は、読出部72か
らのWE信号にしたがって、それぞれFIFO901〜
904に蓄積される一方、面順次型描画データを必要と
するカラー印刷装置などの出力装置(図示せず)による
RE信号にしたがって、各基本色毎に、それぞれ当該出
力装置に出力される。すなわち、面順次型描画データL
DY、LDM、LDC、LDKの各々は、読出部72に
よるタイミングにて蓄積される一方、出力装置が要求す
るタイミングにて読み出され、出力されることになる。
なお、点順次型から面順次型データを得る構成のみつい
て言及すれば、かかるバッファ90は任意的構成要素と
いうべきものである。
<1-6: Detailed Configuration of Buffer> Next, the detailed configuration of the buffer 90 in FIG. 1 will be described.
FIG. 11 is a block diagram showing the configuration of the buffer 90. In this figure, reference numerals 901 to 904 denote FIFOs, which correspond to the basic colors Y, M, C, and K, respectively.
In this embodiment, since 32-bit field sequential data is input for one basic color, two general FIFOs having a 16-bit width are used in parallel. Then, the frame sequential drawing data L from the frame memory 80
Each of DY, LDM, LDC, and LDK receives a FIFO 901-
While being stored in 904, each basic color is output to the output device in accordance with an RE signal from an output device (not shown) such as a color printing device that requires the frame sequential drawing data. That is, the frame sequential drawing data L
Each of DY, LDM, LDC, and LDK is stored at the timing by the reading unit 72, and is read and output at the timing required by the output device.
It should be noted that the buffer 90 is an optional component if only the configuration for obtaining the frame-sequential type data from the dot-sequential type is referred to.

【0031】ここで、FIFO901〜904の各々か
らは、当該FIFOのデータ蓄積量が容量一杯となった
場合にローレベルに立ち下がるフラグFF1〜FF4が
それぞれ出力される。そしてAND回路905により、
これらのフルフラグFF1〜FF4の論理積が求めら
れ、これが読出部72へのPAF(Almost Full Flag)
信号となる。このようなPAF信号は、すべてのFIF
Oに空きがあるなら、ハイレベルとなって、読出部によ
るアドレスの歩進を許可する一方、いずれかのFIFO
のデータ蓄積量が容量一杯となると、ローレベルとなっ
て、読出部72によるアドレスの歩進が禁止されること
になる。
Here, each of the FIFOs 901 to 904 outputs flags FF1 to FF4 which fall to a low level when the amount of data stored in the FIFO becomes full. And by the AND circuit 905,
The logical product of these full flags FF1 to FF4 is obtained, and this is used as a PAF (Almost Full Flag) to the reading unit 72.
Signal. Such a PAF signal is
If there is a vacancy in O, it goes high, allowing the address to be advanced by the readout unit.
When the data storage amount becomes full, the level becomes low, and the address advance by the reading unit 72 is prohibited.

【0032】<2:動作>次に、上述した構成による画
像処理装置の動作について説明する。はじめに、画像情
報生成部60により生成された描画データを、フレーム
メモリ80に点順次型で書き込む(描画する)動作につ
いて説明する。
<2: Operation> Next, the operation of the image processing apparatus having the above configuration will be described. First, an operation of writing (drawing) the drawing data generated by the image information generating unit 60 into the frame memory 80 in a dot sequential manner will be described.

【0033】<2−1:点順次型の書込動作>フレーム
メモリ80に描画を行なうための種々のデータは、画像
情報生成部60により生成される。詳細には、アドレス
ADRが、RASアドレス、CASアドレスに分けて生
成された後、当該アドレスに書き込むべき点順次型の描
画データPDおよびピクセル選択データが生成される。
そして、これらのデータは、図9の書込部71において
対応するラッチ回路に入力されて、ラッチされる。この
とき、タイミングコントローラ715は、一般的なDR
AMの書込タイミング(例えば図17参照)にしたがっ
て各信号の出力タイミングを制御する。すなわち、タイ
ミングコントローラ715は、RASアドレスタイミン
グにてRASアドレスを出力した後、RAS信号をアク
ティブにするとともに、CASアドレスタイミングでC
ASアドレスを出力した後、CAS信号をアクティブに
し、所定のタイミングで描画データPDを出力して書込
タイミングを作り出す。このとき、CAS信号は、ピク
セル選択データとNANDされるので、書き込むべきD
RAMに対応するCAS信号のみがローアクティブとな
る。このため、当該描画データPDは、ピクセル選択デ
ータにより選択されたDRAMに対してのみ、RASア
ドレスおよびCASアドレスで定まるアドレスADRに
書き込まれることとなる。
<2-1: Point Sequential Write Operation> Various data for drawing in the frame memory 80 are generated by the image information generating unit 60. Specifically, after the address ADR is generated separately for the RAS address and the CAS address, the dot-sequential drawing data PD and the pixel selection data to be written to the address are generated.
These data are input to the corresponding latch circuit in the writing unit 71 of FIG. 9 and are latched. At this time, the timing controller 715 uses a general DR
The output timing of each signal is controlled in accordance with the AM write timing (for example, see FIG. 17). That is, after outputting the RAS address at the RAS address timing, the timing controller 715 activates the RAS signal and outputs the RAS signal at the CAS address timing.
After outputting the AS address, the CAS signal is activated, and the drawing data PD is output at a predetermined timing to create a writing timing. At this time, the CAS signal is NANDed with the pixel selection data.
Only the CAS signal corresponding to the RAM becomes low active. Therefore, the drawing data PD is written to the address ADR determined by the RAS address and the CAS address only for the DRAM selected by the pixel selection data.

【0034】より具体的な書込動作について、図12を
参照して説明する。なお、この図の例では、この図の左
半分に示される場合を示している。すなわち、「FFF
FFFFF」で示される描画データPDを、RASアド
レスが「000」、CASアドレスが「001」で定ま
るアドレスADRに、ピクセル選択データが「F0F
0」で示されるDRAMに対し書き込む場合である。な
お、これらの情報は、画像情報生成部60により生成さ
れ、書込部71に供給される。
A more specific write operation will be described with reference to FIG. Note that the example of this figure shows the case shown in the left half of this figure. That is, "FFF
The drawing data PD indicated by “FFFFF” is transferred to the address ADR defined by the RAS address “000” and the CAS address “001”, and the pixel selection data is set to “F0F”.
This is a case where data is written to the DRAM indicated by "0". Note that these pieces of information are generated by the image information generation unit 60 and supplied to the writing unit 71.

【0035】この場合、書込部71のタイミングコント
ローラ715は、各ゲートおよびラッチ回路を次のよう
に制御する。すなわち、タイミングコントローラ715
は、第1に、RASアドレス「000」を送出した後、
RAS信号をローアクティブとし、次に、CASアドレ
ス「001」とともに、描画データPD「FFFFFF
FF」を送出し、第3に、CAS信号を、すべて非アク
ティブ状態の「FFFF」からピクセル選択データを反
転させた「0F0F」にする(ローアクティブのた
め)。これにより、「FFFFFFFF」の描画データ
PDは、ピクセル選択データ「F0F0」に対応するD
RAM804〜807および812〜817に、1回の
アクセスで書き込まれることとなる。なお、RASアド
レス「000」、CASアドレス「001」で定まるア
ドレスは、図7を参照しても判るようように、ピクセル
P16〜P31の描画データを記憶する場所である。し
たがって、図12に示される例においては、描画データ
PDが、ピクセルP20〜P23およびピクセルP28
〜P31の描画データとして、DRAM804〜80
7、812〜817に、1回のアクセスで書き込まれた
ことを意味する。
In this case, the timing controller 715 of the writing section 71 controls each gate and latch circuit as follows. That is, the timing controller 715
First, after sending the RAS address "000",
The RAS signal is set to low active, and then the drawing data PD “FFFFFF” is added together with the CAS address “001”.
Third, the CAS signal is changed to "0F0F", which is obtained by inverting the pixel selection data from "FFFF" in an inactive state (because of low active). As a result, the drawing data PD of “FFFFFFFF” becomes the D data corresponding to the pixel selection data “F0F0”.
The data is written to the RAMs 804 to 807 and 812 to 817 by one access. The address determined by the RAS address “000” and the CAS address “001” is a location for storing the drawing data of the pixels P16 to P31, as can be understood from FIG. Therefore, in the example shown in FIG. 12, the drawing data PD includes the pixels P20 to P23 and the pixel P28.
DRAMs 804 to 80 as the drawing data of
7, 812 to 817 by one access.

【0036】ここで、同一アドレスで書き込まれるべき
16ピクセルの描画データが、すべて違う場合、画像情
報生成部60は、DRAM800〜815を順番に1つ
ずつ指定するように、ピクセル選択データを変化させ、
フレームメモリ80に対し16回のアクセスで書込を行
なうようにする。逆に、同一アドレスで書き込まれるべ
き16ピクセルの描画データが、すべて同じ場合、画像
情報生成部60は、DRAM800〜815のすべてを
指定するように、ピクセル選択データ設定する。すなわ
ち「FFFF」とする。これにより、16ピクセルの描
画データは、フレームメモリ80に1回のアクセスで書
き込まれることになり、書込に要する時間を短縮するこ
とができる。
Here, when the drawing data of 16 pixels to be written at the same address are all different, the image information generating section 60 changes the pixel selection data so as to designate the DRAMs 800 to 815 one by one in order. ,
Writing to the frame memory 80 is performed by 16 accesses. Conversely, when the drawing data of 16 pixels to be written at the same address are all the same, the image information generation unit 60 sets the pixel selection data so as to designate all of the DRAMs 800 to 815. That is, “FFFF” is set. Thus, the drawing data of 16 pixels is written into the frame memory 80 by one access, and the time required for writing can be reduced.

【0037】なお、このような書込は、画像情報生成部
60により生成された描画データの順に行なわれるた
め、アクセスするアドレスが連続している必要はなく、
ランダムなアドレスに対して書込を行なうことができ
る。そして1面分の画像有効領域の書込がフレームメモ
リ80に対して行なわれると、この書込動作は終了とな
る。また、書き込みの場合、RASアドレスが変化する
まで、あるいはメモリリフレッシュが入るまで、DRA
Mの高速ページモードが最大限利用されて、連続した書
込動作が行なわれる。
Since such writing is performed in the order of the drawing data generated by the image information generating unit 60, the addresses to be accessed do not need to be continuous,
Writing can be performed to a random address. When the writing of the image effective area for one surface is performed on the frame memory 80, the writing operation ends. In the case of writing, the DRA is used until the RAS address changes or until a memory refresh is started.
M high-speed page mode is used to the maximum extent, and a continuous write operation is performed.

【0038】<2−2:面順次型の読み出し動作>次
に、上述したように書き込んだ描画データを読み出して
点順次型に変換する動作について説明する。フレームメ
モリ80に書き込まれた描画データを読み出す場合、画
像情報生成部60は、はじめに、読出部72における読
出領域設定部721(図10参照)に対し、描画データ
の読出範囲を設定する。この読出範囲とは、書込部71
によって書き込まれたフレームメモリ80から出力すべ
き領域を示すものである。したがって、描画データをフ
レームメモリ80から読み出す場合には、点順次型で書
き込んだ場合と同じアドレスが用いられる。
<2-2: Surface Sequential Type Read Operation> Next, an operation of reading the drawing data written as described above and converting it into a dot sequential type will be described. When reading the drawing data written in the frame memory 80, the image information generation unit 60 first sets the reading range of the drawing data in the reading area setting unit 721 (see FIG. 10) in the reading unit 72. This read range is defined as
Indicates an area to be output from the frame memory 80 written by the above. Therefore, when drawing data is read from the frame memory 80, the same address as when writing in the dot sequential type is used.

【0039】かかる読出範囲が読出領域設定部721に
設定されると、アドレス生成部722は、描画有効領域
における最初のピクセルから4つピクセルを単位として
RASアドレス、CASアドレスを生成する。生成され
たアドレスは、それぞれRASアドレスラッチ回路72
3およびCASアドレスラッチ回路724に入力され
て、ラッチされる。このとき、タイミングコントローラ
725は、一般的なDRAMの高速ページモード読出タ
イミングにしたがって各信号の出力タイミングを制御す
る。すなわち、タイミングコントローラ725は、RA
SアドレスタイミングでRASアドレスを出力した後、
RAS信号をアクティブにするとともに、CASアドレ
スタイミングでCASアドレスを出力した後、CAS信
号をアクティブにすることにより、読出タイミングを作
り出す。このときフレームメモリ80には、1組のアド
レスにおいて連続する16ピクセル分の描画データが記
憶されているので、同一アドレスについての読み出し
は、CAS信号を変化させて、4ピクセル分ずつ4回に
分けて行なわれる。すなわち、同一アドレスについて読
み出しは、最初の1回目のアクセスではDRAM800
〜803について、次の2回目のアクセスではDRAM
804〜807について、3回目のアクセスではDRA
M808〜811について、そして4回目のアクセスで
はDRAM812〜815について、それぞれ行なわれ
る。したがって、1回のアクセスにおいては、ピクセル
が連続する位置関係にある4つの点順次型描画データが
読み出されることになる。なお、読み出しの場合、RA
Sアドレスが変化するまで、メモリリフレッシュが入る
まで、あるいは、読み出したデータを格納するFIFO
が一杯となるまで、DRAMの高速ページモードが利用
されて、連続した読出動作が行なわれる。
When the read range is set in the read area setting section 721, the address generation section 722 generates a RAS address and a CAS address in units of four pixels from the first pixel in the drawing effective area. The generated addresses are stored in the RAS address latch circuits 72, respectively.
3 and are input to the CAS address latch circuit 724 and latched. At this time, the timing controller 725 controls the output timing of each signal according to the general DRAM high-speed page mode read timing. That is, the timing controller 725
After outputting the RAS address at the S address timing,
After the RAS signal is activated and the CAS address is output at the CAS address timing, the CAS signal is activated to create a read timing. At this time, the frame memory 80 stores the drawing data for 16 pixels consecutive at one set of addresses. Therefore, the reading for the same address is divided into four times by four pixels by changing the CAS signal. It is done. That is, the read for the same address is performed by the DRAM 800 in the first access.
803 to 803 in the next access
DRA for 804 to 807 in the third access
For M808 to 811 and for the fourth access, for DRAMs 812 to 815, respectively. Therefore, in one access, four dot-sequential drawing data in which pixels have a continuous positional relationship are read. In the case of reading, RA
Until the S address changes, until a memory refresh occurs, or a FIFO that stores read data
Until is full, a continuous read operation is performed using the high-speed page mode of the DRAM.

【0040】こうして、1回のアクセスにおいてピクセ
ルが連続する位置関係にある4つの点順次型描画データ
が読みされると、これら描画データの各々は、バス変換
部820(図4参照)により、各基本色毎のデータに分
離された後、同じ基本色のデータをピクセル順に、各基
本色について配列させる。この分離・再配列により、結
局、1回のアクセスにおいて各基本色について4色分の
面順次型データが得られることとなる。このような動作
を、指定された領域の始点のピクセルから終点のピクセ
ルまでアドレスを変化させながら切替えを行なって、指
定された領域すべてが読み出されると動作が終了するこ
ととなる。
When four dot-sequential type drawing data having a positional relationship of continuous pixels are read in one access, each of these drawing data is read by the bus conversion unit 820 (see FIG. 4). After being separated into data for each basic color, data of the same basic color is arranged for each basic color in pixel order. As a result of this separation / rearrangement, plane-sequential data of four colors is obtained for each basic color in one access. Such an operation is switched while changing the address from the pixel at the start point to the pixel at the end point of the designated area, and the operation ends when all of the designated area is read.

【0041】より具体的な読出動作について、図13を
参照して説明する。なお、この図の例では、RASアド
レスが「000」、CASアドレスが「000」で定ま
るアドレスから、順番に描画データを読み出す場合を示
している。なお、この場合、読出範囲は画像情報生成部
60により生成されて読出部72に供給され、その読出
範囲の始点は、図5におけるピクセルP0である。
A more specific reading operation will be described with reference to FIG. Note that, in the example of this drawing, a case is shown in which drawing data is sequentially read from an address determined by an RAS address of “000” and a CAS address of “000”. In this case, the reading range is generated by the image information generating unit 60 and supplied to the reading unit 72, and the starting point of the reading range is the pixel P0 in FIG.

【0042】この場合、まず、アドレス生成部722
は、RASアドレス「000」、CASアドレス「00
0」を生成し、タイミングコントローラ725は、各ラ
ッチ回路を次のように制御する。すなわち、タイミング
コントローラ725は、RASアドレス「000」を送
出した後、RAS信号をローアクティブとし、次に、C
ASアドレス「000」として、CAS信号を「FFF
0」とする。なお、CAS信号を「FFF0」とするの
は、最初の1回目においてDRAM800〜803にア
クセスするためである。これによりDRAM800〜8
03によりそれぞれ点順次型の描画データPD0〜PD
3が読み出され、これらがバス変換部820により直ち
に変換されて面順次型データPDY、PDM、PDC、
PDKが得られる。
In this case, first, the address generator 722
Are the RAS address “000” and the CAS address “00”
0 ", and the timing controller 725 controls each latch circuit as follows. That is, after sending the RAS address “000”, the timing controller 725 sets the RAS signal to low active,
As the AS address “000”, the CAS signal is changed to “FFF”.
0 ". The CAS signal is set to “FFFF0” in order to access the DRAMs 800 to 803 at the first time. Thereby, the DRAMs 800 to 8
03, dot-sequential drawing data PD0 to PD
3 are read out, are immediately converted by the bus conversion unit 820, and are output to the frame sequential data PDY, PDM, PDC,
PDK is obtained.

【0043】次に、タイミングコントローラ725は、
CAS信号を「FFFF」として、DRAMの選択を一
旦解除した後、次の2回目においてDRAM804〜8
07にアクセスするためCAS信号を「FF0F」とす
る。これによりDRAM804〜807によりそれぞれ
点順次型の描画データが読み出され、これらが直ちに変
換されて面順次型データが得られる。以下同様に、タイ
ミングコントローラ725は、3回目においてCAS信
号を「F0FF」としてDRAM808〜811にアク
セスし、4回目において「0FFF」としてDRAM8
12〜815にアクセスして、各アクセスにおいて面順
次型データが直ちに得られることとなる。
Next, the timing controller 725
After the CAS signal is set to “FFFF” and the selection of the DRAM is once canceled, the DRAMs 804 to 8
In order to access 07, the CAS signal is set to “FF0F”. As a result, the dot-sequential drawing data are read out by the DRAMs 804 to 807, respectively, and are immediately converted to obtain the frame-sequential data. Similarly, the timing controller 725 accesses the DRAMs 808 to 811 by setting the CAS signal to “F0FF” at the third time, and sets the DRAM 8 at “0FFF” at the fourth time.
By accessing 12 to 815, plane-sequential data is immediately obtained in each access.

【0044】こうして、DRAM800〜815から連
続する16ピクセルの描画データが読み出されると、ア
ドレス生成部722は、CASアドレスを「1」だけイ
ンクリメントさせて、そのアドレスについても、同様に
して、連続する16ピクセルの描画データが読み出され
る。そして、読出範囲の終点に位置するピクセルの描画
データが読み出されるまで、以下同様な動作が繰り返さ
れる。
As described above, when the drawing data of the continuous 16 pixels is read from the DRAMs 800 to 815, the address generation unit 722 increments the CAS address by “1”, and similarly, the address of the continuous 16 pixels is increased. The drawing data of the pixel is read. The same operation is repeated thereafter until the drawing data of the pixel located at the end point of the reading range is read.

【0045】このように本実施形態にかかる画像処理装
置によれば、書込時において、ピクセルが連続する位置
関係にある16個の描画データのうち、ピクセル選択デ
ータにより任意に選択し、選択したものを1回のアクセ
スでフレームメモリ80に書き込むので、同じ描画デー
タを書き込むのであれば、1回のアクセスで済ますこと
ができる。したがって、いわゆる点順次型の描画データ
を書き込む際に要する時間の短縮化に大きく寄与する。
また、本実施形態にかかる画像処理装置によれば、読出
時において、ピクセルが連続する位置関係にある4個の
描画データを1回のアクセスで読み出し、これらの4個
の描画データを、それぞれ基本色を示す他値データに分
離した後、基本色を示すデータをピクセル順に基本色毎
に配列させて、面順次型の描画データを得る。これによ
り、各基本色の面順次型データを1回のアクセスで得る
ので、書込時も含めて、高速な処理に大きく寄与するこ
とができるのである。
As described above, according to the image processing apparatus of the present embodiment, at the time of writing, of the 16 drawing data in which the pixels are in a continuous positional relationship, the drawing data is arbitrarily selected and selected by the pixel selection data. Since the object is written to the frame memory 80 by one access, the same drawing data can be written by one access. Therefore, it greatly contributes to shortening the time required for writing so-called dot-sequential type drawing data.
Further, according to the image processing apparatus of the present embodiment, at the time of reading, four pieces of drawing data in which pixels have a continuous positional relationship are read out by one access, and these four pieces of drawing data are respectively After separation into other value data indicating colors, data indicating basic colors are arranged in pixel order for each basic color to obtain plane-sequential drawing data. As a result, plane-sequential data of each basic color is obtained by one access, so that it can greatly contribute to high-speed processing including writing.

【0046】<3:応用形態>本願発明は上述した実施
形態に限定されず、次のように応用することが可能であ
る。上述した実施形態にあっては、バッファ90を各基
本色に対応したFIFO901〜904により構成し、
FIFO後段に位置するカラー印刷装置等の出力装置が
4色の面順次型データをすべて処理する場合を想定して
いた。しかし、出力装置が例えば4色のデータのうち2
色だけを処理する場合を想定すると、必要のない他の2
色のデータは対応するFIFOに蓄積され続けるため、
当該FIFOに蓄積量が容量一杯となってしまう。そう
なると、フレームメモリ80からの読み出し動作が中断
してしまい、必要な基本色のデータが供給されないとい
った不都合が生じることが考えられる。そこで、この応
用形態では、図14に示すように、読出部72の内部に
読出色設定部731を設けた。この読出色設定部731
は、画像情報生成部60あるいは出力装置が要求する読
出色を入力すると、読出色以外の基本色のFIFOに対
しバッファリングしないようにリセット信号を出力する
ものである。これにより、バッファ90においては、出
力装置が要求する基本色のデータのみが当該FIFOに
蓄積され、当該出力装置が要求しない基本色のデータに
ついては当該FIFOに蓄積されないので、読み出し動
作に悪影響を及ぼすのが防止されることとなる。
<3: Application> The present invention is not limited to the above-described embodiment, but can be applied as follows. In the embodiment described above, the buffer 90 is constituted by FIFOs 901 to 904 corresponding to the respective basic colors,
It is assumed that an output device such as a color printing device located at the subsequent stage of the FIFO processes all the four-color sequential data. However, if the output device is, for example, two out of four color data,
Assuming that only color is processed, the other two
Since the color data continues to be stored in the corresponding FIFO,
The amount of storage in the FIFO becomes full. In such a case, the operation of reading from the frame memory 80 is interrupted, which may cause a problem that required basic color data is not supplied. Therefore, in this application form, a reading color setting section 731 is provided inside the reading section 72 as shown in FIG. This read color setting section 731
Is to input a read color requested by the image information generation unit 60 or the output device and output a reset signal so as not to buffer the FIFOs of the basic colors other than the read color. As a result, in the buffer 90, only the data of the basic color requested by the output device is stored in the FIFO, and the data of the basic color not requested by the output device is not stored in the FIFO, so that the reading operation is adversely affected. Is prevented.

【0047】<4:その他>なお、上述した実施形態、
応用形態では、制御装置70を書込部71および読出部
72からなる構成としたが、図9および図10を見ても
判るように、書込部71および読出部72の構成は互い
に近似しているので、これらの構成を一体化するのが望
ましい。こうして1つ構成の制御装置70とすることに
より、バスラインを省略化することが可能となる上、D
RAMのリフレッシュ動作も書込制御と読出制御とで共
通化されるので、制御の簡略化も可能となる。
<4: Others> The above-described embodiment,
In the applied embodiment, the control device 70 has a configuration including the writing unit 71 and the reading unit 72. However, as can be seen from FIGS. 9 and 10, the configurations of the writing unit 71 and the reading unit 72 are similar to each other. Therefore, it is desirable to integrate these components. With the single control device 70, the bus line can be omitted and the D
Since the refresh operation of the RAM is shared between the write control and the read control, the control can be simplified.

【0048】また、上述した実施形態あるいは応用形態
においては、p=4として色要素を基本色のY、M、
C、Kの4色分とする場合を例にとって説明したが、本
願は色要素を限定するものではない。例えば、色空間の
RGBや、L***などすることも、もちろん可能で
ある。この場合、p=3となり、1回のアクセスにつ
き、ピクセルが連続する位置関係にあるq個の描画デー
タを読み出すことにより、各色要素の面順次型データに
ついてそれぞれqピクセル分、得られることになる。ま
た、上述した実施形態あるいは応用形態においては、q
=4としてピクセルが4つ連続する描画データを1回の
アクセスで読み出して転送する場合を例にして説明した
ため、フレームメモリ80から読み出された描画データ
を転送するバス幅が、点順次型データ(32ビット)の
4倍となっていた。しかし、本願におけるqの値はこれ
に限定されず、2以上の整数であればなんでもよい。例
えば、qを「3」にすると、1つの面順次型データにつ
いて3ピクセル分が得られることになる。このように、
本願におけるp、qは互いに独立であり、それぞれ2以
上の整数であればいかなるものであっても良い。なお、
本願におけるrおよびwはpに、zはqに、それぞれ関
連するものである。
In the above-described embodiment or application, p = 4 and the color elements are Y, M, and
Although the case of four colors C and K has been described as an example, the present invention does not limit the color elements. For example, RGB of a color space, L * a * b *, and the like can be used. In this case, p = 3, and q pieces of drawing data in which pixels have a continuous positional relationship are read out for each access, so that q pixels of plane-sequential data of each color element can be obtained. . In the above-described embodiment or application, q
= 4, the drawing width of four consecutive pixels is read and transferred by one access, and the transfer is performed. Therefore, the bus width for transferring the drawing data read from the frame memory 80 is the point-sequential type data. (32 bits). However, the value of q in the present application is not limited to this, and any value may be used as long as it is an integer of 2 or more. For example, if q is set to “3”, three pixels for one plane-sequential type data are obtained. in this way,
In the present application, p and q are independent of each other, and may be any integers as long as each is an integer of 2 or more. In addition,
In the present application, r and w are related to p, and z is related to q.

【0049】[0049]

【発明の効果】以上説明したように本発明によれば、描
画データを書き込む際には点順次型で行なう一方、読み
出す際には面順次型で行なって、カラー印刷装置等の高
速化に寄与するとともに、その構成を簡易として、回路
規模の簡易化・縮小化を図ることが可能となる。
As described above, according to the present invention, writing data is performed in a dot-sequential manner while writing data is performed in a frame-sequential manner, contributing to speeding up of a color printing apparatus and the like. In addition, the configuration can be simplified, and the circuit scale can be simplified and reduced.

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

【図1】 本発明の実施形態にかかる画像処理装置の構
成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of an image processing apparatus according to an embodiment of the present invention.

【図2】 (a)は点順次型データの構成を示す図であ
り、(b)は面順次型データの構成を示す図である。
FIG. 2A is a diagram illustrating a configuration of dot-sequential data, and FIG. 2B is a diagram illustrating a configuration of plane-sequential data.

【図3】 同画像処理装置のフレームメモリにおける描
画データの記憶状態を示す図である。
FIG. 3 is a diagram showing a storage state of drawing data in a frame memory of the image processing apparatus.

【図4】 同画像処理装置のフレームメモリにおける描
画データの流れを示す図である。
FIG. 4 is a diagram showing a flow of drawing data in a frame memory of the image processing apparatus.

【図5】 同画像処理装置において処理される描画デー
タにかかるピクセルの位置関係を説明するための図であ
る。
FIG. 5 is a diagram for explaining a positional relationship of pixels related to drawing data processed in the image processing apparatus.

【図6】 同画像処理装置におけるフレームメモリの構
成を示すブロック図である。
FIG. 6 is a block diagram illustrating a configuration of a frame memory in the image processing apparatus.

【図7】 1組のアドレスに、どのようなピクセルの画
像データが記憶されているのかを、DRAM毎に示した
図である。
FIG. 7 is a diagram showing what kind of pixel image data is stored in one set of addresses for each DRAM.

【図8】 同画像処理装置におけるピクセル選択データ
の構成を示す図である。
FIG. 8 is a diagram showing a configuration of pixel selection data in the image processing apparatus.

【図9】 同画像処理装置における書込部の構成を示す
ブロック図である。
FIG. 9 is a block diagram illustrating a configuration of a writing unit in the image processing apparatus.

【図10】 同画像処理装置における読出部の構成を示
すブロック図である。
FIG. 10 is a block diagram illustrating a configuration of a reading unit in the image processing apparatus.

【図11】 同画像処理装置におけるバッファの構成を
示すブロック図である。
FIG. 11 is a block diagram illustrating a configuration of a buffer in the image processing apparatus.

【図12】 同画像処理装置における書込動作を示すタ
イミングチャートである。
FIG. 12 is a timing chart showing a writing operation in the image processing apparatus.

【図13】 同画像処理装置における読出動作を示すタ
イミングチャートである。
FIG. 13 is a timing chart showing a read operation in the image processing apparatus.

【図14】 本発明の応用形態にかかる読出部の構成を
示すブロック図である。
FIG. 14 is a block diagram illustrating a configuration of a reading unit according to an application of the present invention.

【図15】 (a)は従来における点順次型のメモリ構
成を示す図であり、(a)は従来における面順次型のメ
モリ構成を示す図である。
FIG. 15A is a diagram showing a conventional dot-sequential memory configuration, and FIG. 15A is a diagram showing a conventional frame-sequential memory configuration.

【図16】 直線描画の動作を示す図である。FIG. 16 is a diagram illustrating an operation of drawing a straight line.

【図17】 1回のアクセスに要するサイクルを示す図
である。
FIG. 17 is a diagram showing a cycle required for one access.

【図18】 (a)は従来における点順次型データの書
き込みを示す図であり、(b)は従来における面順次型
データの書き込みを示す図である。
18A is a diagram illustrating writing of dot sequential data in the related art, and FIG. 18B is a diagram illustrating writing of frame sequential data in the related art.

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

60……画像情報生成部(書込選択手段、読出選択手
段)、71……書込部(書込手段)、72……読出部
(読出手段)、80……フレームメモリ(記憶手段)、
90……バッファ(緩衝記憶手段)、800〜815…
…DRAM、820……バス変換部(分離配列手段)
60 image information generating section (writing selecting means, reading selecting means), 71 writing section (writing means), 72 reading section (reading means), 80 frame memory (storage means),
90: buffer (buffer storage means), 800 to 815
... DRAM, 820 ... Bus conversion unit (separation arrangement means)

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G06T 1/00 G06F 15/64 450C H04N 1/21 15/66 310 1/60 H04N 1/40 D 1/46 1/46 Z ──────────────────────────────────────────────────続 き Continuation of the front page (51) Int.Cl. 6 Identification code Agency reference number FI Technical indication location G06T 1/00 G06F 15/64 450C H04N 1/21 15/66 310 1/60 H04N 1/40 D 1/46 1/46 Z

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 pおよびqをそれぞれ2以上の整数と
し、 1つのピクセルについて、当該ピクセルの色要素を示す
多値データを、色要素数のp個、色要素毎に配列した描
画データを処理する画像処理装置において、(A) ピクセ
ルが連続する位置関係にあるq個の描画データを、1サ
イクルで読出可能な状態で記憶する記憶手段と、(B) 前
記q個の描画データを前記記憶手段から1サイクルで読
み出す読出手段と、(C) 読み出されたq個の描画データ
の各々を、それぞれ色要素を示す多値データに分離した
後、1つの色要素について、当該色要素を示す多値デー
タをピクセル順に配列させる分離配列手段とを具備する
ことを特徴とする画像処理装置。
1. p and q are each an integer of 2 or more, and for one pixel, multi-valued data indicating the color element of the pixel is processed by drawing data in which p number of color elements are arranged for each color element (A) storage means for storing (A) q pieces of drawing data in which pixels have a continuous positional relationship in a readable state in one cycle; and (B) storing the q pieces of drawing data. Means for reading in one cycle from the means, and (C) separating each of the q pieces of drawing data read out into multi-valued data indicating a color element, and indicating the color element for one color element. An image processing apparatus comprising: a separating arrangement unit for arranging multi-value data in pixel order.
【請求項2】 前記記憶手段は、ピクセルが連続する位
置関係にあるq個の描画データを同一番地で記憶する一
方、 前記読出手段は、当該同一番地を指定することで前記q
個の描画データを読み出すことを特徴とする請求項1記
載の画像処理装置。
2. The storage means stores q pieces of drawing data in which pixels have a continuous positional relationship at the same address, while the reading means designates the same address by designating the same address.
2. The image processing apparatus according to claim 1, wherein the drawing data is read.
【請求項3】 前記分離配列手段は、前記記憶手段から
読み出された描画データを転送するバスラインを組み替
えたものであることを特徴とする請求項1記載の画像処
理装置。
3. An image processing apparatus according to claim 1, wherein said separation arrangement means is obtained by rearranging bus lines for transferring drawing data read from said storage means.
【請求項4】 前記分離配列手段は、ピクセル順の配列
を各色要素毎についてそれぞれ行なうことを特徴とする
請求項1記載の画像処理装置。
4. An image processing apparatus according to claim 1, wherein said separation arrangement means performs arrangement in pixel order for each color element.
【請求項5】 前記分離配列手段によってピクセル順に
配列されたデータを、各色要素毎に蓄積するとともに、
蓄積されたデータを、各色要素毎の要求に応じて供給す
る緩衝記憶手段を備えたことを特徴とする請求項4記載
の画像処理装置。
5. The data arranged in pixel order by the separation arrangement means is stored for each color element.
5. The image processing apparatus according to claim 4, further comprising buffer storage means for supplying the stored data according to a request for each color element.
【請求項6】 前記読出手段は、前記緩衝記憶手段にお
いて、いずれかの色要素に対応するデータ蓄積量が容量
一杯となったならば、描画データの読出を中断すること
を特徴とする請求項5記載の画像処理装置。
6. The image processing apparatus according to claim 1, wherein the reading means interrupts reading of the drawing data when the data storage amount corresponding to any one of the color elements becomes full in the buffer storage means. 6. The image processing apparatus according to 5.
【請求項7】 要求される色要素を指定する手段を備
え、 前記読出手段は、前記緩衝記憶手段において、前記指定
手段により指定された色要素に対応するデータ蓄積量が
容量一杯となったならば、描画データの読出を中断する
ことを特徴とする請求項5記載の画像処理装置。
7. A device for designating a required color element, wherein said reading means is provided when the data storage amount corresponding to the color element designated by said designation means becomes full in said buffer storage means. 6. The image processing apparatus according to claim 5, wherein the reading of the drawing data is interrupted.
【請求項8】 r、sおよびtをそれぞれ2以上の整数
(ただし、s≧t)とし、 1つのピクセルについて、当該ピクセルの色要素を示す
多値データを、色要素数のr個、色要素毎に配列した描
画データを処理する画像処理装置において、(A) 前記描
画データを記憶するための記憶手段と、(B) 連続する位
置関係にあるs個のピクセルのうち、t個を選択する選
択手段と、(C) 選択されたt個のピクセルに対応する描
画データを、前記記憶手段に1サイクルで書き込む書込
手段とを具備することを特徴とする画像処理装置。
8. Each of r, s, and t is an integer of 2 or more (where s ≧ t), and for one pixel, multi-valued data indicating a color element of the pixel is represented by r color elements, In an image processing apparatus that processes drawing data arranged for each element, (A) storage means for storing the drawing data, and (B) selecting t out of s pixels in a continuous positional relationship An image processing apparatus comprising: a selection unit that performs writing of drawing data corresponding to the selected t pixels into the storage unit in one cycle.
【請求項9】 前記記憶手段は、ピクセルが連続する位
置関係にあるs個の描画データを同一番地で記憶する一
方、 前記書込手段は、当該同一番地を指定することで、前記
s個のピクセルのうち、t個のピクセルに対応する描画
データを書き込むことを特徴とする請求項8記載の画像
処理装置。
9. The storage means stores s pieces of drawing data in which pixels have a continuous positional relationship at the same address, while the writing means specifies the same address to thereby store the s pieces of the s pieces of data. 9. The image processing apparatus according to claim 8, wherein drawing data corresponding to t pixels among the pixels is written.
【請求項10】 w、x、yおよびzをそれぞれ2以上
の整数(ただし、x≧y、x≧z)とし、 1つのピクセルについて、当該ピクセルの色要素を示す
多値データを、色要素数のw個、色要素毎に配列した描
画データを処理する画像処理装置において、(A) 前記描
画データを記憶するための記憶手段と、(B) 書込時にお
いて、連続する位置関係にあるx個のピクセルのうち、
y個を選択する書込選択手段と、(C) 選択されたy個の
ピクセルに対応する描画データを、前記記憶手段に1サ
イクルで書き込む書込手段と、(D) 読出時において、x
個の描画データのうち、ピクセルが連続する位置関係に
あるz個を選択する読出選択手段と、(E) 選択されたz
個の描画データを前記記憶手段から1サイクルで読み出
す読出手段と、(F) 読み出されたz個の描画データの各
々を、それぞれ色要素を示す多値データに分離した後、
1つの色要素について、当該色要素を示す多値データを
ピクセル順に配列させる分離配列手段とを具備すること
を特徴とする画像処理装置。
10. W, x, y, and z are each an integer of 2 or more (where x ≧ y, x ≧ z), and for one pixel, multi-value data indicating a color element of the pixel is represented by a color element. In an image processing apparatus that processes drawing data arranged for each color element, the number w is (A) a storage unit for storing the drawing data, and (B) a continuous positional relationship during writing. Of the x pixels,
writing selection means for selecting y pixels, (C) writing means for writing drawing data corresponding to the selected y pixels to the storage means in one cycle, and (D) x
Reading selection means for selecting z pieces of pixels having a continuous positional relationship among the pieces of drawing data, and (E) selecting the selected z
Reading means for reading out one piece of drawing data from the storage means in one cycle; and (F) separating each of the read out z pieces of drawing data into multivalued data indicating a color element,
An image processing apparatus comprising: a separation arrangement unit that arranges multi-value data indicating one color element in pixel order in one color element.
【請求項11】 前記記憶手段は、連続する位置関係に
あるx個のピクセルに対応する描画データを同一番地で
記憶し、 前記書込手段は、当該同一番地を指定することで、選択
されたy個のピクセルに対応する描画データを書き込
み、 前記読出手段は、当該同一番地を指定することで、選択
されたz個の描画データを読み出すことを特徴とする請
求項10記載の画像処理装置。
11. The storage means stores drawing data corresponding to x pixels having a continuous positional relationship at the same address, and the writing means designates the same address by specifying the same address. The image processing apparatus according to claim 10, wherein drawing data corresponding to y pixels is written, and the reading unit reads the selected z drawing data by designating the same address.
【請求項12】 pおよびqをそれぞれ2以上の整数と
し、 1つのピクセルについて、当該ピクセルの色要素を示す
多値データを、色要素数のp個、色要素毎に配列した描
画データの画像処理方法において、(A) ピクセルが連続
する位置関係にあるq個の描画データを、1サイクルで
読出可能な状態で記憶する過程と、(B) 記憶した前記q
個の描画データを1サイクルで読み出す過程と、(C) 読
み出したq個の描画データの各々を、それぞれ色要素を
示す多値データに分離した後、1つの色要素について、
当該色要素を示す多値データをピクセル順に配列させる
過程とを具備することを特徴とする画像処理方法。
12. An image of drawing data in which, for each pixel, p and q are integers of 2 or more, and for each pixel, p-valued multi-value data indicating the color element of the pixel is arranged for each of the p number of color elements. In the processing method, (A) a step of storing q pieces of drawing data in which pixels have a continuous positional relationship in a readable state in one cycle; and (B) a step of storing the stored q
(C) separating each of the read q pieces of drawing data into multi-valued data indicating a color element, and
Arranging the multi-value data indicating the color element in pixel order.
JP18379196A 1996-07-12 1996-07-12 Image processing apparatus and processing method thereof Expired - Fee Related JP3596644B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18379196A JP3596644B2 (en) 1996-07-12 1996-07-12 Image processing apparatus and processing method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18379196A JP3596644B2 (en) 1996-07-12 1996-07-12 Image processing apparatus and processing method thereof

Publications (2)

Publication Number Publication Date
JPH1027130A true JPH1027130A (en) 1998-01-27
JP3596644B2 JP3596644B2 (en) 2004-12-02

Family

ID=16141998

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18379196A Expired - Fee Related JP3596644B2 (en) 1996-07-12 1996-07-12 Image processing apparatus and processing method thereof

Country Status (1)

Country Link
JP (1) JP3596644B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002204356A (en) * 2000-10-27 2002-07-19 Canon Inc Data processing apparatus, processor and its control method
JP2010166312A (en) * 2009-01-15 2010-07-29 Toshiba Corp Temperature compensation circuit
CN112181876A (en) * 2020-09-28 2021-01-05 北京灵汐科技有限公司 Color image transmission method and device, electronic equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002204356A (en) * 2000-10-27 2002-07-19 Canon Inc Data processing apparatus, processor and its control method
JP2010166312A (en) * 2009-01-15 2010-07-29 Toshiba Corp Temperature compensation circuit
CN112181876A (en) * 2020-09-28 2021-01-05 北京灵汐科技有限公司 Color image transmission method and device, electronic equipment and storage medium
CN112181876B (en) * 2020-09-28 2022-09-02 北京灵汐科技有限公司 Color image transmission method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
JP3596644B2 (en) 2004-12-02

Similar Documents

Publication Publication Date Title
US7602389B2 (en) Graphic processing apparatus and method
JPH07168754A (en) Method for loading and reading of square picture
JPS6085680A (en) Picture processing device
JP3880680B2 (en) A system that converts source images to destination images
US6031546A (en) Image processing apparatus and method
JP4182575B2 (en) Storage device and image data processing device
JP3596644B2 (en) Image processing apparatus and processing method thereof
JPH05135162A (en) Image processor
JPH11306343A (en) Rotational processing device for two-dimensional data
JP3288327B2 (en) Video memory circuit
JPS63292494A (en) Semiconductor memory
JP3093359B2 (en) Line buffering processing circuit
JPS636681A (en) Image memory control device
JP3365068B2 (en) Image processing device
JPH08147458A (en) Memory control unit
JPS62113193A (en) Memory circuit
JPH0527151B2 (en)
JPH11212860A (en) Picture storage device
JP2557630B2 (en) Image reduction device
JPH05234370A (en) Data transfer method of image memory
JPH076087A (en) Method for accessing frame buffer
JPS62127975A (en) Picture memory controller
JPS6198479A (en) Picture processing system
JPH01205280A (en) Picture converter
JPH0528872B2 (en)

Legal Events

Date Code Title Description
A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040901

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20070917

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20080917

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090917

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100917

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees