JP2000172823A - Method and device for processing picture - Google Patents

Method and device for processing picture

Info

Publication number
JP2000172823A
JP2000172823A JP10349193A JP34919398A JP2000172823A JP 2000172823 A JP2000172823 A JP 2000172823A JP 10349193 A JP10349193 A JP 10349193A JP 34919398 A JP34919398 A JP 34919398A JP 2000172823 A JP2000172823 A JP 2000172823A
Authority
JP
Japan
Prior art keywords
processing
image
time
image processing
executed
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
JP10349193A
Other languages
Japanese (ja)
Inventor
Naotsugu Ito
直紹 伊藤
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 JP10349193A priority Critical patent/JP2000172823A/en
Publication of JP2000172823A publication Critical patent/JP2000172823A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a method and device for processing picture by which the most complicated process can be achieved by combining plural picture processes together while reducing the load at the designing time. SOLUTION: At least one actually executed process is selected out of stored processes (S101) and the time required for the selected processes is integrated based on the time required for the selected processes or the information required for calculating the required time (S102). The integrated required time is compared with a prescribed time limit until which the selected processes can be executed (S103). Then whether the selected processes are executable or not is discriminated (S104) and, when the discriminated result is 'No', the execution of the selected processes is not started, but it is reported to the operator that the selected processes are not executable (S105).

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、複数の画像処理を
実行する画像処理方法及び装置に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an image processing method and apparatus for executing a plurality of image processes.

【0002】[0002]

【従来の技術】複写機に代表される従来の実時間での画
像処理を行う機器においては、所定の制限時間内に画像
処理が行えるように、設計時に処理の複雑さを決定して
おき、その制限時間内に確実に終了するようにしておく
必要がある。一般に、制限時間とは、画像の入力から出
力要求までの余裕時間のことであり、この制限時間内に
処理が終了しない場合には、期待通りの出力画像が得ら
れないこととなる。尚、制限時間は、処理装置に付加さ
れる記憶装置の容量等にも左右される。
2. Description of the Related Art In a conventional apparatus for performing image processing in real time, such as a copying machine, the complexity of processing is determined at design time so that image processing can be performed within a predetermined time limit. It is necessary to ensure that the processing is completed within the time limit. Generally, the time limit is a margin time from input of an image to an output request, and if processing is not completed within the time limit, an output image as expected cannot be obtained. The time limit also depends on the capacity of the storage device added to the processing device.

【0003】また、複数の画像処理を直列に行う場合に
は、それぞれの処理に対して専用の装置を直列に並べて
持つことで、複数の画像処理の同時動作を実現する。
In the case where a plurality of image processings are performed in series, a simultaneous operation of the plurality of image processings is realized by arranging a dedicated device for each processing in series.

【0004】しかし、専用の機能を持つように設計した
ハードウェアであるために、設計時に決定した処理の内
容や複雑さを変更することは難しく、また多数の処理を
直列に行うためには、多数の処理装置を直列に配置する
構成となり、各処理の順序を変更することも非常に困難
である。
However, since the hardware is designed to have dedicated functions, it is difficult to change the content and complexity of the processing determined at the time of design. Since a large number of processing apparatuses are arranged in series, it is very difficult to change the order of each processing.

【0005】そこで、上述の問題を解決するために、専
用ハードウェア処理装置の代わりに、実行時に命令を順
番に読み込みながら命令実行を行う汎用プロセッサを用
いる方法が考えられる。つまり、交換可能な記憶装置に
プログラム(命令群)を記憶しておくことで、処理の内
容及び順序を容易に変更でき、また処理の順序を変更し
たプログラムに変更することができる。
In order to solve the above-described problem, a method using a general-purpose processor that executes instructions while sequentially reading instructions at the time of execution may be used instead of the dedicated hardware processing device. That is, by storing a program (instruction group) in a replaceable storage device, the content and order of processing can be easily changed, and the program can be changed to a program in which the order of processing has been changed.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上述の
場合も、所定の制限時間内に処理が終了することを前提
として設計された画像処理ソフトウェアを設計する必要
がある。つまり、多種の処理を用意し、それらの処理内
容や処理順序を実行時に変更しようとした場合に、処理
内容及び処理順序のあらゆる組み合わせについて所定の
制限時間内に全ての処理が終了するように処理の複雑さ
や変更の幅をあらかじめ設計時に決定しておく必要があ
り、そうしなければ、実際に実行した時に制限時間内に
全ての処理が終了するとは限らなくなってしまう。従っ
て、この構成では、実行時の処理の内容や順序の組み合
わせの可能性が増える分、設計時の実行可能性検証に多
くの負荷がかかることとなる。
However, also in the above case, it is necessary to design image processing software designed on the assumption that the processing is completed within a predetermined time limit. In other words, when various types of processing are prepared and the processing contents and the processing order are to be changed at the time of execution, the processing is performed so that all the processing is completed within a predetermined time limit for all combinations of the processing contents and the processing order. It is necessary to determine in advance the complexity and the width of the change at the time of design. Otherwise, not all processing will be completed within the time limit when actually executed. Therefore, in this configuration, the possibility of the combination of the contents and order of the processing at the time of execution increases, so that much load is imposed on the verification of the feasibility at the time of design.

【0007】本発明は、上記課題を解決するためになさ
れたもので、設計時の負荷を大幅に削減し、複数の画像
処理の組み合わせによる最大限複雑な処理を実現できる
画像処理方法及び装置を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and an image processing method and apparatus capable of greatly reducing the load at the time of designing and realizing the most complicated processing by combining a plurality of image processings. The purpose is to provide.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するため
に、本発明は、選択可能な処理の種類を記憶する記憶手
段と、前記記憶手段に記憶されている処理の中から実際
に実行する処理を少なくとも1つ選択する選択手段と、
選択された処理の所要時間或いは所要時間を計算するた
めに必要となる情報を記憶している所要時間記憶手段
と、前記記憶されている所要時間或いは情報に基づき、
選択された処理の所要時間を積算する積算手段と、処理
を実行可能な所定の制限時間を記憶している制限時間記
憶手段と、前記積算手段で積算した所要時間と前記制限
時間とを比較し、前記選択された処理が実行可能か否か
を判断する判断手段と、前記判断手段での判断結果に応
じて前記選択された処理の実行を制御する実行制御手段
とを有することを特徴とする。
In order to achieve the above object, the present invention provides a storage means for storing selectable types of processing, and a method for actually executing the processing from the processing stored in the storage means. Selecting means for selecting at least one process;
A required time storage unit that stores information required for calculating the required time or required time of the selected process, and based on the stored required time or information,
Integrating means for integrating the required time of the selected process, time limit storing means for storing a predetermined time limit for executing the process, and comparing the required time integrated by the integrating means with the time limit. Determining means for determining whether the selected processing is executable, and execution control means for controlling execution of the selected processing according to a result of the determination by the determining means. .

【0009】また、上記目的を達成するために、本発明
は、記憶手段に記憶されている処理の中から実際に実行
する処理を少なくとも1つ選択する選択工程と、選択さ
れた処理の所要時間或いは所要時間を計算するために必
要となる情報に基づき、選択された処理の所要時間を積
算する積算工程と、前記積算工程で積算した所要時間と
処理を実行可能な所定の制限時間とを比較し、前記選択
された処理が実行可能か否かを判断する判断工程と、前
記判断工程での判断結果に応じて前記選択された処理の
実行を制御する実行制御工程とを有することを特徴とす
る。
In order to achieve the above object, the present invention provides a selecting step for selecting at least one process to be actually executed from the processes stored in the storage means, and a time required for the selected process. Alternatively, based on the information required to calculate the required time, an integrating step of integrating the required time of the selected processing is compared with the required time integrated in the integrating step and a predetermined time limit in which the processing can be executed. A determining step of determining whether the selected processing is executable; and an execution controlling step of controlling execution of the selected processing according to a determination result in the determining step. I do.

【0010】[0010]

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

【0011】図1は、実施形態における画像処理装置の
構成を示すブロック図である。同図において、100は
制御部であり、画像入力デバイスである200のスキャ
ナや画像出力デバイスである300のプリンタと接続
し、一方ではLANや公衆回線(WAN)と接続するこ
とで、画像情報やデバイス情報の入出力を行う。また、
101はCPUであり、後述するプログラムに従ってシ
ステム全体を制御する。102はRAMであり、CPU
101が動作するためのシステムワークメモリであり、
画像データを一時記憶するための画像メモリでもある。
103はROMであり、システムのブートプログラムや
制御データ等が格納されている。104はハードディス
クドライブ(HDD)であり、システムソフトウェア、
画像データ等を格納する。
FIG. 1 is a block diagram showing the configuration of the image processing apparatus according to the embodiment. In FIG. 1, reference numeral 100 denotes a control unit, which is connected to a scanner 200 as an image input device and a printer 300 as an image output device, and is connected to a LAN or a public line (WAN) to obtain image information and data. Input and output device information. Also,
Reference numeral 101 denotes a CPU, which controls the entire system according to a program described later. 102 is a RAM, a CPU
101 is a system work memory for operation,
It is also an image memory for temporarily storing image data.
A ROM 103 stores a system boot program, control data, and the like. Reference numeral 104 denotes a hard disk drive (HDD),
Stores image data and the like.

【0012】105は操作部インターフェース(I/
F)であり、400の操作部(UI)に表示する画像デ
ータを出力する。また、操作部400から本システム使
用者が入力した情報を、CPU101に伝える役割をす
る。106はネットワークインターフェース(I/F)
であり、LANに接続し、情報の入出力を行う。107
はモデムであり、公衆回線(WAN)に接続し、情報の
入出力を行う。108はシステムバスであり、上述の各
デバイスを接続する。109は画像バスインターフェー
ス(I/F)であり、システムバス108と後述する画
像バスを接続し、データ構造を変換するバスブリッジで
ある。そして、110は画像データを高速で転送する画
像バスであり、PCIバス又はIEEE1394等で構
成される。この画像バス110上には以下の各デバイス
が配置される。
Reference numeral 105 denotes an operation unit interface (I /
F), and outputs image data to be displayed on the operation unit (UI) 400. Further, it plays a role of transmitting information input by the system user from the operation unit 400 to the CPU 101. 106 is a network interface (I / F)
It is connected to a LAN and inputs and outputs information. 107
Is a modem, which is connected to a public line (WAN) to input and output information. Reference numeral 108 denotes a system bus, which connects the above devices. Reference numeral 109 denotes an image bus interface (I / F), which is a bus bridge that connects the system bus 108 to an image bus described later and converts a data structure. Reference numeral 110 denotes an image bus for transferring image data at high speed, and is constituted by a PCI bus, IEEE 1394, or the like. The following devices are arranged on the image bus 110.

【0013】120はラスターイメージプロセッサ(R
IP)であり、所定のPDLコードをビットマップイメ
ージに展開する。130はデバイスインターフェース
(I/F)であり、画像入出力デバイスであるスキャナ
200やプリンタ300と制御部100を接続し、画像
データの同期系/非同期系の変換を行う。140はスキ
ャナ画像処理部であり、入力画像データに対して補正、
加工、編集等の画像処理を行う。150はプリンタ画像
処理部であり、プリント出力画像データに対してプリン
タの補正、解像度変換等を行う。160は画像回転部で
あり、画像データの回転を行う。そして、170は画像
圧縮部であり、多値画像データはJPEG、2値画像デ
ータはJBIG,MMR,MHの圧縮伸張処理を行う。
Reference numeral 120 denotes a raster image processor (R).
IP), and expands a predetermined PDL code into a bitmap image. Reference numeral 130 denotes a device interface (I / F), which connects the controller 200 to the scanner 200 or the printer 300, which is an image input / output device, and performs synchronous / asynchronous conversion of image data. Reference numeral 140 denotes a scanner image processing unit which corrects input image data,
Perform image processing such as processing and editing. A printer image processing unit 150 performs printer correction, resolution conversion, and the like on print output image data. An image rotating unit 160 rotates image data. Reference numeral 170 denotes an image compression unit that performs compression / expansion processing of multi-valued image data in JPEG and binary image data in JBIG, MMR, and MH.

【0014】次に、上述の画像入出力デバイスであるス
キャナ200及びプリンタ300について説明する。
Next, the scanner 200 and the printer 300 which are the above-mentioned image input / output devices will be described.

【0015】図2は、画像入出力デバイスとしての複写
機の外観を示す図である。画像入力デバイスであるスキ
ャナ200は原稿となる紙上の画像を照明し、CCDラ
インセンサ(図示せず)を走査することで、ラスターイ
メージデータとして電気信号に変換する。原稿用紙を原
稿フィーダ201のトレイ202にセットし、使用者が
操作部400から読み取り起動指示することにより、C
PU101がデバイスI/F103を介してスキャナ2
00に指示を与え、フィーダ201が原稿用紙を1枚ず
つフィードし、原稿画像の読み取り動作を行う。
FIG. 2 is a diagram showing the appearance of a copying machine as an image input / output device. The scanner 200, which is an image input device, illuminates an image on paper serving as a document and scans a CCD line sensor (not shown), thereby converting the image into raster image data to an electric signal. Original paper is set on the tray 202 of the original feeder 201, and when the user instructs reading and activation from the operation unit 400, C
PU 101 scans scanner 2 via device I / F 103
00, the feeder 201 feeds the document sheets one by one, and performs a document image reading operation.

【0016】一方、画像出力デバイスであるプリンタ3
00は、ラスターイメージデータを用紙上の画像に変換
する部分であり、その方式は感光体ドラムや感光体ベル
トを用いた電子写真方式、微少ノズルアレイからインク
を吐出して用紙上に直接画像を印字するインクジェット
方式等があるが、どの方式でもかまわない。ここで、プ
リント動作の起動は、CPU101がデバイスI/F1
30を介してプリンタ300に指示することで行われ
る。プリンタ300には、異なる用紙サイズ又は異なる
用紙向きを選択できるように複数の給紙段を備えてお
り、それに対応した用紙カセット301,302,30
3,304がある。また、排紙トレイ310は印字し終
わった用紙を受けるものである。
On the other hand, a printer 3 as an image output device
Reference numeral 00 denotes a part for converting raster image data into an image on paper. The method is an electrophotographic method using a photosensitive drum or a photosensitive belt, and an image is directly ejected on paper by discharging ink from a micro nozzle array. There is an ink jet system for printing, but any system may be used. Here, the print operation is started by the CPU 101 by the device I / F 1.
This is performed by instructing the printer 300 via the printer 30. The printer 300 is provided with a plurality of paper feed stages so that different paper sizes or different paper orientations can be selected, and corresponding paper cassettes 301, 302, and 30 are provided.
3,304. The paper discharge tray 310 receives the printed paper.

【0017】次に、上述した操作部400の詳細な構成
について説明をする。図3は、実施形態における操作部
の構成を示す図である。同図において、401はLCD
表示部であり、LCD上にタッチパネルシートが貼られ
ており、システムの操作画面を表示すると共に、それら
の表示キーが押されるとその位置情報をCPU101に
通知する。402はスタートキーであり、原稿画像の読
み取り動作を開始するときなどに押下される。また、ス
タートキー402の中央部には、緑と赤の2色LED4
03があり、その色によってスタートキー402が使え
る状態にあるかどうかを示している。404はストップ
キーであり、稼働中の動作を止めるときに押下される。
405はIDキーであり、使用者のユーザーIDを入力
するときに用いられる。406はリセットキーであり、
操作部400からの設定を初期化するときに用いられ
る。
Next, a detailed configuration of the operation unit 400 will be described. FIG. 3 is a diagram illustrating a configuration of an operation unit according to the embodiment. In the figure, reference numeral 401 denotes an LCD
A display unit, which has a touch panel sheet affixed on the LCD, displays an operation screen of the system, and notifies the CPU 101 of the position information when those display keys are pressed. Reference numeral 402 denotes a start key, which is pressed to start a document image reading operation. In the center of the start key 402, a two-color LED 4 of green and red is provided.
03 indicates whether or not the start key 402 can be used according to the color. Reference numeral 404 denotes a stop key, which is depressed when stopping an operation in operation.
An ID key 405 is used to input a user ID of a user. 406 is a reset key,
Used when initializing settings from the operation unit 400.

【0018】次に、図1に示したスキャナ画像処理部1
40の詳細な構成について説明する。図4は、実施形態
におけるスキャナ画像処理部の構成を示す図である。同
図において、141は画像バスI/Fコントローラであ
り、画像バス110と接続し、そのバスアクセスシーケ
ンスを制御する機能とスキャナ画像処理部140内の各
デバイスの制御及びタイミングを発生させる機能を有す
る。142はフィルタ処理部であり、空間フィルタでコ
ンボリューション演算を行う。143は編集部であり、
例えば入力画像データからマーカーペンで囲まれた閉領
域を認識して、その閉領域内の画像データに対して、フ
ィルタ処理、影付け、網掛け、ネガポジ反転等の画像加
工処理を行う。この処理には汎用プロセッサを用いる
が、実際の処理手順については後述する。
Next, the scanner image processing unit 1 shown in FIG.
The detailed configuration of the forty will be described. FIG. 4 is a diagram illustrating a configuration of a scanner image processing unit according to the embodiment. In the figure, an image bus I / F controller 141 is connected to the image bus 110 and has a function of controlling the bus access sequence and a function of controlling each device in the scanner image processing unit 140 and generating timing. . A filter processing unit 142 performs a convolution operation using a spatial filter. 143 is an editing unit,
For example, a closed area surrounded by a marker pen is recognized from the input image data, and image processing such as filtering, shadowing, shading, and negative / positive inversion is performed on the image data in the closed area. Although a general-purpose processor is used for this processing, the actual processing procedure will be described later.

【0019】144は変倍処理部であり、読み取り画像
の解像度を変更する場合、ラスターイメージの主走査方
向については補間演算を行い、拡大又は縮小を行う。ま
た、副走査方向の変倍については画像読み取りラインセ
ンサ(図示せず)を走査する速度を変更することで行
う。145はテーブルであり、読み取った輝度データで
ある画像データを濃度データに変換するものである。1
46は2値化部であり、多値のグレースケール画像デー
タを、誤差拡散処理やスクリーン処理等によって2値化
する。そして、処理が終了した画像データは、再び画像
バスI/Fコントローラ141を介して画像バス110
上に転送される。
Reference numeral 144 denotes a scaling unit, which changes the resolution of the read image by performing an interpolation operation in the main scanning direction of the raster image to perform enlargement or reduction. The magnification in the sub-scanning direction is changed by changing the scanning speed of an image reading line sensor (not shown). Reference numeral 145 denotes a table for converting image data, which is read luminance data, into density data. 1
Reference numeral 46 denotes a binarizing unit, which binarizes multi-value grayscale image data by error diffusion processing, screen processing, or the like. The processed image data is again transferred to the image bus 110 via the image bus I / F controller 141.
Transferred on.

【0020】ここで、上述した編集部143の詳細な構
成及び処理手順について説明する。図5は、実施形態に
おける編集部の詳細な構成を示す図である。図示するよ
うに、フィルタ処理部142から出力された画像データ
は、汎用プロセッサ1431及びデータ記憶装置143
2に入力される。また、汎用プロセッサ1431からの
要求によりデータ記憶装置1432に記憶されているデ
ータの出力と、データの記憶ができる構成となってい
る。汎用プロセッサ1431の処理内容(命令)は、プ
ログラム記憶装置1433に記憶されており、汎用プロ
セッサ1431が逐次読み出してプログラムされた処理
を実行する。尚、プログラム記憶装置1433に処理内
容を予めプログラムしておくか、CPU101から画像
バス110、画像バスI/Fコントローラ141、汎用
プロセッサ1431を介してプログラムの実行前に書き
込んでも良い。
Here, the detailed configuration and processing procedure of the above-described editing unit 143 will be described. FIG. 5 is a diagram illustrating a detailed configuration of the editing unit according to the embodiment. As illustrated, the image data output from the filter processing unit 142 is stored in a general-purpose processor 1431 and a data storage device 143.
2 is input. Further, the configuration is such that the data stored in the data storage device 1432 can be output and the data can be stored in response to a request from the general-purpose processor 1431. The processing contents (instructions) of the general-purpose processor 1431 are stored in the program storage device 1433, and the general-purpose processor 1431 sequentially reads and executes the programmed processing. The processing contents may be programmed in the program storage device 1433 in advance, or may be written from the CPU 101 via the image bus 110, the image bus I / F controller 141, and the general-purpose processor 1431 before executing the program.

【0021】また、汎用プロセッサ1431はCPU1
01からの信号を画像バス110、画像バスI/Fコン
トローラ141を介して受信し、動作モードを切り替え
るようにプログラムされており、実行開始信号を受けて
から実行する画像処理の種類に関してもCPU101か
らの信号で切り替えることができるものとする。そし
て、汎用プロセッサ1431は実行開始信号をCPU1
01から受信したときにプログラムの実行を開始し、そ
の後はプログラム記憶装置1433に記憶されている処
理内容に従って動作する。基本的には、フィルタ142
とデータ記憶装置1432から出力された画像データを
処理して変倍処理部144へ出力する、という動作であ
る。汎用プロセッサ1431での処理には、マーカーペ
ンで囲まれた閉領域の認識と画像加工処理の他、黒補
正、シェーディング処理、変倍処理、移動処理、鏡像処
理、折り返し処理、リピート処理、斜体処理等のあらゆ
る画像処理がプログラム可能である。
The general-purpose processor 1431 is a CPU 1
01 is received via the image bus 110 and the image bus I / F controller 141, and is programmed to switch the operation mode. The type of image processing to be executed after receiving the execution start signal is also transmitted from the CPU 101. It can be switched by the signal of Then, the general-purpose processor 1431 sends an execution start signal to the CPU 1
When the program is received from 01, execution of the program is started, and thereafter, the program operates according to the processing contents stored in the program storage device 1433. Basically, the filter 142
And processing the image data output from the data storage device 1432 and outputting the processed image data to the scaling unit 144. The processing performed by the general-purpose processor 1431 includes recognition of a closed region surrounded by a marker pen and image processing, as well as black correction, shading processing, scaling processing, moving processing, mirror image processing, folding processing, repeat processing, and italic processing. And any other image processing is programmable.

【0022】あらゆる画像処理は、それぞれ処理に必要
となる実行時間とデータ記憶装置の必要容量とが異な
り、同時に複数の処理が実行できるかどうかは実行時間
や記憶装置の空き容量といった資源の大きさに依存す
る。例えば、マーカーペン認識はデータ記憶装置の容量
が160キロバイト必要で、実行時間は100マイクロ
秒必要となる。また斜体処理はデータ記憶装置の容量が
1000キロバイト必要で、実行時間は50マイクロ秒
必要となる、といった具合で、これら2つの処理を同時
に処理する場合、それぞれの資源の使用量を積算する
と、150マイクロ秒と1160キロバイト、というよ
うに計算できる。
The execution time required for each type of image processing is different from the required capacity of the data storage device. Whether a plurality of processes can be executed simultaneously depends on the size of resources such as the execution time and the free space of the storage device. Depends on. For example, marker pen recognition requires a data storage device capacity of 160 kilobytes and an execution time of 100 microseconds. In addition, the italic processing requires the capacity of the data storage device to be 1000 kilobytes and the execution time to be 50 microseconds. For example, when these two processings are simultaneously performed, when the usage amounts of the respective resources are integrated, 150 Microseconds and 1160 kilobytes can be calculated.

【0023】次に、図1に示したプリンタ画像処理部1
50の詳細な構成について説明する。図6は、実施形態
におけるプリンタ画像処理部の構成を示す図である。同
図において、151は画像バスI/Fコントローラであ
り、画像バス110と接続し、そのバスアクセスシーケ
ンスを制御する機能とプリンタ画像処理部150内の各
デバイスの制御及びタイミングを発生させる機能を有す
る。152は解像度変換部であり、LAN或いは公衆回
線からの画像データを、プリンタ300の解像度に変換
する。153はスムージング処理部であり、解像度変換
された後の画像データのジャギー(斜め線等の白黒境界
部に現れる画像のがさつき)を滑らかにする処理を行
う。
Next, the printer image processing unit 1 shown in FIG.
The detailed configuration of 50 will be described. FIG. 6 is a diagram illustrating a configuration of the printer image processing unit according to the embodiment. In the figure, an image bus I / F controller 151 is connected to the image bus 110 and has a function of controlling the bus access sequence and a function of controlling each device in the printer image processing unit 150 and generating a timing. . A resolution conversion unit 152 converts image data from a LAN or a public line into a resolution of the printer 300. Reference numeral 153 denotes a smoothing processing unit which performs processing for smoothing jaggies (roughness of an image appearing at a black-and-white boundary such as an oblique line) of the image data after resolution conversion.

【0024】次に、図1に示した画像圧縮部170の詳
細な構成について説明する。図7は、実施形態における
画像圧縮部の構成を示す図である。同図において、17
1は画像バスI/Fコントローラであり、画像バス11
0と接続し、そのバスアクセスシーケンスを制御する機
能と、172の入力バッファと175の出力バッファと
の間でデータの授受を行うためのタイミング制御機能及
び173の画像圧縮部に対するモード設定等を制御する
機能を有する。そして、174はRAMであり、画像圧
縮部173が画像圧縮処理を実行時に作業領域として使
用される。以下に画像圧縮処理部170の処理手順につ
いて説明する。
Next, a detailed configuration of the image compression section 170 shown in FIG. 1 will be described. FIG. 7 is a diagram illustrating a configuration of the image compression unit according to the embodiment. In FIG.
Reference numeral 1 denotes an image bus I / F controller, and an image bus 11
0, a bus access sequence control function, a timing control function for transferring data between an input buffer 172 and an output buffer 175, and a mode setting for an image compression unit 173. It has a function to do. Reference numeral 174 denotes a RAM, which is used as a work area when the image compression unit 173 executes the image compression processing. Hereinafter, a processing procedure of the image compression processing unit 170 will be described.

【0025】まず、画像バス110を介してCPU10
1から画像バスI/Fコントローラ171に画像圧縮制
御のための設定が行われる。この設定により画像バスI
/Fコントローラ171は画像圧縮部173に対して画
像圧縮に必要な設定(例えばMMR圧縮・JBIG伸長
等の設定)を行う。必要な設定を行った後に、CPU1
01から画像バスI/Fコントローラ171に対して画
像データ転送の許可が行われる。この許可に従って画像
バスI/Fコントローラ171はRAM102若しくは
画像バス110上の各デバイスから画像データの転送を
開始する。受け取った画像データは入力バッファ172
に一時格納され、画像圧縮部173の画像データ要求に
応じて一定のスピードで画像を転送する。この際、入力
バッファ172は画像バスI/Fコントローラ171と
画像圧縮部173との間で、画像データを転送できるか
否かを判断し、画像バス110からの画像データの読み
込みと画像圧縮部173への画像データの書き込みが不
可能である場合は、データの転送を行わないような制御
を行う(以後、このような制御をハンドシェークと呼称
する)。
First, the CPU 10 via the image bus 110
1 to the image bus I / F controller 171 are set for image compression control. With this setting, the image bus I
The / F controller 171 performs settings necessary for image compression (for example, settings such as MMR compression and JBIG expansion) for the image compression unit 173. After making the necessary settings,
From 01, image data transfer is permitted to the image bus I / F controller 171. According to this permission, the image bus I / F controller 171 starts transfer of image data from each device on the RAM 102 or the image bus 110. The received image data is stored in an input buffer 172.
The image is transferred at a constant speed in response to an image data request from the image compression unit 173. At this time, the input buffer 172 determines whether the image data can be transferred between the image bus I / F controller 171 and the image compression unit 173, reads the image data from the image bus 110, and executes the image compression unit 173. If it is not possible to write image data into the memory, control is performed so that data is not transferred (hereinafter, such control is referred to as handshake).

【0026】また、画像圧縮部173への画像データの
書き込みが行われると、画像圧縮部173は受け取った
画像データを、一旦RAM174に格納する。これは、
画像圧縮を行う際に、画像圧縮処理の種類に応じて数ラ
イン分のデータが必要となるためであり、最初の1ライ
ン分の圧縮を行うのに数ライン分の画像データを用意し
てからでないと画像圧縮が行えないからである。そし
て、画像圧縮を施された画像データは直ちに出力バッフ
ァ175に送られる。これにより、出力バッファ175
では、画像バスI/Fコントローラ171と画像圧縮部
173とのハンドシェークを行い、画像データを画像バ
スI/Fコントローラ171に転送する。画像バスI/
Fコントローラ171では転送された圧縮(若しくは伸
長)された画像データをRAM102若しくは画像バス
110上の各デバイスに転送する。このような一連の処
理は、CPU101からの処理要求が無くなるまで(必
要なページ数の処理が終わったとき)、若しくはこの画
像圧縮部173から圧縮及び伸長時のエラー発生等によ
る停止要求が出るまで繰り返される。
When the image data is written into the image compression section 173, the image compression section 173 temporarily stores the received image data in the RAM 174. this is,
This is because, when performing image compression, several lines of data are required depending on the type of image compression processing. Otherwise, image compression cannot be performed. Then, the image data subjected to the image compression is immediately sent to the output buffer 175. Thereby, the output buffer 175
Then, a handshake is performed between the image bus I / F controller 171 and the image compression unit 173, and the image data is transferred to the image bus I / F controller 171. Image bus I /
The F controller 171 transfers the transferred compressed (or decompressed) image data to each device on the RAM 102 or the image bus 110. Such a series of processing is performed until there is no processing request from the CPU 101 (when processing of the required number of pages is completed) or until a stop request is issued from the image compression unit 173 due to an error during compression and decompression. Repeated.

【0027】次に、図1に示した画像回転部160の詳
細な構成について説明する。図8は、実施形態における
画像回転部の構成を示す図である。同図において、16
1は画像バスI/Fコントローラであり、画像バス11
0と接続し、そのバスシーケンスを制御する機能と、1
62の画像回転部にモード等を設定する機能と、画像回
転部162に画像データを転送するためのタイミングを
制御する機能とを有する。そして、163はRAMであ
り、画像回転部162が画像回転処理を実行時に作業領
域として使用される。以下に画像回転部163の処理手
順を示す。
Next, a detailed configuration of the image rotation unit 160 shown in FIG. 1 will be described. FIG. 8 is a diagram illustrating a configuration of an image rotation unit according to the embodiment. In FIG.
Reference numeral 1 denotes an image bus I / F controller, and an image bus 11
A function of connecting to a bus 0 and controlling its bus sequence;
It has a function of setting a mode and the like in the image rotation unit 62 and a function of controlling timing for transferring image data to the image rotation unit 162. Reference numeral 163 denotes a RAM, which is used as a work area when the image rotation unit 162 executes the image rotation processing. The processing procedure of the image rotation unit 163 will be described below.

【0028】まず、画像バス110を介してCPU10
1から画像バスI/Fコントローラ161に画像回転制
御のための設定が行われる。この設定により画像バスI
/Fコントローラ161は画像回転部162に対して画
像回転に必要な設定(例えば画像サイズや回転方向・角
度等の設定)を行う。必要な設定を行った後に、CPU
101から画像バスI/Fコントローラ161に対して
画像データ転送の許可が行われる。この許可に従って画
像バスI/Fコントローラ161はRAM102若しく
は画像バス110上の各デバイスから画像データの転送
を開始する。
First, the CPU 10 via the image bus 110
1 to the image bus I / F controller 161 are set for image rotation control. With this setting, the image bus I
The / F controller 161 makes settings necessary for image rotation (for example, setting of image size, rotation direction, angle, etc.) for the image rotation unit 162. After making the necessary settings,
101 permits image data transfer to the image bus I / F controller 161. According to this permission, the image bus I / F controller 161 starts transfer of image data from each device on the RAM 102 or the image bus 110.

【0029】尚、ここでは、回転を行う画像サイズを3
2×32(bit)とする。また、画像バス110上に
画像データを転送させる際に、32bitを単位とする
画像転送を行うものとする(扱う画像は2値を想定して
いる)。
Here, the image size to be rotated is set to 3
It is assumed to be 2 × 32 (bit). When transferring image data to the image bus 110, image transfer is performed in units of 32 bits (the image to be handled is assumed to be binary).

【0030】上述のように、32×32(bit)の画
像を得るためには、図9に示すように、上述の単位デー
タ転送を32回行う必要があり、且つ不連続なアドレス
から画像データを転送する必要がある。
As described above, in order to obtain a 32 × 32 (bit) image, it is necessary to perform the above-described unit data transfer 32 times as shown in FIG. Need to be transferred.

【0031】次に、不連続アドレッシングにより転送さ
れた画像データは読み出し時に所望の角度に回転されて
いるように、RAM163に書き込まれる。例えば、9
0度反時計方向回転であれば、最初に転送された32b
itの画像データを、図10に示すようにY方向に書き
込んでいく。そして、読み出し時にX方向に読み出すこ
とで、画像の回転処理が行われる。
Next, the image data transferred by the discontinuous addressing is written to the RAM 163 such that the image data is rotated to a desired angle at the time of reading. For example, 9
If it is 0 degree counterclockwise rotation, 32b transmitted first
The image data of it is written in the Y direction as shown in FIG. Then, by reading in the X direction at the time of reading, the image is rotated.

【0032】このように、32×32(bit)の画像
回転(RAM163への書き込み)が完了すると、画像
回転部162はRAM163から上述の読み出し方法で
画像データを読み出し、画像バスI/Fコントローラ1
61に画像を転送する。
As described above, when the image rotation of 32 × 32 (bit) (writing to the RAM 163) is completed, the image rotating unit 162 reads the image data from the RAM 163 by the above-described reading method, and the image bus I / F controller 1
The image is transferred to 61.

【0033】そして、回転処理された画像データを受け
取った画像バスI/Fコントローラ161は、連続アド
レッシングによりRAM102若しくは画像バス110
上の各デバイスにデータを転送する。
Then, the image bus I / F controller 161 having received the image data having been subjected to the rotation processing is used by the RAM 102 or the image bus 110 by continuous addressing.
Transfer data to each device above.

【0034】上述した一連の処理は、CPU101から
の処理要求が無くなるまで(必要なページ数の処理が終
わるまで)繰り返される。
The above-described series of processing is repeated until there is no processing request from the CPU 101 (until the processing of the required number of pages is completed).

【0035】次に、図1に示したデバイスI/F部13
0の詳細な構成について説明する。図11は、実施形態
におけるデバイスI/F部の構成を示す図である。同図
において、131は画像バスI/Fコントローラであ
り、画像バス110と接続し、そのバスアクセスシーケ
ンスを制御する機能と、デバイスI/F部130内の各
デバイスの制御及びタイミングを発生させる機能とを有
する。また、外部に接続されたスキャナ200及びプリ
ンタ300への制御信号も発生させる。132はスキャ
ンバッファであり、スキャナ200から送られてくる画
像データを一時保存し、画像バス110に同期させて画
像データを出力する。133はシリアルパラレル・パラ
レルシリアル変換であり、スキャンバッファ132に保
存された画像データを順番に並べて或いは分解して画像
バス110に転送できる画像データのデータ幅に変換す
る。134はパラレルシリアル・シリアルパラレル変換
であり、画像バス110から転送された画像データを分
解して或いは順番に並べて後述するプリントバッファに
保存できる画像データのデータ幅に変換する。135は
プリントバッファであり、画像バス110から送られて
くる画像データを一時保存し、プリンタ300に同期さ
せて画像データを出力する。
Next, the device I / F unit 13 shown in FIG.
0 will be described in detail. FIG. 11 is a diagram illustrating a configuration of a device I / F unit according to the embodiment. In the figure, reference numeral 131 denotes an image bus I / F controller, which is connected to the image bus 110 and controls a bus access sequence thereof, and a function of controlling each device in the device I / F unit 130 and generating timing. And Further, it also generates control signals to the scanner 200 and the printer 300 connected to the outside. A scan buffer 132 temporarily stores the image data sent from the scanner 200 and outputs the image data in synchronization with the image bus 110. Reference numeral 133 denotes a serial-parallel / parallel-serial converter, which sequentially arranges or decomposes image data stored in the scan buffer 132 and converts the image data into a data width of image data that can be transferred to the image bus 110. Reference numeral 134 denotes a parallel-serial / serial-parallel conversion, which decomposes or arranges the image data transferred from the image bus 110 into a data width of image data that can be stored in a print buffer described later. A print buffer 135 temporarily stores the image data sent from the image bus 110 and outputs the image data in synchronization with the printer 300.

【0036】ここで、画像スキャン時の処理手順につい
て説明する。まず、スキャナ200から送られてくる画
像データをスキャナ200から送られてくるタイミング
信号に同期させてスキャンバッファ132に保存する。
そして、画像バス110がPCIバスの場合、バッファ
132内に画像データが32ビット以上入ったときに、
画像データを先入れ先出しで32ビット分、バッファ1
32からシリアルパラレル・パラレルシリアル変換13
3に送り、32ビットの画像データに変換し、画像バス
I/Fコントローラ131を通して画像バス110上に
転送する。また、画像バス110がIEEE1394の
場合には、バッファ132内の画像データを先入れ先出
しで、バッファ132からシリアルパラレル・パラレル
シリアル変換133に送り、シリアル画像データに変換
し、画像バスI/Fコントローラ131を通して画像バ
ス110上に転送する。
Here, a processing procedure at the time of image scanning will be described. First, the image data sent from the scanner 200 is stored in the scan buffer 132 in synchronization with the timing signal sent from the scanner 200.
When the image bus 110 is a PCI bus, when image data enters the buffer 132 in 32 bits or more,
32 bits of image data on a first-in first-out basis, buffer 1
32 to serial-parallel / parallel-serial conversion 13
3, the image data is converted into 32-bit image data, and transferred to the image bus 110 via the image bus I / F controller 131. When the image bus 110 is IEEE1394, the image data in the buffer 132 is sent from the buffer 132 to the serial-parallel-parallel-serial converter 133 on a first-in first-out basis, and is converted into serial image data. Transfer to the image bus 110.

【0037】次に、画像プリント時の処理手順について
説明する。まず、画像バス110がPCIバスの場合、
画像バス110から送られてくる32ビットの画像デー
タを画像バスI/Fコントローラ131より受け取り、
パラレルシリアル・シリアルパラレル変換134に送
り、プリンタ300の入力データビット数の画像データ
に分解し、プリントバッファ135に保存する。また、
画像バス110がIEEE1394の場合には、画像バ
ス110から送られてくるシリアル画像データを画像バ
スI/Fコントローラ131で受け取り、パラレルシリ
アル・シリアルパラレル変換134に送り、プリンタ3
00の入力データビット数の画像データに変換し、プリ
ントバッファ135に保存する。そして、プリンタ30
0から送られてくるタイミング信号に同期させて、バッ
ファ135内の画像データを先入れ先出しで、プリンタ
300に送出する。
Next, a processing procedure at the time of printing an image will be described. First, when the image bus 110 is a PCI bus,
The 32-bit image data sent from the image bus 110 is received from the image bus I / F controller 131,
The data is sent to the parallel-serial / serial-to-parallel converter 134, decomposed into image data of the number of input data bits of the printer 300, and stored in the print buffer 135. Also,
If the image bus 110 is IEEE1394, the serial image data sent from the image bus 110 is received by the image bus I / F controller 131 and sent to the parallel / serial / serial / parallel conversion 134 to be transmitted to the printer 3.
The image data is converted into image data having an input data bit number of 00 and stored in the print buffer 135. And the printer 30
The image data in the buffer 135 is sent out to the printer 300 on a first-in first-out basis in synchronization with the timing signal sent from 0.

【0038】次に、上述のスキャナ200とプリンタ3
00によるコピー動作について説明する。まず、操作部
400からの操作によりコピー動作の開始が指示される
と、操作部I/F105を介してCPU101にコピー
開始の信号が送られる。ここで、CPU101はコピー
動作に入り、デバイスI/F130を介してスキャナ2
00に起動要求信号を送る。一方、起動要求信号を受信
したスキャナ200は上述した画像スキャン時の処理手
順に従ってスキャン動作を行う。そして、画像バス11
0に転送されたシリアル画像データがスキャナ画像処理
部140に転送され、スキャナ画像処理の手順に従って
スキャナ画像処理が施される。その後、スキャナ画像処
理の施された画像データは画像バス110を介してRA
M102内の連続領域に記憶される。
Next, the above-described scanner 200 and printer 3
The copy operation by 00 will be described. First, when a start of a copy operation is instructed by an operation from the operation unit 400, a copy start signal is sent to the CPU 101 via the operation unit I / F 105. Here, the CPU 101 enters a copy operation, and scans the scanner 2 via the device I / F 130.
A start request signal is sent to 00. On the other hand, the scanner 200 that has received the activation request signal performs a scanning operation according to the above-described processing procedure at the time of image scanning. And the image bus 11
The serial image data transferred to “0” is transferred to the scanner image processing unit 140, and the scanner image processing is performed according to the procedure of the scanner image processing. Thereafter, the image data subjected to the scanner image processing is transferred to the RA via the image bus 110.
It is stored in a continuous area in M102.

【0039】次に、スキャナ200から送られてくるタ
イミング信号に同期させて、CPU101はデバイスI
/F130を介してプリンタ300に起動要求信号を送
り、プリント動作を開始させる。このとき、RAM10
2内の連続領域に記憶されたシリアル画像データは画像
バス110を介してプリンタ画像処理部150に転送さ
れる。そして、プリンタ画像処理部150に転送された
シリアル画像データが上述のプリンタ画像処理の手順に
従ってプリンタ画像処理が施される。その後、プリンタ
画像処理の施された画像データは画像バス110を介し
てデバイスI/F130に送られ、プリント時の処理手
順に従ってプリント出力される。
Next, in synchronization with the timing signal sent from the scanner 200, the CPU 101
A start request signal is sent to the printer 300 via the / F 130 to start the printing operation. At this time, the RAM 10
The serial image data stored in the continuous area 2 is transferred to the printer image processing unit 150 via the image bus 110. Then, the printer image processing is performed on the serial image data transferred to the printer image processing unit 150 in accordance with the above-described printer image processing procedure. After that, the image data subjected to the printer image processing is sent to the device I / F 130 via the image bus 110, and is printed out according to the processing procedure at the time of printing.

【0040】ここで、実行する画像処理を選択し、その
画像処理に必要な処理時間を求めて実行可能な否かを判
断する処理について説明する。図12は、実施形態にお
ける処理手順を示すフローチャートである。図13は、
図12に示すフローチャートに対応して実行される各モ
ジュールの構成を示す図である。
Here, a description will be given of a process of selecting an image processing to be executed, determining a processing time required for the image processing, and determining whether the image processing can be executed. FIG. 12 is a flowchart illustrating a processing procedure according to the embodiment. FIG.
FIG. 13 is a diagram illustrating a configuration of each module executed according to the flowchart illustrated in FIG. 12.

【0041】コピー動作等の画像処理装置の動作を開始
する前に、操作者は操作部400を操作することによ
り、画像処理モードや給紙モード、排紙モード等の各種
設定が行える構成となっている。画像処理モードの設定
では、写真等の中間濃度を多く含む原稿の場合に、原稿
に忠実なプリント出力が得られる写真モードと、白地に
黒い文字が書かれており中間濃度をあまり含まない文字
原稿の場合に、白地はより白く、黒文字はより黒く出力
する文字モード等といった、原稿の種類によって切り替
える設定だけでなく、全体的なプリント濃度を調整する
濃度調整値の設定、拡大・縮小コピーをとる場合の変倍
率の設定、マーカーペンで囲まれた閉領域を認識し、そ
の閉領域内の画像データに対して種々の画像加工処理を
行うか否かの設定等といった、様々な設定を行うことが
できる。これらの画像処理モードにより、スキャナ画像
処理部140の編集部143での画像処理内容が違うも
のとなる。
Before starting the operation of the image processing apparatus such as the copy operation, the operator can operate the operation unit 400 to perform various settings such as the image processing mode, the paper feed mode, and the paper discharge mode. ing. In the image processing mode setting, in the case of a document containing a large amount of intermediate density such as a photograph, a photo mode that can obtain a print output that is faithful to the original, and a character original in which black characters are written on a white background and do not contain much intermediate density In the case of, not only the setting that switches according to the type of the original, such as a character mode that outputs a white background whiter and black characters blacker, but also a density adjustment value that adjusts the overall print density and enlargement / reduction copy Perform various settings, such as setting the magnification in the case, recognizing a closed area surrounded by the marker pen, and setting whether to perform various image processing on image data in the closed area. Can be. The image processing contents in the editing unit 143 of the scanner image processing unit 140 differ depending on these image processing modes.

【0042】すべての画像処理内容はHDD104に記
憶されており、必要に応じてRAM102へ情報が転送
されて使用される場合もある。また、編集部143で処
理の実行に必要となる時間や汎用プロセッサ1431が
処理中に使用するデータ記憶装置1432の容量等の必
要資源情報がすべての画像処理内容それぞれに対してH
DD104に記憶されているものとする。尚、必要資源
情報は、画像処理内容のプリント出力濃度値などの数値
データに対する関数であってもよい。
All the contents of image processing are stored in the HDD 104, and information may be transferred to the RAM 102 and used as needed. Further, necessary resource information such as the time required for executing the processing in the editing unit 143 and the capacity of the data storage device 1432 used during the processing by the general-purpose processor 1431 is set to H for each image processing content.
It is assumed that the information is stored in the DD 104. Note that the necessary resource information may be a function for numerical data such as a print output density value of image processing contents.

【0043】まず、ステップS101において、操作者
の操作によって実行する画像処理が1つ選択され、ステ
ップS102では、選択された画像処理に必要な処理時
間を計算する。具体的には、CPU101がHDD10
4に記憶されている必要資源情報を使い、現在選択され
ている画像処理の実行に必要な時間を計算する。このと
き、選択されている画像処理に必要となるデータ記憶装
置1432の容量等の資源情報と実際のデータ記憶装置
1432の空き容量等の情報を参照し、複数の画像処理
の同時動作可能性の検証等も行われ、実行に必要な時間
の正確な計算が行われる。
First, in step S101, one image processing to be executed by the operation of the operator is selected, and in step S102, a processing time required for the selected image processing is calculated. More specifically, the CPU 101
Using the necessary resource information stored in No. 4, the time required to execute the currently selected image processing is calculated. At this time, by referring to resource information such as the capacity of the data storage device 1432 required for the selected image processing and information such as the actual free space of the data storage device 1432, the possibility of simultaneous operation of a plurality of image processes is determined. Verification and the like are also performed, and an accurate calculation of the time required for execution is performed.

【0044】ここで、制限時間はHDD104に記憶さ
れており、この制限時間はデータ記憶装置1432の空
き容量等による関数情報となっていてもよい。CPU1
01はこの制限時間情報を用い、現在の画像処理装置の
処理の正確な制限時間の計算を行う。一般には、スキャ
ナ200で画像の読み取りを行い、プリンタ300で画
像の出力を行う、という2つの処理の時間関係から画像
処理の制限時間が限定されてくる。
Here, the time limit is stored in the HDD 104, and this time limit may be function information based on the free space of the data storage device 1432. CPU1
01 uses this time limit information to calculate an accurate time limit for the processing of the current image processing apparatus. Generally, the time limit of image processing is limited due to the time relationship between the two processes of reading an image with the scanner 200 and outputting the image with the printer 300.

【0045】次に、ステップS103において、所定の
制限時間と必要な処理時間との比較を行う。この処理
は、選択されている画像処理の実行に必要な時間と画像
処理の制限時間をCPU101が比較する処理である。
そして、ステップS104において、制限時間は不確定
要素である画像バス110の使用率によっても変化する
ものと想定し、ある時間をしきい値とし、必要な時間か
ら制限時間を引いた時間がしきい値よりも大きければ選
択された画像処理の実行が可能と判断する。尚、しきい
値に使用する時間は、HDD104上の所定の領域に記
憶させておく。
Next, in step S103, a predetermined time limit is compared with a required processing time. In this process, the CPU 101 compares the time required to execute the selected image processing with the time limit of the image processing.
In step S104, it is assumed that the time limit changes depending on the usage rate of the image bus 110, which is an uncertain factor, and a certain time is set as a threshold, and a time obtained by subtracting the time limit from a necessary time is a threshold. If the value is larger than the value, it is determined that the selected image processing can be executed. The time used for the threshold value is stored in a predetermined area on the HDD 104.

【0046】ここで、選択された画像処理が実行可能と
判断されると、通常の状態に移行し、操作者によって更
に画像処理の設定が行われる。そして、再度、実行する
画像処理の選択が追加された場合には、その選択されて
いる画像処理の実行に必要な時間の計算の手順から、実
行可能性の判断の手順までを同様に実行する。
Here, when it is determined that the selected image processing can be executed, the state shifts to a normal state, and the image processing is further set by the operator. Then, when the selection of the image processing to be executed is added again, the procedure from the calculation of the time required to execute the selected image processing to the procedure of determining the feasibility is similarly executed. .

【0047】また、ステップS104において、選択さ
れた画像処理が実行不可能と判断された場合は、不可能
と判断された場合の処理へ移行し、コピー開始等の画像
処理開始の操作が行われても、動作を開始しない。
If it is determined in step S104 that the selected image processing cannot be executed, the process proceeds to the processing when it is determined that the selected image processing cannot be executed, and an operation for starting image processing such as copying is performed. Even does not start operation.

【0048】[変形例]図14は、図13に示すモジュ
ール構成の変形例を示す図である。この例では、選択さ
れた画像処理が実行不可能と判断された場合、選択され
た処理を1つずつ簡略化した処理に置き換え、制限時間
内で実行可能とする。ここで、処理内容を簡略化するた
めの制御情報は、HDD104に記憶されており、この
制御情報には、各処理に対してより処理時間或いは資源
の使用が少ない別の処理を割り当てた対応表と、簡略化
した場合の画質の劣化量を数値化した情報とが含まれ
る。簡略化の際には、なるべく画質劣化量の少ない処理
から順に簡略化を行っていくことになる。簡略化を1つ
行う毎に再度、選択されている画像処理の実行に必要な
時間の計算の手順から、実行可能性の判断の手順までを
上述と同様に実行し、制限時間内にすべての処理を終了
できるようになるまで、上述の簡略化の手順を繰り返
す。尚、この簡略化とは、フィルタ処理での行列積演算
に使用する行列の大きさの小さいものにして近似計算す
ることなどが含まれる。
[Modification] FIG. 14 is a diagram showing a modification of the module configuration shown in FIG. In this example, when it is determined that the selected image processing cannot be executed, the selected processing is replaced with a simplified processing one by one, and the processing can be executed within the time limit. Here, control information for simplifying the processing contents is stored in the HDD 104, and the control information includes a correspondence table in which another processing that uses less processing time or uses less resources is assigned to each processing. And information obtained by quantifying the amount of image quality degradation in the case of simplification. In the case of simplification, simplification is performed in order from the processing with the least image quality deterioration amount. Each time one simplification is performed, the procedure from the calculation of the time required to execute the selected image processing to the procedure of determining the feasibility is executed in the same manner as described above, and all the steps are performed within the time limit. The above simplification procedure is repeated until the processing can be completed. Note that the simplification includes approximation calculation using a matrix having a small size used for matrix product operation in the filter processing.

【0049】また、ステップS104において、選択さ
れた画像処理が実行不可能であると判断された場合は、
操作部400のLCD表示部401に文字や絵文字を表
示し、選択した処理全部の実行は不可能であることを操
作者に知らせるようにしても良い。
If it is determined in step S104 that the selected image processing cannot be executed,
Characters and pictograms may be displayed on the LCD display unit 401 of the operation unit 400 to notify the operator that it is impossible to execute all the selected processing.

【0050】更に、ステップS104において、選択さ
れた画像処理が実行不可能であると判断された場合は、
選択されたすべての画像処理の実行に必要な処理時間を
減らすべく、所定の画像処理、例えば最後に追加選択さ
れた画像処理を非選択にしてステップS102に戻り、
再度、実行可能か判断するように構成することも可能で
ある。
If it is determined in step S104 that the selected image processing cannot be executed,
In order to reduce the processing time required for executing all the selected image processing, a predetermined image processing, for example, the image processing that is added last is deselected and the process returns to step S102.
It is also possible to adopt a configuration in which it is determined whether or not execution is possible again.

【0051】また、ステップS104において、選択さ
れた画像処理が実行不可能であると判断された場合は、
選択されたすべての画像処理の実行に必要な処理時間以
上の長さの制限時間となるように、制御を変更しても良
い。つまり、制限時間を延長するときの制御情報を記憶
する制御情報記憶装置の制御情報の中から必要とされる
処理時間より長い制限時間に対応する制御情報を用い、
その制御タイミングを変更するようにしても良い。この
場合、操作者の操作によりスキャンが開始されたとき
に、選択されたすべての画像処理を実行し、操作者が意
図した通りの画像処理を施した画像を出力して処理を終
了することができる。
If it is determined in step S104 that the selected image processing cannot be executed,
The control may be changed so that the time limit is longer than the processing time required for executing all the selected image processing. In other words, control information corresponding to a time limit longer than a required processing time is used from among control information of a control information storage device that stores control information for extending the time limit,
The control timing may be changed. In this case, when a scan is started by an operation of the operator, all the selected image processing is executed, an image subjected to the image processing intended by the operator is output, and the processing is ended. it can.

【0052】以上説明したように、所定の制限時間内に
実行可能かどうかを設計者があまり意識することなく、
各処理のソフトウェアを個別に用意することができ、か
つ、実際の実行時に各処理が実行可能か判断することに
より、実行不可能となる処理の組み合わせについては実
行を避けることができる。
As described above, the designer does not have to be conscious of whether or not execution is possible within a predetermined time limit.
Software for each process can be prepared individually, and by determining whether each process is executable at the time of actual execution, execution of a combination of processes that cannot be executed can be avoided.

【0053】また、実行直前に判断を行うことで、外部
記憶装置の容量等の外的記憶装置の容量等の外的要因の
変化に対しても動的に対応した処理時間と制限時間を用
い、実際に実行可能かどうかの判断を正確に行うことが
できる。
Further, by making a judgment immediately before execution, a processing time and a time limit dynamically corresponding to a change in an external factor such as a capacity of an external storage device such as a capacity of an external storage device can be used. Thus, it can be accurately determined whether or not it is actually feasible.

【0054】従って、設計時の負荷を大幅に削減し、か
つ、処理の実行時点での記憶装置の容量等、資源の大き
さを反映した制限時間を超過しない範囲で、あらゆる処
理の組み合わせによる最大限複雑な処理の実現が可能と
なる。
Therefore, the load at the time of design is greatly reduced, and the maximum time by any combination of processes is not exceeded within a time limit that reflects the size of resources such as the capacity of a storage device at the time of execution of the process. Only complicated processing can be realized.

【0055】更に、制限時間を延長するための処理を行
い、延長した制限時間内ですべての選択された処理を実
行可能にすることで、画像の欠落やずれなどの、意図し
ない画像の出力を回避することができる。
Further, a process for extending the time limit is performed, and all selected processes can be executed within the extended time limit. Can be avoided.

【0056】従って、操作者が制限時間を超過するよう
な処理の組み合わせを選択した場合にも、少ない犠牲の
上で、操作者の選択した画像処理を実行することができ
ると共に、操作者は画像処理装置の操作に煩わされるこ
とがない。
Accordingly, even when the operator selects a combination of processes that exceeds the time limit, the image processing selected by the operator can be executed with little sacrifice, and the operator can perform image processing. The operation of the processing device is not bothered.

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

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

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

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

【0061】また、コンピュータが読出したプログラム
コードを実行することにより、前述した実施形態の機能
が実現されるだけでなく、そのプログラムコードの指示
に基づき、コンピュータ上で稼働しているOS(オペレ
ーティングシステム)などが実際の処理の一部又は全部
を行い、その処理によって前述した実施形態の機能が実
現される場合も含まれることは言うまでもない。
When the computer executes the readout program code, 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. ) May perform some or all of the actual processing, and the processing may realize the functions of the above-described embodiments.

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

【0063】[0063]

【発明の効果】以上説明したように、本発明によれば、
設計時の負荷を大幅に削減し、複数の画像処理の組み合
わせによる最大限複雑な処理を実現することが可能とな
る。
As described above, according to the present invention,
The load at the time of design can be greatly reduced, and the most complicated processing by combining a plurality of image processing can be realized.

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

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

【図2】画像入出力デバイスとしての複写機の外観を示
す図である。
FIG. 2 is a diagram illustrating an appearance of a copying machine as an image input / output device.

【図3】実施形態における操作部の構成を示す図であ
る。
FIG. 3 is a diagram illustrating a configuration of an operation unit according to the embodiment.

【図4】実施形態におけるスキャナ画像処理部の構成を
示す図である。
FIG. 4 is a diagram illustrating a configuration of a scanner image processing unit according to the embodiment.

【図5】実施形態における編集部の詳細な構成を示す図
である。
FIG. 5 is a diagram illustrating a detailed configuration of an editing unit according to the embodiment.

【図6】実施形態におけるプリンタ画像処理部の構成を
示す図である。
FIG. 6 is a diagram illustrating a configuration of a printer image processing unit according to the embodiment.

【図7】実施形態における画像圧縮部の構成を示す図で
ある。
FIG. 7 is a diagram illustrating a configuration of an image compression unit according to the embodiment.

【図8】実施形態における画像回転部の構成を示す図で
ある。
FIG. 8 is a diagram illustrating a configuration of an image rotation unit according to the embodiment.

【図9】図8に示す画像回転部の回転処理を説明するた
めの図である。
FIG. 9 is a diagram for explaining rotation processing of the image rotation unit shown in FIG. 8;

【図10】図8に示す画像回転部の回転処理を説明する
ための図である。
FIG. 10 is a diagram for explaining a rotation process of the image rotation unit shown in FIG. 8;

【図11】実施形態におけるデバイスI/F部の構成を
示す図である。
FIG. 11 is a diagram illustrating a configuration of a device I / F unit according to the embodiment.

【図12】実施形態における処理手順を示すフローチャ
ートである。
FIG. 12 is a flowchart illustrating a processing procedure in the embodiment.

【図13】図12に示すフローチャートに対応して実行
される各モジュールの構成を示す図である。
FIG. 13 is a diagram showing a configuration of each module executed according to the flowchart shown in FIG. 12;

【図14】変形例における各モジュールの構成を示す図
である。
FIG. 14 is a diagram showing a configuration of each module in a modified example.

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

100 制御部 101 CPU 102 RAM 103 ROM 104 HDD 105 操作部I/F 106 ネットワークI/F 107 モデム 108 システムバス 109 画像バスI/F 110 画像バス 120 RIP 130 デバイスI/F 140 スキャナ画像処理部 150 プリンタ画像処理部 160 画像回転部 170 画像圧縮部 200 スキャナ 300 プリンタ 400 操作部 100 Control Unit 101 CPU 102 RAM 103 ROM 104 HDD 105 Operation Unit I / F 106 Network I / F 107 Modem 108 System Bus 109 Image Bus I / F 110 Image Bus 120 RIP 130 Device I / F 140 Scanner Image Processing Unit 150 Printer Image processing unit 160 Image rotation unit 170 Image compression unit 200 Scanner 300 Printer 400 Operation unit

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 選択可能な処理の種類を記憶する記憶手
段と、 前記記憶手段に記憶されている処理の中から実際に実行
する処理を少なくとも1つ選択する選択手段と、 選択された処理の所要時間或いは所要時間を計算するた
めに必要となる情報を記憶している所要時間記憶手段
と、 前記記憶されている所要時間或いは情報に基づき、選択
された処理の所要時間を積算する積算手段と、 処理を実行可能な所定の制限時間を記憶している制限時
間記憶手段と、 前記積算手段で積算した所要時間と前記制限時間とを比
較し、前記選択された処理が実行可能か否かを判断する
判断手段と、 前記判断手段での判断結果に応じて前記選択された処理
の実行を制御する実行制御手段とを有することを特徴と
する画像処理装置。
A storage unit configured to store a type of a selectable process; a selection unit configured to select at least one process to be actually executed from the processes stored in the storage unit; Required time storage means for storing required time or information required for calculating the required time; and integrating means for integrating the required time of the selected process based on the stored required time or information. A time limit storage unit storing a predetermined time limit in which the process can be executed, and comparing the required time accumulated by the accumulation unit with the time limit to determine whether the selected process can be executed. An image processing apparatus comprising: a determination unit configured to perform determination; and an execution control unit configured to control execution of the selected process in accordance with a result of the determination performed by the determination unit.
【請求項2】 前記判断手段で実行不可能と判断された
場合、選択した処理のすべては実行不可能であることを
操作者に通知することを特徴とする請求項1に記載の画
像処理装置。
2. The image processing apparatus according to claim 1, wherein when the determination unit determines that execution is not possible, the operator is notified that all of the selected processing is not executable. .
【請求項3】 前記判断手段で実行不可能と判断された
場合、所定の処理を非選択にすることで、選択された処
理を実行可能とすることを特徴とする請求項1又は2に
記載の画像処理装置。
3. The apparatus according to claim 1, wherein when the determination unit determines that the processing cannot be executed, the predetermined processing is deselected to enable the selected processing to be executed. Image processing device.
【請求項4】 前記所定の処理は、最新の追加選択され
た処理であることを特徴とする請求項3に記載の画像処
理装置。
4. The image processing apparatus according to claim 3, wherein the predetermined processing is a latest additional selected processing.
【請求項5】 更に、処理内容を簡略化するための制御
情報を記憶する制御情報記憶手段を有し、前記判断手段
で実行不可能と判断された場合、選択された処理の一部
或いはすべてを簡略化した処理に置き換えることで、前
記制限時間内で実行可能とすることを特徴とする請求項
1又は2に記載の画像処理装置。
5. A control information storage means for storing control information for simplifying the processing contents, wherein when the determination means determines that the processing cannot be executed, a part or all of the selected processing is performed. 3. The image processing apparatus according to claim 1, wherein the processing is performed within the time limit by replacing the processing with a simplified processing. 4.
【請求項6】 更に、制限時間を延長する制御情報を記
憶する制御情報記憶手段を有し、前記判断手段で実行不
可能と判断された場合、制限時間を延長するための処理
を行い、延長した制限時間内ですべての選択された処理
を実行可能とすることを特徴とする請求項1又は2に記
載の画像処理装置。
6. A control information storage unit for storing control information for extending a time limit, wherein when the determination unit determines that the execution is not possible, a process for extending the time limit is performed. The image processing apparatus according to claim 1, wherein all selected processes can be executed within the limited time.
【請求項7】 記憶手段に記憶されている処理の中から
実際に実行する処理を少なくとも1つ選択する選択工程
と、 選択された処理の所要時間或いは所要時間を計算するた
めに必要となる情報に基づき、選択された処理の所要時
間を積算する積算工程と、 前記積算工程で積算した所要時間と処理を実行可能な所
定の制限時間とを比較し、前記選択された処理が実行可
能か否かを判断する判断工程と、 前記判断工程での判断結果に応じて前記選択された処理
の実行を制御する実行制御工程とを有することを特徴と
する画像処理方法。
7. A selecting step of selecting at least one process to be actually executed from the processes stored in the storage means, and a time required for the selected process or information required for calculating the required time. An integration step of integrating the required time of the selected processing, and comparing the required time integrated in the integration step with a predetermined time limit in which the processing can be performed, and determining whether the selected processing can be performed. An image processing method, comprising: a determination step of determining whether the selected processing is performed; and an execution control step of controlling execution of the selected processing according to a determination result in the determination step.
【請求項8】 前記判断工程で実行不可能と判断された
場合、選択した処理のすべては実行不可能であることを
操作者に通知することを特徴とする請求項7に記載の画
像処理方法。
8. The image processing method according to claim 7, wherein when it is determined in the determining step that the processing cannot be performed, the operator is notified that all of the selected processing cannot be performed. .
【請求項9】 前記判断工程で実行不可能と判断された
場合、所定の処理を非選択にすることで、選択された処
理を実行可能とすることを特徴とする請求項7又は8に
記載の画像処理方法。
9. The method according to claim 7, wherein, when it is determined in the determining step that the processing cannot be performed, the predetermined processing is deselected to enable the selected processing to be performed. Image processing method.
【請求項10】 前記所定の処理は、最新の追加選択さ
れた処理であることを特徴とする請求項9に記載の画像
処理方法。
10. The image processing method according to claim 9, wherein the predetermined process is a latest additional selected process.
【請求項11】 更に、処理内容を簡略化するための制
御情報を記憶する制御情報記憶工程を有し、前記判断工
程で実行不可能と判断された場合、選択された処理の一
部或いはすべてを簡略化した処理に置き換えることで、
前記制限時間内で実行可能とすることを特徴とする請求
項7又は8に記載の画像処理方法。
11. A control information storing step for storing control information for simplifying the processing contents, and when it is determined in the determining step that the processing cannot be executed, a part or all of the selected processing is performed. By replacing with a simplified process,
9. The image processing method according to claim 7, wherein the method is executable within the time limit.
【請求項12】 更に、制限時間を延長する制御情報を
記憶する制御情報記憶工程を有し、前記判断工程で実行
不可能と判断された場合、制限時間を延長するための処
理を行い、延長した制限時間内ですべての選択された処
理を実行可能とすることを特徴とする請求項7又は8に
記載の画像処理方法。
12. A control information storing step of storing control information for extending a time limit, wherein when it is determined that the execution is not possible in the determining step, a process for extending the time limit is performed, and 9. The image processing method according to claim 7, wherein all selected processes can be executed within the limited time.
【請求項13】 画像処理方法のプログラムコードが格
納されたコンピュータ可読記憶媒体であって、 記憶手段に記憶されている処理の中から実際に実行する
処理を少なくとも1つ選択する選択工程のコードと、 選択された処理の所要時間或いは所要時間を計算するた
めに必要となる情報に基づき、選択された処理の所要時
間を積算する積算工程のコードと、 積算した所要時間と処理を実行可能な所定の制限時間と
を比較し、前記選択された処理が実行可能か否かを判断
する判断工程のコードと、 判断結果に応じて前記選択された処理の実行を制御する
実行制御工程のコードとを有することを特徴とする記憶
媒体。
13. A computer-readable storage medium storing a program code of an image processing method, wherein a code of a selection step of selecting at least one process to be actually executed from the processes stored in the storage means is provided. A code of an integration step for integrating the required time of the selected process based on the required time of the selected process or information necessary for calculating the required time, And a code for an execution control step for controlling the execution of the selected process in accordance with the result of the determination. A storage medium characterized by having.
JP10349193A 1998-12-08 1998-12-08 Method and device for processing picture Withdrawn JP2000172823A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10349193A JP2000172823A (en) 1998-12-08 1998-12-08 Method and device for processing picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10349193A JP2000172823A (en) 1998-12-08 1998-12-08 Method and device for processing picture

Publications (1)

Publication Number Publication Date
JP2000172823A true JP2000172823A (en) 2000-06-23

Family

ID=18402106

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10349193A Withdrawn JP2000172823A (en) 1998-12-08 1998-12-08 Method and device for processing picture

Country Status (1)

Country Link
JP (1) JP2000172823A (en)

Similar Documents

Publication Publication Date Title
JP5438358B2 (en) Data processing apparatus and control method thereof
JP5247542B2 (en) Image processing apparatus, image processing apparatus control method, and program
JP4027133B2 (en) Image processing device
JP2001156987A (en) System and method for forming image and storage medium
JPH10341332A (en) Image-forming device
JP4743916B2 (en) Image processing apparatus and control method thereof
JP5325902B2 (en) Image forming apparatus
JP3854787B2 (en) Image processing apparatus and control method thereof
JP2000172823A (en) Method and device for processing picture
JP3927894B2 (en) Image processing apparatus and processing method thereof
JP2005031759A (en) Image processor and image processing method to which spatial filter is applied
JP4078041B2 (en) Image input / output device, image input / output method, image input / output system, and storage medium
JP3638168B2 (en) Image data storage device
JP2003051951A (en) Image input output device and control method therefor
JPH10276316A (en) Image forming device
JP3337830B2 (en) Composite image input / output device and printer control device
JP2001243025A (en) Device and method for processing data
JP2004032048A (en) Multifunction system
JP2000132358A (en) Image forming system, image controller, image forming method and storage medium
JP2000132359A (en) Image forming system, image controller, image forming method and storage medium
JP2000322222A (en) Method and system for image forming and storage medium
JP2001245160A (en) Device and method for image data processing device
JP2001298563A (en) Image forming system and image forming method
JP2000132360A (en) Image forming system, image controller, image forming method and storage medium
JP2003219104A (en) Image forming apparatus, its control method, recording medium and program

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: 20060307