JP2005176125A - Image processing method and image processor - Google Patents

Image processing method and image processor Download PDF

Info

Publication number
JP2005176125A
JP2005176125A JP2003415665A JP2003415665A JP2005176125A JP 2005176125 A JP2005176125 A JP 2005176125A JP 2003415665 A JP2003415665 A JP 2003415665A JP 2003415665 A JP2003415665 A JP 2003415665A JP 2005176125 A JP2005176125 A JP 2005176125A
Authority
JP
Japan
Prior art keywords
image data
data
image
line
page
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2003415665A
Other languages
Japanese (ja)
Inventor
Toshiyuki Soshi
敏行 惣司
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.)
Murata Machinery Ltd
Original Assignee
Murata Machinery Ltd
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 Murata Machinery Ltd filed Critical Murata Machinery Ltd
Priority to JP2003415665A priority Critical patent/JP2005176125A/en
Publication of JP2005176125A publication Critical patent/JP2005176125A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processing method and an image processor capable of carrying out rotation processing of image data even when the image data adopt a binary form or a multi-value form. <P>SOLUTION: The image processor sequentially carries out operations for image data of one page. The operations comprises: expansion of the image data by one page to a page memory 10; transposition processing of writing of the image data in units of pixels, the number of which is the same in row and column directions (e.g., 8×8 pixels when the number of bit is 1 bit and 4×4 pixels when the number of bit is 2 bits), in response to the number of bits of the pixel configuring the image data from the page memory 10 to a buffer 11 in its row direction and thereafter reading of the image data from the buffer 11 to the page memory 10 in its column direction; and writing of transposed image data after the transposition processing to original address areas of the page memory 10. The image processor can output rotated image data by reading the transposed image data by controlling their reading addresses. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、ページメモリに蓄積されている画像データを転置させる画像処理方法及び画像処理装置に関する。   The present invention relates to an image processing method and an image processing apparatus for transposing image data stored in a page memory.

ファクシミリ装置、ディジタル複写機、プリンタ、またはそれらの機能を統合した複合機などの画像データを処理する画像処理装置にあっては、自身が読み取った画像データ、または外部装置から入力された画像データを、時計回りまたは反時計回りに90度回転させて用紙に記録する機能を備えているものがある(例えば、特許文献1参照)。このような画像データの回転処理は、画像データによって描画される図形の長短方向を用紙の長短方向に一致させて見やすくする場合、所定の方向にセットされた用紙がなくなってもこれと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, Patent Document 1). In such a rotation process of image data, when the long and short directions of the graphic drawn by the image data are made coincident with the long and short directions of the paper for easy viewing, even if there is no paper set in the predetermined direction, the direction of 90 degrees This is useful, for example, when the recording process is continued with other sheets set with different colors.

画像処理装置における画像データの回転処理は、ページメモリを使用して、従来、以下のように行われることが一般的である。自身が読み取った画像データ、または外部装置から入力された画像データを、一旦バッファに蓄積していき、何ページ分かの画像データがバッファに蓄積された段階で、後の読み出しを考慮して計算されたページメモリの所定のアドレスに、バッファに蓄積された1ページ分の画像データを展開し、展開された画像データを読み出して記録部へ送出する。また、特許文献1に開示されている画像処理装置では、画像データが2値形式または多値形式のいずれであっても、従来の2値データ用の回転回路を使用して多値データの回転処理を行うことができる。
特開平11−213147号公報
Conventionally, rotation processing of image data in an image processing apparatus is generally performed as follows using a page memory. Image data read by itself or image data input from an external device is temporarily stored in the buffer, and when several pages of image data are stored in the buffer, calculation is performed considering later reading. One page of image data stored in the buffer is developed at a predetermined address of the page memory thus read out, and the developed image data is read out and sent to the recording unit. Further, in the image processing apparatus disclosed in Patent Document 1, regardless of whether the image data is in a binary format or a multi-value format, a conventional binary data rotation circuit is used to rotate the multi-value data. Processing can be performed.
JP-A-11-213147

しかしながら、前述した画像処理装置は、回転処理前のデータを格納するエリアと、データの行方向と列方向とを入れ替えた転置処理後、すなわち回転処理後のデータを格納するエリアとを確保したメモリが必要であり、構成の大嵩化及び高コスト化が避けられないという問題があった。   However, the above-described image processing apparatus has a memory that secures an area for storing data before rotation processing and an area for storing data after rotation processing in which the row direction and column direction of data are switched, that is, data after rotation processing. However, there is a problem that an increase in structure and cost are unavoidable.

本発明は斯かる事情に鑑みてなされたものであり、画像データが2値形式または多値形式のいずれであっても、従来より小型及び低コストの構成で画像データの転置処理を行える画像処理方法及び画像処理装置を提供することを目的とする。   The present invention has been made in view of such circumstances, and image processing that can perform transposition processing of image data with a smaller and lower-cost configuration than conventional ones, regardless of whether the image data is in binary format or multi-value format. It is an object to provide a method and an image processing apparatus.

第1発明に係る画像処理方法は、メモリに2次元に展開された1ページ分の画像データを転置する画像処理方法において、前記画像データの各画素を構成するビット数に応じて行方向及び列方向が同数の画素を単位として画像データを読み出し、読み出した画像データに対して転置処理を実行し、転置処理後のデータを前記メモリの元のアドレスに書き込むことを特徴とする。   An image processing method according to a first aspect of the present invention is an image processing method in which image data for one page expanded two-dimensionally in a memory is transposed, in a row direction and a column according to the number of bits constituting each pixel of the image data. Image data is read in units of pixels having the same direction, transposition processing is executed on the read image data, and the data after transposition processing is written to the original address of the memory.

第1発明の画像処理方法にあっては、メモリに2次元に展開された1ページ分の画像データに対して、画像データの各画素を構成するビット数(階調数)に応じて決定される行方向及び列方向が同数の画素、つまりn×n(n:自然数)の方形の複数画素を単位として読み取って行方向と列方向とを入れ替えた転置処理を施し、転置処理後のデータをメモリのn×nの元のアドレス領域に書き込むという動作を、1ページ分の画像データに対して順次行う。よって、画像データが2値形式または多値形式のいずれであっても、メモリに転置処理前のデータと転置処理後のデータとを別々に格納することが不要であり、構成の小型化及び低コスト化を図れる。   In the image processing method according to the first aspect of the present invention, it is determined according to the number of bits (the number of gradations) constituting each pixel of image data for one page of image data expanded two-dimensionally in a memory. The row direction and the column direction are the same number of pixels, that is, a plurality of square pixels of n × n (n: natural number) are read as a unit, and the transposition process is performed by switching the row direction and the column direction, and the data after the transposition process is obtained. The operation of writing to the n × n original address area of the memory is sequentially performed on the image data for one page. Therefore, it is not necessary to store the data before the transposition process and the data after the transposition process separately in the memory regardless of whether the image data is in the binary format or the multi-value format. Cost can be reduced.

第2発明に係る画像処理装置は、1ページ分の画像データを転置する画像処理装置において、前記画像データを2次元に展開して蓄積するページメモリと、該ページメモリに蓄積されている画像データの各画素を構成するビット数に応じて行方向及び列方向が同画素数の部分画像データを蓄積するバッファと、前記部分画像データの該バッファヘの読み出し及び前記部分画像データの該バッファから前記ページメモリへの書き込みによって前記部分画像データの転置処理を実行する転置処理手段とを備えることを特徹とする。   An image processing apparatus according to a second aspect of the invention is an image processing apparatus for transposing image data for one page, a page memory for expanding and storing the image data in two dimensions, and image data stored in the page memory. A buffer for accumulating partial image data having the same number of pixels in the row direction and the column direction according to the number of bits constituting each pixel, and reading the partial image data into the buffer and reading the partial image data from the buffer to the page A transposition processing means for performing transposition processing of the partial image data by writing to a memory is provided.

第2発明の画像処理装置にあっては、1ページ分の画像データをページメモリに展開し、その画像データに対して、画像データの各画素を構成するビット数(階調数)に応じて決定される行方向及び列方向が同数の画素、つまりn×n(n:自然数)の方形の複数画素を単位としてページメモリからバッファに行方向に書き込んで列方向にバッファからページメモリに読み出すことで行方向と列方向とを入れ替えた転置処理を施し、転置処理後のデータをページメモリのn×nの元のアドレス領域に書き込むという動作を、1ページ分の画像データに対して順次行う。よって、画像データが2値形式または多値形式のいずれであっても、メモリに転置処理前のデータと転置処理後のデータとを別々に格納することが不要であるとともに、n×n画素の容量のバッファを設けておくだけで良く、構成の小型化及び低コスト化を図れる。   In the image processing apparatus according to the second aspect of the present invention, image data for one page is expanded in the page memory, and according to the number of bits (the number of gradations) constituting each pixel of the image data for the image data. Writing in the row direction from the page memory to the buffer in the row direction and reading from the buffer to the page memory in the column direction in units of a plurality of pixels having the same number of rows and columns determined, that is, n × n (n: natural number) square pixels Then, a transposition process in which the row direction and the column direction are exchanged is performed, and the operation of writing the data after the transposition process in the n × n original address area of the page memory is sequentially performed on the image data for one page. Therefore, regardless of whether the image data is in binary format or multi-value format, it is not necessary to store the data before transposition processing and the data after transposition processing separately in the memory, and n × n pixels. It is only necessary to provide a buffer having a capacity, and the configuration can be reduced in size and cost.

第3発明に係る画像処理装置は、第2発明において、前記ページメモリはSDRAMであることを特徴とする。   An image processing apparatus according to a third invention is characterized in that, in the second invention, the page memory is an SDRAM.

第3発明の画像処理装置にあっては、ページメモリとしてSDRAM(Synchronous Dynamic Random Access Memory)を使用する。よって、安価なメモリを用いて簡単な構成で画像データの転置処理を行える。   In the image processing apparatus of the third invention, an SDRAM (Synchronous Dynamic Random Access Memory) is used as a page memory. Therefore, transposition processing of image data can be performed with a simple configuration using an inexpensive memory.

本発明では、乗算などの複雑なアドレス計算を行う回路が不要であり、また、画像データが2値形式または多値形式のいずれであっても、メモリに転置処理前のデータと転置処理後のデータとを別々に格納することが不要であり、ページメモリの一面分で転置した画像データを生成するようにしたので、回路規模が小さい構成で、しかも必要最低限の容量のバッファを設けるだけで、画像データの転置処理を行うことができる。この結果、小規模に構成されても画像データの転置処理を行える画像処理装置を実現することができる。   In the present invention, a circuit for performing a complicated address calculation such as multiplication is unnecessary, and the data before transposition processing and the data after transposition processing are stored in the memory regardless of whether the image data is in binary format or multi-value format. Since it is not necessary to store data separately and image data that has been transposed on one side of the page memory is generated, a circuit with a small circuit size and a buffer with the minimum necessary capacity can be provided. The image data can be transposed. As a result, it is possible to realize an image processing apparatus that can perform transposition processing of image data even if it is configured on a small scale.

以下、本発明をその実施の形態を示す図面を参照して具体的に説明する。図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 composite apparatus 20 as an image processing apparatus of the present invention.

ファクシミリ複合装置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 facsimile multifunction device 20 includes a control unit 1, a reading unit 2, a recording unit 3, a display unit 4, an operation unit 5, a ROM 6, a RAM 7, a codec unit 8, an image memory 9, a page memory 10, a buffer 11, a modem 12, an NCU ( Network Control Unit) 13, a PC interface unit 14 and the like. The facsimile multifunction device 20 reads a document by the reading unit 2 to obtain image data, read image data, image data received by facsimile communication, or image data corresponding to image data received from an externally connected PC. The recording section 3 has a recording function and a transmission function for facsimile transmission of the read image data or the received image data.

制御部1は、具体的にはCPUで構成されており、バス15を介してファクシミリ複合装置20の上述したようなハードウェア各部と接続されていて、それらを制御すると共に、ROM6に格納された制御プログラムに従って、種々のソフトウェア的機能を実行する。読取部2は、例えばCCDイメージセンサを利用して原稿を読み取り、読み取った画像データを出力する。プラテンガラスに給送された原稿を光学ユニットが照射して走査し、原稿からの反射光をミラー,レンズなどを介してCCDイメージセンサに取り込んで、走査された原稿の画像データを読み取る。読み取られた画像データは、シェーディング処理などが施された後に出力される。   Specifically, the control unit 1 is configured by a CPU, and is connected to the above-described hardware units of the facsimile multifunction device 20 via the bus 15. The control unit 1 controls them and is stored in the ROM 6. Various software functions are executed according to the control program. The reading unit 2 reads a document using a CCD image sensor, for example, and outputs the read image data. The optical unit irradiates and scans the original fed to the platen glass, and the reflected light from the original is taken into the CCD image sensor via a mirror, a lens, etc., and the scanned original image data is read. The read image data is output after being subjected to shading processing or the like.

記録部3は、電子写真方式のプリンタ装置であって、読取部2にて読み取った原稿の画像データ、ファクシミリ通信により受信した画像データ、外部のPCから送られてきた画像データなどに応じた画像を用紙にプリントアウトする。表示部4は、液晶表示装置またはCRTディスプレイ等の表示装置であり、ファクシミリ複合装置20の動作状態を表示したり、ユーザへ操作入力を促す画面を表示したり、送信すべく読み取った原稿の画像データ、他のファクシミリ装置またはPCから送信された画像データなどの表示を行う。   The recording unit 3 is an electrophotographic printer device, and is an image corresponding to image data of a document read by the reading unit 2, image data received by facsimile communication, image data sent from an external PC, and the like. On the paper. The display unit 4 is a display device such as a liquid crystal display device or a CRT display. The display unit 4 displays an operation state of the facsimile multifunction device 20, displays a screen for prompting an operation input to the user, and reads an image of a document read for transmission. Data, image data transmitted from other facsimile machines or PCs, etc. are displayed.

操作部5は、ファクシミリ複合装置20を操作するために必要な文字キー,テンキー,短縮デイヤルキー,ワンクッチダイヤルキー,各種のファンクションキーなどを備えている。操作部5は、ファンクションキーとして、ページメモリ10及びバッファ11を使用して画像データの回転処理を行うか否かを設定する回転処理設定キー5aを有する。なお、表示部4をタッチパネル方式とすることにより、操作部5の各種のキーの内の一部または全部を代用することも可能である。ROM6は、ファクシミリ複合装置20の動作に必要な種々のソフトウェアのプログラムを予め格納している。RAM7は、SRAMまたはフラッシュメモリ等で構成され、ソフトウェアの実行時に発生する一時的なデータを記憶する。コーデック部8は、画像データを符号化圧縮すると共に、符号化圧縮されている画像データを復号する。画像メモリ9は、原稿を読み取って符号化した画像データ、他のファクシミリ装置またはPCから受信して符号化した画像データなどを蓄積する。   The operation unit 5 includes character keys, numeric keys, abbreviated dial keys, one-touch dial keys, various function keys, and the like necessary for operating the facsimile multifunction device 20. The operation unit 5 includes a rotation processing setting key 5a for setting whether or not to perform image data rotation processing using the page memory 10 and the buffer 11 as function keys. In addition, it is also possible to substitute a part or all of the various keys of the operation unit 5 by using the display unit 4 as a touch panel system. The ROM 6 stores in advance various software programs necessary for the operation of the facsimile composite apparatus 20. The RAM 7 is composed of SRAM, flash memory, or the like, and stores temporary data generated when software is executed. The codec unit 8 encodes and compresses the image data, and decodes the encoded and compressed image data. The image memory 9 stores image data encoded by reading a document, image data received from another facsimile apparatus or PC, and encoded.

ページメモリ10は、SDRAMにて構成されており、読取部2にて読み取られた1ページ分の画像データ、他のファクシミリ装置またはPCから受信された1ページ分の画像データを蓄積する。ページメモリ10に蓄積して展開された1ページ分の画像データは記録部3に読み出されて、その画像データに応じた画像が記録されるようになっている。バスラインが8ビット(ライン)である場合、バッファ11は、8×8のマトリクス状に構成された64個のフリップフロップを有しており、各フリップフロップは各画素のデータを保持する。   The page memory 10 is composed of SDRAM, and stores one page of image data read by the reading unit 2 and one page of image data received from another facsimile machine or PC. One page worth of image data accumulated and developed in the page memory 10 is read out by the recording unit 3, and an image corresponding to the image data is recorded. When the bus line is 8 bits (line), the buffer 11 has 64 flip-flops configured in an 8 × 8 matrix, and each flip-flop holds data of each pixel.

ページメモリ10とバッファ11との間では、画像データの各画素を構成するビット数に応じてページメモリ10のデータの書き込み/読み出しが行えるようになっており、必要に応じて、このデータの書き込み/読み出し制御によって、画像データの回転処理における転置画像データの生成が行われる。例えば、画像データの形式が1画素あたりのビット数が1ビット(2値)である場合には、ページメモリ10の8×8の64画素のデータを単位としてデータの書き込み/読み出しが行えるようになっており、画像データの形式が1画素あたりのビット数が2ビット(4値)である場合には、ページメモリ10の4×4の16画素のデータを単位としてデータの書き込み/読み出しが行えるようになっている。すなわち、バッファ11は、画像データの各画素を構成するビット数に応じてページメモリ10へのデータの書き込み/読み出しを行う画素数を調整することにより、画像データの形式が2値形式または4値形式であっても、データの書き込み/読み出しを行える。   Between the page memory 10 and the buffer 11, it is possible to write / read the data in the page memory 10 according to the number of bits constituting each pixel of the image data, and write this data as necessary. The generation of transposed image data in the rotation processing of the image data is performed by the / reading control. For example, when the format of the image data is 1 bit (binary) per pixel, data can be written / read out in units of 8 × 8 64 pixel data of the page memory 10. Thus, when the format of the image data is 2 bits (4 values) per pixel, data can be written / read in units of 4 × 4 16 pixel data of the page memory 10. It is like that. That is, the buffer 11 adjusts the number of pixels for writing / reading data to / from the page memory 10 in accordance with the number of bits constituting each pixel of the image data, so that the format of the image data is binary or quaternary. Even in the format, data can be written / read.

モデム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 modem 12 is connected to the bus 15 and is composed of a facsimile modem capable of facsimile communication. Similarly, the modem 12 is directly connected to the NCU 13 connected to the bus 15. The NCU 13 is hardware that performs operations of closing and opening the line L1 with a public switched telephone network (PSTN), and connects the modem 12 to the PSTN as necessary. The facsimile composite apparatus 20 is connected to other facsimile apparatuses by PSTN so that normal facsimile communication can be performed. The PC interface unit 14 is connected to an external PC via a communication line L2 such as a LAN, and exchanges data with the PC. Various image data created and edited by an external PC are transmitted to the facsimile multifunction apparatus 20 (PC interface unit 14) via the communication line L2, and an image corresponding to the transmitted image data is transmitted to the facsimile multifunction apparatus 20. The data is printed out on a sheet at (recording unit 3).

以下、このような構成をなすファクシミリ複合装置20における記録処理の動作について説明する。図2は、この記録処理の動作手順を示すフローチャート、図3〜図7は、画像データの時計回り方向への90度回転処理を説明するための図である。以下、説明を簡略化するため、画像データの形式が2値または4値のいずれかの形式であるものとして説明するが、画像データの形式が8値,16値など、画像データを構成する各画素のビット数は任意であってよい。   The operation of the recording process in the facsimile multifunction machine 20 having such a configuration will be described below. FIG. 2 is a flowchart showing the operation procedure of this recording process, and FIGS. 3 to 7 are diagrams for explaining a 90-degree rotation process of image data in the clockwise direction. Hereinafter, in order to simplify the description, it is assumed that the format of the image data is either binary or quaternary, but each of the image data constituting the image data has an 8-value or 16-value format. The number of bits of the pixel may be arbitrary.

読取部2にて読み取られた画像データ、または他のファクシミリ装置,PCから受信された画像データの1ページ分をページメモリ10に蓄積する(ステップS1)。制御部1は、回転処理設定キー5aの押下の有無に基づいて、回転処理が設定されているか否かを判断する(ステップS2)。回転処理が設定されていない場合(S2:NO)、ページメモリ10に書き込まれた順序と同じ順序で画像データをページメモリ10から記録部3へ読み出し(ステップS12)、読み出した画像データに応じた画像を記録部3にて用紙にプリントアウトする(ステップS13)。   One page of image data read by the reading unit 2 or image data received from another facsimile machine or PC is stored in the page memory 10 (step S1). The controller 1 determines whether or not rotation processing is set based on whether or not the rotation processing setting key 5a is pressed (step S2). When the rotation process is not set (S2: NO), the image data is read from the page memory 10 to the recording unit 3 in the same order as written in the page memory 10 (step S12), and the image data corresponding to the read image data. The image is printed out on a sheet by the recording unit 3 (step S13).

画像データの回転処理が設定されている場合(S2:YES)、ページメモリ10に蓄積されている画像データが2値形式であるか否かを判定する(ステップS3)。S3にて画像データが2値形式であると判定された場合(S3:YES)は、ページメモリ10に蓄積されている画像データ中の8×8の方形状の64個の画素を単位(ブロック)として、その1つのブロックのデータをページメモリ10から読み出してバッファ11に書き込む(ステップS4)。この場合、バッファ11の行方向にデータを書き込んでいく。この書き込みが終了した後、バッファ11に書き込まれているデータをその列方向から読み出し、読み出したデータをページメモリ10の元の8×8のメモリ領域に書き込む(ステップS5)。このようにして、回転処理のための中間データとしての転置画像データが生成される。   If image data rotation processing has been set (S2: YES), it is determined whether the image data stored in the page memory 10 is in binary format (step S3). When it is determined in S3 that the image data is in the binary format (S3: YES), 64 pixels of 8 × 8 square shape in the image data stored in the page memory 10 are used as a unit (block ), The data of the one block is read from the page memory 10 and written to the buffer 11 (step S4). In this case, data is written in the row direction of the buffer 11. After this writing is completed, the data written in the buffer 11 is read from the column direction, and the read data is written in the original 8 × 8 memory area of the page memory 10 (step S5). In this way, transposed image data is generated as intermediate data for the rotation process.

制御部1は、ページメモリ10に蓄積されている1ページにわたって、画像データが2値形式の場合は8×8画素を単位とする転置画像データの生成が完了したか否かを判断し(ステップS6)、完了していない場合には(S6:NO)、動作がS4に戻って、次のブロックにおける転置画像データを生成する。   The control unit 1 determines whether or not generation of transposed image data in units of 8 × 8 pixels is completed over one page stored in the page memory 10 when the image data is in a binary format (Step S1). S6) If not completed (S6: NO), the operation returns to S4 to generate transposed image data in the next block.

一方、S3にて画像データが2値形式でないと判定された場合、すなわち画像データが4値形式であると判定された場合(S3:NO)は、ページメモリ10に蓄積されている画像データ中の4×4の方形状の16個の画素を単位(ブロック)として、その1つのブロックのデータをページメモリ10から読み出してバッファ11に書き込む(ステップS7)。この場合、バッファ11の行方向にデータを書き込んでいく。この書き込みが終了した後、バッファ11に書き込まれているデータをその列方向から読み出し、読み出したデータをページメモリ10の元の4×4のメモリ領域に書き込む(ステップS8)。このようにして、回転処理のための中間データとしての転置画像データが生成される。   On the other hand, if it is determined in S3 that the image data is not in binary format, that is, if it is determined that the image data is in quaternary format (S3: NO), the image data stored in the page memory 10 Using 16 pixels of 4 × 4 square as a unit (block), the data of one block is read from the page memory 10 and written to the buffer 11 (step S7). In this case, data is written in the row direction of the buffer 11. After this writing is completed, the data written in the buffer 11 is read from the column direction, and the read data is written in the original 4 × 4 memory area of the page memory 10 (step S8). In this way, transposed image data is generated as intermediate data for the rotation process.

制御部1は、ページメモリ10に蓄積されている1ページにわたって、画像データが4値形式の場合は4×4画素を単位とする転置画像データの生成が完了したか否かを判断し(ステップS9)、完了していない場合には(S9:NO)、動作がS7に戻って、次のブロックにおける転置画像データを生成する。   The control unit 1 determines whether or not generation of transposed image data in units of 4 × 4 pixels is completed over one page stored in the page memory 10 when the image data is in a four-value format (Step S1). S9) If not completed (S9: NO), the operation returns to S7 to generate transposed image data in the next block.

そして、1ページにわたって転置画像データ生成が完了した場合(S6:YES,S9:YES)には、読出アドレスを制御して、転置画像データをページメモリ10から記録部3へ読み出し(ステップS10)、読み出した転置画像データに応じた回転画像を記録部3にて用紙にプリントアウトする(ステップS11)。   When the generation of the transposed image data is completed for one page (S6: YES, S9: YES), the read address is controlled to read the transposed image data from the page memory 10 to the recording unit 3 (step S10). A rotated image corresponding to the read transposed image data is printed out on a sheet by the recording unit 3 (step S11).

図3は、画像データが2値形式である場合におけるページメモリ10での最初のデータ蓄積状態を示しており、1ページ分の画像データは、行方向3個、列方向2個ずつの計6個のブロックに分けられる。図4は、バッファ11との間でのデータの読み出し/書き込みによって得られた転置画像データを示す。画像データが2値形式である場合のページメモリ10からの各ラインの読み出しは、図4の左端に記載した順序で行われ、2つのブロックで交互に1ラインずつ読み出される。   FIG. 3 shows the initial data storage state in the page memory 10 when the image data is in a binary format. The image data for one page includes a total of 6 image data in three rows and two columns. Divided into blocks. FIG. 4 shows transposed image data obtained by reading / writing data with the buffer 11. When the image data is in binary format, each line is read from the page memory 10 in the order described at the left end of FIG. 4, and is read out line by line alternately in two blocks.

図5は、画像データが4値形式である場合におけるページメモリ10での最初のデータ蓄積状態を示しており、1ページ分の画像データは、行方向3個、列方向2個ずつの計6個のブロックに分けられる。図6は、バッファ11との間でのデータの読み出し/書き込みによって得られた転置画像データを示す。画像データが4値形式である場合のページメモリ10からの各ラインの読み出しは、図6の左端に記載した順序で行われ、2つのブロックで交互に1ラインずつ読み出される。画像データが2値形式である場合でも、画像データが4値形式である場合でも、上述したような読出アドレスの制御によって、図7に示すような時計回りに90度回転した画像が得られる。   FIG. 5 shows the initial data accumulation state in the page memory 10 when the image data is in a quaternary format. The image data for one page includes a total of 6 image data of 3 in the row direction and 2 in the column direction. Divided into blocks. FIG. 6 shows transposed image data obtained by reading / writing data with the buffer 11. When the image data is in a quaternary format, each line is read from the page memory 10 in the order described at the left end of FIG. 6, and is read out one line at a time in two blocks. Regardless of whether the image data is in binary format or image data is in quaternary format, an image rotated 90 degrees clockwise as shown in FIG. 7 can be obtained by controlling the readout address as described above.

次に、SDRAMを使用するページメモリ10のアドレス制御について説明する。SDRAMは、内部でパイプライン処理されるために高速処理が可能である。図8は、SDRAMにおけるデータの書き込み/読み出し動作を示すタイミングチャートである。SDRAMは4つのバンク(Bank0,1,2,3)から構成されており、制御部1は、クロック信号(CLK信号)の立ち上がりエッジに同期して、ロウアドレスストローブ信号(/RAS信号)、コラムアドレスストローブ信号(/CAS信号)、及びライトイネーブル信号(/WE信号)をページメモリ(SDRAM)10へ出力することにより、SDRAMのメモリ空間の行番号及び列番号で指定されるメモリアドレスにおけるデータの書き込み/読み出し動作を制御する。なお、信号名の先頭に「/」が付加されている信号はローアクティブ(ローレベルである場合に有意)であることを意味している。   Next, address control of the page memory 10 using SDRAM will be described. Since SDRAM is internally pipelined, it can perform high-speed processing. FIG. 8 is a timing chart showing data write / read operations in the SDRAM. The SDRAM is composed of four banks (Banks 0, 1, 2, and 3). The control unit 1 synchronizes with the rising edge of the clock signal (CLK signal), the row address strobe signal (/ RAS signal), the column By outputting an address strobe signal (/ CAS signal) and a write enable signal (/ WE signal) to the page memory (SDRAM) 10, the data at the memory address specified by the row number and column number of the SDRAM memory space is output. Controls write / read operations. A signal having “/” added to the head of the signal name means that it is low active (significant when it is low level).

制御部1が、/RAS信号=L(ローレベル),/CAS信号=H(ハイレベル),及び/WE信号=HをSDRAMへ出力した場合は、SDRAMは、バンクアクティブであると判断して、SDRAMにおけるバンク0,1,2,3のいずれかのバンクと、当該バンクにおけるロウアドレス(Addr0R ,1R ,2R ,3R )とを決定する。 When the control unit 1 outputs / RAS signal = L (low level), / CAS signal = H (high level), and / WE signal = H to the SDRAM, the SDRAM determines that the bank is active. , One of the banks 0, 1, 2, and 3 in the SDRAM and the row address (Addr0 R , 1 R , 2 R , 3 R ) in the bank are determined.

また、制御部1が、/RAS信号=H,/CAS信号=L,及び/WE信号=LをSDRAMへ出力した場合は、SDRAMは、ライト/オートプリチャージであると判断して、SDRAMにおけるバンク0,1,2,3のいずれかのバンクと、当該バンクにおけるコラムアドレス(Addr0C ,1C ,2C ,3C)とを決定し、当該バンクにおけるコラムアドレス、及び、前述したバンクアクティブによって決定された、当該バンクにおけるロウアドレスにData(D0 ,D1 ,D2 ,D3)を書き込む。 When the control unit 1 outputs the / RAS signal = H, the / CAS signal = L, and the / WE signal = L to the SDRAM, the SDRAM determines that the write / auto precharge is performed, and Any one of banks 0, 1, 2, and 3 and the column address (Addr0 C , 1 C , 2 C , 3 C ) in the bank are determined, and the column address in the bank and the above-described bank active Data (D 0 , D 1 , D 2 , D 3 ) is written to the row address in the bank determined by.

一方、制御部1が、/RAS信号=H,/CAS信号=L,及び/WE信号=HをSDRAMへ出力した場合は、SDRAMは、リード/オートプリチャージであると判断して、SDRAMにおけるバンク0,1,2,3のいずれかのバンクと、当該バンクにおけるコラムアドレス(Addr0C ,1C ,2C ,3C )とを決定し、当該バンクにおけるコラムアドレス、及び、前述したバンクアクティブによって決定された、当該バンクにおけるロウアドレスに記憶されているData(D0 ,D1 ,D2 ,D3)を読み出す。なお、SDRAMは、一般的に動作の実行に遅延が発生するCASレイテンシが存在する。図8においては、CASレイテンシが「2」、すなわち、2クロック遅延した時刻に、Data(D0 ,D1 ,D2 ,D3 )を読み出す場合を示した。 On the other hand, when the control unit 1 outputs the / RAS signal = H, the / CAS signal = L, and the / WE signal = H to the SDRAM, the SDRAM determines that the read / auto precharge is performed, and Any one of banks 0, 1, 2, and 3 and the column address (Addr0 C , 1 C , 2 C , 3 C ) in the bank are determined, and the column address in the bank and the above-described bank active Data (D 0 , D 1 , D 2 , D 3 ) stored in the row address in the bank determined by the above is read. Note that SDRAM generally has CAS latency that causes a delay in the execution of operations. FIG. 8 shows a case where the CAS latency is “2”, that is, Data (D 0 , D 1 , D 2 , D 3 ) is read at a time delayed by 2 clocks.

このようにして、0〜4の4個のバンクを順次切り換えながら4ワード(1ワードは8ビット)を一組としてデータの書き込みと読み出しとを連続して行う。なお、/RAS信号=H、/CAS信号=H、及び/WE信号=HをSDRAMへ出力した場合は、SDRAMは何の動作も行わない(ノーオペレーションNOP(No OPeration))。   In this manner, data writing and reading are continuously performed with 4 words (1 word is 8 bits) as a set while sequentially switching the four banks 0 to 4. When / RAS signal = H, / CAS signal = H, and / WE signal = H are output to the SDRAM, the SDRAM does not perform any operation (no operation NOP (No OPeration)).

まず、転置画像データを生成する場合について説明する。転置画像データを生成する際には、横方向(主走査方向)ではなく縦方向(副走査方向)にデータの書き込み/読み出しを行う。図9(a),(b),図10(c),(d)はそれぞれ、kを整数とした場合に、1ラインが4kワード,(4k+1)ワード,(4k+2)ワード,(4k+3)ワードで構成される場合のアドレスとバンクとを示す図である。1ラインが(4k+1)ワードまたは(4k+3)ワード、すなわち奇数ワードで構成される場合には、1列目のアクセスバンクがそれぞれ0,1,2,3,…または0,3,2,1,…となり、4ワードの連続したアクセスが可能である。これに対して、1ラインが4kワードまたは(4k+2)ワード、すなわち偶数ワードで構成される場合には、1列目のアクセスバンクがそれぞれ0,0,0,0,…または0,2,0,2,…となり、4ワードの連続したアクセスが行えない。   First, a case where transposed image data is generated will be described. When generating transposed image data, data is written / read in the vertical direction (sub-scanning direction) instead of in the horizontal direction (main scanning direction). 9A, 9B, 10C, and 10D, when k is an integer, one line is 4k words, (4k + 1) words, (4k + 2) words, and (4k + 3) words. It is a figure which shows the address and bank in the case of comprising. When one line is composed of (4k + 1) words or (4k + 3) words, that is, odd words, the access banks in the first column are 0, 1, 2, 3,. ..., and continuous access of 4 words is possible. On the other hand, when one line is composed of 4k words or (4k + 2) words, that is, even words, the access bank in the first column is 0, 0, 0, 0,. , 2,..., 4 words cannot be accessed continuously.

そこで、1ラインが偶数ワード(4kワード、(4k+2)ワード)で構成される場合には、各ラインの最後に実データが存在しない1個のアドレスを設ける。つまり、各ラインを奇数ワードにするために、1ワードのダミーデータを最後尾に付加している。このようにした場合のアドレスとバンクとを、図11(a),(b)にそれぞれ示す。これによって、1列目のアクセスバンクがそれぞれ0,1,2,3,…または0,3,2,1,…の順序で周回するようになり、4ワードの連続したアクセスが可能となる。   Therefore, when one line is composed of even-numbered words (4k words, (4k + 2) words), one address at which no actual data exists is provided at the end of each line. That is, in order to make each line an odd word, dummy data of one word is added at the end. Addresses and banks in such a case are shown in FIGS. 11 (a) and 11 (b), respectively. As a result, the access banks in the first column circulate in the order of 0, 1, 2, 3,... Or 0, 3, 2, 1,.

次に、生成した転置画像データを回転画像データとしてページメモリ10から読み出す場合について説明する。先ず、画像データが2値形式である場合について説明する。図12は、画像データが2値形式である場合の各ブロックの各ラインにおけるバンクを示す図である。8×8画素を単位として転置画像データを生成しているため、図12において、1ブロックの1ライン1ワード,2ブロックの1ライン1ワード,3ブロックの1ライン1ワード,…,最終ブロックの1ライン1ワード,1ブロックの2ライン1ワード,2ブロックの2ライン1ワード,…,最終ブロックの2ライン1ワード,…,1ブロックの8ライン1ワード,…,最終ブロックの8ライン1ワード,1ブロックの1ライン2ワード,…,最終ブロックの8ライン最終ワードの順でアクセスすることになる。このとき、アクセスするバンクは、各ブロックの1ライン1ワードで0,0,0,…,0、各ブロックの2ライン1ワードで1,1,1,…,1となり、同じバンクを周回することになるので、連続したアクセスが行えない。   Next, a case where the generated transposed image data is read from the page memory 10 as rotated image data will be described. First, a case where image data is in a binary format will be described. FIG. 12 is a diagram showing banks in each line of each block when the image data is in binary format. Since transposed image data is generated in units of 8 × 8 pixels, in FIG. 12, 1 block 1 line 1 word, 2 blocks 1 line 1 word, 3 blocks 1 line 1 word,. 1 line 1 word, 1 block 2 lines 1 word, 2 blocks 2 lines 1 word, ..., last block 2 lines 1 word, ..., 1 block 8 lines 1 word, ..., last block 8 lines 1 word , 1 line 2 words in one block,..., 8 lines last word in the last block are accessed in this order. At this time, the banks to be accessed are 0, 0, 0,..., 0 in one line and one word of each block, and 1, 1, 1,. Therefore, continuous access cannot be performed.

そこで、各ブロックでの8ライン(最終ライン)目の最後に実データが存在しない1個のアドレスを設ける。つまり、8ライン(最終ライン)目で、1ワードのダミーデータを最後尾に付加している。このようにした場合のアドレスとバンクとを図13に示す。図13は、1ラインが4kワードで構成される場合の例を示しており、各ブロックの8ライン目の最後にダミーアドレスを設けている。1ラインが4kワードで構成されているので、前述したように各ラインの最後にダミーアドレスを設けており、8ライン目では2個のダミーアドレスが設けられることになる。なお、1ラインが(4k+1)ワード,(4k+2)ワード,(4k+3)ワードで構成される場合にも、図示省略するが、同様に各ブロックの8ライン目の最後に1つのダミーアドレスを付加する。   Therefore, one address where no actual data exists is provided at the end of the eighth line (final line) in each block. That is, dummy data of one word is added at the end of the eighth line (final line). FIG. 13 shows addresses and banks in such a case. FIG. 13 shows an example in which one line is composed of 4k words, and a dummy address is provided at the end of the eighth line of each block. Since one line is composed of 4k words, a dummy address is provided at the end of each line as described above, and two dummy addresses are provided in the eighth line. Even when one line is composed of (4k + 1) words, (4k + 2) words, and (4k + 3) words, a dummy address is similarly added to the end of the eighth line of each block. .

このようにダミーアドレスを8ライン(最終ライン)目に設けることにより、図14に示す如く、1ブロックの1ライン1ワード,2ブロックの1ライン1ワード,3ブロックの1ライン1ワード,…の順にアクセスバンクが0,1,2,…となり、異なるバンクで周回するようになり、4ワードの連続したアクセスが可能となる。   By providing dummy addresses on the 8th line (final line) in this way, as shown in FIG. 14, 1 line 1 word of 1 block, 1 line 1 word of 2 blocks, 1 line 1 word of 3 blocks,. The access banks become 0, 1, 2,... In order, and they circulate in different banks, thereby enabling continuous access of 4 words.

次に、画像データが4値形式である場合について説明する。図15は、画像データが4値形式である場合の各ブロックの各ラインにおけるバンクを示す図である。4×4画素を単位として転置画像データを生成しているため、図15において、1ブロックの1ライン1ワード,2ブロックの1ライン1ワード,3ブロックの1ライン1ワード,…,最終ブロックの1ライン1ワード,1ブロックの2ライン1ワード,2ブロックの2ライン1ワード,…,最終ブロックの2ライン1ワード,…,1ブロックの4ライン1ワード,…,最終ブロックの4ライン1ワード,1ブロックの1ライン2ワード,…,最終ブロックの4ライン最終ワードの順でアクセスすることになる。このとき、アクセスするバンクは、各ブロックの1ライン1ワードで0,0,0,…,0、各ブロックの2ライン1ワードで1,1,1,…,1となり、同じバンクを周回することになるので、連続したアクセスが行えない。   Next, a case where the image data is in a quaternary format will be described. FIG. 15 is a diagram showing a bank in each line of each block when the image data is in a quaternary format. Since transposed image data is generated in units of 4 × 4 pixels, in FIG. 15, 1 block 1 line 1 word, 2 blocks 1 line 1 word, 3 blocks 1 line 1 word,. 1 line 1 word, 1 block 2 lines 1 word, 2 blocks 2 lines 1 word, ..., last block 2 lines 1 word, ..., 1 block 4 lines 1 word, ..., last block 4 lines 1 word , 1 line 2 words in one block,..., 4 lines last word in the last block are accessed in this order. At this time, the banks to be accessed are 0, 0, 0,..., 0 in one line and one word of each block, and 1, 1, 1,. Therefore, continuous access cannot be performed.

そこで、各ブロックでの4ライン(最終ライン)目の最後に実データが存在しない1個のアドレスを設ける。つまり、4ライン(最終ライン)目で、1ワードのダミーデータを最後尾に付加している。このようにした場合のアドレスとバンクとを図16に示す。図16は、1ラインが4kワードで構成される場合の例を示しており、各ブロックの4ライン目の最後にダミーアドレスを設けている。1ラインが4kワードで構成されているので、前述したように各ラインの最後にダミーアドレスを設けており、4ライン目では2個のダミーアドレスが設けられることになる。なお、1ラインが(4k+1)ワード,(4k+2)ワード,(4k+3)ワードで構成される場合にも、図示省略するが、同様に各ブロックの4ライン目の最後に1つのダミーアドレスを付加する。   Therefore, one address where no actual data exists is provided at the end of the fourth line (final line) in each block. That is, dummy data of one word is added at the end of the fourth line (final line). FIG. 16 shows addresses and banks in such a case. FIG. 16 shows an example in which one line is composed of 4k words, and a dummy address is provided at the end of the fourth line of each block. Since one line is composed of 4k words, a dummy address is provided at the end of each line as described above, and two dummy addresses are provided in the fourth line. Even when one line is composed of (4k + 1) words, (4k + 2) words, and (4k + 3) words, although not shown, similarly, one dummy address is added to the end of the fourth line of each block. .

このようにダミーアドレスを4ライン(最終ライン)目に設けることにより、図17に示す如く、1ブロックの1ライン1ワード,2ブロックの1ライン1ワード,3ブロックの1ライン1ワード,…の順にアクセスバンクが0,1,2,…となり、異なるバンクで周回するようになり、4ワードの連続したアクセスが可能となる。   By providing dummy addresses on the 4th line (final line) in this way, as shown in FIG. 17, 1 block 1 line 1 word, 2 blocks 1 line 1 word, 3 blocks 1 line 1 word,. The access banks become 0, 1, 2,... In order, and they circulate in different banks, thereby enabling continuous access of 4 words.

なお、上述した実施の形態では、バスラインが8ラインであって、バッファ11が8×8のマトリクス状に構成された64個のフリップフロップを有している場合を示したが、これは一例であり、例えばバスラインが16ラインである場合には、16×16のマトリクス状に構成された256個のフリップフロップを備えるバッファを用いてもよく、正方の画素ブロックを単位とするのであればnの値は任意であってよい。そして、SDRAMからなるページメモリ10において連続したバンクアクセスを行えるように、各ブロックの最終ラインの最後にダミーアドレスを付加すればよい。   In the above-described embodiment, the bus line has 8 lines and the buffer 11 has 64 flip-flops configured in an 8 × 8 matrix, but this is an example. For example, when there are 16 bus lines, a buffer having 256 flip-flops arranged in a 16 × 16 matrix may be used, and if a square pixel block is used as a unit, The value of n may be arbitrary. A dummy address may be added to the end of the last line of each block so that continuous bank access can be performed in the page memory 10 made of SDRAM.

さらに、ファクシミリ複合装置を例として説明したが、ファクシミリ装置、ディジタル複写機、プリンタなど、取得した画像データを回転して出力する全ての装置に本発明を適用できることは勿論である。   Further, although the facsimile complex 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 is a block diagram illustrating a configuration of an image processing apparatus (facsimile multifunction apparatus) according to the present invention. ファクシミリ複合装置における記録処理の動作手順を示すフローチャートである。6 is a flowchart illustrating an operation procedure of recording processing in the facsimile multifunction peripheral. 画像データの時計回り方向への90度回転処理を説明するための図である。It is a figure for demonstrating the 90 degree rotation process to the clockwise direction of image data. 画像データの時計回り方向への90度回転処理を説明するための図である。It is a figure for demonstrating the 90 degree rotation process to the clockwise direction of image data. 画像データの時計回り方向への90度回転処理を説明するための図である。It is a figure for demonstrating the 90 degree rotation process to the clockwise direction of image data. 画像データの時計回り方向への90度回転処理を説明するための図である。It is a figure for demonstrating the 90 degree rotation process to the clockwise direction of image data. 画像データの時計回り方向への90度回転処理を説明するための図である。It is a figure for demonstrating the 90 degree rotation process to the clockwise direction of image data. SDRAMにおけるデータの書き込み/読み出し動作を示すタイミングチャートである。6 is a timing chart showing data write / read operations in the SDRAM. 1ラインが4kワード,(4k+1)ワードで構成される場合のアドレスとバンクとを示す図である。It is a figure which shows an address and a bank in case one line is comprised with 4k word and (4k + 1) word. 1ラインが(4k+2)ワード,(4k+3)ワードで構成される場合のアドレスとバンクとを示す図である。It is a figure which shows an address and a bank in case one line is comprised with (4k + 2) word and (4k + 3) word. 本発明における各ラインでのダミーアドレスの付加例を示す図である。It is a figure which shows the example of addition of the dummy address in each line in this invention. 画像データが2値形式である場合の各ブロックの各ラインにおけるバンクを示す図である。It is a figure which shows the bank in each line of each block in case image data is a binary format. 本発明における最終ラインでのダミーアドレスの付加例を示す図である。It is a figure which shows the example of addition of the dummy address in the last line in this invention. 連続したバンクアクセスが可能であることを示す図である。It is a figure which shows that a continuous bank access is possible. 画像データが4値形式である場合の各ブロックの各ラインにおけるバンクを示す図である。It is a figure which shows the bank in each line of each block in case image data is a 4 value format. 本発明における最終ラインでのダミーアドレスの付加例を示す図である。It is a figure which shows the example of addition of the dummy address in the last line in this invention. 連続したバンクアクセスが可能であることを示す図である。It is a figure which shows that a continuous bank access is possible.

符号の説明Explanation of symbols

1 制御部
2 読取部
3 記録部
5 操作部
5a 回転処理設定キー
6 ROM
7 RAM
10 ページメモリ
11 バッファ
DESCRIPTION OF SYMBOLS 1 Control part 2 Reading part 3 Recording part 5 Operation part 5a Rotation process setting key 6 ROM
7 RAM
10 page memory 11 buffer

Claims (3)

メモリに2次元に展開された1ページ分の画像データを転置する画像処理方法において、前記画像データの各画素を構成するビット数に応じて行方向及び列方向が同数の画素を単位として画像データを読み出し、読み出した画像データに対して転置処理を実行し、転置処理後のデータを前記メモリの元のアドレスに書き込むことを特徴とする画像処理方法。   In an image processing method for transposing image data for one page expanded two-dimensionally in a memory, image data in units of pixels having the same number of rows and columns in accordance with the number of bits constituting each pixel of the image data , Executing transposition processing on the read image data, and writing the data after transposition processing to the original address of the memory. 1ページ分の画像データを転置する画像処理装置において、前記画像データを2次元に展開して蓄積するページメモリと、該ページメモリに蓄積されている画像データの各画素を構成するビット数に応じて行方向及び列方向が同画素数の部分画像データを蓄積するバッファと、前記部分画像データの該バッファヘの読み出し及び前記部分画像データの該バッファから前記ページメモリへの書き込みによって前記部分画像データの転置処理を実行する転置処理手段とを備えることを特徹とする画像処理装置。   In an image processing apparatus that transposes image data for one page, according to a page memory that expands and stores the image data in two dimensions, and the number of bits that constitute each pixel of the image data stored in the page memory A buffer for storing the partial image data having the same number of pixels in the row direction and the column direction, and reading the partial image data into the buffer and writing the partial image data from the buffer to the page memory. An image processing apparatus characterized by comprising transposition processing means for executing transposition processing. 前記ページメモリはSDRAMであることを特徴とする請求項2記載の画像処理装置。   The image processing apparatus according to claim 2, wherein the page memory is an SDRAM.
JP2003415665A 2003-12-12 2003-12-12 Image processing method and image processor Pending JP2005176125A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003415665A JP2005176125A (en) 2003-12-12 2003-12-12 Image processing method and image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003415665A JP2005176125A (en) 2003-12-12 2003-12-12 Image processing method and image processor

Publications (1)

Publication Number Publication Date
JP2005176125A true JP2005176125A (en) 2005-06-30

Family

ID=34735081

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003415665A Pending JP2005176125A (en) 2003-12-12 2003-12-12 Image processing method and image processor

Country Status (1)

Country Link
JP (1) JP2005176125A (en)

Similar Documents

Publication Publication Date Title
JPH06275069A (en) Serial memory
JP2002259208A (en) Device and method for controlling memory
JP4165391B2 (en) Image processing method and image processing apparatus
JP4201031B2 (en) Image processing device
JP2005176125A (en) Image processing method and image processor
JPH11306343A (en) Rotational processing device for two-dimensional data
JP2005174141A (en) Memory address management method and image processor
JP2005174142A (en) Image processing device
US5712714A (en) Image processing apparatus
JP4158695B2 (en) Image processing method and image processing apparatus
JP2008136125A (en) Image processing apparatus
JP3167684B2 (en) Context generation circuit and method for small screen
JP2005176127A (en) Image processing method and image processor
JP2005176129A (en) Image processing method and image processor
JP4172410B2 (en) Image processing method and image processing apparatus
JP2005176130A (en) Image recording method and image recording apparatus
JP4144544B2 (en) Image processing method and image processing apparatus
JP4144548B2 (en) Image processing device
JP2008035035A (en) Image processing apparatus
US20050213163A1 (en) Image processing device and image processing method
JP2005174139A (en) Image processing method and device
JP2005286542A (en) Image processing apparatus
JP2005276296A (en) Memory refreshing method
JP3346916B2 (en) Image rotation device
JP4390822B2 (en) Image processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061017

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080410

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080415

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080805