JP3626669B2 - Image input method and apparatus - Google Patents

Image input method and apparatus Download PDF

Info

Publication number
JP3626669B2
JP3626669B2 JP2000227231A JP2000227231A JP3626669B2 JP 3626669 B2 JP3626669 B2 JP 3626669B2 JP 2000227231 A JP2000227231 A JP 2000227231A JP 2000227231 A JP2000227231 A JP 2000227231A JP 3626669 B2 JP3626669 B2 JP 3626669B2
Authority
JP
Japan
Prior art keywords
image
data
composite
unit
images
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.)
Expired - Fee Related
Application number
JP2000227231A
Other languages
Japanese (ja)
Other versions
JP2002044460A (en
Inventor
成宏 鎌倉
Original Assignee
日本電気エンジニアリング株式会社
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 日本電気エンジニアリング株式会社 filed Critical 日本電気エンジニアリング株式会社
Priority to JP2000227231A priority Critical patent/JP3626669B2/en
Publication of JP2002044460A publication Critical patent/JP2002044460A/en
Application granted granted Critical
Publication of JP3626669B2 publication Critical patent/JP3626669B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

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

Description

【0001】
【発明の属する技術分野】
本発明は画像入力方法および装置、特に類似した複数の画像を取り込み且つ画像圧縮する画像入力方法および装置に関する。
【0002】
【従来の技術】
従来の画像入力装置は、例えば特開平8−130710号公報の「高能率符号化装置と高能率符号復号装置および画像伝送装置」等に開示されている。この従来技術では、画像サイズ、圧縮比固定の高能率符号化装置、画像伝送装置の主要部を用いて、異なった圧縮比の処理を行える高能率符号化装置、画像伝送装置をユーザが利用し易い形で提供するものである。
【0003】
斯かる従来の画像入力装置では、1つの画像毎に画像圧縮を行っている。そのために、通常1つの画像を処理するための格納手段と画像圧縮手段を用いて、データ量の削減を行っている。しかしながら、斯かる従来技術では、複数の画像を連続で圧縮する場合に、前後の画像の類似度に関係なく圧縮を行うため、圧縮率は採用した圧縮方法によって決まってしまう。
【0004】
例えば、図8(A)および(B)に示す如く、相互に似通った2つの画像を圧縮する場合を例に説明する。図8(A)に示す画像で、ランレングス圧縮を行うと、図示の如く「W19B2W7B1W7B1W7B1W7B1W7B1W7B1W27」の15ブロックとなる。ここで、Wは白、Bは黒、またWおよびBの後の数字はビット数を示す。同様に、図8(B)の画像を圧縮すると、図示の如く「W18B3W7B1W7B1W7B1W6B1W6B1W7B4W27」の15ブロックとなる。これら2つの画像を別々に圧縮した場合には、両画像の単なる加算になり、合計30ブロックとなる。
【0005】
【発明が解決しようとする課題】
類似した画像を連続して圧縮する場合には、内容が殆ど同一であるにも拘らず1画像ずつ圧縮を行う。そのため、毎回同一内容部分では同一の演算を行っており、処理時間の無駄が生じるという問題がある。これは、連続した画像の前後の関連性を考慮することなく画像圧縮しているためである。しかも、データを別の装置に転送する場合への適応を考えてみると、転送データ量と転送時間は常に比例関係にあるため、転送時間がかかると共にデータ格納領域(メモリ容量)の使用量が多いことで関連装置全てに負荷がかかるという問題を発生する。
【0006】
【発明の目的】
従って、本発明の目的は、類似した画像を高圧縮率で圧縮し、データ量を削減すると共に転送時間の短縮が可能にする画像入力方法および装置を提供することである。
【0007】
【課題を解決するための手段】
本発明の画像入力方法は、類似する複数の画像を画像入力部により連続して取り込み、画像圧縮部により圧縮する画像入力方法において、前記画像入力部により取り込んだ複数の画像をビット交互配置により合成して複数画像合成データを作成する際に、1枚目の画像を基準として異なるサイズの画像を合成して複数画像合成データを作成し、該複数画像合成データに基づき前記画像圧縮部により画像圧縮する。ここで、画像圧縮部は、前記複数画像合成データに対してランレングス圧縮を行う。
【0008】
また、本発明による画像入力装置は、類似する複数の画像を連続して取り込む画像入力部および該画像入力部により取り込んだ画像を圧縮する画像圧縮部を有する画像入力装置において、前記画像入力部にて取り込んだ前記複数の画像データを格納する複数の画像メモリと、圧縮画像枚数、カラー画像圧縮情報又は基準データサイズと他の画像データとの差分データを格納するヘッダ部を有し、前記画像メモリに格納された複数の画像データをビット交互配置して合成する合成画像メモリとを備え、該合成画像メモリにより合成された複数画像合成データに基づき前記画像圧縮部により画像圧縮する。ここで、前記画像圧縮部で圧縮された画像データの復元手段であるコンピュータへ前記圧縮された画像データを転送するデータ転送部を備える
【0011】
【発明の実施の形態】
以下、本発明の上述したおよび他の目的、特徴および利点を明確にすべく、添付図を参照しながら、本発明の画像入力方法および装置の好適実施形態を詳細に説明する。
【0012】
図1は、本発明による画像入力装置の基本原理の構成と、これと共に使用され圧縮された画像を復元するコンピュータを示す。また、図2は、本発明による画像入力装置の好適実施形態および画像復元用コンピュータの詳細構成図を示す。画像入力装置1の基本構成は、図1に示す如く、画像入力部2、画像メモリ3、画像圧縮部6およびデータ転送部7である。一方、入力装置1で圧縮された画像を復元するコンピュータ8は、データ受信部9、圧縮復号部10およびこれにより再生された画像13よりなる。
【0013】
また、図2に示す好適実施形態の画像入力装置1は、画像メモリ3として、n(複数)個のメモリを有する。更に、画像合成部4の出力側に合成画像メモリ5を有する。また、コンピュータ8も、n(複数)個の画像13を有し、この画像13と圧縮復号部10との間に、合成画像メモリ11および合成画像復元部12を有する。
【0014】
画像メモリ3は、画像入力部2から1枚(シート)ずつ順番にイメージ(画像)を格納する。画像合成部4は、複数の画像から1画素ずつ交互に合成画像メモリ5に配置する。画像圧縮部6は、合成画像メモリ5の合成画像を圧縮する。データ転送部7は、圧縮された画像を他装置に転送又は送信する。また、圧縮画像復元用コンピュータ8のデータ受信部9は、画像入力装置1から送信されたデータを受信する。圧縮復号部10は、圧縮データを復元する。合成画像メモリ11は、圧縮復号部10で復号されたデータを格納する。合成画像復元部12は、復号された合成画像を1シートずつの画像に分割復元する。
【0015】
次に、図3(A)〜(C)を参照して、図1および図2に示す本発明による画像入力装置の動作例を説明する。図3は、画像合成部4が複数の画像メモリ3から合成画像メモリ5に変換する動作を示す。図3(A)は1枚目に入力される画像であり、図3(B)は2枚目に入力された画像である。図4は、合成画像の1画素ずつの配置を示す。この実施形態では、2枚の画像の合成であるために、1枚目および2枚目の画像が1画素ずつ交互に配置される。図3(C)は、図3(A)に示す1枚目の画像と図3(B)に示す2枚目の画像を1画素ずつ交互に配置したときの合成画像である。この画像を画像圧縮部6によりランレングス圧縮した場合には、W37B7W14…の如き圧縮データとなる。ここで、Wは白(又は、0)であり、Bは黒(又は、1)を表す。そして、数値は、連続したランレングス(画素数)を表している。
【0016】
次に、図1〜図4を参照して、本発明による画像入力装置1の好適実施形態の動作を詳細に説明する。画像入力装置1を用いて画像入力又は取り込みを行う。画像入力装置1の画像入力部2から入力された1枚目の画像を画像メモリ3に記憶する。次に、画像入力部2から入力された2枚目の画像を、画像メモリ3の上述した1枚目のメモリ領域とは別の領域に記憶する。この動作をn回繰り返すことができる。画像メモリ3に記憶(又は格納)している画像データを1枚目より順に引き出し、画像合成部4で画像データを合成する。画像合成部4で合成したデータは、合成画像メモリ5に記憶される。また、合成画像メモリ5に記憶されている合成画像データを画像圧縮部6で圧縮し、データ転送部7を介して圧縮複数画像データとしてコンピュータ8に転送される。
【0017】
次に、画像入力装置1のデータ転送部7からコンピュータ8に転送された圧縮複数画像データは、コンピュータ8のデータ受信部9で受け取り、この圧縮画像データを圧縮復号部10で復元する。復元された画像データは、合成画像メモリ11に記憶される。そして、合成画像復元部12により1画像ずつに画素を振り分け、画像入力装置1で入力した画像13に復元する。
【0018】
図3は、画像合成および画像圧縮方法を例示する。例えば、1枚目に図3(A)、2枚目に図3(B)の画像データを入力する。2枚の画像は、画像メモリ3の別の領域に記憶される。そして、画像合成部4により、図3(C)に示す如く1枚目および2枚目の画素を1画素ずつ交互に配置し、複数画像データとして画像合成メモリ5に記憶する。
【0019】
画像圧縮部6で、図3(C)のデータの白をW、黒をBとしてランレングス圧縮する。図4は、複数画像合成データの配列形式例を示す。複数画像合成データの初めの数ビットをヘッダ領域として扱い、画像データ蓄積枚数等を配置する。このヘッダ領域には、元画像の種々のデータを格納することができる。復号画像合成データのヘッダ部の最後となるビットには、記号等のヘッダ領域の最後を示すようにヘッダ領域最終マークを配置する。ヘッダビット数+ヘッダ領域最終マーク以降に画像毎の画像データを配置する。具体的には、複数画像合成データのヘッダビット数+ヘッダ領域最終マーク以降より画像データの第1ビットを1枚目の画像データから順番に配置する。n毎の画像データの第1ビットを配置し終えたら、複数画像合成データの次のビットより画像データの第2ビットを1枚目の画像データから順番に配置する。これを繰り返し行い、画像データの最終ビットまで配置する。これを図示すると、図3(C)のようになる。
【0020】
次に、類似する複数の画像を1つの画像として図4に示す如く画素を交互に配置することにより、圧縮率が高まることを、図3および図8を対比して説明する。上述の如く、図8に示すように画素配置の似通った2つの画像を圧縮する。図8(A)の画像で、ランレングス圧縮を行うと、上述の如く15ブロックとなり、同様に図8(B)の画像を圧縮すると、15ブロックとなる。これら2つの画像を別々に圧縮した場合には、合計30ブロックとなる。それに対し、図3(C)に示す如く交互に画素を配置して圧縮すると、21ブロックとなり、圧縮率を著しく向上させるという効果がもたらされる。
【0021】
本発明による好適実施形態によると、複数画像合成データにヘッダ部を設けているため、元画像情報を付加することができる。また、復号画像合成データのヘッダ部の最終ビットに記号等のヘッダ領域最終マークを配置するため、復号画像合成データヘッダ部のサイズを変更することも可能である。従って、圧縮復号部10で復元される複数画像合成データのヘッダ部を参照し、それぞれの画像13に復元して振り分けを行う。復号画像合成データのヘッダ部の具体的な格納情報内容は、例えば圧縮画像枚数を格納することにより、画像枚数の制限をなくすことが可能である。また、それぞれの画像データサイズを格納することにより、異なるサイズの画像データも圧縮復元することが可能となる。このように、画像枚数制限の排除や異なるサイズの画像データ等も同時に記憶することができる。以上のような拡張性の面での利点も得られる。更に、図3(C)の如く、類似画像の画素を交互に配置することにより、同一演算を減らし圧縮時間の無駄を省いて、圧縮率が改善される。
【0022】
以上の説明は、白黒(モノクロ)画像に対して行った。しかし、本発明は、単に白黒画像に限定されるものではなく、カラー画像に適用可能である。カラー画像を圧縮する場合には、ヘッダ領域にカラー画像圧縮情報を追加する。即ち、図5に示す如く、カラー画像の場合には、1画素につき1ビット+RGB(赤、緑および青)のビットで構成されているものとする。白黒画像の場合と同様に、1枚目画像の1ビット目をヘッダ部終了記号の後に付け、2枚目画像の1ビット目を1枚目画像の1画素目の後に付ける。白黒画像の圧縮との相違点は、色情報がB(黒)かW(白)のみでなく、RGBの値が画素ビットについてくることであり、白黒画像と同様に扱うことが可能である。白黒画像と同様に、RGBのビットを画素ビットと同様に複数画像合成データに交互に配置する。この動作を繰り返し行い、合成画像データを作成して圧縮する。
【0023】
次に、異なるサイズ(大きさ)の画像データを圧縮する場合について説明する。異なるサイズの画像データを圧縮する場合には、ヘッダ領域に画像サイズを入力する。この場合を、図6および図7を参照して詳細に説明する。図6には、画像Aが10ビットで構成される画像であり、画像Bが15ビットで構成される画像である場合の例を示す。図6(A)は画像データAを、図6(B)は画像データBを、そして図6(C)は複数画像合成データを示す。図7は、異なるサイズの画像の圧縮を行った場合の複数画像合成データ配列を示す。
【0024】
画像Aの画像データサイズの10ビットを基準とし、基準画像データサイズを決定する。画像Bの画像データサイズは、基準画像データサイズである画像Aとの差分をとる。この差分データは、「15−10=5」となる。この差分データと基準画像データサイズをヘッダ領域に記述する。異なる画像サイズの画像データの圧縮方法は、上述した図4と同様に、複数画像合成データを作成して圧縮する。異なるサイズの画像データを圧縮しているために、画素データを交互に配置すると、(大きい画像データサイズ)−(小さい画像データサイズ)のビットを交互に配置することができない。そこで、余りの画像データは、そのまま複数画像合成データの後ろに追加する。
【0025】
このように、画像は、白黒画像のみならず、カラー画像および異なるサイズの画像についても同時に圧縮することが可能である。
【0026】
次に、合成圧縮された画像データの復元について説明する。画像入力装置1の画像圧縮部6で圧縮された合成画像圧縮データをデータ転送部7から、画像復元手段であるコンピュータ8へ転送する。コンピュータ8のデータ受信部9で合成画像圧縮データを画像入力装置1から受け取る。このデータ受信部9で受け取った合成画像圧縮データは、圧縮復号部10に入力され、複数画像合成データに復元する。複数画像合成データは、合成画像メモリ11に蓄積(又は格納)され、画像入力装置1の合成画像復元部12で、画像入力部2より入力された画像に復元する。
【0027】
圧縮復号部10では、ランレングス圧縮されていた合成画像圧縮データを複数画像合成データに復元する。複数画像合成データは、図4に示す如く、ヘッダ部終了記号以下1枚目の画像の1ビット目、2枚目の画像の1ビット目、…といった形で配置されている。合成画像圧縮データから複数合成画像データに復元するためには、ランレングス圧縮されていた合成画像圧縮データに記述されているW2B6…といった配列を、複数画像合成データの形式にしなければならない。例えば、「W2B6」と記述されている場合には、「白白黒黒黒黒黒黒」という配列に変換する。
【0028】
次に、複数画像合成データから画像入力部2より入力された画像に復元する方法を説明する。先ず、合成画像メモリ11に蓄積されている複数画像合成データのヘッダ領域を参照する。白黒画像の場合には、ヘッダ領域に圧縮画像枚数nのみが記述されているため、ヘッダ部終了記号+1ビット、n+1ビット、2n+1ビット、…といった形で複数画像合成データの最後まで計算し、1枚目の画像データを抽出する。また、2枚目の画像データの場合にも、1枚目の画像と同様に、ヘッダ部終了記号+2ビット、n+2ビット、2n+2ビット、…という形で抽出する。この動作を画像枚数分行うことにより、画像入力装置1で入力したn個の画像13に全て復元することができる。
【0029】
一方、カラー画像の場合には、ヘッダ領域にカラー画像圧縮情報が記述されているため、カラー画像として圧縮されていることが分かる。カラー画像も復号画像合成データのヘッダ領域以外が白黒画像と同様であるため、白黒画像の復元と同様の方法で復元できる。
【0030】
また、異なるサイズの画像を復元する場合には、先ず、基準画像データサイズに基づき各画像の画像データサイズを抽出する。1枚目の画像は、基準画像サイズであるため、復元する必要はない。しかし、2枚目以降の画像は、上述した差分データが記述されているため、2枚目以降の画像サイズを抽出する。抽出計算式は、(基準画像データサイズ)+(差分データ)である。各画像データの抽出は、白黒画像のデータ抽出方法と同一である。先ず、1枚目の画像の基準画像データサイズ分だけ抽出を行う。2枚目の画像サイズ分の抽出を行う。この動作を繰り返すことにより、複数の異なるサイズの画像を入力した画像に復元することが可能である。
【0031】
上述した各実施形態において、複数画像合成データにヘッダ部を設けているため、元画像のデータや圧縮画像枚数等のデータを付加することができる。また、復号画像合成データヘッダ部の最後のビットに記号等を配置することにより、復号画像合成データヘッダ部のサイズを変更することも可能である。画像復元時には、圧縮復号部10で復元される複数画像合成データのヘッダ部を参照し、それぞれの画像13に復元して振り分けを行う。例えば、復号画像合成データヘッダ部に圧縮画像枚数を格納することにより、画像枚数の制限をなくすことが可能である。また、それぞれの画像データサイズを格納することにより、異なるサイズの画像データも圧縮復元することが可能となる。このように、画像枚数制限の排除や異なるサイズの画像データも同時に記憶することができる。以上のような拡張性の面での利点も得られる。更に、図3(C)の如く、複数枚の画像の画素を交互に配置することで、類似画像における圧縮時の同一演算を減少し、圧縮時間の無駄を省くことにより、圧縮率が改善できる。
【0032】
以上、本発明の好適実施形態の構成および動作を詳述した。しかし、斯かる実施形態は、本発明の単なる例示に過ぎず、何ら本発明を限定するものではないことに留意されたい。本発明の要旨を逸脱することなく、特定用途に応じて種々の変形変更が可能であること、当業者には容易に理解できよう。
【0033】
【発明の効果】
以上の説明から理解される如く、本発明によれば次の如き実用上の顕著な効果が得られる。類似画像において、同一演算を減らし圧縮時間の無駄を省くことにより、圧縮率を改善することが可能である。また、画像合成枚数に制限がないことおよび複数画像合成データのヘッダ部サイズを変更し、種々の元画像のデータを付加することで、圧縮データの拡張を図ることを可能となる。
【図面の簡単な説明】
【図1】本発明による画像圧縮入力装置および復元装置の基本構成を示すブロック図である。
【図2】本発明における画像圧縮入力装置および復元装置の好適実施形態の構成を示すブロック図である。
【図3】本発明における複数画像合成および圧縮技術を説明するデータ配列例である。
【図4】本発明における複数画像合成データ配列を示す図である。
【図5】本発明におけるカラー画像圧縮情報を含む複数画像合成データ配列の例である。
【図6】本発明における異なるサイズの画像データの複数画像合成データ配列の例である。
【図7】本発明における異なるサイズの画像の圧縮を行った場合の複数画像合成データ配列の例である。
【図8】画像データ圧縮技術の従来例の説明図である。
【符号の説明】
1 画像入力装置
2 画像入力部
3 画像メモリ
4 画像合成部
5 合成画像メモリ
6 画像圧縮部
7 データ転送部
8 コンピュータ(画像復元手段)
9 データ受信部
10 圧縮復号部
11 合成画像メモリ
12 合成画像復元部
13 画像
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image input method and apparatus, and more particularly to an image input method and apparatus for capturing and compressing a plurality of similar images.
[0002]
[Prior art]
A conventional image input apparatus is disclosed in, for example, “High-efficiency encoding apparatus, high-efficiency code decoding apparatus, and image transmission apparatus” of Japanese Patent Laid-Open No. 8-130710. In this prior art, a user uses a high-efficiency encoding device and an image transmission device that can perform processing of different compression ratios using the main part of the image size and compression ratio fixed high-performance encoding device and image transmission device. It is provided in an easy form.
[0003]
In such a conventional image input device, image compression is performed for each image. For this purpose, the data amount is usually reduced by using storage means and image compression means for processing one image. However, in such a conventional technique, when a plurality of images are continuously compressed, the compression rate is determined by the compression method employed because the compression is performed regardless of the similarity between the preceding and succeeding images.
[0004]
For example, as shown in FIGS. 8A and 8B, a case where two similar images are compressed will be described as an example. When run-length compression is performed on the image shown in FIG. 8A, 15 blocks of “W19B2W7B1W7B1W7B1W7B1W7B1W7B1W27” are obtained as illustrated. Here, W is white, B is black, and the numbers after W and B indicate the number of bits. Similarly, when the image of FIG. 8B is compressed, 15 blocks of “W18B3W7B1W7B1W7B1W6B1W6B1W7B4W27” are obtained as illustrated. When these two images are compressed separately, the two images are simply added, for a total of 30 blocks.
[0005]
[Problems to be solved by the invention]
When the similar images are continuously compressed, the images are compressed one by one even though the contents are almost the same. Therefore, the same calculation is performed on the same content portion every time, and there is a problem that processing time is wasted. This is because the image compression is performed without considering the relationship between before and after successive images. In addition, considering the adaptation to the case of transferring data to another device, the transfer data amount and the transfer time are always in a proportional relationship. Therefore, it takes a transfer time and the use amount of the data storage area (memory capacity) The large number causes a problem that all related devices are loaded.
[0006]
OBJECT OF THE INVENTION
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide an image input method and apparatus capable of compressing similar images at a high compression rate to reduce the data amount and shorten the transfer time.
[0007]
[Means for Solving the Problems]
Image input method of the present invention takes successively by the image input unit a plurality of images similar in the image input method for compressing the image compression unit, combining the images captured by the image input unit by the bit interleaved Then, when creating multiple image composite data, multiple image composite data is created by combining images of different sizes with the first image as a reference, and image compression is performed by the image compression unit based on the multiple image composite data To do. Here, the image compression unit performs run-length compression on the multiple image composite data.
[0008]
An image input device according to the present invention includes an image input unit that continuously captures a plurality of similar images and an image compression unit that compresses an image captured by the image input unit. A plurality of image memories for storing the plurality of image data captured by the image data, and a header section for storing difference data between the number of compressed images, color image compression information or reference data size and other image data, and the image memory And a combined image memory for combining the plurality of image data stored in bit-by-bit arrangement, and the image compression unit compresses the image based on the combined image data combined by the combined image memory. Here, a data transfer unit is provided for transferring the compressed image data to a computer which is a restoring means for the image data compressed by the image compression unit .
[0011]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, in order to clarify the above-mentioned and other objects, features, and advantages of the present invention, preferred embodiments of an image input method and apparatus of the present invention will be described in detail with reference to the accompanying drawings.
[0012]
FIG. 1 shows the configuration of the basic principle of an image input apparatus according to the present invention and a computer for use in conjunction with this to restore a compressed image. FIG. 2 shows a detailed configuration diagram of a preferred embodiment of an image input apparatus and an image restoration computer according to the present invention. The basic configuration of the image input apparatus 1 is an image input unit 2, an image memory 3, an image compression unit 6, and a data transfer unit 7, as shown in FIG. On the other hand, a computer 8 that restores an image compressed by the input device 1 includes a data receiving unit 9, a compression decoding unit 10, and an image 13 reproduced thereby.
[0013]
In addition, the image input device 1 of the preferred embodiment shown in FIG. 2 has n (plural) memories as the image memory 3. Furthermore, a composite image memory 5 is provided on the output side of the image composition unit 4. The computer 8 also has n (plural) images 13, and has a composite image memory 11 and a composite image restoration unit 12 between the images 13 and the compression decoding unit 10.
[0014]
The image memory 3 stores images (images) in order from the image input unit 2 one by one (sheet). The image synthesizing unit 4 alternately arranges each pixel from the plurality of images in the synthesized image memory 5. The image compression unit 6 compresses the composite image in the composite image memory 5. The data transfer unit 7 transfers or transmits the compressed image to another device. The data receiving unit 9 of the compressed image restoration computer 8 receives data transmitted from the image input device 1. The compression decoding unit 10 restores the compressed data. The composite image memory 11 stores the data decoded by the compression decoding unit 10. The composite image restoration unit 12 restores the decoded composite image by dividing it into images for each sheet.
[0015]
Next, an operation example of the image input apparatus according to the present invention shown in FIGS. 1 and 2 will be described with reference to FIGS. FIG. 3 shows an operation in which the image composition unit 4 converts the plurality of image memories 3 to the composite image memory 5. FIG. 3A shows an image input to the first image, and FIG. 3B shows an image input to the second image. FIG. 4 shows an arrangement of each pixel of the composite image. In this embodiment, since the two images are combined, the first and second images are alternately arranged pixel by pixel. FIG. 3C is a composite image when the first image shown in FIG. 3A and the second image shown in FIG. 3B are alternately arranged pixel by pixel. When this image is run-length compressed by the image compression unit 6, it becomes compressed data such as W37B7W14. Here, W represents white (or 0), and B represents black (or 1). The numerical value represents a continuous run length (number of pixels).
[0016]
Next, the operation of the preferred embodiment of the image input apparatus 1 according to the present invention will be described in detail with reference to FIGS. The image input device 1 is used to input or capture an image. The first image input from the image input unit 2 of the image input device 1 is stored in the image memory 3. Next, the second image input from the image input unit 2 is stored in an area different from the above-described first memory area of the image memory 3. This operation can be repeated n times. Image data stored (or stored) in the image memory 3 is extracted in order from the first image, and the image data is synthesized by the image synthesis unit 4. The data synthesized by the image synthesizing unit 4 is stored in the synthesized image memory 5. Further, the composite image data stored in the composite image memory 5 is compressed by the image compression unit 6 and transferred to the computer 8 through the data transfer unit 7 as compressed multiple image data.
[0017]
Next, the compressed multiple image data transferred from the data transfer unit 7 of the image input apparatus 1 to the computer 8 is received by the data receiving unit 9 of the computer 8, and the compressed image data is restored by the compression decoding unit 10. The restored image data is stored in the composite image memory 11. Then, the composite image restoration unit 12 distributes pixels for each image and restores the image 13 input by the image input apparatus 1.
[0018]
FIG. 3 illustrates an image composition and image compression method. For example, the image data of FIG. 3A is input to the first sheet and the image data of FIG. 3B is input to the second sheet. The two images are stored in another area of the image memory 3. Then, the first and second pixels are alternately arranged one by one as shown in FIG. 3C by the image composition unit 4 and stored in the image composition memory 5 as a plurality of image data.
[0019]
The image compression unit 6 performs run length compression on the data shown in FIG. FIG. 4 shows an example of an array format of multiple image composite data. The first few bits of the multi-image composite data are treated as a header area, and the number of image data stored is arranged. Various data of the original image can be stored in this header area. In the last bit of the header portion of the decoded image composite data, a header area final mark is arranged so as to indicate the end of the header area such as a symbol. Image data for each image is arranged after the header bit number + the header area last mark. Specifically, the first bit of the image data is arranged in order from the first image data from the number of header bits of the multiple image composite data + the header area last mark and thereafter. When the arrangement of the first bit of the image data for every n is completed, the second bit of the image data is arranged in order from the first image data from the next bit of the plurality of pieces of composite image data. This is repeated until the last bit of the image data is arranged. This is illustrated in FIG. 3 (C).
[0020]
Next, the fact that the compression rate is increased by alternately arranging pixels as shown in FIG. 4 with a plurality of similar images as one image will be described in comparison with FIG. 3 and FIG. 8. As described above, two images having similar pixel arrangements are compressed as shown in FIG. When run-length compression is performed on the image of FIG. 8A, 15 blocks are obtained as described above. Similarly, when the image of FIG. 8B is compressed, 15 blocks are obtained. When these two images are compressed separately, the total is 30 blocks. On the other hand, when pixels are alternately arranged and compressed as shown in FIG. 3C, the number of blocks becomes 21 and the compression ratio is remarkably improved.
[0021]
According to the preferred embodiment of the present invention, since the header portion is provided in the multi-image composite data, the original image information can be added. In addition, since the header area final mark such as a symbol is arranged at the last bit of the header portion of the decoded image composite data, the size of the decoded image composite data header portion can be changed. Accordingly, the header portion of the multiple image composite data restored by the compression decoding unit 10 is referred to restore the respective images 13 for distribution. By storing the number of compressed images, for example, the specific stored information content in the header portion of the decoded image composition data can eliminate the restriction on the number of images. Further, by storing the respective image data sizes, it is possible to compress and decompress image data of different sizes. In this way, the limitation on the number of images can be eliminated and image data of different sizes can be stored at the same time. Advantages in terms of extensibility as described above can also be obtained. Further, as shown in FIG. 3C, by alternately arranging pixels of similar images, the same calculation is reduced, compression time is wasted, and the compression rate is improved.
[0022]
The above description has been made on a monochrome image. However, the present invention is not limited to a monochrome image, but can be applied to a color image. When compressing a color image, color image compression information is added to the header area. That is, as shown in FIG. 5, in the case of a color image, it is assumed that each pixel is composed of 1 bit + RGB (red, green and blue) bits. As in the case of the monochrome image, the first bit of the first image is added after the header end symbol, and the first bit of the second image is added after the first pixel of the first image. The difference from the compression of a black and white image is that not only the color information is B (black) or W (white) but also the RGB values follow the pixel bits and can be handled in the same way as a black and white image. Similar to a monochrome image, RGB bits are alternately arranged in a plurality of pieces of image composite data in the same manner as pixel bits. This operation is repeated to create composite image data and compress it.
[0023]
Next, a case where image data having different sizes (sizes) is compressed will be described. When compressing image data of different sizes, the image size is input to the header area. This case will be described in detail with reference to FIG. 6 and FIG. FIG. 6 shows an example in which the image A is an image composed of 10 bits and the image B is an image composed of 15 bits. 6A shows image data A, FIG. 6B shows image data B, and FIG. 6C shows multi-image composite data. FIG. 7 shows a multi-image composite data array when images of different sizes are compressed.
[0024]
The reference image data size is determined based on 10 bits of the image data size of the image A. The image data size of the image B is the difference from the image A that is the reference image data size. This difference data is “15−10 = 5”. The difference data and the reference image data size are described in the header area. As a method for compressing image data having different image sizes, a plurality of pieces of composite image data are created and compressed in the same manner as in FIG. 4 described above. Since image data of different sizes are compressed, if pixel data are alternately arranged, bits of (large image data size) − (small image data size) cannot be alternately arranged. Therefore, the remaining image data is added as it is after the multi-image composite data.
[0025]
As described above, it is possible to simultaneously compress not only a monochrome image but also a color image and images of different sizes.
[0026]
Next, restoration of image data that has been combined and compressed will be described. The composite image compression data compressed by the image compression unit 6 of the image input apparatus 1 is transferred from the data transfer unit 7 to the computer 8 which is an image restoration unit. The composite image compressed data is received from the image input device 1 by the data receiving unit 9 of the computer 8. The composite image compressed data received by the data receiving unit 9 is input to the compression / decoding unit 10 and restored to a plurality of image composite data. The multi-image composite data is accumulated (or stored) in the composite image memory 11 and restored to the image input from the image input unit 2 by the composite image restoration unit 12 of the image input device 1.
[0027]
The compression decoding unit 10 restores the composite image compressed data that has been run-length compressed into a plurality of image composite data. As shown in FIG. 4, the multi-image composite data is arranged in the form of the first bit of the first image below the header part end symbol, the first bit of the second image, and so on. In order to restore the composite image compressed data to the multiple composite image data, an array such as W2B6... Described in the composite image compressed data that has been run-length compressed must be in the format of the multiple image composite data. For example, when “W2B6” is described, it is converted into an array of “white monochrome black black black black”.
[0028]
Next, a method for restoring an image input from the image input unit 2 from multiple image composite data will be described. First, the header area of the multiple image composite data stored in the composite image memory 11 is referred to. In the case of a monochrome image, since only the number n of compressed images is described in the header area, the calculation is made up to the end of the multi-image composite data in the form of a header end symbol + 1 bit, n + 1 bit, 2n + 1 bit,. Extract the image data of the first sheet. Also, in the case of the second image data, similarly to the first image, the header part end symbol +2 bits, n + 2 bits, 2n + 2 bits,... Are extracted. By performing this operation for the number of images, all of the n images 13 input by the image input device 1 can be restored.
[0029]
On the other hand, in the case of a color image, since color image compression information is described in the header area, it can be seen that the image is compressed as a color image. Since the color image is the same as the monochrome image except for the header area of the decoded image synthesis data, it can be restored by the same method as the restoration of the monochrome image.
[0030]
When restoring images of different sizes, first, the image data size of each image is extracted based on the reference image data size. Since the first image has the reference image size, it is not necessary to restore it. However, since the difference data described above is described for the second and subsequent images, the second and subsequent image sizes are extracted. The extraction calculation formula is (reference image data size) + (difference data). The extraction of each image data is the same as the data extraction method for black and white images. First, extraction is performed for the reference image data size of the first image. Extraction for the second image size is performed. By repeating this operation, it is possible to restore a plurality of images of different sizes to the input image.
[0031]
In each of the embodiments described above, since the header portion is provided for the multiple image composite data, data such as the original image data and the number of compressed images can be added. It is also possible to change the size of the decoded image synthesized data header part by arranging a symbol or the like in the last bit of the decoded image synthesized data header part. At the time of image restoration, the header portion of the multi-image composite data restored by the compression decoding unit 10 is referred to restore the respective images 13 and perform distribution. For example, it is possible to eliminate the restriction on the number of images by storing the number of compressed images in the decoded image synthesis data header part. Further, by storing the respective image data sizes, it is possible to compress and decompress image data of different sizes. In this way, the limitation on the number of images can be eliminated and image data of different sizes can be stored simultaneously. Advantages in terms of extensibility as described above can also be obtained. Furthermore, as shown in FIG. 3C, by alternately arranging the pixels of a plurality of images, the compression rate can be improved by reducing the same calculation at the time of compression in a similar image and eliminating waste of compression time. .
[0032]
The configuration and operation of the preferred embodiment of the present invention have been described in detail above. However, it should be noted that such embodiments are merely examples of the present invention and do not limit the present invention in any way. Those skilled in the art will readily understand that various modifications and changes can be made according to a specific application without departing from the gist of the present invention.
[0033]
【The invention's effect】
As understood from the above description, according to the present invention, the following remarkable effects in practical use can be obtained. In similar images, it is possible to improve the compression rate by reducing the same computation and eliminating wasted compression time. Further, it is possible to expand the compressed data by having no limitation on the number of images to be combined, changing the header size of the multiple image combined data, and adding various original image data.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a basic configuration of an image compression input device and a decompression device according to the present invention.
FIG. 2 is a block diagram illustrating a configuration of a preferred embodiment of an image compression input device and a decompression device according to the present invention.
FIG. 3 is a data array example illustrating a multiple image composition and compression technique in the present invention.
FIG. 4 is a diagram showing a multi-image composite data array in the present invention.
FIG. 5 is an example of a multi-image composite data array including color image compression information in the present invention.
FIG. 6 is an example of a multi-image composite data array of image data of different sizes in the present invention.
FIG. 7 is an example of a multi-image composite data array when images of different sizes are compressed according to the present invention.
FIG. 8 is an explanatory diagram of a conventional example of image data compression technology.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Image input device 2 Image input part 3 Image memory 4 Image composition part 5 Composition image memory 6 Image compression part 7 Data transfer part 8 Computer (image restoration means)
9 Data receiver 10 Compression decoder 11 Composite image memory 12 Composite image restoration unit 13 Image

Claims (4)

類似する複数の画像を画像入力部により連続して取り込み、画像圧縮部により圧縮する画像入力方法において、
前記画像入力部により取り込んだ複数の画像をビット交互配置により合成して複数画像合成データを作成する際に、1枚目の画像を基準として異なるサイズの画像を合成して複数画像合成データを作成し、該複数画像合成データに基づき前記画像圧縮部により画像圧縮することを特徴とする画像入力方法。
In an image input method in which a plurality of similar images are successively captured by an image input unit and compressed by an image compression unit.
When creating multiple image composite data by combining multiple images captured by the image input unit using bit alternate arrangement, create multiple image composite data by combining images of different sizes based on the first image An image input method comprising: compressing an image by the image compression unit based on the composite image data.
前記画像圧縮部は、前記複数画像合成データに対してランレングス圧縮を行うことを特徴とする請求項1に記載の画像入力方法。The image input method according to claim 1, wherein the image compression unit performs run-length compression on the plurality of combined image data. 類似する複数の画像を連続して取り込む画像入力部および該画像入力部により取り込んだ画像を圧縮する画像圧縮部を有する画像入力装置において、
前記画像入力部にて取り込んだ前記複数の画像データを格納する複数の画像メモリと、圧縮画像枚数、カラー画像圧縮情報又は基準データサイズと他の画像データとの差分データを格納するヘッダ部を有し、前記画像メモリに格納された複数の画像データをビット交互配置して合成する合成画像メモリとを備え、該合成画像メモリにより合成された複数画像合成データに基づき前記画像圧縮部により画像圧縮することを特徴とする画像入力装置。
In an image input apparatus having an image input unit that continuously captures a plurality of similar images and an image compression unit that compresses an image captured by the image input unit,
A plurality of image memories that store the plurality of image data captured by the image input unit; and a header unit that stores difference data between the number of compressed images, color image compression information or reference data size and other image data. And a composite image memory for combining a plurality of image data stored in the image memory by alternately arranging bits, and compressing the image by the image compression unit based on the composite image data combined by the composite image memory An image input apparatus characterized by that .
前記画像圧縮部で圧縮された画像データの復元手段であるコンピュータへ前記圧縮された画像データを転送するデータ転送部を備えることを特徴とする請求項3に記載の画像入力装置。 The image input apparatus according to claim 3, further comprising a data transfer unit that transfers the compressed image data to a computer that is a restoration unit of the image data compressed by the image compression unit.
JP2000227231A 2000-07-27 2000-07-27 Image input method and apparatus Expired - Fee Related JP3626669B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000227231A JP3626669B2 (en) 2000-07-27 2000-07-27 Image input method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000227231A JP3626669B2 (en) 2000-07-27 2000-07-27 Image input method and apparatus

Publications (2)

Publication Number Publication Date
JP2002044460A JP2002044460A (en) 2002-02-08
JP3626669B2 true JP3626669B2 (en) 2005-03-09

Family

ID=18720716

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000227231A Expired - Fee Related JP3626669B2 (en) 2000-07-27 2000-07-27 Image input method and apparatus

Country Status (1)

Country Link
JP (1) JP3626669B2 (en)

Also Published As

Publication number Publication date
JP2002044460A (en) 2002-02-08

Similar Documents

Publication Publication Date Title
US6285796B1 (en) Pseudo-fixed length image compression scheme
US7974480B2 (en) Universal fixed-pixel-size ISP scheme
CN100477788C (en) Image processing display device and method
US7180901B2 (en) System and method using a packetized encoded bitstream for parallel compression and decompression
US6184936B1 (en) Multi-function USB capture chip using bufferless data compression
US6608933B1 (en) Loss tolerant compressed image data
CN101107838A (en) Encoding device, encoding method, encoding program, and imaging device
TW508940B (en) Method and apparatus for color image date processing and compression
US5604495A (en) Data compression method and system
JP4628647B2 (en) On-the-fly transfer of data between RGB and YCrCb color space for DCT interface
KR20050113500A (en) Compression and decompression device of graphic data and therefor method
WO2004056084A1 (en) Image data compression device and decompression device and image data compression program and decompression program
JP4610450B2 (en) Image processing apparatus for processing fixed length compressed image and packing data of attribute information
JP3626669B2 (en) Image input method and apparatus
US6427029B1 (en) Image signal processing method and device, and storage medium
WO2011010431A1 (en) Image processing device, image processing method, and image capturing device
WO2003094503A1 (en) Image processing device and image processing method
TWI300311B (en) Progressive differential motion jpeg codec
US20210352303A1 (en) Method for processing transform coefficients
JP4219079B2 (en) Image processing device
JP2000059612A (en) Image processing device and method therefor
JP2821614B2 (en) Image transmission apparatus and image transmission method
JP2001094985A (en) Image coder
JP4364729B2 (en) Image data compression / decompression method and image processing apparatus
TW385613B (en) Method for data compression in image pickup device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040806

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040817

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041018

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20041116

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20041203

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071210

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081210

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081210

Year of fee payment: 4

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081210

Year of fee payment: 4

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091210

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091210

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101210

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees