JP2006166221A - Control method of image processing apparatus - Google Patents
Control method of image processing apparatus Download PDFInfo
- Publication number
- JP2006166221A JP2006166221A JP2004356769A JP2004356769A JP2006166221A JP 2006166221 A JP2006166221 A JP 2006166221A JP 2004356769 A JP2004356769 A JP 2004356769A JP 2004356769 A JP2004356769 A JP 2004356769A JP 2006166221 A JP2006166221 A JP 2006166221A
- Authority
- JP
- Japan
- Prior art keywords
- flash memory
- image data
- usb
- image
- image processing
- 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
Links
Images
Landscapes
- Storing Facsimile Image Data (AREA)
- Compression Of Band Width Or Redundancy In Fax (AREA)
Abstract
Description
本発明は、画像処理装置、記憶媒体、及びプログラムに関し、特に、複写機、複合機、MFP、ファクシミリ等の画像処理装置にて、画像処理装置と接続されたフラッシュメモリへのスキャン画像データの書き出しにおける好適な制御方法に関する。 BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus, a storage medium, and a program, and in particular, writing scan image data to a flash memory connected to the image processing apparatus in an image processing apparatus such as a copying machine, a multifunction peripheral, an MFP, or a facsimile. It is related with the suitable control method in.
スキャンした画像データをUSB(Universal Serial Bus)接続のフラッシュメモリに書き出す機能を有する画像処理装置において、書き出そうとする時に接続したフラッシュメモリの空き容量が不足していると、データを消去して空きを増やす必要がある。画像処理装置上からはどのデータが不要か判別しにくいため、一旦作業を中断して、フラッシュメモリを持ち帰ってPCに接続し、不要データをPCで確認消去して、再度スキャンする必要があった。 In an image processing apparatus having a function of writing scanned image data to a USB (Universal Serial Bus) connected flash memory, if there is not enough free space in the connected flash memory when writing is attempted, the data is erased. It is necessary to increase the space. Since it is difficult to determine which data is unnecessary from the image processing apparatus, it was necessary to interrupt the work, bring back the flash memory, connect it to the PC, confirm unnecessary data on the PC, delete it, and scan again. .
また、デジタル複写機で送信する電子メールのデータ量に起因する送信エラーが発生した場合に、エラー通知メールを解析し、電子メールの容量に起因するエラー通知が検出されると、エラー通知メールを受けた電子メールに添付された画像を取得して低解像度化により小容量化し、小容量化された画像を再送信するものが存在する(例えば、特許文献1を参照)。
しかしながら、上記従来例は、スキャンした画像データを電子メールとして送信する際における制御方式であって、スキャンした画像データをUSB接続のフラッシュメモリに書き出す機能を有する画像処理装置においてそのまま適用されるものではない。 However, the above conventional example is a control method for transmitting scanned image data as an e-mail, and is not directly applied to an image processing apparatus having a function of writing scanned image data to a USB-connected flash memory. Absent.
又従来の技術で述べたように、スキャンした画像データをUSB接続のフラッシュメモリに書き出す機能を有する画像処理装置において、書き出そうとする時に接続したフラッシュメモリの空き容量が不足していると、データを消去して空きを増やす必要がある。画像処理装置上からはどのデータが不要か判別しにくいため、一旦作業を中断して、フラッシュメモリを持ち帰ってPCに接続し、不要データをPCで確認消去して、再度スキャンする必要があった。 Also, as described in the prior art, in an image processing apparatus having a function of writing scanned image data to a USB-connected flash memory, when the free capacity of the connected flash memory is insufficient when writing is attempted, It is necessary to erase the data to free up space. Since it is difficult to determine which data is unnecessary from the image processing apparatus, it was necessary to interrupt the work, bring back the flash memory, connect it to the PC, confirm unnecessary data on the PC, delete it, and scan again. .
本発明は書き出そうとする時に接続したUSBフラッシュメモリの空き容量が不足していると、高画質の圧縮済み画像データをメール送信するかをユーザーに問い合わせ指示に従い、かつ本体メモリ上で高画質の圧縮済み画像データを一旦伸張し、圧縮率を上げて再圧縮し、フラッシュメモリに書き込むかをユーザーに問い合わせ指示に従うので、空き容量が不足している時でも、1回画像処理装置の前に行きスキャン作業をするだけでUSBフラッシュメモリに書き込んで持ち出す事ができ、かつ同時に高画質の画像データをメール送信する事も可能なので、後で高画質の画像データを得る為に再度スキャンする必要が無く、利便性を向上させる画像処理装置およびその制御方法、記憶媒体、及びプログラムを提供することを目的とする。 According to the present invention, if there is not enough free space in the connected USB flash memory when writing is attempted, the user is informed of whether to send high-quality compressed image data by e-mail, and the high-quality image is stored on the main memory. The compressed image data is once decompressed, re-compressed after increasing the compression rate, and the user is instructed whether to write it to the flash memory. Therefore, even when there is not enough free space, once before the image processing device It is possible to write and take it out to a USB flash memory just by going and scan, and simultaneously send high-quality image data by e-mail, so it is necessary to scan again later to obtain high-quality image data. An object of the present invention is to provide an image processing apparatus that improves convenience, a control method thereof, a storage medium, and a program.
上記目的を達成するため、本発明は、USBI/Fを有し、USBI/FでUSBフラッシュメモリを接続し、スキャンした画像データをUSBI/Fで接続されたUSBフラッシュメモリに書き出す機能を有する画像処理装置の制御方法において、スキャンした画像データをUSBフラッシュメモリに書き出そうとする時に、すべてのスキャンした圧縮画像データを書き込める空き容量が無い場合に、高画質の圧縮済み画像データをメール送信するかをユーザーに問い合わせ指示に従い、かつ本体メモリ上で高画質の圧縮済み画像データを一旦伸張し、圧縮率を上げて再圧縮し、フラッシュメモリに書き込むかをユーザーに問い合わせ指示に従うことを特徴とする。 In order to achieve the above object, the present invention provides a USB I / F, an image having a function of connecting a USB flash memory with the USB I / F, and writing scanned image data to the USB flash memory connected with the USB I / F. In the control method of the processing apparatus, when there is no free space to write all scanned compressed image data when writing scanned image data to a USB flash memory, high-quality compressed image data is sent by mail. In accordance with the inquiry instruction to the user, the high-quality compressed image data is temporarily decompressed on the main memory, the compression rate is increased, the image is recompressed, and the user is inquired according to the inquiry instruction. .
本発明のによれば、スキャンした画像データをUSB接続のフラッシュメモリに書き出す機能を有する画像処理装置において、書き出そうとする時に接続したUSBフラッシュメモリの空き容量が不足していると、高画質の圧縮済み画像データをメール送信するかをユーザーに問い合わせ指示に従い、かつ本体メモリ上で高画質の圧縮済み画像データを一旦伸張し、圧縮率を上げて再圧縮し、フラッシュメモリに書き込むかをユーザーに問い合わせ指示に従うので、空き容量が不足している時でも、1回画像処理装置の前に行きスキャン作業をするだけでUSBフラッシュメモリに書き込んで持ち出す事ができ、かつ同時に高画質の画像データをメール送信する事も可能なので、後で高画質の画像データを得る為に再度スキャンする必要が無く、利便性を向上させた画像処理装置の提供およびその制御が可能となる。 According to the present invention, in an image processing apparatus having a function of writing scanned image data to a USB-connected flash memory, when the free space of the connected USB flash memory is insufficient when writing is attempted, high image quality is achieved. The user decides whether to send the compressed image data by e-mail according to the inquiries to the user, and once decompresses the high-quality compressed image data on the main unit memory, increases the compression ratio, re-compresses it, and writes it to the flash memory. Therefore, even when there is not enough free space, you can go to the image processing device once and scan and write it to the USB flash memory and take high-quality image data at the same time. It is also possible to send e-mail, so there is no need to scan again to obtain high-quality image data later. , It is possible to provide and control the image processing apparatus with improved usability.
図1は本発明の実施の形態に係る画像処理装置の要部の構成を示すブロック図である。画像処理装置は、画像読取機能・画像形成機能・ファクシミリ機能・PCプリント機能を有するものであり、イメージセンサ301、A/D変換部302、画像処理部303、RAM304、記録処理部305、記録装置306、メインCPU307、イメージセンサ制御部308、ROM309、通信部310、センサ311、ADFモータ312、モータ制御部313、操作部・センサ制御部314、操作部315、RTC(Real Time Clock)316、SRAM317、SRAM・RTCバックアップ回路318、USB I/F320、BOOKモータ321、HDD(ハードディスク)322を備えている。
FIG. 1 is a block diagram showing a configuration of a main part of an image processing apparatus according to an embodiment of the present invention. The image processing apparatus has an image reading function, an image forming function, a facsimile function, and a PC print function, and includes an
USBフラッシュメモリ3は、USB I/F(USBフラッシュメモリ3内)401を経由して画像処理装置2と通信し、データの転送を行う。USBフラッシュメモリ3内のUSBフラッシュメモリコントローラ(図示せず)は、内蔵するフラッシュメモリの空き容量の検知を行い、内蔵するフラッシュメモリ(図示せず)のリードライトアクセス制御を行い、USB I/F(USBフラッシュメモリ3内)401経由で画像処理装置2とフラッシュメモリ空き容量情報やライト・リードするデータの転送制御を行う。 The USB flash memory 3 communicates with the image processing apparatus 2 via the USB I / F (in the USB flash memory 3) 401 and transfers data. A USB flash memory controller (not shown) in the USB flash memory 3 detects the free space of the built-in flash memory, performs read / write access control of the built-in flash memory (not shown), and performs USB I / F. Transfer control of flash memory free space information and data to be written / read is performed with the image processing apparatus 2 via 401 (in the USB flash memory 3).
上記画像処理装置の構成を詳述すると、イメージセンサ301は、光源から原稿へ照射したその反射光を電気信号に光電変換する。イメージセンサはカラー、又はモノクロで読取を行う。A/D変換部302は、イメージセンサ301の出力信号のA/D変換を行う。画像処理部303は、A/D変換部302の出力信号に画像処理を施すものであり、シェーディング補正用の演算器、符号復号化処理部、画像データ蓄積用のメモリ、輝度濃度変換テーブル、光源点灯時間測定ブロック等を備えている。RAM304は、画像処理部303で画像処理が施された画像データを記憶する。また、メインCPU307が画像処理装置を制御するための作業領域としても使用する。HDD(ハードディスク)322はRAM304に入らない画像データ保存や作業領域として使用できる記憶領域であり、必要に応じて装着する。RTC316は、ファクシミリ動作や画像処理装置の時刻表示、時刻管理のため使用する。SRAM317は、画像処理装置の初期設定やファクシミリの電話番号データを保存する。SRAM・RTCバックアップ回路318は、ACが遮断されているときに、時刻や初期設定や電話番号データが失われないよう内蔵する1次電池より電圧を供給してバックアップを行う回路である。記録処理部305は、記録(画像形成)用画像処理を行う。記録装置306は、記録紙に対する画像の記録(画像形成)を行う。メインCPU307は、画像処理装置各部を制御する中央処理装置であり、ROM309に格納された或いは外部から供給される本発明の制御プログラムに基づき図のフローチャートに示す処理を実行する。イメージセンサ制御部308は、光源制御信号、蓄積制御信号及びセンサ制御信号に基づき原稿を読み取るイメージセンサ301を制御する。
The configuration of the image processing apparatus will be described in detail. The
ROM309は、本発明の制御プログラムを含む各種制御プログラムや固定データを格納している。通信部310は、画像処理装置と外部装置との間のデータ通信を制御する。ファクシミリ機能を有する場合、NCU(Network Controll Unit)、モデムを含み、ネットワーク接続機能を有する場合はNIC(Network Interface Card)を含んでいる。モータ制御部313は、ADFモータ312及びBOOKモータ321を駆動制御する。ADFモータ312は、複数部の原稿を読み取る際、自動的に原稿をイメージセンサ301の読取部へ送り込む機構を有するADF102(Auto Document Feeder)を駆動する。BOOKモータ312は、原稿台103に置かれた原稿を読み取る際、イメージセンサ301が固定されたキャリッジ(図示せず)を駆動する。操作部・センサ制御部314は、操作部315やセンサ311に対する信号の入出力を制御する。センサ311は、読取や記録の際の原稿や記録紙の有無の検知、圧板の開閉や原稿の有無などを検知する。操作部315は、各種データ入力や各種設定を行うための入力手段、各種表示を行う表示手段を備えている。
The
上記構成を更に詳述すると、画像処理装置の各々のブロック(イメージセンサ301等)には、PSU(図示せず)(Power Supply Unit)から電源が供給されている。また、画像処理装置の各々のブロックは、電気信号線により結合されており、データの伝送が可能であり、メインCPU307がROM309からプログラムを読み込み実行することにより制御されている。
More specifically, the power supply is supplied to each block (
画像処理装置は、電源投入後に初期動作を行い、稼動状態に有る場合、画像処理装置の操作部をユーザーが操作することによって、画像処理装置が有するコピー機能やファクシミリ機能やメール送信機能やスキャン機能を使用したり、画像処理装置における各種動作の設定モードを指示したりすることが可能である。また、PC4とLAN7を介して接続されている場合、PCよりプリントデータを受け取ることでPCプリンターとして動作する。また、プリントサーバー(図示せず)とLAN7を介して接続されている場合、PCよりプリントサーバーへ転送したプリントデータを受け取ることでPCプリンターとして動作する。また、メール送信時は、通信部310よりLAN7を介してSMTPサーバー5へスキャンした画像データを添付ファイルとした電子メールとして送信する事が可能である。また、メール受信時は、通信部310よりLAN7を介してPOPサーバー6から受信メールを取り込み、受信した電子メールを印刷する事が可能である。上記LAN7を経由した通信は適切なプロトコルにより行われる。また、公衆電話網(図示せず)(PSTN)(Public Switched Telephone Network)と通信部310を介して接続し、ファクシミリの送信・受信動作を行う事が可能である。
The image processing apparatus performs an initial operation after the power is turned on. When the image processing apparatus is in an operating state, the user operates the operation unit of the image processing apparatus, so that the image processing apparatus has a copy function, a facsimile function, a mail transmission function, and a scan function. Can be used, and a setting mode for various operations in the image processing apparatus can be instructed. Further, when connected to the PC 4 via the
通常動作の一例を説明する。たとえば、画像処理装置で原稿から画像を読み取り記録紙上に画像を形成するモノクロコピーを行う場合を説明する。ユーザーが原稿を画像処理装置2のBOOK原稿台103に積載し、操作部よりBOOKコピーを指示する。イメージセンサ301を固定したキャリッジは、モータに対しギヤ及びベルトで結合された可動式となっており、メインCPU307はキャリッジを白基準板まで搬送し黒シェーディング及び白シェーディング用のデータを取得する。本例では、原稿の長手方向の先端から終端までを600dpiの密度で読み取る。イメージセンサ301の出力をA/D変換部302でA/D変換し得られた10bitの読み取り値を、画像処理部303内の演算器により白シェーディング補正及び黒シェーディング補正用として保存する。
An example of normal operation will be described. For example, a case will be described in which an image processing apparatus performs monochrome copying for reading an image from a document and forming an image on recording paper. A user loads a document on the BOOK document table 103 of the image processing apparatus 2 and instructs a BOOK copy from the operation unit. The carriage to which the
シェーディング補正データ取得後に、キャリッジをホームポジションまで搬送したのち、再度キャリッジを原稿方向に搬送する。クロックにて計時を行い、所定時間経過すると、メインCPU307が原稿先端位置にイメージセンサ301が達したと判断し、イメージセンサ301による読取処理を開始する。
After the shading correction data is acquired, the carriage is transported to the home position, and then the carriage is transported again in the original direction. Time is measured with a clock, and when a predetermined time elapses, the
イメージセンサ301で読取られた1ライン分の読み取り値を、それぞれ対応する同画素位置の上記白シェーディング補正値及び黒シェーディング補正値を用いて次式で正規化し、処理階調数(例えば8bit階調)を積算して、それぞれの画素の輝度とする。
The read value for one line read by the
輝度値=255×(読み取り値−黒シェーディング値)/(白シェーディング値−黒シェーディング値)
上記演算で得られた輝度値を濃度値に変換する際は、輝度濃度変換テーブル(図示略)を参照して、得られた輝度値を対応する濃度値に変換する。そして、濃度値に対し多値→2値化処理を行う。様々な多値→2値化処理法があるが、誤差拡散法では、注目画素の濃度値に対し、階調の真ん中の値(256階調なら127)を閾値として、閾値以上なら黒と判断し、閾値以下なら白と判断する。その際に注目画素の濃度値と黒(濃度255)または白(濃度0)との濃度値の差を誤差として、周囲の画素に一定配分で振り分けながら2値化処理を行う。得られた2値画像データを、画像処理装置から外部装置に送信するための通信用の画像データや、画像処理装置における記録(画像形成)処理用の画像データとして使用する。
Luminance value = 255 x (reading value-black shading value) / (white shading value-black shading value)
When converting the brightness value obtained by the above calculation into a density value, the brightness value obtained is converted into a corresponding density value by referring to a brightness density conversion table (not shown). Then, multi-value → binarization processing is performed on the density value. There are various multi-value-to-binarization processing methods. In the error diffusion method, the middle value of the gradation (127 for 256 gradations) is used as a threshold for the density value of the pixel of interest, and black is determined if the threshold value is exceeded. If it is less than the threshold, it is determined to be white. At this time, the binarization process is performed while assigning the difference between the density value of the pixel of interest and the density value of black (density 255) or white (density 0) as an error and distributing to the surrounding pixels with a constant distribution. The obtained binary image data is used as image data for communication for transmission from the image processing apparatus to an external apparatus, or image data for recording (image formation) processing in the image processing apparatus.
本例ではA4サイズ1ページ分の画像データをRAM304に蓄積する。即ち、画像処理部303において処理された600×600dpiの画像データをRAM304に蓄積する。RAM304に画像データを蓄積する際、及びRAM304から画像データを記録処理部305へ転送する際に、適切な圧縮・展開方法で、画像データの圧縮・展開を行うことも可能である。画像データをRAM304から記録処理部305へ転送し、記録処理部305で記録用画像処理を行った後、記録装置306で記録紙に画像の記録を行う。記録処理部305では、1200×1200dpiの画像データに変換し、スムージング処理を行う。
In this example, one page of A4 size image data is stored in the
記録装置306が例えばレーザビームプリンタである場合、記録処理部305から伝送された画像データに従い、レーザビームプリンタ内のレーザ発生装置のレーザビームをON/OFFする。レーザビームプリンタ内のポリゴンミラーは一定速度で回転するよう制御されており、レーザビームをポリゴンミラーにより反射させ、帯電器により帯電された感光ドラム上の主走査方向へ照射し、照射された点のみ帯電が中和されることにより、主走査1本分の静電潜像を形成する。感光ドラム上に形成された静電潜像に対し現像器によりトナーを付着させ、転写器により記録紙上にトナーを転写し、除電針にて記録紙を分離した後、定着器により記録紙上のトナーを定着させる。また、記録紙上へのトナーの転写後、感光ドラム上に残ったトナーをクリーナブレードにより除去する。この手順により記録紙へ印字が行われる。
When the
次に、上記の如く構成された本発明の実施の形態に係る画像処理装置の動作について図1、図2を参照しながら詳細に説明する。 Next, the operation of the image processing apparatus according to the embodiment of the present invention configured as described above will be described in detail with reference to FIGS.
本発明の特徴となる画像処理装置における制御方法の詳細を図2のフローチャートを用いて述べる。図2のフローチャートは画像処理装置のメインCPU307がプログラムに基づき実行する。またUSBフラッシュのコントローラが内蔵するプログラムに基づき実行する。
Details of the control method in the image processing apparatus, which is a feature of the present invention, will be described with reference to the flowchart of FIG. The flowchart in FIG. 2 is executed by the
先ず、画像処理装置が電源オン起動後初期化を行い、画像処理装置としてのすべての機能が使用できる状態、たとえばコピー、ファクシミリ、PCプリンター、スキャナー、メール機能等が使用できるスタンバイ状態にあり、ユーザーがUSBフラッシュメモリ3をUSBフラッシュメモリ接続口104に差込み、USBフラッシュメモリ3がUSB I/F320に接続され、画像処理装置2とネゴシエーションを行い、正常に接続が検知された状態にあるとする。
First, the image processing device is initialized after the power is turned on, and all functions as an image processing device can be used. For example, the image processing device is in a standby state where copy, facsimile, PC printer, scanner, mail function, etc. can be used. Suppose that the USB flash memory 3 is inserted into the USB flash
以後説明するステップS201〜S209が本発明の重要な点である。特に重要なのがステップS206、S208、S209である。 Steps S201 to S209, which will be described later, are important points of the present invention. Of particular importance are steps S206, S208, and S209.
ユーザーが原稿を画像処理装置2のADF102又はBOOK原稿台103に置き、操作パネル101を操作し、スキャン画像データの書き込み先を既に接続されたUSBフラッシュメモリ3に指定し、画像のサイズと解像度と圧縮率と1画素あたりのbit数とカラーまたはモノクロ読み取りとファイル形式等を指示し、スキャン開始ボタンを押下したとする。(ステップS201)。
A user places an original on the
まず、画像処理装置2はUSBフラッシュメモリ3と通信し、USB接続のフラッシュメモリの空き容量を確認する。たとえばUSBフラッシュメモリ3の全容量が32Mバイトで空き容量が1Mバイトであったとする。(ステップS202)。 First, the image processing apparatus 2 communicates with the USB flash memory 3 to confirm the free capacity of the USB-connected flash memory. For example, it is assumed that the total capacity of the USB flash memory 3 is 32 MB and the free capacity is 1 MB. (Step S202).
その後、原稿をADFまたはBOOK原稿台103どちらからスキャンするかを決定するためメインCPU307は操作部・センサ制御部314を介して、センサ311より原稿がADFに置かれたか否かを判断する。原稿がADFに置かれていれば、ADF102からのスキャンを行うためステップS204に移行する。そうでなければ、BOOK原稿台103からのスキャンを行うためステップS205へ移行する。ここでADFまたはBOOK原稿台どちらからスキャンしたかをRAM304に保持しておく。(ステップS203)。
Thereafter, the
ステップS204では、メインCPU307がモータ制御部313を介してADFモータ312を制御し、操作部・センサ制御部314を介して、センサ311の状態を検知することで、ADF103に積載されたすべての原稿を1枚ずつスキャンし、イメージセンサ301よりA/D変換部302に入力された読取データを画像処理部303が適切なシェーディング補正、解像度変換処理、フィルタリング処理、必要に応じて多値→2値化処理等必要な画像処理を行い、符号化処理を行う事で、指示された圧縮率や解像度でスキャンして得られた画像データをRAM304に蓄積する。例えばA4サイズ原稿3枚をスキャンして、1画素あたり1bitのRGBカラー読み(つまり1画素あたり3bitを要する)、解像度300*300dpi、圧縮率約1/7、符号化及びファイル形式JPEGで読み取るよう指示されたとする。画像の符号化方式には例えば、JPEG(Joint Photograph Expert Group)がある。JPEGでは、1画面の画像を8画素×8画素のブロックに分割し、ブロック単位で2次元離散コサイン変換(DCT)により周波数領域に変換し、その変換係数を量子化し、ハフマン符号化する。圧縮後のデータ量は、画像の空間周波数特性と上記量子化係数に強く依存する。従って、同じ量子化係数であっても、圧縮しようとする画像により圧縮後のデータ量が異なる。これは予想された圧縮率とおりに圧縮ができるかは画像により異なることを意味する。量子化係数を変化させることで圧縮率を変化させることが可能である。
In step S <b> 204, the
未圧縮の状態ではA4サイズ210*297mmなら1枚あたり約3.1Mバイトの画像データ量となる所、JPEGによる圧縮で例えば0.5Mバイトと0.4Mバイトと0.4Mバイトの画像データが得られたとする。すると、すべて画像をスキャンした画像データのサイズは1.3Mバイトとなる。画像が3枚で1.3Mバイトの画像データがRAM304に蓄積される。ここで、RAM304の容量が不足する場合はHDD322に蓄積する事も可能である。そしてステップS206へ移行する。(ステップS204)
ステップS205では、メインCPU307がモータ制御部313を介してBOOKモータ321を制御し、操作部・センサ制御部314を介してセンサ311の状態を検知する事で、BOOK原稿台103の原稿を1枚スキャンし、上記同様指示された圧縮率、解像度でスキャンして得られた画像データをRAM304やHDD322に蓄積する。次ページの原稿がある場合は、ユーザーが原稿を交換した後スキャン指示を行い、全ページのスキャンが終了すれば、ユーザーが原稿終了指示を行う。そしてステップS206へ移行する。(ステップS205)
ステップS206ではすべてのスキャンした圧縮画像データをステップS202で取得したUSBフラッシュメモリの空き容量と比較して、圧縮画像データがUSBフラッシュメモリ3に書き込めるか判断する。圧縮画像データよりUSBフラッシュメモリの空き容量が大きければ、書き込めるためステップS207へ移行する。そうでなければそのままでは書き込めないためステップS208へ移行する。たとえば圧縮画像データが1.3MバイトでUSBフラッシュメモリの空き容量が1Mバイトであれば、圧縮画像データよりUSBフラッシュメモリの空き容量が少ないためステップS208へ移行する。(ステップS206)
ステップS207ではすべてのスキャンした圧縮画像データをUSB I/F320を経由してUSBフラッシュメモリ3へ転送し、書き出す。この場合は圧縮画像データよりUSBフラッシュメモリの空き容量が大きいので、ユーザーが指示した解像度や圧縮率で書き出しができる。そして終了処理へ移行する。(ステップS207)
ステップS208では、USBフラッシュメモリの空き容量が不足しているので、代わりに圧縮済み画像データをメール送信するかをユーザーに操作パネル101の表示装置より問い合わせて、ユーザーが操作パネル101より入力した指示に従う。たとえば「USBフラッシュメモリ空き容量が不足しているため、書き出しができません。代わりにメール送信しますか?」と表示して、肯定もしくは否定を操作パネルのキー押下により入力する。否定操作がなされた場合ステップS209へ移行する。肯定操作がなされた場合、メールアドレスの入力を促し、操作パネルからユーザーが指示したメールアドレス情報を付加して、圧縮済み画像データを添付ファイルとした電子メールをSMTPサーバー5宛てにLAN7を経由して、通信部310を介して送信する。そして、ステップS209へ移行する。(ステップS208)
ステップS209では、圧縮画像データがUSBフラッシュメモリ3に書き込めないため、代わりに圧縮済み画像データを伸張して圧縮率を上げて再圧縮してUSBフラッシュメモリ3に書き出すかをユーザーに操作パネル101の表示装置より問い合わせて、ユーザーが操作パネル101より入力した指示に従う。たとえば「USBフラッシュメモリ空き容量が不足しているため、書き出しができません。代わりに圧縮率を上げた画像データを書き出しますか?」と表示して、肯定もしくは否定を操作パネルのキー押下により入力する。否定操作がなされた場合終了処理へ移行する。肯定操作がなされた場合画像処理装置2内の画像処理部303にてRAM304に蓄積された圧縮済み画像データをいったん生データに伸張してRAM304に蓄積する。ここで、必要に応じてメインCPU307で伸張処理を行ったり、HDD322に生データを保存したり、作業領域として使用することも可能である。そして伸張された生データを再度圧縮率を上げて符号化しRAM304やHDD322に蓄積する。ここで、再度圧縮する時の圧縮率はユーザーに指示させても良いし、画像処理装置2がUSBフラッシュメモリ3の空き容量と当初得られた画像データ量から演算して自動的に求めても良い。JPEGで符号化した画像データを伸張して圧縮率を上げ再圧縮すると、JPEGは不可逆の符号化であるため画像品質は多少劣化するが、ユーザーに再度原稿をセットさせて圧縮率を上げた設定で再度スキャンさせるケースを考慮すると、ADF102に原稿を積載して再スキャンする場合や、BOOK原稿台103に1枚ずつセットしてスキャン動作を行わせる場合を考えると再圧縮する方が利便性が高い。たとえば圧縮率を約1/7から約1/10に上げて圧縮したとする。そして、当初0.5Mバイトと0.4Mバイトと0.4Mバイトの画像データが再圧縮により、0.35Mバイトと0.28Mバイトと0.28Mバイトの画像データになったとする。すると、すべての画像データのサイズは0.91Mバイトとなる。例では、USBフラッシュメモリ3の空き容量が1Mバイトであるから、再圧縮画像データよりUSBフラッシュメモリの空き容量が大きいので、USBフラッシュメモリ3へのデータ書き出しは可能となった。再圧縮したすべての画像データをUSB I/F320を経由してUSBフラッシュメモリ3へ転送し、書き出す。そして終了処理へ移行する。もし、再圧縮を行っても再圧縮画像データよりUSBフラッシュメモリの空き容量が小さい場合は必要に応じて圧縮率を上げて圧縮を繰り返すことも可能である。(ステップS209)
終了処理ではUSB I/F320を介してUSBフラッシュメモリ3との切断処理を行った後、操作部にUSBフラッシュメモリをはずして良い旨を通知し、ユーザーは必要に応じて所望の画像データが入ったUSBフラッシュメモリ3をUSBフラッシュメモリ接続口104からはずして持ち出すことができる。空き容量が不足している時でも、必要に応じて1回画像処理装置の前に行きスキャン作業をするだけで画像データの入ったUSBフラッシュメモリを持ち出すことが可能となる。
In the uncompressed state, if the A4 size is 210 * 297 mm, the amount of image data is about 3.1 Mbytes per sheet. For example, 0.5 Mbytes, 0.4 Mbytes, and 0.4 Mbytes of image data are compressed by JPEG. Suppose that it was obtained. Then, the size of image data obtained by scanning all images is 1.3 Mbytes. Three images and 1.3 Mbytes of image data are stored in the
In step S <b> 205, the
In step S206, all the scanned compressed image data is compared with the free space of the USB flash memory acquired in step S202, and it is determined whether the compressed image data can be written to the USB flash memory 3. If the free space of the USB flash memory is larger than the compressed image data, the process proceeds to step S207 for writing. Otherwise, since it cannot be written as it is, the routine proceeds to step S208. For example, if the compressed image data is 1.3 Mbytes and the free space in the USB flash memory is 1 Mbytes, the USB flash memory has less free space than the compressed image data, and the process proceeds to step S208. (Step S206)
In step S207, all scanned compressed image data is transferred to the USB flash memory 3 via the USB I /
In step S208, since there is not enough free space in the USB flash memory, the user inquires from the display device of the
In step S209, since the compressed image data cannot be written to the USB flash memory 3, the user is asked whether to decompress the compressed image data, increase the compression rate, recompress it, and write it to the USB flash memory 3. An inquiry is made from the display device, and an instruction input by the user from the
In the end processing, after disconnecting from the USB flash memory 3 via the USB I /
そしてステップS208でユーザーが当初望んでいた高画質のスキャン画像データを電子メールで送信する事を指示していたとする。このときユーザーが自分の所有するPC4のメールアドレスを指示したとする。SMTPサーバーはユーザーのメールアドレスのドメインを有するPOPサーバー6宛てに上記電子メールを転送している。ユーザーは必要に応じてUSBフラッシュメモリで画像データを持ち出して作業を行った後、自分の席に戻り、自分のPC4からLAN7を経由してPOPサーバー6にアクセスし高画質の圧縮済み画像データを添付ファイルとした電子メールを受信することができる。このようにして、後で高画質の画像データを得る為に再度スキャンする事無しに、当初望んでいた高画質のスキャン画像データを得ることができ利便性が高くなるという効果がある。
In step S208, it is assumed that the user has instructed to send high-quality scanned image data originally desired by e-mail. At this time, it is assumed that the user designates the mail address of the PC 4 owned by the user. The SMTP server transfers the e-mail to the POP server 6 having the domain of the user's mail address. The user takes out the image data from the USB flash memory as necessary, and then returns to his / her seat and accesses the POP server 6 from his / her PC 4 via the
なお、本発明は、複数の機器から構成されるシステムに適用しても、1つの機器からなる装置に適用してもよい。上述した実施形態の機能を実現するソフトウエアのプログラムコードを記憶した記憶媒体等の媒体をシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU)が記憶媒体等の媒体に格納されたプログラムコードを読み出し実行することによっても、本発明が達成されることは言うまでもない。 The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device. A medium such as a storage medium storing software program codes for realizing the functions of the above-described embodiments is supplied to the system or apparatus, and the computer (or CPU or MPU) of the system or apparatus stores the medium in the storage medium or the like. It goes without saying that the present invention can also be achieved by reading and executing the program code.
この場合、記憶媒体等の媒体から読み出されたプログラムコード自体が上述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体等の媒体は本発明を構成することになる。プログラムコードを供給するための記憶媒体等の媒体としては、例えば、フロッピー(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROM、或いはネットワークを介したダウンロードなどを用いることができる。 In this case, the program code itself read from the medium such as a storage medium realizes the functions of the above-described embodiments, and the medium such as the storage medium storing the program code constitutes the present invention. . Examples of a medium such as a storage medium for supplying the program code include a floppy (registered trademark) disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, and a ROM. Alternatively, download via a network can be used.
また、コンピュータが読み出したプログラムコードを実行することにより、上述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOSなどが実際の処理の一部または全部を行い、その処理によって上述した実施形態の機能が実現される場合も、本発明に含まれることは言うまでもない。 Further, by executing the program code read out by the computer, not only the functions of the above-described embodiments are realized, but also the OS running on the computer based on the instruction of the program code performs the actual processing. Needless to say, the present invention includes a case where the function of the above-described embodiment is realized by performing part or all of the processing.
更に、記憶媒体等の媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって上述した実施形態の機能が実現される場合も、本発明に含まれることは言うまでもない。 Furthermore, after the program code read from a medium such as a storage medium is written in a memory provided in a function expansion board inserted in the computer or a function expansion unit connected to the computer, based on the instruction of the program code, Needless to say, the present invention includes a case where the CPU or the like provided in the function expansion board or function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.
101 操作パネル
102 ADF
103 BOOK原稿台
104 USBフラッシュメモリ接続口
1 メインコントローラ
2 画像処理装置
3 USBフラッシュメモリ
4 PC
5 SMTPサーバー
6 POPサーバー
7 LAN
301 イメージセンサ(読取手段)
302 A/D変換部(A/D変換手段)
303 画像処理部
304 RAM(画像メモリ含む)
305 記録処理部
306 記録装置
307 メインCPU(制御手段)
308 イメージセンサ制御部(制御手段)
309 ROM
310 通信部
311 センサ
312 ADFモータ
313 モータ制御部
314 操作部・センサ制御部
315 操作部
316 RTC
317 SRAM
318 SRAM・RTCバックアップ回路
320 USB I/F(画像処理装置2内)
321 ADFモータ
401 USB I/F(USBフラッシュメモリ3内)
101
103
5 SMTP server 6
301 Image sensor (reading means)
302 A / D converter (A / D converter)
303
305
308 Image sensor controller (control means)
309 ROM
310
317 SRAM
318 SRAM /
321
Claims (1)
スキャンした画像データをUSBフラッシュメモリに書き出そうとする時に、すべてのスキャンした圧縮画像データを書き込める空き容量が無い場合に、高画質の圧縮済み画像データをメール送信するかをユーザーに問い合わせ指示に従い、かつ本体メモリ上で高画質の圧縮済み画像データを一旦伸張し、圧縮率を上げて再圧縮し、フラッシュメモリに書き込むかをユーザーに問い合わせ指示に従う事を特徴とする画像読取装置の制御方法。 In a control method of an image processing apparatus having a USB I / F, having a function of connecting a USB flash memory with a USB I / F and writing scanned image data to a USB flash memory connected with a USB I / F.
When writing scanned image data to USB flash memory, if there is not enough free space to write all scanned compressed image data, follow the inquiry instruction to the user whether to send high-quality compressed image data by e-mail And a method of controlling the image reading apparatus, wherein the compressed image data with high image quality is temporarily expanded on the main body memory, the compression rate is increased, the image data is recompressed, and written to the flash memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004356769A JP2006166221A (en) | 2004-12-09 | 2004-12-09 | Control method of image processing apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004356769A JP2006166221A (en) | 2004-12-09 | 2004-12-09 | Control method of image processing apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006166221A true JP2006166221A (en) | 2006-06-22 |
Family
ID=36667696
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004356769A Withdrawn JP2006166221A (en) | 2004-12-09 | 2004-12-09 | Control method of image processing apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006166221A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008098773A (en) * | 2006-10-06 | 2008-04-24 | Seiko Epson Corp | Multifunction peripheral and data transmitting method thereof |
JP2010118945A (en) * | 2008-11-13 | 2010-05-27 | Ricoh Co Ltd | Image processor, image processing method, image processing program, and recording medium |
CN114281247A (en) * | 2021-11-29 | 2022-04-05 | 深圳三地一芯电子有限责任公司 | Flash bandwidth allocation method and device based on mixed media |
-
2004
- 2004-12-09 JP JP2004356769A patent/JP2006166221A/en not_active Withdrawn
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008098773A (en) * | 2006-10-06 | 2008-04-24 | Seiko Epson Corp | Multifunction peripheral and data transmitting method thereof |
JP4683301B2 (en) * | 2006-10-06 | 2011-05-18 | セイコーエプソン株式会社 | Multifunction device and data transmission method thereof |
JP2010118945A (en) * | 2008-11-13 | 2010-05-27 | Ricoh Co Ltd | Image processor, image processing method, image processing program, and recording medium |
CN114281247A (en) * | 2021-11-29 | 2022-04-05 | 深圳三地一芯电子有限责任公司 | Flash bandwidth allocation method and device based on mixed media |
CN114281247B (en) * | 2021-11-29 | 2022-10-14 | 深圳三地一芯电子有限责任公司 | Flash bandwidth allocation method and device based on mixed media |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20050219594A1 (en) | Apparatus and method for generating scanned data in a standard format | |
JP5139786B2 (en) | Image processing apparatus, image processing method, and image processing program | |
KR20060043202A (en) | Printing information processing device, printing device, printing information processing method and printing system | |
JP2007043569A (en) | Image processing apparatus, program, and image processing method | |
US8259356B2 (en) | Apparatus and method of image processing for selective color determination | |
JP4755569B2 (en) | Image processing apparatus and image processing method | |
JP2001136352A (en) | Picture input device and its controlling method | |
JP5121595B2 (en) | Image processing apparatus, image processing apparatus control method, storage medium, and program | |
JP2019220055A (en) | Image forming apparatus, method for controlling image forming apparatus, and program | |
JP2008005283A (en) | Image processor, method for controlling image processing, program and storage medium | |
JP4498174B2 (en) | Image area information generating apparatus, image area information generating method, and program | |
JP4909612B2 (en) | Image processing apparatus and image processing method | |
JP2006166221A (en) | Control method of image processing apparatus | |
US20070030288A1 (en) | Apparatus and method for overlaying pattern data on a reproduced image | |
JP2006171297A (en) | Composite image processor | |
JP2006166222A (en) | Control method of image processing apparatus | |
JP2011229074A (en) | Image processing device, image processing method, and image processing system | |
US8780374B2 (en) | Image processing apparatus and image processing method | |
JP2008022082A (en) | Image forming apparatus and control method thereof | |
JP2006042217A (en) | Image processing device | |
JP3970148B2 (en) | Image processing apparatus, image processing method, and program | |
US7706620B2 (en) | Information processing apparatus and control method thereof | |
JP2006020025A (en) | Network composite machine | |
JP2006157806A (en) | Image processor | |
JP5683537B2 (en) | Image processing apparatus, image processing apparatus control method, storage 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: 20080304 |