[go: up one dir, main page]

JPH09247401A - Picture processor and its method - Google Patents

Picture processor and its method

Info

Publication number
JPH09247401A
JPH09247401A JP8051733A JP5173396A JPH09247401A JP H09247401 A JPH09247401 A JP H09247401A JP 8051733 A JP8051733 A JP 8051733A JP 5173396 A JP5173396 A JP 5173396A JP H09247401 A JPH09247401 A JP H09247401A
Authority
JP
Japan
Prior art keywords
image processing
image data
image
unit
cpu
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP8051733A
Other languages
Japanese (ja)
Inventor
Hisao Honda
永和 本田
Teruhachi Hara
照八 原
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 JP8051733A priority Critical patent/JPH09247401A/en
Publication of JPH09247401A publication Critical patent/JPH09247401A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Storing Facsimile Image Data (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To realize the reduction of a gate array scale, the erasion of a local memory and flexible configuration by providing a control means for reading stored data, writing it in a storing means after a picture processing and controlling the reading and writing. SOLUTION: CPU 101 executes the control of a whole processor. A memory 102 stores picture data and binary difference. A difference extending part (ED) 103 binalizes multilevel (one picture element:eight-bit) picture data by a difference diffusion method. A DMA controller 104 controls picture data transfer with the memory 102. An I/O port 105 inputs picture data together with a scanner/printer 106 (or both by configuration). Then, I/F 107 transfers picture data to another device connected to this processor. CPU 101 performs access to the difference diffusion part (ED) 103 and executes management in output picture data being the result and a binary difference buffer.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、スキャナ装置で読
み取った多値データやコンピュータで合成されたCGの
画像データを、例えば誤差拡散法を用いて画像処理する
画像処理装置及びその方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus and method for image processing multivalued data read by a scanner device or CG image data synthesized by a computer by using, for example, an error diffusion method. is there.

【0002】[0002]

【従来の技術】従来の画像処理装置では、スキャナ等に
おいて誤差拡散法で2値化処理を行う場合、画像データ
をハードウェアで2値化処理し、DMAを用いて装置の
メモリへ画像データを取り込んだり、そのまま別のI/
Fによりデータだけを転送することが行われている。ま
たプリンタ装置でも同様に、入力側で2値化処理をした
後、同様のデータ転送を行っている。理由としては、2
値化処理をCPUで行うことはCPUの処理速度を考え
ると非現実的だからである。
2. Description of the Related Art In a conventional image processing apparatus, when the image data is binarized by an error diffusion method in a scanner or the like, the image data is binarized by hardware, and the image data is stored in the memory of the apparatus by using DMA. Take it in or just use another I /
Only data is transferred by F. Similarly, in the printer device, the same data transfer is performed after the binarization processing is performed on the input side. The reason is 2
This is because it is unrealistic to perform the binarization processing by the CPU in view of the processing speed of the CPU.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記従
来例においては、次のような問題点があった。
However, the above-mentioned conventional example has the following problems.

【0004】CPUに取り込まれる画像データが2値デ
ータであるため、CPUで、例えば画像データの明るさ
を変えるなどの画像処理が困難であり、それを実現しよ
うとすると、すべてハードウェアで実現せねばならずコ
ストアップとなり構成が複雑なゲートアレイを設計する
必要がある。
Since the image data taken in by the CPU is binary data, it is difficult for the CPU to perform image processing such as changing the brightness of the image data. It is necessary to design a gate array which has a complicated structure due to cost increase.

【0005】また2値化処理部に2値化誤差を蓄えるロ
ーカルなメモリが必要であり、明るさを変えるなどのそ
の他の画像処理を行うとそれ以外にもメモリが必要とな
り、ますますコストがかかる。
Further, the binarization processing unit needs a local memory for accumulating the binarization error, and if other image processing such as changing the brightness is performed, the memory is required in addition to the above, which further increases the cost. It takes.

【0006】本発明は、上記課題を解決するためになさ
れたもので、CPUを用いて2値化処理をしても高速に
処理できる簡単なハードウェアを用い、ゲートアレイの
規模の縮小とローカルメモリの削除、画像処理において
柔軟な構成を実現できる画像処理装置及びその方法を提
供することを目的とする。
The present invention has been made to solve the above-mentioned problems, and uses a simple hardware capable of high-speed processing even if binarization processing is performed by using a CPU, thereby reducing the scale of the gate array and performing local processing. An object of the present invention is to provide an image processing apparatus and method capable of realizing a flexible configuration in memory deletion and image processing.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
に、本発明の画像処理装置は以下の構成を備える。
In order to achieve the above object, the image processing apparatus of the present invention has the following configuration.

【0008】即ち、画像データを蓄積する蓄積手段と、
前記蓄積手段に蓄積された画像データを読み出す読出手
段と、前記読出手段により読み出された画像データに所
定の画像処理を施す画像処理手段と、前記画像処理手段
により画像処理された画像データを前記蓄積手段に書き
込む書込手段と、前記蓄積手段への読み出し或いは書き
込みを制御する制御手段とを備える。
That is, storage means for storing image data,
The reading means for reading the image data accumulated in the accumulating means, the image processing means for performing a predetermined image processing on the image data read by the reading means, and the image data image-processed by the image processing means are A writing unit that writes data in the storage unit and a control unit that controls reading or writing in the storage unit are provided.

【0009】また、上記目的を達成するために、本発明
による画像処理方法は以下の工程を有する。
In order to achieve the above object, the image processing method according to the present invention has the following steps.

【0010】即ち、蓄積手段に蓄積された画像データを
読み出し、読み出された画像データに所定の画像処理を
施し、画像処理された画像データを前記蓄積手段に書き
込み、前記蓄積手段への読み出し或いは書き込みを制御
する、各工程を有する。
That is, the image data accumulated in the accumulating means is read, the read image data is subjected to predetermined image processing, the image-processed image data is written in the accumulating means, and read out to the accumulating means. Each step of controlling writing is included.

【0011】[0011]

【発明の実施の形態】以下、図面を参照しながら本発明
に係る実施の形態を詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0012】図1は、実施形態における画像処理装置の
構成を示すブロック図である。同図において、101は
CPUであり、本装置全体の制御を司る。102はメモ
リであり、画像データや2値化誤差を蓄積する。103
は誤差拡散部(ED)であり、誤差拡散法で多値(1画
素:8ビット)の画像データを2値化する。104はD
MAコントローラであり、メモリ102との間で画像デ
ータの転送を制御する。105はI/Oポートであり、
スキャナ/プリンタ106(また構成によっては両方)
と画像データを入出力する。そして、107はI/Fで
あり、本装置に接続された別の装置に画像データを転送
する。またCPU101はED103に対してアクセス
を行い、その結果である出力画像データと2値化誤差の
バッファの管理を行う。
FIG. 1 is a block diagram showing the arrangement of an image processing apparatus according to this embodiment. In the figure, 101 is a CPU, which controls the entire apparatus. A memory 102 stores image data and binarization error. 103
Is an error diffusion unit (ED), which binarizes multivalued (1 pixel: 8 bits) image data by an error diffusion method. 104 is D
The MA controller controls transfer of image data to and from the memory 102. 105 is an I / O port,
Scanner / Printer 106 (or both depending on configuration)
And input and output image data. An I / F 107 transfers image data to another device connected to this device. Further, the CPU 101 accesses the ED 103, and manages the resulting output image data and a binarization error buffer.

【0013】図2は、誤差拡散部(ED)の構成を示す
図である。図の点線の部分がハードウェアで構成される
部分であり、上部の入力画像バッファ、出力画像バッフ
ァ、誤差バッファはメモリ102上に置かれ、メモリ1
02とレジスタの読み書きはCPUが直接アクセスして
行う。また、誤差拡散マトリクスは図2に示すように構
成され、注目画素(記号「*」で示す)の2値化誤差を
K1〜K6の係数配分で周辺画素に拡散する。
FIG. 2 is a diagram showing the configuration of the error diffusion unit (ED). The part indicated by the dotted line in the figure is the part configured by hardware, and the input image buffer, output image buffer, and error buffer in the upper part are placed on the memory 102, and the memory 1
The CPU directly accesses and reads and writes 02 and registers. The error diffusion matrix is configured as shown in FIG. 2 and diffuses the binarization error of the pixel of interest (indicated by the symbol “*”) to the peripheral pixels by the coefficient distribution of K1 to K6.

【0014】この原理を踏まえ、ED103のハードウ
ェア部分の動作を説明すると、まず入力画素データと前
ラインから拡散された誤差の和をCPUが加算し、レジ
スタI−reg201にセットする。次に、加算器20
3でI−reg201の出力と、前画素及び前々画素の
拡散誤差を蓄えるレジスタA11−Reg215の値が
加算される。よって、この加算器203の出力(AD
3)は入力画素データと拡散された誤差とを加え合わせ
たものになる。そして、比較器205で注目画素が2値
化される。
Based on this principle, the operation of the hardware portion of the ED 103 will be described. First, the CPU adds the sum of the input pixel data and the error diffused from the previous line, and sets it in the register I-reg 201. Next, the adder 20
In 3, the output of the I-reg 201 and the value of the register A11-Reg 215 that stores the diffusion error of the previous pixel and the pixel before the previous pixel are added. Therefore, the output of this adder 203 (AD
3) is the sum of the input pixel data and the diffused error. Then, the comparator 205 binarizes the pixel of interest.

【0015】本実施形態では、入力データを8ビットと
しているので、比較値は「128」として説明する。加
算器203の出力(AD3)が比較値128より大きけ
れば2値化出力(OGE)は“1”となり、小さければ
“0”となる。
In this embodiment, since the input data is 8 bits, the comparison value will be described as "128". If the output (AD3) of the adder 203 is larger than the comparison value 128, the binarized output (OGE) is "1", and if it is smaller, it is "0".

【0016】次に、シフトレジスタ207で2値化デー
タがバイトバック(8ビット)され、CPU101が取
り出し易く加工される。ここで、8ビットのCPUを用
いるのであれば8段のシフトレジスタで良い。バイトパ
ックされたデータは、CPU101がアクセスするため
のイネーブル付きバッファ209に蓄積される。
Next, the binarized data is byte-backed (8 bits) in the shift register 207 so that the CPU 101 can process it easily. Here, if an 8-bit CPU is used, an 8-stage shift register may be used. The byte-packed data is stored in the enable buffer 209 for the CPU 101 to access.

【0017】ここまでが入力と出力の流れであり、次に
誤差を拡散し加算する部分の動作を説明する。尚、図2
中、Err1〜Err6は後で説明する拡散誤差を作成
する部分の出力である。また、Err1〜Err6は前
に説明した拡散マトリクスで配分された誤差を表す。
Up to this point, the flow of input and output has been described. Next, the operation of the part for diffusing and adding the error will be described. FIG.
Among them, Err1 to Err6 are outputs of a portion that creates a diffusion error described later. Further, Err1 to Err6 represent the errors distributed by the diffusion matrix described above.

【0018】レジスタA12−Reg211には前々画
素の拡散誤差に相当するErr1が蓄えられる。その出
力と前画素の拡散誤差に相当するErr2が加算器21
3で加算され、その結果がレジスタA11−Reg21
5に蓄えられる。ここで、各レジスタのラッチ信号であ
るPix−Inは画素クロックに相当し、1画素毎に1
回各レジスタがラッチされるように構成されている。こ
のように、本実施形態では画素クロックをレジスタI−
Regのライト信号に兼用しているが、これはCPUが
再度画素クロックを出力する必要がなくなり、処理が高
速化されるからである。レジスタAll−Reg215
の出力は上述したように、前画素と前々画素の拡散誤差
を加算したものとなる。
The register A12-Reg211 stores Err1 corresponding to the diffusion error of the pixel before the pixel. The output and Err2 corresponding to the diffusion error of the previous pixel are added by the adder 21.
3 and the result is added to the register A11-Reg21.
5 Here, Pix-In, which is a latch signal of each register, corresponds to a pixel clock, and is 1 for each pixel.
Each register is configured to be latched once. As described above, in this embodiment, the pixel clock is supplied to the register I-
It is also used as the Reg write signal, because the CPU does not need to output the pixel clock again, and the processing speed is increased. Register All-Reg 215
As described above, the output of is the sum of the diffusion errors of the previous pixel and the previous pixel.

【0019】レジスタAll−Reg215、A12−
Reg211と同様にしてレジスタA21−Reg〜A
23〜Regは次ラインの拡散誤差を加算するためのも
のである。つまり、レジスタA23−Reg217に拡
散誤差Err3が蓄えられ、1画素遅らせて加算器21
9で拡散誤差Err4が加算される。その加算出力をレ
ジスタA22−Reg221に蓄え、更に1画素遅らせ
る。このような動作をA21−Reg225まで行い、
1画素遅らせて加算器227でErr6が加算される。
Registers All-Reg 215, A12-
Registers A21-Reg to A in the same manner as Reg211
23 to Reg are for adding the diffusion error of the next line. That is, the diffusion error Err3 is stored in the register A23-Reg 217, and the adder 21 is delayed by one pixel.
At 9, the diffusion error Err4 is added. The added output is stored in the register A22-Reg221 and further delayed by one pixel. Perform such operation up to A21-Reg225,
Err6 is added by the adder 227 with a delay of one pixel.

【0020】このようにして得られた加算器227の出
力であるOut信号は、次ラインの各画素に拡散する誤
差の途中結果となる。ここで、Err6は注目画素に対
して次ラインの2画素前に拡散する都合上、Outの出
力が注目画素に対して2画素前のものとなる。CPUは
イネーブル付きバッファ229を介してOut信号をリ
ードして誤差バッファの2画素前に蓄積する。
The Out signal, which is the output of the adder 227 thus obtained, becomes an intermediate result of the error diffused to each pixel on the next line. Here, since Err6 is diffused two pixels before the target pixel on the next line, the output of Out is two pixels before the target pixel. The CPU reads the Out signal through the enable buffer 229 and accumulates it two pixels before the error buffer.

【0021】次に、ED103のハードウェアで残りの
部分は拡散誤差Err1〜6を作成する部分である。ま
ずセレクタ233で2値化出力OGEによって加算器2
03の出力AD3か、加算器231で出力AD3に「−
255」が加算されたものかが選択される。具体的に
は、OGEが“0”のときAD3が、“1”の時AD3
−255が選択される。そして、セレクタ233の出力
が拡散誤差を求めるために乗算器に送られ、レジスタK
1〜K6の係数と乗算される。例えば、次々画素に拡散
されるErr1はセレクタ233の出力に対してレジス
タ237の係数を乗算器235でかけ算した結果とす
る。同様にしてErr2〜Err6を得る。このErr
1からErr6が上述した加算器やレジスタに送られ
る。
Next, the remaining part of the hardware of the ED 103 is a part for creating the diffusion errors Err1 to Err6. First, the adder 2 is operated by the binarized output OGE in the selector 233.
03 output AD3, or adder 231 outputs “-3
It is selected whether "255" is added. Specifically, when OGE is “0”, AD3 is, and when it is “1”, AD3
-255 is selected. Then, the output of the selector 233 is sent to the multiplier to obtain the diffusion error, and the register K
It is multiplied by the coefficients 1 to K6. For example, Err1 diffused into pixels one after another is the result of multiplying the output of the selector 233 by the coefficient of the register 237 by the multiplier 235. Similarly, Err2 to Err6 are obtained. This Err
1 to Err6 are sent to the adders and registers described above.

【0022】図3は、本実施形態におけるCPUの処理
の流れを説明するための図である。ここではループの初
期化などは省略し、1画素の処理について説明する。
FIG. 3 is a diagram for explaining the processing flow of the CPU in this embodiment. Here, the initialization of the loop and the like are omitted, and the processing for one pixel will be described.

【0023】まず、ステップS1で入力画像バッファか
ら画像データを取り出す。ここで、メモリへのポインタ
はR3としている。次に、ステップS2で誤差バッファ
から誤差の途中結果を取り出す。また同様に、ポインタ
はR4としている。そして、ステップS3で2つのデー
タを加算し、続くステップS4で誤差拡散部(ED)の
I−reg201に出力する。その結果、誤差拡散処理
が実行され、バッファPix−Out209、バッファ
Err−Out229及び内部の各レジスタが更新され
る。次に、ステップS5では、次ラインで2画素前の誤
差の途中結果をバッファErr−Out229より入力
する。続くステップS6でそのデータを誤差バッファの
2画素前のアドレス(R4−2)に書き込む。この処理
を8画素処理した後、ステップS7でバッファPix−
Out209から出力画素を入力する。そして、ステッ
プS8で出力画像バッファに書き込み、続くステップS
9〜S11は各バッファへのポインタをインクリメント
する。
First, in step S1, image data is taken out from the input image buffer. Here, the pointer to the memory is R3. Next, in step S2, an intermediate error result is retrieved from the error buffer. Similarly, the pointer is R4. Then, in step S3, the two data are added, and in the subsequent step S4, the data is output to the I-reg 201 of the error diffusion unit (ED). As a result, the error diffusion process is executed, and the buffer Pix-Out 209, the buffer Err-Out 229, and the internal registers are updated. Next, in step S5, the intermediate result of the error two pixels before in the next line is input from the buffer Err-Out 229. In the subsequent step S6, the data is written to the address (R4-2) two pixels before in the error buffer. After this processing is performed for 8 pixels, the buffer Pix- is processed in step S7.
Output pixels are input from Out209. Then, in step S8, the data is written in the output image buffer, and the subsequent step S8
9 to S11 increment the pointer to each buffer.

【0024】このように、本実施形態では、1画素に付
き8ステップ(即ち、S1〜S11のうち、S7,S
8,S11は8画素に付き1回のため、11−3ステッ
プ)で処理することができる。また、CPUによっては
メモリからのリードで自動的にアドレスがインクリメン
トされるものがあり、そのようなCPUを用いたならば
更にステップ数を少なくすることができる。
As described above, in this embodiment, eight steps per pixel (that is, S7 and S out of S1 to S11) are performed.
Since 8 and S11 are once for every 8 pixels, they can be processed in 11-3 steps). Some CPUs automatically increment the address by reading from the memory. If such a CPU is used, the number of steps can be further reduced.

【0025】[他の実施の形態]以下、図面を参照しな
がら他の実施の形態を詳細に説明する。
[Other Embodiments] Hereinafter, other embodiments will be described in detail with reference to the drawings.

【0026】図4は、他の実施形態における画像処理装
置の構成を示すブロック図である。この実施形態では、
CPU101の代わりにメモリ102のアドレスを制御
する外付けのDMAコントローラを備えている。これに
より、バスが専有されるためある程度遅くなるが、CP
Uが他の処理を実行できるという利点がある。特に、高
速動作を必要としないインクジェットプリンタの場合、
DMAの間隔をあけることでCPUの処理能率を向上さ
せることができる。
FIG. 4 is a block diagram showing the arrangement of an image processing apparatus according to another embodiment. In this embodiment,
An external DMA controller for controlling the address of the memory 102 is provided instead of the CPU 101. As a result, the bus will be monopolized, but it will be delayed to some extent.
It has the advantage that U can perform other processing. Especially for inkjet printers that do not require high-speed operation,
The processing efficiency of the CPU can be improved by opening the DMA interval.

【0027】図4に示すように、他の実施形態における
メインの部分は前述した実施形態と殆ど変わりなく、D
MAのためにアドレス発生、バス制御を行うコントロー
ル部401を追加したものである。また、拡散係数を作
成する部分については前述の実施形態と同様であり、図
4では省略している。
As shown in FIG. 4, the main part of the other embodiment is almost the same as the above-described embodiment, and
A control unit 401 for address generation and bus control for MA is added. Further, the part for creating the diffusion coefficient is the same as in the above-described embodiment, and is omitted in FIG.

【0028】図5は、コントロール部401の内部構成
を示す図である。図示するように、内部は画素数を示す
カウンタ501と、終了するまで処理を繰り返すコマン
ド部502と、4つのアドレスを発生させるアドレス発
生部503a〜503dと、各アドレス発生部503a
〜503dからのアドレスを選択するセレクタ504
と、画像データの読み出しアドレスを比較する比較器5
05と、バスを制御し、メモリ102とのリードライト
を行うバスコントロール部506とで構成されている。
そして、コマンド部502でCPU101に通知する割
り込み(INT)を制御し、バスコントロール部506
でDMAのBUSREQ/BUSACKを制御する。
FIG. 5 is a diagram showing the internal structure of the control unit 401. As shown in the drawing, a counter 501 that indicates the number of pixels inside, a command unit 502 that repeats processing until the end, address generation units 503a to 503d that generate four addresses, and each address generation unit 503a.
Selector 504 for selecting an address from ~ 503d
And a comparator 5 for comparing the read address of the image data
05 and a bus control unit 506 that controls the bus and performs read / write with the memory 102.
Then, the command unit 502 controls the interrupt (INT) notified to the CPU 101, and the bus control unit 506.
Controls BUSREQ / BUSACK of DMA.

【0029】図6は、他の実施形態におけるバスの制御
を示すタイミングチャートである。上述の構成におい
て、コントロール部401では、以下の処理を行う。
FIG. 6 is a timing chart showing bus control in another embodiment. In the configuration described above, the control unit 401 performs the following processing.

【0030】1.CPU101にバスリクエストをかけ
てバスを制御する。
1. A bus request is issued to the CPU 101 to control the bus.

【0031】2.画像データの読み出しアドレスを発生
し、データをリード。
2. Generate a read address for image data and read the data.

【0032】3.誤差データのメモリアドレスを発生
し、誤差データをリード。
3. Generate a memory address for error data and read the error data.

【0033】4.2値化処理を実行し、誤差データのメ
モリアドレスを発生し、誤差メモリにストア。
4. Execute the binarization process, generate the memory address of the error data, and store it in the error memory.

【0034】5.出力データのアドレスを発生し、その
データをメモリにストア(8画素に1回)。
5. Generate an address for output data and store that data in memory (once every 8 pixels).

【0035】6.バスを解放して制御をCPU101に
渡す。
6. The bus is released and control is passed to the CPU 101.

【0036】7.カウンタ501が0になるまで上記1
〜6を繰り返し、0になるとCPU101にINTをか
ける。
7. The above 1 until the counter 501 becomes 0
Repeat steps 6 to 6 and when it reaches 0, INT the CPU 101.

【0037】以上の実施形態では、画像処理の例として
誤差拡散処理について説明したが、本発明はこれに限る
ことなく、その他の画像処理に適用することも可能であ
る。例えば、解像度変換や符号化等に適用できることは
言うまでもない。
In the above embodiments, the error diffusion processing was described as an example of the image processing, but the present invention is not limited to this and can be applied to other image processing. For example, it goes without saying that it can be applied to resolution conversion and encoding.

【0038】尚、本発明は複数の機器(例えば、ホスト
コンピュータ,インタフェイス機器,リーダ,プリンタ
など)から構成されるシステムに適用しても、一つの機
器からなる装置(例えば、複写機,ファクシミリ装置な
ど)に適用してもよい。
Even when the present invention is applied to a system composed of a plurality of devices (eg, host computer, interface device, reader, printer, etc.), a device composed of one device (eg, copier, facsimile) Device).

【0039】また、本発明の目的は前述した実施形態の
機能を実現するソフトウェアのプログラムコードを記録
した記憶媒体を、システム或いは装置に供給し、そのシ
ステム或いは装置のコンピュータ(CPU若しくはMP
U)が記憶媒体に格納されたプログラムコードを読出し
実行することによっても、達成されることは言うまでも
ない。
Further, the object of the present invention is to supply a storage medium having a program code of software for realizing the functions of the above-described embodiments to a system or apparatus, and to supply the computer (CPU or MP) of the system or apparatus.
It goes without saying that U) is also achieved by reading and executing the program code stored in the storage medium.

【0040】この場合、記憶媒体から読出されたプログ
ラムコード自体が前述した実施形態の機能を実現するこ
とになり、そのプログラムコードを記憶した記憶媒体は
本発明を構成することになる。
In this case, the program code itself read from the storage medium implements the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention.

【0041】プログラムコードを供給するための記憶媒
体としては、例えばフロッピーディスク,ハードディス
ク,光ディスク,光磁気ディスク,CD−ROM,CD
−R,磁気テープ,不揮発性のメモリカード,ROMな
どを用いることができる。
A storage medium for supplying the program code is, 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 nonvolatile memory card, a ROM, or the like can be used.

【0042】また、コンピュータが読出したプログラム
コードを実行することにより、前述した実施形態の機能
が実現されるだけでなく、そのプログラムコードの指示
に基づき、コンピュータ上で稼働しているOS(オペレ
ーティングシステム)などが実際の処理の一部又は全部
を行い、その処理によって前述した実施形態の機能が実
現される場合も含まれることは言うまでもない。
Further, by executing the program code read by the computer, not only the functions of the above-described embodiment are realized, but also the OS (operating system) running on the computer based on the instruction of the program code. It is needless to say that this also includes a case where the above) performs a part or all of the actual processing and the processing realizes the functions of the above-described embodiments.

【0043】更に、記憶媒体から読出されたプログラム
コードが、コンピュータに挿入された機能拡張ボードや
コンピュータに接続された機能拡張ユニットに備わるメ
モリに書込まれた後、そのプログラムコードの指示に基
づき、その機能拡張ボードや機能拡張ユニットに備わる
CPUなどが実際の処理の一部又は全部を行い、その処
理によって前述した実施形態の機能が実現される場合も
含まれることは言うまでもない。
Further, after the program code read from the storage medium is written in the memory provided in the function expansion board inserted into the computer or the function expansion unit connected to the computer, based on the instruction of the program code, It goes without saying that a case where the CPU provided in the function expansion board or the function expansion unit performs a part or all of the actual processing and the processing realizes the functions of the above-described embodiments is also included.

【0044】[0044]

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

【図1】実施形態における画像処理装置の構成を示すブ
ロック図である。
FIG. 1 is a block diagram showing a configuration of an image processing apparatus according to an embodiment.

【図2】2値化処理を行う誤差拡散部の構成を示すブロ
ック図である。
FIG. 2 is a block diagram showing a configuration of an error diffusion unit that performs binarization processing.

【図3】実施形態におけるCPUの処理の流れとその動
作を示す図である。
FIG. 3 is a diagram showing a flow of processing of a CPU and its operation in the embodiment.

【図4】他の実施形態における画像処理装置の構成を示
すブロック図である。
FIG. 4 is a block diagram showing a configuration of an image processing apparatus according to another embodiment.

【図5】他の実施形態におけるコントロール部の内部構
成を示すブロック図である。
FIG. 5 is a block diagram showing an internal configuration of a control unit in another embodiment.

【図6】他の実施形態におけるバスの制御を示すタイミ
ングチャートである。
FIG. 6 is a timing chart showing control of a bus in another embodiment.

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

101 CPU 102 メモリ 103 誤差拡散部(ED) 104 DMAコントローラ 105 I/Oポート 106 スキャナ/プリンタ 107 I/F 201 レジスタI−reg 203 加算器 205 比較器 207 シフトレジスタ 209 イネーブル付きバッファ 211 レジスタA12−Reg 213 加算器 215 レジスタA11−Reg 217 レジスタA23−Reg 219 加算器 221 レジスタA22−Reg 223 加算器 225 レジスタA21−Reg 227 加算器 229 イネーブル付きバッファ 231 加算器 233 セレクタ 235 乗算器 237 レジスタK1 239 乗算器 241 レジスタK2 243 乗算器 245 レジスタK3 247 乗算器 249 レジスタK4 251 乗算器 253 レジスタK5 255 乗算器 257 レジスタK6 101 CPU 102 Memory 103 Error Diffusion Unit (ED) 104 DMA Controller 105 I / O Port 106 Scanner / Printer 107 I / F 201 Register I-reg 203 Adder 205 Comparator 207 Shift Register 209 Enable Buffer 211 Register A12-Reg 213 adder 215 register A11-Reg 217 register A23-Reg 219 adder 221 register A22-Reg 223 adder 225 register A21-Reg 227 adder 229 enable buffer 231 adder 233 selector 235 multiplier 237 register K1 239 multiplier 241 register K2 243 multiplier 245 register K3 247 multiplier 249 register K4 251 multiplier 253 register K5 255 Adder 257 register K6

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 画像データを蓄積する蓄積手段と、 前記蓄積手段に蓄積された画像データを読み出す読出手
段と、 前記読出手段により読み出された画像データに所定の画
像処理を施す画像処理手段と、 前記画像処理手段により画像処理された画像データを前
記蓄積手段に書き込む書込手段と、 前記蓄積手段への読み出し或いは書き込みを制御する制
御手段とを備えることを特徴とする画像処理装置。
1. A storage unit for storing image data, a reading unit for reading out the image data stored in the storage unit, and an image processing unit for subjecting the image data read by the reading unit to predetermined image processing. An image processing apparatus comprising: a writing unit that writes image data image-processed by the image processing unit into the storage unit; and a control unit that controls reading or writing into the storage unit.
【請求項2】 前記画像処理手段は、前記画像データに
誤差拡散処理を施すことを特徴とする請求項1記載の画
像処理装置。
2. The image processing apparatus according to claim 1, wherein the image processing means performs error diffusion processing on the image data.
【請求項3】 前記制御手段は、前記画像処理手段にバ
ス接続されたCPUであることを特徴とする請求項1記
載の画像処理装置。
3. The image processing apparatus according to claim 1, wherein the control unit is a CPU connected to the image processing unit by a bus.
【請求項4】 前記制御手段は、読み出し或いは書き込
みのアドレスを制御することを特徴とする請求項3記載
の画像処理装置。
4. The image processing apparatus according to claim 3, wherein the control unit controls a read or write address.
【請求項5】 前記制御手段は、外部に接続されたDM
Aを用いて制御することを特徴とする請求項1記載の画
像処理装置。
5. The DM is externally connected to the control means.
The image processing apparatus according to claim 1, wherein the image processing apparatus is controlled using A.
【請求項6】 蓄積手段に蓄積された画像データを読み
出し、 読み出された画像データに所定の画像処理を施し、 画像処理された画像データを前記蓄積手段に書き込み、 前記蓄積手段への読み出し或いは書き込みを制御する、
各工程を有することを特徴とする画像処理方法。
6. The image data stored in the storage means is read, the read image data is subjected to predetermined image processing, the image-processed image data is written in the storage means, and the image data is read out to the storage means. Control writing,
An image processing method comprising each step.
【請求項7】 前記画像処理工程は、前記画像データに
誤差拡散処理を施すことを特徴とする請求項6記載の画
像処理方法。
7. The image processing method according to claim 6, wherein in the image processing step, error diffusion processing is performed on the image data.
【請求項8】 前記制御工程は、CPUによって読み出
し或いは書き込みのアドレスを制御することを特徴とす
る請求項6記載の画像処理方法。
8. The image processing method according to claim 6, wherein the control step controls a read or write address by a CPU.
【請求項9】 前記制御工程は、外部に接続されたDM
Aを用いて制御することを特徴とする請求項6記載の画
像処理方法。
9. The control step is a DM connected to the outside.
The image processing method according to claim 6, wherein control is performed using A.
JP8051733A 1996-03-08 1996-03-08 Picture processor and its method Withdrawn JPH09247401A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8051733A JPH09247401A (en) 1996-03-08 1996-03-08 Picture processor and its method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8051733A JPH09247401A (en) 1996-03-08 1996-03-08 Picture processor and its method

Publications (1)

Publication Number Publication Date
JPH09247401A true JPH09247401A (en) 1997-09-19

Family

ID=12895107

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8051733A Withdrawn JPH09247401A (en) 1996-03-08 1996-03-08 Picture processor and its method

Country Status (1)

Country Link
JP (1) JPH09247401A (en)

Similar Documents

Publication Publication Date Title
US5058051A (en) Address register processor system
JP3066908B2 (en) Coding and decoding device
US4835684A (en) Microcomputer capable of transferring data from one location to another within a memory without an intermediary data bus
US5655131A (en) SIMD architecture for connection to host processor's bus
US20050283565A1 (en) Method and apparatus for connecting lpc bus and serial flash memory
US6272583B1 (en) Microprocessor having built-in DRAM and internal data transfer paths wider and faster than independent external transfer paths
US7254283B1 (en) Image processor processing image data in parallel with a plurality of processors
JP2001358942A (en) Error diffusion calculating device
US20040078513A1 (en) Storage device
JPH09247401A (en) Picture processor and its method
TW448361B (en) Data switching system and method using bandwidth management unit to reduce data traffic
US6587150B1 (en) Image processing apparatus and control method therefor
JP2004288147A (en) Xip system to serial memory and its method
US6425029B1 (en) Apparatus for configuring bus architecture through software control
JPH083801B2 (en) System allocator for a reduced processor that evaluates programs stored as binary directed graphs using frequency-free functional language code
US20020069311A1 (en) Bus control device
JP2000268165A (en) Image information processor and image information processing method
JPH11119922A (en) Data storage system and redundant data write control method
JP2806376B2 (en) Image processing apparatus and image processing method
JPH09186836A (en) Digital copying machine
JP2785855B2 (en) Information processing device
JPH11203059A (en) Image input and output device and its memory access method, and storage medium storing computer readable program
JP2001022581A (en) Data processor and computer readable storage medium
JPH0962562A (en) Memory processing circuit
JP2003345852A (en) Hardware verification method and hardware verification device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20030603