JPH0374549B2 - - Google Patents

Info

Publication number
JPH0374549B2
JPH0374549B2 JP57190784A JP19078482A JPH0374549B2 JP H0374549 B2 JPH0374549 B2 JP H0374549B2 JP 57190784 A JP57190784 A JP 57190784A JP 19078482 A JP19078482 A JP 19078482A JP H0374549 B2 JPH0374549 B2 JP H0374549B2
Authority
JP
Japan
Prior art keywords
image
data
memory
image data
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP57190784A
Other languages
Japanese (ja)
Other versions
JPS5981962A (en
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 filed Critical
Priority to JP57190784A priority Critical patent/JPS5981962A/en
Publication of JPS5981962A publication Critical patent/JPS5981962A/en
Publication of JPH0374549B2 publication Critical patent/JPH0374549B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof

Description

【発明の詳細な説明】 本発明は、編集機能を有するフアクシミリ、走
査形複写機、画像データを扱えるワードプロセツ
サなど、大容量の画像メモリを有する画像処理装
置に関するものである。今日、半導体技術の発達
により、CPUその他周辺デバイスのLSIのLSIが
安価に入手できるようになり、様様な装置に
CPUが使用されるようになつた。フアクシミリ
や複写機においても例外ではなく、CPUその他
周辺デバイスが頻繁に使用されている。また
CPUの使用により多機能化が可能で文書や画像
の拡大、縮小、回転あるいは編集機能付のフアク
シミリや走査形複写機などが出現している。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an image processing apparatus having a large capacity image memory, such as a facsimile machine having an editing function, a scanning copying machine, and a word processor capable of handling image data. Today, with the development of semiconductor technology, LSIs for CPUs and other peripheral devices can be obtained at low cost, and are used in a variety of devices.
CPU is now used. Facsimile machines and copiers are no exception, and CPUs and other peripheral devices are frequently used. Also
Facsimile machines and scanning copiers have appeared that can be multifunctional through the use of CPUs, and have functions for enlarging, reducing, rotating, and editing documents and images.

従来、画像の拡大処理を行なうには、第1図に
示すように、画像処理の対象たる原画像のデータ
をストアする原画像メモリ1と処理された後の処
理画像のデータをストアする処理画像メモリ2と
を必要としている。すなわち、画像処理回路3
は、原画像メモリ1から原画像データ4を取得
し、拡大の画像処理を行なつた後、処理されたデ
ータを画像処理データ5として処理画像メモリ2
に送る。
Conventionally, in order to carry out image enlargement processing, as shown in FIG. Memory 2 is required. That is, the image processing circuit 3
acquires original image data 4 from original image memory 1, performs enlargement image processing, and then stores the processed data as image processing data 5 in processed image memory 2.
send to

ところで、画像データは非常に多くの情報量を
有しており、例えばA4サイズの1ページ分の画
像を12ドツト/mmの2値化データとした場合、約
10Mビツトのデータとなる。対話型の処理を行う
場合、高速の処理が要求され、画像メモリはアク
セス時間の短い半導体メモリとすることが望まし
いが、このような大容量の半導体メモリはまだま
だ高価である。
By the way, image data has a very large amount of information. For example, if an image for one A4 size page is converted into binary data at 12 dots/mm, approximately
The data will be 10M bits. When performing interactive processing, high-speed processing is required, and it is desirable to use a semiconductor memory with a short access time as the image memory, but such a large-capacity semiconductor memory is still expensive.

従つて、画像の拡大の画像処理を行なうにあた
つて今日まで必要とされていた高価な大容量の半
導体メモリの数を減らして製品のコストダウンを
図ることが望まれている。
Therefore, it is desired to reduce the cost of products by reducing the number of expensive, large-capacity semiconductor memories that have been required to date for image processing for enlarging images.

本発明は以上の如き事情に鑑みて成されたもの
であり、その目的は、画像メモリにストアされて
いる原画像を拡大処理するに際し、高速性を損う
ことなく画像メモリを半減した画像処理装置を提
供することにある。
The present invention has been made in view of the above circumstances, and its purpose is to provide image processing that reduces the image memory by half without sacrificing high speed when enlarging an original image stored in the image memory. The goal is to provide equipment.

以下、本発明を実施例を用いて明らかにする。 The present invention will be explained below using examples.

第2図は本発明の概略を示したものである。8
は画像データの1ライン分を記憶できるラインバ
ツフアであり画像処理回路3の中に設けられてい
る。画像処理手段である画像処理回路3は、ライ
ンバツフア8を介して画像メモリ6から原画像デ
ータ4を取得する。取得した原画像データに所定
の拡大処理をした画像処理回路3は、ラインバツ
フア8を介して再び元の画像メモリ6に画像処理
データ5を戻す。このように、原画像データ4と
画像処理データ5とは同一の画像メモリ6にスト
アされるので、画像用のメモリの数を半減でき
る。ただし、本実施例に用いる画像メモリ6と従
来用いられていた原画像メモリ1、処理画像メモ
リ2とは同等の容量でなければ、本発明の目的を
達成することはできない。たとえメモリの数を減
らしたとしても、それ分メモリの容量を増やすの
であれば、結局、価格的には変わらなくなつてし
まうからである。又、原画像データと処理画像デ
ータとを同一メモリにストアするために画像処理
装置が取扱う情報の絶対量(原画像の情報量)が
減少したのでは性能が低下して不都合である。従
つて、画像メモリ6の記憶容量は、従来の原画像
メモリ1や処理画像メモリ2の記憶容量と同等で
あり、かつ、その同等の記憶容量内に原画像デー
タと処理画像データとをストアしなければならな
い。これを実現する方法については後で詳細に説
明する。
FIG. 2 shows an outline of the present invention. 8
is a line buffer that can store one line of image data, and is provided in the image processing circuit 3. An image processing circuit 3, which is an image processing means, obtains original image data 4 from an image memory 6 via a line buffer 8. The image processing circuit 3, which has performed a predetermined enlargement process on the acquired original image data, returns the image processing data 5 to the original image memory 6 via the line buffer 8. In this way, since the original image data 4 and the image processed data 5 are stored in the same image memory 6, the number of memories for images can be halved. However, unless the image memory 6 used in this embodiment and the conventionally used original image memory 1 and processed image memory 2 have the same capacity, the object of the present invention cannot be achieved. This is because even if you reduce the number of memories, if you increase the memory capacity by that amount, the price will end up being the same. Furthermore, if the absolute amount of information handled by the image processing apparatus (the amount of information of the original image) is reduced because the original image data and processed image data are stored in the same memory, the performance will deteriorate, which is disadvantageous. Therefore, the storage capacity of the image memory 6 is equivalent to that of the conventional original image memory 1 and processed image memory 2, and the original image data and processed image data can be stored within the equivalent storage capacity. There must be. A method for achieving this will be explained in detail later.

第3図に本発明の画像処理装置のブロツク図を
示す。画像メモリ6は前述したように、従来の原
画像メモリ1や処理画像メモリ2と同等の容量を
有する半導体メモリである。7は制御手段である
中央処理装置(CPU)、9はアドレスパス、10
はデータパス、11はコントロールバスである。
画像処理回路3は、画像メモリ6の主走査方向
(第5図矢印m)の1ライン分の画像データを処
理する機能を有する。CPU7は、画像メモリ6
上の処理領域のアドレスをアドレスパス9を介し
て制御し、画像データを、画像メモリ6と画像処
理回路3との間でデータパス10を介して高速転
送制御し、画像処理回路3の処理の起動をコント
ロールバス11を介して制御する等、装置内のバ
ス制御権を有している。
FIG. 3 shows a block diagram of the image processing apparatus of the present invention. As described above, the image memory 6 is a semiconductor memory having a capacity equivalent to that of the conventional original image memory 1 and processed image memory 2. 7 is a central processing unit (CPU) which is a control means, 9 is an address path, and 10 is
is a data path, and 11 is a control bus.
The image processing circuit 3 has a function of processing one line of image data in the main scanning direction (arrow m in FIG. 5) of the image memory 6. CPU 7 is image memory 6
The address of the upper processing area is controlled via the address path 9, the image data is controlled to be transferred at high speed between the image memory 6 and the image processing circuit 3 via the data path 10, and the processing of the image processing circuit 3 is controlled. It has bus control authority within the device, such as controlling startup via the control bus 11.

CPUは、処理を開始する場合、まずコントロ
ールバス11を介して、画像処理回路3に処理方
法の情報を送出し、画像処理回路3を起動する。
次に画像メモリ6にストアされている処理される
べき原画像の主走査方向(第5図矢印m)の適当
な1ライン分のデータをデータパス10を介して
画像処理回路3に高速で転送する(一般にDMA
転送)。画像処理回路3は1ライン分の処理が終
了すると処理終了状態となる。CPUは常時、画
像処理回路3の状態を監視しており、処理終了状
態を認識すると、1ライン分の処理データを画像
メモリ6に再び転送する。
When starting processing, the CPU first sends information on the processing method to the image processing circuit 3 via the control bus 11 and starts the image processing circuit 3.
Next, data for one line in the main scanning direction (arrow m in FIG. 5) of the original image to be processed stored in the image memory 6 is transferred at high speed to the image processing circuit 3 via the data path 10. (generally DMA
transfer). When the image processing circuit 3 completes processing for one line, it enters a processing completion state. The CPU constantly monitors the state of the image processing circuit 3, and upon recognizing the completion state of the processing, transfers one line of processed data to the image memory 6 again.

以下、上記した転送・処理動作を第4図を利用
して説明する。8はトグル構成された画像データ
の1ライン分を記憶できるラインバツフアであ
る。12は大、縮小等の画像処理を行なう処理部
である。図中、実線はON状態、破線はOFF状態
を示す。
The above transfer/processing operation will be explained below using FIG. 4. 8 is a line buffer capable of storing one line of toggled image data. 12 is a processing unit that performs image processing such as enlargement and reduction. In the figure, a solid line indicates an ON state, and a broken line indicates an OFF state.

今、処理部12は、ラインバツフアi:aに転
送された1ライン分の画像データを処理しててい
るものとする。この時、ラインバツフア:ibには
次に処理すべき画像データが転送され(i)、同
時に、前の段階で処理され、ラインバツフアo:
bにストアされていた処理データは、画像メモリ
6に再び転送される。処理部12でのラインバツ
フアi:aの画像データの処理が終了すると、ス
イツチが切れ替わり、図中の実線と破線の状態が
逆転する。スイツチが切り替わると、画像メモリ
6からラインバツフアi:bに転送されていた画
像データの処理が行なわれる。同時に、ラインバ
ツフアi:aには次に処理すべき画像データが転
送され、ラインバツフアo:aからは処理データ
が画像メモリ6に送り出される。以上の動作が繰
り返し行なわれることにより、処理の高速化が図
れる。すなわち、バツフアをトグル構成で用いな
い場合は、データの読み込み時間と画像処理時間
とデータの転送時間とを合計した時間が必要とな
るが、本実施例においては、画像を処理している
間にデータの読み込みとデータの転送を行なつて
いるため、実時間は画像処理時間に相当し、デー
タ読み込み時間とデータ転送時間とを合計した時
間だけ短縮される。
It is assumed that the processing unit 12 is currently processing one line of image data transferred to the line buffer i:a. At this time, the image data to be processed next is transferred to the line buffer ib (i), and at the same time, the image data processed in the previous stage is transferred to the line buffer o:
The processed data stored in b is transferred to the image memory 6 again. When the processing of the image data of the line buffer i:a in the processing section 12 is completed, the switch is switched and the states of the solid line and the broken line in the figure are reversed. When the switch is switched, the image data transferred from the image memory 6 to the line buffer i:b is processed. At the same time, image data to be processed next is transferred to line buffer i:a, and processed data is sent to image memory 6 from line buffer o:a. By repeating the above operations, processing speed can be increased. In other words, if the buffer is not used in a toggle configuration, the total time of data loading time, image processing time, and data transfer time is required, but in this embodiment, while processing the image, Since data is read and data is transferred, the real time corresponds to the image processing time, and is reduced by the sum of the data read time and data transfer time.

次に処理データを画像メモリ6に再び送り返す
動作を説明する。この場合、画像メモリ6上の未
処理ラインに処理データをストアすると原画像が
破壊されるので、これを避けることが必要であ
る。
Next, the operation of sending the processed data back to the image memory 6 will be explained. In this case, storing processed data in unprocessed lines on the image memory 6 will destroy the original image, so it is necessary to avoid this.

以下、この方法を図面を用いて説明する。 This method will be explained below using the drawings.

第5図の例は原画像13の長方形領域の4端の
うち左上点を基準点15として原画像13を主走
査方向及(矢印m)、副走査方向(矢印s)とも
2倍に拡大する処理を示している。アルゴリズム
は補間法によつており、第6図に示すように、原
画像13の1画素のデータ(例えば第6図aの
1)を主走査方向(矢印m)、副走査方向(矢印
s)にそれぞれ2回ずつ使用(第6図b)するこ
とにより2倍のデータを発生させる。
In the example shown in FIG. 5, the upper left point of the four edges of the rectangular area of the original image 13 is set as the reference point 15, and the original image 13 is enlarged twice in both the main scanning direction (arrow m) and the sub-scanning direction (arrow s). Processing is shown. The algorithm is based on an interpolation method, and as shown in FIG. 6, the data of one pixel of the original image 13 (for example, 1 in FIG. 6 a) is divided into the main scanning direction (arrow m) and the sub-scanning direction (arrow s). By using each of the two times twice (FIG. 6b), twice as much data is generated.

拡大処理の場合は処理データにより原画像13
が破壊されるのを防止するため、基準点15より
最も遠い位置の画像データを含むラインY1から
処理を開始し、基準点15を含むYoラインまで
順次処理する。すなわち、最初に原画像13の
Y1のラインを画像処理回路3に送ると、2倍の
長さの画像データが生じる。これを処理画像の領
域の2つのラインY1′,Y2′にストアする。こうす
ることにより主走査方向(矢印m)にも副走査方
向(矢印s)にも2倍に拡大されたY1のライン
の処理画像を得ることができる。これを順次、
Y2,Y3…のラインについてくり返してゆき、最
後に原画像のYoのラインが処理されて、処理画
像のYo-1,Yo′にストアされる。このようにし
て、すべての原画像データが破壊されずに処理さ
れ、しかも処理画像を原画像と同一の画像メモリ
にストアできる。
In the case of enlargement processing, the original image 13 is
In order to prevent the image data from being destroyed, processing is started from line Y 1 containing image data at the farthest position from reference point 15 and sequentially processed up to line Y o containing reference point 15. That is, first, the original image 13 is
Sending the Y 1 line to the image processing circuit 3 produces image data that is twice as long. This is stored in two lines Y 1 ′ and Y 2 ′ in the area of the processed image. By doing so, it is possible to obtain a processed image of the line Y1 that is doubled in both the main scanning direction (arrow m) and the sub-scanning direction (arrow s). Do this sequentially,
The process is repeated for lines Y 2 , Y 3 . . . , and finally the line Y o of the original image is processed and stored in Y o-1 and Y o ′ of the processed image. In this way, all original image data is processed without being destroyed, and the processed image can be stored in the same image memory as the original image.

以上、説明した如く、本発明によれば、画像メ
モリにストアされている原画像を拡大処理するに
際し、画像メモリにおける基準点より最も遠い位
置の画像データを含むラインの画像データから開
始されるので、高速性を損うことなく画像メモリ
を半減した画像処理装置が実現でき、経済的であ
る。
As described above, according to the present invention, when enlarging the original image stored in the image memory, the process starts from the image data of the line containing the image data at the farthest position from the reference point in the image memory. , it is possible to realize an image processing device in which the image memory is halved without impairing high speed, which is economical.

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

第1図は従来の画像処理装置の概念を示す図、
第2図は本発明の画像処理装置の概念を示す図、
第3図は本発明の画像処理装置のブロツク図、第
4図は本発明に係る画像処理回路のラインバツフ
アの一実施例を示す図、第5図は本発明の画像処
理装置による画像処理(拡大処理)の1例を説明
するための図、第6図は第5図に用いる補間法を
模式化した図である。 1:原画像メモリ、2:処理画像メモリ、3:
画像処理回路、4:原画像データ、5:処理画像
データ、6:画像メモリ、8:ラインバツフア。
FIG. 1 is a diagram showing the concept of a conventional image processing device.
FIG. 2 is a diagram showing the concept of the image processing device of the present invention;
FIG. 3 is a block diagram of the image processing device of the present invention, FIG. 4 is a diagram showing an embodiment of the line buffer of the image processing circuit of the present invention, and FIG. 5 is an image processing (enlarged FIG. 6 is a diagram illustrating an example of the interpolation method used in FIG. 5. 1: Original image memory, 2: Processed image memory, 3:
Image processing circuit, 4: Original image data, 5: Processed image data, 6: Image memory, 8: Line buffer.

Claims (1)

【特許請求の範囲】[Claims] 1 画像データを主走査方向及び副走査方向に記
憶する画像メモリと、前記画像データを処理する
画像処理手段とを有する画像処理装置において、
前記画像処理手段にて前記画像データの主走査方
向のライン毎の拡大処理がされるとき、前記画像
メモリにおける基準点より最も遠い位置の画像デ
ータを含むラインの画像データから拡大処理が開
始され、該基準点を含むラインまで順次拡大処理
がされるとともに、拡大処理された画像データが
順次前記画像メモリに記憶されるよう制御する制
御手段を備えることを特徴とする画像処理装置。
1. An image processing device having an image memory that stores image data in the main scanning direction and the sub-scanning direction, and an image processing means that processes the image data,
When the image processing means performs an enlargement process for each line of the image data in the main scanning direction, the enlargement process is started from the image data of the line containing the image data at the farthest position from the reference point in the image memory, An image processing apparatus characterized by comprising a control means for sequentially performing enlargement processing up to a line including the reference point and for controlling the enlarged image data to be sequentially stored in the image memory.
JP57190784A 1982-11-01 1982-11-01 Picture processor Granted JPS5981962A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57190784A JPS5981962A (en) 1982-11-01 1982-11-01 Picture processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57190784A JPS5981962A (en) 1982-11-01 1982-11-01 Picture processor

Publications (2)

Publication Number Publication Date
JPS5981962A JPS5981962A (en) 1984-05-11
JPH0374549B2 true JPH0374549B2 (en) 1991-11-27

Family

ID=16263674

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57190784A Granted JPS5981962A (en) 1982-11-01 1982-11-01 Picture processor

Country Status (1)

Country Link
JP (1) JPS5981962A (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2558248B2 (en) * 1985-07-26 1996-11-27 キヤノン株式会社 Image processing apparatus and method
JP2676727B2 (en) * 1986-12-29 1997-11-17 松下電器産業株式会社 Image processing device
JP2910769B2 (en) * 1988-04-07 1999-06-23 富士通株式会社 Image address conversion circuit
JPH04276796A (en) * 1991-03-05 1992-10-01 Sharp Corp Character data generation circuit

Also Published As

Publication number Publication date
JPS5981962A (en) 1984-05-11

Similar Documents

Publication Publication Date Title
JP3176150B2 (en) Image processor for printing press
JP3240638B2 (en) Image processing device
US5276799A (en) Expandable electronic subsystem for a printing machine
US5261047A (en) Bus arbitration scheme for facilitating operation of a printing apparatus
US6310986B2 (en) Image rotation assist circuitry and method
JPH0374549B2 (en)
US7321438B2 (en) Parallel processing for a first and second image data from one input image
JPH03276262A (en) Electronic filing device
US20040190037A1 (en) Image processing apparatus, image processing method, and storage medium
JPH0447376A (en) Information processor
JPS5979673A (en) Expanding and contracting method of picture
JPH10208031A (en) Image processor
JP3480184B2 (en) Image processing device
JP2838443B2 (en) Image processing method and apparatus
JPH09214746A (en) Image output system and image forming device
JPH0289185A (en) Picture reader
JPH11146159A (en) Image forming device
JP4061200B2 (en) Image forming system and image forming apparatus
JP3214617B2 (en) Multi-value image printer
JPH04314260A (en) Picture processor
JPH0563959A (en) Method and device for processing picture
JP2964504B2 (en) Document processing device
JP2609274B2 (en) Image output device
JP2004222090A (en) Image forming apparatus
JPH0564820B2 (en)