[go: up one dir, main page]

JP2003150949A - Image processor and image processing method - Google Patents

Image processor and image processing method

Info

Publication number
JP2003150949A
JP2003150949A JP2001348726A JP2001348726A JP2003150949A JP 2003150949 A JP2003150949 A JP 2003150949A JP 2001348726 A JP2001348726 A JP 2001348726A JP 2001348726 A JP2001348726 A JP 2001348726A JP 2003150949 A JP2003150949 A JP 2003150949A
Authority
JP
Japan
Prior art keywords
image processing
circuit module
image
information
hardware
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
JP2001348726A
Other languages
Japanese (ja)
Other versions
JP2003150949A5 (en
Inventor
Hideyuki Kamibayashi
秀幸 上林
Osao Katsuta
長生 勝田
Toshiyuki Mitsubori
俊幸 三堀
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.)
Minolta Co Ltd
Original Assignee
Minolta 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 Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP2001348726A priority Critical patent/JP2003150949A/en
Publication of JP2003150949A publication Critical patent/JP2003150949A/en
Publication of JP2003150949A5 publication Critical patent/JP2003150949A5/ja
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image processing method capable of easily altering or adding an image processing function and having excellent processing speed. SOLUTION: This image processing method has steps S7 and S12 for selecting a combination of a circuit module and a program module required for performing an applied image processing function, steps S8 and S13 for forming the circuit module by reconfiguring a reloadable hardware area of a semiconductor element according to the reload information including the information of the selected circuit module, and steps S9, S14 for performing the selected program module in the semiconductor element in which the circuit module is formed.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像処理装置及び
画像処理方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing device and an image processing method.

【0002】[0002]

【従来の技術】従来、スキャナ等の画像処理装置に設け
られている回路は、特定の用途のために最適設計された
カスタムICであるASIC(Application Specific I
ntegrated Circuit)によって、その主要部分が構成さ
れている。そして、機能を変更あるいは追加する場合、
ソフトウェアによって対応できるように設計されてい
る。
2. Description of the Related Art Conventionally, a circuit provided in an image processing apparatus such as a scanner is an ASIC (Application Specific I) which is a custom IC optimally designed for a specific application.
ntegrated Circuit), the main part is made up. And when changing or adding features,
It is designed to be handled by software.

【0003】[0003]

【発明が解決しようとする課題】しかし、ソフトウェア
は、多様な画像処理に対応可能だが、処理速度の点で問
題を有するため、画像処理装置の機能を変更あるいは追
加することができる範囲が極めて限定されている。
However, although software is compatible with various image processes, it has a problem in processing speed, so that the range in which the functions of the image processing apparatus can be changed or added is extremely limited. Has been done.

【0004】一方、ASIC等で構成されるハードウェ
ア回路は、処理速度の点では優れているが、柔軟性に乏
しく、機能を変更あるいは追加するためには、ハードウ
ェアの開発が必要となる。また、広範囲に渡る機能の変
更に対応することが可能である画像処理装置を設計する
ことは、可能ではあるが、製造コストや開発工数等の点
で問題を有する。
On the other hand, a hardware circuit composed of an ASIC or the like is excellent in terms of processing speed, but is poor in flexibility and requires hardware development in order to change or add a function. Further, although it is possible to design an image processing apparatus capable of coping with a wide range of function changes, there is a problem in terms of manufacturing cost and development man-hours.

【0005】本発明は、このような従来の問題を解決す
るために成されたものであり、画像処理機能を容易に変
更あるいは追加可能であり、かつ処理速度に優れた画像
処理装置及び画像処理方法を提供することを目的とす
る。
The present invention has been made to solve such a conventional problem, and an image processing apparatus and an image processing which can easily change or add an image processing function and are excellent in processing speed. The purpose is to provide a method.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
の本発明は次のように構成される。
Means for Solving the Problems The present invention for achieving the above object is configured as follows.

【0007】(1) 書換え可能なハードウェア領域を
有する半導体素子と、適用される画像処理機能を実行す
るために必要とされる回路モジュールとプログラムモジ
ュールとの組合せを、選択するための選択手段と、選択
された回路モジュールの情報を含んでいる書換え情報に
基づいて、前記書換え可能なハードウェア領域を再構成
することによって、前記回路モジュールを形成するため
の再構成手段とを有し、前記回路モジュールが形成され
た前記半導体素子において、選択されたプログラムモジ
ュールが実行されることを特徴とする画像処理装置。
(1) A semiconductor device having a rewritable hardware area, and a selection unit for selecting a combination of a circuit module and a program module required to execute an applied image processing function. Reconfiguring means for forming the circuit module by reconfiguring the rewritable hardware area based on rewriting information including information of the selected circuit module, the circuit An image processing apparatus, wherein a selected program module is executed in the semiconductor element having a module formed therein.

【0008】(2) 前記半導体素子は、フィールド・
プログラマブル・ゲートアレイからなることを特徴とす
る前記(1)に記載の画像処理装置。
(2) The semiconductor element is a field
The image processing device according to (1) above, which comprises a programmable gate array.

【0009】(3) 前記回路モジュールの情報および
プログラムモジュールが記憶されている記憶手段を、さ
らに有することを特徴とする前記(1)に記載の画像処
理装置。
(3) The image processing apparatus according to (1), further comprising a storage unit in which the information of the circuit module and the program module are stored.

【0010】(4) 外部機器から送信される前記回路
モジュールの情報およびプログラムモジュールを、受信
するための受信手段を、さらに有することを特徴とする
前記(1)に記載の画像処理装置。
(4) The image processing apparatus as described in (1) above, further comprising receiving means for receiving the information of the circuit module and the program module transmitted from an external device.

【0011】(5) 適用される画像処理機能を実行す
るために必要とされる回路モジュールとプログラムモジ
ュールとの組合せを、選択するためのステップと、選択
された回路モジュールの情報を含んでいる書換え情報に
基づいて、半導体素子の書換え可能なハードウェア領域
を再構成することによって、前記回路モジュールを形成
するためのステップと、前記回路モジュールが形成され
た半導体素子において、選択されたプログラムモジュー
ルを実行するステップとを有することを特徴とする画像
処理方法。
(5) A step for selecting a combination of a circuit module and a program module required to execute the applied image processing function, and a rewrite including information of the selected circuit module. Reconfiguring the rewritable hardware area of the semiconductor device based on the information to form the circuit module, and execute the selected program module in the semiconductor device in which the circuit module is formed. An image processing method, comprising:

【0012】[0012]

【発明の実施の形態】次に、本発明に係る実施の形態
を、図面を参照して詳細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Next, embodiments of the present invention will be described in detail with reference to the drawings.

【0013】図1に示されるように、本発明の実施の形
態1に係る画像処理装置であるスキャナ20は、ケーブ
ル61,62を介して、コンピュータ30およびプリン
タ40に接続される。また、スキャナ20は、脱着可能
な記録媒体であるメモリカード50用のスロットを有し
ている。
As shown in FIG. 1, the scanner 20 which is the image processing apparatus according to the first embodiment of the present invention is connected to a computer 30 and a printer 40 via cables 61 and 62. The scanner 20 also has a slot for a memory card 50 which is a removable recording medium.

【0014】コンピュータ30は、CRTモニタあるい
は液晶モニタからなる表示装置と、マウスおよびキーボ
ードからなる入力装置とを有する。
The computer 30 has a display device composed of a CRT monitor or a liquid crystal monitor, and an input device composed of a mouse and a keyboard.

【0015】また、コンピュータ30は、スキャナ20
を制御するためのドライバソフトウェアがインストール
されており、図2に示されるような画面31が、表示装
置に示される。したがって、マウスを使用して、コマン
ドボタン33〜36をクリックすることによって、スキ
ャナ20に対して動作を要求したり、スキャナ20によ
って生成された画像データ32を目視することが可能で
ある。
Further, the computer 30 includes a scanner 20.
The driver software for controlling the display is installed, and the screen 31 as shown in FIG. 2 is displayed on the display device. Therefore, by using the mouse to click the command buttons 33 to 36, it is possible to request the scanner 20 to perform an operation or visually check the image data 32 generated by the scanner 20.

【0016】例えば、コマンドボタン33「スキャン」
がクリックされる場合、スキャナ20において、原稿の
画像が読み取られて、画像データが生成される。コマン
ドボタン34「保存」がクリックされる場合、画像デー
タが圧縮されて、メモリカード50に記憶される。
For example, the command button 33 "scan"
When is clicked, the image of the document is read by the scanner 20 and image data is generated. When the command button 34 “Save” is clicked, the image data is compressed and stored in the memory card 50.

【0017】また、コマンドボタン35「印刷」がクリ
ックされる場合、画像データから印刷データが作成さ
れ、プリンタ40に送信される。また、コマンドボタン
36「転送」がクリックされる場合、画像データがコン
ピュータ30に送信される。
When the command button 35 "print" is clicked, print data is created from the image data and sent to the printer 40. Further, when the command button 36 “transfer” is clicked, the image data is transmitted to the computer 30.

【0018】次に、図3を参照し、スキャナ20の構成
について詳しく説明する。
Next, the configuration of the scanner 20 will be described in detail with reference to FIG.

【0019】スキャナ20は、図3に示されるように、
制御部21、メモリ11,22、画像読取部23、操作
パネル24、FPGA10、メモリカード部25、イン
タフェース26,27を有し、これらは、システムバス
28を経由して相互に接続されている。
The scanner 20, as shown in FIG.
It has a control unit 21, memories 11 and 22, an image reading unit 23, an operation panel 24, an FPGA 10, a memory card unit 25, and interfaces 26 and 27, which are interconnected via a system bus 28.

【0020】制御部21は、マイクロプロセッサ等から
構成される制御回路であり、各部10,11,22〜2
8を制御する。
The control section 21 is a control circuit composed of a microprocessor and the like, and each section 10, 11, 22, 2-2.
Control eight.

【0021】メモリ22は、ROMなどの読取り専用メ
モリと、RAMなどの高速のランダムアクセスメモリと
から構成され、制御部21によって使用される。
The memory 22 comprises a read-only memory such as a ROM and a high speed random access memory such as a RAM, and is used by the control unit 21.

【0022】画像読取部23は、CCD(Charge Coupl
ed Device)イメージセンサとA/D変換器とを有して
おり、所定の読み取り位置にセットされた原稿の画像を
読み取って、アナログ信号を生成し、当該アナログ信号
をデジタル変換することによって、デジタル画像データ
を出力する。なお、画像読取部23は、ADF(自動原
稿搬送装置)を備えることによって、複数枚の原稿の画
像を順次読み取ることも可能である。
The image reading section 23 is a CCD (Charge Coupl).
ed Device) has an image sensor and an A / D converter, reads an image of a document set at a predetermined reading position, generates an analog signal, and converts the analog signal into a digital signal. Output image data. The image reading unit 23 can also sequentially read images of a plurality of documents by including an ADF (automatic document feeder).

【0023】操作パネル24は、各種メッセージを表示
するために使用される液晶表示器と、各種項目を入力す
るために使用される入力部とを有する。入力部は、例え
ば、液晶表示器上に配置されタッチパネルと、液晶表示
器の外側に配置されるテンキーなどの複数のキーやスタ
ートボタンや一時停止ボタンとを有する。
The operation panel 24 has a liquid crystal display used to display various messages and an input section used to input various items. The input unit has, for example, a touch panel arranged on the liquid crystal display, and a plurality of keys such as a numeric keypad arranged on the outside of the liquid crystal display, a start button, and a pause button.

【0024】FPGA10は、書換え可能なハードウェ
ア領域を有する半導体素子であるフィールド・プログラ
マブル・ゲートアレイである。FPGA10は、書換え
可能なハードウェア領域を再構成することによって、各
種の回路モジュールを適宜形成することが可能である。
The FPGA 10 is a field programmable gate array which is a semiconductor device having a rewritable hardware area. The FPGA 10 can appropriately form various circuit modules by reconfiguring the rewritable hardware area.

【0025】メモリ11は、FPGA10によって使用
される、RAMなどの高速のランダムアクセスメモリか
ら構成される予備の記憶装置である。
The memory 11 is a spare storage device used by the FPGA 10 and composed of a high speed random access memory such as a RAM.

【0026】メモリカード部25は、メモリカード50
用のスロットを有しており、データをメモリカード50
に保存するためと、メモリカード50に記憶されている
データを読取るために使用される。なお、メモリカード
50は、フラッシュメモリ等の不揮発性メモリを有して
いる。
The memory card section 25 includes a memory card 50.
Has a slot for storing data in the memory card 50
It is used to store data in the memory and read data stored in the memory card 50. The memory card 50 has a non-volatile memory such as a flash memory.

【0027】インタフェース26は、コンピュータ30
との接続用であり、インタフェース27は、プリンタ4
0との接続用である。
The interface 26 is a computer 30.
The interface 27 is for connection with the printer 4
For connection with 0.

【0028】インタフェース26,27の具体例として
は、RS−232C、RS−422、IEEE139
4、USB(Universal Serial Bus)などのシリアルイ
ンタフェースや、IEEE1284,SCSI(Small
Computer System Interface)などのパラレルインタフ
ェースが挙げられる。
Specific examples of the interfaces 26 and 27 include RS-232C, RS-422, and IEEE139.
4, serial interface such as USB (Universal Serial Bus), IEEE1284, SCSI (Small)
Computer System Interface) and other parallel interfaces.

【0029】また、接続ケーブルを使用しないIrDA
(Infrared Data Association)などのシリアルインタ
フェースを適用することも可能である。さらに、Blu
etooth(登録商標)やHomeRF等の規格によ
る近距離無線通信を適用することも可能である。
IrDA that does not use a connection cable
It is also possible to apply a serial interface such as (Infrared Data Association). In addition, Blu
It is also possible to apply short-distance wireless communication based on standards such as etoth (registered trademark) and HomeRF.

【0030】システムバス28は、各ブロック10,2
1〜17を接続するデータラインと、アドレスライン
と、制御ラインとを有する。
The system bus 28 includes blocks 10 and 2
It has a data line connecting 1 to 17, an address line, and a control line.

【0031】次に、メモリカード50の構成を説明す
る。
Next, the structure of the memory card 50 will be described.

【0032】メモリカード50は、図4に示されるよう
に、FPGA10の書換え可能なハードウェア領域を再
構成するために必要とされる書換え情報であるハードウ
ェア(HW)情報51、ソフトウェア情報52、コード
ライブラリテーブル53と、画像データを保存するため
の領域であるページメモリエリア54とを有している。
The memory card 50, as shown in FIG. 4, is hardware (HW) information 51, software information 52, which is rewriting information necessary for reconfiguring the rewritable hardware area of the FPGA 10. It has a code library table 53 and a page memory area 54 which is an area for storing image data.

【0033】ハードウェア情報51は、FPGA10の
書換え可能なハードウェア領域を再構成することによっ
て、各種の回路モジュールを形成するための情報であ
り、例えば、JEDEC(Joint Electron Device Engi
neering)フォーマットによって記述される。
The hardware information 51 is information for forming various circuit modules by reconfiguring the rewritable hardware area of the FPGA 10, for example, JEDEC (Joint Electron Device Engi).
neering) format.

【0034】回路モジュールとしては、例えば、回転処
理ハードウェアコア(Rotater)、拡大縮小処理ハード
ウェアコア(Scaler)、DMAC(ダイレクトアクセス
メモリコントローラ)ハードウェアコア、DCT(離散
コサイン変換:Discrete Cosine Transformation)ハー
ドウェアコア、8/16/32ビットRISC(Reduce
d Instruction Set Computer)MPU(Micro Processi
ng Unit)ハードウェアコア、32ビットDSP(Digit
al Signal Processor)ハードウェアコア、JPEG(j
oint photographic experts Group)ハードウェアコ
ア、JBIG(Joint Bi-level Image coding experts
Group)ハードウェアコア、SRAM(Static RAM)ハ
ードウェアコード、DRAM(Dynamic RAM)ハードウ
ェアコードが、挙げられる。
As the circuit module, for example, a rotation processing hardware core (Rotater), a scaling processing hardware core (Scaler), a DMAC (direct access memory controller) hardware core, a DCT (Discrete Cosine Transformation). Hardware core, 8/16/32 bit RISC (Reduce
d Instruction Set Computer) MPU (Micro Processi)
ng Unit) hardware core, 32-bit DSP (Digit
al Signal Processor) hardware core, JPEG (j
oint photographic experts Group) Hardware core, JBIG (Joint Bi-level Image coding experts)
Group) hardware core, SRAM (Static RAM) hardware code, DRAM (Dynamic RAM) hardware code.

【0035】ソフトウェア情報52は、回路モジュール
が形成されたFPGA10において実行可能なプログラ
ムモジュールの情報であり、例えば、オブジェクトコー
ドによって記述されている。具体的には、プログラムモ
ジュールは、上記回路モジュールを使用して、回転処
理、拡大縮小処理、印刷データ作成処理、JPEG処
理、JBIG処理などを実行するためのプログラムコー
ドである。
The software information 52 is information on a program module that can be executed in the FPGA 10 in which a circuit module is formed, and is described by, for example, an object code. Specifically, the program module is a program code for executing a rotation process, an enlargement / reduction process, a print data creation process, a JPEG process, a JBIG process, etc. using the circuit module.

【0036】コードライブラリテーブル53は、画像処
理機能の仕様情報を保持している。仕様情報の項目は、
図5に示されるように、タイプ、ハードウェア、ゲート
数、プログラムサイズ、記憶領域サイズ、処理速度を含
んでいる。
The code library table 53 holds the specification information of the image processing function. The item of specification information is
As shown in FIG. 5, it includes the type, hardware, number of gates, program size, storage area size, and processing speed.

【0037】タイプ項目は、適用可能である画像処理機
能の一覧であり、本実施の形態においては、JPEG圧
縮が5種類、JBIG圧縮が4種類、拡大縮小処理が3
種類、回転処理が4種類、プリントシーケンスが1種類
存在する。
The type item is a list of applicable image processing functions. In the present embodiment, there are 5 types of JPEG compression, 4 types of JBIG compression, and 3 enlargement / reduction processes.
There are four types, four types of rotation processing, and one type of print sequence.

【0038】ハードウェア項目は、上記機能を実現する
ための構成を示している。例えば、JPEG−4は、3
2ビットRISCMPUハードウェアコアとDCTハー
ドウェアコアとを使用し、Scaler−1は、8ビッ
トRISCMPUハードウェアコアを使用し、Scal
er−2は、32ビットDSPハードウェアコアを使用
し、Scaler−3は、回転処理ハードウェアコアを
使用する。
The hardware item indicates a configuration for realizing the above function. For example, JPEG-4 has 3
A 2-bit RISCMPU hardware core and a DCT hardware core are used, and a Scaler-1 uses an 8-bit RISCMPU hardware core and a Scaler is used.
er-2 uses a 32-bit DSP hardware core and Scaler-3 uses a rotation processing hardware core.

【0039】ゲート数項目は、上記機能のハードウェア
を構成するのに必要なゲート数を示している。
The number of gates item indicates the number of gates required to configure the hardware having the above function.

【0040】プログラムサイズ項目は、上記機能のソフ
トウェア部分のサイズを示している。例えば、8ビット
RISCMPUハードウェアコアを使用して、JPEG
−1処理を実行するためには、150キロバイトのプロ
グラムを必要とする。なお、DCTハードウェアコアな
どの専用のハードウェアコアを使用する処理は、ソフト
ウェア部分を必要としないため、プログラムサイズは、
「−」で示している。
The program size item indicates the size of the software part of the above function. For example, using an 8-bit RISCMPU hardware core,
In order to execute the -1 processing, a program of 150 kilobytes is required. Note that the processing that uses a dedicated hardware core such as the DCT hardware core does not require a software part, so the program size is
It is indicated by "-".

【0041】記憶領域サイズ項目は、上記機能を実行す
る際に記憶領域として必要とされる記憶容量を示してい
る。
The storage area size item indicates the storage capacity required as a storage area when the above function is executed.

【0042】処理速度項目は、上記機能の処理速度を示
している。単位は、MIPS(MegaInstruction Per Se
cond)である。なお、JPEG−4は、32ビットRI
SCMPUハードウェアコアとDCTハードウェアコア
との組合せであるため、全体のとしての処理速度を示
し、個別の処理速度は示していない(「−」で示してい
る)。また、プリントシーケンスの処理速度を、MIP
Sで表すことは不適当であるため、「−」で示してい
る。
The processing speed item indicates the processing speed of the above function. The unit is MIPS (Mega Instruction Per Se
cond). JPEG-4 is a 32-bit RI.
Since it is a combination of the SCMPU hardware core and the DCT hardware core, the processing speed as a whole is shown, and the individual processing speed is not shown (indicated by "-"). In addition, the processing speed of the print sequence is
Since it is inappropriate to represent by S, it is indicated by "-".

【0043】したがって、メモリカード50に記憶され
ている書換え情報の中から、適用される画像処理機能を
実行するために必要とされる最適なデータを選択し、適
宜読取ることが可能である。
Therefore, from the rewriting information stored in the memory card 50, it is possible to select the optimum data required to execute the applied image processing function and read it as appropriate.

【0044】なお、書換え情報は、スキャナ20に組み
込まれているメモリ22に予め記憶させておくことも可
能である。この場合、メモリカード50は、画像データ
の保存専用となる。さらに、書換え情報は、コンピュー
タ30の記憶装置に予め記憶させておくことも可能であ
る。この場合、スキャナ20からの要求により、書換え
情報が、ケーブル61を経由して、コンピュータ30か
らスキャナ20に転送されることになる。
The rewriting information may be stored in advance in the memory 22 incorporated in the scanner 20. In this case, the memory card 50 is dedicated to storing image data. Further, the rewriting information can be stored in the storage device of the computer 30 in advance. In this case, the rewriting information is transferred from the computer 30 to the scanner 20 via the cable 61 in response to the request from the scanner 20.

【0045】次に、原稿の画像データをメモリカード5
0に保存するためにJPEG圧縮を実行するケースを説
明する。まず、図6を参照し、JPEG圧縮のアルゴリ
ズムを説明する。
Next, the image data of the original is transferred to the memory card 5
A case in which JPEG compression is performed to save 0 will be described. First, the JPEG compression algorithm will be described with reference to FIG.

【0046】原画像を構成する各色8ビットからなるR
GB形式の画像データが入力されると、輝度信号Yと色
差信号CrCbとからなるYCrCb形式の画像データ
に変換される(表色変換)。色差信号CrCbは、間引
き処理が適用され、データ量が圧縮される(サブサンプ
リング)。
R consisting of 8 bits for each color forming the original image
When the image data in the GB format is input, it is converted into the image data in the YCrCb format including the luminance signal Y and the color difference signal CrCb (color conversion). The color difference signal CrCb is subjected to thinning processing to compress the data amount (subsampling).

【0047】そして、画像データは、8×8画素毎にブ
ロックとして分割される。分割された各ブロックは、D
CTが適用されて、DCT係数が得られる。
Then, the image data is divided into blocks of 8 × 8 pixels. Each divided block is D
CT is applied to obtain the DCT coefficients.

【0048】次に、画像の2次元周波数成分であるDC
T係数は、分解能を定める量子化テーブルで割り算さ
れ、その商が量子化値とされる。量子化値は、グループ
化されて、ジグザグ走査により、順次つなぎ合わされ
て、並べ替えられる。
Next, DC which is the two-dimensional frequency component of the image
The T coefficient is divided by a quantization table that determines the resolution, and the quotient is used as the quantized value. The quantized values are grouped and sequentially connected and rearranged by zigzag scanning.

【0049】そして、並び替えられた量子化値に対し
て、算術符号化の一種であるハフマン符号化が適用され
る(ハフマン符号化)。この結果、得られる出力画像デ
ータは、入力画像データに比べて1/10〜1/50程
度のサイズを有するJPEG形式の保存データとなる。
Huffman coding, which is a kind of arithmetic coding, is applied to the rearranged quantized values (Huffman coding). As a result, the obtained output image data becomes JPEG format storage data having a size of about 1/10 to 1/50 as compared with the input image data.

【0050】次に、図7を参照し、FPGA10の書換
え可能なハードウェア領域100に形成されるJPEG
圧縮のための回路モジュールを、JPEG−4の場合を
例にあげて説明する。
Next, referring to FIG. 7, the JPEG formed in the rewritable hardware area 100 of the FPGA 10.
The circuit module for compression will be described by taking the case of JPEG-4 as an example.

【0051】上記アルゴリズムにおけるDCT処理は、
演算量が最も多いため、ソフトウェアで実行する場合と
ハードウェアで実行する場合とで、パフォーマンスに顕
著な差が生じる。したがって、DCT処理のために、D
CTハードウェアコアの回路モジュール101が、形成
される。
The DCT processing in the above algorithm is
Since the amount of calculation is the largest, there is a noticeable difference in performance between execution in software and execution in hardware. Therefore, for DCT processing, D
A circuit module 101 of the CT hardware core is formed.

【0052】また、その他の処理を含めた全体のプロセ
スを制御するためのJPEG処理プログラムコードが記
憶されている回路モジュール102が、形成される。そ
して、JPEG処理プログラムコードを実行するための
マイクロプロセッサとしての32ビットRISCMPU
ハードウェアコアの回路モジュール103と、プログラ
ムの作業領域や演算の途中結果の一時的保存領域や変換
テーブルの保存領域として使用される、プログラムの実
行のために必要とされる記憶領域であるSRAMハード
ウェアコードの回路モジュール104が、形成される。
Further, the circuit module 102 in which the JPEG processing program code for controlling the whole process including other processing is stored is formed. Then, a 32-bit RISCMPU as a microprocessor for executing the JPEG processing program code
The circuit module 103 of the hardware core and the SRAM hardware which is a storage area required for execution of the program, which is used as a work area of the program, a temporary storage area of intermediate results of calculations, and a storage area of the conversion table. An Accord circuit module 104 is formed.

【0053】なお、書換え可能なハードウェア領域10
0において利用可能な記憶領域サイズが不十分である場
合、メモリ11の記憶領域を利用することも可能であ
る。
The rewritable hardware area 10
When the storage area size available at 0 is insufficient, the storage area of the memory 11 can be used.

【0054】また、システムバス28との間でのデータ
転送や、回路モジュール間でのデータ転送を、効率よく
高速で実行するために、DMACハードウェアコアの回
路モジュール105が、形成される。
Further, the circuit module 105 of the DMAC hardware core is formed in order to execute the data transfer with the system bus 28 and the data transfer between the circuit modules efficiently and at high speed.

【0055】したがって、選択された回路モジュールが
形成されたFPGA10において、選択されたプログラ
ムモジュールを実行することによって、適用される画像
処理機能であるJPEG圧縮を、高速に実行できる。な
お、FPGA10は、メモリカード50から転送されて
くる書換え可能なハードウェア領域100を再構成する
ための書換え情報を、受信するためのインターフェイス
106を有している。
Therefore, by executing the selected program module in the FPGA 10 in which the selected circuit module is formed, the applied image processing function JPEG compression can be executed at high speed. The FPGA 10 has an interface 106 for receiving rewrite information for reconfiguring the rewritable hardware area 100 transferred from the memory card 50.

【0056】次に、画像データをプリンタ40で印刷す
るために印刷データ作成を実行するケースを説明する。
まず、図8を参照し、印刷データ作成のアルゴリズムを
説明する。
Next, a case in which print data creation is executed in order to print the image data by the printer 40 will be described.
First, an algorithm for creating print data will be described with reference to FIG.

【0057】原画像を構成する各色8ビットからなるR
GB形式の画像データが入力されると、プリンタ40で
印刷可能な色空間であるYMCK形式の画像データに変
換される(表色変換)。
R consisting of 8 bits for each color forming the original image
When the GB format image data is input, it is converted into YMCK format image data which is a color space printable by the printer 40 (colorimetric conversion).

【0058】画像データは、プリンタ40にセットされ
ている用紙の方向に合致するように、回転させられる。
また、画像データは、用紙のサイズに対応させて、拡大
あるいは縮小される。
The image data is rotated so as to match the direction of the paper set in the printer 40.
Further, the image data is enlarged or reduced according to the size of the paper.

【0059】次に、プリンタ40に対するデータの転送
効率を向上させるために、画像データに対して、JBI
G圧縮が適用される。この結果、得られる印刷データ
は、入力画像データに比べて1/10〜1/50程度の
サイズを有する圧縮データとなる。
Next, in order to improve the data transfer efficiency to the printer 40, JBI is applied to the image data.
G compression is applied. As a result, the obtained print data becomes compressed data having a size of about 1/10 to 1/50 of the size of the input image data.

【0060】次に、図9を参照し、書換え可能なハード
ウェア領域100に形成される印刷データ作成のための
回路モジュールを説明する。
Next, a circuit module for creating print data formed in the rewritable hardware area 100 will be described with reference to FIG.

【0061】上記アルゴリズムにおけるJBIG圧縮処
理は、演算量が最も多いため、ソフトウェアで実行する
場合とハードウェアで実行する場合とで、パフォーマン
スに顕著な差が生じる。したがって、JBIG圧縮処理
のために、JBIGハードウェアコアの回路モジュール
111が、形成される。
Since the JBIG compression processing in the above algorithm has the largest amount of calculation, there is a significant difference in performance between the case where it is executed by software and the case where it is executed by hardware. Therefore, the circuit module 111 of the JBIG hardware core is formed for the JBIG compression process.

【0062】また、回転処理および拡大縮小処理に関し
ても演算量が多いため、回転処理ハードウェアコアおよ
び拡大縮小処理ハードウェアコアの回路モジュール11
2,113が、形成される。
Since a large amount of calculation is required for the rotation processing and the scaling processing, the circuit module 11 of the rotation processing hardware core and the scaling processing hardware core is used.
2,113 are formed.

【0063】また、その他の処理を含めた全体のプロセ
スを制御するための印刷データ作成処理プログラムコー
ドが記憶されている回路モジュール114が、形成され
る。そして、上記回路モジュール111〜113のシー
ケンス制御のためのマイクロプロセッサとしての16ビ
ットRISCMPUハードウェアコアの回路モジュール
115と、プログラムの実行のために必要とされる記憶
領域であるDRAMハードウェアコードの回路モジュー
ル116が、形成される。
Further, the circuit module 114 in which the print data creation processing program code for controlling the whole process including other processing is stored is formed. A circuit module 115 of a 16-bit RISCMPU hardware core as a microprocessor for sequence control of the circuit modules 111 to 113, and a circuit module of a DRAM hardware code which is a storage area required for executing a program. 116 is formed.

【0064】また、JPEG圧縮の場合と同様に、DM
ACハードウェアコアの回路モジュール105およびイ
ンターフェイス106が、形成されている。
As in the case of JPEG compression, DM
The circuit module 105 and the interface 106 of the AC hardware core are formed.

【0065】したがって、JPEG圧縮の場合と同様
に、適用される画像処理機能である印刷データ作成を、
高速に実行できる。
Therefore, as in the case of JPEG compression, print data creation, which is the image processing function to be applied,
It can be executed at high speed.

【0066】次に、図10を参照し、スキャナ20の動
作を説明する。
Next, the operation of the scanner 20 will be described with reference to FIG.

【0067】まず、電源投入直後において、各種パラメ
ータの初期化や回路の動作チェック等の初期設定が実行
される(ステップS1)。
Immediately after the power is turned on, various parameters are initialized and circuit operations are checked (step S1).

【0068】そして、コンピュータ30の表示装置の画
面に表示されているコマンドボタン33「スキャン」
が、マウスによってクリックされると(ステップS2:
YES)、画像読取部23の所定の読み取り位置にセッ
トされた原稿の画像が読取られ、画像データが生成され
る(ステップS3)。
Then, the command button 33 "scan" displayed on the screen of the display device of the computer 30.
Is clicked by the mouse (step S2:
YES), the image of the document set at the predetermined reading position of the image reading unit 23 is read, and the image data is generated (step S3).

【0069】詳しくは、CCDイメージセンサが、原稿
の画像に対応するアナログ信号を生成し、A/D変換器
が、アナログ信号をデジタル信号に変換する。なお、デ
ジタル信号は、メモリ22に、画像データとして一時的
に保存される。
Specifically, the CCD image sensor generates an analog signal corresponding to the image of the original, and the A / D converter converts the analog signal into a digital signal. The digital signal is temporarily stored in the memory 22 as image data.

【0070】そして、表示装置の表示可能な画素数に対
応させて縮小するために、間引き処理を実行することで
生成された画像データ32が、コンピュータ30の表示
装置の画面に表示される(ステップS4)。
Then, the image data 32 generated by executing the thinning-out process is displayed on the screen of the display device of the computer 30 in order to reduce the number of displayable pixels of the display device (step). S4).

【0071】次に、画面に表示されているコマンドボタ
ン33「スキャン」が、マウスによってクリックされた
か否かが判断される(ステップS5)。ステップS5の
判断が肯定である場合、プロセスは、ステップS3に復
帰する。
Next, it is determined whether or not the command button 33 "scan" displayed on the screen is clicked by the mouse (step S5). If the determination in step S5 is affirmative, the process returns to step S3.

【0072】ステップS5の判断が否定である場合、さ
らに、画面に表示されているコマンドボタン34「保
存」が、マウスによってクリックされたか否かが判断さ
れる(ステップS6)。
When the determination in step S5 is negative, it is further determined whether or not the command button 34 "save" displayed on the screen is clicked by the mouse (step S6).

【0073】ステップS6の判断が肯定である場合、J
PEG圧縮を実行するための書換え情報を受信するため
の処理(データ保存用受信処理)が実行される(ステッ
プS7)。
If the determination in step S6 is affirmative, J
A process for receiving the rewrite information for executing the PEG compression (data storage reception process) is executed (step S7).

【0074】その後、書換え情報に基づいて、書換え可
能なハードウェア領域100を再構成することによっ
て、図7に示されるような回路モジュールが形成される
(ステップS8)。また、FPGA10において、選択
されたプログラムモジュールが実行されることによっ
て、JPEG圧縮が実行される(ステップS9)。
After that, the rewritable hardware area 100 is reconfigured based on the rewriting information to form a circuit module as shown in FIG. 7 (step S8). In addition, the JPEG compression is executed by executing the selected program module in the FPGA 10 (step S9).

【0075】そして、JPEG形式の圧縮データは、メ
モリカード50のページメモリエリア54に保存される
(ステップS10)。
Then, the JPEG format compressed data is stored in the page memory area 54 of the memory card 50 (step S10).

【0076】なお、メモリカード50は、脱着可能な記
録媒体である。したがって、例えば、メモリカードスロ
ットを有するポータブル型コンピュータや、メモリカー
ドリーダが接続されたデスクトップ型コンピュータを使
用して、メモリカード50に記憶されている画像データ
を読取り、当該画像データを画面に表示したり、各種ア
プリケーションで編集することも可能である。
The memory card 50 is a removable recording medium. Therefore, for example, a portable computer having a memory card slot or a desktop computer to which a memory card reader is connected is used to read the image data stored in the memory card 50 and display the image data on the screen. It is also possible to edit with various applications.

【0077】一方、ステップS6の判断が否定である場
合、さらに、画面に表示されているコマンドボタン35
「印刷」が、マウスによってクリックされたか否かが判
断される(ステップS11)。
On the other hand, when the determination in step S6 is negative, the command button 35 displayed on the screen is further added.
It is determined whether or not "print" is clicked by the mouse (step S11).

【0078】ステップS11の判断が否定である場合、
プロセスは終了する。一方、ステップS11の判断が肯
定である場合、印刷データ作成を実行するための書換え
情報を、受信するための処理(データ印刷用受信処理)
が実行される(ステップS12)。
If the determination in step S11 is negative,
The process ends. On the other hand, if the determination in step S11 is affirmative, the process for receiving the rewrite information for executing the print data creation (data print reception process)
Is executed (step S12).

【0079】その後、書換え情報に基づいて、FPGA
10の書換え可能なハードウェア領域100を再構成す
ることによって、図9に示されるような回路モジュール
が形成される(ステップS13)。また、FPGA10
において、選択されたプログラムモジュールが実行され
ることによって、印刷データ作成が実行される(ステッ
プS14)。
Then, based on the rewriting information, the FPGA
By reconfiguring the rewritable hardware area 100 of 10, the circuit module as shown in FIG. 9 is formed (step S13). In addition, FPGA10
In, the print data creation is executed by executing the selected program module (step S14).

【0080】そして、印刷データは、プリンタ40に出
力される(ステップS15)。
Then, the print data is output to the printer 40 (step S15).

【0081】なお、ドライバソフトウェアがインストー
ルされたコンピュータ30によって、スキャナ20の動
作を間接的に指示する上記構成に加え、スキャナ20の
操作パネル24を使用して、スキャナ20の動作を直接
指示する構成を採用することも可能である。
In addition to the above-described configuration in which the operation of the scanner 20 is indirectly instructed by the computer 30 in which the driver software is installed, the operation panel 24 of the scanner 20 is used to directly instruct the operation of the scanner 20. It is also possible to adopt.

【0082】次に、図11を参照し、データ保存用受信
処理を詳細に説明する。
Next, the data storage receiving process will be described in detail with reference to FIG.

【0083】まず、装置条件として、FPGA10にお
いて構成可能な最大ゲート数および利用可能な最大記憶
領域サイズが、設定される(ステップS101)。例え
ば、最大ゲート数および最大記憶領域サイズは、それぞ
れ、150Kゲートおよび512Kバイトとする。
First, as the device conditions, the maximum number of gates that can be configured in the FPGA 10 and the maximum available storage area size are set (step S101). For example, the maximum number of gates and the maximum storage area size are 150K gates and 512K bytes, respectively.

【0084】また、適用される画像処理機能として、J
PEG圧縮が設定される(ステップS102)。
As an applied image processing function, J
PEG compression is set (step S102).

【0085】次に、メモリカード50に記憶されている
コードライブラリテーブル53に保持されている仕様情
報が参照され、JPEG圧縮に必要とされるハードウェ
ア情報51およびソフトウェア情報52が、選択される
(ステップS103)。
Next, the specification information held in the code library table 53 stored in the memory card 50 is referred to, and the hardware information 51 and software information 52 required for JPEG compression are selected (( Step S103).

【0086】例えば、JPEG−5は、最大の処理速度
を有するが、ゲート数として200Kを必要とするた
め、装置条件を満たさない。次に処理速度が優れている
JPEG−4は、ゲート数として100Kおよび記憶領
域サイズとして192Kバイトを必要しており、装置条
件を満たしている。したがって、JPEG−4が選択さ
れる。
For example, JPEG-5 has the maximum processing speed, but since it requires 200K as the number of gates, it does not satisfy the device condition. Next, JPEG-4, which has the next highest processing speed, requires 100K as the number of gates and 192K bytes as the storage area size, which satisfies the device conditions. Therefore, JPEG-4 is selected.

【0087】つまり、装置条件を満たす最大の処理速度
を有するタイプを選択するアルゴリズムが、適用されて
いる。
That is, the algorithm for selecting the type having the maximum processing speed satisfying the device condition is applied.

【0088】その後、選択されたJPEG−4に対応す
るハードウェア情報51およびソフトウェア情報52か
らなる書換え情報が、メモリカード50から読取られる
(ステップS104)。
After that, the rewriting information consisting of the hardware information 51 and the software information 52 corresponding to the selected JPEG-4 is read from the memory card 50 (step S104).

【0089】次に、図12を参照し、データ印刷用受信
処理を詳細に説明する。
Next, the data print reception process will be described in detail with reference to FIG.

【0090】まず、装置条件として、FPGA10にお
いて構成可能な最大ゲート数および利用可能な最大記憶
領域サイズが設定される(ステップS111)。例え
ば、最大ゲート数および最大記憶領域サイズは、それぞ
れ、150Kゲートおよび512Kバイトとする。
First, as the device conditions, the maximum number of gates that can be configured in the FPGA 10 and the maximum available storage area size are set (step S111). For example, the maximum number of gates and the maximum storage area size are 150K gates and 512K bytes, respectively.

【0091】また、適用される画像処理機能として、J
BIG圧縮処理と回転処理および拡大縮小処理からなる
印刷データ作成が、設定される(ステップS112)。
As an applied image processing function, J
Print data creation including BIG compression processing, rotation processing, and enlargement / reduction processing is set (step S112).

【0092】次に、メモリカード50に記憶されている
コードライブラリテーブル53に保持されている仕様情
報が参照され、印刷データ作成に必要とされるハードウ
ェア情報51およびソフトウェア情報52が、選択され
る(ステップS113)。
Next, the specification information held in the code library table 53 stored in the memory card 50 is referred to, and the hardware information 51 and software information 52 required for creating print data are selected. (Step S113).

【0093】例えば、JBIG−4とScaler−3
とRotator−4の組合せは、最大の処理速度を有
する。しかし、ゲート数および記憶領域サイズに関し、
JBIG−4、Scaler−3およびRotator
−4は、それぞれ、100Kと128Kバイト、5Kと
16Kバイト、および、5Kと1024Kバイトであ
り、合計の記憶領域サイズが、装置条件を満たさない。
つまり、回転処理のRotator−4に必要とされる
記憶領域サイズが、装置条件である512Kバイトを越
えている。
For example, JBIG-4 and Scaler-3
And Rotator-4 combination has the highest processing speed. However, regarding the number of gates and storage area size,
JBIG-4, Scaler-3 and Rotator
-4 is 100 K and 128 K bytes, 5 K and 16 K bytes, and 5 K and 1024 K bytes, respectively, and the total storage area size does not satisfy the device condition.
That is, the storage area size required for Rotator-4 for rotation processing exceeds 512 Kbytes, which is a device condition.

【0094】一方、次に処理速度が優れているRota
tor−3は、ゲート数として5Kおよび記憶領域サイ
ズとして16Kバイトを必要している。したがって、ゲ
ート数として20Kおよび記憶領域サイズとして32K
バイトを必要とするシーケンス制御を実行する16ビッ
トRISCMPUを考慮しても、印刷データ作成のため
に必要なゲート数および記憶領域サイズは、130Kお
よび208Kバイトとなるため、装置条件を満たしてい
る。つまり、JBIG−4とScaler−3とRot
ator−3の組み合わせが選択される。
On the other hand, Rota has the next highest processing speed.
The tor-3 requires 5K as the number of gates and 16K bytes as the storage area size. Therefore, the number of gates is 20K and the storage area size is 32K.
Even considering a 16-bit RISCMPU that executes a sequence control that requires bytes, the number of gates and the storage area size required for creating print data are 130K and 208K bytes, which satisfies the device condition. That is, JBIG-4, Scaler-3, and Rot
A combination of attor-3 is selected.

【0095】その後、選択された組合せに対応するハー
ドウェア情報51およびソフトウェア情報52からなる
書換え情報が、メモリカード50から読取られる(ステ
ップS114)。
After that, the rewriting information consisting of the hardware information 51 and the software information 52 corresponding to the selected combination is read from the memory card 50 (step S114).

【0096】以上のように、画像処理機能を容易に変更
あるいは追加可能であり、かつ処理速度に優れている。
As described above, the image processing function can be easily changed or added, and the processing speed is excellent.

【0097】次に、本発明の実施の形態2に係るデジタ
ルカメラを説明する。なお、実施の形態1と同様の機能
を有する部材については類似する符号を使用し、重複を
避けるため、その説明を省略する。
Next, a digital camera according to the second embodiment of the present invention will be described. It should be noted that members having the same functions as those in the first embodiment are denoted by similar reference numerals, and the description thereof will be omitted to avoid duplication.

【0098】図13に示されるように、画像処理装置で
あるデジタルカメラ220は、ケーブル261,262
を介して、コンピュータ230およびプリンタ240に
接続される。また、デジタルカメラ220は、脱着可能
な記録媒体であるメモリカード250用のスロットを有
している。
As shown in FIG. 13, the digital camera 220, which is an image processing apparatus, includes cables 261 and 262.
The computer 230 and the printer 240 are connected via. The digital camera 220 also has a slot for a memory card 250, which is a removable recording medium.

【0099】デジタルカメラ220は、図14に示され
るように、制御部221、メモリ211,222、撮像
部223、操作パネル224、FPGA210、メモリ
カード部225、インタフェース226,227を有
し、これらは、システムバス228を経由して相互に接
続されている。
As shown in FIG. 14, the digital camera 220 has a control section 221, memories 211 and 222, an image pickup section 223, an operation panel 224, an FPGA 210, a memory card section 225, and interfaces 226 and 227. , Are connected to each other via a system bus 228.

【0100】撮像部223は、CCD(Charge Coupled
Device)イメージセンサとA/D変換器とを有してお
り、被写体の光学像からアナログ信号を生成し、当該ア
ナログ信号をデジタル変換することによって、デジタル
画像データを出力する。
The image pickup section 223 is a CCD (Charge Coupled).
Device) image sensor and an A / D converter, which generates an analog signal from an optical image of a subject and digitally converts the analog signal to output digital image data.

【0101】操作パネル224は、図15に示されるよ
うに、撮影した画像232や各種メッセージを表示する
ために使用される液晶表示器231と、各種キー233
〜236と、電源スイッチ237を有している、撮影キ
ー233は、被写体の光学像の画像データを生成するた
めに使用される。保存キー234は、画像データを圧縮
してメモリカード250に記憶するために使用される。
印刷キー235は、画像データから印刷データを作成
し、プリンタ240に送信して印刷させるために使用さ
れる。転送キー236は、メモリカード250に記憶さ
れている画像データをコンピュータ230に送信するた
めに使用される。
As shown in FIG. 15, the operation panel 224 includes a liquid crystal display 231 used for displaying a photographed image 232 and various messages, and various keys 233.
˜236 and a power switch 237, the photographing key 233 is used to generate image data of an optical image of a subject. The save key 234 is used to compress the image data and store it in the memory card 250.
The print key 235 is used to create print data from image data and send the print data to the printer 240 for printing. The transfer key 236 is used to send the image data stored in the memory card 250 to the computer 230.

【0102】次に、図16を参照し、デジタルカメラ2
20の動作を説明する。
Next, referring to FIG. 16, the digital camera 2
The operation of 20 will be described.

【0103】まず、電源スイッチ237が押圧される
と、各種パラメータの初期化や回路の動作チェック等の
初期設定が実行される(ステップS201)。
First, when the power switch 237 is pressed, initialization such as initialization of various parameters and circuit operation check is executed (step S201).

【0104】そして、操作パネル224の撮影キー23
3が、押圧されると(ステップS202:YES)、撮
像部223によって被写体の画像データが生成される
(ステップS203)。なお、デジタル信号は、メモリ
222に、画像データとして一時的に保存される。
Then, the photographing key 23 on the operation panel 224
When 3 is pressed (step S202: YES), the image capturing unit 223 generates image data of the subject (step S203). The digital signal is temporarily stored in the memory 222 as image data.

【0105】また、画像データは、操作パネル224の
液晶表示器231の画面に表示される(ステップS20
4)。なお、画像データ232は、液晶表示器231の
表示可能な画素数に対応させて縮小するために、間引き
処理を実行することで、生成される。
The image data is displayed on the screen of the liquid crystal display 231 of the operation panel 224 (step S20).
4). The image data 232 is generated by executing a thinning process in order to reduce the number of pixels that can be displayed by the liquid crystal display 231.

【0106】次に、撮影キー233が、押圧されたか否
かが判断される(ステップS205)。ステップS20
5の判断が肯定である場合、プロセスは、ステップS2
03に復帰する。
Next, it is determined whether or not the photographing key 233 has been pressed (step S205). Step S20
If the determination in 5 is affirmative, the process proceeds to step S2.
Return to 03.

【0107】ステップS205の判断が否定である場
合、さらに、画面に表示されている保存キー234が、
押圧されたか否かが判断される(ステップS206)。
If the determination in step S205 is negative, the save key 234 displayed on the screen is
It is determined whether or not it has been pressed (step S206).

【0108】ステップS206の判断が肯定である場
合、JPEG圧縮を実行するための書換え情報を受信す
るための処理(データ保存用受信処理)が実行される
(ステップS207)。
When the determination in step S206 is affirmative, the process for receiving the rewriting information for executing the JPEG compression (data storage receiving process) is executed (step S207).

【0109】その後、書換え情報に基づいて、FPGA
210の書換え可能なハードウェア領域100を再構成
することによって、回路モジュールが形成される(ステ
ップS208)。また、FPGA210において、選択
されたプログラムモジュールが実行されることによっ
て、JPEG圧縮が実行される(ステップS209)。
Then, based on the rewriting information, the FPGA
A circuit module is formed by reconfiguring the rewritable hardware area 100 of 210 (step S208). In addition, the JPEG compression is executed by executing the selected program module in the FPGA 210 (step S209).

【0110】そして、JPEG形式の圧縮データは、メ
モリカード250のページメモリエリアに保存される
(ステップS210)。
Then, the compressed data in the JPEG format is stored in the page memory area of the memory card 250 (step S210).

【0111】一方、ステップS206の判断が否定であ
る場合、さらに、印刷キー235が、押圧されたか否か
が判断される(ステップS211)。
On the other hand, if the determination in step S206 is negative, it is further determined whether or not the print key 235 has been pressed (step S211).

【0112】ステップS211の判断が否定である場
合、プロセスは終了する。一方、ステップS211の判
断が肯定である場合、印刷データ作成処理を実行するた
めの書換え情報を、受信するための処理(データ印刷用
受信処理)が実行される(ステップS212)。
If the determination in step S211 is negative, the process ends. On the other hand, if the determination in step S211 is affirmative, the process for receiving the rewriting information for executing the print data creation process (data printing reception process) is executed (step S212).

【0113】その後、書換え情報に基づいて、FPGA
210の書換え可能なハードウェア領域を再構成するこ
とによって、回路モジュールが形成される(ステップS
213)。また、FPGA210において、選択された
プログラムモジュールが実行されることによって、印刷
データ作成が実行される(ステップS214)。
After that, based on the rewriting information, the FPGA
A circuit module is formed by reconfiguring the rewritable hardware area of 210 (step S).
213). In addition, print data creation is executed by executing the selected program module in the FPGA 210 (step S214).

【0114】そして、印刷データは、プリンタ40に出
力される(ステップS215)。
Then, the print data is output to the printer 40 (step S215).

【0115】以上のように、実施の形態2に係るデジタ
ルカメラ220は、実施の形態1に係るスキャナ20と
同様に、画像処理機能を容易に変更あるいは追加可能で
あり、かつ処理速度に優れている。
As described above, the digital camera 220 according to the second embodiment, like the scanner 20 according to the first embodiment, can easily change or add the image processing function and is excellent in processing speed. There is.

【0116】本発明は、上述した実施の形態に限定され
るものではなく、特許請求の範囲の範囲内で種々改変す
ることができる。
The present invention is not limited to the above-mentioned embodiments, but can be variously modified within the scope of the claims.

【0117】例えば、図17に示されるように、書換え
情報を、外部のサーバ370の記憶装置に保持すること
も可能である。この場合、画像処理装置320は、ネッ
トワークインタフェースカード(NIC)からなる通信
インタフェースを有し、外部のサーバ370の記憶装置
に保持される書換え情報は、画像処理装置320からの
要求に応じて、ネットワーク380を経由して、画像処
理装置320に転送される。
For example, as shown in FIG. 17, the rewriting information can be held in the storage device of the external server 370. In this case, the image processing device 320 has a communication interface composed of a network interface card (NIC), and the rewriting information held in the storage device of the external server 370 is stored in the network in response to a request from the image processing device 320. It is transferred to the image processing device 320 via 380.

【0118】ネットワーク380は、例えば、TCP/
IP(Transmission Control Protocol/Internet Proto
col)ベースのプロトコルに基づいた構内情報通信網
(LAN)、広域情報通信網(WAN)あるいはインタ
ーネット、またはこれらの組み合わせである。
The network 380 is, for example, TCP /
IP (Transmission Control Protocol / Internet Proto)
col) based protocol, a local area network (LAN), a wide area information network (WAN), the Internet, or a combination thereof.

【0119】また、ネットワーク380に係るデータリ
ンクは、例えば、イーサネット(登録商標)あるいはF
DDI(Fiber Distributed Data Interface)である。
さらに、ネットワーク380に係る物理層として、IE
EE802.11などの無線LANを適用することも可
能である。
The data link relating to the network 380 is, for example, Ethernet (registered trademark) or F
DDI (Fiber Distributed Data Interface).
Further, as a physical layer related to the network 380, the IE
It is also possible to apply a wireless LAN such as EE802.11.

【0120】なお、画像処理装置320において生成さ
れる画像データは、保管のためにクライアントコンピュ
ータ330に送信されたり、印刷のためにプリンタ34
0に送信される。
The image data generated by the image processing device 320 is transmitted to the client computer 330 for storage, or the printer 34 for printing.
Sent to 0.

【0121】また、画像処理装置は、スキャナやデジタ
ルカメラの形態に限定されず、例えば、携帯電話やコン
ピュータの形態を有することも可能である。
Further, the image processing apparatus is not limited to the form of a scanner or a digital camera, and may have the form of a mobile phone or a computer, for example.

【0122】例えば、図18に示される携帯電話420
の場合、外部のサーバ470の記憶装置に保持される書
換え情報は、携帯電話420からの要求に応じて、ネッ
トワーク480、アクセスサーバ481、携帯電話網や
一般電話網やISDN電話網を含んでいる電話ネットワ
ーク482、基地局483を経由して、携帯電話420
に転送される。
For example, the mobile phone 420 shown in FIG.
In this case, the rewriting information stored in the storage device of the external server 470 includes the network 480, the access server 481, the mobile phone network, the general phone network, and the ISDN phone network in response to the request from the mobile phone 420. Mobile phone 420 via telephone network 482 and base station 483
Transferred to.

【0123】また、携帯電話に対して、実施の形態1お
よび実施の形態2と同様に、メモリカード用のスロット
や、外部機器とケーブルで接続するためのインタフェー
スを、設けることも可能である。
Further, as in the first and second embodiments, it is possible to provide a cell phone with a slot for a memory card and an interface for connecting to an external device with a cable.

【0124】また、上述した本発明の実施の形態には、
特許請求の範囲の請求項1〜5に記載した発明以外に
も、以下の付記1〜10に示すような発明が含まれる。
Further, in the above-described embodiment of the present invention,
In addition to the inventions described in claims 1 to 5 of the claims, inventions as shown in the following supplementary notes 1 to 10 are included.

【0125】[付記1] 前記受信手段は、ネットワー
クインタフェースカードを有し、前記外部機器は、ネッ
トワークを介して接続されていることを特徴とする請求
項4に記載の画像処理装置。
[Supplementary Note 1] The image processing apparatus according to claim 4, wherein the receiving unit has a network interface card, and the external device is connected via a network.

【0126】[付記2] 脱着可能な記録媒体に記憶さ
れている前記回路モジュールの情報およびプログラムモ
ジュールを読取るための読取り手段を、さらに有するこ
とを特徴とする請求項1に記載の画像処理装置。
[Supplementary Note 2] The image processing apparatus according to claim 1, further comprising a reading unit for reading the information of the circuit module and the program module stored in a removable recording medium.

【0127】[付記3] 前記回路モジュールとプログ
ラムモジュールとの組合せは、前記書換え可能なハード
ウェア領域において書換え可能なゲート数および又はプ
ログラムモジュールを記憶するために利用可能な記憶領
域サイズに基づいて、選択されることを特徴とする請求
項1に記載の画像処理装置。
[Supplementary Note 3] The combination of the circuit module and the program module is based on the number of rewritable gates in the rewritable hardware area and / or the storage area size available for storing the program module. The image processing apparatus according to claim 1, wherein the image processing apparatus is selected.

【0128】[付記4] 前記画像処理機能は、画像デ
ータから印刷データを作成するために適用されることを
特徴とする請求項1に記載の画像処理装置。
[Supplementary Note 4] The image processing apparatus according to claim 1, wherein the image processing function is applied to create print data from image data.

【0129】[付記5] 前記画像処理機能は、画像デ
ータを圧縮して保存するために適用されることを特徴と
する請求項1に記載の画像処理装置。
[Supplementary Note 5] The image processing apparatus according to claim 1, wherein the image processing function is applied to compress and store image data.

【0130】[付記6] 前記書換え情報は、選択され
たプログラムモジュールを記憶するための回路モジュー
ルの情報と、選択されたプログラムモジュールを実行す
るための記憶領域として使用するための回路モジュール
の情報とを、さらに含んでいることを特徴とする請求項
1に記載の画像処理装置。
[Supplementary Note 6] The rewriting information includes information on a circuit module for storing the selected program module and information on a circuit module for use as a storage area for executing the selected program module. The image processing apparatus according to claim 1, further comprising:

【0131】[付記7] 前記受信手段は、シリアルイ
ンタフェースを有し、前記外部機器は、シリアル接続さ
れていることを特徴とする請求項4に記載の画像処理装
置。
[Supplementary Note 7] The image processing apparatus according to claim 4, wherein the receiving unit has a serial interface, and the external device is serially connected.

【0132】[付記8] 前記記録媒体は、メモリカー
ドからなることを特徴とする請求項4に記載の画像処理
装置。
[Supplementary Note 8] The image processing apparatus according to claim 4, wherein the recording medium is a memory card.

【0133】[付記9] 原稿の画像を読み取って、画
像データを生成するための画像読取手段をさらに有し、
前記画像処理は、前記画像データに対して適用されるこ
とを特徴とする請求項1に記載の画像処理装置。
[Supplementary Note 9] An image reading unit for reading an image on a document to generate image data is further provided.
The image processing apparatus according to claim 1, wherein the image processing is applied to the image data.

【0134】[付記10] 被写体の光学像から画像デ
ータを生成するための撮像手段をさらに有し、前記画像
処理は、前記画像データに対して適用されることを特徴
とする請求項1に記載の画像処理装置。
[Supplementary Note 10] An image pickup device for generating image data from an optical image of a subject is further provided, and the image processing is applied to the image data. Image processing device.

【0135】[0135]

【発明の効果】以上説明した本発明によれば、画像処理
機能を容易に変更あるいは追加可能であり、かつ、当該
画像処理機能は処理速度に優れている。
According to the present invention described above, the image processing function can be easily changed or added, and the image processing function is excellent in processing speed.

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

【図1】 本発明の実施の形態1に係るスキャナを説明
するための画像処理システムの構成図である。
FIG. 1 is a configuration diagram of an image processing system for explaining a scanner according to a first embodiment of the present invention.

【図2】 画像処理システムに係るコンピュータの表示
画面の一例を示している図である。
FIG. 2 is a diagram showing an example of a display screen of a computer according to the image processing system.

【図3】 スキャナのブロック図である。FIG. 3 is a block diagram of a scanner.

【図4】 スキャナに設けられるスロットに挿入される
メモリカードの構成を説明するためのブロック図であ
る。
FIG. 4 is a block diagram for explaining the configuration of a memory card inserted into a slot provided in the scanner.

【図5】 図4に示されているコードライブラリテーブ
ルを説明するための図である。
5 is a diagram for explaining a code library table shown in FIG. 4. FIG.

【図6】 スキャナにおいて実行されるJPEG圧縮の
アルゴリズムを説明するためのブロック図である。
FIG. 6 is a block diagram for explaining an algorithm of JPEG compression executed in a scanner.

【図7】 スキャナが有するFPGAの書換え可能なハ
ードウェア領域に形成されるJPEG圧縮のための回路
モジュールを説明するための図である。
FIG. 7 is a diagram illustrating a circuit module for JPEG compression formed in a rewritable hardware area of an FPGA included in a scanner.

【図8】 スキャナにおいて実行される印刷データ作成
のアルゴリズムを説明するためのブロック図である。
FIG. 8 is a block diagram for explaining an algorithm for creating print data executed by the scanner.

【図9】 スキャナが有するFPGAの書換え可能なハ
ードウェア領域に形成される印刷データ作成のための回
路モジュールを説明するためのブロック図である。
FIG. 9 is a block diagram illustrating a circuit module for creating print data, which is formed in a rewritable hardware area of an FPGA included in a scanner.

【図10】 スキャナの動作を説明するためのフローチ
ャートである。
FIG. 10 is a flowchart for explaining the operation of the scanner.

【図11】 図10に示されるデータ保存用受信処理を
説明するためのフローチャートである。
FIG. 11 is a flowchart for explaining the data storage reception process shown in FIG.

【図12】 図10に示されるデータ印刷用受信処理を
説明するためのフローチャートである。
FIG. 12 is a flowchart for explaining the data print reception process shown in FIG.

【図13】 本発明の実施の形態2に係るデジタルカメ
ラを説明するための画像処理システムの構成図である。
FIG. 13 is a configuration diagram of an image processing system for explaining a digital camera according to a second embodiment of the present invention.

【図14】 デジタルカメラのブロック図である。FIG. 14 is a block diagram of a digital camera.

【図15】 デジタルカメラの操作パネルの一例を示し
ている図である。
FIG. 15 is a diagram showing an example of an operation panel of a digital camera.

【図16】 デジタルカメラの動作を説明するためのフ
ローチャートである。
FIG. 16 is a flowchart for explaining the operation of the digital camera.

【図17】 本発明の実施の形態3に係る画像処理装置
を説明するための構成図である。
FIG. 17 is a configuration diagram for explaining an image processing apparatus according to a third embodiment of the present invention.

【図18】 本発明の実施の形態4に係る携帯電話を説
明するための構成図である。
FIG. 18 is a configuration diagram for explaining a mobile phone according to a fourth embodiment of the present invention.

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

10,210…FPGA、 11…メモリ、 20…スキャナ、 21…制御部、 11,22…メモリ、 23…画像読取部、 24…操作パネル、 25…メモリカード部、 26,27…インタフェース、 28…システムバス、 30,230,330…コンピュータ、 31…表示画面、 33〜35…コマンドボタン、 40,240,340…プリンタ、 50,250…メモリカード、 51…ハードウェア情報、 52…ソフトウェア情報、 53…コードライブラリテーブル、 54…ページメモリエリア、 61,62,261,261…ケーブル、 220…デジタルカメラ、 221…制御部、 211,222…メモリ、 223…撮像部、 224…操作パネル、 225…メモリカード部、 226,227…インタフェース、 228…システムバス、 320…画像処理装置、 370,470…サーバ、 380,480…ネットワーク、 420…携帯電話、 481…アクセスサーバ、 482…電話網、 483…基地局。 10, 210 ... FPGA, 11 ... memory, 20 ... Scanner, 21 ... Control unit, 11, 22 ... Memory, 23 ... Image reading unit, 24 ... Operation panel, 25 ... Memory card section, 26, 27 ... Interface, 28 ... system bus, 30, 230, 330 ... Computer, 31 ... Display screen, 33-35 ... command buttons, 40, 240, 340 ... Printer, 50,250 ... memory card, 51 ... Hardware information, 52 ... Software information, 53 ... Code library table, 54 ... page memory area, 61, 62, 261, 261 ... Cable, 220 ... digital camera, 221 ... Control unit, 211, 222 ... memory, 223 ... Imaging unit, 224 ... Operation panel, 225 ... a memory card section, 226, 227 ... Interface, 228 ... system bus, 320 ... Image processing device, 370, 470 ... Server, 380, 480 ... Network, 420 ... cell phone, 481 ... access server, 482 ... telephone network, 483 ... Base station.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 三堀 俊幸 大阪市中央区安土町二丁目3番13号 大阪 国際ビル ミノルタ株式会社内 Fターム(参考) 5B057 AA01 CH01 CH11 CH16 CH18   ─────────────────────────────────────────────────── ─── Continued front page    (72) Inventor Toshiyuki Mitsuhori             2-3-3 Azuchi-cho, Chuo-ku, Osaka             Kokusai Building Minolta Co., Ltd. F term (reference) 5B057 AA01 CH01 CH11 CH16 CH18

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 書換え可能なハードウェア領域を有する
半導体素子と、 適用される画像処理機能を実行するために必要とされる
回路モジュールとプログラムモジュールとの組合せを、
選択するための選択手段と、 選択された回路モジュールの情報を含んでいる書換え情
報に基づいて、前記書換え可能なハードウェア領域を再
構成することによって、前記回路モジュールを形成する
ための再構成手段とを有し、 前記回路モジュールが形成された前記半導体素子におい
て、選択されたプログラムモジュールが実行されること
を特徴とする画像処理装置。
1. A combination of a semiconductor device having a rewritable hardware area and a circuit module and a program module required to execute an applied image processing function,
Reconfiguring means for forming the circuit module by reconfiguring the rewritable hardware area based on reselecting means for selecting and rewriting information including information on the selected circuit module. And a selected program module is executed in the semiconductor element in which the circuit module is formed.
【請求項2】 前記半導体素子は、フィールド・プログ
ラマブル・ゲートアレイからなることを特徴とする請求
項1に記載の画像処理装置。
2. The image processing apparatus according to claim 1, wherein the semiconductor element comprises a field programmable gate array.
【請求項3】 前記回路モジュールの情報およびプログ
ラムモジュールが記憶されている記憶手段を、さらに有
することを特徴とする請求項1に記載の画像処理装置。
3. The image processing apparatus according to claim 1, further comprising a storage unit that stores information on the circuit module and a program module.
【請求項4】 外部機器から送信される前記回路モジュ
ールの情報およびプログラムモジュールを、受信するた
めの受信手段を、さらに有することを特徴とする請求項
1に記載の画像処理装置。
4. The image processing apparatus according to claim 1, further comprising a receiving unit for receiving the information of the circuit module and the program module transmitted from an external device.
【請求項5】 適用される画像処理機能を実行するため
に必要とされる回路モジュールとプログラムモジュール
との組合せを、選択するためのステップと、 選択された回路モジュールの情報を含んでいる書換え情
報に基づいて、半導体素子の書換え可能なハードウェア
領域を再構成することによって、前記回路モジュールを
形成するためのステップと、 前記回路モジュールが形成された半導体素子において、
選択されたプログラムモジュールを実行するステップと
を有することを特徴とする画像処理方法。
5. A step for selecting a combination of a circuit module and a program module required to execute an applied image processing function, and rewriting information including information on the selected circuit module. Based on, by reconfiguring the rewritable hardware area of the semiconductor element, a step for forming the circuit module, in the semiconductor element in which the circuit module is formed,
And a step of executing the selected program module.
JP2001348726A 2001-11-14 2001-11-14 Image processor and image processing method Pending JP2003150949A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001348726A JP2003150949A (en) 2001-11-14 2001-11-14 Image processor and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001348726A JP2003150949A (en) 2001-11-14 2001-11-14 Image processor and image processing method

Publications (2)

Publication Number Publication Date
JP2003150949A true JP2003150949A (en) 2003-05-23
JP2003150949A5 JP2003150949A5 (en) 2005-06-16

Family

ID=19161503

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001348726A Pending JP2003150949A (en) 2001-11-14 2001-11-14 Image processor and image processing method

Country Status (1)

Country Link
JP (1) JP2003150949A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005236635A (en) * 2004-02-19 2005-09-02 Sony Corp Signal processing apparatus, signal processing method, and command string data structure
US7630576B2 (en) 2004-02-19 2009-12-08 Sony Corporation Signal processing apparatus and method, and command-sequence data structure
JP2009289265A (en) * 2008-05-28 2009-12-10 Toshiba Corp Image processor and image processing method
JP2010045764A (en) * 2008-06-18 2010-02-25 Ricoh Co Ltd Control unit and method of controlling the same

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005236635A (en) * 2004-02-19 2005-09-02 Sony Corp Signal processing apparatus, signal processing method, and command string data structure
US7630576B2 (en) 2004-02-19 2009-12-08 Sony Corporation Signal processing apparatus and method, and command-sequence data structure
JP2009289265A (en) * 2008-05-28 2009-12-10 Toshiba Corp Image processor and image processing method
JP2010045764A (en) * 2008-06-18 2010-02-25 Ricoh Co Ltd Control unit and method of controlling the same

Similar Documents

Publication Publication Date Title
JP2996229B2 (en) Electronic camera device, electronic device, transmission system, control method for electronic camera device, and control method for electronic device
JP5501041B2 (en) Image processing apparatus, image processing method, and program
JP2001136352A (en) Image input device and control method thereof
EP1395035A1 (en) Memory management for compressed image data
JPH10341396A (en) Function-adding method for digital camera and digital camera
US6486976B1 (en) Image reading apparatus
JP2003150949A (en) Image processor and image processing method
US20080088868A1 (en) Multifunction device and image saving method
JPH07295911A (en) Data processing device and network system
JPH05268450A (en) Facsimile equipment
JP4172410B2 (en) Image processing method and image processing apparatus
JP2006525746A (en) Image quality improving method and apparatus for improving images based on stored preferences
JP4144544B2 (en) Image processing method and image processing apparatus
JP2007215001A (en) Image processing apparatus, image processing system, and image processing method
JPH1070730A (en) Image encoding / decoding device and recording medium recording control program therefor
JP3736107B2 (en) Image processing device
JP2006217145A (en) Image processor
JP2003134280A (en) Facsimile machine
JP2004032743A (en) Image forming apparatus and image forming system
JP2009015715A (en) Image forming system, image forming system control method, computer program, and storage medium
JP3295507B2 (en) Binary image encoding / decoding method
JP2002152457A (en) Image processing system and image processing method
JP2005176128A (en) Image processing method and image processor
JP2003069831A (en) Image processing apparatus, image display method, and computer program
JP2002218150A (en) Printing system

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20040423

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040909

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20040909

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040909

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20040909

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071031

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071113

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080110

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080205

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080610