JP2001266111A - Picture processor - Google Patents

Picture processor

Info

Publication number
JP2001266111A
JP2001266111A JP2000073826A JP2000073826A JP2001266111A JP 2001266111 A JP2001266111 A JP 2001266111A JP 2000073826 A JP2000073826 A JP 2000073826A JP 2000073826 A JP2000073826 A JP 2000073826A JP 2001266111 A JP2001266111 A JP 2001266111A
Authority
JP
Japan
Prior art keywords
input
output
signal
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
JP2000073826A
Other languages
Japanese (ja)
Inventor
Takeshi Kondo
健 近藤
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2000073826A priority Critical patent/JP2001266111A/en
Publication of JP2001266111A publication Critical patent/JP2001266111A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a picture processor which can change the processing order of plural picture processings such as color space conversion, enlargement/ reduction and binarization. SOLUTION: An input/output selection means 5 for selecting either a picture memory or the other picture processing as the input/output destination of data in one picture processing is included. The processing order of the picture processings can be changed by setting the input/output selection means 5.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、色空間変換、拡大
・縮小、2値化等の複数の画像処理を行う画像処理装置
において、各画像処理の入出力データ制御技術に関する
ものである。
[0001] 1. Field of the Invention [0002] The present invention relates to an input / output data control technique for each image processing in an image processing apparatus for performing a plurality of image processings such as color space conversion, enlargement / reduction, and binarization.

【0002】[0002]

【従来の技術】ディジタルカメラによる写真データや、
スキャナで読み取られたデータなどのいわゆるビットマ
ップデータを入力とし、プリンタで印字させる場合には
色空間変換、拡大・縮小、2値化等の画像処理が必要と
なる。
2. Description of the Related Art Photo data from digital cameras,
When so-called bitmap data such as data read by a scanner is input and printed by a printer, image processing such as color space conversion, enlargement / reduction, and binarization is required.

【0003】入力データの解像度及び印字解像度が高解
像度化するに従い処理すべきデータ量は増大しており、
その処理の高速化の要求が高まっている。
As the resolution and printing resolution of input data increase, the amount of data to be processed increases.
There is an increasing demand for faster processing.

【0004】従来の画像処理装置では、例えば拡大・縮
小処理を行い、次に色空間変換処理を行い、最後に2値
化処理を行うといったように処理順が固定されていた。
In a conventional image processing apparatus, the order of processing is fixed, for example, such that enlargement / reduction processing is performed, then color space conversion processing is performed, and finally binarization processing is performed.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、入力デ
ータに対して拡大率が小さい場合(即ち縮小)は画像処
理の順番として最初に拡大・縮小、次に色空間変換、最
後に2値化の順序で良いが、拡大率が大きな時には最初
に色空間変換処理を行い、次に拡大・縮小処理を行い、
最後に2値化処理を行うことが画像メモリ上に画像処理
が必要とするメモリ容量が少なくなり、処理時間が高速
化されるので望ましい構成となる。
However, when the enlargement ratio is small relative to the input data (ie, reduction), the order of the image processing is first the enlargement / reduction, then the color space conversion, and finally the binarization order. However, when the enlargement ratio is large, the color space conversion process is performed first, and then the enlargement / reduction process is performed.
Finally, performing the binarization processing is a desirable configuration because the memory capacity required for image processing on the image memory is reduced and the processing time is shortened.

【0006】ところが、前述の如く従来は処理順が固定
されているために画像メモリ上に必要とするメモリ容量
の増大すると共に、画像処理に時間を要するといった問
題点を有していた。
However, as described above, conventionally, the processing order is fixed, so that the memory capacity required on the image memory is increased, and the image processing takes time.

【0007】本発明は、画像処理の処理順を変更可能と
することが可能な画像処理装置を提供することを目的と
する。
An object of the present invention is to provide an image processing apparatus capable of changing the order of image processing.

【0008】[0008]

【課題を解決するための手段】この課題を解決するため
に本発明は、画像メモリより画像データを取得して色空
間変換、拡大・縮小、2値化などの複数の画像処理を行
い再び画像メモリへのデータ格納を行う画像処理装置で
あって、画像メモリの制御を行うメモリ制御手段と、1
つの画像処理におけるデータの入出力先として画像メモ
リか他の画像処理のどちらかを選択する入出力選択手段
と、を有する構成とした。
In order to solve this problem, the present invention obtains image data from an image memory, performs a plurality of image processes such as color space conversion, enlargement / reduction, and binarization, and performs image processing again. An image processing apparatus for storing data in a memory, comprising: a memory control unit for controlling an image memory;
Input / output selecting means for selecting either an image memory or another image processing as a data input / output destination in one image processing.

【0009】これにより、画像処理の処理順を変更可能
とすることが可能な画像処理装置が得られる。
Thus, an image processing apparatus capable of changing the order of image processing can be obtained.

【0010】[0010]

【発明の実施の形態】本願の請求項1記載の発明は、画
像メモリより画像データを取得して色空間変換、拡大・
縮小、2値化などの複数の画像処理を行い再び画像メモ
リへのデータ格納を行う画像処理装置であって、画像メ
モリの制御を行うメモリ制御手段と、1つの画像処理に
おけるデータの入出力先として画像メモリか他の画像処
理のどちらかを選択する入出力選択手段と、を有する構
成としたことにより、画像処理の内容に応じて画像処理
の処理順を変更可能とした。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The invention according to claim 1 of the present application obtains image data from an image memory, performs color space conversion, enlarges /
An image processing apparatus for performing a plurality of image processes such as reduction and binarization and storing data in an image memory again, comprising a memory control unit for controlling the image memory, and a data input / output destination in one image process And an input / output selecting means for selecting either an image memory or another image processing, so that the processing order of the image processing can be changed according to the content of the image processing.

【0011】本願の請求項2記載の発明は、画像メモリ
より画像データを取得して色空間変換、拡大・縮小、2
値化などの複数の画像処理を行い再び画像メモリへのデ
ータ格納を行う画像処理装置であって、画像メモリの制
御を行うメモリ制御手段と、1つの画像処理におけるデ
ータの入出力先として画像メモリか他の画像処理のどち
らかを選択することが出来る入出力選択手段と、を有す
る構成としたことにより、拡大・縮小の拡大率設定に基
づいて、各画像処理の入出力選択手段を設定する入出力
設定手段と、を有する、拡大率設定によって自動的に画
像処理の処理順を変更可能とした。
According to the invention of claim 2 of the present application, image data is obtained from an image memory to perform color space conversion, enlargement / reduction,
An image processing apparatus for performing a plurality of image processes such as value conversion and storing data in an image memory again, comprising: a memory control unit for controlling an image memory; and an image memory as a data input / output destination in one image process. And input / output selecting means for selecting either one of the image processing and the other image processing, thereby setting the input / output selecting means for each image processing based on the enlargement / reduction magnification setting. And an input / output setting means. The order of image processing can be automatically changed by setting an enlargement ratio.

【0012】以下、本発明の実施の形態について、図1
から図6を参照して説明する。
Hereinafter, an embodiment of the present invention will be described with reference to FIG.
This will be described with reference to FIG.

【0013】(実施の形態)図1は本発明の実施の形態
における画像処理装置の構成ブロック図である。
(Embodiment) FIG. 1 is a block diagram showing a configuration of an image processing apparatus according to an embodiment of the present invention.

【0014】図1において、1は本実施の形態における
画像処理装置である。本実施の形態では画像処理とし
て、RGB色空間からCMYK色空間へと変換を行う色
空間変換処理、画像の1ライン分について拡大・縮小を
行う拡大・縮小処理、画素に対して閾値テーブルとの比
較を行い2値化を行う2値化処理を例として説明する。
In FIG. 1, reference numeral 1 denotes an image processing apparatus according to the present embodiment. In the present embodiment, the image processing includes a color space conversion process for converting an RGB color space to a CMYK color space, an enlargement / reduction process for enlarging / reducing one line of an image, and a threshold table for pixels. A binarization process for comparing and binarizing will be described as an example.

【0015】これらの画像処理に対して、それぞれ入出
力選択手段3、4、5が用意されており、さらに画像メ
モリの入出力制御を行うメモリ制御手段2、入出力選択
手段3、4、5の設定を自動化できる入出力自動設定手
段6、及び各種画像処理の設定制御を行うマイクロプロ
セッサMPUから構成される。
For these image processing, input / output selecting means 3, 4, and 5 are provided, respectively. Further, memory control means 2 for controlling input / output of the image memory, input / output selecting means 3, 4, and 5 are provided. The input / output automatic setting means 6 which can automate the setting of the image processing, and a microprocessor MPU which performs setting control of various image processing.

【0016】図2は本発明の実施の形態におけるメモリ
制御手段のブロック図である。
FIG. 2 is a block diagram of the memory control means according to the embodiment of the present invention.

【0017】図2において、メモリ制御手段2は画像メ
モリ読出し要求の入力として色空間変換入力要求信号C
olor_ireq、拡大・縮小入力要求信号Scal
e_ireq、2値化入力要求信号Dither_ir
eqを受け、画像メモリ書き出し要求の入力として色空
間変換出力要求信号Color_oreq、拡大・縮小
出力要求信号Scale_oreq、2値化出力要求信
号Dither_oreqを受け、メモリ制御によって
2値化出力要求、拡大・縮小出力要求、色空間変換出力
要求、2値化入力要求、拡大・縮小出力要求、色空間変
換出力要求の順番にプライオリティを付けて要求受付け
を行い、色空間変換入力アドレス信号Color_ia
drs、色空間変換出力アドレス信号Color_oa
drs、拡大・縮小入力アドレス信号Scale_ia
drs、拡大・縮小出力アドレス信号Scale_oa
drs、2値化入力アドレス信号Dither_iad
rs、2値化出力アドレス信号Dither_oadr
sのアドレスから受け付けた要求のアドレスを画像メモ
リアドレス信号mem_adとして出力し、メモリ制御
を行う。
In FIG. 2, a memory control means 2 receives a color space conversion input request signal C as an input of an image memory read request.
color_ireq, enlargement / reduction input request signal Scal
e_ireq, binarized input request signal Dither_ir
eq, receives a color space conversion output request signal Color_oreq, an enlargement / reduction output request signal Scale_oreq, and a binarization output request signal Dither_oreq as an input of an image memory write request, and receives a binary output request, enlargement / reduction output by memory control. Requests, color space conversion output requests, binarization input requests, enlargement / reduction output requests, color space conversion output requests are given priorities in order, and requests are accepted, and the color space conversion input address signal Color_ia
drs, color space conversion output address signal Color_oa
drs, enlargement / reduction input address signal Scale_ia
drs, enlargement / reduction output address signal Scale_oa
drs, binarized input address signal Dither_iad
rs Binary output address signal Dither_oadr
The address of the request received from the address s is output as the image memory address signal mem_ad, and the memory control is performed.

【0018】メモリ制御では、その他にメモリチップセ
レクト信号mem_cs、メモリライトイネーブル信号
mem_weを画像メモリに対して出力を行い、画像メ
モリの読出しおよび書込みを行う。
In the memory control, a memory chip select signal mem_cs and a memory write enable signal mem_we are output to the image memory, and reading and writing of the image memory are performed.

【0019】画像データの読出しは画像メモリからの入
力データ信号memdt_inを入力バッファに格納
し、入力バッファへの格納が終了すると入力バッファ有
効信号mem_ireadyを有効にし、色空間変換入
力受付け信号Color_iack、拡大・縮小入力受
付け信号Scale_iack、2値化入力受付け信号
Dither_iackを、入力要求を受け付けた画像
処理に対して送出する。
To read the image data, the input data signal memdt_in from the image memory is stored in the input buffer, and when the storage in the input buffer is completed, the input buffer valid signal mem_iready is validated, and the color space conversion input reception signal Color_iack, the enlargement / A reduced input accepting signal Scale_iack and a binarized input accepting signal Dither_iack are transmitted to the image processing that has accepted the input request.

【0020】入力の画像データ信号memdtは入力バ
ッファより各画像処理へと送出されるが、色空間変換入
力受け取り信号Color_iready、拡大・縮小
入力受け取り信号Scale_iready、2値化入
力受け取り信号Dither_ireadyを受け付け
る毎に入力バッファの内容をmemdtとして送出し、
全ての入力バッファのデータを送出し終えると、入力バ
ッファ有効信号mem_ireadyを無効にして入力
要求のサイクルを終了する。
The input image data signal memdt is sent from the input buffer to each image processing. Each time a color space conversion input reception signal Color_ready, an enlarged / reduced input reception signal Scale_ready, and a binary input reception signal Dither_ready are received. Send the contents of the input buffer as memdt,
When the transmission of the data of all the input buffers is completed, the input buffer valid signal mem_iready is invalidated, and the cycle of the input request is terminated.

【0021】画像データの書込みはColor_ore
q、Scale_oreq、Dither_oreqの
いずれかをメモリ制御が受付けると、出力バッファ有効
信号mem_oreadyを有効にし、出力要求の受付
けに応じて色空間変換出力受付け信号Color_oa
ck、拡大・縮小出力受付け信号Scale_oac
k、2値化出力受付け信号Dither_oackを入
力要求を受け付けた画像処理に対して送出する。色空間
変換出力送出信号Color_oready、拡大・縮
小出力送出信号Color_oready、2値化出力
送出信号Dither_oreadyの送出信号を出力
バッファが受信すると、送出信号に応じて色空間変換出
力データ信号Color_data_out、拡大・縮
小出力データ信号Scale_data_out、2値
化出力データ信号Dither_data_outのデ
ータを出力バッファへと格納し、出力バッファが全ての
データ受信を終えると出力バッファ有効信号mem_o
readyを無効とし、出力バッファのデータ信号me
mdt_outを用いて画像メモリへの書込みを行な
い、出力バッファのデータを全て画像メモリへの書込み
を終了すると出力要求のサイクルを終了する。
Image data is written in Color_ore
When any of q, Scale_oreq, and Dither_oreq is received by the memory control, the output buffer valid signal mem_oready is made valid, and the color space conversion output receiving signal Color_oa is received in response to the output request.
ck, enlargement / reduction output acceptance signal Scale_oac
k, and sends out a binarized output acceptance signal Dither_oack for the image processing that has accepted the input request. When the output buffer receives the color space conversion output transmission signal Color_ready, the enlargement / reduction output transmission signal Color_ready, and the binarized output transmission signal Dither_ready, the color space conversion output data signal Color_data_out, the enlargement / reduction output according to the transmission signal. The data of the data signal Scale_data_out and the binary output data signal Dither_data_out are stored in the output buffer, and when the output buffer finishes receiving all data, the output buffer valid signal mem_o
ready is invalidated and the output buffer data signal me
Writing to the image memory is performed using mdt_out, and when all the data in the output buffer has been written to the image memory, the cycle of the output request ends.

【0022】図3に色空間変換処理用の入出力選択手段
3のブロック図を示す。
FIG. 3 shows a block diagram of the input / output selecting means 3 for color space conversion processing.

【0023】入出力選択手段3では、入力選択設定で入
力を画像メモリに選択した場合には色空間変換処理から
の入力要求信号Color_ireq_iをメモリ制御
へColor_ireq信号で送出し、メモリ制御より
色空間変換入力受付け信号Color_iackを受け
付けた後に色空間変換処理からの色空間変換入力受け取
り完了信号Color_iready_eをColor
_iready信号で送出しつつ、画像データ信号me
mdtを入力選択で色空間変換処理の入力データ信号C
olor_data_inとして選択し、色空間変換処
理へ出力を行う。
The input / output selecting means 3 sends an input request signal Color_ireq_i from the color space conversion process to the memory control by a Color_ireq signal when the input is selected to the image memory in the input selection setting, and performs the color space conversion by the memory control. After receiving the input reception signal Color_ack, the color space conversion input reception completion signal Color_ready_e from the color space conversion processing is changed to Color.
_Ready signal while transmitting the image data signal me
input data signal C for color space conversion processing by selecting mdt as input
Select as color_data_in and output to color space conversion processing.

【0024】また、入力選択設定で入力を拡大・縮小処
理の出力データに設定した場合には拡大・縮小出力送出
信号Color_oreadyが有効である時に、色空
間変換処理からの色空間変換入力受け取り有効信号Co
lor_iready_sをColor_iready
信号で送出しつつ、拡大・縮小出力データ信号Scal
e_dataを入力選択で色空間変換処理の入力データ
信号Color_data_inとして選択し、色空間
変換処理へ出力を行うが、この時にColor_ire
ady信号は色空間変換処理の入力が受け取り準備完了
信号Color_iready_iを出力する。
In the case where the input is set to the output data of the enlargement / reduction processing in the input selection setting, when the enlargement / reduction output transmission signal Color_ready is valid, the color space conversion input reception valid signal from the color space conversion processing is valid. Co
lor_ready_s to Color_ready
Output / enlarged / reduced output data signal Scal
e_data is selected as an input data signal Color_data_in of the color space conversion process by input selection, and output to the color space conversion process. At this time, Color_ire
The ready signal is received by the input of the color space conversion processing and outputs a ready signal Color_ready_i.

【0025】入力選択設定では、入出力自動制御有効信
号auto_enが有効であれば色空間変換自動制御入
力選択信号auto_icolに従い入力を画像メモリ
から行うか、拡大・縮小処理の出力データから行うかの
設定を行い、入出力自動制御有効信号auto_enが
無効であればMPUの設定した入力選択設定に従い入力
を画像メモリから行うか、拡大・縮小処理の出力データ
から行うか設定を行う。
In the input selection setting, if the input / output automatic control valid signal auto_en is valid, the setting is made according to the color space conversion automatic control input selection signal auto_icol whether the input is performed from the image memory or from the output data of the enlargement / reduction processing. If the input / output automatic control enable signal auto_en is invalid, the setting is made as to whether the input is performed from the image memory or from the output data of the enlargement / reduction processing according to the input selection setting set by the MPU.

【0026】出力選択設定で出力を画像メモリに選択し
た場合には、色空間変換処理からの出力要求信号Col
or_oreq_iをメモリ制御へColor_ore
q信号で送出し、メモリ制御より色空間変換出力受付け
信号Color_oackを受け付けた後に出力バッフ
ァ有効信号mem_oreadyの有効時に色空間変換
処理からの色空間変換出力送出信号Color_ore
ady_iをColor_oready信号で送出し、
色空間変換処理からの色空間変換出力データ信号Col
or_data_out_iをColor_data_
out信号で送出を行う。
When the output is selected in the image memory in the output selection setting, the output request signal Col from the color space conversion processing is output.
or_oreq_i to memory control
After receiving the color space conversion output acceptance signal Color_oack from the memory control, when the output buffer valid signal mem_oready is valid, the color space conversion output transmission signal Color_ore from the color space conversion processing is transmitted.
ady_i is transmitted by a Color_ready signal,
Color space conversion output data signal Col from color space conversion processing
or_data_out_i is changed to Color_data_
Transmission is performed by an out signal.

【0027】また、出力選択設定を拡大・縮小処理の入
力に設定した場合には、拡大・縮小入力受け取り信号S
cale_ireadyが有効である時に、色空間変換
処理からの色空間変換出力送出信号Color_ore
ady_iをColor_oready信号で送出し、
色空間変換処理からの色空間変換出力データ信号Col
or_data_out_iをColor_data_
out信号で送出を行い、出力選択設定を2値化処理の
入力に設定した場合には2値化入力受け取り信号Dit
her_ireadyが有効である時に、色空間変換処
理からの色空間変換出力送出信号Color_orea
dy_iをColor_oready信号で送出する。
When the output selection setting is set to the input of the enlargement / reduction processing, the enlargement / reduction input reception signal S
When the call_iready is valid, the color space conversion output transmission signal Color_ore from the color space conversion processing
ady_i is transmitted by a Color_ready signal,
Color space conversion output data signal Col from color space conversion processing
or_data_out_i is changed to Color_data_
When the output signal is transmitted and the output selection setting is set to the input of the binarization processing, the binarization input reception signal Dit
When her_ready is valid, color space conversion output transmission signal Color_orea from color space conversion processing
dy_i is transmitted by a Color_ready signal.

【0028】出力選択設定では、入出力自動制御有効信
号auto_enが有効であれば色空間変換自動制御出
力選択信号auto_ocolに従い出力を画像メモリ
へ行うか、拡大・縮小処理の入力へ行うか、2値化処理
の入力へ行うかの設定を行い、入出力自動制御有効信号
auto_enが無効であればMPUの設定した出力選
択設定に従い出力を画像メモリへ行うか、拡大・縮小処
理の入力へ行うか、2値化処理の入力へ行うかの設定を
行う。
In the output selection setting, if the input / output automatic control valid signal auto_en is valid, the output is performed to the image memory in accordance with the color space conversion automatic control output selection signal auto_ocol, or to the input of the enlargement / reduction processing. Whether the input / output automatic control enable signal auto_en is invalid, whether to perform output to the image memory according to the output selection setting set by the MPU, or to input to the enlargement / reduction processing, It is set whether or not to perform the input of the binarization processing.

【0029】図4に拡大・縮小処理用の入出力選択手段
4のブロック図を示す。
FIG. 4 shows a block diagram of the input / output selecting means 4 for enlargement / reduction processing.

【0030】入出力選択手段4では、入力選択設定で入
力を画像メモリに選択した場合には拡大・縮小処理から
の入力要求信号Scale_ireq_iをメモリ制御
へScale_ireq信号で送出し、メモリ制御より
拡大・縮小入力受付け信号Scale_iackを受け
付けた後に拡大・縮小処理からの拡大・縮小入力受け取
り完了信号Scale_iready_eをScale
_iready信号で送出しつつ、画像データ信号me
mdtを入力選択で拡大・縮小処理の入力データ信号S
cale_data_inとして選択し、拡大・縮小処
理へ出力を行う。
The input / output selecting means 4 sends an input request signal Scale_ireq_i from the enlargement / reduction processing to the memory control by a Scale_ireq signal when the input is selected to the image memory by the input selection setting, and enlarges / reduces the data by the memory control. After receiving the input accepting signal Scale_iack, the scale-reduction input receiving completion signal Scale_iready_e from the enlargement / reduction processing is changed to Scale.
_Ready signal while transmitting the image data signal me
Input data signal S for enlargement / reduction processing by input selection of mdt
It is selected as call_data_in and output to enlargement / reduction processing.

【0031】また、入力選択設定で入力を色空間変換処
理の出力データに設定した場合には色空間変換出力送出
信号Color_oreadyが有効である時に、拡大
・縮小処理からの拡大・縮小入力受け取り有効信号Sc
ale_iready_sをScale_iready
信号で送出しつつ、色空間変換出力データ信号Colo
r_dataを入力選択で拡大・縮小処理の入力データ
信号Scale_data_inとして選択し、拡大・
縮小処理へ出力を行うが、この時にScale_ire
ady信号は拡大・縮小処理の入力が受け取り準備完了
信号Scale_iready_iを出力する。
When the input is set to the output data of the color space conversion processing in the input selection setting, when the color space conversion output transmission signal Color_ready is valid, the enlargement / reduction input reception valid signal from the enlargement / reduction processing is effective. Sc
ale_ready_s to Scale_ready
Color space conversion output data signal Colo
r_data is selected as an input data signal Scale_data_in of the enlargement / reduction processing by input selection, and
Output is performed to the reduction process. At this time, Scale_ire
The ready signal receives the input of the enlargement / reduction processing and outputs a preparation completion signal Scale_ready_i.

【0032】入力選択設定では入出力自動制御有効信号
auto_enが有効であれば拡大・縮小自動制御入力
選択信号auto_isclに従い入力を画像メモリか
ら行うか、色空間変換処理の出力データから行うかの設
定を行い、入出力自動制御有効信号auto_enが無
効であればMPUの設定した入力選択設定に従い入力を
画像メモリから行うか、色空間変換処理の出力データか
ら行うか設定を行う。
In the input selection setting, if the input / output automatic control valid signal auto_en is valid, the setting of whether the input is performed from the image memory or from the output data of the color space conversion processing in accordance with the enlargement / reduction automatic control input selection signal auto_iscl is set. If the input / output automatic control validity signal auto_en is invalid, the setting is made according to the input selection setting set by the MPU whether input is performed from the image memory or from output data of the color space conversion processing.

【0033】出力選択設定で出力を画像メモリに選択し
た場合には拡大・縮小処理からの出力要求信号Scal
e_oreq_iをメモリ制御へScale_oreq
信号で送出し、メモリ制御より拡大・縮小出力受付け信
号Scale_oackを受け付けた後に出力バッファ
有効信号mem_oreadyの有効時に拡大・縮小処
理からの拡大・縮小出力送出信号Scale_orea
dy_iをScale_oready信号で送出し、拡
大・縮小処理からの拡大・縮小出力データ信号Scal
e_data_out_iをScale_data_o
ut信号で送出を行う。
When the output is selected in the image memory in the output selection setting, an output request signal Scal from the enlargement / reduction processing
e_oreq_i to memory control Scale_oreq
After receiving the enlargement / reduction output accepting signal Scale_oak from the memory control, when the output buffer valid signal mem_oready is valid, the enlargement / reduction output transmission signal Scale_orea from the enlargement / reduction processing is valid.
dy_i is transmitted as a Scale_ready signal, and an enlarged / reduced output data signal Scal from the enlargement / reduction processing is transmitted.
e_data_out_i is changed to Scale_data_o
The transmission is performed by the out signal.

【0034】また、出力設定選択設定を色空間変換処理
の入力に設定した場合には色空間変換入力受け取り信号
Color_ireadyが有効である時に、拡大・縮
小処理からの拡大・縮小出力送出信号Scale_or
eady_iをScale_oready信号で送出
し、拡大・縮小処理からの拡大・縮小出力データ信号S
cale_data_out_iをScale_dat
a_out信号で送出を行い、出力設定選択設定を2値
化処理の入力に設定した場合には2値化入力受け取り信
号Dither_ireadyが有効である時に、拡大
・縮小処理からの拡大・縮小出力送出信号Scale_
oready_iをScale_oready信号で送
出する。
When the output setting selection setting is set to the input of the color space conversion processing, the enlargement / reduction output transmission signal Scale_or from the enlargement / reduction processing is performed when the color space conversion input reception signal Color_ready is valid.
ready_i is transmitted as a Scale_ready signal, and an enlarged / reduced output data signal S from the enlargement / reduction processing is transmitted.
call_data_out_i is changed to Scale_data
When the output is performed by the a_out signal and the output setting selection setting is set to the input of the binarization processing, the enlargement / reduction output transmission signal Scale_ from the enlargement / reduction processing is performed when the binarization input reception signal Dither_ready is valid.
"ready_i" is transmitted by a Scale_ready signal.

【0035】出力選択設定では、入出力自動制御有効信
号auto_enが有効であれば拡大・縮小自動制御出
力選択信号auto_osclに従い出力を画像メモリ
へ行うか、色空間変換処理の入力へ行うか、2値化処理
の入力へ行うかの設定を行い、入出力自動制御有効信号
auto_enが無効であればMPUの設定した出力選
択設定に従い出力を画像メモリへ行うか、色空間変換処
理の入力へ行うか、2値化処理の入力へ行うかの設定を
行う。
In the output selection setting, if the input / output automatic control valid signal auto_en is valid, the output is performed to the image memory in accordance with the enlargement / reduction automatic control output selection signal auto_oscl, or is performed to the input of the color space conversion processing. If the input / output automatic control enable signal auto_en is invalid, the output is performed to the image memory according to the output selection setting set by the MPU, or is performed to the input of the color space conversion processing. It is set whether or not to perform the input of the binarization processing.

【0036】図5に2値化処理用の入出力選択手段5の
ブロック図を示す。
FIG. 5 shows a block diagram of the input / output selecting means 5 for the binarization processing.

【0037】入出力選択手段5では、入力選択設定で入
力を画像メモリに選択した場合には2値化処理からの入
力要求信号Dither_ireq_iをメモリ制御へ
Dither_ireq信号で送出し、メモリ制御より
2値化入力受付け信号Dither_iackを受け付
けた後に2値化処理からの2値化入力受け取り完了信号
Dither_iready_eをDither_ir
eady信号で送出しつつ、画像データ信号memdt
を入力選択で2値化処理の入力データ信号Dither
_data_inとして選択し、2値化処理へ出力を行
う。
In the input / output selection means 5, when an input is selected for the image memory in the input selection setting, the input request signal Dither_ireq_i from the binarization processing is transmitted to the memory control by the Dither_ireq signal, and the input data is binarized by the memory control. After receiving the input reception signal Dither_iack, the binarization input reception completion signal Dither_iready_e from the binarization processing is converted to Dither_ir.
The image data signal memdt is transmitted while using the ready signal.
Is input data signal Dither for binarization processing by input selection
_Data_in and output to the binarization process.

【0038】また、入力選択設定で入力を色空間変換処
理の出力データに設定した場合には色空間変換出力送出
信号Color_oreadyが有効である時に、2値
化処理からの2値化入力受け取り有効信号Dither
_iready_sをDither_iready信号
で送出しつつ、色空間変換出力データ信号Color_
dataを入力選択で2値化処理の入力データ信号Di
ther_data_inとして選択し、2値化処理へ
出力を行い、入力選択設定で入力を拡大・縮小処理の出
力データに設定した場合には拡大・縮小出力送出信号S
cale_oreadyが有効である時に、2値化処理
からの2値化入力受け取り有効信号Dither_ir
eady_sをDither_iready信号で送出
しつつ、色空間変換出力データ信号Scale_dat
aを入力選択で2値化処理の入力データ信号Dithe
r_data_inとして選択し、2値化処理へ出力を
行う。
When the input is set to the output data of the color space conversion processing in the input selection setting, when the color space conversion output transmission signal Color_ready is valid, the binarization input reception valid signal from the binarization processing is output. Dither
_Ready_s as a Dither_ready signal and a color space conversion output data signal Color_
input data signal Di for binarization processing by inputting data
When the input is set as the output data of the enlargement / reduction processing in the input selection setting, the enlargement / reduction output transmission signal S
When call_oready is valid, a binarized input reception valid signal Dither_ir from the binarization process
While sending the ready_s as a Dither_ready signal, the color space conversion output data signal Scale_dat
input data signal Dithe for binarization processing by selecting a
It is selected as r_data_in and output to the binarization processing.

【0039】この時にDither_iready信号
は2値化処理の入力が受け取り準備完了信号Dithe
r_iready_iを出力する。入力選択設定では入
出力自動制御有効信号auto_enが有効であれば2
値化自動制御入力選択信号auto_iditに従い入
力を画像メモリから行うか、色空間変換処理の出力デー
タから行うか、拡大・縮小処理の出力データから行うか
の設定を行い、入出力自動制御有効信号auto_en
が無効であればMPUの設定した入力選択設定に従い入
力を画像メモリから行うか、色空間変換処理の出力デー
タから行うか、拡大・縮小処理の出力データから行うか
の設定を行う。
At this time, the Dither_ready signal is the input of the binarization processing and the preparation completion signal Dithe
Output r_ready_i. In the input selection setting, if the input / output automatic control valid signal auto_en is valid, 2
In accordance with the value automatic control input selection signal auto_idit, the input is performed from the image memory, from the output data of the color space conversion process, or from the output data of the enlargement / reduction process, and the input / output automatic control enable signal auto_en is set.
Is invalid, the setting is made in accordance with the input selection setting set by the MPU whether the input is performed from the image memory, from the output data of the color space conversion process, or from the output data of the enlargement / reduction process.

【0040】出力は画像メモリに行い、2値化処理から
の出力要求信号Dither_oreq_iをメモリ制
御へDither_oreq信号で送出し、メモリ制御
より2値化出力受付け信号Dither_oackを受
け付けた後に出力バッファ有効信号mem_oread
yの有効時に2値化処理からの2値化出力送出信号Di
ther_oready_iをDither_orea
dy信号で送出し、2値化処理からの2値化出力データ
信号Dither_data_out_iをDithe
r_data_out信号で送出を行う。
Output is performed to the image memory, and an output request signal Dither_oreq_i from the binarization processing is sent out to the memory control by a Dither_oreq signal, and an output buffer valid signal mem_oread is received after receiving the binarized output accepting signal Dither_oack from the memory control.
When y is valid, the binarized output transmission signal Di from the binarization processing
ther_oready_i to Dither_orea
dy signal, and outputs the binarized output data signal Dither_data_out_i from the binarization processing to Dithe
Transmission is performed by the r_data_out signal.

【0041】図6に入出力自動設定手段6のブロック図
を示す。
FIG. 6 is a block diagram of the input / output automatic setting means 6.

【0042】図6で閾値レジスタはMPUによって設定
されるレジスタで、拡大・縮小処理に設定される拡大・
縮小値との大小比較を閾値比較部において行い、拡大縮
小設定値が閾値レジスタの設定値と同じか大きな場合、
色空間自動制御入力選択信号auto_icolを拡大
・縮小処理出力に、拡大・縮小自動制御入力選択信号a
uto_isclを画像メモリに、2値化自動制御入力
選択信号auto_iditを色空間変換処理出力に、
色空間自動制御出力選択信号auto_ocolを2値
化処理入力に、拡大・縮小自動制御出力選択信号aut
o_osclを色空間変換処理入力に設定を行う出力に
設定する。
In FIG. 6, a threshold register is a register set by the MPU.
The threshold value comparison unit performs magnitude comparison with the reduction value, and when the enlargement / reduction setting value is equal to or larger than the setting value of the threshold value register,
The color space automatic control input selection signal auto_icol is output to the enlargement / reduction processing output, and the enlargement / reduction automatic control input selection signal a
auto_iscl to the image memory, binarized automatic control input selection signal auto_idit to the color space conversion processing output,
The color space automatic control output selection signal auto_ocol is input to the binarization processing input, and the enlargement / reduction automatic control output selection signal out is output.
o_oscl is set as an output for setting color space conversion processing input.

【0043】拡大縮小設定値が閾値レジスタの設定値よ
り小さな場合、色空間自動制御入力選択信号auto_
icolを画像メモリに、拡大・縮小自動制御入力選択
信号auto_isclを色空間変換出力に、2値化自
動制御入力選択信号auto_iditを拡大・縮小処
理出力に、色空間自動制御出力選択信号auto_oc
olを拡大・縮小処理入力に、拡大・縮小自動制御出力
選択信号auto_osclを2値化処理入力に設定を
行う出力に設定する。
If the enlargement / reduction set value is smaller than the set value of the threshold register, the color space automatic control input selection signal auto_
icol to the image memory, enlargement / reduction automatic control input selection signal auto_iscl to color space conversion output, binarization automatic control input selection signal auto_idit to enlargement / reduction processing output, color space automatic control output selection signal auto_oc
ol is set to the enlargement / reduction processing input, and the enlargement / reduction automatic control output selection signal auto_oscl is set to the output for setting the binarization processing input.

【0044】また、入出力自動制御有効レジスタはMP
Uによって設定され、入出力自動制御有効信号auto
_enを発生する。
The input / output automatic control valid register is MP
U, the input / output automatic control enable signal auto
_En is generated.

【0045】[0045]

【発明の効果】以上のように本発明によれば、画像メモ
リより画像データを取得して色空間変換、拡大・縮小、
2値化などの複数の画像処理を行い再び画像メモリへの
データ格納を行う画像処理装置であって、画像メモリの
制御を行うメモリ制御手段と、1つの画像処理における
データの入出力先として画像メモリか他の画像処理のど
ちらかを選択する入出力選択手段と、を有する構成とし
たことにより、画像処理の処理順を変更可能とし、画像
処理の内容により処理順を変更できることにより画像メ
モリ上に要求されるメモリ容量を減少させ、処理速度を
高速化できる。
As described above, according to the present invention, color space conversion, enlargement / reduction,
An image processing apparatus for performing a plurality of image processing such as binarization and storing data in an image memory again, comprising: a memory control unit for controlling the image memory; and an image input / output destination in one image processing. The input / output selection means for selecting either the memory or other image processing, thereby enabling the processing order of the image processing to be changed, and allowing the processing order to be changed according to the content of the image processing, thereby allowing the image processing to be performed on the image memory. And the processing speed can be increased.

【0046】また、画像メモリより画像データを取得し
て色空間変換、拡大・縮小、2値化などの複数の画像処
理を行い再び画像メモリへのデータ格納を行う画像処理
装置であって、画像メモリの制御を行うメモリ制御手段
と、1つの画像処理におけるデータの入出力先として画
像メモリか他の画像処理のどちらかを選択することが出
来る入出力選択手段と、を有する構成としたことによ
り、全ての入出力選択手段の設定を行うことなく閾値の
設定のみで画像処理の処理順を変更可能となる。
An image processing apparatus which acquires image data from an image memory, performs a plurality of image processes such as color space conversion, enlargement / reduction, and binarization, and stores data in the image memory again. By having a memory control means for controlling a memory and an input / output selecting means for selecting either an image memory or another image processing as an input / output destination of data in one image processing, It is possible to change the processing order of the image processing only by setting the threshold without setting all the input / output selecting means.

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

【図1】本発明の実施の形態における画像処理装置の構
成ブロック図
FIG. 1 is a block diagram illustrating a configuration of an image processing apparatus according to an embodiment of the present invention.

【図2】本発明の実施の形態におけるメモリ制御手段の
ブロック図
FIG. 2 is a block diagram of a memory control unit according to the embodiment of the present invention;

【図3】本発明の実施の形態における色空間変換処理用
の入出力選択手段のブロック図
FIG. 3 is a block diagram of input / output selecting means for color space conversion processing according to the embodiment of the present invention;

【図4】本発明の実施の形態における拡大・縮小処理用
の入出力選択手段のブロック図
FIG. 4 is a block diagram of input / output selecting means for enlargement / reduction processing according to the embodiment of the present invention;

【図5】本発明の実施の形態における2値化処理用の入
出力選択手段のブロック図
FIG. 5 is a block diagram of an input / output selection unit for binarization processing according to the embodiment of the present invention;

【図6】本発明の実施の形態における入出力自動設定手
段のブロック図
FIG. 6 is a block diagram of an input / output automatic setting unit according to the embodiment of the present invention.

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

1 画像処理装置 2 メモリ制御手段 3、4、5 入出力選択手段 6 入出力自動設定手段 DESCRIPTION OF SYMBOLS 1 Image processing apparatus 2 Memory control means 3, 4, 5 Input / output selection means 6 Input / output automatic setting means

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】画像メモリより画像データを取得して色空
間変換、拡大・縮小、2値化などの複数の画像処理を行
い再び画像メモリへのデータ格納を行う画像処理装置で
あって、 画像メモリの制御を行うメモリ制御手段と、 1つの画像処理におけるデータの入出力先として画像メ
モリか他の画像処理のどちらかを選択する入出力選択手
段と、を有することを特徴とする画像処理装置。
An image processing apparatus for acquiring image data from an image memory, performing a plurality of image processes such as color space conversion, enlargement / reduction, and binarization, and storing the data in the image memory again. An image processing apparatus comprising: memory control means for controlling a memory; and input / output selecting means for selecting either an image memory or another image processing as a data input / output destination in one image processing. .
【請求項2】画像メモリより画像データを取得して色空
間変換、拡大・縮小、2値化などの複数の画像処理を行
い再び画像メモリへのデータ格納を行う画像処理装置で
あって、 画像メモリの制御を行うメモリ制御手段と、 1つの画像処理におけるデータの入出力先として画像メ
モリか他の画像処理のどちらかを選択することが出来る
入出力選択手段と、 拡大・縮小の拡大率設定に基づいて、各画像処理の入出
力選択手段を設定する入出力設定手段と、を有すること
を特徴とする画像処理装置。
2. An image processing apparatus which acquires image data from an image memory, performs a plurality of image processes such as color space conversion, enlargement / reduction, and binarization, and stores the data in the image memory again. Memory control means for controlling a memory; input / output selection means for selecting either an image memory or another image processing as a data input / output destination in one image processing; enlargement / reduction magnification setting And an input / output setting means for setting input / output selection means for each image processing based on the image processing apparatus.
JP2000073826A 2000-03-16 2000-03-16 Picture processor Pending JP2001266111A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000073826A JP2001266111A (en) 2000-03-16 2000-03-16 Picture processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000073826A JP2001266111A (en) 2000-03-16 2000-03-16 Picture processor

Publications (1)

Publication Number Publication Date
JP2001266111A true JP2001266111A (en) 2001-09-28

Family

ID=18592009

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000073826A Pending JP2001266111A (en) 2000-03-16 2000-03-16 Picture processor

Country Status (1)

Country Link
JP (1) JP2001266111A (en)

Similar Documents

Publication Publication Date Title
US7200287B2 (en) Method and apparatus for image processing, and a computer product
JP3660182B2 (en) Image processing device
JPH03217976A (en) Image processing system
JP2003274156A (en) Method and device for image processing
KR100386095B1 (en) Method and apparatus for processing images,and a computer product
JP2001266111A (en) Picture processor
JP4034323B2 (en) Image data processing method, image data processing apparatus, and image forming apparatus
JP3938837B2 (en) Image processing device
US20030107577A1 (en) Data processing system having a plurality of processors and executing a series of processings in a prescribed order
JP3669574B2 (en) Image processing apparatus, image processing method, program for causing computer to execute the method, and computer-readable recording medium storing the program
JP4063840B2 (en) Image processing device
JP2983353B2 (en) High-speed image signal processing system
JP2726053B2 (en) Image reading device
JPH09179973A (en) Picture processor and its method
JP2003348338A (en) Information processing apparatus
US20050025385A1 (en) Image processing device and method therefor
JP2000032258A (en) Image processing unit and image processing method
JP3785295B2 (en) Image processing device
JPH10336470A (en) Image reader
JP2008017032A (en) Image processor and image processing method
JP3014257B2 (en) Document reading device
JP2010147818A (en) Image processing apparatus and image processing module
JP2005109857A (en) Image processor and control method therefor
JPH09102035A (en) Picture processor
JP2006092506A (en) Image processor