JPH0622149A - Picture input device - Google Patents

Picture input device

Info

Publication number
JPH0622149A
JPH0622149A JP4200460A JP20046092A JPH0622149A JP H0622149 A JPH0622149 A JP H0622149A JP 4200460 A JP4200460 A JP 4200460A JP 20046092 A JP20046092 A JP 20046092A JP H0622149 A JPH0622149 A JP H0622149A
Authority
JP
Japan
Prior art keywords
image
picture
compression
mode
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.)
Pending
Application number
JP4200460A
Other languages
Japanese (ja)
Inventor
Seigo Inamine
成吾 稲嶺
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP4200460A priority Critical patent/JPH0622149A/en
Publication of JPH0622149A publication Critical patent/JPH0622149A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

PURPOSE:To efficiently compress a stored occupancy quantity by converting a picture of an original into picture mode information, thereafter storing the picture, selecting a specific picture mode compression means optimum to the picture mode and applying compression processing to the storage content of the picture mode. CONSTITUTION:When the user scans a scanner onto a prescribed original while depressing a read switch of a handy scanner operation section 14, picture data on the original are fetched via a CCD image sensor and the scanner fetches the picture continuously till the user opens the read switch. A picture mode is placed at the head of the fetched picture data and specific information required for a compression processing item corresponding to this is written in a picture memory 13, and after the end of scanning is confirmed, the compression switch is depressed. Thus, a control section 15 reads the picture mode at the head of the picture file written in a picture memory 13 and selects an optimum compression processing items in response to the type of the mode. After the selection, a picture compression section 17 executes the compression processing of the specific processing item.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、例えばハンディスキ
ャナに利用されるような画像入力装置に関し、さらに詳
しくは画像データの記憶占有量を効率よく圧縮して記憶
部の有効性を高めることができる画像入力装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image input device used for a handy scanner, for example, and more specifically, it can efficiently compress the memory occupation amount of image data to enhance the effectiveness of the memory section. The present invention relates to an image input device.

【0002】[0002]

【従来の技術】近年、ハンディスキャナ等に用いられる
画像入力装置は、原稿の図表、文章、中間調画像等を読
取って画像入力している。この場合、画像入力する記憶
部は大量に記憶容量を消費するため、記憶容量の節約化
を図っている。例えば、ファクシミリのMR符号化方式
やMH符号化方式などの線画や文字原稿の統計的性質を
捉えて、読取った画像データの記憶占有量を圧縮してい
る。
2. Description of the Related Art In recent years, an image input device used for a handy scanner or the like reads a chart, a sentence, a halftone image, etc. of a document and inputs the image. In this case, the storage unit for inputting an image consumes a large amount of storage capacity, so that the storage capacity is saved. For example, the storage occupancy of read image data is compressed by capturing the statistical properties of line drawings and text originals such as the MR encoding system and the MH encoding system of facsimiles.

【0003】しかし、濃淡の程度が白、黒だけでなく、
中間調(灰色)を有する画像データ、あるいは1画素当
り256階調を有するグレイレベルの多い多階調データ
の場合は、統計的性質が異なるため、十分に画像データ
の圧縮化が図れない問題を有していた。
However, not only the shade of white and black,
In the case of image data having a halftone (gray) or multi-tone data having a large number of gray levels having 256 tones per pixel, the statistical properties are different, so that the image data cannot be sufficiently compressed. Had.

【0004】[0004]

【発明が解決しようとする課題】そこでこの発明は、原
稿より読取った画像データの種別毎に、その種別に対応
する最適な圧縮手段を特定し、この特定した圧縮手段に
基づいて十分に圧縮処理を施すことができる画像入力装
置の提供を目的とする。
Therefore, according to the present invention, for each type of image data read from a document, an optimum compression means corresponding to the type is specified, and a sufficient compression process is performed based on the specified compression means. It is an object of the present invention to provide an image input device capable of performing.

【0005】[0005]

【課題を解決するための手段】この発明は、原稿の画像
を画像読取り手段を介して読取った画像データを入力処
理する画像入力装置であって、上記画像読取り手段によ
り読取った画像データを画像モードに変換処理する画像
処理手段と、上記画像処理手段により変換処理された画
像モードを記憶する記憶手段と、上記記憶手段で記憶し
た画像モードの記憶内容を、該モードの種類別に応じた
最適な圧縮処理手段で圧縮処理する各種の画像モード圧
縮手段と、上記各種の画像モード圧縮手段から記憶した
画像モードに対応する特定の画像モード圧縮手段を選択
する選択手段と、上記選択手段で選択された特定の画像
モード圧縮手段で、上記記憶手段に記憶された画像モー
ドの記憶内容を圧縮処理させる制御手段とを備えたこと
を特徴とする。
SUMMARY OF THE INVENTION The present invention is an image input device for inputting image data obtained by reading an image of a document through image reading means, wherein the image data read by the image reading means is processed in an image mode. Image processing means for performing conversion processing on the image processing means, storage means for storing the image mode converted by the image processing means, and storage contents of the image modes stored by the storage means for optimum compression according to the type of the mode. Various image mode compression means for performing compression processing by the processing means, selection means for selecting a specific image mode compression means corresponding to the stored image mode from the various image mode compression means, and specification selected by the selection means The image mode compression means is provided with a control means for compressing the stored contents of the image mode stored in the storage means.

【0006】[0006]

【作用】この発明によれば、原稿の画像を画像読取り手
段が読取ると、この読取られた画像データは画像処理手
段により画像モードに変換された後、記憶手段により記
憶され、このとき制御手段が、記憶された画像モードに
最適となる特定の画像モード圧縮手段を選択手段により
選択し、この選択された最適な画像モード圧縮手段で画
像モードの記憶内容を圧縮処理する。
According to the present invention, when the image reading means reads the image of the original, the read image data is converted into the image mode by the image processing means and then stored in the storage means. The selecting means selects a specific image mode compression means that is most suitable for the stored image mode, and the selected optimum image mode compression means compresses the stored contents of the image mode.

【0007】[0007]

【発明の効果】このように、画像モードの種類別に応じ
た最適な圧縮処理手段を対応させて圧縮できるため、記
憶手段に記憶する画像モードが、統計的性質が異なる中
間調を有する画像データや多階調データであっても、常
に各種画像データに応じた最適な圧縮処理を実行して、
画像データの記憶占有量を最も効率よく圧縮することが
できる。
As described above, since the optimum compression processing means according to the type of the image mode can be associated and compressed, the image mode stored in the storage means has image data having halftones having different statistical properties or Even with multi-gradation data, always perform optimal compression processing according to various image data,
The storage occupancy of image data can be compressed most efficiently.

【0008】[0008]

【実施例】この発明の一実施例を以下図面に基づいて詳
述する。図面は画像入力装置をハンディスキャナに適用
した一例を示し、図1はハンディスキャナの制御回路ブ
ロック図で、このハンディスキャナは読取り部11と、
画像処理部12と、画像メモリ13と、ハンディスキャ
ナ操作部14と、制御部15と、通信制御部16と、画
像圧縮部17とから構成される。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the drawings. The drawing shows an example in which the image input device is applied to a handy scanner, and FIG. 1 is a control circuit block diagram of the handy scanner.
The image processing unit 12, the image memory 13, the handy scanner operation unit 14, the control unit 15, the communication control unit 16, and the image compression unit 17 are included.

【0009】上述の読取り部11は、CCDイメージセ
ンサを用い、ハンディスキャナの走査部を原稿上に走査
させることで、このCCDイメージセンサが走査された
原稿の画像データを読取る。この読取った画像データは
画像処理部12に導かれ、ここで2値化、中間調を表わ
すディザ化、誤差拡散化等の画像モードに変換処理す
る。この変換された画像モードを画像メモリ13で記憶
する。
The above-mentioned reading unit 11 uses a CCD image sensor, and scans the document with a scanning unit of a handy scanner to read the image data of the document scanned by the CCD image sensor. The read image data is guided to the image processing unit 12, where it is converted into an image mode such as binarization, dithering representing halftone, and error diffusion. The converted image mode is stored in the image memory 13.

【0010】ハンディスキャナ操作部14は、利用者が
持つハンディスキャナの把持部分に読取りスイッチおよ
び圧縮スイッチを有しており、利用者が読取りスイッチ
を操作しながらハンディスキャナを原稿上の所定方向に
走査させることで、これに連動するLEDを点灯させて
読取り動作させ、読取りスイッチを開放することで、L
EDを消灯させて読取り動作を停止させる。また、読取
り動作完了後に、圧縮スイッチを操作することで、読取
った画像データに対する圧縮処理を実行させる。
The handy scanner operation unit 14 has a reading switch and a compression switch at the grip portion of the handy scanner held by the user, and the user operates the reading switch to scan the handy scanner in a predetermined direction on the document. By doing so, the LED interlocking with this is turned on to perform the reading operation, and the reading switch is opened to set L
The ED is turned off to stop the reading operation. After the reading operation is completed, the compression switch is operated to execute the compression processing on the read image data.

【0011】また、制御部15は予め設定されたプログ
ラムに沿って各回路装置を制御し、通信制御部16はデ
ータ処理した制御データを装置本体側のホストコンピュ
ータに転送処理し、画像圧縮部17は2値圧縮、ディザ
圧縮、誤差拡散圧縮、多階調圧縮等の数種類の圧縮処理
項目を持ち、制御部15で特定された圧縮処理項目に基
づいて所定の圧縮処理を行う。
The control unit 15 controls each circuit device according to a preset program, and the communication control unit 16 transfers the data-processed control data to the host computer on the apparatus main body side, and the image compression unit 17 Has several types of compression processing items such as binary compression, dither compression, error diffusion compression, multi-gradation compression, and performs predetermined compression processing based on the compression processing items specified by the control unit 15.

【0012】この場合、圧縮処理項目の選択に際して、
制御部15は数種類ある圧縮処理項目から画像モードの
種類別に応じた最適な圧縮処理項目を選択する。これ
は、読取った画像データを1枚のファイルとして処理す
るとき、その先頭部分に画像モードと、その画像モード
に対応した圧縮処理項目に必要とされる特定情報、例え
ば1ライン当りのデータ数、走査方向のライン数等を書
込んでおき、この画像ファイルの先頭の画像モードを制
御部15が読取ることで、画像モードの種類別に応じた
最適な圧縮処理項目を選択する。これにより、読取った
画像データを最も効率よく圧縮して、圧縮処理に無駄が
なくなり、画像メモリ13の占有量が確実に低減する。
In this case, when selecting the compression processing item,
The control unit 15 selects an optimum compression processing item corresponding to each type of image mode from several kinds of compression processing items. This is because when the read image data is processed as a single file, the image mode at the beginning thereof and specific information required for the compression processing item corresponding to the image mode, for example, the number of data per line, The number of lines in the scanning direction and the like are written, and the control unit 15 reads the first image mode of this image file to select the optimum compression processing item according to the type of image mode. As a result, the read image data is compressed most efficiently, the compression process is not wasted, and the occupied amount of the image memory 13 is surely reduced.

【0013】このように構成されたハンディスキャナを
用いて原稿上の画像を入力する画像処理動作を図2のフ
ローチャートを参照して説明する。今、利用者がハンデ
ィスキャナ操作部14の読取りスイッチを押しながら該
ハンディスキャナを所定の原稿上に走査させると、この
原稿上の画像データはCCDイメージセンサを介して取
込まれ、利用者が読取りスイッチを開放させるまでの
間、継続して取込み動作する(ステップn1 〜n3 )。
An image processing operation for inputting an image on a document using the handy scanner thus constructed will be described with reference to the flowchart of FIG. Now, when the user scans the predetermined document with the handy scanner while pressing the reading switch of the handy scanner operation unit 14, the image data on the document is taken in through the CCD image sensor and read by the user. The loading operation is continued until the switch is opened (steps n1 to n3).

【0014】この取込まれた画像データは、その先頭部
分に画像モードと、その画像モードに対応した圧縮処理
項目で必要とされる特定情報が書込まれ、走査完了時に
1枚の画像ファイルが画像メモリ13に書込まれる。そ
して、走査完了を確認した後、利用者が圧縮スイッチを
押下すると、制御部15が画像メモリ13に書込まれた
画像ファイルの先頭の画像モードを読取って、この読取
った画像モードの種類別に応じた最適な圧縮処理項目を
選択する(ステップn4 )。
In the captured image data, the image mode and the specific information required for the compression processing item corresponding to the image mode are written in the head portion thereof, and when scanning is completed, one image file is created. It is written in the image memory 13. Then, after confirming the completion of scanning, when the user presses the compression switch, the control unit 15 reads the first image mode of the image file written in the image memory 13, and according to the type of the read image mode. The optimum compression processing item is selected (step n4).

【0015】選択後は、画像圧縮部17で制御部15が
選択した特定の圧縮処理項目の圧縮処理を実行させる。
例えば、画像モードが持つ統計的性質から2値圧縮が最
適と制御部15が判定すると、この2値画像の場合、白
と黒の列が長く続く性質を持つので、白データを検出し
た場合、この長さをカウントして、白データ1個と長さ
の値に元のデータを置き換えることで圧縮処理する(ス
テップn5 〜n8 )。
After the selection, the image compression unit 17 causes the control unit 15 to execute the compression process of the specific compression process item.
For example, when the control unit 15 determines that the binary compression is optimal based on the statistical property of the image mode, this binary image has a property that white and black columns continue for a long time. Therefore, when white data is detected, This length is counted, and the original data is replaced with one piece of white data and the length value to perform compression processing (steps n5 to n8).

【0016】上述のように、画像モードの種類別に応じ
た最適な画像圧縮部を対応させて圧縮できるため、画像
メモリに記憶する画像モードが、統計的性質が異なる中
間調を有する画像データや多階調データであっても、常
に各種画像データに応じた最適な圧縮処理を実行して、
画像データの記憶占有量を最も効率よく圧縮することが
できる。
As described above, since the optimum image compression section corresponding to each type of image mode can be associated and compressed, the image mode stored in the image memory has a large number of image data having halftones having different statistical properties or a large number of image data. Even with gradation data, the optimum compression processing is always executed according to various image data,
The storage occupancy of image data can be compressed most efficiently.

【0017】この発明と、上述の一実施例の構成との対
応において、この発明の画像入力装置は、実施例のハン
ディスキャナに対応し、以下同様に、画像読取り手段
は、CCDイメージセンサを用いた読取り部11に対応
し、画像処理手段は、画像処理部12に対応し、記憶手
段は、画像メモリ13に対応し、画像モード圧縮手段
は、画像圧縮部17に対応し、選択手段および制御手段
は、制御部15に対応するも、この発明は上述の一実施
例の構成のみに限定されるものではない。例えば、画像
の取込みと同時に圧縮をかけたり、画像ファイルの先頭
に画像モードを書込まず、制御部15が直接統計的デー
タを求め、この求めた値に基づいて最適な圧縮処理項目
を選択することもできる。
In the correspondence between the present invention and the configuration of the above-described one embodiment, the image input device of the present invention corresponds to the handy scanner of the embodiment, and hereinafter, similarly, the image reading means uses a CCD image sensor. The image processing unit corresponds to the image processing unit 12, the storage unit corresponds to the image memory 13, the image mode compression unit corresponds to the image compression unit 17, the selection unit and the control unit. Although the means corresponds to the control unit 15, the present invention is not limited to the configuration of the above-described embodiment. For example, the control unit 15 directly obtains statistical data without applying the image mode to the beginning of the image file or compressing the image at the same time as capturing the image, and selects the optimum compression processing item based on the obtained value. You can also

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

【図1】この発明のハンディスキャナの制御回路ブロッ
ク図。
FIG. 1 is a block diagram of a control circuit of a handy scanner according to the present invention.

【図2】この発明のハンディスキャナの画像処理動作を
示すフローチャート。
FIG. 2 is a flowchart showing an image processing operation of the handy scanner of the present invention.

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

11…読取り部 12…画像処理部 13…画像メモリ 15…制御部 17…画像圧縮部 11 ... Reading unit 12 ... Image processing unit 13 ... Image memory 15 ... Control unit 17 ... Image compression unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】原稿の画像を画像読取り手段を介して読取
った画像データを入力処理する画像入力装置であって、 上記画像読取り手段により読取った画像データを画像モ
ードに変換処理する画像処理手段と、 上記画像処理手段により変換処理された画像モードを記
憶する記憶手段と、 上記記憶手段で記憶した画像モードの記憶内容を、該モ
ードの種類別に応じた最適な圧縮処理手段で圧縮処理す
る各種の画像モード圧縮手段と、 上記各種の画像モード圧縮手段から記憶した画像モード
に対応する特定の画像モード圧縮手段を選択する選択手
段と、 上記選択手段で選択された特定の画像モード圧縮手段
で、上記記憶手段に記憶された画像モードの記憶内容を
圧縮処理させる制御手段とを備えた画像入力装置。
1. An image input device for input-processing image data obtained by reading an image of an original through image reading means, comprising image processing means for converting the image data read by the image reading means into an image mode. Storage means for storing the image mode converted by the image processing means, and various types of compression processing of the stored contents of the image mode stored by the storage means by the optimum compression processing means according to the type of the mode. The image mode compression means, the selection means for selecting a specific image mode compression means corresponding to the stored image mode from the various image mode compression means, and the specific image mode compression means selected by the selection means, An image input device, comprising: a control unit for compressing the storage contents of the image mode stored in the storage unit.
JP4200460A 1992-07-02 1992-07-02 Picture input device Pending JPH0622149A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4200460A JPH0622149A (en) 1992-07-02 1992-07-02 Picture input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4200460A JPH0622149A (en) 1992-07-02 1992-07-02 Picture input device

Publications (1)

Publication Number Publication Date
JPH0622149A true JPH0622149A (en) 1994-01-28

Family

ID=16424678

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4200460A Pending JPH0622149A (en) 1992-07-02 1992-07-02 Picture input device

Country Status (1)

Country Link
JP (1) JPH0622149A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9336586B2 (en) 2011-11-18 2016-05-10 Keyence Corporation Image processing apparatus and image processing method using compressed image data or partial image data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9336586B2 (en) 2011-11-18 2016-05-10 Keyence Corporation Image processing apparatus and image processing method using compressed image data or partial image data

Similar Documents

Publication Publication Date Title
US5130809A (en) Electrophotographic copier with constant rate data compression and simultaneous storage and decompression of compressed data received on a mutually coupled data bus
US5245444A (en) Image reproduction using error diffusion or dither matrix
JP3017851B2 (en) Image storage device
US6486976B1 (en) Image reading apparatus
US20040095605A1 (en) Image forming apparatus and image forming method
US5463476A (en) Image processing system
JPH0622149A (en) Picture input device
JP3789534B2 (en) Image reading device
JP2832089B2 (en) Image processing device
JP2000307818A (en) Scanner and method for selecting scanner resolution
JP3265100B2 (en) Facsimile machine
KR100222976B1 (en) Apparatus and method for saving paper when receiving facsimile data
JP3825940B2 (en) Image processing apparatus and control method thereof
KR100467559B1 (en) Handling method for sending facsimile document
JPH11187253A (en) Image processor and method
JP2000196883A (en) Image processor, image processing method, and recording medium
JPS61232769A (en) Image editing device
JP2939106B2 (en) Image forming device
JP2726053B2 (en) Image reading device
JP2000307854A (en) Scanner, and method for switching scanner modes
JP2767444B2 (en) Facsimile machine
JP2505772B2 (en) Image processing device
JP2852029B2 (en) Image processing method
JP2000196839A (en) Network adaptive scanner device
JPH02116979A (en) Picture processing device