JP2744229B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JP2744229B2
JP2744229B2 JP61088611A JP8861186A JP2744229B2 JP 2744229 B2 JP2744229 B2 JP 2744229B2 JP 61088611 A JP61088611 A JP 61088611A JP 8861186 A JP8861186 A JP 8861186A JP 2744229 B2 JP2744229 B2 JP 2744229B2
Authority
JP
Japan
Prior art keywords
image
data
compressed data
compressed
memory
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
JP61088611A
Other languages
Japanese (ja)
Other versions
JPS62245379A (en
Inventor
尚登 河村
良弘 石田
有二 西垣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP61088611A priority Critical patent/JP2744229B2/en
Priority to US07/038,288 priority patent/US4918541A/en
Publication of JPS62245379A publication Critical patent/JPS62245379A/en
Application granted granted Critical
Publication of JP2744229B2 publication Critical patent/JP2744229B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Processing Or Creating Images (AREA)

Description

【発明の詳細な説明】 <技術分野> 本発明は画像データを処理する画像処理装置に関す
る。 <従来技術> 従来、高密度カラー画像データを変換処理、或は編集
処理する装置としては、サイテツクス社のレスポンス30
0シリーズ、クロスフイールド社のSTUDIO−800シリーズ
等の印刷システムが知られている。 しかしながら、これらの装置は大型であり、しかも処
理時間が長いという欠点があった。 <目的> 本発明は以上の点に鑑みてなされたもので、画像の回
転処理を簡易な構成で、画像情報の欠落なしに、且つ、
高速に実行可能とすることを目的とし、詳しくは、画像
をm×m画素単位で圧縮した圧縮データを格納した圧縮
データメモリと、前記圧縮データメモリから圧縮データ
を読出す読出手段と、前記読出手段により読出された圧
縮データを復号し、mライン毎に画像データを出力する
復号手段と、前記復号手段により復号されたmライン分
の画像データに対して、画像の拡大縮小を伴わずに画像
を傾ける変換処理を行なう処理手段と、前記処理手段に
より変換処理されたmライン分の画像データをm×m画
素単位で圧縮する圧縮手段と、前記圧縮手段により圧縮
された圧縮データを前記圧縮データメモリに格納する格
納手段とを有し、前記読出手段により前記圧縮データメ
モリから第1の方向に関して圧縮データを読出し、前記
復号手段により復号し、復号された画像データに対して
前記処理手段により画像の拡大縮小を伴わずに画像を前
記第1の方向に傾ける第1の変換処理を行ない、第1の
変換処理された画像データを前記圧縮手段により圧縮
し、前記格納手段により前記圧縮データメモリに格納す
る第1の画像傾け処理、及び、前記読出手段により前記
第1の方向に直交する第2の方向に関して前記圧縮デー
タメモリから圧縮データを読出し、前記復号手段により
復号し、復号された画像データに対して前記処理手段に
より画像の拡大縮小を伴わずに画像を前記第2の方向に
傾ける第2の変換処理を行ない、第2の変換処理された
画像データを前記圧縮手段により圧縮し、前記格納手段
により前記圧縮データメモリに格納する第2の画像傾け
処理、及び、前記読出手段により前記圧縮データメモリ
から前記第1の方向に関して圧縮データを読出し、前記
復号手段により復号し、復号された画像データに対して
前記処理手段により画像の拡大縮小を伴わずに画像を前
記第1の方向に傾ける第1の変換処理を行ない、第1の
変換処理された画像データを前記圧縮手段により圧縮
し、前記格納手段により前記圧縮データメモリに格納す
る第3の画像傾け処理とにより、前記圧縮データメモリ
に格納されている圧縮データにより表わされる画像に対
して回転処理を行なう画像処理装置を提供するものであ
る。 <実施例> (概要) 一般に画像処理装置の機能としては、 以上の2つの編集機能を必要とする。前者は一般にハ
ードウエアによるパイプライン・プロセサーと言われる
もので本装置に於ては画像編集機能のある特定の高速性
を必要とする項目について実行する。後者のCPUによる
処理は人間とインターラクテイブに行う項目について
(ある程度時間はかかってもよい)実行する。 即ち、前者のパイプライン・プロセサーは、例えば画
像のレイアウトを決めるアフイン変換(拡大・縮小・移
動・回転)と空間フイルター処理(画像の強調・平滑化
等)及びlook up table(LUT)による色変換処理等の画
像の逐次処理を主として行う。 後者のCPUによる処理は一般に複雑な処理・ハードウ
エア化出来にくい処理を行う。ここでは画像を任意の形
状に切り出したり、切り出した画像を別の所へコピーす
る処理、画像を一部を修正する等の処理をさす。これら
の処理は一般に操作者の創造によるクリエイテイブな処
理で、ある程度、時間がかかっても許容出来る。しかし
この機能は高機能である必要がある。 以上2つの編集処理機能を最大のパフオーマンスで実
施するためには編集装置のシステム・アーキテクチヤー
から考える必要がある。即ち両者の処理が十分高機能に
高速に実行出来るようにするためには、構成するシステ
ムの体系、取り扱う画像データの持ち方(フオーマツ
ト)、信号の流れ、機能の解析等が検討される必要があ
る。 種々の検討の結果カラー画像処理装置としてのシステ
ム・アーキテクチヤーとして次の事が結論として得られ
た。 (1)画像編集を行う為には、画像データは圧縮データ
として持つ。 (2)圧縮の方式としてはm×mのブロツクを一符号と
して持つブロツク符号化又はベクトル量子化がよい。 (3)高精細な画像編集を行う為には、m×mの内部の
画像データを書き直す必要がある。 (1)に於て、高解像・高階調の画像編集処理を行う
ためには、画像データ容量としては極めて莫大となる。
例えばA4 1pageを16pel/mm各8bit/PIXELでカラー読取り
した場合、R,G,B3色で約48Mバイトのデータ容量とな
る。先に述べた画像編集をインターラクテイブに、且つ
高機能に行うためにはかかるカラー画像データを圧縮
し、編集しやすい形にする事が重要技術となる。このた
めには(2)のブロツク符号化又はベクトル量子化手法
が最適であると結論づけられた。 これは即ち画像のm×m画素を1つの固定長のコード
に直す方式で、大きな圧縮率が得られる事と、画像デー
タの位置情報が保持されているため容易に編集出来るた
めである。 かかる圧縮法を用いて画像データを持った場合、我々
は高精細な画像編集を行うためには(3)に示される様
に圧縮の単位のm×m内の画素データまで編集結果とし
て書き直す必要がある事に気がついた。即ちベクトル量
子化手法によるm×m単位で持ったコードデータの集合
を編集した結果、編集の項目によっては、コードの値を
変化させる必要がある。 以下、本発明の実施例に基づき詳細に説明する。 (実施例の詳細な説明) 第1図はこの発明の一実施例を示す画像処理装置の構
成図である。リーダ1によって読みとられた画像データ
(例えばR,G,B各8bitデジタルデータ)は変換器11によ
り信号変換され、NTSC信号で用いられる輝度(Y)信号
と色差信号(I,Q)に変換される。かかる変換は例えば
R,G,Bのデータを なるマトリツクス計算により得られる。ここで変換マト
リツクスの係数はリーダの色分解特性、γ特性等に合わ
せて適宜修正される。かかるY,I,Q信号は後述の圧縮器
2により圧縮され画像データフアイル用のデイスクメモ
リ3へ記憶される。デイスク内の画像データはImageメ
モリ5と呼ばれるICメモリ上へ読み出され加工・編集さ
れる。ここで高速処理を行うべく基本処理はハードウエ
ア化されたパイプライン・プロセサ4によって行われ
る。 一方イメージメモリ5上の画像データはCPU8により各
種処理が施され加工・修正が行われる。編集の過程はCR
Tコントローラ9によりカラーCRT10上へ表示され、編集
の状況がモニターできる。編集された結果はイメージメ
モリー5から復号器6を通して元の画像データに戻さ
れ、変換器12によりこの画像データがプリンターに対応
した色信号(イエロー,マゼンタ,シアン,ブラツク)
に変換されカラープリンタ7へ出力される。 (圧縮符号化) 次に画像データの圧縮法について述べる。 Y,I,Qのような輝度と色差の3色信号に分けることに
より、輝度データであるY信号の空間周波数をよく保存
しておけば、色差信号であるI,Q信号の空間周波数はあ
る程度制限し(高周波成分のカツト)視覚上の画質劣化
が少ないということが知られている。 そこで例えばI,Q信号はm×mのブロツク(mは整
数)の平均値等で色情報を代表させ、カラー画像のデー
タ量を削減するデータ圧縮法が考えられる。I,Q信号の
ブロツクサイズは要求される画質、許容されるメモリ容
量により2×2,4×4,6×6などのブロツクサイズが選ば
れる。例えばブロツクサイズを4×4とすると、前述し
たようにA4 1pageのメモリ容量48MByteは、Y信号16MBy
te(非圧縮)+I,Q信号2MByte=計18MByteとなり約2.7
の圧縮率となる。 一方Y信号に関してはI,Q信号の圧縮とは異なり解像
度データを十分残すような圧縮法が必要となる。 第1の方法としてブロツク符号化手法がある。 この手法はm×mブロツク内の画素データxの平均値
、標準偏差σを算出する。次に各画素ごとの濃淡情報
を数bit程度で表わす。例えば(x−)/σの計算値
を再量子化することにより実現できる。この圧縮データ
フオーマツトは第2図(a)のようになり、平均値、標
準偏差の次に各画素の濃淡情報を続け、この濃淡情報の
順序をブロツク内の画素位置に1対1に対応させる。 第2の方法は、m×m画素のベクトル量子化手法であ
る。 この手法はm×mブロツク内の画素データを平均値
、標準偏差σと画像のパターンを表わすコードにより
表現させて、データの圧縮を計るものである。この圧縮
データフオーマツトは、第2図(b)のようになる。 以上はY信号のみ解像度データをとり、IQ信号に関し
てはm×m内の平均データをとる様にした例であるが、
IQ信号にもY信号と同様のフオーマツトで符号しても構
わない。 かかる圧縮形態はN×N画素から成る一枚の画像をm
×mの小区画で切り、このm×mを1つのkビツトの固
定長のコードに変換するため圧縮された画像データとし
ては のアドレス空間で深さ方向にkビツトから成るメモリ構
成をとる。従って画像のアドレス情報が保持されてお
り、通常のMH,MMH,MR,MMR等の可変符号長の圧縮方式に
較べて任意位置の画像検索、書込み、等のランダム・ア
クセス性能がよく、編集作業等に最適であると言える。 以上の圧縮データをベースに画像データを変倍,回転
しようとした場合、圧縮データ自体の書き換えが必要と
なる。 第3図はこの説明図で同図イはm×m画素の画像デー
タを圧縮した時に圧縮データの区切りを示す。m×mの
単位でその内に含まれる画像データを1つのコードに直
す。(今後このm×mの圧縮された画素のことを「ブロ
ツク画素」と呼ぶことにする。)。 同図ロはこのブロツク画素毎に画像を回転した結果
で、Tという文字はこの様にズタズタに切れてしまう。
これを避けるためには、同図ハの様にブロツク画素を復
号して元の画像データに戻し、各画素毎に回転を与え同
図ニの様にして、しかる後再び圧縮してやる必要があ
る。 この時同図ハに示す圧縮するm×mの画素単位Aは回
転操作後同図ニのA′の様に変型し、新たに圧縮する画
素単位間にまたがる。 即ち高精細に行うためには と変換する必要がある。 今画像の回転操作を施す場合を考えると、復号して元
の画像データに戻し回転する場合、画素データの移動が
起り、元の画像データの状態で記憶するためのメモリ容
量が極めて大きくなる。最悪元の画像データ並みの48Mb
yteのデータ容量の中間バツフアが必要となる。 かかる復号→回転→圧縮符号化の演算を極めて簡素に
実現する方法を以下に提案する。 まず、回転の方法について述べる。一般に任意の角度
θの回転は次のようなアフイン変換により実現できる。 ここで は回転前の画像の座標、 は回転後の画像の座標、θは回転角である。この2次元
変換をおこなうと、回転前の画像の座標 は画像データのアドレス点(整数で表現できる)にある
が、回転後の画像の座標 は一般には無理数になってしまう。したがって、回転を
高精度におこなうには、いくつかの整数でない座標 のデータから回転後のデータのアドレス点 (整数)のデータを2次元補間して求めなければならな
い。また、第3図のように回転した結果のデータはm×
m単位できれいにつまっていかないので、かなりの容量
の中間バツフアがないと再圧縮が困難になる。そこで2
次元アフイン変換の式(1)を次のようにx方向、y方
向の2つの1次元変換の積に分解する。 第1のx方向の1次元変換T1では次のようになる。 すなわち、1次元変換T1ではyの値が変わらず、x方
向の幅がcosθ倍に縮小される。図解すると第4図
(a)の矩形がx方向の1次元変換T1で(b)のように
変形される。次に第2のy方向の1次元変換T2では次の
ようになる。 すなわちy方向の1次元変換T2では、第4図−(A)
の(b)から(c)のように、xの値が変わらずy方向
の幅は1/cosθ倍に拡大され、角度θの回転をした画像
(c)が得られる。 以上のようにx方向の1次元変換T1では、x方向の1
ラインのデータを読出せば、変換後のデータの座標はそ
のライン上にあり、変換後の画像のアドレス点のデータ
は1次元補間で求めることができる。すなわちx方向の
1ライン単位の処理が可能である。したがって1次元変
換T1の処理結果をmライン集めれば、m×m単位の再圧
縮が容易に可能となる。同様にy方向の1次元変換T2
ついても、y方向の1ラインのデータを読出して、1ラ
イン単位の処理が可能である。ただし圧縮データを格納
するメモリ(第1図の5)はx方向とy方向の2方向に
アクセスが可能な構成にする必要がある。 一方、以上の一次元変換に於いて、第4図−(A)の
(a)→(b)への変換では画像の縮みがx方向で起
り、(b)→(c)への変換ではy方向に画像が伸び
る。このためx,y方向の2度の復号→圧縮操作に対して
画像データの劣化が大きい。具体的に言えば一旦画像を
縮まらせると画像のサンプリング・ピツチは一定である
ので画像データの欠落が生じる。次に画像データを拡大
しても、この欠落した画像データは復元しないので、再
現された画像は高周波成分の除去された情報量の少ない
データに変身する。 そこで本実施例に於いてはこの第2式を の如く変換する。かかる変換は (1)一次元変換の操作に於いて画像の伸び縮みがな
い。 (2)従って圧縮・復号を繰り返しても画像情報量は失
われない。 の特徴がある。 即ち、T3又はT1の操作で説明すると となり、これはx方向への単なるShearを示す。 第4図−(B)の(a)→(b)への変換はこの例を
示したもので、x方向へのShearを行ったもので、幅β
は変らない。このため簡単なハードウエアで実現出来
る。即ち、ラスター画像のラスターの先頭アドレスの変
換で済む。又圧縮データを復号し、Shearする時には、
復号した画像データを最低mラインのラインメモリへス
トアする時の先頭アドレスのシフトで済む。従って前述
の縮小による画像の欠落は生じない。更に中間のライン
バツフアのサイズが画像幅で済み経済的である。(拡大
縮小がある場合には、画像幅以上の中間バツフアが必要
となる。)なお、(2)−式の代りに次の式を用いる
こともできる。 ここで、一時元変換T′1,T′3はy方向へのShear,
T′2はx方向のShearとなり、これらの変換で画像の伸
び縮みはなく、(2)−式の場合と同様な処理が可能
なことは明らかである。 次に、圧縮データ→復号→回転→圧縮符号化の変換の
詳細を第5図〜第8図に示される実施例に基づいて説明
する。 第5図は、圧縮データ→復号→回転→圧縮符号化を行
なう回路構成全体のブロツク図である。圧縮データは、
入力データとなるデータの領域と、処理後のデータが格
納される領域として2つの領域511,512に区別されてい
る。CPU8は、処理を実行する前に入力データとなるデー
タ領域を選択器521に指示することにより選択する。選
択器521は、CPU8よりの信号502により、圧縮データメモ
リ1及び2(511及び512)の一方を、アドレスラインは
入力データ側メモリアドレス591に、そしてデータライ
ンは入力側圧縮データライン503につなぎ、もう一方の
アドレスラインを出力データ側メモリアドレス592に、
そしてデータラインを出力側圧縮データライン501につ
なぐ場合と、511及び512の両方のアドレスバス及びデー
タバスを全て切り離す(ハイインピーダンス状態にす
る)場合の3つ異なる状態をとる。 以降、521は、圧縮データメモリ1を入力データメモ
リとし、圧縮データメモリ2を出力データメモリとして
つないでいる場合として説明を進める。アドレス演算回
路57は、主走査同期クロツク及び副走査同期クロツクを
受けて、入力圧縮データメモリの入力データアドレス59
1と、処理後のデータが出力されるべき出力圧縮データ
メモリへの出力データアドレス592及び、処理の途中で
必要となる中間バツフア内アドレス593,594を出力す
る。圧縮メモリ511は、入力データアドレス591に応ずる
データを入力側圧縮データライン503に出力し、復号器5
3はこれを復号して選択器522を通して中間メモリ1又は
2(541又は542)に出力する。選択器522は、593の値が
m倍数となるたびに中間メモリ1及び2をトグルでつな
ぎかえる。選択器523は、522同様に動作するが、522が
中間メモリ1をつないだ時には中間メモリ2をつなぎ、
522が中間メモリ2をつないだ時には中間メモリ1をつ
なぐというように、522と523はデータバスを541と542に
交互につなぎかえるものである。また、ここではm=4
の場合と例にとって以下話を進める。591は、アドレス
バスであったが、主走査アドレス及び副走査アドレスの
いずれのアドレスも下位ビツトから数えて3ビツト目
(すなわち22の位のビツト)以上のビツトのみでなるも
のである。また、入力側中間バツフアアドレス593は、
副走査アドレスは、下位ビツトから数えて3ビツト目1
ビツトのみが選択器522及び523に入力されており、中間
メモリ1及び2(541及び542)には主走査アドレスのみ
が入力されている。中間メモリ1及び2は、それぞれ4
ラスタ分のラインバツフアよりなり、復号器53からのラ
スタ出力を選択器522を通して中間メモリの一方に出力
される。中間メモリの相方に、同一の入力側中間バツフ
アアドレスが入力されており、一方の中間メモリの該ア
ドレスに復号されたデータが書き込まれる。他方、もう
一方の中間メモリの同一主走査アドレスから4本のライ
ンバツフアの各々から1ブロツク行前の復号済データが
選択器523を通して補間処理回路55に出力される。補間
処理回路55は、594の出力側中間バツフア主走査アドレ
ス(整数部および少数部より成る)の小数部を入力し、
4本のラインバツフアの出力の各々に対して、相続く2
つのデータから補間したデータを作成して、594の整数
部で与えられるアドレスに対応する中間メモリ3もしく
は4に選択器524を通して出力してゆく。選択器524,525
は、前述の選択器522,523と同様に、中間メモリ3及び
4をトグルで選択する選択器対である。このとき、524
及び525は、出力側中間バツフアアドレス594の副走査ア
ドレスの下位ビツトより数えて3ビツト目のビツト1ビ
ツトを選択信号として入力している。中間メモリ3及び
4には、同一の出力側中間バツフアアドレスの主走査ア
ドレスが入力されており、一方のメモリには、補間処理
回路からのデータが入力されており、もう一方のメモリ
からは、1ブロツク行前の補間処理済データが選択器52
5を通して4ラスタ分パラレルに圧縮器56に出力されて
いる。圧縮器56は、該データを入力し、4ラスタの各々
から4画素分のデータを入力した時点で圧縮データを出
力圧縮データバス501を介して選択器521へ出力する。選
択器521は、データバス501上のデータを圧縮データメモ
リ2(512)の出力側圧縮データアドレス592で指定され
るアドレスに出力する。 次に、アドレス演算回路57に関して説明する。第6図
に示すように、57はクロツク切換部61、アドレス計算部
62、出力切換部63,66及びカウンタ64,65よりなる。前述
のように回転は、入力側のアドレスを(x,y)、出力側
のアドレスを(X,Y)とすると、(1)式の関係が成立
する。この時、(2)−(1)式のように回転の演算を
3項T1,T2,T3に分けて考える。 T1=T3であるため、今T1及びT2の変換について記述す
る。 (2)−式より の一次元変換は となるので、副走査クロツクがy個目のラスターの主走
査クロツクがx番目の画素を(x,y)の画素としてとり
扱うとき Y′=y ……(4)− X′(0,0)=0 ……(4)− X′(0,j+1)=X′(0,j)+α ……(4)− X′(i+1,j+1)=X′(i,j+1)……(4)− である。 よって、(3)−式の演算、Y′は副走査同期クロ
ツクをカウントするのみで算出でき、副走査同期クロツ
ク間に何個主走査同期クロツクが入っても不変である。
よって、アドレス計算部62は、第7図(A)に示すよう
に、副走査同期クロツクをカウンタ76でカウントアツプ
してY′としている。また、711にはあらかじめCPUによ
りαの値がセツトされてあり、731には初期値として0
がリセツトされている。加算器721は、副走査クロツク
が入るたびに731の保持する値と711の保持する値を加算
し、その和を出力する。731はその出力値をラツチし、
新たな値として保持し、(4)−式の計算を実行す
る。次に732は、初期値として0がCPUによりセツトされ
ており、加算器722は、732の保持する値と712の保持す
る値を主走査クロツクが入るたびに加算し(4)−の
計算を実行する。選択器74は副走査クロツクが入ったと
きのみ731の出力を選択出力し、他は722の出力を選択出
力する。また、732は、主走査クロツクもしくは副走査
クロツクの少なくとも一方が入力されると選択器74の出
力をラツチし、(4)−又は(4)−の計算結果を
適宜とり込みX′とする。 次にT2においても、全く同様に、 Y″(0,0)=0 ……(6)− Y″(i+1,0)=Y″(i+0)+sinθ ……(6)− Y″(i+1,j+1)=Y″(i+1.j)+1 ……(6)− この場合は、T2の演算は、前述の主走査同期クロツク
と副走査同期クロツクを互いに入れ換えて考えた議論が
全く同様に成立する。そこで、この場合は、CPU8があら
かじめ61,63,66を切り換えておき、また、711,712にセ
ツトしておく値もそれぞれ、sinθ及び1とする。第7
図(B)にこれを示しておいた。 また、入力側及び出力側の相方に、圧縮データアドレ
スと中間バツフアアドレスが用意されているのは、中間
バツフアは(3)式の場合には圧縮データメモリの主走
査側アドレス及び副走査側アドレスをそれぞれ主走査側
及び副走査側のそのままのアドレスとして対応づけ、
(5)式の実行の場合には、圧縮データメモリの主走査
側アドレス方向を中間バツフアの副走査方向アドレス
に、圧縮データメモリの副走査側アドレス方向を中間バ
ツフアの主走査方向アドレスに対応させて用いるためで
ある。これにより中間バツフアはラスターバツフアであ
っても、(3)式及び(5)式の場合にいずれに対して
も対応可となる。 次に、補間処理回路55に関して説明する。補間処理回
路55には、復号済データと、出力側中間バツフアアドレ
ス594の小数部(2-1の位、2-2の位、及び2-3の位の各ビ
ツト)と整数部のうちの20の位のビツトの全部で4ビツ
トが入力されている。補間処理回路55は、第8図のよう
に構成された回路の801の部分4組及びその他の部分1
組より成り、その801の部分の各々が4つのラスタの各
ラスタに1つづつ対応し、パラレルに動作する。第8図
の回路は、復号済データの相続く2つのデータを保持す
るためのラツチ811,812と、出力側中間バツフアアドレ
スの整数部が変化したかどうかを検知する802の部分
と、出力側中間バツフアアドレスの小数部から補間係数
を出力する803より成る。802は、出力側中間バツフアア
ドレスの整数部が変化したかどうかを整数部の最下位ビ
ツト(20の位のビツト)が、直前のタイミングと比して
変化したかどうかを検知することで出力している。803
は、相続く2クロツクの出力側中間バツフアアドレスの
小数部から、 (1−α′)V(n)+α′V(n−1) ……(7) ここで、V(i)は第iクロツク目の複号済データで
表わされる内挿補間を行なうための補間係数α′及び1
−α′を出力している。821は、相続く2クロツクの出
力側中間バツフアアドレスの小数部を入力して、α′及
び1−α′を出力するルツクアツプテーブルである。 (7)式の(1−α′)V(n)を822のルツクアツ
プテーブルで、α′V(n−1)を823のルツクアツプ
テーブルでそれぞれ出力し、83の加算器により(7)式
の結果を得るものである。得られた結果は、802の出力8
4に同期して、選択器524を通して中間メモリ3もしくは
4に出力されるものである。 以上一連の動作を説明したが、中間メモリ1,2及び中
間メモリ3,4は、全て4ラスタのラスタバツフアよりな
るラインメモリであったが、選択器522,523及び524,525
を各々主走査クロツクの4クロツク毎に切り換えるよう
に構成すれば、4画素分のメモリを4本のバツフアとし
て扱えることはもちろんである。 また、圧縮データメモリ1及び2は、物理的には同一
のものであり、時分割で、読込み時には、入力圧縮デー
タメモリとして用い、書き込み時には、出力圧縮データ
メモリとして用いることが可能である。入力圧縮データ
は読込み時に中間メモリに読み込んでおく。書き込み時
には、先に読み込んだデータ領域以外の入力データ領域
に出力されないことが、(3)式及び(5)式より明ら
かである。 <効果> 以上説明した様に、本発明によると、画像をm×m画
素単位で圧縮した圧縮データにより表わされる画像に対
する回転処理を、画像の拡大縮小を伴わずに画像を第1
の方向に傾ける第1の画像傾け処理と、画像の拡大縮小
を伴わずに画像を第2の方向に傾ける第2の画像傾け処
理と、画像の拡大縮小を伴わずに画像を第1の方向に傾
ける第3の画像傾け処理とに分けて実行するので、夫々
の画像傾け処理のためには、圧縮データメモリに格納さ
れている圧縮データを夫々の画像傾け処理の方向にあわ
せてmライン分づつ順次復号すればよく、変換処理の対
象となる全圧縮データをすべて一度に復号する必要がな
く、従って、復号した全画像データを保持する様な大容
量のメモリを設ける必要も無く、また、夫々の画像傾け
処理による画像の拡大縮小がないので、画像情報の欠落
のない画像傾け処理が実行され、よって、画像の回転処
理を簡易な構成で、画像情報の欠落なしに、且つ、高速
に実行可能とすることができる。
Description: TECHNICAL FIELD The present invention relates to an image processing apparatus for processing image data.
You. <Conventional technology> Conventionally, high-density color image data is converted or edited.
The processing equipment is Cytec's Response 30
0 Series, Crossfield STUDIO-800 Series
And other printing systems are known. However, these devices are large and require
There was a disadvantage that the processing time was long. <Purpose> The present invention has been made in view of the above points, and has been made in consideration of the following.
Transfer processing with a simple configuration, without loss of image information, and
The purpose is to enable high-speed execution.
Compressed data that stores compressed data obtained by compressing m by m pixels
A data memory, and compressed data from the compressed data memory.
Reading means for reading the pressure, and the pressure read by the reading means.
Decodes compressed data and outputs image data every m lines
Decoding means, and m lines decoded by the decoding means
Image data without scaling
Processing means for performing a conversion process for tilting
Mxm image data of m lines converted from
Compression means for compressing in elementary units and compression by the compression means
Storing compressed data in the compressed data memory.
Storage means, and the compressed data
Reading compressed data in the first direction from the memory;
Decoding by the decoding means, and
Forward the image without scaling the image by the processing means
Performing a first conversion process inclining in the first direction;
The converted image data is compressed by the compression means.
And storing the compressed data in the compressed data memory by the storage means.
A first image tilting process, and
The compressed data in a second direction orthogonal to the first direction;
The compressed data from the data memory, and
Decrypting the decoded image data to the processing means.
The image in the second direction without scaling the image
A second conversion process of tilting is performed, and the second conversion process is performed.
Compressing the image data by the compression unit;
The second image tilt stored in the compressed data memory
Processing, and the compressed data memory by the reading means
Read compressed data in the first direction from
Decoding by the decoding means, and
Forward the image without scaling the image by the processing means
Performing a first conversion process inclining in the first direction;
The converted image data is compressed by the compression means.
And storing the compressed data in the compressed data memory by the storage means.
The third compressed image memory
To the image represented by the compressed data stored in
To provide an image processing apparatus for performing rotation processing by
You. <Example> (Overview) Generally, the functions of an image processing apparatus include: The above two editing functions are required. The former is generally
Called a pipeline processor with hardware
This device has a certain high speed with image editing function
Execute for items that require. Depends on the latter CPU
Processing is performed interactively with humans
Execute (may take some time). In other words, the former pipeline processor
Affine transformation (enlarge / reduce / transfer)
Motion / rotation) and spatial filtering (image enhancement / smoothing)
Etc.) and images such as color conversion processing by look-up table (LUT)
The sequential processing of images is mainly performed. The latter CPU processing is generally complicated processing and hardware.
Performs processing that cannot be easily converted to air. Here, the image can be any shape
Or copy the cropped image to another location.
Processing, such as correcting part of an image. these
Is generally a creative process created by the operator.
It takes some time and it is acceptable. However
This function needs to be sophisticated. Performing the above two editing functions with maximum performance
In order to apply it, the system architecture of the editing device
It is necessary to think from. In other words, both processes are fully functional
To enable high-speed execution, configure the system
System and how image data is handled (formmatsu
G), signal flow, function analysis, etc. need to be considered.
You. As a result of various studies, the system as a color image processing device
The following conclusions can be drawn as
Was. (1) To perform image editing, the image data must be compressed data
Have as. (2) As a compression method, m × m blocks are represented by one code.
Block coding or vector quantization. (3) In order to perform high-definition image editing,
Image data needs to be rewritten. In (1), high-resolution and high-gradation image editing processing is performed.
Therefore, the image data capacity becomes extremely enormous.
For example, color reading of A4 1page with 16pel / mm each 8bit / PIXEL
Data capacity of about 48 Mbytes for R, G, and B colors.
You. The above-mentioned image editing is interactive and
Compression of such color image data for high performance
The key technology is to make it easy to edit. others
The block coding or vector quantization method of (2)
Was determined to be optimal. This means that m × m pixels of the image are one fixed-length code
High compression ratio and image data
Data can be easily edited because the position information of the
It is. If you have image data using such a compression method,
Is required to perform high-resolution image editing as shown in (3).
To the pixel data within m × m of the compression unit
I noticed that I needed to rewrite it. That is, the vector quantity
A set of code data held in m × m units by the childization method
As a result of editing, depending on the editing item,
We need to change it. Hereinafter, the present invention will be described in detail based on embodiments. (Detailed Description of the Embodiment) FIG. 1 shows the structure of an image processing apparatus showing an embodiment of the present invention.
FIG. Image data read by reader 1
(For example, 8bit digital data for each of R, G, B)
Luminance (Y) signal used for NTSC signal after signal conversion
And color difference signals (I, Q). Such a conversion is for example
R, G, B data It can be obtained by the following matrix calculation. Here the transformation mat
The Rixx coefficient matches the reader's color separation characteristics, γ characteristics, etc.
And amended accordingly. Such Y, I, Q signals are compressed by a compressor
Disk memo for image data file compressed by 2
It is stored in the file 3. The image data on the disk is
Read and process / edit on IC memory called Mori5
It is. Here, basic processing is performed by hardware to perform high-speed processing.
Performed by the integrated pipeline processor 4.
You. On the other hand, the image data on the image memory 5 is
Seed processing is performed and processing and correction are performed. Editing process is CR
Displayed on color CRT 10 by T controller 9 and edited
You can monitor the situation. The edited result is
Molly 5 returns to original image data through decoder 6
The image data is compatible with the printer by the converter 12.
Color signals (yellow, magenta, cyan, black)
And output to the color printer 7. (Compression encoding) Next, a compression method of image data will be described. Dividing into three color signals of luminance and color difference like Y, I, Q
Better preserves spatial frequency of Y signal as luminance data
If this is done, the spatial frequencies of the I and Q signals
To some extent (cut of high frequency components)
Is known to be small. Therefore, for example, the I and Q signals are m × m blocks (m is an integer).
The color information is represented by the average value of
A data compression method that reduces the amount of data is conceivable. I, Q signal
The block size depends on the required image quality and the allowable memory capacity.
Select a block size such as 2 x 2, 4 x 4, 6 x 6 depending on the amount
It is. For example, if the block size is 4 × 4,
As mentioned above, A4 1page memory capacity of 48MByte is equivalent to Y signal of 16MBy.
te (uncompressed) + I, Q signal 2MByte = 18MByte in total, about 2.7
Compression rate. On the other hand, resolution of Y signal is different from compression of I and Q signals.
A compression method that leaves sufficient data is required. The first method is a block coding method. This method calculates the average value of pixel data x in m × m blocks.
, The standard deviation σ is calculated. Next, the shade information for each pixel
Is represented by about several bits. For example, the calculated value of (x −) / σ
Can be realized by requantizing. This compressed data
The format is as shown in Fig. 2 (a).
Following the quasi-deviation, the density information of each pixel is continued.
The order is made to correspond one-to-one with the pixel position in the block. The second method is a vector quantization method of m × m pixels.
You. This method averages the pixel data in m × m blocks
, The standard deviation σ and the code representing the image pattern
It expresses and measures the compression of data. This compression
The data format is as shown in FIG. In the above, resolution data is taken only for the Y signal, and the
This is an example of taking the average data within m × m.
The IQ signal may be encoded in the same format as the Y signal.
I don't know. Such a compression mode converts one image consisting of N × N pixels into m
Xm small section, and this mxm is fixed to one k-bit
Compressed image data to convert to fixed length code
Is Memory structure consisting of k bits in the depth direction in the address space of
Take the lead. Therefore, the image address information is retained.
Compression method with variable code length such as normal MH, MMH, MR, MMR
Random access such as image search, writing, etc.
It has good access performance and can be said to be optimal for editing work. Scale and rotate image data based on the above compressed data
If you try, you need to rewrite the compressed data itself
Become. FIG. 3 is a view for explaining this, and FIG. 3A shows an image data of m × m pixels.
Indicates the delimiter of compressed data when data is compressed. m × m
The image data contained in each unit is directly converted into one code.
You. (In the future, this m × m compressed pixel will be referred to as
It will be referred to as a “stick pixel”. ). Figure 2 shows the result of rotating the image for each block pixel.
Thus, the letter T is cut in this way.
To avoid this, restore the block pixels as shown in Fig.
To restore the original image data, rotate each pixel
It is necessary to compress again as shown in Fig.
You. At this time, the m × m pixel unit A to be compressed shown in FIG.
After the transfer operation, the image is transformed as shown in A '
Straddle between elementary units. That is, in order to perform high definition Needs to be converted. Now consider the case of rotating the image,
When rotating back to image data of
Memory capacity for storing the original image data
The amount becomes extremely large. 48Mb on par with the worst image data
An intermediate buffer of yte data capacity is required. Extremely simple operation of decoding → rotation → compression encoding
The method of realization is proposed below. First, the method of rotation will be described. Generally any angle
The rotation of θ can be realized by the following affine transformation. here Is the coordinates of the image before rotation, Is the coordinates of the rotated image, and θ is the rotation angle. This two-dimensional
After conversion, the coordinates of the image before rotation Is at the address point of the image data (which can be expressed as an integer)
Is the coordinates of the rotated image Is generally irrational. Therefore, the rotation
For high precision, some non-integer coordinates Address point of data after rotation from data of (Integer) data must be obtained by two-dimensional interpolation
No. Also, the data obtained as a result of rotation as shown in FIG.
A considerable amount of capacity, as it is not trivial to clean in m units
Without the intermediate buffer, recompression becomes difficult. So 2
Equation (1) of the dimensional affine transformation is expressed as follows in the x direction and the y direction.
Into two products. First one-dimensional x-direction transformation T 1 Then: That is, one-dimensional conversion T 1 The value of y does not change,
The direction width is reduced to cosθ times. Diagram 4
The rectangle in (a) is a one-dimensional conversion T in the x direction. 1 And as in (b)
Be transformed. Next, the one-dimensional conversion T in the second y direction Two So next
Become like That is, one-dimensional conversion T in the y direction Two Then, Fig. 4-(A)
As shown in (b) to (c), the value of x does not change in the y direction
Image is enlarged by 1 / cos θ times and rotated by angle θ
(C) is obtained. As described above, the one-dimensional conversion T in the x direction 1 Then, 1 in the x direction
If the line data is read, the coordinates of the converted data will be
Data of the address point of the converted image
Can be obtained by one-dimensional interpolation. That is, in the x direction
Processing on a line-by-line basis is possible. Therefore, one-dimensional change
Exchange T 1 Collecting m lines of processing results of
Shrinkage is easily possible. Similarly, one-dimensional conversion T in the y direction Two To
Also, one line of data in the y direction is read out and one line is read.
In-unit processing is possible. However, compressed data is stored
Memory (5 in FIG. 1) in two directions, x-direction and y-direction.
The configuration must be accessible. On the other hand, in the above one-dimensional conversion, FIG.
In the conversion from (a) to (b), image shrinkage occurs in the x direction.
In the conversion from (b) to (c), the image extends in the y direction.
You. For this reason, two decodings in the x and y directions → compression operation
Deterioration of image data is large. Specifically, once you have an image
Image sampling pitch is constant when shrunk
Therefore, image data is lost. Next, enlarge the image data
However, since this missing image data is not restored,
The displayed image has a small amount of information from which high-frequency components have been removed.
Transform into data. Therefore, in the present embodiment, Is converted as follows. Such conversion is performed by (1) one-dimensional conversion operation without image expansion / contraction.
No. (2) Therefore, even if compression and decoding are repeated, the amount of image information is lost.
I can't. There is a feature. That is, T Three Or T 1 The operation of Which indicates a mere Shear in the x-direction. The conversion from (a) to (b) in FIG.
In the figure, the shearing in the x direction is performed, and the width β
Does not change. Therefore, it can be realized with simple hardware.
You. In other words, the change of the raster start address of the raster image
It only needs to be changed. Also, when decoding and shearing the compressed data,
Transfer the decoded image data to the line memory of at least m lines.
It is sufficient to shift the head address when touring. Therefore,
There is no loss of image due to the reduction of. Further intermediate line
The size of the buffer is the image width, which is economical. (Enlarge
If there is a reduction, an intermediate buffer larger than the image width is required
Becomes Note that the following equation is used instead of equation (2)-
You can also. Here, the temporary element conversion T ′ 1 , T ′ Three Is Shear in the y direction,
T ′ Two Is a Shear in the x direction, and these transforms
There is no shrinkage, and the same processing as in (2) -expression is possible
That is clear. Next, the conversion of compressed data → decoding → rotation → compression encoding
Details will be described based on the embodiment shown in FIGS.
I do. Fig. 5 shows compressed data → decoding → rotation → compression encoding.
FIG. 2 is a block diagram of the entire circuit configuration. The compressed data is
The data area to be input data and the processed data
It is divided into two areas 511 and 512
You. Before executing the processing, the CPU 8 outputs data to be input data.
The data area is selected by instructing the selector 521. Selection
The selector 521 receives the compressed data memo by the signal 502 from the CPU 8.
One of the address lines 1 and 2 (511 and 512)
Input data side memory address 591 and data write
Connected to the input side compressed data line 503 and the other
Address line to output data side memory address 592,
Then, connect the data line to the output side compressed data line 501.
And the address bus and data for both 511 and 512
Disconnect all tabus (switch to high impedance state)
3) different states. Thereafter, 521 stores the compressed data memory 1 in the input data memo.
And the compressed data memory 2 as the output data memory.
The description will proceed assuming that they are connected. Address calculation times
The path 57 connects the main-scanning synchronous clock and the sub-scanning synchronous clock.
The input data address 59 of the input compressed data memory
1 and output compressed data to which the processed data should be output
Output data address 592 to memory and during processing
Outputs the necessary addresses 593, 594 in the intermediate buffer.
You. The compression memory 511 corresponds to the input data address 591
The data is output to the input side compressed data line 503, and the
3 decodes this and passes through selector 522 to intermediate memory 1 or
2 (541 or 542). Selector 522 sets the value of 593
Intermediate memories 1 and 2 are toggled each time the number becomes m multiples.
Change Selector 523 operates similarly to 522, except that 522
When the intermediate memory 1 is connected, the intermediate memory 2 is connected,
When 522 connects intermediate memory 2, connect intermediate memory 1.
522 and 523 make the data bus 541 and 542
They are alternately connected. Here, m = 4
Let's proceed with the following case and example. 591 is the address
Although it was a bus, the main scanning address and sub-scanning address
Each address is the third bit counted from the lower bit
(Ie the bit in the 22nd place)
It is. Also, the input side intermediate buffer address 593 is
The sub-scanning address is the third bit 1 counted from the lower bit.
Only the bits are input to selectors 522 and 523,
Only main scan addresses are stored in memories 1 and 2 (541 and 542)
Is entered. Intermediate memories 1 and 2 each have 4
It consists of line buffers for rasters,
Output to one of the intermediate memories through selector 522
Is done. On the opposite side of the intermediate memory, the same input intermediate buffer
Address is input, and the address of one of the intermediate memories is
The decoded data is written to the address. On the other hand,
Four lines from the same main scanning address in one intermediate memory
The decrypted data one block line before each buffer is
The signal is output to the interpolation processing circuit 55 through the selector 523. interpolation
The processing circuit 55 is provided with an intermediate buffer main scanning address on the output side of the 594.
Enter the fractional part (composed of integer and fractional parts)
For each of the four line buffer outputs, two consecutive
Create interpolated data from the two data and 594 integers
Intermediate memory 3 or the address corresponding to the address given by the section
Is output to 4 through the selector 524. Selector 524,525
The intermediate memory 3 and the selectors 522 and 523 described above
4 is a selector pair for selecting 4 by a toggle. At this time, 524
And 525 are the sub-scan addresses of the output side intermediate buffer address 594.
One bit of the third bit counting from the lower bits of the dress
A mark is input as a selection signal. Intermediate memory 3 and
4 is a main scanning address of the same output side intermediate buffer address.
Address is input, and the interpolation process is
The data from the circuit is input and the other memory
, The interpolated data one block before is selected by the selector 52.
Output to the compressor 56 in parallel for 4 rasters through 5
I have. The compressor 56 receives the data and inputs the data to each of the four rasters.
Compressed data is output when data for 4 pixels is input from
Output to the selector 521 via the force compression data bus 501. Selection
The selector 521 converts the data on the data bus 501 into a compressed data memo.
Designated by the output compressed data address 592 of file 2 (512)
Output to the address. Next, the address operation circuit 57 will be described. Fig. 6
As shown in the figure, 57 is a clock switching unit 61, an address calculation unit.
62, comprising output switching units 63 and 66 and counters 64 and 65. Above
Rotate the input side address (x, y) and output side
(X, Y), the relationship of equation (1) holds.
I do. At this time, the rotation calculation is performed as shown in equations (2)-(1).
3 T 1 , T Two , T Three Think separately. T 1 = T Three Is now T 1 And T Two Describe the conversion of
You. (2)-from equation The one-dimensional transformation is Is the main scanning of the y-th raster
The inspection clock takes the x-th pixel as the (x, y) pixel
When handling Y '= y (4) -X' (0,0) = 0 ... (4) -X '(0, j + 1) = X' (0, j) + α ... (4) -X '(I + 1, j + 1) = X' (i, j + 1) (4)- Therefore, the operation of equation (3), Y ', is
It can be calculated only by counting the time
No matter how many main scan synchronization clocks are inserted between clocks, it is unchanged.
Therefore, the address calculation unit 62 is configured as shown in FIG.
Then, the sub-scan synchronous clock is counted up by the counter 76.
Y ′. Also, the CPU 711
The value of α is set, and 731 is set to 0 as an initial value.
Has been reset. The adder 721 has a sub-scanning clock.
Adds the value stored in 731 and the value stored in 711 each time is entered
And outputs the sum. 731 latches the output value,
Hold as a new value and execute calculation of (4) -expression
You. Next, 732 is set to 0 by the CPU as an initial value.
Adder 722 determines the value held in 732 and the value held in 712.
Is added each time the main scanning clock is input.
Perform calculations. The selector 74 indicates that the sub-scanning clock has entered.
731 output is selected and output only, and 722 output is selected
Power. 732 is the main scanning clock or sub-scanning
When at least one of the clocks is input, the output of the selector 74 is output.
Latch the force and calculate the result of (4)-or (4)-
It is taken as X 'as appropriate. Then T Two In exactly the same way, Y ″ (0,0) = 0 (6) −Y ″ (i + 1,0) = Y ″ (i + 0) + sin θ (6) −Y ″ (i + 1, j + 1) = Y ″ (i + 1.j) +1 ... (6)-In this case, T Two Is calculated by the main scan synchronization clock described above.
And the sub-scanning synchronous clock were interchanged.
The same holds true. Therefore, in this case, CPU 8
Switch 61, 63, 66 beforehand, and set
The values to be set are sin θ and 1, respectively. Seventh
This is shown in FIG. Also, the compressed data address is assigned to the input and output sides.
And intermediate buffer addresses are provided
The buffer is the main run of the compressed data memory in the case of formula (3).
The scanning address and sub-scanning address are assigned to the main scanning
And as the same address on the sub-scanning side,
In the case of execution of the expression (5), the main scan of the compressed data memory
The side address direction is the address of the intermediate buffer in the sub-scanning direction.
In addition, the address direction of the sub-scanning side of the compressed
It is used to correspond to the main scanning direction address of the software.
is there. This allows the intermediate buffer to be a raster buffer.
However, in the case of the equations (3) and (5),
Is also available. Next, the interpolation processing circuit 55 will be described. Interpolation times
The path 55 has the decrypted data and the output intermediate buffer address.
Fraction of 594 (2 -1 Second place, 2 -2 Place and 2 -3 Each rank
Tut) and 2 of the integer part 0 4 bits in total
Is entered. The interpolation processing circuit 55 is configured as shown in FIG.
4 sets of 801 parts and other parts 1 of the circuit configured in
Each of the 801 parts, each of the four rasters
Each raster corresponds to one raster and operates in parallel. Fig. 8
Circuit holds two successive data of the decrypted data
811,812 for output and intermediate buffer address on output side
802 part that detects whether the integer part of the source has changed
And the interpolation coefficient from the decimal part of the output side intermediate buffer address
803 that outputs the 802 is the output side intermediate buffer
The least significant bit of the integer part indicates whether the integer part of the dress has changed.
Tut (20th bit)
Outputs by detecting whether it has changed. 803
Is the output intermediate buffer address of the two consecutive clocks.
From the decimal part, (1−α ′) V (n) + α′V (n−1) (7) where V (i) is the decoded data of the i-th clock.
Interpolation coefficients α 'and 1 for performing the interpolated interpolation represented
−α ′ is output. 821 has two successive clocks
Enter the decimal part of the input side intermediate buffer address, and
And a 1-α 'output lookup table. (1-α ') V (n) in the equation (7) is converted to 822
In the table, α'V (n-1) is increased to 823
Output each in the table, and use the adder of 83
Is obtained. The result obtained is 802 output 8
In synchronization with 4, intermediate memory 3 or through selector 524
4 is output. The series of operations has been described above.
Inter-memory 3 and 4 are all smaller than 4 raster raster buffers.
522, 523 and 524, 525
Are switched every four main scanning clocks
In this configuration, the memory for four pixels is made up of four buffers.
Of course, it can be handled. The compressed data memories 1 and 2 are physically the same.
The input compressed data is read in time-division
Used as data memory, and when writing, output compressed data
It can be used as a memory. Input compressed data
Is read into the intermediate memory at the time of reading. When writing
Contains the input data area other than the data area
Is not output from Equations (3) and (5).
Is. <Effects> As described above, according to the present invention, an image is an m × m image.
For images represented by compressed data compressed in elementary units
The rotation process to the first image without scaling the image.
First image tilting process to tilt in the direction of, and scaling of the image
Image tilting unit for tilting an image in a second direction without accompanying
And tilt the image in the first direction without scaling the image.
And the third image tilting process is performed separately.
Stored in the compressed data memory for image tilting
Compressed data in the direction of each image tilting process.
, And decode the data sequentially for each m lines.
It is not necessary to decode all compressed data
Therefore, a large capacity to hold all the decoded image data
There is no need to provide an amount of memory, and each image tilts
Missing image information because there is no image scaling due to processing
Image skew processing is performed without image rotation.
Simple configuration, no loss of image information, and high speed
Can be executable.

【図面の簡単な説明】 第1図は本実施例の画像処理装置の構成図、第2図はブ
ロツク符号化、及びベクトル量子化のデータフオーマツ
トを示す図、第3図は本実施例の画像の回転方法の説明
図、第4図−(A),−(B)は画像の回転を一次元変
換により行う方法の説明図、第5図は画像処理ブロツク
図、第6図はアドレス演算回路図、第7図(A),
(B)はアドレス計算部の回路図、第8図は補間処理回
路図、である。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of an image processing apparatus according to the present embodiment, FIG. 2 is a diagram showing a block coding and vector quantization data format, and FIG. 4 (A) and 4 (B) are diagrams for explaining a method of rotating an image by one-dimensional conversion, FIG. 5 is an image processing block diagram, and FIG. 6 is an address calculation. Circuit diagram, FIG. 7 (A),
(B) is a circuit diagram of the address calculation unit, and FIG. 8 is an interpolation processing circuit diagram.

フロントページの続き (72)発明者 西垣 有二 東京都大田区下丸子3丁目30番2号 キ ヤノン株式会社内 (56)参考文献 特開 昭61−199175(JP,A) 特開 昭59−81962(JP,A) 特開 昭60−97474(JP,A) 特開 昭60−97473(JP,A)Continuation of front page    (72) Inventor Yuji Nishigaki               3-30-2 Shimomaruko, Ota-ku, Tokyo               Inside Canon Inc.                (56) References JP-A-61-199175 (JP, A)                 JP-A-59-81962 (JP, A)                 JP-A-60-97474 (JP, A)                 JP-A-60-97473 (JP, A)

Claims (1)

(57)【特許請求の範囲】 1.画像をm×m画素単位で圧縮した圧縮データを格納
した圧縮データメモリと、 前記圧縮データメモリから圧縮データを読出す読出手段
と、 前記読出手段により読出された圧縮データを復号し、m
ライン毎に画像データを出力する復号手段と、 前記復号手段により復号されたmライン分の画像データ
に対して、画像の拡大縮小を伴わずに画像を傾ける変換
処理を行なう処理手段と、 前記処理手段により変換処理されたmライン分の画像デ
ータをm×m画素単位で圧縮する圧縮手段と、 前記圧縮手段により圧縮された圧縮データを前記圧縮デ
ータメモリに格納する格納手段とを有し、 前記読出手段により前記圧縮データメモリから第1の方
向に関して圧縮データを読出し、前記復号手段により復
号し、復号された画像データに対して前記処理手段によ
り画像の拡大縮小を伴わずに画像を前記第1の方向に傾
ける第1の変換処理を行ない、第1の変換処理された画
像データを前記圧縮手段により圧縮し、前記格納手段に
より前記圧縮データメモリに格納する第1の画像傾け処
理、及び、前記読出手段により前記第1の方向に直交す
る第2の方向に関して前記圧縮データメモリから圧縮デ
ータを読出し、前記復号手段により復号し、復号された
画像データに対して前記処理手段により画像の拡大縮小
を伴わずに画像を前記第2の方向に傾ける第2の変換処
理を行ない、第2の変換処理された画像データを前記圧
縮手段により圧縮し、前記格納手段により前記圧縮デー
タメモリに格納する第2の画像傾け処理、及び、前記読
出手段により前記圧縮データメモリから前記第1の方向
に関して圧縮データを読出し、前記復号手段により復号
し、復号された画像データに対して前記処理手段により
画像の拡大縮小を伴わずに画像を前記第1の方向に傾け
る第1の変換処理を行ない、第1の変換処理された画像
データを前記圧縮手段により圧縮し、前記格納手段によ
り前記圧縮データメモリに格納する第3の画像傾け処理
とにより、前記圧縮データメモリに格納されている圧縮
データにより表わされる画像に対して回転処理を行なう
ことを特徴とする画像処理装置。
(57) [Claims] A compressed data memory storing compressed data obtained by compressing an image in units of m × m pixels; reading means for reading the compressed data from the compressed data memory; decoding the compressed data read by the reading means;
Decoding means for outputting image data for each line; processing means for performing a conversion process of inclining the image data of m lines decoded by the decoding means without enlarging or reducing the image; Compression means for compressing m lines of image data converted by the means in units of m × m pixels, and storage means for storing the compressed data compressed by the compression means in the compressed data memory; The compressed data is read from the compressed data memory in the first direction by the reading means, decoded by the decoding means, and the decoded image data is processed by the processing means into the first image without enlarging or reducing the image. Performs a first conversion process in which the image data is subjected to the first conversion process, is compressed by the compression unit, and is compressed by the storage unit. A first image tilting process to be stored in a memory, and the reading means reads compressed data from the compressed data memory in a second direction orthogonal to the first direction from the compressed data memory, and decodes and decodes the compressed data. The image data is subjected to a second conversion process of inclining the image in the second direction without enlarging or reducing the image by the processing unit, and the image data subjected to the second conversion process is compressed by the compression unit. A second image tilting process for storing the compressed data in the compressed data memory by the storage means, and reading the compressed data in the first direction from the compressed data memory by the reading means, decoding the decoded data by the decoding means, and decoding A first conversion process for inclining the image in the first direction without enlarging or reducing the image by the processing means; A third image tilting process of compressing the processed image data by the compression unit and storing the compressed image data in the compressed data memory by the storage unit allows an image represented by the compressed data stored in the compressed data memory to be processed. An image processing apparatus for performing rotation processing by using
JP61088611A 1986-04-17 1986-04-17 Image processing device Expired - Fee Related JP2744229B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP61088611A JP2744229B2 (en) 1986-04-17 1986-04-17 Image processing device
US07/038,288 US4918541A (en) 1986-04-17 1987-04-14 Image processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61088611A JP2744229B2 (en) 1986-04-17 1986-04-17 Image processing device

Publications (2)

Publication Number Publication Date
JPS62245379A JPS62245379A (en) 1987-10-26
JP2744229B2 true JP2744229B2 (en) 1998-04-28

Family

ID=13947607

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61088611A Expired - Fee Related JP2744229B2 (en) 1986-04-17 1986-04-17 Image processing device

Country Status (1)

Country Link
JP (1) JP2744229B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61199175A (en) * 1985-02-28 1986-09-03 Mitsubishi Electric Corp System for rotating image by optional angle

Also Published As

Publication number Publication date
JPS62245379A (en) 1987-10-26

Similar Documents

Publication Publication Date Title
US4918541A (en) Image processing method and apparatus
EP0597555B1 (en) Image processing apparatus
JP2656897B2 (en) Image data compression and decompression device
JP2569307B2 (en) Image rotation method
JP2007067917A (en) Image data processing apparatus
JPH04504629A (en) scaler gate array
US5446560A (en) Method and apparatus for raster to block and block to raster pixel conversion
JPH06245056A (en) Extending and smoothing processor of picture data
JP2744229B2 (en) Image processing device
JP2744230B2 (en) Image processing device
JP2744231B2 (en) Image processing device
JP4662325B2 (en) Image processing apparatus and image processing method
JPH07118002B2 (en) Image processing device
JP2653781B2 (en) Image editing processing method
JP2575641B2 (en) Image editing processing method
JP2009159631A (en) Image processor, image processing method, computer program, and recording medium
EP0558292B1 (en) Compression/expansion circuit
Anderson et al. Binary-image-manipulation algorithms in the Image View Facility
JP3875465B2 (en) Image reduction method, image processing apparatus and image processing apparatus control method
JP2974596B2 (en) Color image processing equipment
JP2000322566A (en) Image display device and its controlling method
JPS62245378A (en) Image processor
JP2821452B2 (en) Color image processing method
JP3225658B2 (en) Image information processing device
JPH0679322B2 (en) Image editing processor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees