JPH06311337A - Picture processor - Google Patents

Picture processor

Info

Publication number
JPH06311337A
JPH06311337A JP5093206A JP9320693A JPH06311337A JP H06311337 A JPH06311337 A JP H06311337A JP 5093206 A JP5093206 A JP 5093206A JP 9320693 A JP9320693 A JP 9320693A JP H06311337 A JPH06311337 A JP H06311337A
Authority
JP
Japan
Prior art keywords
memory
signal
pixel
address
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP5093206A
Other languages
Japanese (ja)
Inventor
Arinori Fujita
有紀 藤田
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 JP5093206A priority Critical patent/JPH06311337A/en
Publication of JPH06311337A publication Critical patent/JPH06311337A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain an equipment by which an outside of an area is copied as an erected image by applying mirror image processing only to the inside of the area without limit of a position and number of areas designated by a marker. CONSTITUTION:A picture data generating circuit 30 generates picture data and a marker data signal in the unit of a predetermined picture element and an area recognition circuit 50 discriminates whether a read picture element is resident in a closed loop or at the outside of the closed loop designated by a marker based on a marker data signal. A correction/filter circuit 60 applies correction and filter processing to a picture data signal from the data generating circuit 30 and a mirror image circuit 100 applies mirror image processing to a picture signal via the correction/filter circuit 60. An edit processing circuit 70 applies processing such as color conversion or magnification reduction to an output picture data signal of the mirror image circuit to provide an output signal.

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 such as a facsimile machine for copying machines, and more particularly, it scans a document optically to read image information, and makes a mirror image of the inside of a region designated on the document by a marker or the like. The present invention relates to an image processing device that performs edit processing for outputting the outside as a normal image.

【0002】[0002]

【従来技術】画像を鏡像処理する従来装置としては、ペ
ージメモリに一旦画像を格納し、格納したときとは逆の
順序で読み出すことで鏡像を得るもの(特開昭52−2
2830号公報、特開昭56−27128号公報、特開
昭64−62971号公報)、1ライン分のラインメモ
リに一旦画像データを格納し、格納したときとは逆の順
序で読み出す動作を1ページ分繰り返すことで鏡像を得
るもの(特開昭61−23190号公報)などが提案さ
れている。しかし、これらの従来装置では原稿全体の鏡
像は得られるが、原稿の一部の領域のみを鏡像とし、そ
れ以外の領域を正像とするコピーは得られない。また、
原稿の一部の領域の鏡像を得る装置としては、予めディ
ジタイザなどの領域指定手段により鏡像する位置やサイ
ズを計算しておき、CPUを介して画像データを格納し
たラインメモリの読出アドレスを制御するアドレスカウ
ンタを操作することで原稿の一部の領域の鏡像を得るも
の(特開昭63−215165号公報)が提案されてい
る。
2. Description of the Related Art As a conventional apparatus for processing an image as a mirror image, an apparatus which temporarily stores the image in a page memory and reads it in the reverse order to that when the image is stored to obtain a mirror image (Japanese Patent Laid-Open No. 52-2 / 52-2).
No. 2830, JP-A-56-27128, and JP-A-64-62971), the image data is temporarily stored in the line memory for one line, and the reading operation is performed in the reverse order from the storing operation. There has been proposed one that obtains a mirror image by repeating a page (Japanese Patent Laid-Open No. 61-23190). However, although these conventional apparatuses can obtain a mirror image of the entire original, a copy cannot be obtained in which only a partial area of the original is a mirror image and the other area is a normal image. Also,
As an apparatus for obtaining a mirror image of a partial area of a document, the position and size of the mirror image are calculated in advance by an area designating unit such as a digitizer, and the read address of the line memory storing the image data is controlled via the CPU. Japanese Patent Laid-Open No. 63-215165 proposes a mirror image of a part of an original by operating an address counter.

【0003】しかし、近年原稿の一部の領域を編集加工
する機能の要求が高まると同時に、その領域に対する指
定方法の簡略化の要求から、マーカによる領域の指定が
一般的になっている。前述の特開昭63−215165
号公報に記載の技術は、予めディジタイザなどの領域指
定手段により鏡像する位置やサイズを計算しておくもの
であり、マーカによる領域の指定には対応できない。そ
の理由はマーカによる領域の指定の場合、予め鏡像する
位置やサイズを計算しておくことは困難であるからであ
る。マーカによる指定領域を認識する方法としては、コ
ピーの際に一旦プリスキャンをしてマーカによる指定領
域の位置やサイズを検出する方法(特開平2−2857
69号公報、特開平3−54969号公報)が提案され
ているが、これらの方法では、1つの領域しかその位置
やサイズが検出できない。
However, in recent years, the demand for the function of editing and processing a part of the original has increased, and at the same time, the designation of the region by the marker has become popular because of the demand for simplification of the designation method for the region. The above-mentioned JP-A-63-215165.
The technique disclosed in Japanese Patent Laid-Open Publication No. 2003-242242 is such that the position and size of the mirror image are calculated in advance by an area designating means such as a digitizer, and cannot address the area designation by a marker. The reason is that it is difficult to calculate the position and size of the mirror image in advance when the area is designated by the marker. As a method of recognizing the designated area by the marker, a method of once performing a pre-scan at the time of copying to detect the position and size of the designated area by the marker (Japanese Patent Laid-Open No. 2-2857).
No. 69 and Japanese Patent Application Laid-Open No. 3-54969), these methods can detect the position and size of only one area.

【0004】[0004]

【発明が解決しようとする課題】仮に、前述のマーカに
よる指定領域の位置やサイズを検出する方法を改良して
複数のマーカ領域の位置やサイズが検出できるように
し、特開昭63−215165号公報に記載の技術と組
み合わせて原稿の複数の領域の鏡像を得るようにしたと
しても以下のような問題が残る。その第1は、マーカ領
域の位置やサイズの検出手段においても、また鏡像処理
回路においても、予めマーカの指定領域数に応じてレジ
スタ等のハードウェアを用意しておかなけれなならず、
マーカによる指定領域の制限があるということである。
更に、多数の領域を可能とするためには、それだけハー
ドウェアの規模も大きくなり、コストもアップする。
Provisionally, the method for detecting the position and size of a designated area by the above-mentioned marker is improved so that the position and size of a plurality of marker areas can be detected. JP-A-63-215165 Even if the technique described in the publication is used to obtain mirror images of a plurality of regions of a document, the following problems remain. First, in the means for detecting the position and size of the marker area, and also in the mirror image processing circuit, hardware such as a register must be prepared in advance according to the number of areas specified by the marker.
This means that there is a restriction on the specified area by the marker.
Furthermore, in order to enable a large number of areas, the scale of the hardware is increased and the cost is increased accordingly.

【0005】その第2は、処理時間の問題である。特開
昭63−215165号公報では副走査方向に複数の領
域がある場合や、走査ライン中で鏡像する範囲が代わる
場合には、CPUを介して各種レジスタの設定をしなお
すようになっているが、一般に画像処理回路の各種レジ
スタの設定を変えるには所定のタイミング上の制限があ
り、1走査ライン中で各種レジスタの設定を変えること
ができる時間は数μsec から数十μsec 程度である。走
査中にCPUが走査ラインを監視し、その僅かの時間に
いくつものレジスタの設定を変えるのは、CPUの処理
能力の点からみれば実際には困難であり、特に画像処理
の速度が速いものでは不可能である。画像処理の速度の
遅いものであれば、処理能力の高いCPUを使用するこ
とで実現できる可能性はあるが、画像処理装置としては
高価なものとなってしまう。
The second is the problem of processing time. In Japanese Patent Laid-Open No. 63-215165, when there are a plurality of areas in the sub-scanning direction or when the range of the mirror image in the scanning line changes, various registers are reset through the CPU. However, in general, there are certain timing restrictions for changing the settings of the various registers of the image processing circuit, and the time during which the settings of the various registers can be changed in one scanning line is about several μsec to several tens μsec. It is actually difficult for the CPU to monitor the scan line during scanning and change the settings of several registers during the short time in terms of the processing capability of the CPU, and especially for high-speed image processing. Is impossible. If the image processing speed is slow, there is a possibility that it can be realized by using a CPU with high processing capacity, but it will be expensive as an image processing apparatus.

【0006】本発明の目的は、マーカによって指定され
た複数の領域に対して、プリスキャン等による事前の領
域の位置やサイズの計算を必要とせず、またマーカ領域
の個数や位置の制限なしに領域内部のみ鏡像処理を行
い、領域の外部は正像でコピーできる装置を提供するこ
とである。また、本発明の目的は鏡像処理に関して走査
中にCPUが介することもなく、安価な画像処理装置を
提供することである。更に、本発明の目的は、多数の領
域に対して鏡像処理が可能であるが、マーカ領域の個数
に僅かな制限を加えることで、より安価な画像処理装置
を提供することである。
An object of the present invention is to eliminate the need to calculate the position and size of a region in advance by prescanning for a plurality of regions designated by a marker, and to limit the number and position of marker regions. It is an object of the present invention to provide a device capable of performing mirror image processing only inside the area and copying the outside of the area with a normal image. Another object of the present invention is to provide an inexpensive image processing apparatus which does not involve the CPU during scanning for mirror image processing. Furthermore, an object of the present invention is to provide a cheaper image processing apparatus by enabling a mirror image processing on a large number of areas, but by slightly limiting the number of marker areas.

【0007】[0007]

【課題を解決するための手段】本発明は、原稿を光学的
に走査して画像情報を読み取る手段と、読み取った画像
情報から所定の画素単位に画像データを生成する手段
と、マーカ等により原稿上で指定された領域をその内部
と外部を分け、画像データに同期して前記領域を表す領
域データを生成する手段とを備え、前記領域の内部また
は外部に対して編集加工処理を行う画像処理装置におい
て、走査ライン毎に、入力される前記画像データおよび
領域データを所定の画素単位で記憶するメモリと、走査
ライン毎に、前記領域データを基に鏡像すべき画像デー
タを判定して、前記メモリの書込または読出アドレスを
決定する手段と、原稿上でマーカ等により指定された複
数の領域に対し、指定領域内部のみ鏡像処理を行い、指
定領域外は正像で出力する手段、を有する画像処理装置
ある。
According to the present invention, a document is optically scanned to read image information, a unit for generating image data from the read image information in a predetermined pixel unit, and a document by a marker or the like. Image processing for dividing the inside and outside of the area specified above and generating area data representing the area in synchronization with image data, and performing edit processing on the inside or outside of the area In the apparatus, for each scanning line, the memory that stores the input image data and area data in a predetermined pixel unit, and for each scanning line, determine the image data to be mirrored based on the area data, Means to determine the write or read address of the memory and mirror image processing only inside the specified area for multiple areas specified by markers etc. on the document Means for, an image processing apparatus having a.

【0008】本発明は、更に出力すべき画像データ及び
領域データが記憶されている第1のメモリのアドレスを
個々の画素毎に記憶及び演算するための第2のメモリ
と、前記第2のメモリの書込及び読出制御手段と、前記
第1のメモリの読出アドレスを決定する手段を有する画
像処理装置である。本発明は、また前記第1のメモリへ
の画像データの書込時に、画像データに同期して入力さ
れる領域データの変化点のアドレスを記憶する前記第2
のメモリと、前記第2のメモリの書込及び読出制御手段
と、画像データの読出時に、前記第2のメモリに記憶し
た変化点を読み出して、前記第1のメモリの読出アドレ
スを決定する手段を有する画像処理装置である。
The present invention further includes a second memory for storing and calculating, for each pixel, an address of the first memory in which image data and area data to be output are stored, and the second memory. Of the first memory and a means for determining the read address of the first memory. The present invention also provides the second memory for storing an address of a change point of area data input in synchronization with the image data when writing the image data in the first memory.
Memory, write and read control means for the second memory, and means for reading a change point stored in the second memory to determine a read address of the first memory when reading image data. An image processing apparatus having a.

【0009】[0009]

【実施例】画像処理装置における走査系の基本的な構造
を図1に示す。これは原稿13が載置されているプラテ
ン12の上部に開閉可能なプラテンカバー14が設けら
れる一方、その下方部に光源15とセルフォックレンズ
を含む光導部材16とCCD等の1次元イメージセンサ
10が配置され、これらが一体となって走査部を構成し
ている。そして、この走査部が図1の矢印方向に平行移
動して、原稿13の光学的走査を行う過程で、イメージ
センサ10から出力され受光光量に対応したセル単位の
検出信号に基づいて原稿13上に描かれた濃淡像、線
図、文字等に対応した所定画素単位の画像情報が生成さ
れる。次に、画像処理装置全体の基本的な構成を図2に
示す。
FIG. 1 shows the basic structure of a scanning system in an image processing apparatus. This is provided with an openable platen cover 14 on the platen 12 on which a document 13 is placed, while a light source 15 and a light guide member 16 including a SELFOC lens and a one-dimensional image sensor 10 such as a CCD are provided below the platen cover 14. Are arranged, and these together form a scanning unit. Then, the scanning unit moves in parallel in the direction of the arrow in FIG. 1, and in the process of optically scanning the original document 13, the original document 13 is scanned based on the cell-based detection signal output from the image sensor 10 and corresponding to the received light amount. Image information in a predetermined pixel unit corresponding to a grayscale image, a line drawing, a character, and the like drawn in is generated. Next, FIG. 2 shows the basic configuration of the entire image processing apparatus.

【0010】CPU20は本画像処理装置を制御するも
のであり、CPUバスを介して制御プログラム等のデー
タを格納するROM21と制御に使用するRAM22が
CPUに接続されている。またCPU20には図1に示
した走査部を平行移動させるためのモータ17がモータ
17を駆動するモータドライバ回路18を介して接続さ
れている。更にコンソールパネルや表示装置等のユーザ
ーインターフェイス部23がCPU20に接続されてい
る。更に、CPUバスには、画像データ生成回路30、
領域認識回路50、補正/フィルタ回路60、鏡像回路
100、編集加工回路70及び出力インターフェイス回
路80が接続されるている。画像データ生成回路30は
前記イメージセンサ10から出力される検出信号に基づ
いて所定の画素単位に画像データ信号及びマーカデータ
信号を生成する回路である。もし、本画像処理装置が、
N色(Nは2以上)の画像処理を行うものであれば、前
記イメージセンサ10はフルカラーセンサとなり、前記
画像データ生成回路30からは、色情報が付加された画
像データ信号が出力されることになる。従って、ここで
いう画像データ信号とは、画像の濃度情報および色情報
を含めたものとする。また、本画像処理装置がN色(N
は2以上)のマーカで異なる編集加工処理を行うもので
あってもよく、前記マーカデータ信号は、1本に限定す
るものではない。
The CPU 20 controls the image processing apparatus, and a ROM 21 for storing data such as a control program and a RAM 22 used for control are connected to the CPU via a CPU bus. A motor 17 for translating the scanning unit shown in FIG. 1 is connected to the CPU 20 via a motor driver circuit 18 for driving the motor 17. Further, a user interface unit 23 such as a console panel or a display device is connected to the CPU 20. Further, the CPU bus has an image data generation circuit 30,
The area recognition circuit 50, the correction / filter circuit 60, the mirror image circuit 100, the edit processing circuit 70, and the output interface circuit 80 are connected. The image data generation circuit 30 is a circuit that generates an image data signal and a marker data signal in a predetermined pixel unit based on the detection signal output from the image sensor 10. If this image processing device
If image processing of N colors (N is 2 or more) is performed, the image sensor 10 is a full color sensor, and the image data generation circuit 30 outputs an image data signal to which color information is added. become. Therefore, the image data signal referred to here includes density information and color information of the image. In addition, the present image processing apparatus has N colors (N
2) or more) and different editing processes may be performed with the markers, and the number of marker data signals is not limited to one.

【0011】領域認識回路50は、前記マーカデータ信
号に基づいて、読み取り画素がマーカによって原稿上で
指定された閉ループの内か外か、もしくはマーカに外接
する四角形の領域の内か外か、等のマーカ領域の判定を
行い、その結果を領域データ信号として所定の画素単位
に出力する回路である。この領域認識回路50における
マーカに外接する四角形の領域の内か外かの判定方法に
ついては、例えば図3(1) のように原稿上にマーカが指
定された場合には、図3(2) ように領域が判定されるも
のである。また、前記マーカデータ信号がN本(Nは2
本以上)入力される場合には、領域データ信号はN本も
しくはN本以上出力されることになる。補正/フィルタ
回路60は、前記画像データ生成回路からの画像データ
信号に対して、各種の補正およびフィルタ処理を行う回
路である。鏡像回路100は、前記補正/フィルタ回路
60を経た画像データ信号に対して、鏡像処理を行う回
路である。編集加工回路70は、前記鏡像回路100を
経た画像データ信号に対して、色変換や拡大縮小等の編
集加工処理を行う回路である。この補正/フィルタ回路
60、鏡像回路100および編集加工回路70において
は、特にCPU20から各種の処理を実施する領域に対
する指定がなされ、領域認識回路50からの領域データ
信号に基づいて当該指定領域についてのみに所定の補正
/フィルタ処理、鏡像処理、編集加工処理を行う機能を
有している。
Based on the marker data signal, the area recognition circuit 50 determines whether the read pixel is inside or outside the closed loop designated on the original by the marker, or inside or outside the rectangular area circumscribing the marker. Of the marker area and outputs the result as an area data signal in a predetermined pixel unit. Regarding the method of determining whether the area is inside or outside the rectangular area circumscribing the marker in the area recognition circuit 50, for example, when the marker is designated on the original as shown in FIG. The area is determined as follows. Further, the number of marker data signals is N (N is 2
(More than this number), N or more N area data signals will be output. The correction / filter circuit 60 is a circuit that performs various corrections and filter processes on the image data signal from the image data generation circuit. The mirror image circuit 100 is a circuit that performs mirror image processing on the image data signal that has passed through the correction / filter circuit 60. The edit processing circuit 70 is a circuit that performs edit processing such as color conversion and enlargement / reduction on the image data signal that has passed through the mirror image circuit 100. In the correction / filter circuit 60, the mirror image circuit 100, and the editing / processing circuit 70, the CPU 20 particularly designates a region for performing various processes, and only the designated region is designated based on a region data signal from the region recognition circuit 50. In addition, it has a function of performing predetermined correction / filter processing, mirror image processing, and editing processing.

【0012】上記のようにして編集加工回路70を経た
画像データ信号は、インターフェイス回路80を介して
具体的な画像形成機器に供されるようになっている。こ
の画像形成機器としては、プリンタ90、画像送受信機
91およびコンピュータ92等がある。プリンタ90を
接続する場合には、全体としてディジタル複写機が構成
され、画像送受信機91を接続する場合には、全体とし
てファクシミリが構成される。またコンピュータ92と
接続する場合には、コンピュータ92の補助記憶装置内
に画像データを蓄えて各種の端末装置において画像デー
タを利用するシステム態様も可能である。図4は、鏡像
回路100の内部構成を示す。以下に鏡像回路100の
具体的な動作説明を行う。
The image data signal that has passed through the editing / processing circuit 70 as described above is supplied to a specific image forming apparatus through the interface circuit 80. The image forming apparatus includes a printer 90, an image transmitter / receiver 91, a computer 92, and the like. When the printer 90 is connected, a digital copying machine is configured as a whole, and when the image transceiver 91 is connected, a facsimile is configured as a whole. When connected to the computer 92, a system mode is also possible in which image data is stored in the auxiliary storage device of the computer 92 and the image data is used in various terminal devices. FIG. 4 shows an internal configuration of the mirror image circuit 100. The specific operation of the mirror image circuit 100 will be described below.

【0013】鏡像回路へは、画像データ信号VDT IN、領
域データ信号ARDT IN の他に、ページシンク信号PSYNC
IN、ビデオバリッド信号VVAD IN 、ビデオクロック信号
VCLKの各タイミング信号が前段の補正/フィルタ回路6
0から入力され、また、マーカで指定された領域に対し
て鏡像処理を行うか否かを意味するイネーブル信号AREN
B がCPU20から設定される。ビデオクロック信号は
画像データ信号および領域データ信号に対するタイミン
グを規定し、ビデオクロック信号の立ち上がりで画像デ
ータ信号および領域データ信号が変化する。ビデオバリ
ッド信号はイメージセンサ10の1走査ラインにおける
画像データ信号および領域データ信号の有効範囲を表
し、ビデオクロック信号の立ち下がりで変化する。ペー
ジシンク信号は前記イメージセンサ10が光学的走査を
行う過程での走査ラインの有効範囲を表し、ビデオバリ
ッド信号の立ち下がりで変化する。
In addition to the image data signal VDT IN and the area data signal ARDT IN, the page sync signal PSYNC is sent to the mirror image circuit.
IN, video valid signal VVAD IN, video clock signal
Correction / filter circuit 6 for each VCLK timing signal
Enable signal AREN that is input from 0 and indicates whether to perform mirror image processing on the area specified by the marker
B is set by the CPU 20. The video clock signal defines the timing for the image data signal and the area data signal, and the image data signal and the area data signal change at the rising edge of the video clock signal. The video valid signal represents the effective range of the image data signal and the area data signal in one scanning line of the image sensor 10, and changes at the trailing edge of the video clock signal. The page sync signal represents the effective range of the scan line in the process of performing optical scanning by the image sensor 10, and changes at the trailing edge of the video valid signal.

【0014】以下に示す鏡像処理装置の実施例では、1
ラインの画像データに対して書込と読出で2ライン分の
処理時間を必要とするため、偶数ライン用と奇数ライン
用の2つの画像データ処理部102と103がある。こ
れら2つの画像データ処理部の内部構成は全く同じでよ
く、基準信号生成部101からの制御信号により、交互
に出力データが得られるようになっている。基準信号生
成部101の具体的構成は図5のようになっている。基
準信号生成部101では、偶数ライン用の画像データ処
理部に対しては図9の(3) (4) に示すように、偶数
(0、2、4・・・)ライン目が書込み、奇数(1、
3、5・・・)ライン目が読出しとなるようにWRITE LI
NE1信号、READ LINE 1信号を生成する。奇数ライン用
の画像データ処理部に対しては、図9の(4)(5) に示す
ように、奇数(1、3、5・・・)ライン目が書込み、
偶数(2、4、6・・・)ライン目が読出しとなるよう
にWRITE LINE2信号、READ LINE 2信号を生成する。
In the embodiment of the mirror image processing apparatus shown below, 1
Since two lines of processing time are required for writing and reading line image data, there are two image data processing units 102 and 103 for even lines and odd lines. The internal configurations of these two image data processing units may be exactly the same, and the control signal from the reference signal generation unit 101 allows the output data to be obtained alternately. The specific configuration of the reference signal generation unit 101 is as shown in FIG. In the reference signal generation unit 101, as shown in (3) and (4) of FIG. 9, even-numbered (0, 2, 4, ...) Lines are written to the image data processing unit for even-numbered lines and odd-numbered lines are written. (1,
WRITE LI so that the third line is read
Generates NE1 signal and READ LINE 1 signal. As shown in (4) and (5) of FIG. 9, the odd-numbered (1, 3, 5, ...) Lines are written to the image data processing unit for odd-numbered lines,
A WRITE LINE 2 signal and a READ LINE 2 signal are generated so that even-numbered (2, 4, 6, ...) Lines are read.

【0015】従って、図9の(8) (9) のごとく、これら
2つの画像データ処理部で交互に書込、読出の動作が行
われ、図4のMPX104により図9の(10)のように出
力データが切り替えられて、後段の編集加工処理回路7
0へ出力される。MPX104は、S端子の入力がHの
場合には、B端子の入力が出力され、S端子の入力がL
の場合には、A端子の入力が出力されるものである。M
PX104のS端子に接続されるOUT SEL 信号は、奇数
ライン目にHとなるように基準信号生成部101におい
て生成される。また、基準信号生成部101では、AN
Dゲート105により領域データ信号ARDT IN と ARENB
のANDをとることで、実際に鏡像処理を行う領域を表
すAR IN 信号を生成する。即ち、このAR IN 信号がHで
ある範囲の画像を鏡像して出力すればよいことになる。
Therefore, as shown in (8) and (9) of FIG. 9, writing and reading operations are alternately performed by these two image data processing units, and the MPX 104 of FIG. The output data is switched to the edit processing circuit 7 in the subsequent stage.
Output to 0. When the input of the S terminal is H, the MPX 104 outputs the input of the B terminal, and the input of the S terminal is L.
In the case of, the input of the A terminal is output. M
The OUT SEL signal connected to the S terminal of the PX 104 is generated in the reference signal generation unit 101 so that it becomes H on the odd line. In the reference signal generation unit 101, the AN
The area data signals ARDT IN and ARENB are output by the D gate 105.
The AND of is used to generate an AR IN signal that represents the area in which mirror image processing is actually performed. That is, the image in the range where the AR IN signal is H should be mirrored and output.

【0016】鏡像処理は1ラインの処理遅れがあるた
め、後段の回路に渡すページシンク信号も1ライン分遅
れるように、LAT107により入力されたPSYNC IN信
号をVVAD IN 信号の立ち下がりでラッチしてPSYNC OUT
信号を出力する。基準アドレスカウンタ106は、VVAD
IN 信号の立ち上がりから数えた各画素の画素番号を与
えるものであり、この番号が1ライン中の各画素の基準
アドレスSTDADRとなる。基準アドレスカウンタのクリア
信号は、ORゲート116とANDデート117によ
り、PSYNC IN信号とPSYNC OUT 信号のORをとったもの
とVVAD IN 信号のANDで生成している。図6に、画像
データ処理部102と103の内部構成を示す。画像デ
ータメモリ120、画素アドレスメモリ121、画像デ
ータメモリアドレス生成部122、画素アドレスメモリ
データアドレス生成部123及び読出/書込制御部12
7は図6に示すように相互接続される。
Since the mirror image processing has a processing delay of one line, the PSYNC IN signal input by the LAT 107 is latched at the falling edge of the VVAD IN signal so that the page sync signal passed to the circuit at the subsequent stage is also delayed by one line. PSYNC OUT
Output a signal. The reference address counter 106 is VVAD.
The pixel number of each pixel counted from the rising edge of the IN signal is given, and this number becomes the reference address STDADR of each pixel in one line. The clear signal of the reference address counter is generated by ORing the PSYNC IN signal and the PSYNC OUT signal and the VVAD IN signal by the OR gate 116 and the AND date 117. FIG. 6 shows the internal configuration of the image data processing units 102 and 103. Image data memory 120, pixel address memory 121, image data memory address generation unit 122, pixel address memory data address generation unit 123, and read / write control unit 12
7 are interconnected as shown in FIG.

【0017】画像データメモリ120は1ライン分の画
像データ信号および領域データ信号を記憶するメモリで
ある。画素アドレスメモリ121は出力すべき画素が記
憶されている画像データメモリ120のアドレスを記憶
するメモリである。画像データメモリアドレス生成部1
22は画像データメモリ120のアドレス生成部であ
る。画素アドレスメモリデータアドレス生成部123は
画素アドレスメモリ121に書き込むデータおよび読出
/書込のアドレスの生成部である。読出/書込制御部1
27は画像データメモリ120および画素アドレスメモ
リ121の読出/書込制御部である。画像データ処理部
の動作は、画像データメモリ120および画素アドレス
メモリ121への書込動作と読出動作を1ライン毎に交
互に繰り返していく。以下に書込動作と読出動作にあわ
せて画像データ処理部の説明を行うが、まず、書込動作
時の説明を行う。
The image data memory 120 is a memory for storing image data signals and area data signals for one line. The pixel address memory 121 is a memory for storing the address of the image data memory 120 in which the pixel to be output is stored. Image data memory address generator 1
Reference numeral 22 is an address generator of the image data memory 120. The pixel address memory data address generation unit 123 is a generation unit of data to be written in the pixel address memory 121 and a read / write address. Read / write controller 1
Reference numeral 27 is a read / write controller of the image data memory 120 and the pixel address memory 121. In the operation of the image data processing unit, the writing operation and the reading operation for the image data memory 120 and the pixel address memory 121 are alternately repeated for each line. The image data processing unit will be described below in accordance with the writing operation and the reading operation. First, the writing operation will be described.

【0018】図10は書込動作時の各信号のタイミング
図である。書込動作を行うラインの場合は、WR LINE 信
号が高レベル(以下、Hと記す)となり、図10(3) に
示すように、次のVCLK信号の立ち上がりから有効な画像
データが入力され、基準信号生成部101からは図10
(5) に示すように基準アドレスが入力される。図6のL
AT128により、画素アドレスメモリの書込信号VAM
WRLINEは図10(6) のようにHとなる。画素アドレスメ
モリの読出ライン信号VAM RDLINEおよび画像データメモ
リ120の読出ライン信号VDM RDLINEは低レベル(以
下、Lと記す)のままである。図7に画像データメモリ
のアドレス生成部122の具体的な構成を示す。VDMRDL
INE信号、即ちMPX149のS端子がLなのでA端子
の入力が選択され、基準アドレスSTDADRが画像データメ
モリ120のアドレスとなる。即ち、画像データメモリ
120へは、入力される画像データ及び領域データ信号
が入力順番でそのまま記憶されていく。
FIG. 10 is a timing chart of each signal during the write operation. In the case of a line that performs a write operation, the WR LINE signal goes high (hereinafter referred to as H), and valid image data is input from the next rising edge of the VCLK signal, as shown in Fig. 10 (3). From the reference signal generation unit 101, FIG.
The reference address is input as shown in (5). L in FIG.
Write signal VAM of pixel address memory by AT128
WRLINE becomes H as shown in Fig. 10 (6). The read line signal VAM RDLINE of the pixel address memory and the read line signal VDM RDLINE of the image data memory 120 remain at a low level (hereinafter referred to as L). FIG. 7 shows a specific configuration of the address generator 122 of the image data memory. VDMRDL
Since the INE signal, that is, the S terminal of the MPX 149 is L, the input of the A terminal is selected, and the reference address STDADR becomes the address of the image data memory 120. That is, the input image data and the area data signal are stored in the image data memory 120 as they are in the input order.

【0019】図8に画素アドレスメモリのデータアドレ
ス生成部123の具体的な構成を示す。VAM WRLINE信号
がHであるので、BUF154を通り基準アドレスSTDA
DRが画素アドレスメモリ121への書込データVAM DTと
なる。その時の画素アドレスメモリ121のアドレスVA
M ADR はVAM WRLINE信号がH、即ちMPX153のS端
子がHであるのでB端子の入力が選択される。そのB端
子の入力となっているMPX152の出力は、AR IN 信
号がHであればLAT151の出力となり、ARIN 信号
がLであれば基準アドレスSTDADRとなる。LAT151
の出力はAR IN信号が立ち上がったときの基準アドレス
を保持するものである。例えば、図10の(4) のように
入力画素の3画素目から6画素目までと、10画素目か
ら12画素目がHであるようなAR IN 信号が入力された
場合の画素アドレスメモリ121のアドレスは図10の
(8) のようになる。即ち、0画素目から2画素目まで
は、AR IN 信号がLであるので基準アドレスが選択さ
れ、画素アドレスメモリ121のアドレスは「0」
「1」「2」となる。図10の(7) のように画素アドレ
スメモリ121への書込クロック信号VAM WRCLK が与え
られれるので、画素アドレスメモリ121の「0」
「1」「2」のアドレスには、同じく「0」「1」
「2」のデータが書き込まれることになる。
FIG. 8 shows a specific configuration of the data address generator 123 of the pixel address memory. Since the VAM WRLINE signal is H, it passes through BUF154 and the standard address STDA
DR becomes the write data VAM DT to the pixel address memory 121. Address VA of pixel address memory 121 at that time
In M ADR, since the VAM WRLINE signal is H, that is, the S terminal of the MPX 153 is H, the input of the B terminal is selected. The output of the MPX 152, which is the input of the B terminal, becomes the output of the LAT 151 when the AR IN signal is H, and becomes the reference address STDADR when the ARIN signal is L. LAT151
The output of holds the reference address when the AR IN signal rises. For example, as shown in (4) of FIG. 10, the pixel address memory 121 when an AR IN signal in which the third pixel to the sixth pixel and the tenth pixel to the twelfth pixel of the input pixels are H is input. The address is
It becomes like (8). That is, since the AR IN signal is L from the 0th pixel to the 2nd pixel, the reference address is selected, and the address of the pixel address memory 121 is “0”.
It becomes "1" and "2". Since the write clock signal VAM WRCLK to the pixel address memory 121 is given as shown in (7) of FIG.
Similarly, "0" and "1" are assigned to the addresses "1" and "2".
The data of "2" will be written.

【0020】3画素目では、基準アドレスが「3」にな
った後、AR IN 信号がHになるのでLAT151の出力
は「3」となり、以後6画素目まで画素アドレスメモリ
121のアドレスは「3」が保持される。即ち、同じ3
画素目に「3」「4」「5」「6」のデータが上書きさ
れるので、最終的には3画素目には「6」のデータが書
き込まれることになる。また、4画素目から6画素目に
は何も書き込まれない。7画素目から9画素目までは、
AR IN 信号がLになるので、再び基準アドレスが選択さ
れ「7」「8」「9」と続く。10画素目では、再びAR
IN 信号がHになるので、3画素目と同様に12画素目
まで「10」が続き、AR IN 信号がLとなる13画素目
からは、基準アドレスと同じく「13」「14」・・・
と続いていく。
At the 3rd pixel, after the reference address becomes "3", the AR IN signal becomes H, so the output of the LAT 151 becomes "3", and thereafter the address of the pixel address memory 121 becomes "3" until the 6th pixel. Is held. That is, the same 3
Since the data of "3", "4", "5", and "6" is overwritten in the pixel, the data of "6" is finally written in the third pixel. Further, nothing is written in the 4th to 6th pixels. From the 7th pixel to the 9th pixel,
Since the AR IN signal becomes L, the reference address is selected again and “7”, “8” and “9” follow. AR again at the 10th pixel
Since the IN signal becomes H, "10" continues to the 12th pixel as well as the 3rd pixel, and from the 13th pixel where the AR IN signal becomes L, "13", "14" ...
And continues.

【0021】次に、画素データメモリ120及び画素ア
ドレスメモリ121の読出動作について説明するが、書
込動作で説明した例で画素アドレスメモリ121に書き
込まれたデータを使って説明する。図11は読出動作時
のタイミング図である。読出動作を行うラインの場合
は、RD LINE 信号がHとなり、図11の(3) に示すよう
に、次のVCLK信号の立ち上がりから基準アドレスが入力
される。読出動作では画素アドレスメモリの書込ライン
信号VAM WRLINEはLである。画素アドレスメモリの読出
ライン信号VAM RDLINEと画素データメモリの読出ライン
信号VDM RDLINEは図11の(4) と(5) のようにHとな
る。読出ラインでは、まず画素アドレスメモリ121の
読出が行われる。VAM WRLINE信号がLであるので、図8
のMPX153ではA端子の入力が選択され、基準アド
レスが画素アドレスメモリ121のアドレスとなる。図
11の(7) のように、画素アドレスメモリ121の読出
クロックVAM RDCLK が与えられるので画素アドレスメモ
リから読出されたデータは図11の(8) のようになる。
また、BUF154は高インピーダンスとなっている。
Next, the read operation of the pixel data memory 120 and the pixel address memory 121 will be described, but the data written in the pixel address memory 121 in the example described in the write operation will be described. FIG. 11 is a timing chart during the read operation. In the case of the line for which the read operation is performed, the RD LINE signal becomes H, and the reference address is input from the next rising edge of the VCLK signal as shown in (3) of FIG. In the read operation, the write line signal VAM WRLINE of the pixel address memory is L. The read line signal VAM RDLINE of the pixel address memory and the read line signal VDM RDLINE of the pixel data memory become H as shown in (4) and (5) of FIG. In the read line, the pixel address memory 121 is first read. Since the VAM WRLINE signal is L,
In MPX153, the input of the A terminal is selected, and the reference address becomes the address of the pixel address memory 121. As shown in (7) of FIG. 11, since the read clock VAM RDCLK of the pixel address memory 121 is given, the data read from the pixel address memory becomes as shown in (8) of FIG.
Further, the BUF 154 has high impedance.

【0022】画素アドレスメモリから読み出されたデー
タは図7のBUF140を通り、LAT142に入力さ
れる。このLAT142は、VCLKとLAT145の出力
の反転とのAND信号の立ち上がりで画素アドレスメモ
リ121から読み出されたデータをラッチするものであ
る。LAT145の出力は、RD LINE 信号の立ち上がり
の時点ではLである。従って、LAT142は、VCLKの
立ち上がりで画素アドレスメモリから読み出されたデー
タをラッチし、図11の(9) のようになる。これがCM
P144のB端子の入力になる。CMP144はA端子
の入力がB端子の入力より小さい場合にHを出力するも
のである。一方、CMP144のA端子の入力であるL
AT143の出力は、基準アドレスをVCLKでラッチした
ものであるので図11の(6) のようになる。
The data read from the pixel address memory passes through the BUF 140 of FIG. 7 and is input to the LAT 142. The LAT 142 latches the data read from the pixel address memory 121 at the rising edge of the AND signal of VCLK and the inverted output of the LAT 145. The output of the LAT 145 is L at the rising edge of the RD LINE signal. Therefore, the LAT 142 latches the data read from the pixel address memory at the rising edge of VCLK and becomes as shown in (9) of FIG. This is CM
It becomes the input of the B terminal of P144. The CMP 144 outputs H when the input of the A terminal is smaller than the input of the B terminal. On the other hand, L which is the input of the A terminal of the CMP 144
The output of AT143 is as shown in (6) of FIG. 11 because the reference address is latched by VCLK.

【0023】書込動作で説明したように、画素アドレス
メモリ121の0画素目から2画素目までのデータは、
「0」「1」「2」である。従って、LAT142の出
力とLAT143の出力は同じなので、CMP144の
出力はLのままであり、CMP144の出力をVCLKの反
転でラッチしたLAT145の出力もLであり、更に、
LAT145の出力をVCLKでラッチしたLAT146の
出力もLである。MPX148ではS端子がLなので、
A端子の入力であるLAT142の出力が選択される。
VDM RDLINE信号はHであるので、MPX149ではB端
子の入力が選択され、MPX148の出力が画像データ
メモリ120のアドレスとなる。即ち、0画素目から2
画素目までは、画像データメモリ120のアドレスは
「0」「1」「2」となる。
As described in the writing operation, the data from the 0th pixel to the 2nd pixel of the pixel address memory 121 is
They are "0", "1" and "2". Therefore, since the output of the LAT 142 and the output of the LAT 143 are the same, the output of the CMP 144 remains L, and the output of the LAT 145 latching the output of the CMP 144 by the inversion of VCLK is also L.
The output of LAT 146, which is the output of LAT 145 latched with VCLK, is also L. In MPX148, since the S terminal is L,
The output of the LAT 142 which is the input of the A terminal is selected.
Since the VDM RDLINE signal is H, the MPX149 selects the input of the B terminal, and the output of the MPX148 becomes the address of the image data memory 120. That is, 2 from the 0th pixel
Up to the pixel, the address of the image data memory 120 is "0""1""2".

【0024】画素アドレスメモリ121の3画素目のデ
ータは「6」であるので、CMP144の出力はHにな
り、LAT145の出力は図11の(8) のようになる。
この信号がHである間、即ち基準アドレスが「6」にな
るまで、LAT142のCLOCK はLになるためLAT1
42の出力は「6」が保持される。LAT145の出力
をVCLKでラッチするLAT146の出力は図11の(11)
のようになる。LAT146の出力がHになると、MP
X148ではB端子の入力、即ちDEC147の出力が
選択される。DEC147は、VCLKの立ち上がりでMP
X148の出力を−1したものをラッチするものであ
る。LAT146の出力がHになった時のMPX148
の出力は「6」であったので、以降「5」「4」「3」
とDEC147の出力は変化していく。DEC147の
出力は図11の(12)のようになる。
Since the data of the third pixel of the pixel address memory 121 is "6", the output of the CMP 144 becomes H and the output of the LAT 145 becomes as shown in (8) of FIG.
While this signal is H, that is, until the reference address becomes "6", CLOCK of LAT142 becomes L, so LAT1
The output of 42 holds "6". The output of LAT146 that latches the output of LAT145 with VCLK is (11) in FIG.
become that way. When the output of LAT146 becomes H, MP
In X148, the input of the B terminal, that is, the output of the DEC147 is selected. DEC147 is MP at the rising edge of VCLK
It latches the output of X148 minus one. MPX148 when the output of LAT146 becomes H
Output was "6", so "5""4""3"
And the output of DEC147 changes. The output of the DEC147 is as shown in (12) of FIG.

【0025】基準アドレス「7」になり、画素アドレス
メモリ121の7画素目のデータが読み出されていると
きには、CMP144の出力はLになっているので、VC
LKの立ち上がりでLAT142の出力は「7」に変化す
る。また、この時LAT146の出力もLに変化するの
で、MPX148では、A端子の入力であるLAT14
2の出力「7」が選択される。以降、画素アドレスメモ
リ121の9画素目まで「8」「9」と変化していく。
画素アドレスメモリ121の10画素目のデータは「1
2」である。従って、3画素目から6画素目の場合と同
様に、10画素目から12画素目の画像データメモリ1
20のアドレスは「12」「11」「10」と変化して
いく。また、13画素目以降は7画素目から9画素目の
場合の動作と同様に「13」「14」・・・と変化して
いく。
When the reference address is "7" and the data of the 7th pixel of the pixel address memory 121 is being read, the output of the CMP 144 is L, so VC
The output of LAT142 changes to "7" at the rising edge of LK. At this time, the output of the LAT 146 also changes to L. Therefore, in the MPX 148, the LAT 14 which is the input of the A terminal
The output “7” of 2 is selected. After that, it changes to “8” and “9” up to the 9th pixel of the pixel address memory 121.
The data of the 10th pixel of the pixel address memory 121 is “1.
2 ". Therefore, as in the case of the third pixel to the sixth pixel, the image data memory 1 of the tenth pixel to the twelfth pixel
The address of 20 changes to "12""11""10". Further, after the 13th pixel, the operation changes to "13", "14" ... Like the operation in the case of the 7th pixel to the 9th pixel.

【0026】従って、画素データメモリ121のアドレ
スは図11の(14)のようになる。一方、画像データメモ
リ読出クロックVDM RDCLK は、図11の(13)のように与
えられるので、画像データメモリ120からの読出デー
タは図11の(16)のようになる。即ち、3画素目から6
画素目、および10画素目から12画素目の画像データ
が逆順になっており、AR IN 信号がHであった領域に対
してのみ鏡像が得られることを示している。なお、図1
1の(3) と図11の(16)を比べると、画素アドレスメモ
リ121および画像データメモリ120の読出動作によ
って、2画素分の処理遅れがあることがわかる。そのた
め、後段の回路に渡すVVAD OUT信号も図11の(17)のよ
うに2画素分遅れるように基準信号生成部101で調整
されている。
Therefore, the address of the pixel data memory 121 is as shown in (14) of FIG. On the other hand, since the image data memory read clock VDM RDCLK is given as shown in (13) of FIG. 11, the read data from the image data memory 120 becomes as shown in (16) of FIG. That is, from the 3rd pixel to 6
The image data of the pixel and the image data of the 10th to 12th pixels are in reverse order, which shows that a mirror image can be obtained only for the region where the AR IN signal is H. Note that FIG.
Comparing (3) of 1 with (16) of FIG. 11, it can be seen that there is a processing delay of two pixels due to the read operation of the pixel address memory 121 and the image data memory 120. Therefore, the VVAD OUT signal passed to the subsequent circuit is also adjusted by the reference signal generation unit 101 so as to be delayed by two pixels as shown in (17) of FIG.

【0027】以上の鏡像回路の説明により、マーカ領域
の数には何の制限もないことがわかる。また、解像度や
1ライン中の画素数が変わっても、本件の鏡像処理の構
成に大きな影響を与えることはなく、解像度や1ライン
中の画素数に合わせて、画像データメモリ120および
画素アドレスメモリ121のメモリ容量や、基準アドレ
スカウンタ106や各LATのデータ幅を決めればよい
だけである。次に、図12の(1) のような原稿で鏡像処
理を行った場合の出力例を説明する。図12の(1) の原
稿では、3か所の領域がマーカで指定され、それらの領
域内に鏡像処理を行うように機能が設定されているもの
とする。マーカ信号は領域認識回路50でマーカに外接
する四角形の領域が認識され、図12の(2) のような領
域データが鏡像回路に入力される。
From the above description of the mirror image circuit, it can be seen that there is no limit to the number of marker areas. Further, even if the resolution or the number of pixels in one line is changed, it does not significantly affect the configuration of the mirror image processing of the present case, and the image data memory 120 and the pixel address memory are adjusted in accordance with the resolution and the number of pixels in one line. It is only necessary to determine the memory capacity of 121, the reference address counter 106, and the data width of each LAT. Next, an output example in the case where the mirror image processing is performed on the document as shown in (1) of FIG. 12 will be described. In the manuscript shown in (1) of FIG. 12, it is assumed that three areas are designated by the markers and the function is set to perform the mirror image processing in these areas. In the marker signal, the area recognition circuit 50 recognizes a rectangular area circumscribing the marker, and area data as shown in (2) of FIG. 12 is input to the mirror image circuit.

【0028】また、説明を簡単にするため、図12の
(2) にように、主走査方向の各マーカの画素位置は「文
字DHLP」を囲む第1のマーカ領域の画素位置を「1
50から194」、「文字F」を囲む第2のマーカ領域
の画素位置を「60から104」、「文字MNOR」を
囲む第3のマーカ領域の画素位置を「15から144」
とする。また、副走査方向にはからの範囲にわけて
動作を説明する。まず、の範囲、即ち原稿の先端から
第1のマーカ領域に入るまでは、図13ののように、
鏡像すべき領域を示すAR IN 信号は、画像領域の全域に
わたってLであるため、読み出される画素のアドレス
は、入力された順番どおりとなり、鏡像は行われていな
い。の範囲、即ち第1のマーカ領域が存在する範囲で
は、図13ののように、150画素目から194画素
目までの範囲でAR IN 信号はHになる。そのため、前述
の説明のとおり150画素目から194画素目の画像デ
ータメモリ120の読出アドレスは「194」「19
3」・・・「151」「150」となるので、この範囲
の画像だけが鏡像されていることがわかる。
Further, in order to simplify the explanation, FIG.
As shown in (2), the pixel position of each marker in the main scanning direction is the pixel position of the first marker area surrounding the "character DHLP" by "1.
50 to 194 ", the pixel position of the second marker area enclosing the" character F "is" 60 to 104 ", and the pixel position of the third marker area enclosing the" character MNOR "is" 15 to 144 ".
And Further, the operation will be described in the range from to in the sub-scanning direction. First, in the range of, that is, from the leading edge of the document to the first marker area, as shown in FIG.
Since the AR IN signal indicating the area to be mirror-imaged is L over the entire image area, the addresses of the pixels to be read out are in the order in which they were input, and the mirror-image is not performed. In the range (1), that is, the range in which the first marker area exists, the AR IN signal becomes H in the range from the 150th pixel to the 194th pixel as shown in FIG. Therefore, as described above, the read addresses of the 150th to 194th pixels of the image data memory 120 are “194” and “19”.
Since "3" ... "151" and "150" are obtained, it can be seen that only the image in this range is mirror-imaged.

【0029】の範囲、即ち第1のマーカ領域と第2の
マーカ領域が存在する範囲では、図13ののように、
60画素目から104画素目、および150画素目から
194画素目までの範囲でAR IN 信号はHになる。1ラ
イン中に複数の領域が存在してもその個々の領域に対し
て鏡像処理が行えることは、既に説明したとおりであ
る。即ち60画素目から104画素目の画像メモリ12
0の読出アドレスは「104」「103」・・・「6
1」「60」となり、150画素目から194画素目の
画像メモリ120の読出アドレスは「194」「19
3」・・・「151」「150」となる。の範囲での
動作は、の範囲での動作と全く同様である。の範囲
での動作は、AR IN 信号がHになる範囲が異なるが、
の範囲での動作と同様である。
In the range of, that is, the range in which the first marker area and the second marker area exist, as shown in FIG.
The AR IN signal becomes H in the range from the 60th pixel to the 104th pixel and from the 150th pixel to the 194th pixel. As described above, even if there are a plurality of areas in one line, the mirror image processing can be performed on each of the areas. That is, the image memory 12 of the 60th pixel to the 104th pixel
The read address of 0 is "104", "103" ... "6".
1 ”and“ 60 ”, and the read addresses of the 150th to 194th pixels of the image memory 120 are“ 194 ”and“ 19 ”.
3 ”...“ 151 ”and“ 150 ”. The operation in the range of is exactly the same as the operation in the range of. The operation in the range of is different in the range where the AR IN signal becomes H, but
It is similar to the operation in the range of.

【0030】の範囲での動作は、AR IN 信号がHにな
る範囲が異なるが、の範囲での動作と同様である。
の範囲での動作は、の範囲での動作と全く同様であ
る。以上の説明から、最終的には図12の(3) のような
出力が得られることがわかる。次に、鏡像処理する領域
数をある程度制限することで、より小さな容量の画素ア
ドレスメモリで同様の効果が得られる第2の実施例を示
す。領域数をある程度制限すれば、前述の第1の実施例
のように全ての画素に対して画素アドレスメモリを対応
させる必要はなく、領域の変化点の画素アドレスをメモ
リに記憶すればよい。例えば、解像度が16画素/mmで
A3原稿の短辺(297mm)までの読み取りに対応した画像
処理装置であれば、1ライン中の画素数は5000画素程度
となり、前述の実施例では 13 bit × 5000 wordのメモ
リが2個、画素アドレスメモリとして必要になる。とこ
ろが第2の実施例では、同一の解像度の条件において、
鏡像処理する領域数を16個とすれば、画素アドレスメ
モリとして 26 bit × 16 wordのメモリが2個ですみ、
大きなコストダウンが可能となる。なお、領域数が16
といっても、主走査方向に重なる領域数が16までであ
り、副走査には制限がない。
The operation in the range (1) is the same as the operation in the range (2), although the range in which the AR IN signal becomes H is different.
The operation in the range of is exactly the same as the operation in the range of. From the above description, it can be seen that the output like (3) in FIG. 12 is finally obtained. Next, a second embodiment will be described in which the same effect can be obtained with a pixel address memory having a smaller capacity by limiting the number of regions to be mirror-image processed to some extent. If the number of regions is limited to some extent, it is not necessary to make the pixel address memory correspond to all pixels as in the first embodiment described above, and the pixel address of the changing point of the region may be stored in the memory. For example, if the image processing apparatus has a resolution of 16 pixels / mm and is capable of reading up to the short side (297 mm) of an A3 document, the number of pixels in one line is about 5000 pixels. In the above-described embodiment, 13 bits × Two 5000 word memories are required as pixel address memory. However, in the second embodiment, under the same resolution condition,
If the number of regions to be mirror-imaged is 16, only two 26-bit x 16-word memories will be needed as pixel address memory.
A large cost reduction is possible. The number of areas is 16
However, the number of regions that overlap in the main scanning direction is up to 16, and there is no limit to the sub scanning.

【0031】第2の実施例においても、鏡像回路100
の内部構成は第1の実施例と同様で図5のようになって
いる。基準信号生成部101については全く同じであ
る。以下に第2の実施例における画像データ処理部につ
いて説明する。画像データ処理部102と103の内部
構成を図15に示す。画像データ処理部は画像データメ
モリ120、画像アドレスメモリ121、画像データメ
モリのアドレス生成部122、画像アドレスメモリに書
き込むデータと読出/書込のアドレス生成部123およ
び読出/書込制御部127から成る。画像データメモリ
120は1ライン分の画像データ信号および領域データ
信号を記憶するメモリである。画像アドレスメモリ12
1は鏡像領域の立ち上がり画素アドレスと立ち下がり画
素アドレスを記憶するメモリである。画像アドレスメモ
リ121のメモリ構成は、図14に示すようにHighデー
タに立ち上がりアドレスを記憶し、Low データに立ち下
がりアドレスを記憶するものとする。
Also in the second embodiment, the mirror image circuit 100
The internal structure of is similar to that of the first embodiment and is as shown in FIG. The reference signal generation unit 101 is exactly the same. The image data processing unit in the second embodiment will be described below. The internal structure of the image data processing units 102 and 103 is shown in FIG. The image data processing unit comprises an image data memory 120, an image address memory 121, an address generation unit 122 of the image data memory, data to be written in the image address memory and a read / write address generation unit 123, and a read / write control unit 127. . The image data memory 120 is a memory that stores an image data signal and a region data signal for one line. Image address memory 12
Reference numeral 1 is a memory for storing the rising pixel address and the falling pixel address of the mirror image area. The image address memory 121 has a memory configuration in which a rising address is stored in High data and a falling address is stored in Low data, as shown in FIG.

【0032】画像データ処理部の動作は、画像データメ
モリ120および画素アドレスメモリ121への書込動
作と読出動作を1ライン毎に交互に繰り返していく。以
下、第1の実施例と同様に書込動作と読出動作に合わせ
て画像データ処理部の説明を行うが、まず、書込動作時
の説明を行う。図18は、書込動作時の各信号のタイミ
ング図である。書込動作を行うラインの場合は、WR LIN
E 信号がHになり、図18の(3) に示すように、次のVC
LK信号の立ち上がりから有効な画像データが入力され、
基準信号生成部101からは図18の(5) に示すように
基準アドレスが入力される。図6のLAT128によ
り、画素アドレスメモリの書込信号VAM WRLINEは図18
の(6) のようにHとなる。画素アドレスメモリの読出ラ
イン信号VAM RDLINEおよび画像データメモリ120の読
出ライン信号VDM RDLINEはLのままである。
In the operation of the image data processing unit, the writing operation and the reading operation to the image data memory 120 and the pixel address memory 121 are alternately repeated for each line. Hereinafter, the image data processing unit will be described according to the writing operation and the reading operation as in the first embodiment. First, the writing operation will be described. FIG. 18 is a timing chart of each signal during the write operation. WR LIN for lines that perform write operations
The E signal becomes H, and as shown in (3) of FIG.
Valid image data is input from the rising edge of the LK signal,
A reference address is input from the reference signal generation unit 101 as shown in (5) of FIG. According to the LAT128 shown in FIG. 6, the write signal VAM WRLINE of the pixel address memory is shown in FIG.
It becomes H like (6). The read line signal VAM RDLINE of the pixel address memory and the read line signal VDM RDLINE of the image data memory 120 remain L.

【0033】図16に画像データメモリのアドレス生成
部122の具体的な構成を示す。VDM RDLINE信号、即ち
MPX149のS端子がLなのでA端子の入力が選択さ
れ、基準アドレスSTDADRが画像データメモリ120のア
ドレスとなる。即ち、画像データメモリ120へは、入
力される画像データおよび領域データ信号が、入力され
た順番でそのまま記憶されていく。図17に画素アドレ
スメモリのデータアドレス生成部123の具体的な構成
を示す。VAM WRLINE信号がHであるのでBUF161を
とおり、基準アドレスが画素アドレスメモリ121のLo
w データVAM DT(L) に、基準アドレスをAR IN 信号でラ
ッチしたものが画素アドレスメモリ121のHighデータ
VAM DT(H) に書き込まれる。ただし、画素アドレスメモ
リ121の書込クロックVAM WRCLK はAR IN信号がHの
期間のみ与えられる。
FIG. 16 shows a specific configuration of the address generation unit 122 of the image data memory. Since the VDM RDLINE signal, that is, the S terminal of the MPX 149 is L, the input of the A terminal is selected and the reference address STDADR becomes the address of the image data memory 120. That is, the input image data and the area data signal are stored in the image data memory 120 as they are in the input order. FIG. 17 shows a specific configuration of the data address generation unit 123 of the pixel address memory. Since the VAM WRLINE signal is H, it passes through the BUF 161 and the reference address is the Lo of the pixel address memory 121.
w Data VAM DT (L) with the reference address latched by the AR IN signal is the High data of the pixel address memory 121.
Written to VAM DT (H). However, the write clock VAM WRCLK of the pixel address memory 121 is given only while the AR IN signal is H.

【0034】例えば、図18の(4) のように入力画素の
3画素目から6画素目までと、10画素目から12画素
目のAR IN 信号がHとなる入力があったとする。VAM WR
LINE信号が立ち上ったときの図17のUPカウンタCN
T151の出力とLAT153の出力は「0」である。
即ち、MPX159ではS端子の入力がHであるので、
B端子の入力となっているLAT153の出力が選択さ
れ、画素アドレスメモリ121の書込アドレス値は
「0」となっている。しかし、0画素目から2画素目ま
では、AR IN 信号がLであるので画素アドレスメモリの
書込クロックのVAMWRCLK はHのままであり、書込は行
われない。3画素目では、基準アドレスが「3」になっ
た後、AR IN 信号がHになるのでLAT160の出力は
「3」となり、3画素目から6画素目までは図18の
(9) のようにVAM WRCLK が与えられるので、3画素目で
はVAM DT(H) に「3」、VAM DT(L) に「3」が書き込ま
れる。
For example, suppose that there is an input in which the AR IN signals from the third pixel to the sixth pixel and from the tenth pixel to the twelfth pixel of the input pixels become H as shown in (4) of FIG. VAM WR
UP counter CN of FIG. 17 when the LINE signal rises
The output of T151 and the output of LAT153 are "0".
That is, since the input of the S terminal is H in MPX159,
The output of the LAT 153 which is the input of the B terminal is selected, and the write address value of the pixel address memory 121 is “0”. However, from the 0th pixel to the 2nd pixel, since the AR IN signal is L, the write clock VAMWRCLK of the pixel address memory remains H, and writing is not performed. At the 3rd pixel, after the reference address becomes "3", the AR IN signal becomes H, so the output of the LAT 160 becomes "3", and the 3rd to 6th pixels are as shown in FIG.
Since VAM WRCLK is given as in (9), "3" is written in VAM DT (H) and "3" is written in VAM DT (L) at the third pixel.

【0035】一方、CNT151は、3画素目でAR IN
信号が立ち上がると、「1」となるが、LAT153の
出力はAR IN 信号が立ち下がる7画素目までは「0」に
保持されているので、画素アドレスメモリの書込アドレ
スは「0」のままである。即ち、4画素目ではVAM DT
(H) に「3」、VAM DT(L) に「4」が上書きされ、5画
素目ではVAM DT(H) に「3」、VAM DT(L) に「5」が上
書きされ、6画素目ではVAM DT(H) に「3」、VAM DT
(L) に「6」が上書きされる。7画素目になると、AR I
N 信号はLになるので、LAT153の出力は「1」に
なるが、VAM WRCLKが与えられないので、画素アドレス
メモリの書込は行われない。結果的に、画素アドレスメ
モリ121のアドレス「0」のデータとしてはHデータ
に「3」、Lデータに「6」が書き込まれたことにな
る。
On the other hand, the CNT 151 is AR IN at the third pixel.
When the signal rises, it becomes "1", but the output of LAT153 is held at "0" until the 7th pixel where the AR IN signal falls, so the write address of the pixel address memory remains "0". Is. That is, at the 4th pixel, VAM DT
(H) is overwritten with "3", VAM DT (L) is overwritten with "4", and at the 5th pixel, VAM DT (H) is overwritten with "3" and VAM DT (L) is overwritten with "5". In the eyes, VAM DT (H) is "3", VAM DT
“6” is overwritten on (L). At the 7th pixel, AR I
Since the N signal becomes L, the output of the LAT 153 becomes "1", but since VAM WRCLK is not supplied, the pixel address memory is not written. As a result, as the data of the address "0" of the pixel address memory 121, "3" is written in the H data and "6" is written in the L data.

【0036】この後、もし第3の領域、第4の領域とさ
らにAR IN 信号がHになる場合であっても、同様に、領
域の立ち上がり画素アドレスと立ち下がり画素アドレス
が画素アドレスメモリ121のアドレス「2」、「3」
に次々に書き込まれていくことは明白であるが、説明を
簡単にするため、図18のように領域が2個であったと
して説明を続ける。即ち、WR LINE の立ち下がりでCN
T151の出力をラッチするLAT152の出力は
「2」になる。このLAT152の出力は、次のWRLINE
の立ち下がりまで保持されるので、次の読出ラインの
間は「2」が保持されていることになる。次に、書込動
作で説明した例を使って次に画像データメモリ120お
よび画素アドレスメモリ121の読出動作を説明する。
図19は読出動作時の各信号のタイミング図である。読
出動作を行うラインの場合は、RD LINE 信号がHとな
り、図19の(3) に示すように、次のVCLK信号の立ち上
がりから基準アドレスが入力される。読出動作では、画
素アドレスメモリの書込ライン信号VAM WRLINEはLであ
る。画素アドレスメモリの読出ライン信号VAM RDLINEと
画像データメモリの読出ライン信号VDM RDLINEは、図1
9の(4) と(5) のようにHとなる。
Thereafter, even if the AR IN signal becomes H in the third area and the fourth area, the rising pixel address and the falling pixel address of the area are similarly stored in the pixel address memory 121. Address "2", "3"
It is obvious that the data is written in each area, but in order to simplify the description, the description will be continued assuming that there are two areas as shown in FIG. That is, CN at the fall of WR LINE
The output of the LAT 152 that latches the output of T151 becomes "2". The output of this LAT152 is the next WRLINE
Is held until the trailing edge of, so that "2" is held during the next read line. Next, the read operation of the image data memory 120 and the pixel address memory 121 will be described using the example described in the write operation.
FIG. 19 is a timing chart of each signal during the read operation. In the case of the line for which the read operation is performed, the RD LINE signal becomes H, and the reference address is input from the next rising edge of the VCLK signal as shown in (3) of FIG. In the read operation, the write line signal VAM WRLINE of the pixel address memory is L. The read line signal VAM RDLINE of the pixel address memory and the read line signal VDM RDLINE of the image data memory are shown in FIG.
It becomes H like (4) and (5) of 9.

【0037】読出ラインでは、まず、画素アドレスメモ
リ121の読出が行われる。VAM WRLINEはLであるの
で、図17のBUF161は高インピーダンスとなって
いる。また、MPX159ではA端子の入力が選択さ
れ、CNT156の出力が画素アドレスメモリ121の
アドレスとなる。このCNT156の出力はVAM RDLINE
信号の立ち上がり時点では「0」になっている。図19
の(7) にように画素アドレスメモリ121には読出クロ
ックVAM RDCLK が与えられるので、画素アドレスメモリ
121からはVAM DT(H) に「3」、VAM DT(L) に「6」
が読み出される。読み出されたデータは、図16のBU
F141をとおりLAT142に入力され、つぎのVCLK
の立ち上がりでLAT142の出力が、DT(H) に
「3」、DT(L)に「6」となる。このとき、基準アドレ
スをVCLKでラッチしたLAT143の出力は「0」であ
るので、CMP145の出力はLとなる。一方、VAM RD
LINE信号の立ち上がり時点では、図17のLAT158
の出力であるDT ENB信号はLであるが、CNT156の
出力、即ちCMP157のA端子の入力は「0」、LA
T152の出力、即ちB端子の入力は「2」であるので
CMP157の出力はHになっている。従って、次のVC
LK信号の立ち上がりDT ENB信号は、図19の(9) のよう
にHになる。従って、図16のAND146の出力は、
図19の(12)のようにLである。
In the read line, the pixel address memory 121 is first read. Since VAM WRLINE is L, BUF161 in FIG. 17 has high impedance. In the MPX 159, the input of the A terminal is selected and the output of the CNT 156 becomes the address of the pixel address memory 121. The output of this CNT156 is VAM RDLINE
It is "0" at the rising edge of the signal. FIG. 19
Since the read clock VAM RDCLK is given to the pixel address memory 121 as shown in (7), the pixel address memory 121 outputs “3” for VAM DT (H) and “6” for VAM DT (L).
Is read. The read data is the BU of FIG.
Input to LAT142 through F141, and next VCLK
The output of the LAT 142 becomes "3" at DT (H) and "6" at DT (L) at the rising edge of. At this time, since the output of the LAT 143 latching the reference address with VCLK is “0”, the output of the CMP 145 becomes L. On the other hand, VAM RD
At the time of rising of the LINE signal, LAT158 of FIG.
The DT ENB signal which is the output of is LOW, but the output of CNT156, that is, the input of the A terminal of CMP157 is "0", LA
Since the output of T152, that is, the input of the B terminal is "2", the output of CMP157 is H. Therefore, the next VC
The rising DT ENB signal of the LK signal becomes H as shown in (9) of FIG. Therefore, the output of AND146 in FIG.
It is L as shown in (12) of FIG.

【0038】VDM RDLINE信号がHであるので、MPX1
49ではB端子の入力、即ちMPX148の出力が画像
データメモリ120のアドレスとなる。MPX148は
AND146の出力により、LAT143の出力とDE
C147の出力を切り替えている。即ちVDM RDLINE信号
がHになった時点では、AND146の出力がLである
から、MPX148ではA端子の入力、即ちLAT14
3の出力が選択されて、画像データメモリ120のアド
レスは「0」となる。LAT143の出力が「1」
「2」と進んでもAND146の出力は変わらないの
で、画像データメモリ120のアドレスも「1」「2」
と進む。LAT143の出力が「3」になると、CMP
145の出力はHとなり、AND146の出力もHにな
るので、MPX148では、DEC147の出力が画像
データメモリのアドレスに選択されるように変わる。D
EC147は、AND146の出力がLOAD端子に入
っているので、LOADデータであるLAT142のDT
(L) の出力、即ち「6」がDEC147の出力になって
いる。DEC147は、VCLKの立ち上がりでLOADデ
ータを−1していくデクリメントカウンタである。従っ
て、次のVCLKにより「5」「4」「3」と変化してい
き、それが画像データメモリ120のアドレスとなる。
Since the VDM RDLINE signal is H, MPX1
At 49, the input of the B terminal, that is, the output of the MPX 148 becomes the address of the image data memory 120. The MPX 148 uses the output of the AND 146 to output the LAT 143 and the DE.
The output of C147 is switched. That is, since the output of the AND 146 is L when the VDM RDLINE signal becomes H, the input of the A terminal in the MPX 148, that is, the LAT 14
3 is selected and the address of the image data memory 120 becomes "0". The output of LAT143 is "1"
Since the output of the AND 146 does not change even if it advances to "2", the address of the image data memory 120 is also "1""2".
And proceed. When the output of LAT143 becomes "3", CMP
Since the output of 145 becomes H and the output of AND 146 also becomes H, the MPX 148 changes so that the output of the DEC 147 is selected as the address of the image data memory. D
Since the output of AND146 is input to the LOAD terminal, EC147 outputs the DT of LAT142 which is LOAD data.
The output of (L), that is, "6" is the output of the DEC147. The DEC 147 is a decrement counter that decrements the LOAD data by -1 at the rising edge of VCLK. Therefore, it changes to "5""4""3" by the next VCLK, which becomes the address of the image data memory 120.

【0039】図19の(13)のように、基準アドレスが
「6」になった時点で、図17のCMP154の出力は
Hに立ち上がり、図19の(14)のように、次のVCLKの立
ち上がりでLAT155の出力もHになる。従って、L
AT143の出力が「6」になる時点で、CNT151
の出力が+1されて画素アドレスメモリ121のアドレ
スは「1」になるので、画素アドレスメモリからの読出
データはHデータが「10」、Lデータが「12」とな
る。次のVCLKの立ち上がりでは、LAT142の出力の
DT(H) が「10」、DT(L)が「12」となる。この時の
LAT143の出力は図19の(6) のように「7」にな
っており、CMP145の出力がLになるため、AND
146の出力はLになり、再びMPX148ではA端子
の入力が選択されて画像データメモリ120のアドレス
は「7」となる。
As shown in (13) of FIG. 19, when the reference address becomes "6", the output of the CMP 154 of FIG. 17 rises to H, and as shown in (14) of FIG. The output of the LAT 155 also becomes H at the rising edge. Therefore, L
When the output of AT143 becomes "6", CNT151
Is incremented by 1 and the address of the pixel address memory 121 becomes "1", so that the read data from the pixel address memory becomes "10" for H data and "12" for L data. At the next rise of VCLK, the output of LAT142
DT (H) becomes "10" and DT (L) becomes "12". The output of the LAT 143 at this time is "7" as shown in (6) of FIG. 19, and the output of the CMP 145 becomes L, so AND
The output of 146 becomes L, the input of the A terminal is selected again in the MPX 148, and the address of the image data memory 120 becomes "7".

【0040】以後、LAT143の出力が「8」「9」
の間は、そのまま画像データメモリ120のアドレスも
「8」「9」であり、「10」になった時点からは「1
2」「11」「10」となることは、0画素目から6画
素目の動作と同様である。LAT143の出力が「1
2」になる時点で、CNT156の出力が「2」になる
と、CMP157の出力はLになる。従って、次にVCLK
の立ち上がり、即ちLAT143の出力が「13」にな
る時点からは、DT ENB信号はLとなるので、AND14
6の出力もLとなり、画像データメモリ120のアドレ
スはLAT143の出力が選択されて「13」「14」
・・・と進んでいく。以上により、画像データメモリ1
20のアドレスは、図19の(17)のようになり、第1の
実施例の場合と同様の結果が得られていることがわか
る。もし、前述の例とは異なり、書込動作で1つの鏡像
領域もなかったとすると、LAT152の出力は「0」
であるから、読出動作ではCMP157の出力は常にL
となり、AND146の出力も常にLであるから、全て
正像の出力が得られるので動作に問題はない。
After that, the output of the LAT 143 is "8" or "9".
During this period, the address of the image data memory 120 is “8” and “9” as it is.
The fact that it becomes 2 ”,“ 11 ”, and“ 10 ”is similar to the operation of the 0th pixel to the 6th pixel. The output of LAT143 is "1.
When the output of the CNT 156 becomes “2” at the time of becoming “2”, the output of the CMP 157 becomes L. Therefore, next VCLK
Since the DT ENB signal becomes L from the rising edge of, that is, the time when the output of LAT143 becomes "13", AND14
The output of 6 also becomes L, the output of LAT 143 is selected as the address of the image data memory 120, and “13” and “14” are selected.
... and proceed. From the above, the image data memory 1
The address of 20 is as shown in (17) of FIG. 19, and it can be seen that the same result as in the case of the first embodiment is obtained. If there is not one mirror image area in the write operation unlike the above example, the output of the LAT 152 is "0".
Therefore, the output of CMP157 is always L
Since the output of the AND 146 is always L, the output of the normal image is obtained, and there is no problem in the operation.

【0041】本実施例では、図5に示したように、領域
信号は1本の例で説明したが、もし当該画像処理装置が
N色(Nは2以上)のマーカで異なる編集加工処理を行
うものあれば、N本もしくはN本以上の領域データ信号
が入力されることになるが、領域データ信号に対応した
イネーブル信号がCPUから設定され、それぞれのAN
Dをとり、それらのORをとることでAR IN 信号を生成
すればよい。第2の実施例では、主走査方向の領域数を
制限することで、安価な鏡像処理回路の例を示した。こ
の実施例の中では領域数の制限を越えた場合に対するエ
ラー処理回路は図示していないが、図17の領域数をカ
ウントする回路に制限数との比較回路と、比較した結果
制限数を越えた場合には、それ以上の画素アドレスメモ
リ121への書込や領域数のカウント等の動作を停止さ
せる回路を付加することも有効である。
In the present embodiment, as shown in FIG. 5, the area signal has been described as an example of one, but if the image processing apparatus concerned performs different editing processing with markers of N colors (N is 2 or more). If there is something to do, N or more than N area data signals will be input, but the enable signal corresponding to the area data signal is set from the CPU, and each AN
The AR IN signal may be generated by taking D and ORing them. In the second embodiment, an example of an inexpensive mirror image processing circuit is shown by limiting the number of areas in the main scanning direction. In this embodiment, although the error processing circuit for the case where the limit of the number of areas is exceeded is not shown, the circuit for counting the number of areas in FIG. In that case, it is also effective to add a circuit for stopping the operation such as writing to the pixel address memory 121 or counting the number of areas.

【0042】また本実施例では、図2に示すように、鏡
像処理回路100を補正/フィルタ回路60と編集加工
回路70の間に位置するような構成としているが、鏡像
処理回路100を編集加工回路70の中に入れ、他の編
集加工処理との処理順番を入れ替えてもかまわない。
Further, in this embodiment, as shown in FIG. 2, the mirror image processing circuit 100 is arranged between the correction / filter circuit 60 and the editing processing circuit 70. However, the mirror image processing circuit 100 is edited. It may be placed in the circuit 70 and the order of processing with other editing processing may be exchanged.

【0043】[0043]

【本発明の効果】以上のように、第1の実施例によれ
ば、走査ライン毎に鏡像すべき画像データを判定するた
め、マーカによって指定された複数の領域に対して、プ
リスキャンなどによる事前の領域の位置やサイズの計算
を必要とせず、またマーカ領域の個数や位置の制限なし
に、領域内部のみ鏡像処理を行い、領域の外部は正像で
コピーできる装置を提供することができる。更に、鏡像
処理に関して走査中にCPUが介在することもなく、安
価な画像処理装置を提供することができるものである。
また、第2の実施例によれば、鏡像処理する主走査方向
の領域数をある程度制限することで、より安価に多数の
領域に対して領域内部のみ鏡像処理を行い、領域の外部
は正像でコピーできる装置を提供することができる。領
域を制限するといっても、副走査方向には制限はなく、
主走査方向の制限数もメモリの容量等の設定次第であ
り、実質的には第1の実施例とほぼ同様の効果が得られ
る。
As described above, according to the first embodiment, since the image data to be mirror-imaged is determined for each scanning line, a plurality of regions designated by the markers are prescanned. It is possible to provide a device that does not require the calculation of the position and size of the area in advance, and that does not limit the number or position of the marker areas, performs mirror image processing only inside the area, and can copy the outside of the area with a normal image. . Further, regarding the mirror image processing, the CPU does not intervene during scanning, and an inexpensive image processing apparatus can be provided.
Further, according to the second embodiment, by limiting the number of regions in the main scanning direction to be mirror-image processed to some extent, it is possible to perform the mirror-image processing only on the inside of a large number of regions at a low cost, and the normal image outside the regions. It is possible to provide a device capable of copying with. Even if you say to limit the area, there is no limit in the sub-scanning direction,
The limited number in the main scanning direction also depends on the setting of the memory capacity and the like, and substantially the same effect as that of the first embodiment can be obtained.

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

【図1】画像処理装置における走査系の基本的な構造を
示す。
FIG. 1 shows a basic structure of a scanning system in an image processing apparatus.

【図2】画像処理装置全体の基本的な構成を示す。FIG. 2 shows a basic configuration of the entire image processing apparatus.

【図3】領域認識の例を示す。FIG. 3 shows an example of region recognition.

【図4】鏡像回路の内部構成を示す。FIG. 4 shows an internal configuration of a mirror image circuit.

【図5】基準信号生成部の具体的な回路構成を示す。FIG. 5 shows a specific circuit configuration of a reference signal generation unit.

【図6】画像データ処理部の具体的な回路構成を示す。FIG. 6 shows a specific circuit configuration of an image data processing unit.

【図7】画像データメモリのアドレス生成部の具体的な
回路構成を示す。
FIG. 7 shows a specific circuit configuration of an address generation unit of the image data memory.

【図8】画素アドレスメモリのデータアドレス生成部の
具体的な回路構成を示す。
FIG. 8 shows a specific circuit configuration of a data address generation unit of a pixel address memory.

【図9】基準信号生成部の各信号のタイミングを示す。FIG. 9 shows the timing of each signal of the reference signal generator.

【図10】書込動作時の各信号のタイミングを示す。FIG. 10 shows the timing of each signal during a write operation.

【図11】読出動作時の各信号のタイミングを示す。FIG. 11 shows the timing of each signal during a read operation.

【図12】鏡像処理を行った場合の出力例を示す。FIG. 12 shows an output example when a mirror image process is performed.

【図13】図12の例における信号の状態を示す。13 shows a signal state in the example of FIG.

【図14】第2の実施例における画素アドレスメモリの
メモリ構成を示す。
FIG. 14 shows a memory configuration of a pixel address memory in the second embodiment.

【図15】第2の実施例における画像データ処理部の具
体的な回路構成を示す。
FIG. 15 shows a specific circuit configuration of an image data processing unit in the second embodiment.

【図16】第2の実施例における画像データメモリのア
ドレス生成部の具体的な回路構成を示す。
FIG. 16 shows a specific circuit configuration of an address generator of the image data memory in the second embodiment.

【図17】第2の実施例における画素アドレスメモリの
データアドレス生成部の具体的な回路構成を示す。
FIG. 17 shows a specific circuit configuration of a data address generation unit of the pixel address memory according to the second embodiment.

【図18】第2の実施例における書込動作時の各信号の
タイミングを示す。
FIG. 18 shows the timing of each signal during a write operation in the second embodiment.

【図19】第2の実施例における読出動作時の各信号の
タイミングを示す。
FIG. 19 shows the timing of each signal during a read operation in the second embodiment.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】原稿を光学的に走査して画像情報を読み取
る手段と、読み取った画像情報から所定の画素単位に画
像データを生成する手段と、マーカ等により原稿上で指
定された領域をその内部と外部を分け、画像データに同
期して前記領域を表す領域データを生成する手段とを備
え、前記領域の内部または外部に対して編集加工処理を
行う画像処理装置において、 走査ライン毎に、入力される前記画像データおよび領域
データを所定の画素単位で記憶するメモリと、 走査ライン毎に、前記領域データを基に鏡像すべき画像
データを判定して、前記メモリの書込または読出アドレ
スを決定する手段と、 原稿上でマーカ等により指定された複数の領域に対し、
指定領域内部のみ鏡像処理を行い、指定領域外は正像で
出力する手段、 を有することを特徴とする画像処理装置。
1. A means for optically scanning an original to read image information, a means for generating image data in a predetermined pixel unit from the read image information, and an area designated on the original by a marker or the like. In an image processing device that divides the inside and the outside and that generates area data that represents the area in synchronization with image data, and that performs editing processing on the inside or outside of the area, for each scanning line, A memory that stores the input image data and area data in predetermined pixel units, and image data to be mirrored based on the area data is determined for each scanning line, and the write or read address of the memory is set. For the means to determine and the multiple areas specified by the marker etc. on the manuscript,
An image processing apparatus comprising means for performing mirror image processing only inside a designated area and outputting a normal image outside the designated area.
【請求項2】出力すべき画像データ及び領域データが記
憶されている第1のメモリのアドレスを個々の画素毎に
記憶及び演算するための第2のメモリと、 前記第2のメモリの書込及び読出制御手段と、 前記第1のメモリの読出アドレスを決定する手段を有す
ることを特徴とする請求項1に記載の画像処理装置。
2. A second memory for storing and calculating, for each pixel, an address of the first memory in which image data and area data to be output are stored, and writing in the second memory. The image processing apparatus according to claim 1, further comprising a read control unit and a unit that determines a read address of the first memory.
【請求項3】前記第1のメモリへの画像データの書込時
に、画像データに同期して入力される領域データの変化
点のアドレスを記憶する前記第2のメモリと、 前記第2のメモリの書込及び読出制御手段と、 画像データの読出時に、前記第2のメモリに記憶した変
化点を読み出して、前記第1のメモリの読出アドレスを
決定する手段を有することを特徴とする請求項1に記載
の画像処理装置。
3. A second memory for storing an address of a change point of area data input in synchronization with the image data when the image data is written in the first memory, and the second memory. Write and read control means and read means for reading change points stored in the second memory to determine a read address of the first memory at the time of reading image data. 1. The image processing device according to 1.
JP5093206A 1993-04-20 1993-04-20 Picture processor Pending JPH06311337A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5093206A JPH06311337A (en) 1993-04-20 1993-04-20 Picture processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5093206A JPH06311337A (en) 1993-04-20 1993-04-20 Picture processor

Publications (1)

Publication Number Publication Date
JPH06311337A true JPH06311337A (en) 1994-11-04

Family

ID=14076101

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5093206A Pending JPH06311337A (en) 1993-04-20 1993-04-20 Picture processor

Country Status (1)

Country Link
JP (1) JPH06311337A (en)

Similar Documents

Publication Publication Date Title
US4899227A (en) Image processing apparatus detecting the size or position of an information portion of an original
US4809083A (en) Image reading and/or recording apparatus with enlarging and reducing function
JP3183691B2 (en) Image synthesis device
JP3395691B2 (en) Image reading device
JPH06311337A (en) Picture processor
US5712714A (en) Image processing apparatus
US5303068A (en) Image data processing apparatus for difference scanning methods
US5764370A (en) Enlargement and reduction apparatus for an image forming apparatus
JP3179456B2 (en) Image editing device
JPH0622159A (en) Picture reader
JP2752821B2 (en) Image recording device
JP2985303B2 (en) Recording device area recognition method
JPH11168610A (en) Image processor
JP2921850B2 (en) Image processing device
JP4158695B2 (en) Image processing method and image processing apparatus
JP2712426B2 (en) Image transmission device
JP2728645B2 (en) Image magnification device
KR100438161B1 (en) scanning apparatus
JP3079145B2 (en) Image processing device
JP3039657B2 (en) Image processing device
JP2003163797A (en) Image reader
JPH0863594A (en) Memory controller for digital image processing
JPH07123185A (en) Picture processing unit
JPH0573668A (en) Mosaic processor
GB2288946A (en) Image enlargement/reduction method