JPH0944644A - Image processor and control method therefor - Google Patents

Image processor and control method therefor

Info

Publication number
JPH0944644A
JPH0944644A JP18923295A JP18923295A JPH0944644A JP H0944644 A JPH0944644 A JP H0944644A JP 18923295 A JP18923295 A JP 18923295A JP 18923295 A JP18923295 A JP 18923295A JP H0944644 A JPH0944644 A JP H0944644A
Authority
JP
Japan
Prior art keywords
signal
address
image
input
image data
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
JP18923295A
Other languages
Japanese (ja)
Inventor
Masakazu Kiko
正和 木虎
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP18923295A priority Critical patent/JPH0944644A/en
Publication of JPH0944644A publication Critical patent/JPH0944644A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image processor by which an image memory is divided into plural areas and the access to the respective areas can be easily switched and to provide a control method therefor. SOLUTION: Plural load values showing an initial address value to be given to the address counter of an address controller 318 are set, and since the space of a memory 309 for storing image data is divided into plural areas by switching the load values corresponding to an enable signal or a designate signal from a CPU, a data controller 319 can easily access the respective areas.

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 and a control method thereof, and, for example, after image processing of input image information, the image information is temporarily stored in an image memory and the image information read from the image memory is stored. The present invention relates to an output image processing device and a control method thereof.

【0002】[0002]

【従来の技術】画像入力装置により読込んだフルカラー
画像情報に画像処理を施した後、一旦、画像メモリに記
憶し、画像メモリから読出したフルカラー画像情報を出
力装置へ出力する装置がある。この装置において、自動
原稿送り装置を用い、複数の原稿を連続複写する場合、
その原稿サイズが、記憶できる最大サイズの半分よりも
小さければ、画像メモリを二つの領域に分割して、一方
のメモリ領域にはN枚目の原稿画像を記憶し、もう一方
のメモリ領域にはN+1枚目の画像情報を記憶して、連続
的に画像処理を行えるようにした所謂ダブルバッファ方
式により、複写速度を上げることが考えられる。また、
ダブルバッファ方式により両面複写を行うときは、原稿
の第一面を一方のメモリ領域に、第二面をもう一方のメ
モリ領域に記憶することによって、同様に、複写速度を
上げることができる。
2. Description of the Related Art There is a device that performs image processing on full-color image information read by an image input device, temporarily stores it in an image memory, and outputs the full-color image information read from the image memory to an output device. In this device, when using the automatic document feeder to copy multiple documents continuously,
If the original size is smaller than half the maximum size that can be stored, the image memory is divided into two areas, the Nth original image is stored in one memory area, and the other memory area is stored. It is conceivable to increase the copying speed by the so-called double buffer method in which the image information of the (N + 1) th sheet is stored and the image processing can be continuously performed. Also,
When double-sided copying is performed by the double buffer method, the copying speed can be similarly increased by storing the first side of the original document in one memory area and the second side in the other memory area.

【0003】[0003]

【発明が解決しようとする課題】しかし、上述した技術
においては、次のような問題点がある。つまり、画像デ
ータをダブルバッファ方式により画像メモリに格納する
ために、画像メモリに与えるアドレスをCPUにより制御
しようとする場合、一枚目の画像データを画像メモリに
格納した後、二枚目の画像データ用のアドレス制御を行
った後に、自動原稿送り装置に原稿の供給を開始させな
ければならない。従って、その間に待ち時間が生じ、そ
の結果、複写速度を低下させる原因になる。また、両面
複写におけるジャム処理時には、一枚目の画像か二枚目
の画像かを判断して、アドレスの制御を切替える必要が
ある。
However, the above-mentioned technique has the following problems. That is, in order to store the image data in the image memory by the double buffer method, when the CPU controls the address given to the image memory, after storing the first image data in the image memory, the second image After the address control for data is performed, the automatic document feeder must start feeding the document. Therefore, a waiting time is generated in the meantime, and as a result, the copying speed is reduced. Further, at the time of jam processing in double-sided copying, it is necessary to determine whether the image is the first image or the second image and switch the address control.

【0004】本発明は、上述の問題を解決するためのも
のであり、画像メモリを複数の領域に分割し、その各領
域へのアクセスを容易に切替えることができる画像処理
装置およびその制御方法を提供することを目的とする。
The present invention is for solving the above-mentioned problem, and provides an image processing apparatus capable of dividing an image memory into a plurality of areas and easily switching access to each area, and a control method thereof. The purpose is to provide.

【0005】[0005]

【課題を解決するための手段】本発明は、前記の目的を
達成する一手段として、以下の構成を備える。
The present invention has the following structure as one means for achieving the above object.

【0006】本発明にかかる画像処理装置は、記憶手段
の記憶領域を表すアドレス信号を発生する第一の発生手
段と、前記記憶手段に画像データを記憶させるための制
御信号を発生する第二の発生手段と、前記第一および第
二の発生手段を制御する第一の制御手段と、前記アドレ
ス信号と前記制御信号に基づいて、入力された画像デー
タを前記記憶手段に記憶させるとともに、前記記憶手段
に記憶された画像データを読出す第二の制御手段とを備
え、前記第一の制御手段は、前記第一の発生手段に複数
の異なるアドレス初期値を設定して、所定の信号に基づ
いて、設定したアドレス初期値を切替えることを特徴と
する。
The image processing apparatus according to the present invention comprises a first generating means for generating an address signal representing a storage area of the storage means, and a second generating means for generating a control signal for storing image data in the storage means. Generating means, first controlling means for controlling the first and second generating means, and storing the input image data in the storing means based on the address signal and the control signal, and storing the image data. Second control means for reading out the image data stored in the means, the first control means sets a plurality of different address initial values in the first generating means, and based on a predetermined signal. Then, the set address initial value is switched.

【0007】また、原稿画像を読取る読取手段と、記憶
手段の記憶領域を表すアドレス信号を発生する第一の発
生手段と、前記記憶手段に画像データを記憶させるため
の制御信号を発生する第二の発生手段と、前記第一およ
び第二の発生手段を制御する第一の制御手段と、前記ア
ドレス信号と前記制御信号に基づいて、前記読取手段か
ら出力された画像データを前記記憶手段に記憶させると
ともに、前記記憶手段に記憶された画像データを読出す
第二の制御手段と、前記記憶手段から読出された画像デ
ータに基づいて画像を形成する形成手段とを備え、前記
第一の制御手段は、前記第一の発生手段に複数の異なる
アドレス初期値を設定して、所定の信号に基づいて、設
定したアドレス初期値を切替えることを特徴とする。
Further, a reading means for reading the original image, a first generating means for generating an address signal representing a storage area of the storage means, and a second generation means for generating a control signal for storing the image data in the storage means. Generating means, first control means for controlling the first and second generating means, and image data output from the reading means stored in the storage means based on the address signal and the control signal. The first control means includes: second control means for reading the image data stored in the storage means; and forming means for forming an image based on the image data read from the storage means. Is characterized in that a plurality of different address initial values are set in the first generating means, and the set address initial values are switched based on a predetermined signal.

【0008】本発明にかかる画像処理装置の制御方法
は、記憶手段の記憶領域を表すアドレス信号を発生する
ための第一の発生手段に、複数の異なるアドレス初期値
を設定する設定ステップと、前記第一の発生手段に設定
したアドレス初期値を、所定の信号に基づいて、切替え
る切替ステップと、前記アドレス信号および第二の発生
手段により発生された前記記憶手段に画像データを記憶
させるための制御信号に基づいて、入力された画像デー
タを前記記憶手段に記憶させる格納ステップと、前記ア
ドレス信号と前記制御信号に基づいて、前記記憶手段に
記憶された画像データを読出す読出ステップとを有する
ことを特徴とする。
The control method of the image processing apparatus according to the present invention comprises a setting step of setting a plurality of different address initial values in the first generation means for generating an address signal representing the storage area of the storage means, A switching step of switching the address initial value set in the first generating means based on a predetermined signal, and a control for storing the image data in the storage means generated by the address signal and the second generating means. A storage step of storing the input image data in the storage means based on a signal; and a reading step of reading the image data stored in the storage means based on the address signal and the control signal. Is characterized by.

【0009】[0009]

【発明の実施の形態】以下、本発明にかかる一実施形態
の画像処理装置を図面を参照して詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an image processing apparatus according to an embodiment of the present invention will be described in detail with reference to the drawings.

【0010】[0010]

【第1実施例】 [装置の概要]図1は本発明にかかる一実施例の画像処
理装置の構成例を示す概観図である。
First Embodiment [Outline of Apparatus] FIG. 1 is a schematic view showing a configuration example of an image processing apparatus according to an embodiment of the present invention.

【0011】同図において、1201は原稿台ガラスで、画
像を読取る原稿1202が置かれる。原稿1202は照明1203に
より照射され、原稿1202からの反射光は、ミラー1204〜
1206を経て、光学系1207によりセンサ1208上に像が結ば
れる。センサ1208はRGBの三ラインCCDセンサである。さ
らに、モータ1209により機械的に、ミラー1204と照明12
03を含むミラーユニット1210は速度Vで、ミラー1205,12
06を含む第二ミラーユニット1211は速度V/2で駆動さ
れ、原稿1202の全面が走査される。
In FIG. 1, reference numeral 1201 denotes a platen glass on which a document 1202 for reading an image is placed. The original 1202 is illuminated by the illumination 1203, and the reflected light from the original 1202 is reflected by the mirror 1204 to
After 1206, an image is formed on the sensor 1208 by the optical system 1207. The sensor 1208 is an RGB three-line CCD sensor. In addition, the motor 1209 mechanically causes the mirror 1204 and the illumination 12
Mirror unit 1210 including 03 is speed V, mirror 1205,12
The second mirror unit 1211 including 06 is driven at the speed V / 2, and the entire surface of the original 1202 is scanned.

【0012】1212は画像処理部で、読取った画像を電気
信号として処理し、印刷信号として出力する部分であ
る。
An image processing unit 1212 is a unit for processing the read image as an electric signal and outputting it as a print signal.

【0013】1213〜1216はそれぞれ半導体レーザで、画
像処理部1212より出力された印刷信号により駆動され
る。半導体レーザそれぞれから射出されたレーザ光は、
ポリゴンミラー1217〜1220によって走査され、感光ドラ
ム1225〜1228上に静電潜像を形成する。1221〜1224はK,
Y,C,Mのトナーによりそれぞれ潜像を現像する現像器
で、現像された各色のトナーは記録紙に転写され、フル
カラーの印刷出力が得られる。
Reference numerals 1213 to 1216 denote semiconductor lasers, which are driven by the print signals output from the image processing unit 1212. The laser light emitted from each semiconductor laser is
The electrostatic latent image is formed on the photosensitive drums 1225-1228 by being scanned by the polygon mirrors 1217-1220. 1221-1224 is K,
The developing devices for developing the latent images with the Y, C, and M toners respectively transfer the developed toners of the respective colors to the recording paper to obtain a full-color print output.

【0014】記録紙カセット1229〜1231の何れかまたは
手差しトレイ1232から供給された記録紙は、レジストロ
ーラ1233を経て、転写ベルト1234上に吸着され搬送され
る。給紙のタイミングと同期して、予め感光ドラム1228
〜1225には各色のトナーが現像されていて、記録紙の搬
送とともにトナーが記録紙に転写される。
The recording paper supplied from any of the recording paper cassettes 1229 to 1231 or the manual feed tray 1232 is adsorbed on the transfer belt 1234 via the registration roller 1233 and conveyed. Photosensitive drum 1228 is synchronized with the paper feed timing.
To 1225 are developed with toner of each color, and the toner is transferred to the recording paper as the recording paper is conveyed.

【0015】各色のトナーが転写された記録紙は、転写
ベルト1234から分離搬送され、定着器1235によってトナ
ーが定着され、排紙トレイ1236に排紙される。
The recording paper on which the toners of the respective colors have been transferred is separated and conveyed from the transfer belt 1234, the toner is fixed by the fixing device 1235, and the recording paper is discharged to the paper discharge tray 1236.

【0016】[画像処理部]図2Aおよび図2Bは画像処理
部1212の構成例を示すブロック図である。
[Image Processing Unit] FIGS. 2A and 2B are block diagrams showing a configuration example of the image processing unit 1212.

【0017】同図において、101はセンサ1208のCCDで、
入力された原稿1201からの反射光をR,G,B三成分に分解
して、各色成分に応じた電気信号を出力する。
In the figure, 101 is the CCD of the sensor 1208,
The input reflected light from the original 1201 is decomposed into three components of R, G, and B, and an electric signal corresponding to each color component is output.

【0018】102はアナログ処理部で、増幅器,サンプ
ルアンドホールド,A/D変換器,ディレイメモリなどか
ら構成され、CCD101の出力を増幅し、サンプルアンドホ
ールドし、A/D変換した後、信号RおよびGをそれぞれデ
ィレイメモリによって所定時間遅延して三つのCCDの空
間的ずれを補正した例えば各8ビットのディジタル画像
信号として出力する。
Reference numeral 102 denotes an analog processing section, which is composed of an amplifier, a sample-and-hold, an A / D converter, a delay memory, etc., which amplifies the output of the CCD 101, performs sample-and-hold, and A / D-converts the signal R. And G are delayed by a delay memory for a predetermined time and the spatial shifts of the three CCDs are corrected and output as, for example, 8-bit digital image signals.

【0019】103はシェーディング補正部で、アナログ
処理部102の出力に画像読取部のシェーディング特性に
応じた補正を施す。
A shading correction unit 103 corrects the output of the analog processing unit 102 according to the shading characteristics of the image reading unit.

【0020】104は入力マスキング部で、シェーディン
グ補正部103の出力をマスキング処理して、センサ1208
のフィルタ特性に依存した色空間信号を例えばNTSCの標
準色空間信号に変換する。
An input masking unit 104 masks the output of the shading correction unit 103 to generate a sensor 1208.
The color space signal depending on the filter characteristic of is converted into, for example, the NTSC standard color space signal.

【0021】105は変倍処理部で、とくに画像拡大時に
画像信号を主走査方向に変倍する。なお、副走査方向の
変倍は、ミラーユニット1210,1211の駆動速度制御によ
って行う。
A scaling unit 105 scales the image signal in the main scanning direction especially when the image is enlarged. The scaling in the sub-scanning direction is performed by controlling the driving speed of the mirror units 1210 and 1211.

【0022】106はLOG変換部で、変倍処理部105から入
力されたRGB画像信号をCMY画像信号へ変換する。
A LOG converter 106 converts the RGB image signal input from the scaling processor 105 into a CMY image signal.

【0023】107は色空間変換部で、LOG変換部106から
入力されたCMY画像信号を明度信号Lと色度信号aおよびb
に変換する。ここで、Lab信号は、CIEのLab色空間で表
される信号であり、次式で計算される。 ただし、αij,Xo,Yo,Zo: 定数 A^B: AのB乗
Reference numeral 107 denotes a color space conversion unit which converts the CMY image signal input from the LOG conversion unit 106 into a lightness signal L and chromaticity signals a and b.
Convert to Here, the Lab signal is a signal represented in the CIE Lab color space, and is calculated by the following equation. Where αij, Xo, Yo, Zo: Constant A ^ B: A to the Bth power

【0024】また、X,Y,ZはRGB信号により次式によって
得られる信号である。 ただし、βij: 定数
Further, X, Y and Z are signals obtained from the RGB signals by the following equation. Where βij: constant

【0025】なお、LOG変換部106と色空間変換部107を
一つにして、RGB画像信号から直接Lab画像信号を生成す
ることもできる。
Note that the LOG converter 106 and the color space converter 107 may be combined into a single unit to directly generate a Lab image signal from an RGB image signal.

【0026】108は符号化部で、色空間変換部107から入
力された明度情報であるL信号を4×4画素のブロック単
位で符号化して、その符号である例えば43ビットのL_co
deを出力し、色度情報であるa,b信号を4×4画素のブロ
ック単位で符号化して、その符号である例えば21ビット
のab_codeを出力する。
Reference numeral 108 denotes an encoding unit that encodes the L signal, which is the lightness information input from the color space conversion unit 107, in block units of 4 × 4 pixels, and the code is, for example, L_co of 43 bits.
De is output, the a and b signals that are the chromaticity information are encoded in block units of 4 × 4 pixels, and the code, for example, 21-bit ab_code is output.

【0027】109は特徴抽出回路で、入力マスキング部1
04から入力されたRGB画像信号から、注目画素が黒画素
か否かを判定し、4×4画素のブロック内が黒画素エリア
であるか否かを判定することによって、注目画素が文字
領域に含まれるか否かを判定して、含まれる場合は黒判
定信号K_codeを`1'に、そうでない場合はK_codeを`0'に
する。
Reference numeral 109 is a feature extraction circuit, which is an input masking unit 1
From the RGB image signal input from 04, it is determined whether the pixel of interest is a black pixel, and by determining whether the block of 4 × 4 pixels is the black pixel area, the pixel of interest becomes a character area. It is determined whether or not it is included, and if it is included, the black determination signal K_code is set to "1", and if not, the K_code is set to "0".

【0028】110はメモリ部で、明度情報の符号L_cod
e,色度情報の符号ab_codeおよび特徴抽出結果の黒判定
信号K_codeを蓄える。図3はメモリ部110の構成例を示す
ブロック図で、詳細は後述するが、メモリ309への書込
みおよび読出しは、アドレスコントローラ318およびデ
ータコントローラ319によって制御する。
Reference numeral 110 denotes a memory unit, which is a code L_cod of lightness information.
e, the chromaticity information code ab_code and the black extraction signal K_code of the feature extraction result are stored. FIG. 3 is a block diagram showing a configuration example of the memory unit 110, and writing and reading to and from the memory 309 are controlled by the address controller 318 and the data controller 319, details of which will be described later.

【0029】メモリ部110に格納された符号化された画
像信号は、プリンタ部の出力に同期して、四つの画像形
成部119c,119m,119y,119kによって読出され、MCYK画像
信号が形成される。なお、四つの画像形成部119c,119m,
119y,119kは同一の構成を備えているので、以下ではC画
像形成部119cについて説明し、他の説明は省略する。
The encoded image signal stored in the memory unit 110 is read by the four image forming units 119c, 119m, 119y and 119k in synchronization with the output of the printer unit to form an MCYK image signal. . The four image forming units 119c, 119m,
Since 119y and 119k have the same configuration, the C image forming unit 119c will be described below, and the other description will be omitted.

【0030】111は復号部で、メモリ部110から読出され
たL_codeにより明度情報Lを復号し、ab_codeにより色度
情報aおよびbを復号する。
A decoding unit 111 decodes the lightness information L by the L_code read from the memory unit 110, and decodes the chromaticity information a and b by the ab_code.

【0031】112は色空間変換部で、復号されたLab色空
間の画像信号をCMY色空間の画像信号へ変換する。
A color space conversion unit 112 converts the decoded image signal in the Lab color space into an image signal in the CMY color space.

【0032】113はマスキング・UCR部で、色空間変換部1
12から入力されたCMY画像信号から式(3)によって黒Kを
抽出し、それぞれ設定された係数によってマスキング演
算を行い、C成分信号を出力する。そのマスキング演算
は式(4)または(5)のようになるが、メモリ部110から読
出されたK_codeが`0'、つまり注目画素が黒画素でない
ときは、C,M,Y,Kの各信号に所定の係数ai1,ai2,ai3,ai4
を乗じる式(4)の和積演算を行い、また、K_codeが`1'、
つまり注目画素が黒画素であるときは、C,M,Y,Kの各信
号に所定の係数bi1,bi2,bi3,bi4を乗じる式(5)の和積演
算を行う。 K = min(M,C,Y) …(3) 出力 = ai1・M+ai2・C+ai3・Y+ai4・K …(4) 出力 = bi1・M+bi2・C+bi3・Y+bi4・K …(5)
Reference numeral 113 denotes a masking / UCR unit, which is a color space conversion unit 1
Black K is extracted from the CMY image signal input from 12 according to the equation (3), masking calculation is performed by the set coefficient, and the C component signal is output. The masking operation is as shown in formula (4) or (5). However, when K_code read from the memory unit 110 is "0", that is, when the pixel of interest is not a black pixel, each of C, M, Y, and K is calculated. Predetermined coefficients for signals ai1, ai2, ai3, ai4
(4) is multiplied by, and K_code is `1 ',
That is, when the pixel of interest is a black pixel, the sum-product operation of equation (5) for multiplying each signal of C, M, Y, K by predetermined coefficients bi1, bi2, bi3, bi4 is performed. K = min (M, C, Y)… (3) Output = ai1 ・ M + ai2 ・ C + ai3 ・ Y + ai4 ・ K… (4) Output = bi1 ・ M + bi2 ・ C + bi3 ・ Y + bi4・ K… (5)

【0033】118はフィルタ処理判定部で、復号部111か
ら入力された詳細を供述する色度情報の振幅比again,bg
ainおよび画像判定信号Lflgに応じて、その画像ブロッ
クのフィルタリング処理を決定し、その判定結果を示す
信号を出力する。
Reference numeral 118 denotes a filter processing determination unit, which is an amplitude ratio again, bg of the chromaticity information which gives details input from the decoding unit 111.
The filtering process of the image block is determined according to ain and the image determination signal Lflg, and a signal indicating the determination result is output.

【0034】114はフィルタ処理部で、フィルタ処理判
定部118から入力された判定信号に応じて、マスキングU
CR部113から入力されたC成分信号に空間フィルタ処理を
施して画像補正する。
Reference numeral 114 denotes a filter processing unit, which masks U according to the determination signal input from the filter processing determination unit 118.
The C component signal input from the CR unit 113 is spatially filtered to correct the image.

【0035】115は変倍処理部で、四つの画像形成部119
c,119m,119y,119kから入力されたCMYK画像信号に変倍処
理、とくに画像縮小時の処理を施す。なお、変倍処理部
105と115は一つの回路でもよく、その場合は、図示しな
い制御部によって、変倍モードに応じて、変倍処理部の
入出力に設けたトライステートゲートを制御して画像信
号の流れを切り換えてやればよい。
Reference numeral 115 denotes a scaling processing section, which is four image forming sections 119.
CMYK image signals input from c, 119m, 119y, and 119k are subjected to scaling processing, especially processing at the time of image reduction. The scaling unit
105 and 115 may be a single circuit. In that case, a control unit (not shown) controls the tristate gates provided at the input and output of the scaling processing unit to switch the flow of the image signal according to the scaling mode. You can do it.

【0036】116はガンマ補正部で、変倍処理部115から
入力されたCMYK画像信号に、例えばプリンタなどの出力
装置の特性に応じたガンマ補正を施す。
Reference numeral 116 denotes a gamma correction unit that performs gamma correction on the CMYK image signal input from the scaling processing unit 115 according to the characteristics of an output device such as a printer.

【0037】117はエッジ強調部で、ガンマ補正部116か
ら出力した画像信号に、スムージングフィルタもしくは
エッジ強調フィルタ処理を施して出力する。エッジ強調
部117から出力された画像信号は、プリンタなどの出力
装置へ送られて画像が形成される。
Reference numeral 117 denotes an edge emphasizing unit which performs smoothing filter or edge emphasizing filter processing on the image signal output from the gamma correction unit 116 and outputs the image signal. The image signal output from the edge enhancement unit 117 is sent to an output device such as a printer to form an image.

【0038】[符号化部]次に、画像データの符号化に
ついて、その概要を説明する。なお、画像データの符号
化は、例えば4×4画素の計16画素を一ブロックとして行
う。
[Encoding Unit] Next, the outline of the encoding of image data will be described. It should be noted that the image data is coded, for example, in a total of 16 pixels of 4 × 4 pixels as one block.

【0039】●明度情報の符号化 明度情報符号化の概念を図4と5を用いて説明する。図4
(a)に示す4×4画素ブロックに切出された明度情報Xij
(i,j=1〜4)に、式(6)に示す4×4のアダマール変換を施
すと、図4(b)に示すYij(i,j=1〜4)を得る。アダマール
変換は直交変換の一種で、4×4のデータを二次元ウォル
シュ関数で展開するものであり、時間領域もしくは空間
領域の信号が、フーリエ変換によって周波数領域もしく
は空間周波数領域に変換されるのに相当する。すなわ
ち、アダマール変換後の行列Yij(i,j=1〜4)は、入力信
号の行列Xij(i,j=1〜4)のもつ空間周波数の各成分に相
当する信号になる。 ただし、 H: 4×4のアダマール行列 H^T: Hの転置行列
Encoding of Lightness Information The concept of lightness information encoding will be described with reference to FIGS. 4 and 5. Figure 4
Lightness information Xij cut out in the 4 × 4 pixel block shown in (a)
When (i, j = 1 to 4) is subjected to the 4 × 4 Hadamard transform shown in Expression (6), Yij (i, j = 1 to 4) shown in FIG. 4 (b) is obtained. The Hadamard transform is a type of orthogonal transform that expands 4 × 4 data with a two-dimensional Walsh function, and a signal in the time domain or space domain is transformed into the frequency domain or space frequency domain by the Fourier transform. Equivalent to. That is, the matrix Yij (i, j = 1 to 4) after Hadamard transform becomes a signal corresponding to each component of the spatial frequency of the matrix Xij (i, j = 1 to 4) of the input signal. Where H: 4 × 4 Hadamard matrix H ^ T: Transpose of H

【0040】ここで、二次元のフーリエ変換の場合と同
様に、アダマール変換結果Yij(i,j=1〜4)は、iの値(す
なわち行位置)が大きくなればなるほど副走査方向に高
い空間周波数成分が配置され、jの値(すなわち列位置)
が大きくなればなるほど主走査方向に高い空間周波数成
分が配置される。とくに、i=j=1の場合はYij=(1/4)ΣXi
jになり、入力データXij(i,j=1〜4)の直流成分すなわち
平均値に相当する信号(厳密には平均値を四倍した値の
信号)が出力される。
Here, as in the case of the two-dimensional Fourier transform, the Hadamard transform result Yij (i, j = 1 to 4) becomes higher in the sub-scanning direction as the value of i (that is, the row position) becomes larger. The spatial frequency components are located and the value of j (ie the column position)
The larger is, the higher the spatial frequency component is arranged in the main scanning direction. Especially when i = j = 1, Yij = (1/4) ΣXi
Then, a signal corresponding to the DC component of the input data Xij (i, j = 1 to 4), that is, the average value (strictly, a signal having a value obtained by multiplying the average value by four) is output.

【0041】一般的にイメージスキャナで読取った画像
は、CCDなど読取センサの解像度や光学系の透過特性な
どによって、高い空間周波数成分が少ないことが知られ
ている。さらに人間の目の視感度特性もまた高い空間周
波数成分の感度が低いことを利用して、アダマール変換
後の信号Yij(i,j=1〜4)をスカラ量子化して、図4(c)に
示すZij(i,j=1〜4)を得る。
It is generally known that an image read by an image scanner has few high spatial frequency components due to the resolution of a reading sensor such as a CCD and the transmission characteristics of an optical system. Furthermore, the visibility of the human eye is also high.Using the low sensitivity of spatial frequency components, the signal Yij (i, j = 1 to 4) after Hadamard transform is scalar-quantized, and the result is shown in Fig. 4 (c). Zij (i, j = 1 to 4) shown in is obtained.

【0042】図5(a)は明度情報Xij(i,j=1〜4)の各要素
のビット数を、同図(b)はアマダール変換結果Yij(i,j=1
〜4)の各要素のビット数を、同図(c)はスカラ量子化結
果Zij(i,j=1〜4)の各要素のビット数を示すが、これに
示すように、Y11すなわち直流成分を最多ビット数(8ビ
ット)で量子化してZ11とし、空間周波数の高い成分ほど
少ないビット数で量子化する。さらに、図4(d)に示すよ
うに、zij(i,j=1〜4)の16個の要素を直流成分と四つの
交流成分にグループ化する。すなわち、表1に示すよう
に、信号AVEに直流成分Z11を割当て、信号L1にグループ
化した主走査交流成分Z12,Z13,Z14を割当て、信号L2に
グループ化した副走査交流成分Z21,Z31,Z41を割当て、
信号Mにグループ化した主走査および副走査の中域交流
成分Z22,Z23,Z32,Z33を割当て、信号Hにはグループ化し
た主走査および副走査の高域成分Z24,Z34,Z42,Z43,Z44
を割当てる。
FIG. 5 (a) shows the number of bits of each element of the lightness information Xij (i, j = 1 to 4), and FIG. 5 (b) shows the Amadal transformation result Yij (i, j = 1).
4c), the figure (c) shows the number of bits of each element of the scalar quantization result Zij (i, j = 1 to 4). The component is quantized with the largest number of bits (8 bits) to Z11, and the component with higher spatial frequency is quantized with the smaller number of bits. Further, as shown in FIG. 4 (d), 16 elements of zij (i, j = 1 to 4) are grouped into a DC component and four AC components. That is, as shown in Table 1, the DC component Z11 is assigned to the signal AVE, the main scanning AC components Z12, Z13, and Z14 are assigned to the signal L1, and the sub-scanning AC components Z21 and Z31 are assigned to the signal L2. Assign Z41,
The main scanning and sub-scanning middle-range AC components Z22, Z23, Z32, Z33 are assigned to the signal M, and the signal H is grouped main scanning and sub-scanning high-pass components Z24, Z34, Z42, Z43, Z44
Assign

【0043】[0043]

【表1】 さらに、当該画素ブロックが、画像中のエッジ部である
のか否かによって、符号長を変えて各グループ毎に符号
化することもできる。例えば、エッジ部の場合は図5(d)
に一例を示す符号長で、非エッジ部の場合は同図(e)に
一例を示す符号長でそれぞれ符号化する。すなわち、エ
ッジ部においては、交流成分の情報が重要であるため
に、交流成分信号L1,L2,M,Hに符号長を多く割当てるも
のである。
【table 1】 Further, it is possible to change the code length and code each group depending on whether or not the pixel block is an edge portion in the image. For example, in the case of the edge part, Fig. 5 (d)
In the non-edge portion, the code length is coded as an example and the code length is coded as an example in FIG. That is, since the information of the AC component is important in the edge portion, a large code length is assigned to the AC component signals L1, L2, M, and H.

【0044】●色度情報の符号化 人間の視覚特性は色度情報よりも明度情報に対して敏感
である。また、一般にはL,a,bはすべて独立な関係にあ
るのだが、CCDによって読込まれた画像信号は読取装置
の光学系の特性から、明度情報と色度情報に相関性をも
つ。このことを考慮して色度情報aおよびbは、かなり粗
く量子化して効率よく符号化を行うことができる。
Coding of Chromaticity Information Human visual characteristics are more sensitive to lightness information than to chromaticity information. In general, L, a, and b all have an independent relationship, but the image signal read by the CCD has a correlation between the lightness information and the chromaticity information due to the characteristics of the optical system of the reading device. Considering this, the chromaticity information a and b can be quantized fairly coarsely and efficiently coded.

【0045】図6は色度情報の符号化の概念を示す図で
ある。
FIG. 6 is a diagram showing the concept of encoding chromaticity information.

【0046】同図(a)は4×4画素ブロックにおける明度
情報Lij、同図(b)は4×4画素ブロックにおける色度情報
aijである。いま、j=3すなわちA-A'の切り口において、
Lおよびaのデータが同図(c)または(d)に示すように推移
している場合を考え、四つの画素に対応する四つのデー
タの最大値と最小値の差をΔL,Δaとし、四つのデータ
の平均値がそれぞれLmean,ameanであったとする。この
ときLとaが線形な関係にあったとすれば次の式が成立す
る。 Δa/ΔL = (ai3 - amean)/(Li2 - Lmean) ai3 = Δa/ΔL・(Li3 - Lmean) + amean …(7)
FIG. 7A shows lightness information Lij in a 4 × 4 pixel block, and FIG. 9B shows chromaticity information in a 4 × 4 pixel block.
aij. Now, at the cut point of j = 3, that is, A-A ',
Considering the case where the data of L and a are transiting as shown in the same figure (c) or (d), the difference between the maximum value and the minimum value of the four data corresponding to the four pixels is ΔL, Δa, It is assumed that the average values of the four data are Lmean and amean, respectively. At this time, if L and a have a linear relationship, the following equation holds. Δa / ΔL = (ai3-amean) / (Li2-Lmean) ai3 = Δa / ΔL ・ (Li3-Lmean) + amean… (7)

【0047】この関係を4×4画素ブロックの他の画素に
適用すると式(8)が得られる。 Δa/ΔL = (aij - amean)/(Lij - Lmean) aij = Δa/ΔL・(Lij - Lmean) + amean = again・(Lij - Lmean) + amean …(8)
Applying this relationship to the other pixels in the 4 × 4 pixel block gives equation (8). Δa / ΔL = (aij-amean) / (Lij-Lmean) aij = Δa / ΔL ・ (Lij-Lmean) + amean = again ・ (Lij-Lmean) + amean… (8)

【0048】従って、色度情報aについては、4×4画素
ブロックの平均値ameanと、明度情報と色度情報の振幅
比Δa/ΔL(=again)とを符号化すれば、各画素のデータ
を復元することができる。色度情報bについても同様で
ある。
Therefore, for the chromaticity information a, if the average value amean of the 4 × 4 pixel block and the amplitude ratio Δa / ΔL (= again) of the lightness information and the chromaticity information are encoded, the data of each pixel Can be restored. The same applies to the chromaticity information b.

【0049】以上に基づいて、ameanとagain(およびbm
eanとbgain)の量子化を行うが、ビット数をより少なく
するために、画像ブロックの特性によって異なる符号長
で量子化を行う。
Based on the above, amean and again (and bm
ean and bgain), but in order to reduce the number of bits, it is performed with a code length that differs depending on the characteristics of the image block.

【0050】空間周波数の高い画像については、色度変
化の量子化誤差が大きく画質に影響し、色度平均値の誤
差の影響は小さい。逆に、空間周波数の低い画像すなわ
ち連続階調部については、色度平均値の量子化誤差が大
きく影響する。また、前述したように明度と色度は相関
性をもつから、明度差ΔLの大きな画素ブロック(エッジ
部)と、明度差ΔLの小さな画素ブロック(平坦部)に切分
けて量子化する。そして、amean,bmeanは線形スカラ量
子化によりam,bmに、again,bgainは非線形スカラ量子化
によりag,bgにそれぞれ符号化する。表2に各要素のビッ
ト数を示す。なお、表2のLflgは、明度差ΔLが閾値を超
えた場合に`1'に、そうでない場合は`0'になる画像判定
信号である。
With respect to an image having a high spatial frequency, the quantization error of chromaticity change has a large effect on the image quality, and the error of the chromaticity average value has a small effect. On the contrary, the quantization error of the chromaticity average value has a great influence on an image having a low spatial frequency, that is, a continuous tone part. Further, since the lightness and the chromaticity have a correlation as described above, the pixel block having a large lightness difference ΔL (edge portion) and the pixel block having a small lightness difference ΔL (flat portion) are divided and quantized. Then, amean and bmean are encoded into am and bm by linear scalar quantization, and again and gain are encoded into ag and bg by nonlinear scalar quantization, respectively. Table 2 shows the number of bits of each element. Note that Lflg in Table 2 is an image determination signal that becomes “1” when the lightness difference ΔL exceeds the threshold value and becomes “0” otherwise.

【0051】[0051]

【表2】 以上説明したような符号化により、例えば、各色成分8
ビットの画像信号4×4画素の384ビットを、L_codeの43
ビットとab_codeの21ビット(Lflgの1ビット含む)に、
つまり1/6の合計64ビットに圧縮することができる。
[Table 2] By the encoding described above, for example, each color component 8
Bit image signal 4 × 4 pixels 384 bits, L_code 43
Bit and 21 bits of ab_code (including 1 bit of Lflg),
In other words, it can be compressed to 1/6 in total of 64 bits.

【0052】[復号部]次に、メモリ部110から読出し
た符号の復号について、その概要を説明する。
[Decoding Unit] Next, the outline of decoding the code read from the memory unit 110 will be described.

【0053】●明度情報の復号 明度情報の復号は、図4で説明した手順を逆に実行すれ
ばよい。つまり、読出したL_codeを逆ベクトル量子化
し、逆スカラ量子化してアダマール空間の各周波数成分
に復元する。さらに、逆アダマール変換すれば明度情報
Lが復元される。逆アダマール変換は、式(6)で示したア
ダマール変換の逆変換であり、式(9)で定義される。 ただし、 H: 4×4のアダマール行列 H^T: Hの転置行列
Decoding Lightness Information The lightness information may be decoded by reversing the procedure described in FIG. That is, the read L_code is inverse vector quantized and inverse scalar quantized to restore each frequency component of the Hadamard space. Further, if the inverse Hadamard transform is performed, the brightness information
L is restored. The inverse Hadamard transform is an inverse transform of the Hadamard transform shown in equation (6) and is defined by equation (9). Where H: 4 × 4 Hadamard matrix H ^ T: Transpose of H

【0054】一方、アダマール変換および逆アダマール
変換は線形演算であり、行列Xのアダマール変換または
逆アダマール変換をH(X)と表現する場合、一般に式(10)
が成り立つ。 H(X1 + X2 +…+ Xn)= H(X1)+ H(X2)+…+ H(Xn) …(10)
On the other hand, the Hadamard transform and the inverse Hadamard transform are linear operations, and when the Hadamard transform or the inverse Hadamard transform of the matrix X is expressed as H (X), the equation (10) is generally used.
Holds. H (X1 + X2 +… + Xn) = H (X1) + H (X2) +… + H (Xn)… (10)

【0055】この性質を利用して、逆アダマール変換
を、明度情報の符号化で定義した各周波数帯域に分解し
て、それぞれ並列に行う。ここで、符号L1から復号され
たデータマトリクスをYL1、符号L2から復号されたデー
タマトリクスをYL2、符号Mから復号されたデータマトリ
クスをYM、符号Hから復号されたデータマトリクスをYH
にすると式(11)が成り立つ。 H(YL1 + YL2 + YM + YH)= H(YL1)+ H(YL2)+ H(YM)+ H(YH) …(11)
Utilizing this property, the inverse Hadamard transform is decomposed into each frequency band defined by the coding of the brightness information, and is performed in parallel. Here, the data matrix decoded from the code L1 is YL1, the data matrix decoded from the code L2 is YL2, the data matrix decoded from the code M is YM, and the data matrix decoded from the code H is YH.
If, then equation (11) holds. H (YL1 + YL2 + YM + YH) = H (YL1) + H (YL2) + H (YM) + H (YH)… (11)

【0056】従って、ブロックの各画素の明度情報dLij
は、H(X)の各画素の成分をHij(X)で表すと式(12)によっ
て得られる。 dLij = Lmean + Hij(YL1)+ Hij(Yn)+ Hij(YH) …(12)
Therefore, the brightness information dLij of each pixel of the block
Can be obtained by the equation (12) when the component of each pixel of H (X) is represented by Hij (X). dLij = Lmean + Hij (YL1) + Hij (Yn) + Hij (YH)… (12)

【0057】●色度情報の復号色度情報の復号は式(8)
に基づいて行う。前述の手順で復号したLmeanおよびdLi
jと、符号amとagおよびLflgから復号した4×4画素ブロ
ックの平均値ameanと振幅比againを式(8)に代入して、
各画素の色度情報daijを得る。同様にして、色度情報db
ijも得ることができる。
Decoding of Chromaticity Information Decoding of chromaticity information is performed by the formula (8).
Perform based on. Lmean and dLi decoded by the above procedure
Substituting j, the average value amean of the 4 × 4 pixel block decoded from the codes am, ag, and Lflg and the amplitude ratio again into the equation (8),
The chromaticity information daij of each pixel is obtained. Similarly, chromaticity information db
You can also get ij.

【0058】[装置タイミングチャート]図7は本実施
例の装置タイミングチャート例である。
[Device Timing Chart] FIG. 7 is an example of a device timing chart of this embodiment.

【0059】同図において、信号STARTは原稿読取動作
開始を示す信号である。信号WPEは、イメージスキャナ
が原稿画像を読取り、符号化処理およびメモリ書込みを
行う区間を表す。信号ITOPは印刷動作の開始を示す信号
で、信号MPE,CPE,YPE,KPEは、図1に示したマゼンタ半導
体レーザ1216,シアン半導体レーザ1215,イエロー半導
体レーザ1214,黒半導体レーザ1213をそれぞれ駆動する
区間信号である。
In the figure, the signal START is a signal indicating the start of the document reading operation. The signal WPE represents a section in which the image scanner reads the original image, performs the encoding process, and writes in the memory. The signal ITOP is a signal indicating the start of the printing operation, and the signals MPE, CPE, YPE, KPE drive the magenta semiconductor laser 1216, cyan semiconductor laser 1215, yellow semiconductor laser 1214, and black semiconductor laser 1213 shown in FIG. 1, respectively. It is a section signal.

【0060】同図に示すように、信号CPE,YPE,KPEは、
信号MPEに対してそれぞれ時間t1,t2,t3だけ遅延されて
いて、これは図1に示した距離d1,d2,d3に対して、次式
の関係に制御される。 t1=d1/v, t2=d2/v, t3=d3/v …(13)
As shown in the figure, the signals CPE, YPE and KPE are
The signal MPE is delayed by time t1, t2, t3, respectively, and this is controlled by the following relation with respect to the distances d1, d2, d3 shown in FIG. t1 = d1 / v, t2 = d2 / v, t3 = d3 / v… (13)

【0061】信号HSYNCは主走査同期信号、信号CLKは画
素同期信号である。信号XPHSは2ビットの主走査カウン
タのカウント値、信号YPHSは2ビットの副走査カウンタ
のカウント値で、図8に一例を示すインバータ1001と2ビ
ットカウンタ1002,1003で構成される回路で発生させ
る。
The signal HSYNC is a main scanning synchronizing signal, and the signal CLK is a pixel synchronizing signal. The signal XPHS is the count value of the 2-bit main scanning counter, and the signal YPHS is the count value of the 2-bit sub-scanning counter, which is generated by the circuit configured by the inverter 1001 and the 2-bit counters 1002 and 1003 shown in FIG. .

【0062】信号BLKは4×4画素ブロック単位の同期信
号で、BDATAで示すタイミングで4×4ブロック単位に処
理がなされる。
The signal BLK is a synchronization signal in units of 4 × 4 pixel blocks and is processed in units of 4 × 4 blocks at the timing indicated by BDATA.

【0063】[メモリ部の構成]メモリ部110は、図3に
示したように、メモリ309,アドレスコントローラ318お
よびデータコントローラ319で構成される。
[Structure of Memory Unit] The memory unit 110 is composed of a memory 309, an address controller 318 and a data controller 319, as shown in FIG.

【0064】図9はアドレスコントローラ318の構成例を
示すブロック図で、アドレスコントローラ318は、主走
査アドレス発生部(XCOUNTER)423,副走査アドレス発生
部(YCOUNTER)424,アドレスセレクト部(ADR-SEL)425お
よびメモリ制御信号生成部(RC-CON)426に大きく別けら
れる。
FIG. 9 is a block diagram showing a configuration example of the address controller 318. The address controller 318 includes a main scanning address generation unit (XCOUNTER) 423, a sub-scanning address generation unit (YCOUNTER) 424, and an address selection unit (ADR-SEL). ) 425 and the memory control signal generator (RC-CON) 426.

【0065】本実施例は、例えば、メモリ309としてDRA
Mを使用する。DRAMのアクセスは、ロー(ROW)アドレスと
カラム(COLUMN)アドレスの二つのアドレスと、それぞれ
のストローブ信号(RAS,CAS)、そしてイネーブル信号(W
E)により制御される。本実施例は、例えば、主走査方向
に最大297mm、副走査方向に最大432mmの画像を、400dpi
の解像度でメモリ部110に記憶することが可能である。
従って、XCOUNTER423とYCOUNTER424は、その大きさのメ
モリ空間にアクセスできるように13ビットのアドレスカ
ウンタになっている。
In this embodiment, for example, DRA is used as the memory 309.
Use M. DRAM access is performed using two addresses, a row (ROW) address and a column (COLUMN) address, strobe signals (RAS, CAS), and enable signals (W
Controlled by E). In the present embodiment, for example, an image of maximum 297 mm in the main scanning direction and maximum 432 mm in the sub scanning direction is set to 400 dpi.
It is possible to store in the memory unit 110 at the resolution of.
Therefore, the XCOUNTER 423 and YCOUNTER 424 are 13-bit address counters so that the memory space of that size can be accessed.

【0066】バッファ407を介して、図示しない区間信
号生成部から入力された主走査区間信号WLEとRLEは、D-
F/F413により2クロック分遅延されて、XCOUNTER423へ入
力される。また、同様に、バッファ406を介して入力さ
れた副走査区間信号WPE,MPE,CPE,YPEは、D-F/F412によ
り2クロック分遅延されて、YCOUNTER424へ入力される。
これらの区間信号は、そのレベルが‘H’のとき有効画
像区間であることを表すものである。
The main scanning section signals WLE and RLE input from the section signal generator (not shown) via the buffer 407 are D-
It is delayed by 2 clocks by F / F413 and input to XCOUNTER423. Similarly, the sub-scanning section signals WPE, MPE, CPE, YPE input via the buffer 406 are delayed by 2 clocks by the DF / F 412 and input to the YCOUNTER 424.
These section signals represent an effective image section when the level is “H”.

【0067】ADDEC418は、バッファ400〜405を介して図
示しないCPUから入力された信号ADR,DATA,XCS,RD,WR,RS
Tに従って、内蔵する各レジスタの読み書きを行い、各
レジスタに保持されたデータを信号WR0〜WR7Fとして出
力する。なお、信号RSTはリセット信号で、各ブロック
のクリア端子CRまたはリセット端子XRSTへ入力される。
ADDEC 418 is a signal ADR, DATA, XCS, RD, WR, RS input from a CPU (not shown) via buffers 400 to 405.
According to T, each built-in register is read and written, and the data held in each register is output as signals WR0 to WR7F. The signal RST is a reset signal and is input to the clear terminal CR or the reset terminal XRST of each block.

【0068】XCOUNTER423には、前記の区間信号のほか
に、バッファ408およびD-F/F414を介して主走査および
副走査の位相を表すXPHS信号およびYPHS信号と、ADDEC4
18のレジスタからカウンタの諸設定を行う信号WR0,WR4,
WR6,WR8,WRA,WRCとが入力される。そして、XCOUNTER423
は、DRAMの主走査書込アドレス(XAW)と、DRAMの主走査
読出アドレス(XAR)を出力する。
In addition to the section signals described above, the XCOUNTER 423 sends the XPHS signal and the YPHS signal indicating the phases of the main scanning and the sub scanning via the buffer 408 and the DF / F 414, and ADDEC4.
Signals WR0, WR4, which set counters from 18 registers
WR6, WR8, WRA, WRC are input. And XCOUNTER423
Outputs the main scan write address (XAW) of the DRAM and the main scan read address (XAR) of the DRAM.

【0069】バッファ410を介して図示しないCPUから入
力された信号HSは、D-F/F416と421でそれぞれ1クロック
分遅延され、1クロック分遅延された信号と2クロック分
遅延され反転された信号とがゲート422でANDされる。ゲ
ート422から出力された信号HSは、XCOUNTER423のHS0端
子とYCOUNTER424のHSY端子へ入力される。
The signal HS input from the CPU (not shown) via the buffer 410 is delayed by 1 clock each in the DF / Fs 416 and 421, and the signal delayed by 1 clock and the signal inverted by 2 clocks and inverted. Is ANDed at gate 422. The signal HS output from the gate 422 is input to the HS0 terminal of the XCOUNTER 423 and the HSY terminal of the YCOUNTER 424.

【0070】バッファ411を介して入力された信号CLK
は、各ブロックのCLK端子へ供給されるとともに、イン
バータ417で反転されて信号XCLKになり、RC-CON426のXC
LK端子へ供給される。
Signal CLK input via buffer 411
Is supplied to the CLK terminal of each block and inverted by the inverter 417 to become the signal XCLK, which is the XC of RC-CON426.
Supplied to the LK pin.

【0071】●主走査アドレス発生部(XCOUNTER) 図10はXCOUNTER423の回路構成例を示す図である。Main Scan Address Generation Unit (XCOUNTER) FIG. 10 is a diagram showing a circuit configuration example of the XCOUNTER 423.

【0072】主走査位相信号XPHSは、D-F/F1100,1101と
1108,1109によりそれぞれ2クロック分遅延され、カウン
タのイネーブル制御用である16入力一出力のセレクタ(C
ENB-SEL)1102と1110へ入力される。CENB-SEL1102と1110
はそれぞれ、主走査位相信号XPHSをセレクト信号とし
て、信号WR4,WRAの各ビットを選択する。従って、イネ
ーブルにしたい位相に相当する信号WR4,WRAのビットを
‘L’に、ディスイネーブルにしたい位相のビットを
‘H’に設定する。
The main scanning phase signal XPHS is DF / F1100, 1101
Delayed by 2 clocks by 1108 and 1109 respectively, 16-input 1-output selector (C
Input to ENB-SEL) 1102 and 1110. CENB-SEL1102 and 1110
Selects each bit of the signals WR4 and WRA using the main scanning phase signal XPHS as a select signal. Therefore, the bit of the signals WR4 and WRA corresponding to the phase to be enabled is set to "L" and the bit of the phase to be disabled is set to "H".

【0073】CENB-SEL1102と1110の出力Dはそれぞれ、1
3ビットのアップダウンカウンタ(UDCT)1107と1116のENB
端子へ入力される。この出力Dのレベルが‘L’のときは
イネーブル状態であり、UDCT1107と1116はカウント動作
する。逆に、出力Dのレベルが‘H’のときはディスイネ
ーブル状態であり、UDCT1107と1116は出力を保持する。
The outputs D of CENB-SEL1102 and 1110 are 1 respectively.
3-bit up / down counter (UDCT) 1107 and 1116 ENB
Input to terminal. When the level of the output D is'L ', it is in the enable state and the UDCTs 1107 and 1116 perform counting operation. Conversely, when the level of the output D is “H”, it is in the disable state, and the UDCTs 1107 and 1116 hold the output.

【0074】信号WR0,WR6は、UDCT1107と1116のロード
値を決定する信号であり、この設定値を変えることによ
り、DRAMの任意のアドレスからアクセスを開始すること
ができる。UDCT1107と1116のロードは、以下のようにし
て生成されるLD信号により制御される。
The signals WR0 and WR6 are signals that determine the load values of the UDCTs 1107 and 1116, and by changing the set value, access can be started from any address of the DRAM. The loading of the UDCTs 1107 and 1116 is controlled by the LD signal generated as follows.

【0075】JK-F/F1104は、そのJ端子へ主走査区間信
号LEのビット0を入力し、端子Kへゲート1103により信号
LEのビット0と信号WRCのビット0とをNORした信号を入力
する。ゲート1106は、JK-F/F1104の出力Qと、その出力Q
をD-F/F1105により1クロック分遅延し反転した信号とを
NANDした信号を出力し、この信号がUDCT1107のLD信号に
なる。従って、UDCT1107は、区間信号LEがイネーブル状
態になった瞬間に、ロード値をロードする。UDCT1116の
LD信号もゲート1111,JK-F/F1113,D-F/F1114,ゲート1
115により同様に生成される。ただし、UDCT1116のLD信
号は、信号LEのビット0と信号WRCのビット0に代わっ
て、信号LEのビット1と信号WRCのビット2から生成され
る。
The JK-F / F 1104 inputs the bit 0 of the main scanning section signal LE to its J terminal and outputs the signal to the terminal K by the gate 1103.
Input the signal obtained by NORing bit 0 of LE and bit 0 of signal WRC. Gate 1106 has output Q of JK-F / F1104 and its output Q.
Is delayed by 1 clock by DF / F1105
The NANDed signal is output, and this signal becomes the LD signal of the UDCT1107. Therefore, the UDCT 1107 loads the load value at the moment when the section signal LE is enabled. Of UDCT1116
LD signal is also gate 1111, JK-F / F1113, DF / F1114, gate 1
Similarly generated by 115. However, the LD signal of the UDCT 1116 is generated from bit 1 of the signal LE and bit 2 of the signal WRC instead of bit 0 of the signal LE and bit 0 of the signal WRC.

【0076】また、UDCT1107と1116のカウント動作は、
そのUP端子へそれぞれ入力される信号WRCのビット1とビ
ット3が‘H’のときはアップカウントに、‘L’のとき
はダウンカウントになる。
The counting operation of UDCT 1107 and 1116 is as follows.
When the bit 1 and bit 3 of the signal WRC input to the UP terminal are'H ', the count is up, and when they are'L', the count is down.

【0077】このようにして、UDCT1107と1116の出力D
が決定され、それぞれ主走査書込アドレスXAWと主走査
読出アドレスXARとしてADR-SEL425へ入力される。
In this way, the output D of UDCT 1107 and 1116
Are determined and input to the ADR-SEL 425 as the main scan write address XAW and the main scan read address XAR, respectively.

【0078】●副走査アドレス発生部(YCOUNTER) 図11はYCOUNTER424の回路構成例を示す図で、書込用(W)
のYカウンタ502と、M,C,Y,Kそれぞれの読出用(R)の四つ
のカウンタ503,504,505,506などから構成される。
Sub-scanning Address Generator (YCOUNTER) FIG. 11 is a diagram showing a circuit configuration example of the YCOUNTER 424, for writing (W).
No. Y counter 502 and four counters 503, 504, 505, 506 for reading (R) of M, C, Y, K respectively.

【0079】セレクタ(CENB-SEL)500と501は、図10に示
したCENB-SEL1102,1110と同じ、カウンタのイネーブル
制御用である16入力一出力のセレクタである。CENB-SEL
1102と1110はそれぞれ、副走査位相信号YPHSをセレクト
信号として、信号WR12,WR26の各ビットを選択する。従
って、イネーブルにしたい位相に相当する信号WR12,WR2
6のビットを‘L’に、ディスイネーブルにしたい位相の
ビットを‘H’に設定する。なお、CENB-SEL500の選択出
力はYカウンタ502のイネーブル端子ENへ入力され、CENB
-SEL501の選択出力はYカウンタ502〜506のイネーブル端
子ENへ入力される。
The selectors (CENB-SEL) 500 and 501 are 16-input 1-output selectors for counter enable control, which are the same as the CENB-SELs 1102 and 1110 shown in FIG. CENB-SEL
Each of 1102 and 1110 selects each bit of the signals WR12 and WR26 by using the sub-scanning phase signal YPHS as a select signal. Therefore, the signals WR12 and WR2 corresponding to the phase you want to enable are
Set the 6th bit to'L 'and the phase bit you want to disable to'H'. The selection output of CENB-SEL500 is input to the enable terminal EN of the Y counter 502 and
-Selection output of SEL501 is input to enable terminal EN of Y counters 502-506.

【0080】図12は五つのYカウンタ502〜506それぞれ
の回路構成例を示す図である。
FIG. 12 is a diagram showing a circuit configuration example of each of the five Y counters 502-506.

【0081】端子PEへ入力される信号は、各カウンタへ
入力される副走査区間信号で、D-F/F100により1クロッ
ク分遅延された後、D-F/F103のCLK端子とD-F/F104のD端
子へ入力される。D-F/F103のD端子へは、D-F/F100の出
力が‘L’から‘H’に変わるとき、自身の反転出力から
内部状態を反転した信号が入力される。また、D-F/F103
の出力Qは、セレクト信号として、二入力一出力のセレ
クタ105へ入力される。
The signal input to the terminal PE is a sub-scanning section signal input to each counter, which is delayed by one clock by the DF / F100 and then input to the CLK terminal of the DF / F103 and the D terminal of the DF / F104. Is entered. When the output of DF / F100 changes from'L 'to'H', the D terminal of DF / F103 receives a signal whose internal state is inverted from its inverted output. Also, DF / F103
The output Q is input as a select signal to the two-input one-output selector 105.

【0082】セレクタ105のA入力には端子WR0が、B入力
には端子WR1が接続され、選択された信号はロード値と
して、13ビットのアップダウンカウンタ(UDCT)107へ送
られる。ロード信号は、ゲート106によりD-F/F104の反
転出力とD-F/F100の出力をNANDした信号であり、この構
成により、副走査区間信号PEがイネーブル状態になった
瞬間に、UDCT107はセレクタ105の出力をロードする。
The terminal WR0 is connected to the A input and the terminal WR1 is connected to the B input of the selector 105, and the selected signal is sent to the 13-bit up / down counter (UDCT) 107 as a load value. The load signal is a signal obtained by NANDing the inverted output of the DF / F104 and the output of the DF / F100 by the gate 106. With this configuration, the UDCT 107 outputs the output of the selector 105 at the moment when the sub-scanning section signal PE is enabled. To load.

【0083】また、端子HSへ入力された信号をインバー
タ102で反転した信号と、端子ENへ入力された信号と
を、ゲート108でORしたイネーブル信号がUDCT107へ入力
されているので、UDCT107は、主走査同期信号から生成
された信号HSに同期したある主走査の一区間において、
端子ENへ入力された信号に従った回数分カウント動作を
行う。
Since the enable signal obtained by ORing the signal input to the terminal HS by the inverter 102 and the signal input to the terminal EN at the gate 108 is input to the UDCT 107, the UDCT 107 In one main scanning section synchronized with the signal HS generated from the main scanning synchronization signal,
Performs count operation according to the signal input to the terminal EN.

【0084】また、UDCT107は、端子WR3へ入力された信
号に従ってアップダウン動作を切替え、その信号が
‘L’のときはアップカウントし、‘H’のときはダウン
カウントする。
The UDCT 107 switches up / down operation according to the signal input to the terminal WR3, and when the signal is'L ', it counts up, and when it is'H', it counts down.

【0085】このようにして、Yカウンタ502は副走査書
込アドレスYAW0を出力し、Yカウンタ503〜506はそれぞ
れ副走査読出アドレスYAR1〜YAR4を出力する。これらの
アドレス信号はADR-SEL425へ入力される。
In this way, the Y counter 502 outputs the sub-scanning write address YAW0, and the Y counters 503 to 506 output the sub-scanning read addresses YAR1 to YAR4, respectively. These address signals are input to the ADR-SEL425.

【0086】このように、Yカウンタ502〜506は、二つ
のロード値を切替えて、そのロード値からDRAMのアクセ
スを開始する、つまり、アドレス初期値としてロード値
を用いるようになっている。本実施例は、通常の動作を
行う場合、端子WR0とWR1に同じロード値をセットして、
常に同じアドレスからDRAMのアクセスを開始する。しか
し、本実施例は、A4サイズならば二枚分の画像を記憶す
ることができるメモリをもっているので、RFフィーダな
どの自動原稿送り装置によりA4サイズの原稿を一対一で
コピー(一枚の原稿に対して一枚のコピー出力を得るこ
と)する場合は、端子WR0とWR1に異なる値をセットす
る。もし、RFフィーダによりA4サイズの原稿を一対一で
コピーする際に、WR入力が一つしかない場合は、N枚目
の原稿の画像をメモリに記憶した後、その画像のプリン
ト出力が終了するまでは、N+1枚目の原稿の画像をメモ
リへ書込むことはできない。しかし、二つのWR入力をも
つ場合は、メモリを二分割して利用することができる。
As described above, the Y counters 502 to 506 switch two load values and start accessing the DRAM from the load values, that is, use the load value as the initial address value. In this embodiment, when performing normal operation, set the same load value to the terminals WR0 and WR1,
DRAM access is always started from the same address. However, this embodiment has a memory capable of storing two images of A4 size, so an A4 size document is copied one-to-one by an automatic document feeder such as an RF feeder (one document To obtain one copy output), set different values to pins WR0 and WR1. If there is only one WR input when copying an A4 size document one-to-one with the RF feeder, the image of the Nth document is stored in memory and then the printout of that image ends. Up to, the image of the (N + 1) th original cannot be written to the memory. However, if it has two WR inputs, the memory can be divided into two and used.

【0087】具体的に説明すると、N枚目の原稿におい
てはWR0の値をUDCT107にロードし、そのロード値を先頭
アドレスとして、画像をメモリへ書込む。N枚目に対応
する画像の書込みが終わった時点で、WR1の値をUDCT107
へロードし、N+1枚目に対応する画像は、WR1の値を先頭
アドレスとしてメモリへ書込む。このN+1枚目に対応す
る画像を記憶するメモリ空間と、N枚目に対応する画像
が記憶されたメモリ空間とは重複しないため、N+1枚目
に対応する画像の書込みと、N枚目に対応する画像の読
出しは略同時に行うことが可能になる。従って、本実施
例は、RFフィーダなどを用いた一対一コピーを、高速に
処理することができる。
More specifically, for the Nth original, the value of WR0 is loaded into the UDCT 107, and the image is written in the memory using the loaded value as the start address. When the writing of the image corresponding to the Nth sheet is completed, the value of WR1 is changed to UDCT107.
The image corresponding to the (N + 1) th sheet is written to the memory with the value of WR1 as the start address. Since the memory space for storing the image corresponding to the N + 1th sheet and the memory space for storing the image corresponding to the Nth sheet do not overlap, writing of the image corresponding to the N + 1th sheet and N It is possible to read out the image corresponding to the first sheet at substantially the same time. Therefore, this embodiment can process a one-to-one copy using an RF feeder or the like at high speed.

【0088】また、A4サイズ以下の両面コピーを行うと
きも、原稿の第一面の画像をWR0でセットされるアドレ
ス空間へ書込み、第二面の画像はWR1でセットされるア
ドレス空間へ書込むことにより、ドキュメントフィーダ
などを用いるときと同様に、両面コピーを高速に処理す
ることができる。
Also, when performing double-sided copy of A4 size or smaller, the image on the first side of the document is written in the address space set by WR0, and the image on the second side is written in the address space set by WR1. As a result, double-sided copying can be processed at high speed as in the case of using a document feeder or the like.

【0089】●アドレスセレクト部(ADR-SEL) 図13はADR-SEL425の回路構成例を示す図である。Address Select Unit (ADR-SEL) FIG. 13 is a diagram showing a circuit configuration example of the ADR-SEL 425.

【0090】C-SEL608〜611はそれぞれ、副走査読出ア
ドレスYAR1,YAR2,YAR3,YAR4が入力される四入力一出力
の第一のセレクタ八個と、八つの第一のセレクタの出力
を選択する八入力一出力の第二のセレクタとで構成され
る。そして、C-SEL608の第一のセレクタそれぞれの選択
信号は信号WR28の各2ビットであり、同様に、C-SEL609
の第一のセレクタそれぞれの選択信号は信号WR2Aの各2
ビット、C-SEL610の第一のセレクタそれぞれの選択信号
は信号WR2Cの各2ビット、C-SEL611の第一のセレクタそ
れぞれの選択信号は信号WR2Eの各2ビットである。ま
た、第二のセレクタの選択信号は、インバータ602〜605
により主走査位相信号XPHSのビット1を反転した信号、
および、D-F/F601により副走査位相信号YPHSを1クロッ
ク分遅延した信号のビット0と1の合計3ビットである。
従って、C-SEL608〜611は、信号XPHSと信号YPHSに応じ
て、四つの副走査読出アドレスを時分割に出力する。
The C-SELs 608 to 611 respectively select eight four-input one-output first selectors to which the sub-scanning read addresses YAR1, YAR2, YAR3, and YAR4 are input, and eight first selector outputs. It consists of a second selector with eight inputs and one output. The selection signal of each of the first selectors of the C-SEL608 is each 2 bits of the signal WR28.
The selection signal of each of the first selectors is 2 for each of the signals WR2A
The selection signal of each bit and the first selector of the C-SEL610 is each 2 bits of the signal WR2C, and the selection signal of each of the first selector of the C-SEL611 is each 2 bits of the signal WR2E. The selection signal of the second selector is the inverters 602 to 605.
The signal which inverted bit 1 of the main scanning phase signal XPHS by
Further, the sub scanning phase signal YPHS is delayed by one clock by the DF / F601, and the total of 3 bits of bits 0 and 1 is provided.
Therefore, the C-SELs 608 to 611 output four sub-scanning read addresses in a time division manner according to the signals XPHS and YPHS.

【0091】主副カウンタ切替回路(XY-SEL)612は、信
号WR31のビット0を切替信号として、入力された主走査
書込アドレスXAWと副走査書込アドレスYAW0を切替えて
出力する。また、XY-SEL613〜616は、WR31のビット1を
切替信号として、それぞれに入力された主走査読出アド
レスXARとC-SEL608で選択された副走査書込アドレス、X
ARとC-SEL609で選択された副走査書込アドレス、XARとC
-SEL610で選択された副走査書込アドレス、XARとC-SEL6
11で選択された副走査書込アドレスを切替えて出力す
る。図13にXY-SEL612から616の入出力と選択信号の関係
を示す。このようにして、主副のアドレスを切替えるこ
とにより、メモリに格納された画像を回転して出力する
ことが可能になる。
The main / sub counter switching circuit (XY-SEL) 612 switches between the input main scanning write address XAW and the sub scanning writing address YAW0 by using bit 0 of the signal WR31 as a switching signal and outputs it. In addition, XY-SEL613 to 616 use the bit 1 of WR31 as a switching signal to input the main scan read address XAR and the sub-scan write address selected by C-SEL608, X-SEL, respectively.
AR and C-Sub-scan write address selected by SEL609, XAR and C
-Sub-scan write address selected by SEL610, XAR and C-SEL6
The sub-scanning write address selected in 11 is switched and output. FIG. 13 shows the relationship between the input / output of XY-SEL 612 to 616 and the selection signal. In this way, by switching the main and sub addresses, the image stored in the memory can be rotated and output.

【0092】XY-SEL612の出力XとYは、XがLSB側、YがMS
B側として、一つのバスデータになり、リードライト切
替セレクタ617〜620のA端子側へ入力される。同様に、X
Y-SEL613〜616の出力XとYは、XがLSB側、YがMSB側とし
て、一つのバスデータになり、リードライト切替セレク
タ617〜620のB端子側へ入力される。これらセレクタ617
〜620の選択信号は、八入力一出力のセレクタ607によっ
て選択された信号WR30の1ビットである。なお、セレク
タ607の選択信号は、インバータ606により主走査位相信
号XPHSのビット1を反転した信号、および、D-F/F601に
より副走査位相信号YPHSを1クロック分遅延した信号の
ビット0と1の合計3ビットであり、主走査・副走査の位
相に合わせて、セレクタ607の出力が切替わる。そし
て、セレクタ607の出力が‘0’のとき、セレクタ617〜6
20はA入力側、つまり書込アドレスを選択し、‘1’のと
きはB入力側、つまり読出アドレスを選択する。
Regarding the outputs X and Y of the XY-SEL612, X is the LSB side and Y is the MS.
On the B side, it becomes one bus data and is input to the A terminal side of the read / write switching selectors 617-620. Similarly, X
The outputs X and Y of the Y-SEL 613 to 616 become one bus data with X being the LSB side and Y being the MSB side, and are input to the B terminal side of the read / write switching selectors 617 to 620. These selectors 617
The selection signals of ˜620 are 1 bit of the signal WR30 selected by the eight-input one-output selector 607. The selection signal of the selector 607 is the sum of bit 0 and 1 of the signal obtained by inverting the bit 1 of the main scanning phase signal XPHS by the inverter 606 and the signal obtained by delaying the sub scanning phase signal YPHS by 1 clock by the DF / F601. It is 3 bits, and the output of the selector 607 is switched according to the phase of main scanning / sub scanning. Then, when the output of the selector 607 is "0", the selectors 617 to 6
20 selects the A input side, that is, the write address, and when it is '1', the B input side, that is, the read address.

【0093】セレクタ617〜620の出力は、アドレス変換
器(Z-TRNS)621の端子A0〜A3へ入力される。Z-TRANS621
は、入力されたカウント値を、DRAMのアドレス区間にマ
ッチするように、ROWアドレス,COLUMNアドレスへ変換
する。本実施例の画像処理装置が扱う空間は、前述した
ように、例えば297mm×432mmで、記録密度を例えば400d
piにすると4,677画素×6,803画素になる。これを2M×8
ビットのDRAMに、過不足なくマッピングするためには、
以下のようにアドレスを出力すればよい。
The outputs of the selectors 617 to 620 are input to the terminals A0 to A3 of the address converter (Z-TRNS) 621. Z-TRANS621
Converts the input count value into a ROW address and a COLUMN address so as to match the DRAM address section. As described above, the space handled by the image processing apparatus of this embodiment is, for example, 297 mm × 432 mm, and the recording density is, for example, 400 d.
When it is set to pi, it becomes 4,677 pixels x 6,803 pixels. 2M x 8
In order to map to the bit DRAM just enough,
The address may be output as follows.

【0094】図14はZ-TRANS621の回路構成例を示す図
で、端子A0〜A3へ入力されたカウント値はそれぞれアド
レス変換部1401へ入力され、そのMSB側の13ビットが変
換アドレス生成部1404のY端子へ、そのLSB側の13ビット
がY端子へ入力され、図15に示すようなビット構成のZ1
アドレスとZ2アドレスに変換される。変換アドレスセレ
クタ1405は、変換アドレス生成部1404のS端子から出力
されたX10の値に基づいて、Z1アドレスとZ2アドレスの
何れかを選択する。そして、二入力一出力のセレクタ14
06は、主走査位相信号XPHSのビット0に応じて、行(ROW)
アドレス、列(COLUMN)を切替える。なお、本実施例は、
例えば2KリフレッシュタイプのDRAMを用いるので、ROW
アドレスとCOLUMNアドレスの切分けは、図15に示すよう
に、11ビットと10ビットになっている。
FIG. 14 is a diagram showing an example of the circuit configuration of the Z-TRANS 621. The count values input to the terminals A0 to A3 are input to the address conversion unit 1401 and 13 bits on the MSB side thereof are converted address generation unit 1404. 13 bits on the LSB side are input to the Y terminal of the
Address and Z2 address. The conversion address selector 1405 selects either the Z1 address or the Z2 address based on the value of X10 output from the S terminal of the conversion address generation unit 1404. Then, the selector 14 with two inputs and one output
06 is a row according to bit 0 of the main scanning phase signal XPHS.
Switch the address and column (COLUMN). In this example,
For example, since 2K refresh type DRAM is used, ROW
The address and the COLUMN address are separated into 11 bits and 10 bits as shown in FIG.

【0095】Z-TRANS621から出力された四つのアドレス
信号Z0〜Z3は、シフトレジスタ622〜625により、それぞ
れ3クロック分遅延されて、アドレス信号A0〜A3としてA
DR-SEL425から出力され、このアドレス信号MAA,MAB,MA
C,MADは、図9に示す出力バッファ429〜432を介して、メ
モリ309へ送られる。
The four address signals Z0 to Z3 output from the Z-TRANS621 are delayed by 3 clocks by the shift registers 622 to 625, respectively, and are delayed as A as address signals A0 to A3.
This address signal MAA, MAB, MA output from DR-SEL425
C and MAD are sent to the memory 309 via the output buffers 429 to 432 shown in FIG.

【0096】●メモリ制御信号生成部(RC-CON) 図16はRC-CON426の回路構成例を示す図で、DRAMのアク
セスに必要なWE,RAS,CASの各信号と、データコントロー
ラ319のI/Oポートを制御するDIR信号を生成する。同図
に示す五つのRCSELは、制御信号の元になる信号を作り
出すブロックで、図17はRCSELA1203の詳細な構成を示す
図である。
Memory Control Signal Generation Unit (RC-CON) FIG. 16 is a diagram showing an example of the circuit configuration of the RC-CON 426, in which the WE, RAS, and CAS signals necessary for accessing the DRAM and the I of the data controller 319 are shown. Generates the DIR signal that controls the / O port. The five RCSELs shown in the figure are blocks that generate signals that are the basis of control signals, and FIG. 17 is a diagram showing a detailed configuration of the RCSELA 1203.

【0097】図17において、ゲート1300は、端子LERC0
へ入力された主走査書込区間信号LEのビット0と、端子P
ERC0へ入力された副走査書込区間信号PEのビット0とをN
ANDする。同様に、ゲート1301〜1304はそれぞれ、、信
号LEのビット1と信号PEのビット1〜4の何れかとをNAND
する。そして、これらゲート1301〜1304の出力と端子WR
1へ入力された信号WR4Bとを、ゲート1309でORした信号E
Nが、端子ENoutを介して、RASおよびCAS信号を生成する
RCSELB1204〜1207のイネーブル端子ENinへ入力される。
信号ENは、主走査・副走査ともにイネーブル領域、つま
り有効画像領域であるときイネーブル状態になる。ま
た、信号WR4Bが‘1’のとき信号ENは強制的にディスイ
ネーブルになる。
In FIG. 17, the gate 1300 has a terminal LERC0.
Bit 0 of the main scan write section signal LE input to
The bit 0 of the sub-scanning write section signal PE input to ERC0 is set to N
AND Similarly, the gates 1301 to 1304 respectively NAND the bit 1 of the signal LE and any one of the bits 1 to 4 of the signal PE.
I do. The output of these gates 1301-1304 and the terminal WR
Signal E, which is the OR of the signal WR4B input to 1 at gate 1309
N generates RAS and CAS signals via terminal ENout
Input to enable terminal ENin of RCSELB1204-1207.
The signal EN is in the enable state in both the main scanning and sub-scanning enable areas, that is, in the effective image area. When the signal WR4B is '1', the signal EN is forcibly disabled.

【0098】RAS/CAS信号の元になる信号は、端子XPへ
入力される主走査位相信号XPHSのビット0で、同信号をD
-F/F1308で1クロック分遅延した信号RCS(信号RASとCAS
の元になる信号)は、端子RCSoutを介して、RCSELB1304
〜1307の端子RCSinへ入力される。
The signal that is the basis of the RAS / CAS signal is bit 0 of the main scanning phase signal XPHS input to the terminal XP, and the signal is the D signal.
-Signal RCS delayed by one clock with F / F1308 (Signal RAS and CAS
Signal that is the source of the
Input to terminal RCSin of ~ 1307.

【0099】また、八入力一出力のセレクタ1306は、信
号XPHSのビット1、2ビットの信号YPHSを選択信号とし
て、端子D0〜D7へ入力された信号WR0の各ビットを選択
する。従って、信号WR0の値を任意に設定することで、
セレクタ1306の出力WEを時分割に制御することが可能に
なる。信号WE(信号WEとDIRの元になる信号)は、DRAM
のライトイネーブルを生成するための信号として、端子
WEoutを介して、RCSELB1204〜1207の端子WEinへ入力さ
れる。
Further, the eight-input one-output selector 1306 selects each bit of the signal WR0 input to the terminals D0 to D7 by using the bit 1 and 2-bit signal YPHS of the signal XPHS as a selection signal. Therefore, by setting the value of signal WR0 arbitrarily,
It becomes possible to control the output WE of the selector 1306 in a time division manner. The signal WE (the signal that is the source of signals WE and DIR) is DRAM
As a signal to generate the write enable of
It is input to the terminal WEin of RCSELB1204-1207 via WEout.

【0100】さらに、このRCSELA1203は、DRAMのリフレ
ッシュサイクルを制御するための信号も生成し、CASビ
フォアRASリフレッシュが実現できるように構成されて
いる。端子YPへ入力された信号YPHSと信号LEとを、四入
力のORゲート1307を通してシフトレジスタ(SHIFT-R)130
7のD端子ヘ入力する。このように、信号YPHSと信号LEの
ORをとることにより、副走査4ラインに一回だけ、ディ
スイネーブル区間でリフレッシュサイクルが実行され
る。
Furthermore, this RCSELA 1203 is also configured to generate a signal for controlling the refresh cycle of DRAM and to realize CAS-before-RAS refresh. The signal YPHS and the signal LE input to the terminal YP are transferred through a four-input OR gate 1307 to a shift register (SHIFT-R) 130.
Input to D terminal of 7. Thus, the signals YPHS and LE
By taking the OR, the refresh cycle is executed once in every 4 sub-scanning lines in the disenable section.

【0101】さらに、SHIFT-R1307の1クロック分の遅延
出力QAと7クロック分の遅延出力QGとをゲート1310でOR
した信号RFCを端子RFCoutから出力し、2クロック分の遅
延出力QBと8クロック分の遅延出力QHとをゲート1311でO
Rした後、ゲート1312でD-F/F1308の反転出力とORした信
号RERを端子RERoutから出力する。これら信号RFC(リフ
レッシュ時のCAS信号の元になる信号)と信号RFR(リフ
レッシュ時のRAS信号の元になる信号)は、リフレッシ
ュサイクル制御信号として、RCSELB1204〜1207の端子RF
CinとRERinヘそれぞれ入力される。信号RFRを信号RFCよ
り1クロック分遅延することで、リフレッシュサイクル
時においては、CAS信号が先に‘L’レベルになり、D-F/
F1308の反転出力とORをとることで、位相信号に同期し
た信号RFRにより、トグル動作が実現され、DRAMのリフ
レッシュ動作が行われる。
Further, the gate 1310 ORs the delay output QA for 1 clock of the SHIFT-R 1307 and the delay output QG for 7 clocks.
The output signal RFC is output from the terminal RFCout, and the delayed output QB for 2 clocks and the delayed output QH for 8 clocks are output by the gate 1311.
After R, the signal RER which is ORed with the inverted output of DF / F1308 by the gate 1312 is output from the terminal RERout. These signals RFC (the signal that becomes the basis of the CAS signal at the time of refresh) and signal RFR (the signal that becomes the source of the RAS signal at the time of refresh) are used as the refresh cycle control signals at terminals RF of RCSELB1204 to 1207.
Input to Cin and RERin respectively. By delaying the signal RFR by one clock from the signal RFC, the CAS signal first becomes'L 'level during the refresh cycle and DF /
By taking the OR with the inverted output of F1308, the toggle operation is realized by the signal RFR synchronized with the phase signal, and the DRAM refresh operation is performed.

【0102】図16において、主走査位相信号XPHSと副走
査位相信号YPHSは、デコーダ1200,1201およびインバー
タ1202により8ビットの位相信号に変換されて、RCSELB1
204〜1207の端子PHSELへ入力される。この信号は、その
ビットの示す位相になったときに‘0’になり、それ以
外の位相では‘1’になる。
In FIG. 16, the main scanning phase signal XPHS and the sub scanning phase signal YPHS are converted into 8-bit phase signals by the decoders 1200 and 1201 and the inverter 1202, and RCSELB1.
Input to terminals PHSEL of 204 to 1207. This signal becomes "0" when the phase indicated by the bit is reached, and becomes "1" at other phases.

【0103】RCSELA1203から出力された各制御信号の原
信号は、RCSELB1204〜1207により実際の制御信号に変換
される。図18はRCSELBの回路構成例を示す図で、信号PH
SELおよびENは、ADDEC418から出力された信号WR0〜WR3
とともに、RAS/CASセレクタ(RCSEL0)1000へ入力され
る。
The original signal of each control signal output from RCSELA 1203 is converted into an actual control signal by RCSELB 1204-1207. Figure 18 shows an example of the RCSELB circuit configuration.
SEL and EN are signals WR0 to WR3 output from ADDEC418.
At the same time, it is input to the RAS / CAS selector (RCSEL0) 1000.

【0104】図19はRCSEL0(1000)の回路構成例を示す図
で、八つの五入力一出力のセレクタ700〜707、三入力の
ORゲート708〜715、八入力のNANDゲート716から構成さ
れている。セレクタ700〜707は、信号WR0〜3のビット0
〜2またはビット4〜6に応じて、RCSELA1203から入力さ
れた信号ENの各ビットの何れかを選択し出力する。な
お、ゲート708〜715はそれぞれ、セレクタ700〜707の出
力の何れかと、信号WR0のビット3または7とをORするの
で、同ビットが‘1’のとき、ゲート708〜715の出力は
‘H’レベルに固定される。この信号を‘H’レベルに固
定にすると、最終出力のRAS/CAS信号が変動しなくな
り、DRAMとのアクセスを強制的に中止することができ
る。
FIG. 19 is a diagram showing an example of the circuit configuration of RCSEL0 (1000). It has eight five-input one-output selectors 700-707 and three-input selectors.
It is composed of OR gates 708 to 715 and an eight-input NAND gate 716. Selectors 700-707 have bit 0 of signals WR0-3
~ 2 or bits 4 to 6 to select and output any of the bits of the signal EN input from the RCSELA1203. Since each of the gates 708 to 715 ORs one of the outputs of the selectors 700 to 707 and the bit 3 or 7 of the signal WR0, when the bit is "1", the output of the gates 708 to 715 is "H". 'Fixed to level. If this signal is fixed to'H 'level, the final output RAS / CAS signal does not change and access to DRAM can be forcibly stopped.

【0105】さらに、ゲート708〜715には、信号PHSEL
の8ビットの何れかが入力されている。信号PHSELの各ビ
ットはある位相のときだけ‘L’レベルになるので、セ
レクタ700〜707から出力された信号は、このPHSEL信号
によりそれぞれ異なる位相のときに生かされることにな
る。そして、各ゲート708〜715からそれぞれ出力された
八つの信号は、NANDゲート716で統合されて端子Dから出
力され、全位相のDIR,WE,RAS/CAS信号を制御することに
なる。
Further, the gates 708 to 715 have a signal PHSEL.
Any of the 8 bits of are input. Since each bit of the signal PHSEL goes to the'L 'level only in a certain phase, the signals output from the selectors 700 to 707 are utilized when the PHSEL signal has different phases. Then, the eight signals output from the respective gates 708 to 715 are integrated by the NAND gate 716 and output from the terminal D to control the DIR, WE, RAS / CAS signals of all phases.

【0106】図18において、RCSEL0(1000)の端子Dから
出力された信号は、シフトレジスタ(SHIFT-R)1001によ
り5クロック分遅延され、インバータ1003で反転された
後、ゲート1005により端子RCSinへ入力された信号RCSと
ORされてD-F/F1012へ入力される。これとともに、SHIFT
-R1001で5クロック分遅延された信号は、ゲート1004に
より信号RCSとNANDされる。一方、端子WEinへ入力され
た信号WEは、シフトレジスタ(SHIFT-R)1002により5クロ
ック分遅延され、ゲート1006により、ゲート1004の出力
とORされた後、D-F/F1013,1014へ入力される。
In FIG. 18, the signal output from the terminal D of RCSEL0 (1000) is delayed by 5 clocks by the shift register (SHIFT-R) 1001, inverted by the inverter 1003, and then transferred to the terminal RCSin by the gate 1005. With the input signal RCS
ORed and input to DF / F1012. With this, SHIFT
-The signal delayed by 5 clocks by R1001 is NANDed with the signal RCS by the gate 1004. On the other hand, the signal WE input to the terminal WEin is delayed by 5 clocks by the shift register (SHIFT-R) 1002, ORed with the output of the gate 1004 by the gate 1006, and then input to the DF / F 1013, 1014. .

【0107】D-F/F1012〜1014は、インバータ1009によ
り信号WR4のビット5〜0を反転した信号の何れかが入力
されるプリセット端子PRおよびリセット端子CRを備えて
いる。従って、CPUは、信号WR4を制御することにより、
D-F/F1012〜1014を任意にプリセットまたはリセットす
ることができる。
The DF / Fs 1012 to 1014 have a preset terminal PR and a reset terminal CR to which any of the signals obtained by inverting the bits 5 to 0 of the signal WR4 by the inverter 1009 is input. Therefore, the CPU controls the signal WR4
DF / F1012-1014 can be preset or reset arbitrarily.

【0108】また、ゲート1007と1008は、ゲート1004の
出力と信号WR4のビット6,7それぞれとをORする。従っ
て、CPUは、信号WR4を制御することにより、ゲート1007
と1008の出力を任意に‘H’レベルに固定することがで
きる。ゲート1007と1008の出力は、ANDゲート1010と101
1により、リフレッシュ信号RER,RFCと切替えられ、D-F/
F1015と1016の端子Dへ送られる、。D-F/F1015は、クロ
ックXCLK(CLKの反転信号)に同期して、端子Dの信号を
入力して2ビットの信号RASとして、図9に示すディレイ
ライン(DELAY)427へ送る。また、D-F/F1016は、クロッ
クCLKに同期して、端子Dの信号を入力して2ビットの信
号CASとして、図9に示すディレイライン(DELAY)428へ送
る。
Also, the gates 1007 and 1008 OR the output of the gate 1004 and the bits 6 and 7 of the signal WR4. Therefore, the CPU controls gate 1007 by controlling signal WR4.
And the output of 1008 can be fixed to'H 'level arbitrarily. The outputs of gates 1007 and 1008 are AND gates 1010 and 101.
By 1, the refresh signals RER and RFC are switched, and DF /
Sent to terminal D on F1015 and 1016 ,. The DF / F 1015 inputs the signal of the terminal D in synchronization with the clock XCLK (inverted signal of CLK) and sends it as a 2-bit signal RAS to the delay line (DELAY) 427 shown in FIG. Further, the DF / F 1016 inputs the signal of the terminal D in synchronization with the clock CLK and sends it as a 2-bit signal CAS to the delay line (DELAY) 428 shown in FIG.

【0109】RC-CON426で生成されたRAS,CAS,WEの各信
号は、DELAY427,428および出力バッファ433〜435を経
て、メモリ制御信号MRS.MCS,WEとして図3に示したメモ
リ309へ送られる。なお、DELAY427,428は、コントロー
ルすべきメモリの特性に従って、データのアクセスが適
切に行えるようにタイミングの調整を行うものである。
また、DIR信号は、出力バッファ436を経て、データコン
トローラ319へ送られる。
Each signal of RAS, CAS, WE generated by RC-CON426 is sent to memory 309 shown in FIG. 3 as memory control signal MRS.MCS, WE via DELAY427,428 and output buffers 433-435. To be The DELAYs 427 and 428 adjust the timing so that the data can be properly accessed according to the characteristics of the memory to be controlled.
Further, the DIR signal is sent to the data controller 319 via the output buffer 436.

【0110】このようにして、アドレスコントローラ31
8から出力されたアドレスMAA,MAB,MAC,MADおよびメモリ
制御信号MRS,MCS,WE,DIRに従って、データコントローラ
319とメモリ309の間で画像データの受け渡しが行われ
る。データコントローラ319は、データの書込みと読出
しの切替え制御や、復号に必要な画像データの冗長処理
や画像回転などの編集処理を行うためのデータアクセス
の順番制御などを行う。そして、データコントローラ31
9によりメモリ309から読出された明度情報の符号L_cod
e,色度情報の符号ab_codeおよび特徴抽出結果の黒判定
信号K_codeは、復号部111へ送られる。
In this way, the address controller 31
Data controller according to addresses MAA, MAB, MAC, MAD and memory control signals MRS, MCS, WE, DIR output from 8
Image data is transferred between the 319 and the memory 309. The data controller 319 performs switching control of writing and reading of data, order control of data access for performing edit processing such as image data redundancy processing and image rotation necessary for decoding. And the data controller 31
The sign L_cod of the brightness information read from the memory 309 by 9
e, the code ab_code of the chromaticity information and the black determination signal K_code of the feature extraction result are sent to the decoding unit 111.

【0111】このように、本実施例によれば、アドレス
コントローラのカウンタに与えるロード値を複数設定で
きるようにして、イネーブル信号またはCPUからの指定
により、ロード値の切替えを行うことで、メモリ空間を
複数領域に分割してアクセスすることが可能になる。
As described above, according to this embodiment, it is possible to set a plurality of load values to be given to the counter of the address controller, and the load value is switched by the enable signal or the designation from the CPU. Can be divided into a plurality of areas and accessed.

【0112】従って、本実施例によれば、例えば、N枚
目の原稿の画像データを画像メモリに格納した後、ロー
ド値をN+1枚目用のアドレスに切替えることにより、N+1
枚目の原稿の画像データを画像メモリに格納しながら、
画像メモリに格納したN枚目の画像データを読出すこと
ができるので、自動原稿送り装置を使用する場合に複写
速度を向上することができる。また、両面コピーを行う
場合も、第一面はWR0でセットされるアドレス空間に画
像を書込み、第二面はWR2でセットされるアドレスに画
像を書込むことができるので、自動原稿送り装置を使用
する場合と同様に、複写速度を向上することができる。
Therefore, according to this embodiment, for example, after the image data of the Nth original is stored in the image memory, the load value is switched to the address for the N + 1th original, so that N + 1
While storing the image data of the first document in the image memory,
Since the Nth image data stored in the image memory can be read, the copying speed can be improved when the automatic document feeder is used. Also, when performing double-sided copying, the image can be written in the address space set by WR0 on the first side and the image can be written in the address set by WR2 on the second side. The copying speed can be improved as in the case of using it.

【0113】[0113]

【第2実施例】以下、本発明にかかる第2実施例の画像処
理装置を説明する。なお、第2実施例において、第1実施
形態と略同様の構成については、同一符号を付して、そ
の詳細説明を省略する。
Second Embodiment An image processing apparatus according to the second embodiment of the present invention will be described below. Note that, in the second example, the configurations substantially the same as those in the first embodiment are denoted by the same reference numerals, and detailed description thereof will be omitted.

【0114】本発明は、上述した第1実施例のように、
アドレスコントローラのカウンタに与えるロード値をイ
ネーブル信号などによりトグル動作させるだけでなく、
以下に説明する第2実施例のように、CPUからの信号によ
って任意にアドレス空間を固定できるようにし、トグル
動作との切替えを行うこともできる。
The present invention, like the first embodiment described above,
In addition to toggling the load value given to the counter of the address controller by an enable signal,
As in the second embodiment described below, the address space can be arbitrarily fixed by a signal from the CPU, and switching to the toggle operation can be performed.

【0115】図20は第2実施例のアドレスコントローラ3
18の回路構成例を示す図、図21は第2実施例のYCOUNTER4
24の回路構成例を示す図、図22は第2実施例の五つのYカ
ウンタ502〜506それぞれの回路構成例を示す図である。
FIG. 20 shows the address controller 3 of the second embodiment.
FIG. 21 is a diagram showing an example of a circuit configuration of 18, and FIG. 21 is a YCOUNTER4 of the second embodiment.
FIG. 22 is a diagram showing a circuit configuration example of 24, and FIG. 22 is a diagram showing a circuit configuration example of each of the five Y counters 502 to 506 of the second embodiment.

【0116】これらの図に示すように、アドレスコント
ローラ318は、図9に示した第1実施例と比べて、レジス
タからの信号WR14がYCOUNTER424に入力されている点が
異なり、図11に示した第1実施例と比べて、信号WR14の
所定ビットがYカウンタ502〜506に入力されている点が
異なる。また、第1実施例においては、図12に示したよ
うに、端子WR1とWR2に入力されたロード値の切替制御
を、副走査区間信号PEに同期したD-F/F103により制御す
るが、第2実施例においては、さらに、図22に示すよう
に、D-F/F103にプリセットPRおよびクリアCR入力を備え
たF/Fを用いる。以下で、この構成の違いによる動作を
説明する。
As shown in these drawings, the address controller 318 is different from that of the first embodiment shown in FIG. 9 in that the signal WR14 from the register is inputted to the YCOUNTER 424, and is different from that shown in FIG. It differs from the first embodiment in that a predetermined bit of the signal WR14 is input to the Y counters 502-506. Further, in the first embodiment, as shown in FIG. 12, the switching control of the load values input to the terminals WR1 and WR2 is controlled by the DF / F103 synchronized with the sub-scanning section signal PE. In the embodiment, as shown in FIG. 22, an F / F having preset PR and clear CR inputs is used for the DF / F 103. The operation due to this difference in configuration will be described below.

【0117】端子WR2へ入力された信号(図示しないCPU
によってセットされた信号WR14の所定ビット)のビット
0とビット1は、ゲート1702によりNANDされ、ゲート1704
により信号XRSTとANDされた後、D-F/F103のPR端子へ入
力にされる。また、同信号のビット1はインバータ1701
により反転され、ゲート1703により同信号のビット0とN
ANDされた後、D-F/F103のCR端子へ入力される。
A signal input to the terminal WR2 (CPU (not shown)
Bit of signal WR14) set by
0 and bit 1 are NANDed by gate 1702, gate 1704
Is ANDed with the signal XRST, and then input to the PR terminal of the DF / F103. Also, bit 1 of the signal is the inverter 1701.
Is inverted by the gate 1703, and bits 0 and N
After being ANDed, it is input to the CR pin of DF / F103.

【0118】従って、同信号のビット0が‘0’の場合、
ビット1に関係なく、D-F/F103のD端子へは、D-F/F100の
出力が‘L’から‘H’に変わるとき、自身の反転出力か
ら内部状態を反転した信号が入力されるので、第1実施
例と同様の動作になる。一方、同信号のビット0が‘1’
の場合は、ビット1が‘0’のときD-F/F103のQ出力は
‘L’になり、‘1’のときQ出力は‘H’になる。このD-
F/F103のQ出力は、セレクタ105のセレクト信号端子へ入
力され、セレクタ105は、Q出力が‘0’のときはセレク
タ105の端子Aへ入力されるロード値を選択し、‘1’の
ときはB端子へ入力されるロード値とを選択する。
Therefore, when bit 0 of the signal is "0",
Regardless of bit 1, when the DF / F100 output changes from'L 'to'H', the inverted signal of the internal state is input to the D terminal of DF / F103. The operation is similar to that of the first embodiment. On the other hand, bit 0 of the signal is '1'
In case of, the Q output of DF / F103 becomes'L 'when bit 1 is' 0 ', and the Q output becomes'H' when it is '1'. This D-
The Q output of the F / F 103 is input to the select signal terminal of the selector 105, and the selector 105 selects the load value input to the terminal A of the selector 105 when the Q output is "0", and the value of "1" In this case, select the load value input to the B terminal.

【0119】このように、本実施例によれば、CPUから
の信号WR14を制御することによって、メモリのアドレス
空間を任意の領域に固定することもできるし、トグル動
作に切替えることもできる。従って、両面コピー時に紙
詰まりが発生した場合など、信号WR14を制御することに
より、二つのアドレス空間を選択することができるの
で、どちらのアドレスの空間からも画像を読出すことが
でき、メモリに一旦格納したデータを無駄にすることの
なく、効率的なジャムリカバリを提供することができ
る。
As described above, according to the present embodiment, by controlling the signal WR14 from the CPU, the address space of the memory can be fixed to an arbitrary area, or can be switched to the toggle operation. Therefore, when a paper jam occurs during double-sided copying, two address spaces can be selected by controlling the signal WR14, so images can be read from either address space and stored in the memory. Efficient jam recovery can be provided without wasting the data once stored.

【0120】なお、上述した各実施例においては、二つ
のロード値(アドレス初期値)をセットする例を説明し
たが、ロード値は、二つに限られるものではなく、三つ
以上であってもよいことは言うまでもない。
In each of the above-described embodiments, an example in which two load values (address initial values) are set has been described. However, the load value is not limited to two and may be three or more. It goes without saying that it is good.

【0121】[0121]

【他の実施形態】本発明は、複数の機器(例えば、ホス
トコンピュータ,インタフェイス機器,プリンタ,リー
ダなど)から構成されるシステムに適用しても、一つの
機器からなる装置(例えば、複写機,ファクシミリ装置
など)に適用してもよい。
Other Embodiments Even when the present invention is applied to a system including a plurality of devices (for example, a host computer, an interface device, a printer, a reader, etc.), an apparatus including one device (for example, a copying machine). , Facsimile machines, etc.).

【0122】また、本発明を達成するソフトウェアのプ
ログラムを記録した記憶媒体を、システムあるいは装置
に供給し、そのシステムあるいは装置が記憶媒体に格納
されたプログラムを読出し実行することによって、本発
明が達成される場合にも適用できることは言うまでもな
い。プログラムを供給するための記憶媒体としては、例
えば、フロッピディスク,ハードディスク,光ディス
ク,光磁気ディスク,CD-ROM,CD-R,磁気テープ,不揮
発性のメモリカード,ROMなどを用いることができる。
Further, the present invention is achieved by supplying a storage medium recording a software program for achieving the present invention to a system or apparatus, and reading out and executing the program stored in the storage medium by the system or apparatus. It goes without saying that it can be applied to cases where As a storage medium for supplying the program, for example, a floppy disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a non-volatile memory card, a ROM or the like can be used.

【0123】[0123]

【発明の効果】以上説明したように、本発明によれば、
画像メモリを複数の領域に分割して、その各領域へのア
クセスの切替えが容易な画像処理装置およびその制御方
法を提供することができる。
As described above, according to the present invention,
It is possible to provide an image processing apparatus in which the image memory is divided into a plurality of areas and the access to each area can be easily switched, and a control method thereof.

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

【図1】本発明にかかる一実施例の画像処理装置の構成
例を示す概観図、
FIG. 1 is a schematic view showing a configuration example of an image processing apparatus according to an embodiment of the present invention,

【図2A】図1に示す画像処理部の構成例を示すブロッ
ク図、
2A is a block diagram showing a configuration example of an image processing unit shown in FIG.

【図2B】図1に示す画像処理部の構成例を示すブロッ
ク図、
2B is a block diagram showing a configuration example of the image processing unit shown in FIG.

【図3】図2Bに示すメモリ部の構成例を示すブロック
図、
FIG. 3 is a block diagram showing a configuration example of a memory unit shown in FIG. 2B.

【図4】明度情報符号化の概念を説明する図、FIG. 4 is a diagram for explaining the concept of brightness information encoding;

【図5】明度情報符号化の概念を説明する図、FIG. 5 is a diagram for explaining the concept of brightness information encoding;

【図6】色度情報の符号化の概念を示す図、FIG. 6 is a diagram showing a concept of encoding chromaticity information,

【図7】本実施例の装置タイミングチャート例、FIG. 7 is an example of a device timing chart of the present embodiment,

【図8】主走査および副走査の位相信号XPHSとYPHSを発
生する回路を示す図、
FIG. 8 is a diagram showing a circuit that generates phase signals XPHS and YPHS for main scanning and sub scanning.

【図9】図3に示すアドレスコントローラの構成例を示
すブロック図、
9 is a block diagram showing a configuration example of the address controller shown in FIG.

【図10】図9に示すXCOUNTERの回路構成例を示す図、10 is a diagram showing a circuit configuration example of the XCOUNTER shown in FIG. 9,

【図11】図9に示すYCOUNTERの回路構成例を示す図、11 is a diagram showing a circuit configuration example of the YCOUNTER shown in FIG. 9,

【図12】図11に示す五つのYカウンタそれぞれの回路
構成例を示す図、
12 is a diagram showing a circuit configuration example of each of the five Y counters shown in FIG.

【図13】図9に示すADR-SELの回路構成例を示す図、13 is a diagram showing a circuit configuration example of the ADR-SEL shown in FIG. 9,

【図14】図13に示すZ-TRANSの回路構成例を示す図、14 is a diagram showing a circuit configuration example of the Z-TRANS shown in FIG.

【図15】図14に示すZ-TRANSが生成するアドレス信号
のビット構成例を示す図、
15 is a diagram showing a bit configuration example of an address signal generated by the Z-TRANS shown in FIG.

【図16】図9に示すRC-CONの回路構成例を示す図、16 is a diagram showing a circuit configuration example of the RC-CON shown in FIG. 9,

【図17】図16に示すRCSELAの詳細な構成を示す図、FIG. 17 is a diagram showing a detailed configuration of RCSELA shown in FIG. 16;

【図18】図16に示すRCSELBの回路構成例を示す図、FIG. 18 is a diagram showing a circuit configuration example of RCSELB shown in FIG. 16;

【図19】図18に示すRCSEL0の回路構成例を示す図、19 is a diagram showing a circuit configuration example of RCSEL0 shown in FIG.

【図20】本発明にかかる第2実施例のアドレスコント
ローラの回路構成例を示す図、
FIG. 20 is a diagram showing a circuit configuration example of an address controller according to a second embodiment of the present invention;

【図21】図20に示すYCOUNTERの回路構成例を示す図、FIG. 21 is a diagram showing a circuit configuration example of YCOUNTER shown in FIG. 20;

【図22】図21に示す五つのYカウンタそれぞれの回路
構成例を示す図である。
22 is a diagram showing a circuit configuration example of each of the five Y counters shown in FIG. 21. FIG.

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

101 センサ1208のCCD 102 アナログ処理部 103 シェーディング補正部 104 入力マスキング部 105 変倍処理部 106 LOG変換部 107 色空間変換部 108 符号化部 109 特徴抽出回路 110 メモリ部 111 復号部 112 色空間変換部 113 マスキング・UCR部 118 フィルタ処理判定部 114 フィルタ処理部 115 変倍処理部 116 ガンマ補正部 117 エッジ強調部 309 メモリ 318 アドレスコントローラ 319 データコントローラ 101 Sensor 1208 CCD 102 Analog processing unit 103 Shading correction unit 104 Input masking unit 105 Magnification processing unit 106 LOG conversion unit 107 Color space conversion unit 108 Encoding unit 109 Feature extraction circuit 110 Memory unit 111 Decoding unit 112 Color space conversion unit 113 Masking / UCR unit 118 Filter processing determination unit 114 Filter processing unit 115 Magnification processing unit 116 Gamma correction unit 117 Edge enhancement unit 309 Memory 318 Address controller 319 Data controller

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 記憶手段の記憶領域を表すアドレス信号
を発生する第一の発生手段と、 前記記憶手段に画像データを記憶させるための制御信号
を発生する第二の発生手段と、 前記第一および第二の発生手段を制御する第一の制御手
段と、 前記アドレス信号と前記制御信号に基づいて、入力され
た画像データを前記記憶手段に記憶させるとともに、前
記記憶手段に記憶された画像データを読出す第二の制御
手段とを備え、 前記第一の制御手段は、前記第一の発生手段に複数の異
なるアドレス初期値を設定して、所定の信号に基づい
て、設定したアドレス初期値を切替えることを特徴とす
る画像処理装置。
1. A first generation means for generating an address signal representing a storage area of a storage means, a second generation means for generating a control signal for storing image data in the storage means, and the first generation means. And first control means for controlling the second generation means, and based on the address signal and the control signal, to store the input image data in the storage means, the image data stored in the storage means And a second control means for reading the set address initial value, the first control means sets a plurality of different address initial values in the first generating means, and sets the address initial value based on a predetermined signal. An image processing device characterized by switching between.
【請求項2】 原稿画像を読取る読取手段と、 記憶手段の記憶領域を表すアドレス信号を発生する第一
の発生手段と、 前記記憶手段に画像データを記憶させるための制御信号
を発生する第二の発生手段と、 前記第一および第二の発生手段を制御する第一の制御手
段と、 前記アドレス信号と前記制御信号に基づいて、前記読取
手段から出力された画像データを前記記憶手段に記憶さ
せるとともに、前記記憶手段に記憶された画像データを
読出す第二の制御手段と、 前記記憶手段から読出された画像データに基づいて画像
を形成する形成手段とを備え、 前記第一の制御手段は、前記第一の発生手段に複数の異
なるアドレス初期値を設定して、所定の信号に基づい
て、設定したアドレス初期値を切替えることを特徴とす
る画像処理装置。
2. A reading means for reading a document image, a first generating means for generating an address signal representing a storage area of the storage means, and a second generating means for generating a control signal for storing image data in the storage means. Generating means, first control means for controlling the first and second generating means, and image data output from the reading means is stored in the storage means based on the address signal and the control signal. And a second control means for reading the image data stored in the storage means, and a forming means for forming an image based on the image data read from the storage means, the first control means An image processing apparatus, wherein a plurality of different address initial values are set in the first generating means, and the set address initial values are switched based on a predetermined signal.
【請求項3】 前記読取手段は、複数の原稿から画像を
連続的に読取るための原稿自動送り機構を備えているこ
とを特徴とする請求項2に記載された画像処理装置。
3. The image processing apparatus according to claim 2, wherein the reading unit includes an automatic document feeding mechanism for continuously reading images from a plurality of originals.
【請求項4】 前記第一の制御手段は、副走査画像領域
信号に基づいて、前記アドレス初期値を切替えることを
特徴とする請求項1から請求項3の何れかに記載された画
像処理装置。
4. The image processing apparatus according to claim 1, wherein the first control unit switches the address initial value based on a sub-scanning image area signal. .
【請求項5】 前記第一の制御手段は、副走査画像領域
信号または装置制御部から入力された信号に基づいて、
前記アドレス初期値を切替えることを特徴とする請求項
1から請求項3の何れかに記載された画像処理装置。
5. The first control means, based on a sub-scanning image area signal or a signal input from the device control unit,
The initial value of the address is changed over.
The image processing device according to any one of claims 1 to 3.
【請求項6】 前記第一の制御手段は、前記アドレス初
期値を切替えることにより、前記記憶手段を複数の領域
に分割して管理することを特徴とする請求項1から請求
項3の何れかに記載された画像処理装置。
6. The method according to claim 1, wherein the first control unit manages the storage unit by dividing the storage unit into a plurality of areas by switching the address initial value. The image processing device described in.
【請求項7】 さらに、前記記憶手段に記憶させる画像
データを符号化する符号化手段と、 前記記憶手段から読出された符号化データから画像デー
タを復号する復号手段とを有することを特徴とする請求
項1から請求項3の何れかに記載された画像処理装置。
7. The apparatus further comprises an encoding means for encoding the image data stored in the storage means, and a decoding means for decoding the image data from the encoded data read from the storage means. The image processing device according to claim 1.
【請求項8】 記憶手段の記憶領域を表すアドレス信号
を発生するための第一の発生手段に、複数の異なるアド
レス初期値を設定する設定ステップと、 前記第一の発生手段に設定したアドレス初期値を、所定
の信号に基づいて、切替える切替ステップと、 前記アドレス信号および第二の発生手段により発生され
た前記記憶手段に画像データを記憶させるための制御信
号に基づいて、入力された画像データを前記記憶手段に
記憶させる格納ステップと、 前記アドレス信号と前記制御信号に基づいて、前記記憶
手段に記憶された画像データを読出す読出ステップとを
有することを特徴とする画像処理装置の制御方法。
8. A setting step for setting a plurality of different initial address values in a first generating means for generating an address signal representing a storage area of the storage means, and an address initializing step set in the first generating means. A switching step of switching a value based on a predetermined signal, and input image data based on the address signal and a control signal generated by the second generating means for storing image data in the storage means. And a read step of reading the image data stored in the storage means on the basis of the address signal and the control signal. .
JP18923295A 1995-07-25 1995-07-25 Image processor and control method therefor Pending JPH0944644A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18923295A JPH0944644A (en) 1995-07-25 1995-07-25 Image processor and control method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18923295A JPH0944644A (en) 1995-07-25 1995-07-25 Image processor and control method therefor

Publications (1)

Publication Number Publication Date
JPH0944644A true JPH0944644A (en) 1997-02-14

Family

ID=16237816

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18923295A Pending JPH0944644A (en) 1995-07-25 1995-07-25 Image processor and control method therefor

Country Status (1)

Country Link
JP (1) JPH0944644A (en)

Similar Documents

Publication Publication Date Title
US6215512B1 (en) Image forming apparatus with image distortion correction system
JP3256982B2 (en) Image processing device
US6441915B1 (en) Image forming apparatus
JPH1169164A (en) Image encoding method, image encoder, image decoder and image forming device
JPH11266373A (en) Image processor
JP2000032278A (en) Image processor
JPH07101917B2 (en) Area controller
US20070070463A1 (en) Image forming apparatus
US5715329A (en) Digital copying machine with memory for compressed image data
JPH05300383A (en) Picture processing unit
JPH0944644A (en) Image processor and control method therefor
JPH08139938A (en) Image processor
JPH08214145A (en) Image processing unit and its method
JP3935257B2 (en) Image processing device
JP2000332987A (en) Image forming device
JP2000261620A (en) Image processing unit and method for controlling the image processing unit
JP2000184154A (en) Image processor and method for controlling the same
JPH11155062A (en) Picture processor
JPH0879539A (en) Picture processor and method thereof
JPH04314183A (en) Image processing device
JPH09179973A (en) Picture processor and its method
JPH11266360A (en) Image processor
JP3697085B2 (en) Image processing apparatus and control method thereof
JP2000015871A (en) Image-processing apparatus
JPH11205582A (en) Image processor

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041021

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041101

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050415