JPH04314260A - Picture processor - Google Patents
Picture processorInfo
- Publication number
- JPH04314260A JPH04314260A JP7963791A JP7963791A JPH04314260A JP H04314260 A JPH04314260 A JP H04314260A JP 7963791 A JP7963791 A JP 7963791A JP 7963791 A JP7963791 A JP 7963791A JP H04314260 A JPH04314260 A JP H04314260A
- Authority
- JP
- Japan
- Prior art keywords
- data
- format
- shuttle
- raster
- printer
- 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.)
- Withdrawn
Links
- 238000006243 chemical reaction Methods 0.000 abstract description 9
- 238000010586 diagram Methods 0.000 description 4
- 230000002093 peripheral effect Effects 0.000 description 3
- 238000000034 method Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000009499 grossing Methods 0.000 description 1
Abstract
Description
【0001】0001
【産業上の利用分野】本発明は画像処理装置に関し、特
に画像情報を入力し所定の処理を行なつて出力するメモ
リ制御技術に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus, and more particularly to a memory control technique for inputting image information, performing predetermined processing, and outputting the resultant image information.
【0002】0002
【従来の技術】一般に、コンピユータと周辺機器装置と
の間にはバツフアメモリを設けており、このメモリによ
つてコンピユータと周辺機器の両者の処理速度の差や転
送速度の差を吸収している。周辺機器装置が画像データ
の入力機器及び出力機器では、画像の走査形式がラスタ
ー形式の場合がほとんどを占めている。2. Description of the Related Art Generally, a buffer memory is provided between a computer and a peripheral device, and this memory absorbs differences in processing speed and transfer speed between the computer and the peripheral device. In most peripheral devices that are image data input and output devices, the image scanning format is raster format.
【0003】0003
【発明が解決しようとしている課題】しかしながら、上
記従来例では、スキヤナ及びプリンタの画像の走査形式
が、一般的なラスター形式ではなく、図2に示すような
形式(以後シヤトル形式と呼ぶ)である場合には、コン
ピユータ側のラスター形式とスキヤナ/プリンタ側のシ
ヤトル形式の間の走査方向の縦横変換と、重複データの
処理が必要となる。[Problems to be Solved by the Invention] However, in the above conventional example, the image scanning format of the scanner and printer is not a general raster format but a format as shown in FIG. 2 (hereinafter referred to as shuttle format). In some cases, it is necessary to perform horizontal and vertical conversion in the scanning direction between the raster format on the computer side and the shuttle format on the scanner/printer side, and to process duplicate data.
【0004】以下、シヤトル形式について、詳しく述べ
る。[0004] The shuttle format will be described in detail below.
【0005】図2において、201は原稿または用紙の
1ページを表している。202はセンサまたはプリンタ
のヘツドを表し、このヘツド201自体は204の矢印
で示すラスター方向に移動する。一方ヘツド202には
、ラスター方向204とは直角な方向にセンサの各画素
もしくはプリンタヘツドのノズルが並んでおり、データ
は203の矢印で示す縦方向で流れる。従つて、一回の
ヘツド201の移動で205で示すメモリのエリアNo
.1の部分がスキヤンまたはプリントされる。このよう
なシヤトル形式では、コンピユータ側で通常扱うラスタ
ー形式のデータにするために、各エリアごとに縦横変換
が必要である。[0005] In FIG. 2, 201 represents one page of a manuscript or paper. 202 represents the head of a sensor or printer, and this head 201 itself moves in the raster direction indicated by the arrow 204. On the other hand, in the head 202, each pixel of the sensor or the nozzle of the printer head is lined up in a direction perpendicular to the raster direction 204, and data flows in the vertical direction shown by the arrow 203. Therefore, by moving the head 201 once, the memory area number 205 can be changed.
.. Part 1 is scanned or printed. In such a shuttle format, vertical and horizontal conversion is required for each area in order to convert the data into raster format data that is normally handled by the computer.
【0006】さらに、ヘツド202のように1ページを
エリアに分けたために、画像処理において、前後のエリ
アの数ラスターラインを必要とする場合が生じる。例え
ば、スムージング処理などで、注目画素の周辺を参照す
る場合に、エリアの上または下の部分では、前または後
のエリアのデータを参照しなくてはならない。このこと
を考慮し、シヤトル形式ではスキヤナからのデータは、
矢印203の縦方向に余分に付加され、プリンタへのデ
ータも、プリンタヘツドそのものには重複分のノズルは
ないが、プリンタへ送るデータとしては内部の処理のた
めに矢印203の方向に余分にデータを付加しなければ
ならない。従つて、206に示されるように、各走査ご
とにデータの重複が生じ、縦横変換もこの大きさの単位
で行なう必要がある。Furthermore, because one page is divided into areas like the head 202, several raster lines for the preceding and succeeding areas may be required in image processing. For example, when referring to the vicinity of a pixel of interest in smoothing processing, etc., it is necessary to refer to the data of the previous or subsequent area in the upper or lower part of the area. Considering this, in shuttle format, data from Sukiyana is
Extra data is added in the vertical direction of arrow 203, and although there is no overlapping nozzle in the printer head itself, extra data is added in the direction of arrow 203 for internal processing as data sent to the printer. must be added. Therefore, as shown at 206, data overlap occurs for each scan, and vertical/horizontal conversion must also be performed in units of this size.
【0007】本発明は、上述した従来例の欠点に鑑みて
なされたものであり、その目的とするところは、シヤト
ル形式のI/Fを持ち、1回のシヤトルスキヤンの間は
ヘツドを止められない。つまり、データを連続して受け
とる、もしくは供給しなければならないようなスキヤナ
/プリンタ装置とホストとなるコンピユータとを接続す
る際のバツフアを最小限のメモリ量で構成できる画像処
理装置を提供する点にある。The present invention has been made in view of the above-mentioned drawbacks of the conventional example, and its object is to have a shuttle-type I/F so that the head cannot be stopped during one shuttle scan. do not have. In other words, the objective is to provide an image processing device that can configure a buffer with a minimum amount of memory when connecting a scanner/printer device that must continuously receive or supply data to a host computer. be.
【0008】[0008]
【課題を解決するための手段】上述した課題を解決し、
目的を達成するため、本発明に係る画像処理装置は、デ
ータを記憶する記憶手段と、前記記憶手段をラスター形
式でアクセスする第1のアクセス手段と、前記記憶手段
をシヤトル形式でアクセスする第2のアクセス手段と、
前記第1のアクセス手段と前記第2のアクセス手段とを
切り換えて前記記憶手段を制御する制御手段とを備える
ことを特徴とする。[Means for solving the problem] Solving the above problems,
To achieve the object, an image processing apparatus according to the present invention includes a storage means for storing data, a first access means for accessing the storage means in a raster format, and a second access means for accessing the storage means in a shuttle format. means of access, and
It is characterized by comprising a control means for controlling the storage means by switching between the first access means and the second access means.
【0009】[0009]
【作用】かかる構成によれば、第1のアクセス手段はデ
ータを記憶する為の記憶手段をラスター形式でアクセス
し、第2のアクセス手段は記憶手段をシヤトル形式でア
クセスし、制御手段は第1のアクセス手段と第2のアク
セス手段とを切り換えて記憶手段を制御する。[Operation] According to this structure, the first access means accesses the storage means for storing data in raster format, the second access means accesses the storage means in shuttle format, and the control means accesses the storage means for storing data in raster format. The storage means is controlled by switching between the first access means and the second access means.
【0010】0010
【実施例】以下に、添付図面を参照して、本発明の好適
な実施例を詳細に説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
【0011】図1は本発明に係る画像処理装置の一実施
例を示すブロツク図である。同図において、1は本実施
例の画像処理装置を示し、107,108は本装置1と
接続されたホストコンピユータ、スキヤナ/プリンタ装
置をそれぞれ示している。本装置1において、109は
データバス、110はアドレスバス、106は本装置全
体の制御を行うCPUをそれぞれ示している。100は
バツフアメモリで、101のメインブロツクと102の
サブブロツクとを有している。103はデータバス及び
アドレスバスのためのセレクタで、CPU104の指示
によりバツフアメモリ100へのバスをCPU側とビデ
オ側に切替えることができる。CPU側はラスター形式
のホストコンピユータ107側であり、ビデオ側はシヤ
トル形式のスキヤナ/プリンタ装置108側である。ま
た105はホストコンピユータ107との通信を行うた
めの外部IF(インターフエース)、106はスキヤナ
/プリンタ装置108との通信を行うビデオI/Fをそ
れぞれ示している。121はROMで、CPU104を
動作させるためのプログラムである図5のフローチヤー
トに従うプログラム等を格納している。122はRAM
で、ROM121のプログラムのワークエリアとして機
能する。FIG. 1 is a block diagram showing an embodiment of an image processing apparatus according to the present invention. In the figure, 1 indicates the image processing device of this embodiment, and 107 and 108 indicate a host computer and a scanner/printer device connected to the device 1, respectively. In the device 1, 109 is a data bus, 110 is an address bus, and 106 is a CPU that controls the entire device. A buffer memory 100 has a main block 101 and a sub-block 102. 103 is a selector for a data bus and an address bus, and can switch the bus to the buffer memory 100 between the CPU side and the video side according to instructions from the CPU 104. The CPU side is the raster format host computer 107 side, and the video side is the shuttle format scanner/printer device 108 side. Further, 105 indicates an external IF (interface) for communicating with the host computer 107, and 106 indicates a video I/F for communicating with the scanner/printer device 108. 121 is a ROM which stores a program for operating the CPU 104, such as a program according to the flowchart of FIG. 122 is RAM
It functions as a work area for the program in the ROM 121.
【0012】以上の構成にかかる動作を説明する。The operation of the above configuration will be explained.
【0013】図5は本実施例の画像処理動作を説明する
フローチヤートである。FIG. 5 is a flowchart illustrating the image processing operation of this embodiment.
【0014】まず、スキヤン時において、スキヤナ/プ
リンタ装置108のスキヤナ部より画像データがシヤト
ル形式で送られる。ビデオI/F106は、アドレスを
発生させて、送られた画像データをバツフアメモリ10
0のメインブロツク101及びサブブロツク102に書
き込む(ステツプS2)。このときセレクタ103によ
つてデータバス109及びアドレスバス110は、ビデ
オI/F106側に設定されている(ステツプS1)。
次に、セレクタ103がデータバス109とアドレスバ
ス110はCPU104側、すなわち、外部I/F10
5側に設定され(ステツプS3)、CPU104がメイ
ンブロツク101からラスター形式でデータを読み出し
、外部I/F105へ転送する。この外部I/F105
は例えばSCSIなどである。そしてホストコンピユー
タ107へ画像が転送される(ステツプS4)。このと
きサブブロツク102のデータは捨てられている。以上
の動作がスキヤナ入力終了まで繰り返し行われる(ステ
ツプS5)。First, during scanning, image data is sent in a shuttle format from the scanner section of the scanner/printer device 108. The video I/F 106 generates an address and transfers the sent image data to the buffer memory 10.
0 main block 101 and sub-block 102 (step S2). At this time, the data bus 109 and address bus 110 are set to the video I/F 106 side by the selector 103 (step S1). Next, the selector 103 connects the data bus 109 and address bus 110 to the CPU 104 side, that is, to the external I/F 10.
5 side (step S3), the CPU 104 reads data in raster format from the main block 101, and transfers it to the external I/F 105. This external I/F105
is, for example, SCSI. The image is then transferred to the host computer 107 (step S4). At this time, the data of subblock 102 is discarded. The above operations are repeated until the scanner input is completed (step S5).
【0015】プリント時の動作は、ホストコンピユータ
107よりラスター画像を外部I/F105に送られる
。セレクタ3はCPU104、すなわち、外部I/F側
105にバスを設定し(ステツプS6)、CPU104
は画像データをメインブロツク101とサブブロツク1
02へそれぞれラスター形式で書き込む(ステツプS7
)。次にセレクタ103によりバスをビデオI/F10
6側に切替え(ステツプS8)、ビデオI/F106は
ブロツク101,102よりシヤトル形式でデータを読
みとり、スキヤナ/プリンタ装置108のプリンタ部へ
転送する(ステツプS9)。以上の動作をプリント終了
まで繰り返し行う(ステツプS10)。以上のプリント
時におけるバツフアメモリ100へのアクセスをより詳
細に示したものが図3である。同図において、(3)の
状態はビデオI/F106がデータを矢印のようにシヤ
トル形式で読み出す。次に、(1)の状態でBで示すサ
ブバツフアのデータをA1で示すメインバツフアの部分
に複写する。次に、(2)の状態でCPU104がラス
ター形式でA2で示すメインバツフアの部分とサブバツ
フアBにデータを書き込む。この3つのステツプを繰り
返すことで、縦横変換と重複データの重複読みが実現さ
れる。In printing operations, a raster image is sent from the host computer 107 to the external I/F 105. The selector 3 sets the bus to the CPU 104, that is, the external I/F side 105 (step S6), and
The image data is divided into main block 101 and sub-block 1.
02 in raster format (step S7)
). Next, the selector 103 connects the bus to the video I/F 10.
6 side (step S8), the video I/F 106 reads data in shuttle format from blocks 101 and 102, and transfers it to the printer section of the scanner/printer device 108 (step S9). The above operations are repeated until printing is completed (step S10). FIG. 3 shows in more detail the access to the buffer memory 100 during printing as described above. In the figure, in state (3), the video I/F 106 reads data in shuttle format as shown by the arrow. Next, in the state (1), the data of the sub-buffer indicated by B is copied to the main buffer section indicated by A1. Next, in the state (2), the CPU 104 writes data in the main buffer portion indicated by A2 and the sub buffer B in raster format. By repeating these three steps, vertical/horizontal conversion and redundant reading of duplicate data are realized.
【0016】図4は本実施例によるバツフアメモリ10
0の構成を示す外観斜視図である。バツフアメモリ10
0の構成は、アドレスの与え方のみで縦横変換を行うた
めに、1画素はRGBXまたはCMYKの各色8bit
、、すなわち32bitで構成される。本実施例におい
ては、一例として、ラスター方向に4096画素、縦方
向は128画素と16画素のように構成する。このとき
の“4096”は400dpiでA4サイズの短い方向
の画素数を越えて、切りの良い値であり、“128”は
プリンタヘツドのノズルの数であり、“16”は画像処
理のための重複データに相当する。このバツフアメモリ
100をDRAMで具体的に構成するには、図4に示す
ように、4bitタイプの1MのDRAM(256Kb
it×4bit)を16個でメインブロツクを構成し、
4bitタイプの256KのDRAM(64Kbit×
4bit)を8個でサブブロツクを構成するようにする
。FIG. 4 shows a buffer memory 10 according to this embodiment.
FIG. buffer memory 10
In the configuration of 0, one pixel has 8 bits for each color of RGBX or CMYK in order to perform vertical and horizontal conversion only by how the address is given.
, that is, it is composed of 32 bits. In this embodiment, as an example, there are 4096 pixels in the raster direction, and 128 pixels and 16 pixels in the vertical direction. At this time, "4096" is a good value, exceeding the number of pixels in the short direction of A4 size paper at 400 dpi, "128" is the number of nozzles in the printer head, and "16" is the number of pixels for image processing. Corresponds to duplicate data. To specifically configure this buffer memory 100 with DRAM, as shown in FIG.
The main block is made up of 16 pieces (it x 4 bit),
4-bit type 256K DRAM (64Kbit×
4 bits) to constitute a sub-block.
【0017】以上説明したように、本実施例によれば、
ラスター形式とシヤトル形式とによる縦横変換と、重複
データの処理を、最小のメモリ量で行なうことができ、
ホストコンピユータからは特殊な形式を意識せずにスキ
ヤナ/プリンタを使用できる。As explained above, according to this embodiment,
Vertical and horizontal conversion between raster format and shuttle format and processing of duplicate data can be performed using the minimum amount of memory.
The scanner/printer can be used from the host computer without being aware of the special format.
【0018】さて、上述した実施例では、カラー画像の
場合を示したが、白黒画像でも同様であり、この場合に
は1画素は32bitではなく8bitで構成される。Now, in the above-described embodiment, the case of a color image was shown, but the same applies to a monochrome image, and in this case, one pixel is composed of 8 bits instead of 32 bits.
【0019】また、4096×(128+16)という
バツフアメモリの大きさは128ノズルのヘツドとA4
で400dpiといつたスペツクによるもので、当然シ
ステムの解像度や用紙サイズや、ヘツドのノズルの数に
よつて、異なった大きさのメモリ構成を得る。[0019] Also, the buffer memory size of 4096 x (128 + 16) is equivalent to a head of 128 nozzles and an A4
The specifications are 400 dpi, and of course memory configurations of different sizes can be obtained depending on the system resolution, paper size, and number of nozzles in the head.
【0020】尚、本発明は、複数の機器から構成される
システムに適用しても、1つの機器から成る装置に適用
しても良い。また、本発明はシステム或は装置にプログ
ラムを供給することによつて達成される場合にも適用で
きることは言うまでもない。The present invention may be applied to a system made up of a plurality of devices, or to a device made up of one device. It goes without saying that the present invention can also be applied to cases where the present invention is achieved by supplying a program to a system or device.
【0021】[0021]
【発明の効果】以上説明したように、本発明によれば、
ラスター形式とシヤトル形式の縦横変換と、重複データ
の処理を、最小のメモリ量で行なうことができ、ホスト
コンピユータからは特殊な形式を意識せずにスキヤナ/
プリンタを使用できる。[Effects of the Invention] As explained above, according to the present invention,
Vertical/horizontal conversion between raster format and shuttle format and processing of duplicate data can be performed using the minimum amount of memory, allowing the host computer to perform scanner/
Can use a printer.
【図1】本発明に係る画像処理装置の一実施例を示すブ
ロツク図である。FIG. 1 is a block diagram showing an embodiment of an image processing apparatus according to the present invention.
【図2】一般的なシヤトル形式を説明する図である。FIG. 2 is a diagram illustrating a general shuttle format.
【図3】本実施例によるプリント時のバツフアメモリへ
のアクセスの3つの状態を示した図である。FIG. 3 is a diagram showing three states of access to the buffer memory during printing according to the present embodiment.
【図4】本実施例によるバツフアメモリの構成を示す外
観斜視図である。FIG. 4 is an external perspective view showing the configuration of the buffer memory according to the present embodiment.
【図5】本実施例の画像処理動作を説明するフローチヤ
ートである。FIG. 5 is a flowchart illustrating the image processing operation of this embodiment.
101,103 メインブロツク 102,104 サブブロツク 105 セレクタ 106 CPU 107 外部I/F 108 ビデオI/F 109 ホストコンピユータ 110 スキヤナ/プリンタ 111 データバス 112 アドレスバス 121 ROM 122 RAM 101,103 Main block 102,104 Subblock 105 Selector 106 CPU 107 External I/F 108 Video I/F 109 Host computer 110 Scanner/Printer 111 Data bus 112 Address bus 121 ROM 122 RAM
Claims (1)
段をラスター形式でアクセスする第1のアクセス手段と
、前記記憶手段をシヤトル形式でアクセスする第2のア
クセス手段と、前記第1のアクセス手段と前記第2のア
クセス手段とを切り換えて前記記憶手段を制御する制御
手段とを備えることを特徴とする画像処理装置。1. A storage means for storing data, a first access means for accessing the storage means in a raster format, a second access means for accessing the storage means in a shuttle format, and the first access means for accessing the storage means in a shuttle format. An image processing apparatus comprising: a control means for controlling the storage means by switching between the storage means and the second access means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP7963791A JPH04314260A (en) | 1991-04-12 | 1991-04-12 | Picture processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP7963791A JPH04314260A (en) | 1991-04-12 | 1991-04-12 | Picture processor |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH04314260A true JPH04314260A (en) | 1992-11-05 |
Family
ID=13695612
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP7963791A Withdrawn JPH04314260A (en) | 1991-04-12 | 1991-04-12 | Picture processor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH04314260A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20160072902A (en) | 2014-12-15 | 2016-06-24 | 오스템임플란트 주식회사 | Apparatus for arranging a examinee's head of dental in dental clinic |
-
1991
- 1991-04-12 JP JP7963791A patent/JPH04314260A/en not_active Withdrawn
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20160072902A (en) | 2014-12-15 | 2016-06-24 | 오스템임플란트 주식회사 | Apparatus for arranging a examinee's head of dental in dental clinic |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5493415A (en) | Imgae processing system | |
JPH05250466A (en) | Tile system processing method for simultaneously performing image rotation, extension/reduction and half tone screening | |
US5204752A (en) | Image processing apparatus having shadow composition capability using binary data thinning and thickening circuits and preset thinning and thickening width data | |
JPH04314260A (en) | Picture processor | |
US6980701B1 (en) | Image processing method and apparatus capable of rotating and reversing an input image | |
JPH04314182A (en) | Image processing device | |
JPH08183207A (en) | Method for controlling color image data | |
JPS5981962A (en) | Picture processor | |
JP2513636B2 (en) | Image processing device | |
JPH06284282A (en) | Image forming device | |
JPH11168610A (en) | Image processor | |
JPS59123925A (en) | Address control system | |
JP3129133B2 (en) | Color printing equipment | |
JPS5979673A (en) | Expanding and contracting method of picture | |
JP2715475B2 (en) | Graphic output device | |
JP2803560B2 (en) | Printer control device | |
JP2842011B2 (en) | Image data generation device | |
JP2564521B2 (en) | Computer terminal | |
JPH0863594A (en) | Memory controller for digital image processing | |
JP2908571B2 (en) | Page printer | |
JPS619081A (en) | Print system turning image pattern plane | |
JP3214617B2 (en) | Multi-value image printer | |
JP2002064701A (en) | Processing unit for image rotation | |
JPH06325137A (en) | Image processing system | |
JPH02171082A (en) | Facsimile equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 19980711 |