JP4144547B2 - Image processing device - Google Patents
Image processing device Download PDFInfo
- Publication number
- JP4144547B2 JP4144547B2 JP2004097787A JP2004097787A JP4144547B2 JP 4144547 B2 JP4144547 B2 JP 4144547B2 JP 2004097787 A JP2004097787 A JP 2004097787A JP 2004097787 A JP2004097787 A JP 2004097787A JP 4144547 B2 JP4144547 B2 JP 4144547B2
- Authority
- JP
- Japan
- Prior art keywords
- image data
- transposition
- memory
- page
- partial image
- 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
Links
- 230000017105 transposition Effects 0.000 claims description 94
- 238000000034 method Methods 0.000 description 16
- 239000002131 composite material Substances 0.000 description 8
- 230000006870 function Effects 0.000 description 7
- 238000009825 accumulation Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 239000002699 waste material Substances 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 230000005055 memory storage Effects 0.000 description 2
- 239000003086 colorant Substances 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Landscapes
- Image Processing (AREA)
- Storing Facsimile Image Data (AREA)
- Editing Of Facsimile Originals (AREA)
Description
本発明は、メモリに蓄積されている1ページ分の画像データの複数種の回転パターンに応じた回転出力が同時に得られる画像処理装置に関する。 The present invention relates to an image processing apparatus capable of simultaneously obtaining a rotation output corresponding to a plurality of types of rotation patterns of image data for one page stored in a memory.
ファクシミリ装置、ディジタル複写機、プリンタ、またはそれらの機能を統合した複合機などの画像データを処理する画像処理装置にあっては、自身が読み取った画像データ、または外部装置から入力された画像データを、時計回りまたは反時計回りに90度回転させて用紙に記録する機能を備えているものがある(例えば、特許文献1及び2参照)。このような画像データの回転処理は、画像データによって描画される図形の長短方向を用紙の長短方向に一致させて見やすくする場合、所定の方向にセットされた用紙がなくなってもこれと90度方向を変えてセットされている他の用紙で記録処理を継続する場合などに、有用である。
In an image processing apparatus that processes image data, such as a facsimile machine, a digital copying machine, a printer, or a multifunction machine that integrates these functions, it reads image data read by itself or image data input from an external device. Some have a function of rotating 90 degrees clockwise or counterclockwise and recording on paper (see, for example,
画像処理装置における画像データの回転処理は、ページメモリを使用して、従来、以下のように行われることが一般的である。自身が読み取った画像データ、または外部装置から入力された1ページ分の画像データを、一旦ページメモリに蓄積する。蓄積された画像データから行方向及び列方向に同数の画素を単位とする部分画像データを読み出し、読み出した部分画像データを転置させ、転置させた部分画像データをページメモリの元のアドレスに書き込む動作を、1ページ分の画像データにわたって行って、回転処理のための転置画像データを生成する。そして、この転置画像データを所望の順序で読み出すことにより、回転処理された画像データを出力する。
画像処理装置においては、処理効率の向上を図るために、1つの1ページ分の画像データについて、該画像データを第1回転パターン(例えば、時計回りに90度回転)で回転させた画像データと、該画像データを第2回転パターン(例えば、反時計回りに90度回転)で回転させた画像データとを、画像処理装置内の異なるハードウェアへそれぞれ送出する場合がある。一例として、記録装置へは時計回りに90度回転させた画像データを送出し、画像データの符号化処理を行うコーデック部へは反時計回りに90度回転させた画像データを送出する場合などが存在する。このような場合、これらの2種類の回転パターンにおける画像データを同時に得て、対応するハードウェアそれぞれへ同時に送出することが、処理効率の向上を図る観点において有効である。 In the image processing device, in order to improve processing efficiency, image data obtained by rotating the image data for one page with a first rotation pattern (for example, rotating 90 degrees clockwise) The image data obtained by rotating the image data in a second rotation pattern (for example, rotated 90 degrees counterclockwise) may be sent to different hardware in the image processing apparatus. As an example, image data rotated 90 degrees clockwise is sent to a recording apparatus, and image data rotated 90 degrees counterclockwise is sent to a codec unit that performs image data encoding processing. Exists. In such a case, it is effective from the viewpoint of improving the processing efficiency to obtain image data in these two types of rotation patterns at the same time and send them simultaneously to the corresponding hardware.
しかしながら、上述した従来の画像処理装置では、ぺージメモリから読み出した部分画像データを転置させてぺージメモリの元のアドレスに書き込むようにしているため、複数種の回転パターンに応じた画像データ(例えば、時計回りに90度回転させた画像データと反時計回りに90度回転させた画像データ)を同時に出力することができないという問題がある。 However, since the conventional image processing apparatus described above transposes the partial image data read from the page memory and writes it to the original address of the page memory, image data corresponding to a plurality of types of rotation patterns (for example, There is a problem that image data rotated 90 degrees clockwise and image data rotated 90 degrees counterclockwise cannot be output simultaneously.
本発明は斯かる事情に鑑みてなされたものであり、複数種夫々の回転パターンに応じて転置させた部分画像データを元の画像データとは異なる記憶領域に蓄積するようにすることにより、回転パターンが異なる複数種の画像データを同時に出力でき、また、元の画像データと転置させた部分画像データとを連続してメモリの記憶領域に蓄積することにより、メモリの記憶領域を有効に使用できる画像処理装置を提供することを目的とする。 The present invention has been made in view of such circumstances, and by rotating the partial image data transposed according to each of a plurality of types of rotation patterns in a storage area different from the original image data, the rotation is performed. Multiple types of image data with different patterns can be output simultaneously, and the original image data and the transposed partial image data can be stored in the memory storage area in succession to effectively use the memory storage area. An object is to provide an image processing apparatus.
第1発明に係る画像処理装置は、1ページ分の画像データを複数種の転置パターン夫々で転置して出力する処理を行う画像処理装置において、1ページ分の画像データを蓄積するメモリと、該メモリに蓄積されている前記画像データの一部である部分画像データを蓄積するバッファと、前記部分画像データの該バッファへの読出し及び前記部分画像データの該バッファから前記メモリへの書込みによって、前記複数種の転置パターン夫々に応じた前記部分画像データの転置処理を実行する手段と、前記メモリから前記複数種の転置パターン夫々に応じた転置処理後の部分画像データを同時に読み出す手段とを備え、前記メモリは、書き込まれるべき転置処理後の部分画像データのデータ量に応じた記憶領域を、前記1ページ分の画像データが蓄積される記憶領域に連続して設けてあることを特徴とする。 An image processing apparatus according to a first aspect of the present invention is an image processing apparatus that performs processing for transposing and outputting image data for one page in each of a plurality of types of transposition patterns, and a memory for accumulating image data for one page; A buffer for storing partial image data that is a part of the image data stored in a memory, and reading the partial image data to the buffer and writing the partial image data from the buffer to the memory; Means for executing transposition processing of the partial image data corresponding to each of a plurality of types of transposition patterns, and means for simultaneously reading out the partial image data after the transposition processing corresponding to each of the plurality of types of transposition patterns from the memory, The memory has a storage area corresponding to the data amount of the partial image data after transposition processing to be written, and the image data for one page is stored in the memory area. Wherein the is provided continuously to a storage area to be a product.
第1発明の画像処理装置にあっては、メモリに蓄積された1ページ分の画像データに対して、その1ページ分の画像データの一部である複数画素を単位とした部分画像データを読み取って行方向と列方向とを入れ替えた転置処理を複数種の回転パターン夫々に応じて施し、各回転パターンに対応する転置処理後の部分画像データを、メモリの元の1ページ分の画像データとは異なる記憶領域に書き込む。よって、元の1ページ分の画像データが書き換えられることがない。そして、複数種の転置処理後の部分画像データを、それらの読出しアドレスを制御して読み出すことにより、回転パターンが異なる複数種の画像データを同時に出力する。また、転置処理後の部分画像データを蓄積するために必要最低限の記憶領域を、メモリ内で、転置処理されていない元の画像データを蓄積する記憶領域に連続して確保する。よって、無駄な記憶領域を確保しておくことがなくなり、メモリの有効な利用を図れる。 The image processing apparatus according to the first aspect of the present invention reads partial image data in units of a plurality of pixels which are a part of the image data for one page from the image data for one page stored in the memory. The transposition processing in which the row direction and the column direction are switched is performed according to each of the plurality of types of rotation patterns, and the partial image data after the transposition processing corresponding to each rotation pattern is converted into image data for one page of the original memory. Writes to a different storage area. Therefore, the original image data for one page is not rewritten. Then, by reading out the partial image data after the plural types of transposition processing by controlling their read addresses, plural types of image data having different rotation patterns are output simultaneously. Further, a minimum storage area necessary for accumulating the partial image data after the transposition process is continuously secured in the memory area for accumulating the original image data not subjected to the transposition process. Therefore, it is not necessary to secure a useless storage area, and the memory can be used effectively.
第2発明に係る画像処理装置は、第1発明において、前記メモリは、転置処理後の部分画像データが書き込まれる記憶領域に連続して、次ページの転置処理されていない画像データが蓄積される記憶領域を設けてあることを特徴とする。 The image processing apparatus according to a second invention is the image processing apparatus according to the first invention, wherein the memory stores image data that is not subjected to transposition processing of the next page continuously in a storage area in which the partial image data after transposition processing is written. A storage area is provided.
第2発明の画像処理装置にあっては、メモリ内で、前のページにおける転置処理後の部分画像データを蓄積する記憶領域に連続して、次の1ページ分の転置処理されていない画像データを蓄積する記憶領域を確保する。よって、記憶領域の使用に無駄がなく、メモリの有効な利用を図れる。 In the image processing apparatus according to the second aspect of the invention, in the memory, image data that has not been subjected to transposition processing for the next page in succession to the storage area for storing the partial image data after transposition processing for the previous page. A storage area for accumulating data is secured. Therefore, there is no waste in using the storage area, and the memory can be used effectively.
第3発明に係る画像処理装置は、第1または第2発明において、前記メモリは、前記複数種の転置パターン夫々に応じた転置処理後の部分画像データを書き込むための記憶領域を、各転置パターン毎に2つずつ有しており、各転置パターン毎の該2つの記憶領域における部分画像データの書込み動作と部分画像データの読出し動作とを、前記2つの記憶領域夫々で交互に行うようにしたことを特徴とする。 In the image processing apparatus according to a third aspect of the present invention, in the first or second aspect, the memory has a storage area for writing partial image data after the transposition processing corresponding to each of the plurality of types of transposition patterns. Each of the two storage areas alternately performs the writing operation of the partial image data and the reading operation of the partial image data in each of the two storage areas for each transposition pattern. It is characterized by that.
第3発明の画像処理装置にあっては、複数種の回転パターン夫々について、転置処理後の部分画像データを書き込むために2つずつの記憶領域がメモリに設定されており、各回転パターン毎の2つの記憶領域における部分画像データの書込み動作と部分画像データの読出し動作とを交互に行う。よって、少ない記憶領域の利用で効率良く転置処理後の部分画像データ(回転させた画像データ)を出力する。 In the image processing apparatus of the third invention, two storage areas are set in the memory for writing the partial image data after the transposition processing for each of the plurality of types of rotation patterns. The partial image data writing operation and the partial image data reading operation in the two storage areas are alternately performed. Therefore, the partial image data after the transposition processing (rotated image data) is output efficiently using a small storage area.
本発明では、メモリに蓄積された1ページ分の画像データから読み出して複数種の回転パターン夫々に応じて転置処理した後の部分画像データを、メモリの元のアドレスではなく、1ページ分の画像データが蓄積されている記憶領域とは異なる記憶領域に書き込むようにしたので、回転パターンが異なる複数種の画像データを同時に出力することができる。また、転置処理後の部分画像データの書込み領域を、元の画像データの蓄積領域に連続して設けるようにしたので、メモリの記憶領域を無駄なく使用することができる。 In the present invention, the partial image data after being read from the image data for one page stored in the memory and transposed according to each of the plurality of types of rotation patterns is not an original address of the memory, but an image for one page. Since data is written in a storage area different from the storage area in which data is accumulated, a plurality of types of image data having different rotation patterns can be output simultaneously. In addition, since the partial image data writing area after the transposition processing is continuously provided in the original image data accumulation area, the storage area of the memory can be used without waste.
また、転置処理後の部分画像データの書込み領域に連続して、次ページの転置処理されていない画像データの蓄積領域を設けるようにしたので、メモリの記憶領域を無駄なく使用することができる。 In addition, since the storage area of the image data not subjected to the transposition process on the next page is provided continuously in the writing area of the partial image data after the transposition process, the storage area of the memory can be used without waste.
更に、2つの記憶領域を用いて交互に部分画像データの書込み動作と読出し動作とを行うようにしたので、少ない記憶領域の利用で効率良く回転させた画像データを出力することができる。 Furthermore, since the partial image data write operation and read operation are alternately performed using the two storage areas, the rotated image data can be output efficiently by using a small storage area.
以下、本発明をその実施の形態を示す図面を参照して具体的に説明する。図1は、本発明の画像処理装置としてのファクシミリ複合装置20の構成を示すブロック図である。
Hereinafter, the present invention will be described in detail with reference to the drawings showing embodiments thereof. FIG. 1 is a block diagram showing a configuration of a facsimile
ファクシミリ複合装置20は、制御部1,読取部2,記録部3,表示部4,操作部5,ROM6,RAM7,コーデック部8,画像メモリ9,ページメモリ10,バッファ11,モデム12,NCU(Network Control Unit)13,PCインタフェース部14などを備えている。ファクシミリ複合装置20は、読取部2にて原稿を読み取って画像データを得る読取機能、読み取った画像データ、ファクシミリ通信により受信した画像データ、または外部接続されたPCから受信した画像データに応じた画像を記録部3にて記録する記録機能、及び、読み取った画像データまたは受信した画像データをファクシミリ送信する送信機能を併せ持っている。
The
制御部1は、具体的にはCPUで構成されており、バス15を介してファクシミリ複合装置20の上述したようなハードウェア各部と接続されていて、それらを制御すると共に、ROM6に格納された制御プログラムに従って、種々のソフトウェア的機能を実行する。読取部2は、例えばCCDイメージセンサを利用して原稿を読み取り、読み取った画像データを出力する。
Specifically, the
記録部3は、電子写真方式のプリンタ装置であって、読取部2にて読み取った原稿の画像データ、ファクシミリ通信により受信した画像データ、外部のPCから送られてきた画像データなどに応じた画像を用紙にプリントアウトする。表示部4は、液晶表示装置またはCRTディスプレイ等の表示装置であり、ファクシミリ複合装置20の動作状態を表示したり、ユーザへ操作入力を促す画面を表示したり、送信すべく読み取った原稿の画像データ、他のファクシミリ装置またはPCから送信された画像データなどの表示を行う。
The
操作部5は、ファクシミリ複合装置20を操作するために必要な文字キー,テンキー,短縮ダイヤルキー,ワンタッチダイヤルキー,各種のファンクションキーなどを備えている。操作部5は、ファンクションキーとして、ページメモリ10及びバッファ11を使用して画像データの回転処理を行うか否か、及びその回転のパターン(時計回りに90度または反時計回りに90度)を設定する回転処理設定キー5aを有する。なお、表示部4をタッチパネル方式とすることにより、操作部5の各種のキーの内の一部または全部を代用することも可能である。
The
ROM6は、ファクシミリ複合装置20の動作に必要な種々のソフトウェアのプログラムを予め格納している。RAM7は、SRAMまたはフラッシュメモリ等で構成され、ソフトウェアの実行時に発生する一時的なデータを記憶する。コーデック部8は、画像データを圧縮符号化すると共に、圧縮符号化されている画データを復号する。画像メモリ9は、原稿を読み取って符号化した画データ、他のファクシミリ装置またはPCから受信して符号化した画データなどを蓄積する。
The
ページメモリ10は、例えばSDRAM(Synchronous Dynamic Random Access Memory)にて構成されており、読取部2にて読み取られた1ページ分の画像データ、他のファクシミリ装置またはPCから受信された1ページ分の画像データを蓄積する。また、ページメモリ10は元の画像データを複数種の回転パターン夫々に応じて転置してなる転置画像データを、元の画像データとは異なるバッファ領域に蓄積する。
The
図2は、ページメモリ10の構成を示す図であり、ページメモリ10は、転置されていない元の1ページ分の画像データを蓄積する元バッファ領域10aと、元の1ページ分の画像データの一部を第1回転パターン(時計回り90度回転)に応じて転置してなる第1転置部分画像データを蓄積する2個の第1転置バッファ領域10b及び第2転置バッファ領域10cと、元の1ページ分の画像データの一部を第2回転パターン(反時計回り90度回転)に応じて転置してなる第2転置部分画像データを蓄積する2個の第3転置バッファ領域10d及び第4転置バッファ領域10eとを有しており、第1,第2,第3,第4転置バッファ領域10b,10c,10d,10eは、元バッファ領域10aに連続している。これらの第1,第2,第3,第4転置バッファ領域10b,10c,10d,10eの大きさは、対象となる元の画像データの回転に最低限必要なサイズであり、元の画像データに応じて演算される。よって、これらの転置バッファ領域のアドレスは可変である。
FIG. 2 is a diagram illustrating the configuration of the
ここで、各第1,第2,第3,第4転置バッファ領域10b,10c,10d,10eとして必要な記憶容量の具体的な演算手法について説明する。画像データを2値データとし、転置単位をn×n画素とし、1ページ分の蓄積画像データがyラインである場合、a,bを自然数(但し、0<b<n)として各転置バッファ領域10b,10c,10d,10eに必要な記憶容量Mは以下のようになる。
(1)y=a×nのとき
M=a×n2 (ビット) …(式1)
(2)y=a×n+bのとき
M=(a+1)×n2 (ビット) …(式2)
Here, a specific calculation method of the storage capacity required for each of the first, second, third, and fourth
(1) When y = a × n
M = a × n 2 (bit) (Formula 1)
(2) When y = a × n + b
M = (a + 1) × n 2 (bit) (Expression 2)
また、これらの第1,第2,第3,第4転置バッファ領域10b,10c,10d,10eに連続して、次ページ分の画像データを蓄積する元バッファ領域10aを設けている。このように、ページメモリ10内で、元バッファ領域10a及び必要最低限の第1,第2,第3,第4転置バッファ領域10b,10c,10d,10eを連続して設けているため、ページメモリ10の記憶領域の使用に全く無駄がない。
Further, an original buffer area 10a for accumulating image data for the next page is provided in succession to the first, second, third, and fourth
ページメモリ10に蓄積された元の画像データまたは複数種の転置部分画像データは記録部3に読み出されて、その画像データに応じた通常画像または回転画像がシートに記録されるようになっている。また、元の画像データまたは複数種の転置部分画像データは、圧縮符号化のためにコーデック部8へ出力されるようになっている。そして、効率性の向上を図るべく、同じページに基づく回転パターンが異なる転置部分画像データ(例えば、時計回り90度回転に応じた転置部分画像データと反時計回り90度回転に応じた転置部分画像データ)が、記録部3,コーデック部8夫々へ同時に出力されることがある。
Original image data or a plurality of types of transposed partial image data stored in the
バッファ11は、n×n(n;自然数)のマトリクス状に構成されたn2 個のフリップフロップを2組有しており、各フリップフロップは各画素の2値データを保持する。そして、ページメモリ10とバッファ11との間では、ページメモリ10のn×nのn2 画素のデータを単位としてデータの書込み/読出しが行えるようになっており、必要に応じて、このデータの書込み/読出し制御によって、画像データの複数種の回転パターン夫々に基づく回転処理における転置画像データの生成が行われる。
The
モデム12は、バス15に接続されており、ファクシミリ通信が可能なファクシミリモデムから構成されている。また、モデム12は、同様にバス15に接続されたNCU13と直接的に接続されている。NCU13は、公衆電話回線網(PSTN:Public Switched Telephone Network)との回線L1の閉結及び開放の動作を行うハードウェアであり、必要に応じてモデム12をPSTNと接続する。そして、ファクシミリ複合装置20は、PSTNによって他のファクシミリ装置と接続されており、通常のファクシミリ通信が行えるようになっている。PCインタフェース部14は、LAN等の通信線L2を介して外部のPCに接続されており、PCとの間でデータのやりとりを行う。そして、外部のPCで作成・編集された各種の画像データが通信線L2を介してファクシミリ複合装置20(PCインタフェース部14)へ送信され、送信された画像データに応じた画像がファクシミリ複合装置20(記録部3)にて用紙にプリントアウトされるようになっている。
The
以下、このような構成をなすファクシミリ複合装置20における画像データの出力処理について、転置単位であるnを8とすると共に、時計回り90度回転における転置画像データを記録部3へ、反時計回り90度回転における転置画像データをコーデック部8へ同時に出力する場合を例にして説明する。
Hereinafter, regarding the output processing of the image data in the facsimile
1ページ分の画像データをページメモリ10の元バッファ領域10aへ蓄積する。図3は、この元バッファ領域10aにおける元の画像データの蓄積状態を示す図である。この例ではライン数はy=24である。記録部3及びコーデック部8へ、以下のように転置処理が施された転置画像データが出力される。
One page of image data is stored in the original buffer area 10 a of the
各第1,第2,第3,第4転置バッファ領域10b,10c,10d,10eとして必要な記憶容量を演算する。転置単位がn=8であり、ライン数がy=24であるため、a=3となり、上述した(式1)に従って、転置バッファ領域10b,10c,10d,10eそれぞれに必要な記憶容量Mは、M=3×82 =192(ビット)となる。
The storage capacity required for each of the first, second, third, and fourth
ページメモリ10の元バッファ領域10aに蓄積されている画像データ中の8×8の方形状の64個の画素を単位(ブロック)として、その1つのブロックのデータをページメモリ10から読み出してバッファ11にその行方向にデータを書き込み、この書込みが終了した後、バッファ11に書き込まれているデータをその列方向から読み出し、読み出したデータをページメモリ10の第1転置バッファ領域10bまたは第2転置バッファ領域10cに書き込む。このようにして、時計回り90度回転処理のための中間データとしての第1転置部分画像データを生成する。図4は、これらの第1転置バッファ領域10b及び第2転置バッファ領域10cにおける第1転置部分画像データの蓄積状態を示す図である。演算にて求めた必要最低限の第1転置バッファ領域10b及び第2転置バッファ領域10cを、元バッファ領域10aに連続して設けているため、無駄がなく、ページメモリ10の記憶領域を有効に使用できる。
The data of one block is read out from the
一方、上記処理とは転置単位の処理順序を異ならせて、ページメモリ10の元バッファ領域10aに蓄積されている画像データ中の8×8の方形状の64個の画素を単位(ブロック)として、その1つのブロックのデータをページメモリ10から読み出してバッファ11にその行方向にデータを書き込み、この書込みが終了した後、バッファ11に書き込まれているデータをその列方向から読み出し、読み出したデータをページメモリ10の第3転置バッファ領域10dまたは第4転置バッファ領域10eに書き込むことにより、反時計回り90度回転処理のための中間データとしての第2転置部分画像データを生成する。図5は、これらの第3転置バッファ領域10d及び第4転置バッファ領域10eにおける第2転置部分画像データの蓄積状態を示す図である。この第3,第4転置バッファ領域10d,10eも第1,第2転置バッファ領域10b,10cに連続して設けて、ページメモリ10の記憶領域の有効利用を図っている。
On the other hand, the transposition unit processing order is different from the above processing, and 64 pixels of 8 × 8 square shape in the image data stored in the original buffer area 10a of the
そして、第1転置バッファ領域10b,第2転置バッファ領域10cに蓄積されている第1転置部分画像データを読み出して記録部3へ出力すると共に、第3転置バッファ領域10d,第4転置バッファ領域10eに蓄積されている第2転置部分画像データを読み出してコーデック部8へ出力する。この際、一方の転置バッファ領域がデータで一杯になった時点で、他方の転置バッファ領域を選択して同様の転置部分画像データ生成処理を続けると共に、一方の転置バッファ領域から転置部分画像データを読み出す。このように、第1転置バッファ領域10bと第2転置バッファ領域10c、及び、第3転置バッファ領域10dと第4転置バッファ領域10eとにおいて、転置部分画像データの書込み動作と転置部分画像データの読出し動作とを交互に行う。1ページ分の出力が完了するまで、このような処理を繰り返すことにより、図6に示すような時計回り90度回転に応じた1ページ分の転置画像データを記録部3へ出力できると共に、図7に示すような反時計回り90度回転に応じた1ページ分の転置画像データをコーデック部8へ出力できる。なお、元バッファ領域10aに蓄積されている元の画像データは書き換えられていないため、これらの転置画像データを記録部3,コーデック部8へ出力している間に、この転置されていない元の画像データを読み出して更に別のハードウェアへ同時に出力することも可能である。
Then, the first transposed partial image data stored in the first transposed
以上のようにして、回転パターンが異なる複数種の画像データを、異なるハードウェア夫々へ同時に出力することが可能となる。 As described above, a plurality of types of image data having different rotation patterns can be simultaneously output to different hardware.
図8は、このような転置画像データ生成・出力処理の動作手順の一例を示すフローチャートである。 FIG. 8 is a flowchart showing an example of an operation procedure of such transposed image data generation / output processing.
読取部2にて読み取られた画像データ、または他のファクシミリ装置,PCから受信された画像データの1ページ分をページメモリ10の元バッファ領域10aに蓄積する(ステップS1)。制御部1は、読出し指示があったか否かを判断し(ステップS2)、ない場合には(S2:NO)、読出し指示の監視を続ける。読出し指示があった場合(S2:YES)、制御部1は、設定されている回転パターンの種類(時計回りに90度及び反時計回りに90度)を検出すると共に(ステップS3)、各第1,第2,第3,第4転置バッファ領域10b,10c,10d,10eとして必要な記憶容量を演算し、演算した容量分の記憶領域をページメモリ10に確保する(ステップS4)。そして、以下に述べるS5〜S12の動作を、第1回転パターン(時計回り90度回転)と第2回転パターン(反時計回り90度回転)とに関して並列的に行う。
One page of image data read by the
元バッファ領域10aに蓄積されている画像データ中の8×8の方形状の64個の画素を単位(ブロック)として、その1つのブロックのデータを元バッファ領域10aから読み出してバッファ11に書き込む(ステップS5)。この場合、バッファ11の行方向にデータを書き込んでいく。この書込みが終了した後、バッファ11に書き込まれているデータをその列方向から読み出し、読み出したデータをページメモリ10の一方の転置バッファ領域(例えば第1転置バッファ領域10bまたは第3転置バッファ領域10d)に書き込む(ステップS6)。
Using 64 pixels of 8 × 8 square shape in the image data stored in the original buffer area 10a as a unit (block), the data of one block is read from the original buffer area 10a and written to the buffer 11 ( Step S5). In this case, data is written in the row direction of the
制御部1は、1ページ分の画像データにわたる転置処理(バッファ11への書込み/読出し動作)が完了したか否かを判断する(ステップS7)。完了していない場合に(S7:NO)、制御部1は、その一方の転置バッファ領域が空いているか否かを判断する(ステップS8)。空いている場合には(S8:YES)、動作がS5に戻って、一方の転置バッファ領域に対する転置部分画像データの生成処理を繰り返す。
The
一方の転置バッファ領域が空いていない場合に(S8:NO)、制御部1は、他方の転置バッファ領域(例えば第2転置バッファ領域10cまたは第4転置バッファ領域10e)を選択すると共に(ステップS9)、その一方の転置バッファ領域に蓄積されている転置部分画像データの読出し/出力を開始し(ステップS10)、動作がS5に戻って、他方の転置バッファ領域に対する転置部分画像データの生成処理を行う。本発明ではこのように、一方の転置バッファ領域において転置部分画像データの読出し動作がなされている間に、他方の転置バッファ領域において転置部分画像データの書込み動作を行い、一方の転置バッファ領域において転置部分画像データの書込み動作がなされている間に、他方の転置バッファ領域において転置部分画像データの読出し動作を行うようにしており、即ち、転置部分画像データの書込み動作と転置部分画像データの読出し動作とを、2つの第1転置バッファ領域10bと第2転置バッファ領域10c、及び、第3転置バッファ領域10dと第4転置バッファ領域10eとで交互に行うようにしており、少ない記憶領域の使用でも、その動作効率が極めて良い。
When one transposition buffer area is not free (S8: NO), the
1ページ分の画像データにわたる転置処理が完了した場合に(S7:YES)、制御部1は、1ページ分にわたる転置部分画像データの出力が完了したか否かを判断する(ステップS11)。完了していない場合に(S11:NO)、その出力処理を続けて(ステップS12)、動作がS11に戻る。時計回り90度回転または反時計回り90度回転に対応した1ページ分にわたる転置部分画像データを出力した場合には(S11:YES)、動作が終了する。
When the transposition process over the image data for one page is completed (S7: YES), the
本発明では、上述したS5〜S12の動作を、第1回転パターン(時計回り90度回転)と第2回転パターン(反時計回り90度回転)とにおいて、夫々並行して行うようにしたので、時計回り90度回転に応じた転置画像データを記録部3へ出力すると共に、反時計回り90度回転に応じた転置画像データをコーデック部8へ出力することができ、回転パターンが異なる複数種の画像データを異なるハードウェア夫々へ同時に出力することが可能である。
In the present invention, the operations of S5 to S12 described above are performed in parallel in the first rotation pattern (clockwise 90 degree rotation) and the second rotation pattern (counterclockwise 90 degree rotation). The transposition image data corresponding to the 90 ° clockwise rotation can be output to the
上述した例では、画像データを2値データとしたが、多値データであっても良い。画像データがtビットの多値データである場合、各第1,第2,第3,第4転置バッファ領域10b,10c,10d,10eに必要な記憶容量Mは以下のようになる。但し、n,y,a,bは上述の(式1),(式2)の場合と同一のものを表す。
(3)y=a×nのとき
M=a×n2 ×t(ビット) …(式3)
(4)y=a×n+bのとき
M=(a+1)×n2 ×t(ビット) …(式4)
In the example described above, the image data is binary data, but it may be multi-value data. When the image data is multi-value data of t bits, the storage capacity M required for each of the first, second, third, and fourth
(3) When y = a × n
M = a × n 2 × t (bit) (Formula 3)
(4) When y = a × n + b
M = (a + 1) × n 2 × t (bit) (Formula 4)
なお、上述した実施の形態では、2種類の回転パターン(時計回り90度回転と反時計回り90度回転)を例として説明したが、これに180度回転の回転パターンを追加するなど、3種類以上の回転パターンを設定する場合についても本発明を同様に適用できることは勿論である。また、上述した実施の形態では、8×8画素を単位として転置画像データを生成するようにしたが、これは一例であり、その単位となる画素数は任意の値であってよい。更に、ファクシミリ複合装置を例として説明したが、ファクシミリ装置、ディジタル複写機、プリンタなど、取得した画像データを回転して出力する全ての装置に本発明を適用できることは勿論である。 In the above-described embodiment, two types of rotation patterns (clockwise 90 ° rotation and counterclockwise 90 ° rotation) have been described as examples. However, there are three types of rotation patterns such as a 180 ° rotation rotation pattern added thereto. Of course, the present invention can be similarly applied to the case where the above rotation pattern is set. In the above-described embodiment, transposed image data is generated with 8 × 8 pixels as a unit. However, this is an example, and the number of pixels as the unit may be an arbitrary value. Further, although the facsimile composite apparatus has been described as an example, it is needless to say that the present invention can be applied to all apparatuses such as a facsimile apparatus, a digital copying machine, and a printer that rotate and output acquired image data.
1 制御部
2 読取部
3 記録部
5 操作部
5a 回転処理設定キー
6 ROM
7 RAM
10 ページメモリ
10a 元バッファ領域
10b 第1転置バッファ領域
10c 第2転置バッファ領域
10d 第3転置バッファ領域
10e 第4転置バッファ領域
11 バッファ
20 ファクシミリ複合装置(画像処理装置)
DESCRIPTION OF
7 RAM
10 page memory 10a
Claims (3)
The memory has two storage areas for writing each partial image data after the transposition processing corresponding to each of the plurality of transposition patterns, and the two memory areas for each transposition pattern. 3. The image processing apparatus according to claim 1, wherein a partial image data writing operation and a partial image data reading operation in the storage area are alternately performed in each of the two storage areas.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004097787A JP4144547B2 (en) | 2004-03-30 | 2004-03-30 | Image processing device |
US11/086,090 US20050213163A1 (en) | 2004-03-29 | 2005-03-21 | Image processing device and image processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004097787A JP4144547B2 (en) | 2004-03-30 | 2004-03-30 | Image processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005286697A JP2005286697A (en) | 2005-10-13 |
JP4144547B2 true JP4144547B2 (en) | 2008-09-03 |
Family
ID=35184618
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004097787A Expired - Fee Related JP4144547B2 (en) | 2004-03-29 | 2004-03-30 | Image processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4144547B2 (en) |
-
2004
- 2004-03-30 JP JP2004097787A patent/JP4144547B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2005286697A (en) | 2005-10-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4341653B2 (en) | Image processing apparatus, image reading apparatus, image processing method, and image processing program | |
JP2011066720A (en) | Image processing apparatus, control method, and program | |
JP2006121347A (en) | Image processor | |
JP4144547B2 (en) | Image processing device | |
JP4144548B2 (en) | Image processing device | |
JP2005286486A (en) | Image processing apparatus | |
JP4201031B2 (en) | Image processing device | |
JP4172410B2 (en) | Image processing method and image processing apparatus | |
JP2005286542A (en) | Image processing apparatus | |
JP4144544B2 (en) | Image processing method and image processing apparatus | |
US20050213163A1 (en) | Image processing device and image processing method | |
JP2004328571A (en) | Image processing apparatus | |
JP2005174142A (en) | Image processing device | |
JPH11306343A (en) | Rotational processing device for two-dimensional data | |
JP2005176129A (en) | Image processing method and image processor | |
JP4165391B2 (en) | Image processing method and image processing apparatus | |
JP2005176127A (en) | Image processing method and image processor | |
JP4158695B2 (en) | Image processing method and image processing apparatus | |
JP3167684B2 (en) | Context generation circuit and method for small screen | |
JP2005176128A (en) | Image processing method and image processor | |
JP2005176130A (en) | Image recording method and image recording apparatus | |
JP2005277662A (en) | Image processing apparatus | |
JP2011188050A (en) | Image processing method and apparatus, and image forming apparatus | |
JP2007053615A (en) | Communications apparatus | |
JP2008125026A (en) | Image processor, image processing method, image processing program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20061218 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20080423 |
|
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: 20080527 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20080609 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110627 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110627 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120627 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130627 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130627 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140627 Year of fee payment: 6 |
|
LAPS | Cancellation because of no payment of annual fees |