JP2945028B2 - Image processing designated area information calculation device - Google Patents

Image processing designated area information calculation device

Info

Publication number
JP2945028B2
JP2945028B2 JP15880989A JP15880989A JP2945028B2 JP 2945028 B2 JP2945028 B2 JP 2945028B2 JP 15880989 A JP15880989 A JP 15880989A JP 15880989 A JP15880989 A JP 15880989A JP 2945028 B2 JP2945028 B2 JP 2945028B2
Authority
JP
Japan
Prior art keywords
area information
image processing
area
designated area
storage means
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
JP15880989A
Other languages
Japanese (ja)
Other versions
JPH0316375A (en
Inventor
靖 加茂
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP15880989A priority Critical patent/JP2945028B2/en
Publication of JPH0316375A publication Critical patent/JPH0316375A/en
Application granted granted Critical
Publication of JP2945028B2 publication Critical patent/JP2945028B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、デジタル複写機の画像処理指定領域情報計
算装置に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing designated area information calculation device of a digital copying machine.

従来の技術 複写機において、タブレット等により指定された原稿
中のある領域の内側又は外側につき、その画像を消去又
は移動させる技術(即ち、エディタによるトリミング又
はマスキング技術)は、アナログ複写機の時代から既に
登場し、各種デザイン用途などにおいて広く利用されて
いる。
2. Description of the Related Art In a copying machine, a technique of erasing or moving an image inside or outside a certain area in a document specified by a tablet or the like (that is, trimming or masking by an editor) has been used since the days of analog copying machines. It has already appeared and is widely used in various design applications.

ここに、近年ではデジタル複写機の出現により、より
低価格でエディタ機能を持たせることが可能となり、指
定領域精度も改善されている。更には、デジタル複写機
の持つ画像処理能力との結合により、より広い用途への
活用の可能性を秘めるものでもある。
Here, with the advent of digital copiers in recent years, it has become possible to provide an editor function at a lower price, and the accuracy of the designated area has been improved. Furthermore, the combination with the image processing capability of the digital copying machine has the potential to be used for a wider range of applications.

このようなデジタル複写機用のエディタでの領域指定
方式としては、イレーサ方式とカウンタ方式とがある。
イレーサ方式はアナログ複写機でも用いられているもの
であり、アレイ状のLEDにより感光体上の電荷を落とす
ことによりマスキングやトリミングを行うというもので
ある。カウンタ方式は1つの指定領域に対し主走査、副
走査方向の双方に1つずつのカウンタを用いて指定領域
を計算する方式である。
There are an eraser method and a counter method as an area designation method in such an editor for a digital copying machine.
The eraser system is also used in an analog copying machine, and performs masking and trimming by dropping electric charges on a photoreceptor using an array of LEDs. The counter method is a method of calculating a designated area for one designated area using one counter in each of the main scanning direction and the sub-scanning direction.

発明が解決しようとする課題 何れにしても、従来方式では、アナログ複写機時代と
同じく、主走査、副走査方向に直線的な□や凹等の矩形
形状でしか領域指定できず、指定し得る領域形状に自由
度がないものである。また、指定し得る領域数も少な
い。
In any case, in the conventional method, as in the analog copier era, the area can be specified only in a rectangular shape such as a square or a concave linear in the main scanning and sub-scanning directions. There is no degree of freedom in the area shape. Also, the number of areas that can be specified is small.

課題を解決するための手段 少なくとも主走査方向2ライン分の全読取り画素数の
1/4の画像処理指定領域情報を記憶する容量を持つ領域
情報記憶手段と、画像処理指定領域情報を画像処理ユニ
ットに交互に出力する2段並列接続のシフトレジスタ
と、これらのシフトレジスタの出力切換えを行うセレク
タと、前記領域情報記憶手段から画像処理指定領域情報
をこれらのシフトレジスタに交互に高速転送するダイレ
クトメモリアクセスコントローラと、前記領域情報記憶
手段に記憶された画像処理指定領域情報に基づく1主走
査ライン毎のコピーすべき画像処理領域の計算及び前記
領域情報記憶手段に記憶された領域信号を前記シフトレ
ジスタに交互に転送させるように前記ダイレクトメモリ
アクセスコントローラの制御を行うCPUとにより構成し
た。
Means for Solving the Problems At least the total number of read pixels for two lines in the main scanning direction
Area information storage means having a capacity to store 1/4 of image processing designated area information, two-stage parallel connected shift registers for alternately outputting image processing designated area information to the image processing unit, and outputs of these shift registers A selector for switching, a direct memory access controller for alternately transferring image processing designated area information from the area information storage means to these shift registers at a high speed, and the image processing designated area information stored in the area information storage means. A CPU for controlling the direct memory access controller so as to calculate an image processing area to be copied for each main scanning line and to transfer the area signal stored in the area information storage means to the shift register alternately. did.

作用 領域情報記憶手段に記憶された指定領域情報に基づき
高速で1主走査ライン毎の画像処理領域の計算を行うCP
Uと、領域情報記憶手段に記憶された計算結果なる領域
データをシフトレジスタに高速で転送させるダイレクト
メモリアクセスコントローラが、バスを効率的に使用す
ることになり、シンプルなアーキテクチャ及び小容量で
低コストのメモリ構成で、任意形状の領域指定が可能と
なる。
Action CP for calculating image processing area for each main scanning line at high speed based on designated area information stored in area information storage means
U and a direct memory access controller that transfers the area data, which is the calculation result stored in the area information storage means, to the shift register at high speed, use the bus efficiently, and have a simple architecture, small capacity, and low cost. With this memory configuration, it is possible to specify an area of an arbitrary shape.

実施例 本発明の一実施例を図面に基づいて説明する。Embodiment An embodiment of the present invention will be described with reference to the drawings.

まず、本発明が適用されるデジタル複写機内の画像処
理系の概略を第2図のブロック図により説明する。1は
イメージプロセッシングユニットIPUで、原稿から読取
った画像データの処理を行う。2はスキャナコントロー
ラで、スキャナサーボモータや露光用蛍光灯の制御や、
前記IPU1への処理コマンドの書込み等を行う。3はメイ
ンコントローラで、メインモータの制御等を行う。4は
操作部で、コピー用の基本的操作の入出力を行う。5は
タブレットで領域指定のための入力を行う。6は本実施
例の特徴的な構成による指定領域計算装置(エリアカリ
キュレーションユニット)ACUで、指定領域の計算を行
い、IPU1の処理に同期した領域信号を発生する。
First, an outline of an image processing system in a digital copying machine to which the present invention is applied will be described with reference to a block diagram of FIG. Reference numeral 1 denotes an image processing unit IPU which processes image data read from a document. 2 is a scanner controller, which controls a scanner servomotor and an exposure fluorescent lamp,
The processing command is written into the IPU1. A main controller 3 controls the main motor and the like. Reference numeral 4 denotes an operation unit for inputting and outputting basic operations for copying. Reference numeral 5 denotes a tablet for inputting an area. Reference numeral 6 denotes a designated area calculation device (area calculation unit) ACU having a characteristic configuration of the present embodiment, which calculates a designated area and generates an area signal synchronized with the processing of the IPU1.

このような構成における領域指定情報の流れの概略を
説明する。まず、タブレツト5上に原稿を置き、処理し
たい領域をスタイラスペンによりマーク指定する。この
指定を受け、タブレット5はマークされた位置をX−Y
座標データに変換し、シリアル通信で操作部4に送る。
この時、タブレット5からのX,Y座標データが有効であ
れば、操作部4はタブレット5に対しブザーを鳴らせる
等の信号を返す。有効なX,Y座標データは、操作部4か
らさらにメインコントローラ3、スキャナコントローラ
2を経て、ACU6へ送られ、このACU6内に一旦記憶され
る。指定領域を確定するためのX,Y座標データの全てがA
CU6内に送られると(オペレータが全ての領域指定を終
えると)、オペレータは今後は、これらの指定領域内
(又は指定領域外)についてどのような処理を行うかを
指定する。この指令は、操作部4からメインコントロー
ラ3を経てスキャナコントローラ2に送られ、このスキ
ャナコントローラ2内のCPU(図示せず)はこの指令を
コード化してからIPU1に書込む。
The outline of the flow of the area designation information in such a configuration will be described. First, an original is placed on the tablet 5, and the area to be processed is designated with a stylus pen. In response to this designation, the tablet 5 changes the marked position to XY
The data is converted into coordinate data and sent to the operation unit 4 by serial communication.
At this time, if the X and Y coordinate data from the tablet 5 is valid, the operation unit 4 returns a signal to the tablet 5 such as sounding a buzzer. The valid X, Y coordinate data is sent from the operation unit 4 to the ACU 6 via the main controller 3 and the scanner controller 2, and is temporarily stored in the ACU 6. All X and Y coordinate data for defining the specified area are A
When sent to the CU 6 (when the operator finishes specifying all the areas), the operator specifies what kind of processing is to be performed in (or out of) the specified areas in the future. This command is sent from the operation unit 4 to the scanner controller 2 via the main controller 3, and a CPU (not shown) in the scanner controller 2 codes this command and writes it into the IPU1.

この後、通常のコピー動作に移行する。まず、画像読
取り部7により読取られた画像データはデジタル信号の
状態でIPU1に取り込まれる。画像データは、第3図に示
すように、このIPU1内の補正部8によりシェーディング
補正、MTF補正等を受け、変倍部9により主走査方向に
必要な変倍処理を受ける(副走査方向の変倍はスキャニ
ング速度による)。この後、文字部10、写真部11、中抜
き部12及び反転部13により各々文字モード処理、写真モ
ード処理、中抜き処理、反転処理が並行して行われる。
即ち、実際に要求されている処理に限らず、全ての処理
を同時に行う。各処理を受けた画像データは白データ部
14の白データとともに、IPU1の出力段に設けたセレクタ
15によって、実際に要求された処理を受けたものだけを
選択する。後述するACU6からの領域信号はこのセレクト
信号にゲートされる。
Thereafter, the operation shifts to a normal copy operation. First, the image data read by the image reading unit 7 is taken into the IPU 1 in a state of a digital signal. As shown in FIG. 3, the image data undergoes shading correction, MTF correction, and the like by the correction unit 8 in the IPU 1, and undergoes necessary scaling processing in the main scanning direction by the scaling unit 9 (in the sub-scanning direction). Magnification depends on scanning speed). Thereafter, the character section 10, the photograph section 11, the hollow section 12, and the reversing section 13 perform the character mode processing, the photo mode processing, the hollow processing, and the reversing processing in parallel, respectively.
That is, all the processes are performed simultaneously, not limited to the processes actually requested. Image data that has undergone each process is a white data part
A selector provided at the output stage of IPU1 with 14 white data
15 selects only those that have actually received the requested processing. A region signal from the ACU 6 described later is gated by this select signal.

ここに、例えば第4図に示すように原稿16中、斜線を
施して示す領域を画像処理指定領域17とし、この指定領
域17内を写真モードとし、指定領域17外は白(即ち、指
定領域17内の画像のみを写真モードで取り出す)とする
モード設定した場合を考える。第4図では第n主走査ラ
インについてのデータ選択時を示す。ACU6からの領域信
号がアクティブな部分(指定領域17内)のみ、写真部11
により一律に写真モード処理されたデータ中のデータを
選択し、それ以外の部分では白データ部14からの白デー
タを選択する様子を示している。この結果、全体的にみ
れば、第5図(a)に示すような写真画像を有する原稿
16について、これをタブレット5上で同図(b)に示す
ようにA〜Eの5点をスタイラスペンにより指定する
と、ACU6によってこれらの指定座標により囲まれた任意
形状の指定領域17が計算・記憶され、コピー動作を行う
と、同図(c)に示すように指定領域17内の画像のみが
抽出された写真モード処理したコピー18が得られるとい
うものである。
Here, for example, as shown in FIG. 4, an area indicated by hatching in the document 16 is an image processing designated area 17, the inside of the designated area 17 is a photograph mode, and the outside of the designated area 17 is white (that is, the designated area). Let us consider a case where a mode is set such that only the images in 17 are taken out in the photo mode). FIG. 4 shows a state when data is selected for the nth main scanning line. Only the part where the area signal from ACU 6 is active (within the specified area 17),
Shows that data in the data that has been uniformly subjected to the photo mode processing is selected, and the white data from the white data section 14 is selected in other portions. As a result, as a whole, an original having a photographic image as shown in FIG.
As shown in FIG. 3B, when the user designates the five points A to E on the tablet 5 with the stylus pen, the ACU 6 calculates the designated area 17 of an arbitrary shape surrounded by these designated coordinates. When stored and a copy operation is performed, a copy 18 subjected to the photograph mode processing in which only the image in the designated area 17 is extracted is obtained as shown in FIG.

なお、このIPU1においては、マーカペンによる領域指
定と併用するため、マーカ検出部19も設けられ、このマ
ーカ検出部19による領域信号とACU6側からの領域信号と
がゲート回路20を経てセレクタ15に与えられるよう構成
されている。
In the IPU 1, a marker detecting section 19 is also provided for use in conjunction with the area specification by the marker pen. It is configured to be.

しかして、本実施例の特徴とするACU6の構成を第1図
に示す。まず、タブレット5側からのX,Y座標データを
シリアル通信用ドライバ&レシーバ21を介して取り込む
CPU22が設けられている。このCPU22は画像処理領域の計
算及び後述するDMACの制御を行う。このCPU22には16ビ
ットのデータバス及びアドレスバスにより領域情報記憶
手段としてのスタティックRAM(SRAM)23が接続されて
いる。このSRAM23はタブレット5により指定されたX,Y
座標データ及び領域信号を得るためのデータを格納する
もので、本実施例では1k×16ビットの容量を持つものが
用いられている。また、このSRAM23内のデータを16ビッ
トのパラレルからシリアルに変換して出力する2段並列
の16ビット用のシフトレジスタ24,25が設けられてい
る。また、SRAM23からこれらのシフトレジスタ24,25に
対し交互にデータの転送を高速で実行させるダイレクト
メモリアクセスコントローラDMAC26が設けられている。
このDMAC26は前記CPU22に対しHACKライン及びHREQライ
ンにより接続され、かつ、前記16ビットのデータバス及
びアドレスバスにも接続されている。また、システムプ
ログラムを内蔵したROM27も同一の16ビットデータライ
ン及びアドレスラインに接続されている。さらに、この
DMAC26に対しデータ転送要求のための信号DMAREQ(DMA
リクエスト)を発生させるDMAREQ発生器28が設けられて
いる。また、2つのシフトレジスタ24,25の出力側には
その出力を交互に選択するためのセレクタ29が設けら
れ、領域信号と同期をとるためのラッチ30に出力するよ
うに構成されている。更に、DMAREQ発生器28と同様に、
同期信号PMSYNC,CLKに基づき各部の動作タイミングを制
御するシーケンスコントローラ31が設けられている。
FIG. 1 shows the configuration of the ACU 6 which is a feature of this embodiment. First, the X and Y coordinate data from the tablet 5 is taken in via the serial communication driver & receiver 21.
A CPU 22 is provided. The CPU 22 calculates an image processing area and controls a DMAC described later. A static RAM (SRAM) 23 as area information storage means is connected to the CPU 22 via a 16-bit data bus and address bus. This SRAM23 is X, Y specified by tablet 5.
It stores coordinate data and data for obtaining an area signal. In this embodiment, a data having a capacity of 1 k × 16 bits is used. Further, two-stage parallel 16-bit shift registers 24 and 25 for converting the data in the SRAM 23 from 16-bit parallel data to serial data and outputting the converted data are provided. Further, a direct memory access controller DMAC 26 for alternately executing data transfer from the SRAM 23 to the shift registers 24 and 25 at a high speed is provided.
The DMAC 26 is connected to the CPU 22 by a HACK line and an HREQ line, and is also connected to the 16-bit data bus and address bus. The ROM 27 containing the system program is also connected to the same 16-bit data line and address line. Furthermore, this
A signal DMAREQ (DMA
Request) is provided. A selector 29 for alternately selecting the output is provided on the output side of the two shift registers 24 and 25, and is configured to output the output to a latch 30 for synchronizing with the area signal. Further, similar to the DMAREQ generator 28,
A sequence controller 31 that controls the operation timing of each unit based on the synchronization signals PMSYNC and CLK is provided.

このような構成において、タブレット5側からのX,Y
座標データは、シリアル通信のよってCPU22に入力され
る。この際、本実施例ではシリアルデータがそのままCP
U22に入力されるが、シリアルポートを持たないCPUの場
合であればシリアルコミュニケーションコントローラSC
Cを、CPUのデータバス上に持てばよい。X,Y座標データ
を受信すると、CPU22はそのデータをSRAM23に格納す
る。全ての領域座標データを受信し、SRAM23に格納した
時点で、CPU22は第1主走査ライン分の領域計算を行
い、SRAM23の領域内に相当するアドレスには「1」を書
込み(例えば、第4図や第5図中に斜線を施して示した
部分に相当する)、領域外に相当するアドレスには
「0」を書込む。
In such a configuration, X, Y from the tablet 5 side
The coordinate data is input to the CPU 22 by serial communication. At this time, in this embodiment, the serial data is
Input to U22, but if the CPU does not have a serial port, the serial communication controller SC
What is necessary is just to hold C on the data bus of CPU. Upon receiving the X and Y coordinate data, the CPU 22 stores the data in the SRAM 23. When all the area coordinate data is received and stored in the SRAM 23, the CPU 22 performs an area calculation for the first main scanning line, and writes “1” to an address corresponding to the area in the SRAM 23 (for example, the fourth area). In FIG. 5 and FIG. 5, "0" is written in an address corresponding to an area outside the area.

そして、コピー動作がスタートすると、まず、DMAC26
はSRAM23中の領域信号の最初の1ワード(16ビット)を
一方のシフトレジスタ24にロードさせる。そして、この
データは画像データと同期してシリアル信号に変換さ
れ、セレクタ29を経て出力される。このシフトレジスタ
24がシリアル出力している間に、DMAC26は領域信号の次
の1ワードを他方のシフトレジスタ25にロードする。先
のシフトレジスタ24が16ビット分出力して終えると、こ
れに続けて、今度はシフトレジスタ25側からシリアルデ
ータが出力される。この間に、次の1ワードはシフトレ
ジスタ24側にロードされる。このような転送動作を繰返
すことにより、途切れることなく領域信号が出力され
る。
When the copy operation starts, first, the DMAC 26
Causes the first shift register 24 to load the first word (16 bits) of the area signal in the SRAM 23. Then, this data is converted into a serial signal in synchronization with the image data, and output via the selector 29. This shift register
While the 24 is serially outputting, the DMAC 26 loads the next word of the area signal into the other shift register 25. After the previous shift register 24 finishes outputting 16 bits, serial data is subsequently output from the shift register 25 side. During this time, the next one word is loaded into the shift register 24 side. By repeating such a transfer operation, the area signal is output without interruption.

ところで、本実施例におけるSRAM23の容量は、主走査
方向2ライン分についての全読取り画素数の1/4程度の
ビット数にて画像処理指定領域情報を記憶する容量を考
慮したものとされている。原稿について主走査方向2ラ
イン分の全読取り画素数とは、例えば等倍(100%コピ
ー)時に、主走査方向に400dpi(1インチ当り400画
素)の読取り精度を持つ装置では、主走査方向297mm(A
3幅サイズ)とすると、(297/25.4)×400=4677が、主
走査1ライン分の読取り画素数となる。よって、2ライ
ン分の1/4とすると、4677×2×(1/4)=2339ビットの
容量を持つメモリを意味する。1/4は、領域指定の精度
に関係するもので、主走査方向400dpiの読取り精度に対
し1/4の領域指定ビットマップ(メモリ)を持つ時、領
域指定精度は0.25mmとなる。これは、領域指定入力装置
であるタブレット5の精度が現在では約±0.5mm〜±1.0
mm程度であり、また、デジタル複写機に対する画像編集
要求等とを考えた時の1つの適値として定められたもの
である。1/4に代えて、1/2とすれば0.125mmの精度とな
り、1/8とすれば0.5mmの精度となる。
By the way, the capacity of the SRAM 23 in the present embodiment takes into account the capacity to store the image processing designation area information with a bit number of about 1/4 of the total read pixel number for two lines in the main scanning direction. . For example, an apparatus having a reading accuracy of 400 dpi (400 pixels per inch) in the main scanning direction at the same magnification (100% copy) in the main scanning direction means 297 mm in the main scanning direction. (A
(3 width size), (297 / 25.4) × 400 = 4677 is the number of pixels to be read for one line in the main scanning. Therefore, if it is 1/4 of two lines, it means a memory having a capacity of 4677 × 2 × (1/4) = 2339 bits. 1/4 is related to the accuracy of the area designation. When the area designation bitmap (memory) has a quarter of the reading accuracy of 400 dpi in the main scanning direction, the area designation accuracy is 0.25 mm. This means that the accuracy of the tablet 5, which is an area designation input device, is currently about ± 0.5 mm to ± 1.0 mm.
mm, and is determined as one appropriate value when considering an image editing request or the like to the digital copying machine. Instead of 1/4, 1/2 will give 0.125mm accuracy, and 1/8 will give 0.5mm accuracy.

また、本発明において、主走査2ライン分を問題にす
るのは、ある1ライン分についてCPU22がその領域計算
を行っている間に他方の1ライン分につては領域信号の
出力を専門に行わせるためである。
Also, in the present invention, the reason why two main scanning lines are taken into consideration is that the CPU 22 specializes in outputting a region signal for one line while the CPU 22 performs the region calculation for the other line. It is to make it.

ところで、本実施例にあっては、シフトレジスタ24,2
5のシフトクロックは、上記のように領域指定の精度を
±0.25mmとするため、IPU1における画像処理クロックの
1/4となる周波数に落としてある。即ち、画像データは
主走査方向に画素1,2,3,…の順に処理されるが、領域信
号は画素信号に同期しつつ1/4に分周したクロックで処
理しなければならないからである。このため、第6図に
示すようにシーケンスコントローラ31中には画素クロッ
クCLKを1/4に分周する1/4分周器32が設けられ、分周さ
れたクロックがシフトレジスタ24,25のクロックとして
入力されている。よって、画像処理クロックを例えば10
MHzとすると、シフトクロックは2.5MHzとなり、1ワー
ド=16ビットの画像領域信号を全て出力するのに要する
時間は、(1/2.5MHz)×16=6.4μsecとなる。ここに、
SRAM23からシフトレジスタ24又は25へのデータ転送のた
めのDMAサイクルは、この間に行なわれるが、DMAC26及
びCPU22の動作クロックを8MHz程度にすれば、DMAサイク
ルはこの6.4μsec中の僅かな時間で済む。そして、残り
の時間で、CPU22が次の主走査ラインの領域計算を行いS
RAM23に領域信号を書込ませることができる。
By the way, in the present embodiment, the shift registers 24, 2
As described above, the shift clock of 5 uses the image processing clock of the IPU1 in order to make the accuracy of area specification ± 0.25 mm as described above.
The frequency is reduced to 1/4. That is, the image data is processed in the main scanning direction in the order of the pixels 1, 2, 3,..., But the area signal must be processed with a clock that is frequency-divided by 1/4 while synchronizing with the pixel signal. . Therefore, as shown in FIG. 6, a 1/4 frequency divider 32 for dividing the pixel clock CLK by 1/4 is provided in the sequence controller 31, and the frequency-divided clock is supplied to the shift registers 24 and 25. Input as clock. Therefore, the image processing clock is set to, for example, 10
Assuming MHz, the shift clock is 2.5 MHz, and the time required to output all the image area signals of 1 word = 16 bits is (1 / 2.5 MHz) × 16 = 6.4 μsec. here,
The DMA cycle for data transfer from the SRAM 23 to the shift register 24 or 25 is performed during this time. . Then, in the remaining time, the CPU 22 calculates the area of the next main scanning line and executes S.
The area signal can be written in the RAM 23.

なお、シーケンスコントローラ31中、1/16分周器33は
シフトレジスタ24,25の16ビットデータについてパラレ
ル−シリアル変換するためのタイミングクロックCLKINT
を生成するためのものである。34はラッチである。
In the sequence controller 31, the 1/16 frequency divider 33 is a timing clock CLKINT for performing parallel-serial conversion on the 16-bit data of the shift registers 24 and 25.
Is to be generated. 34 is a latch.

第7図は、SRAM23を2kバイト構成した場合のアドレス
マップの一例を示す。即ち、400H〜600Hのアドレスがタ
ブレット5からのX,Y座標データの格納に割当てられ、0
00H〜100HのアドレスがCPU22により計算された主走査ラ
イン中の奇数ラインの領域信号の格納に割当てられ、20
0H〜300HのアドレスがCPU22により計算された主走査ラ
イン中の偶数ラインの領域信号の格納に割当てられてい
る。
FIG. 7 shows an example of an address map in the case where the SRAM 23 has a 2 kbyte configuration. That, 400 H to 600 addresses H is from the tablet 5 X, assigned to store the Y coordinate data, 0
00 addresses H to 100 H is assigned to store the odd-numbered lines in the region signal in the main scan lines that are calculated by the CPU 22, 20
0 address of H to 300 H are assigned to store the even-numbered lines of the area signal in the main scan lines that are calculated by the CPU 22.

また、第1図及び第6図構成におけるシフトレジスタ
24,25の動作制御及びDMAサイクルの一例のタイミングチ
ャートを第8図に示す。
Also, the shift register in the configuration shown in FIGS.
FIG. 8 shows a timing chart of an example of the operation control of the 24 and 25 and the DMA cycle.

発明の効果 本発明は、上述したように構成したので、領域情報記
憶手段に記憶された指定領域情報に基づき高速で領域計
算を行うCPUと、領域情報記憶手段に記憶された計算結
果なる領域信号をシフトレジスタに高速で転送させるダ
イレクトメモリアクセスコントローラとが、バスを効率
的に使用することになり、シンプルなアーキテクチャ及
び少なくとも主走査方向2ライン分の全読取り画素数の
画像処理指定領域情報を記憶すればよい小容量で低コス
トのメモリ構成で、任意形状で任意個数の領域指定を可
能とすることができる。
Effect of the Invention The present invention is configured as described above, so that a CPU that performs high-speed area calculation based on designated area information stored in the area information storage means, and an area signal that is a calculation result stored in the area information storage means Direct memory access controller that transfers data to the shift register at high speed, uses the bus efficiently, and stores a simple architecture and image processing designated area information of the total number of read pixels for at least two lines in the main scanning direction. With a small-capacity and low-cost memory configuration, it is possible to specify an arbitrary number of areas in an arbitrary shape.

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

図面は本発明の一実施例を示すもので、第1図はブロッ
ク図、第2図は全体構成の概略を示すブロック図、第3
図はIPU構成を示すブロック図、第4図は画像処理例を
示すタイミングチャート、第5図は画像処理例を示す説
明図、第6図はシーケンスコントローラ構成を示すブロ
ック図、第7図はRAMのアドレスマップ、第8図はタイ
ミングチャートである。 22……CPU、23……領域情報記憶手段、24,25……シフト
レジスタ、26……ダイレクトメモリアクセスコントロー
ラ、29……セレクタ
1 is a block diagram, FIG. 2 is a block diagram showing an outline of the overall configuration, and FIG.
FIG. 4 is a block diagram showing an IPU configuration, FIG. 4 is a timing chart showing an example of image processing, FIG. 5 is an explanatory diagram showing an example of image processing, FIG. 6 is a block diagram showing a sequence controller configuration, and FIG. FIG. 8 is a timing chart. 22 ... CPU, 23 ... area information storage means, 24, 25 ... shift register, 26 ... direct memory access controller, 29 ... selector

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】少なくとも主走査方向2ライン分の全読取
り画素数の画像処理指定領域情報を記憶する容量を持つ
領域情報記憶手段と、画像処理指定領域情報を画像処理
ユニットに交互に出力する2段並列接続のシフトレジス
タと、これらのシフトレジスタの出力切換えを行うセレ
クタと、前記領域情報記憶手段から画像処理指定領域情
報をこれらのシフトレジスタに交互に高速転送するダイ
レクトメモリアクセスコントローラと、前記領域情報記
憶手段に記憶された画像処理指定領域情報に基づく1主
走査ライン毎のコピーすべき画像処理領域の計算及び前
記領域情報記憶手段に記憶された領域信号を前記シフト
レジスタに交互に転送させるように前記ダイレクトメモ
リアクセスコントローラの制御を行うCPUとよりなるこ
とを特徴とする画像処理指定領域情報計算装置。
1. An area information storage means having a capacity for storing image processing designated area information of a total number of read pixels of at least two lines in the main scanning direction, and alternately outputting the image processing designated area information to the image processing unit. A stage-parallel connected shift register, a selector for switching output of these shift registers, a direct memory access controller for alternately transferring image processing designated area information from the area information storage means to these shift registers at high speed, and Calculation of an image processing area to be copied for each main scanning line based on the image processing designated area information stored in the information storage means and area signals stored in the area information storage means are alternately transferred to the shift register. An image characterized by comprising a CPU that controls the direct memory access controller Management designated area information computing device.
JP15880989A 1989-03-16 1989-06-21 Image processing designated area information calculation device Expired - Lifetime JP2945028B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15880989A JP2945028B2 (en) 1989-03-16 1989-06-21 Image processing designated area information calculation device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP6447889 1989-03-16
JP1-64478 1989-03-16
JP15880989A JP2945028B2 (en) 1989-03-16 1989-06-21 Image processing designated area information calculation device

Publications (2)

Publication Number Publication Date
JPH0316375A JPH0316375A (en) 1991-01-24
JP2945028B2 true JP2945028B2 (en) 1999-09-06

Family

ID=26405589

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15880989A Expired - Lifetime JP2945028B2 (en) 1989-03-16 1989-06-21 Image processing designated area information calculation device

Country Status (1)

Country Link
JP (1) JP2945028B2 (en)

Also Published As

Publication number Publication date
JPH0316375A (en) 1991-01-24

Similar Documents

Publication Publication Date Title
EP0326137A2 (en) Image processing system
US5195174A (en) Image data processing apparatus capable of composing one image from a plurality of images
JPH0559475B2 (en)
JPH04252562A (en) Picture processing unit
JP2945028B2 (en) Image processing designated area information calculation device
JP2945027B2 (en) Image processing designated area information calculation device
JPH10210251A (en) Image memory access method, image forming device, image forming and storage device, address generating method and address generator
US6628289B1 (en) Rendering apparatus and method, and storage medium
JPH06334834A (en) Picture processing unit
JPS6217236B2 (en)
US6980701B1 (en) Image processing method and apparatus capable of rotating and reversing an input image
US5583955A (en) Image processing apparatus
US6313929B1 (en) Image processing apparatus
JP3064305B2 (en) Digital copier
JPH01177272A (en) Picture processor
JPS6249570A (en) Picture processor
JPS5981962A (en) Picture processor
JPS63142964A (en) Image input device
JPS62264344A (en) Address controller
JP2721154B2 (en) Image processing device
JP2903214B2 (en) Area designation device
JPH0750512B2 (en) Image processing device
JP2537851B2 (en) Image scaling processor
JPS6346872A (en) Image processing device
JP3039657B2 (en) Image processing device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080625

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090625

Year of fee payment: 10

EXPY Cancellation because of completion of term