JP2005286486A - Image processing apparatus - Google Patents
Image processing apparatus Download PDFInfo
- Publication number
- JP2005286486A JP2005286486A JP2004094690A JP2004094690A JP2005286486A JP 2005286486 A JP2005286486 A JP 2005286486A JP 2004094690 A JP2004094690 A JP 2004094690A JP 2004094690 A JP2004094690 A JP 2004094690A JP 2005286486 A JP2005286486 A JP 2005286486A
- Authority
- JP
- Japan
- Prior art keywords
- image data
- transposition
- buffer area
- processing
- 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.)
- Pending
Links
- 230000017105 transposition Effects 0.000 claims abstract description 86
- 238000009825 accumulation Methods 0.000 claims description 6
- 238000000034 method Methods 0.000 description 18
- 239000002131 composite material Substances 0.000 description 8
- 230000006870 function Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 239000002699 waste material Substances 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 3
- 238000004364 calculation method Methods 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
- 230000005055 memory storage Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Landscapes
- Storing Facsimile Image Data (AREA)
- Editing Of Facsimile Originals (AREA)
- Record Information Processing For Printing (AREA)
- Image Processing (AREA)
Abstract
Description
本発明は、メモリに蓄積されている1ページ分の画像データの非回転出力と回転出力とが併せて得られる画像処理装置に関する。 The present invention relates to an image processing apparatus that can obtain both non-rotation output and rotation output 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ページ分の画像データについて、そのままの該画像データと、該画像データを回転させた画像データとを、画像処理装置内の異なるハードウェアへそれぞれ送出する場合がある。一例として、記録装置へは回転させないそのままの画像データを送出し、画像データの符号化処理を行うコーデック部へは回転させた画像データを送出する場合などが存在する。このような場合、回転させないそのままの画像データと、回転させた画像データとを同時に得て、対応するハードウェアそれぞれへ同時に送出することが、処理効率の向上を図る観点において有効である。 In the image processing apparatus, in order to improve processing efficiency, the image data for one page is different from the image data as it is and the image data obtained by rotating the image data in the image processing apparatus. Each may be sent to hardware. As an example, there is a case in which unrotated image data is sent to a recording apparatus and the rotated image data is sent to a codec unit that performs image data encoding processing. In such a case, it is effective from the viewpoint of improving the processing efficiency to obtain the image data as it is not rotated and the rotated image data at the same time and simultaneously send them to the corresponding hardware.
しかしながら、上述した従来の画像処理装置では、ぺージメモリから読み出した部分画像データを転置させてぺージメモリの元のアドレスに書き込むようにしているため、元の画像データが書き換えられることになり、回転させないそのままの画像データと回転させた画像データとを同時に出力することができないという問題がある。 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, the original image data is rewritten and is not rotated. There is a problem that the image data as it is and the rotated image data cannot be output simultaneously.
本発明は斯かる事情に鑑みてなされたものであり、元の画像データを書き換えるのではなく、元の画像データとは異なる記憶領域に転置させた部分画像データを蓄積するようにすることにより、回転させないそのままの画像データと回転させた画像データとを同時に出力でき、また、元の画像データと転置させた部分画像データとを連続してメモリの記憶領域に蓄積することにより、メモリの記憶領域を有効に使用できる画像処理装置を提供することを目的とする。 The present invention has been made in view of such circumstances, and does not rewrite the original image data, but by storing the partial image data transposed in a storage area different from the original image data, The image data that is not rotated and the rotated image data can be output simultaneously, and the original image data and the transposed partial image data are continuously stored in the memory storage area. An object of the present invention is to provide an image processing apparatus that can effectively use the image processing apparatus.
第1発明に係る画像処理装置は、1ページ分の画像データを転置せずに出力する処理と、前記画像データを転置して出力する処理とを行う画像処理装置において、1ページ分の画像データを蓄積するメモリと、該メモリに蓄積されている前記画像データの一部である部分画像データを蓄積するバッファと、前記部分画像データの該バッファへの読出し及び前記部分画像データの該バッファから前記メモリへの書込みによって前記部分画像データの転置処理を実行する手段と、前記メモリから転置処理されていない前記画像データと転置処理後の部分画像データとを同時に読み出す手段とを備え、前記メモリは、書き込まれるべき転置処理後の部分画像データのデータ量に応じた記憶領域を、前記1ページ分の画像データが蓄積される記憶領域に連続して設けてあることを特徴とする。 An image processing device according to a first aspect of the present invention is an image processing device that performs processing for outputting image data for one page without transposition and processing for transposing and outputting the image data. , A buffer for storing partial image data that is a part of the image data stored in the memory, reading of the partial image data into the buffer, and reading from the buffer of the partial image data to the buffer Means for executing transposition processing of the partial image data by writing to a memory, and means for simultaneously reading out the image data that has not been transposed from the memory and the partial image data after the transposition processing, A storage area corresponding to the data amount of the partial image data after transposition processing to be written is a storage area in which image data for one page is stored Wherein the is provided continuously.
第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. Thus, the transposition process in which the row direction and the column direction are switched is performed, and the partial image data after the transposition process is written in a storage area different from the original one page of image data in the memory. Therefore, the original image data for one page is not rewritten. Then, the original image data that has not been transposed and the partial image data that has been transposed from the memory are read out by controlling their read addresses, so that the unrotated image data and the rotated image data 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つの記憶領域で交互に行うようにしたことを特徴とする。 According to a third aspect of the present invention, in the first or second aspect, the memory has two storage areas for writing the partial image data after the transposition processing. The partial image data writing operation and the partial image data reading operation are alternately performed in the two storage areas.
第3発明の画像処理装置にあっては、転置処理後の部分画像データを書き込むために2つの記憶領域がメモリに設定されており、この2つの記憶領域における部分画像データの書込み動作と部分画像データの読出し動作とを交互に行う。よって、少ない記憶領域の利用で効率良く転置処理後の部分画像データ(回転させた画像データ)を出力する。 In the image processing apparatus according to the third aspect of the present invention, two storage areas are set in the memory for writing the partial image data after the transposition processing, and the partial image data write operation and the partial image in the two storage areas are set. The data reading operation is 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 subjected to transposition processing is not the original address of the memory, but the storage area in which the image data for one page is stored. Since the original image data cannot be rewritten, the image data that has not been rotated and the rotated image data can be output at the same time. 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ページ分の画像データの一部を転置してなる転置部分画像データを蓄積する2個の第1転置バッファ領域10b及び第2転置バッファ領域10cとを有しており、第1転置バッファ領域10b及び第2転置バッファ領域10cは、元バッファ領域10aに連続している。この第1転置バッファ領域10b及び第2転置バッファ領域10cの大きさは、対象となる元の画像データの回転に最低限必要なサイズであり、元の画像データに応じて演算される。よって、これらの転置バッファ領域のアドレスは可変である。
FIG. 2 is a diagram illustrating the configuration of the
ここで、第1転置バッファ領域10b,第2転置バッファ領域10cとして必要な記憶容量の具体的な演算手法について説明する。画像データを2値データとし、転置単位をn×n画素とし、1ページ分の蓄積画像データがyラインである場合、a,bを自然数(但し、0<b<n)として各転置バッファ領域10b,10cに必要な記憶容量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 necessary for the first
(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転置バッファ領域10b及び第2転置バッファ領域10cに連続して、次ページ分の画像データを蓄積する元バッファ領域10aを設けている。このように、ページメモリ10内で、元バッファ領域10a並びに必要最低限の第1転置バッファ領域10b及び第2転置バッファ領域10cを連続して設けているため、ページメモリ10の記憶領域の使用に全く無駄がない。
Further, an original buffer area 10a for accumulating image data for the next page is provided in succession to the first
ページメモリ10に蓄積された元の画像データまたは転置部分画像データは記録部3に読み出されて、その画像データに応じた通常画像または回転画像がシートに記録されるようになっている。また、元の画像データまたは転置部分画像データは、圧縮符号化のためにコーデック部8へ出力されるようになっている。そして、効率性の向上を図るべく、同じページに基づく元の画像データと転置部分画像データとが、記録部3,コーデック部8それぞれに同時に出力されることがある。
Original image data or transposed partial image data stored in the
バッファ11は、n×n(n;自然数)のマトリクス状に構成されたn2 個のフリップフロップを有しており、各フリップフロップは各画素の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とすると共に、回転しない元の画像データをコーデック部8へ、時計回り90度回転における転置画像データを記録部3へ同時に出力する場合を例にして説明する。
Hereinafter, regarding the output processing of the image data in the facsimile
1ページ分の画像データをページメモリ10の元バッファ領域10aへ蓄積する。図3は、この元バッファ領域10aにおける元の画像データの蓄積状態を示す図である。この例ではライン数はy=24である。コーデック部8へは、このままの状態の画像データが出力される。一方、記録部3へは、以下のように転置処理が施された転置画像データが出力される。
One page of image data is stored in the original buffer area 10 a of the
第1転置バッファ領域10b,第2転置バッファ領域10cとして必要な記憶容量を演算する。転置単位がn=8であり、ライン数がy=24であるため、a=3となり、上述した(式1)に従って、各転置バッファ領域10b,10cそれぞれに必要な記憶容量Mは、M=3×82 =192(ビット)となる。
The storage capacity required for the first
ページメモリ10の元バッファ領域10aに蓄積されている画像データ中の8×8の方形状の64個の画素を単位(ブロック)として、その1つのブロックのデータをページメモリ10から読み出してバッファ11にその行方向にデータを書き込み、この書込みが終了した後、バッファ11に書き込まれているデータをその列方向から読み出し、読み出したデータをページメモリ10の第1転置バッファ領域10bまたは第2転置バッファ領域10cに書き込む。このようにして、時計回り90度回転処理のための中間データとしての転置部分画像データを生成する。図4は、これらの第1転置バッファ領域10b及び第2転置バッファ領域10cにおける転置部分画像データの蓄積状態を示す図である。演算にて求めた必要最低限の第1転置バッファ領域10b及び第2転置バッファ領域10cを、元バッファ領域10aに連続して設けているため、無駄がなく、ページメモリ10の記憶領域を有効に使用できる。
The data of one block is read out from the
そして、第1転置バッファ領域10b,第2転置バッファ領域10cに蓄積されている転置部分画像データを読み出して記録部3へ出力する。この際、一方の転置バッファ領域がデータで一杯になった時点で、他方の転置バッファ領域を選択して同様の転置部分画像データ生成処理を続けると共に、一方の転置バッファ領域から転置部分画像データを読み出す。このように、第1転置バッファ領域10bと第2転置バッファ領域10cとにおいて、転置部分画像データの書込み動作と転置部分画像データの読出し動作とを交互に行う。1ページ分の出力が完了するまで、このような処理を繰り返すことにより、図5に示すような1ページ分の転置画像データを記録部3へ出力できる。この転置画像データを記録部3へ出力している間に、同時に、元バッファ領域10aに蓄積されている転置されていない元の画像データを読み出してコーデック部8へ出力する。
Then, the transposed partial image data stored in the first transposed
以上のようにして、元の画像データと転置画像データとを、異なるハードウェアへそれぞれ同時に出力することが可能となる。 As described above, the original image data and the transposed image data can be simultaneously output to different hardware.
図6は、このような転置画像データ生成・出力処理の動作手順の一例を示すフローチャートである。 FIG. 6 is a flowchart showing an example of the 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転置バッファ領域10b,第2転置バッファ領域10cとして必要な記憶容量を演算し、演算した容量分の記憶領域をページメモリ10に確保する(ステップS4)。
One page of image data read by the
元バッファ領域10aに蓄積されている画像データ中の8×8の方形状の64個の画素を単位(ブロック)として、その1つのブロックのデータを元バッファ領域10aから読み出してバッファ11に書き込む(ステップS5)。この場合、バッファ11の行方向にデータを書き込んでいく。この書込みが終了した後、バッファ11に書き込まれているデータをその列方向から読み出し、読み出したデータをページメモリ10の一方の転置バッファ領域(例えば第1転置バッファ領域10b)に書き込む(ステップ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)を選択すると共に(ステップS9)、その一方の転置バッファ領域に蓄積されている転置部分画像データの読出し/出力を開始し(ステップS10)、動作がS5に戻って、他方の転置バッファ領域に対する転置部分画像データの生成処理を行う。本発明ではこのように、一方の転置バッファ領域において転置部分画像データの読出し動作がなされている間に、他方の転置バッファ領域において転置部分画像データの書込み動作を行い、一方の転置バッファ領域において転置部分画像データの書込み動作がなされている間に、他方の転置バッファ領域において転置部分画像データの読出し動作を行うようにしており、即ち、転置部分画像データの書込み動作と転置部分画像データの読出し動作とを、2つの第1転置バッファ領域10bと第2転置バッファ領域10cとで交互に行うようにしており、少ない記憶領域の使用でも、その動作効率が極めて良い。
When one transposition buffer area is not empty (S8: NO), the
1ページ分の画像データにわたる転置処理が完了した場合に(S7:YES)、制御部1は、1ページ分にわたる転置部分画像データの出力が完了したか否かを判断する(ステップS11)。完了していない場合に(S11:NO)、その出力処理を続けて(ステップS12)、動作がS11に戻る。1ページ分にわたる転置部分画像データを出力した場合には(S11:YES)、動作が終了する。
When the transposition process over the image data for one page is completed (S7: YES), the
そして本発明では、このフローチャートで示した動作にて、転置画像データを一方のハードウェア(例えば、記録部3)へ出力する間に、同時に、回転させない元の画像データを他方のハードウェア(例えば、コーデック部8)へ出力する。よって、非回転画像データの出力と回転画像データの出力とを同時に実行することが可能である。 In the present invention, during the operation shown in this flowchart, while outputting the transposed image data to one hardware (for example, the recording unit 3), the original image data that is not rotated is simultaneously converted to the other hardware (for example, the recording unit 3) To the codec section 8). Therefore, it is possible to simultaneously execute the output of non-rotated image data and the output of rotated image data.
上述した例では、画像データを2値データとしたが、多値データであっても良い。画像データがtビットの多値データである場合、各転置バッファ領域10b,10cに必要な記憶容量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 t-bit multi-value data, the storage capacity M necessary for each
(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)
なお、上述した実施の形態では、画像データの時計回り方向への90度回転処理を例として説明したが、画像データを反時計回り方向へ90度回転する処理についても本発明を同様に適用できることは勿論である。また、上述した実施の形態では、8×8画素を単位として転置画像データを生成するようにしたが、これは一例であり、その単位となる画素数は任意の値であってよい。更に、ファクシミリ複合装置を例として説明したが、ファクシミリ装置、ディジタル複写機、プリンタなど、取得した画像データを回転して出力する全ての装置に本発明を適用できることは勿論である。 In the above-described embodiment, the 90-degree rotation process of the image data in the clockwise direction has been described as an example. However, the present invention can be similarly applied to the process of rotating the image data by 90 degrees in the counterclockwise direction. Of course. 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転置バッファ領域
11 バッファ
20 ファクシミリ複合装置(画像処理装置)
DESCRIPTION OF
7 RAM
10 page memory 10a
Claims (3)
The memory has two storage areas for writing the partial image data after the transposition processing, and the write operation of partial image data and the read operation of partial image data in the two storage areas are performed as described above. 3. The image processing apparatus according to claim 1, wherein the image processing is performed alternately in two storage areas.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004094690A JP2005286486A (en) | 2004-03-29 | 2004-03-29 | Image processing apparatus |
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 |
---|---|---|---|
JP2004094690A JP2005286486A (en) | 2004-03-29 | 2004-03-29 | Image processing apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005286486A true JP2005286486A (en) | 2005-10-13 |
Family
ID=35184433
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004094690A Pending JP2005286486A (en) | 2004-03-29 | 2004-03-29 | Image processing apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005286486A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008085450A (en) * | 2006-09-26 | 2008-04-10 | Kyocera Mita Corp | Image forming apparatus |
-
2004
- 2004-03-29 JP JP2004094690A patent/JP2005286486A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008085450A (en) * | 2006-09-26 | 2008-04-10 | Kyocera Mita Corp | Image forming apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4903092B2 (en) | Image processing apparatus, image processing control method, and image processing control program | |
JP2011066720A (en) | Image processing apparatus, control method, and program | |
JP2006121347A (en) | Image processor | |
JP2011120080A (en) | Image forming apparatus | |
JP4144547B2 (en) | Image processing device | |
JP2005286486A (en) | Image processing apparatus | |
JP4144548B2 (en) | Image processing device | |
JP2005286542A (en) | Image processing apparatus | |
JP4172410B2 (en) | Image processing method and image processing apparatus | |
JP4201031B2 (en) | Image processing device | |
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 | |
JP5326882B2 (en) | Image processing device | |
JP2005176129A (en) | Image processing method and image processor | |
JP2005176127A (en) | Image processing method and image processor | |
JP2005176128A (en) | Image processing method and image processor | |
JP2007053615A (en) | Communications apparatus | |
JP4158695B2 (en) | Image processing method and image processing apparatus | |
JP2005176130A (en) | Image recording method and image recording apparatus | |
JP3167684B2 (en) | Context generation circuit and method for small screen | |
JP2005277662A (en) | Image processing apparatus | |
JP2005174141A (en) | Memory address management method and image processor | |
JP2009100313A (en) | Image processing device and image forming apparatus |
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: 20090302 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090317 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20090707 |