JP2005348046A - Image processing apparatus - Google Patents

Image processing apparatus Download PDF

Info

Publication number
JP2005348046A
JP2005348046A JP2004164722A JP2004164722A JP2005348046A JP 2005348046 A JP2005348046 A JP 2005348046A JP 2004164722 A JP2004164722 A JP 2004164722A JP 2004164722 A JP2004164722 A JP 2004164722A JP 2005348046 A JP2005348046 A JP 2005348046A
Authority
JP
Japan
Prior art keywords
image
data
image data
address
pages
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
JP2004164722A
Other languages
Japanese (ja)
Inventor
Hiroyuki Hirakawa
博之 平川
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 JP2004164722A priority Critical patent/JP2005348046A/en
Publication of JP2005348046A publication Critical patent/JP2005348046A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)
  • Image Input (AREA)
  • Image Processing (AREA)
  • Storing Facsimile Image Data (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processing apparatus capable of efficiently transferring image data of a plurality of pages to an image memory, wherein the image data are collected. <P>SOLUTION: The image processing apparatus 1 includes: the image memory 8 for storing data of the same line as to the image data comprising two pages or more transferred from a decoder 7 to each area of the image memory 8; a DMAC 14 that alternately repeats a process wherein transfer processing of data of one line to areas by making designated address a head address is carried out by using a head address TA for the first designated address by each page to which the head address TA is set, and a process wherein a skip size SS including a data size for one line of the other page stored in the areas is added to the tail end address of the data stored in the areas to designate a succeeding designated address, and transfers the image data comprising a plurality of pages from the decoder 7 to the image memory 8; and a recording section 9 for recording the image of the image data stored in the image memory 8 onto one paper sheet. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、画像処理装置に関し、詳しくは複数ページの画像データを集約してその画像を1枚の用紙に記録する画像処理装置に関するものである。   The present invention relates to an image processing apparatus, and more particularly to an image processing apparatus that aggregates image data of a plurality of pages and records the image on a single sheet.

複数ページの画像データを集約してその画像を1枚の用紙に記録する画像処理装置がある。例えば特許文献1に開示されている画像処理装置は、図5に示すように、画像読取部901で読み取った複数ページの画像データに対して、画像処理部902でA/D変換やシェーディング補正等の画像処理を行い、変倍器903で必要に応じて拡大・縮小処理を行った後に、その画像データをメモリコントローラ904によって一旦画像メモリ905に格納している。メモリコントローラ904は、操作部(不図示)からの指示に従って、画像メモリ905に格納された複数ページの画像データから任意の複数ページの画像データを読み出してイメージメモリ906に転送し、該イメージメモリ906に1ページ分の集約画像データを格納する。その後、イメージメモリ906から1ページ分の集約画像データが読み出され、記録部907においてその画像が1枚の用紙に記録されることにより、任意の複数ページの画像データが1枚の用紙に集約して記録されるようになっている。   There is an image processing apparatus that aggregates image data of a plurality of pages and records the image on one sheet. For example, as shown in FIG. 5, the image processing apparatus disclosed in Patent Document 1 uses an image processing unit 902 to perform A / D conversion, shading correction, and the like on image data of a plurality of pages read by an image reading unit 901. The image data is temporarily stored in the image memory 905 by the memory controller 904 after the enlargement / reduction processing is performed as necessary by the magnification changer 903. The memory controller 904 reads arbitrary plural pages of image data from plural pages of image data stored in the image memory 905 in accordance with an instruction from an operation unit (not shown), transfers the image data to the image memory 906, and the image memory 906. One page of aggregated image data is stored. Thereafter, the aggregated image data for one page is read from the image memory 906, and the image is recorded on one sheet of paper in the recording unit 907, so that image data of arbitrary plural pages is aggregated on one sheet of paper. And is now recorded.

このような画像メモリ905からイメージメモリ906への画像データの転送を行うメモリコントローラ904は、一般に、DMAC(Direct Memory Access Controller)が用いられる。例えば、図3(a)に示す4ページの画像データP1〜P4を集約して、同図(b)に示す集約画像データを転送して、イメージメモリ906にそのアドレス空間を図6に示したように格納する場合、4ページの画像データP1〜P4のDMACによる画像メモリ905からイメージメモリ906へのDMA(Direct Memory Access)転送は、以下に説明するように行われる。まず、制御部(不図示)は、イメージメモリ906の1番目の領域Aの先頭アドレスTA1、1をDMACのレジスタ(不図示)に設定する。DMACは、制御部からの転送命令によって、画像メモリ905から1ページ目の画像データP1の1ライン目のデータを読み出し、このデータをアドレスTA1、1を先頭として1番目の領域AにDMA転送する。次に、制御部は、イメージメモリ906の2番目の領域Aの先頭アドレスTA1、2をDMACのレジスタに設定する。DMACは、制御部からの転送命令によって、1ページ目の画像データP1の2ライン目のデータを読み出し、このデータをアドレスTA1、2を先頭として2番目の領域AにDMA転送する。DMACは、1ページ目の画像データP1の3ライン目以降のデータも同様に、転送命令がある毎に1ラインずつDMA転送し、各1ラインのデータをイメージメモリ906の各領域にそれぞれ格納する。これにより、イメージメモリ906の1番目の領域AからM番目の領域Aまでの領域に、1ページ目の画像データP1が格納される。次に、2ページ目の画像データP2も、同様に、DMACによって転送命令がある毎に1ラインずつDMA転送され、イメージメモリ906の1番目の領域AからM番目の領域Aまでの領域に、各1ラインのデータが1ページ目の画像データP1と空白サイズWSを隔てて格納される。さらに、3ページ目及び4ページ目の画像データP3,P4も、同様に、DMACによって転送命令がある毎に1ラインずつDMA転送され、各1ラインのデータがイメージメモリ906の各領域にそれぞれ格納される。
特開2003−101758号公報
As the memory controller 904 for transferring image data from the image memory 905 to the image memory 906, a direct memory access controller (DMAC) is generally used. For example, the four pages of image data P1 to P4 shown in FIG. 3A are aggregated, the aggregated image data shown in FIG. 3B is transferred, and the address space thereof is shown in FIG. When storing in this manner, DMA (Direct Memory Access) transfer from the image memory 905 to the image memory 906 by the DMAC of the four pages of image data P1 to P4 is performed as described below. First, the control unit (not shown) sets the top addresses TA 1 and 1 of the first area A 1 of the image memory 906 in a DMAC register (not shown). The DMAC, DMA by the transfer command from the control unit reads the first line of data of the image data P1 from the image memory 905 first page, the first area A 1 of the data as the start address TA 1, 1 Forward. Next, the control unit sets the start addresses TA 1 and 2 of the second area A 2 of the image memory 906 in the register of the DMAC. The DMAC by the transfer command from the control unit reads the second line of data of the image data P1 of the first page, and DMA transfers the data to the second region A 2 address TA 1, 2 as the top. Similarly, the DMAC DMA-transfers the data of the third and subsequent lines of the image data P1 of the first page every time there is a transfer command, and stores each line of data in each area of the image memory 906, respectively. . Thus, in the area from the first area A 1 of the image memory 906 to the M-th region A M, the image data P1 of the first page is stored. Then, also the second page of image data P2, similarly, the region of the DMA transfer by one line each time there is a transfer instruction by DMAC, from the first area A 1 of the image memory 906 to the M-th region A M In addition, each line of data is stored separately from the image data P1 of the first page and the blank size WS. Further, the image data P3 and P4 of the third page and the fourth page are also DMA-transferred by one line every time there is a transfer command by the DMAC, and each line of data is stored in each area of the image memory 906, respectively. Is done.
JP 2003-101758 A

しかしながら、前記従来の画像処理装置において、DMACは、複数ページの画像データを画像メモリ905からページメモリ906にDMA転送し該イメージメモリ906に集約画像データを格納する際に、1つの領域に他のページの1ラインのデータを格納する必要があるので、1回の転送命令に対し1ラインのデータしか転送できないため、転送効率が悪く転送に時間がかかるという問題があった。   However, in the conventional image processing apparatus, the DMAC DMA-transfers image data of a plurality of pages from the image memory 905 to the page memory 906 and stores the aggregated image data in the image memory 906. Since it is necessary to store one line of data for a page, only one line of data can be transferred in response to one transfer instruction, resulting in a problem that transfer efficiency is low and transfer takes time.

本発明は、かかる問題を解決すべくなされたものであり、複数ページの画像データをイメージメモリに転送して集約し、その画像を1枚の用紙に記録する画像処理装置において、複数ページの画像データをイメージメモリに効率良く転送することができる画像処理装置を提供することを目的とする。   The present invention has been made to solve such a problem. In an image processing apparatus for transferring a plurality of pages of image data to an image memory and consolidating the images, and recording the images on one sheet of paper, a plurality of pages of images are recorded. An object of the present invention is to provide an image processing apparatus capable of efficiently transferring data to an image memory.

上記目的を達成するために、請求項1に記載の画像処理装置は、一定の領域サイズに分割された複数の領域を有し、2ページ以上の画像データについて同一ラインのデータを各領域にそれぞれ格納して自装置内の所定の転送元から転送された複数ページの画像データを格納する格納手段と、前記複数ページの画像データに対して前記格納手段における先頭アドレスを各ページ毎に設定する設定手段と、前記先頭アドレスが設定された各ページ毎に、1ラインのデータを前記転送元から指定アドレスを先頭として前記領域に転送する処理を前記先頭アドレスを最初の指定アドレスとして行う処理と、これにより前記領域に格納された前記1ラインのデータの後端のアドレスにその領域に格納される他のページの1ライン分のデータサイズを含むスキップサイズを加えて次の領域における指定アドレスを指定する処理と、を交互に繰返して前記複数ページの画像データを前記転送元から前記格納手段に転送する転送手段と、前記格納手段に格納された前記複数ページの画像データの画像を1枚の用紙に記録する記録手段と、を備えることを特徴としている。   In order to achieve the above object, an image processing apparatus according to claim 1 has a plurality of areas divided into a certain area size, and data of the same line for each of two or more pages of image data is assigned to each area. Storage means for storing and storing a plurality of pages of image data transferred from a predetermined transfer source in its own apparatus, and setting for setting the top address in the storage means for each page for the plurality of pages of image data And a process for transferring one line of data from the transfer source to the area with the designated address as the head for each page in which the head address is set; The data size of one line of another page stored in the area is included in the address of the trailing edge of the data of the one line stored in the area A process of adding a ticket size and designating a designated address in the next area; a transfer means for alternately transferring the image data of the plurality of pages from the transfer source to the storage means; and a storage means stored in the storage means Recording means for recording images of the image data of the plurality of pages on a single sheet.

請求項2に記載の画像処理装置は、一定の領域サイズに分割された複数の領域を有し、2ページ以上の画像データについて同一ラインのデータを各領域にそれぞれ格納して自装置内の所定の転送元から転送された複数ページの画像データを格納する格納手段と、前記複数ページの画像データに対して前記格納手段における先頭アドレスを各ページ毎に設定する設定手段と、前記先頭アドレスが設定された各ページ毎に、1ラインのデータを前記転送元から指定アドレスを先頭として前記領域に転送する処理を前記先頭アドレスを最初の指定アドレスとして行う処理と、この処理における指定アドレスに前記領域サイズを加えて次の領域における指定アドレスを指定する処理と、を交互に繰返して前記複数ページの画像データを前記転送元から前記格納手段に転送する転送手段と、前記格納手段に格納された前記複数ページの画像データの画像を1枚の用紙に記録する記録手段と、を備えることを特徴としている。   The image processing apparatus according to claim 2 has a plurality of areas divided into a certain area size, and stores data on the same line for each of two or more pages of image data in each area. Storage means for storing image data of a plurality of pages transferred from the transfer source, setting means for setting a start address in the storage means for each page of the image data of the plurality of pages, and setting the start address For each page, a process for transferring one line of data from the transfer source to the area with the designated address as the head, a process for performing the head address as the first designated address, and the area size at the designated address in this process And the process of designating a designated address in the next area, and alternately repeating the process of designating the plurality of pages of image data from the transfer source And transfer means for transferring the serial storage means, is characterized in that it comprises a recording means for recording the image of the image data of said plurality of pages stored in said storing means on one sheet of paper.

請求項3に記載の画像処理装置は、請求項1又は2に記載の画像処理装置において、前記転送元は、符号化処理された複数ページの画像データに対して復号処理と縮小処理を行うものであることを特徴としている。   According to a third aspect of the present invention, in the image processing apparatus according to the first or second aspect, the transfer source performs a decoding process and a reduction process on a plurality of pages of encoded image data. It is characterized by being.

請求項4に記載の画像処理装置は、請求項1から3の何れか1項に記載の画像処理装置において、前記複数ページの画像データは、複数の色成分からなるカラー画像データの何れか1つの色成分のデータであることを特徴としている。   The image processing apparatus according to claim 4 is the image processing apparatus according to any one of claims 1 to 3, wherein the image data of the plurality of pages is any one of color image data including a plurality of color components. It is characterized by the data of one color component.

請求項1に記載の画像処理装置によれば、転送手段は1回の転送命令に対し1ページの画像データを転送元から格納手段に転送するので、1回の転送命令に対し1ラインのデータしか転送できない前記従来の画像処理装置に比べて、複数ページの画像データを格納手段に効率良く転送することができる。   According to the image processing apparatus of the first aspect, since the transfer means transfers one page of image data from the transfer source to the storage means in response to one transfer instruction, one line of data for one transfer instruction. Compared to the conventional image processing apparatus that can only transfer data, image data of a plurality of pages can be efficiently transferred to the storage means.

請求項2に記載の画像処理装置によれば、転送手段は1回の転送命令に対し1ページの画像データを転送元から格納手段に転送するので、1回の転送命令に対し1ラインのデータしか転送できない前記従来の画像処理装置に比べて、複数ページの画像データを格納手段に効率良く転送することができる。   According to the image processing apparatus of claim 2, since the transfer means transfers one page of image data from the transfer source to the storage means for one transfer command, one line of data for one transfer command. Compared to the conventional image processing apparatus that can only transfer data, image data of a plurality of pages can be efficiently transferred to the storage means.

請求項3に記載の画像処理装置によれば、転送元は復号処理と縮小処理とを行う画像データ処理手段であるので、復号処理と縮小処理とを行った複数ページの画像データを格納手段に効率良く転送することができる。   According to the image processing apparatus of the third aspect, since the transfer source is an image data processing unit that performs the decoding process and the reduction process, the image data of a plurality of pages subjected to the decoding process and the reduction process is stored in the storage unit. It can be transferred efficiently.

請求項4に記載の画像処理装置によれば、モノクロ画像データに比べてデータ量が多いカラー画像データであっても、転送手段は1回の転送命令に対し1ページの画像データの1つの色成分のデータを転送元から格納手段に転送するので、1回の転送命令に対し1ラインのデータしか転送できない前記従来の画像処理装置に比べて、複数ページのカラー画像データを格納手段に効率良く転送することができる。   According to the image processing apparatus of claim 4, even if the color image data has a larger amount of data than the monochrome image data, the transfer means outputs one color of one page of image data for one transfer command. Since the component data is transferred from the transfer source to the storage means, color image data of a plurality of pages is stored in the storage means more efficiently than the conventional image processing apparatus that can transfer only one line of data for one transfer instruction. Can be transferred.

本発明の実施の形態に係る画像処理装置について図面に基づき説明する。この画像処理装置1は、図1に示すように、制御部(CPU:Central Processing Unit)2、画像読取部3、画像処理部4、エンコーダ5、画像メモリ6、デコーダ7、イメージメモリ8、記録部9、操作部10、表示部11、ROM(Read Only Memory)12、RAM(Random Access Memory)13、DMAC(Direct Memory Access Controller)14、モデム15及びNCU(Network Control Unit)16を備えたものであって、各部2乃至16は、バス17によって通信可能に接続されている。   An image processing apparatus according to an embodiment of the present invention will be described with reference to the drawings. As shown in FIG. 1, the image processing apparatus 1 includes a control unit (CPU: Central Processing Unit) 2, an image reading unit 3, an image processing unit 4, an encoder 5, an image memory 6, a decoder 7, an image memory 8, a recording Unit 9, operation unit 10, display unit 11, ROM (Read Only Memory) 12, RAM (Random Access Memory) 13, DMAC (Direct Memory Access Controller) 14, modem 15 and NCU (Network Control Unit) 16 The units 2 to 16 are communicably connected via a bus 17.

制御部2は、これら各部3乃至16の動作を制御する。画像読取部3は、制御部2からの制御信号に基づいて、原稿の画像データを主走査ライン毎に読み取り、画像データを出力する。画像処理部4は、画像読取部3から出力された画像データに所定の画像処理を行う。具体的には、A/D変換、ゲイン調整、シェーディング補正、2値化等の画像処理を行う。エンコーダ5は、画像処理部4で画像処理が行われた画像データをMH(Modified Huffman)、MR(Modified Read)、MMR(Modified Modified Read)、JBIG(Joint Bi-level Image Group)、JPEG(Joint Photographic Experts Group)方式等により符号化する。   The control unit 2 controls the operations of these units 3 to 16. The image reading unit 3 reads the image data of the document for each main scanning line based on the control signal from the control unit 2 and outputs the image data. The image processing unit 4 performs predetermined image processing on the image data output from the image reading unit 3. Specifically, image processing such as A / D conversion, gain adjustment, shading correction, and binarization is performed. The encoder 5 converts the image data processed by the image processing unit 4 into MH (Modified Huffman), MR (Modified Read), MMR (Modified Modified Read), JBIG (Joint Bi-level Image Group), JPEG (Joint). Photographic Experts Group) method.

画像メモリ6は、エンコーダ5で符号化した画像データやファクシミリ受信した画像データなどを格納する。デコーダ7は、エンコーダ5で符号化された画像データなどの符号化されている画像データを復号する復号処理を行う。また、デコーダ7は、復号した画像データに対して画素データを間引くことによる縮小処理を必要に応じて行う。画像メモリ6に格納された1ページの画像データに対してデコーダ7で復号処理や縮小処理が行われた画像データは、1ライン分のデータサイズがDSでありライン数がMのデータからなる。   The image memory 6 stores image data encoded by the encoder 5, image data received by facsimile, and the like. The decoder 7 performs a decoding process for decoding the encoded image data such as the image data encoded by the encoder 5. The decoder 7 performs a reduction process by thinning out pixel data on the decoded image data as necessary. Image data obtained by performing decoding processing or reduction processing on the image data of one page stored in the image memory 6 by the decoder 7 includes data having a data size of DS for one line and M lines.

イメージメモリ8は、デコーダ7から転送された画像データを格納する。メージメモリ8は、そのアドレス空間を図2に示すように、一定の領域サイズASに分割された複数の領域を有している。イメージメモリ8は、2ページ以上の画像データについて同一ラインのデータを同じ領域にそれぞれ格納する。具体的には、2ページ以上の画像データについて、各データサイズがDSの同一ラインのデータを、データが格納されない所定の空白サイズWSだけ隔てて同じ領域にそれぞれ格納して、デコーダ7から転送された複数ページの画像データからなる集約画像データを格納する。領域サイズASは、Sページの画像データについて同一ラインのデータがイメージメモリ8の同じ領域に格納される場合、S×((データサイズDS)+(空白サイズWS))により定まる。記録部9は、イメージメモリ8に格納された複数ページの画像データからなる1ページ分の集約画像データの画像を1枚の用紙に記録する。この記録部9における記録方式としては、例えば、電子写真方式やインクジェット記録方式等の各種の記録方式を用いることができる。記録部9は、イメージメモリ8の各領域に格納されたデータを、その画像をそれぞれ1ラインの画像として領域の順に1枚の用紙に記録する。 The image memory 8 stores the image data transferred from the decoder 7. Image memory 8, the address space as shown in FIG. 2, has a plurality of regions divided into predetermined area size AS. The image memory 8 stores data of the same line for image data of two pages or more in the same area. Specifically, for image data of two or more pages, the data of the same line with each data size DS is stored in the same area separated by a predetermined blank size WS in which no data is stored, and transferred from the decoder 7. Aggregated image data including a plurality of pages of image data is stored. The area size AS is determined by S × ((data size DS) + (blank size WS)) when data of the same line is stored in the same area of the image memory 8 with respect to the image data of the S page. The recording unit 9 records an image of aggregated image data for one page composed of image data of a plurality of pages stored in the image memory 8 on one sheet. As a recording method in the recording unit 9, various recording methods such as an electrophotographic method and an ink jet recording method can be used. The recording unit 9 records the data stored in each area of the image memory 8 on a sheet of paper in the order of the area, with each image as an image of one line.

操作部10は、画像読取部3に原稿の読取開始を指示するためのスタートキー、コピー部数等を入力するためのテンキー、集約コピー設定や用紙設定等の各種設定を行うためのカーソルキーなどの各種操作キーを備えている。ここで、集約コピー設定は、何ページの原稿をどのように配置して1枚の用紙に集約して記録するかを予め定められたパターンの中から選択することにより設定するものである。また、用紙設定は、記録部9で画像が記録される用紙のサイズや向きを選択して設定するものである。表示部11は、各種の設定状態や画像処理装置1の動作状態などを文字や図形などで表示する液晶表示装置(LCD:Liquid Crystal Display)や、点灯または消灯で表示するLEDランプなどを備えている。   The operation unit 10 includes a start key for instructing the image reading unit 3 to start reading a document, a numeric keypad for inputting the number of copies, and a cursor key for performing various settings such as aggregate copy setting and paper setting. Various operation keys are provided. Here, the aggregate copy setting is set by selecting how many pages of originals are arranged and aggregated and recorded on one sheet from among predetermined patterns. The paper setting is to select and set the size and orientation of the paper on which the recording unit 9 records an image. The display unit 11 includes a liquid crystal display (LCD) that displays various setting states and operation states of the image processing apparatus 1 with characters, graphics, and the like, and an LED lamp that is turned on or off. Yes.

ROM12は、制御部2により画像処理装置1を構成する各部の処理動作が制御されるための各種プログラムを格納するメモリである。RAM13は、画像処理装置1の処理動作に用いる設定情報や動作情報等の各種データを読み出し及び書き込み可能な状態で格納するメモリであり、例えば、集約コピー設定や用紙設定等に応じた複数の前記データサイズDSや前記所定の空白サイズWSを格納する。   The ROM 12 is a memory that stores various programs for controlling the processing operation of each unit constituting the image processing apparatus 1 by the control unit 2. The RAM 13 is a memory that stores various types of data such as setting information and operation information used for the processing operation of the image processing apparatus 1 in a readable and writable state. The data size DS and the predetermined blank size WS are stored.

DMAC14は、デコーダ7から読み出した画像データをイメージメモリ8にDMA(Direct Memory Access)転送し格納する。DMAC14は、DMA転送する際の設定情報を格納するレジスタ18を備え、制御部2からの転送命令によって、レジスタ18に格納された設定情報に従って、デコーダ7から読み出した画像データをイメージメモリ8にDMA転送し格納する。レジスタ18には、具体的には、格納先頭アドレスTA、前記データサイズDS、スキップサイズSS等が格納される。DMAC14は、1ラインのデータをデコーダ7から指定アドレスを先頭としてイメージメモリ8の領域に転送する処理を格納先頭アドレスTAを最初の指定アドレスとして行う転送処理と、これにより前記領域に格納された1ラインのデータの後端のアドレスにスキップサイズSSを加えて次の指定アドレスを指定するアドレス指定処理と、を交互に繰返して、格納先頭アドレスTAに対する1ページの画像データをデコーダ7からイメージメモリ8に転送する。ここで、格納先頭アドレスTAは、DMAC14が制御部2からの転送命令によって最初の転送処理を行うデータをイメージメモリ8に格納する際に格納を開始する先頭アドレスである。格納先頭アドレスTAは、複数ページの画像データをDMA転送する場合には、各ページの画像データに対してそれぞれ設定する。また、スキップサイズSSは、転送処理を行ったことによりイメージメモリ8に格納された1ラインのデータの後端のアドレスから、次の転送処理を行い次の1ラインのデータがイメージメモリ8に格納される先端のアドレスまでの間のサイズであり、データを格納しないサイズである。スキップサイズSSは、同じ領域に格納される他の画像データの1ライン分のデータサイズDSと空白サイズWSを加えたサイズである。Sページの画像データについて同一ラインのデータがイメージメモリ906の同じ領域に格納される場合、スキップサイズSSは、(S−1)×(1ライン分のデータサイズDS)+S×(空白サイズWS)の算出式によって算出される。   The DMAC 14 transfers the image data read from the decoder 7 to the image memory 8 by DMA (Direct Memory Access) and stores it. The DMAC 14 includes a register 18 that stores setting information for DMA transfer, and the image data read from the decoder 7 is DMA-transferred to the image memory 8 according to the setting information stored in the register 18 by a transfer command from the control unit 2. Transfer and store. Specifically, the register 18 stores the storage head address TA, the data size DS, the skip size SS, and the like. The DMAC 14 performs a process of transferring one line of data from the decoder 7 to the area of the image memory 8 with the designated address as the head, a transfer process in which the head address TA is used as the first designated address, and the 1 stored in the area. By alternately repeating the address specification process of specifying the next specified address by adding the skip size SS to the rear end address of the line data, one page of image data for the storage head address TA is transferred from the decoder 7 to the image memory 8. Forward to. Here, the storage head address TA is a head address at which storage starts when the DMAC 14 stores data to be subjected to the first transfer process in response to a transfer command from the control unit 2 in the image memory 8. The storage head address TA is set for each page of image data when a plurality of pages of image data are DMA-transferred. The skip size SS is transferred from the rear end address of one line of data stored in the image memory 8 by performing the transfer process, and the next one line of data is stored in the image memory 8. This is the size up to the address of the leading edge, and the size that does not store data. The skip size SS is a size obtained by adding a data size DS for one line of other image data stored in the same area and a blank size WS. When image data of the S page is stored in the same area of the image memory 906, the skip size SS is (S-1) × (data size DS for one line) + S × (blank size WS). Is calculated by the following formula.

なお、DMAC14は、1ラインのデータをデコーダ7から指定アドレスを先頭としてイメージメモリ8の領域に転送する処理を格納先頭アドレスTAを最初の指定アドレスとして行う転送処理と、この転送処理における指定アドレスに領域サイズASを加えて次の指定アドレスを指定するアドレス指定処理と、を交互に繰返して、格納先頭アドレスTAに対する1ページの画像データをデコーダ7からイメージメモリ8に転送してもよい。このように領域サイズASを用いてアドレス指定処理を行っても、上述したスキップサイズSSを用いたアドレス指定処理によって指定した次の指定アドレスと同じ指定アドレスを指定することができる。領域サイズASを用いてアドレス指定処理を行う場合、DMAC14のレジスタ18には、格納先頭アドレスTA、データサイズDS、領域サイズAS等が格納される。   The DMAC 14 performs a process of transferring one line of data from the decoder 7 to the area of the image memory 8 with the designated address as the head, a transfer process in which the storage head address TA is used as the first designated address, and the designated address in this transfer process. One page of image data corresponding to the storage head address TA may be transferred from the decoder 7 to the image memory 8 by alternately repeating the address specifying process of adding the area size AS and specifying the next specified address. Thus, even if the address designation process is performed using the area size AS, the same designated address as the next designated address designated by the address designation process using the skip size SS described above can be designated. When the addressing process is performed using the area size AS, the storage head address TA, the data size DS, the area size AS, and the like are stored in the register 18 of the DMAC 14.

モデム15は、ITU−T(国際電気通信連合電気通信標準化部門)の勧告V.34規格又はこれと同様のものに従った送受信データの変調及び復調を行う。NCU16は、電話回線を制御して電話をかけたり切ったりする回線網制御装置であり、PSTN(Public Switched Telephone Network)19に接続されている。   The modem 15 is an ITU-T (International Telecommunication Union Telecommunication Standardization Sector) recommendation V.3. Modulate and demodulate transmitted / received data according to the 34 standard or the like. The NCU 16 is a line network control device that controls a telephone line to make or cut a call, and is connected to a PSTN (Public Switched Telephone Network) 19.

以上説明した構成からなる画像処理装置1は、画像読取部3で読み取った画像データの画像を用紙に記録するコピー機能、PSTN19を介して外部の装置と画像データをファクシミリ送受信するファクシミリ送受信機能を備えている。   The image processing apparatus 1 having the above-described configuration includes a copy function for recording an image of image data read by the image reading unit 3 on a sheet, and a facsimile transmission / reception function for facsimile transmission / reception of image data to / from an external apparatus via the PSTN 19. ing.

以下、本実施形態に係る画像処理装置1において、図3(a)に示す4ページの画像データP1〜P4をそれぞれ読み取り、これらを同図(b)に示すように1ページ分の集約画像データに集約して、その画像を1枚の用紙に記録する集約コピー設定が操作部10から入力された場合の画像処理装置1の各部の処理動作について、図4に基づいて説明する。なお、この画像処理装置1の各部における処理動作は、制御部2の制御命令に従って行われるものである。   Hereinafter, in the image processing apparatus 1 according to the present embodiment, the four pages of image data P1 to P4 shown in FIG. 3A are respectively read, and these are aggregated image data for one page as shown in FIG. The processing operation of each unit of the image processing apparatus 1 when the aggregate copy setting for recording the image on one sheet is input from the operation unit 10 will be described with reference to FIG. Note that the processing operation in each unit of the image processing apparatus 1 is performed according to the control command of the control unit 2.

操作部10から上記集約コピー設定が入力されると、まず、制御部2は、画像読取部3に各ページの原稿の画像データを読み取らせる。画像読取部3は、各ページの原稿の画像を読み取った画像データを画像処理部4に出力する。画像処理部4は、画像読取部3で読み取った画像データに所定の画像処理を行い出力する。画像処理部4で画像処理が行われた画像データは、エンコーダ5で符号化されて画像メモリ6に格納される。   When the aggregate copy setting is input from the operation unit 10, first, the control unit 2 causes the image reading unit 3 to read the image data of the document of each page. The image reading unit 3 outputs image data obtained by reading an image of a document on each page to the image processing unit 4. The image processing unit 4 performs predetermined image processing on the image data read by the image reading unit 3 and outputs the image data. The image data that has been subjected to image processing by the image processing unit 4 is encoded by the encoder 5 and stored in the image memory 6.

制御部2は、画像メモリ6に格納された4ページの画像データP1〜P4をデコーダ7に出力する。デコーダ7は、この出力された画像データP1〜P4に対して、復号処理を行うとともに操作部10から入力された集約コピー設定や用紙設定等に基づいて所定の縮小処理を行う。デコーダ7で復号処理や縮小処理が行われた4ページの画像データP1〜P4は、各ページの画像データ毎に1ライン分のデータサイズがDSでありライン数がMであるデータからなる。   The control unit 2 outputs the four pages of image data P <b> 1 to P <b> 4 stored in the image memory 6 to the decoder 7. The decoder 7 performs a decoding process on the output image data P <b> 1 to P <b> 4 and performs a predetermined reduction process based on the aggregate copy setting, the paper setting, and the like input from the operation unit 10. The four pages of image data P1 to P4 that have been decoded and reduced by the decoder 7 are composed of data having a DS data size for one line and M lines for each page of image data.

制御部2は、第1格納先頭アドレスTAをDMAC14のレジスタ18に格納し、1ページ目の画像データP1に対する格納先頭アドレスTAを設定する。ここで、第1格納先頭アドレスTAは、1ページ目の画像データP1を格納する際に格納を開始する先頭となるイメージメモリ8におけるアドレスであり、図2に示すように、イメージメモリ8の1番目の領域Aの先頭アドレス、つまりイメージメモリ8の先頭アドレスである。また、制御部2は、DMAC14のレジスタ18にデータサイズDSとスキップサイズSSを格納する。ここで、データサイズDSは、操作部10から入力された集約コピー設定や用紙設定等に基づいてRAM13に格納された複数のデータサイズDSから選択する。また、2ページの画像データの画像を記録部9で1枚の用紙に記録順(記録時における用紙の移動方向)とは垂直方向に並列して記録するために、2ページの画像データについて同一ラインのデータがイメージメモリ906の同じ領域に格納されるので、スキップサイズSSは、上述した算出式においてSを2として、(1ライン分のデータサイズDS)+2×(空白サイズWS)により算出する。なお、スキップサイズSSは、操作部10から入力された集約コピー設定や用紙設定等に基づいてRAM13に格納された複数のスキップサイズSSから選択してもよい。 Control unit 2 stores the first storage head address TA 1 to the register 18 of the DMAC 14, sets the storage head address TA to the image data P1 of the first page. Here, the first storage head address TA 1 is an address in the image memory 8 which is the head of the storage when the image data P1 of the first page is stored. As shown in FIG. This is the start address of the first area A1, that is, the start address of the image memory 8. Further, the control unit 2 stores the data size DS and the skip size SS in the register 18 of the DMAC 14. Here, the data size DS is selected from a plurality of data sizes DS stored in the RAM 13 based on the aggregate copy setting, paper setting, and the like input from the operation unit 10. Also, since the image of the two pages of image data is recorded on the single sheet in the recording unit 9 in parallel in the vertical direction with respect to the recording order (the moving direction of the sheet at the time of recording), the same is true for the two pages of image data. Since the line data is stored in the same area of the image memory 906, the skip size SS is calculated by (data size DS for one line) + 2 × (blank size WS), where S is 2 in the above-described calculation formula. . Note that the skip size SS may be selected from a plurality of skip sizes SS stored in the RAM 13 based on the aggregate copy setting, paper setting, and the like input from the operation unit 10.

DMAC14は、制御部2からの転送命令によって、1ラインのデータをデコーダ7から指定アドレスを先頭としてイメージメモリ8の領域に転送する処理を第1格納先頭アドレスTAを最初の指定アドレスとして行う転送処理と、これにより前記領域に格納された1ラインのデータの後端のアドレスにスキップサイズSSを加えて次の指定アドレスを指定するアドレス指定処理と、を交互に繰返して、1ページ目の画像データP1をデコーダ7からイメージメモリ8にDMA転送し格納する。これにより、1ページ目の画像データP1は、1ライン目のデータが1番目の領域Aに、2ライン目のデータが2番目の領域Aに、のように順に、M番目の領域Aに格納されるMライン目のデータまで、イメージメモリ8の各領域にそれぞれ個別に1ラインのデータが当該領域の先頭アドレスから格納される。このように、1ページ目の全ての画像データP1は、制御部2からの1回の転送命令によって、DMAC14によってデコーダ7からイメージメモリ8にDMA転送される。 The DMAC 14 performs a process of transferring one line of data from the decoder 7 to the area of the image memory 8 with the designated address as the head, using the first storage head address TA 1 as the first designated address in response to a transfer command from the control unit 2. The image of the first page is alternately repeated by repeating the process and the address designation process for designating the next designated address by adding the skip size SS to the rear end address of the data of one line stored in the area. Data P1 is DMA-transferred from the decoder 7 to the image memory 8 and stored. Thus, the image data P1 of the first page, the first line of data is the first area A 1, 2 line data in the second area A 2, in the order as, M-th region A to M-th line of data stored in the M, the data of each individual one line in each area of the image memory 8 is stored from the start address of the area. As described above, all the image data P1 of the first page is DMA-transferred from the decoder 7 to the image memory 8 by the DMAC 14 in response to a single transfer command from the control unit 2.

次に、制御部2は、第2格納先頭アドレスTAをDMAC14のレジスタ18に格納し、2ページ目の画像データP2に対する格納先頭アドレスTAを設定する。ここで、第2格納先頭アドレスTAは、2ページ目の画像データP2を格納する際に格納を開始する先頭となるイメージメモリ8におけるアドレスであり、イメージメモリ8の1番目の領域Aの先頭アドレスTAに前記データサイズDSと空白サイズWSとを加えたアドレスである。 Next, the control unit 2 stores the second storage head address TA 2 in the register 18 of the DMAC 14, sets the storage head address TA for the image data P2 of the second page. Here, the second storage head address TA 2 is an address in the image memory 8 which is the head of the storage when the image data P 2 of the second page is stored, and is the first area A 1 of the image memory 8. wherein the top address TA 1 which is the data size DS and blank size WS and the address obtained by adding.

DMAC14は、制御部2からの転送命令によって、1ラインのデータをデコーダ7から指定アドレスを先頭としてイメージメモリ8の領域に転送する処理を第2格納先頭アドレスTAを最初の指定アドレスとして行う転送処理と、これにより前記領域に格納された1ラインのデータの後端のアドレスにスキップサイズSSを加えて次の指定アドレスを指定するアドレス指定処理と、を交互に繰返して、2ページ目の画像データP2をデコーダ7からイメージメモリ8にDMA転送し格納する。これにより、2ページ目の画像データP2は、1ライン目のデータが1番目の領域Aに、2ライン目のデータが2番目の領域Aに、のように順に、M番目の領域Aに格納されるMライン目のデータまで、イメージメモリ8の各領域にそれぞれ個別に1ラインのデータが当該領域の先頭アドレスにデータサイズDSと空白サイズWSとを加えたアドレスから格納される。このように、2ページ目の全ての画像データP2は、制御部2からの1回の転送命令によって、DMAC14によりデコーダ7からイメージメモリ8にDMA転送される。 DMAC14 is by the transfer command from the control unit 2 performs a process of transferring data for one line in the area of the image memory 8 as the top of the designated address from the decoder 7 a second storage head address TA 2 as the first specified address transfer The image of the second page is alternately repeated by repeating the process and the address designation process for designating the next designated address by adding the skip size SS to the rear end address of the data of one line stored in the area. Data P2 is DMA transferred from the decoder 7 to the image memory 8 and stored. Thus, the image data P2 of the second page, the first line of data is the first area A 1, 2 line data in the second area A 2, in the order as, M-th region A until the data of the M-th line stored in the M, is stored at the address data of each individual one line each region plus the data to the head address size DS and blank size WS of the area of the image memory 8. Thus, all the image data P2 of the second page is DMA-transferred from the decoder 7 to the image memory 8 by the DMAC 14 in response to a single transfer command from the control unit 2.

次に、制御部2は、第3格納先頭アドレスTAをDMAC14のレジスタ18に格納し、3ページ目の画像データP3に対する格納先頭アドレスTAを設定する。ここで、第3格納先頭アドレスTAは、3ページ目の画像データP3を格納する際に格納を開始する先頭となるイメージメモリ8におけるアドレスであり、イメージメモリ8の(M+W+1)番目の領域AM+W+1の先頭アドレスである。なお、イメージメモリ8の領域AM+1から領域AM+WまでのW個の領域は、1ページ目及び2ページ目の画像データP1,P2と3ページ目及び4ページ目の画像データP3,P4とを所定の領域だけ隔てるために、データが格納されない空白の領域となっている。 Next, the control unit 2 stores the third storage head address TA 3 in the register 18 of the DMAC 14, sets the storage head address TA for the image data P3 of the third page. The third storage head address TA 3 is an address in the image memory 8 as the top to start storing in storing the image data P3 of the third page, the image memory 8 (M + W + 1) th region A This is the start address of M + W + 1 . The W areas from the area A M + 1 to the area A M + W of the image memory 8 include the image data P1 and P2 of the first page and the second page and the image data P3 and P4 of the third page and the fourth page. Since it is separated by a predetermined area, it is a blank area in which no data is stored.

DMAC14は、制御部2からの転送命令によって、1ラインのデータをデコーダ7から指定アドレスを先頭としてイメージメモリ8の領域に転送する処理を第3格納先頭アドレスTAを最初の指定アドレスとして行う転送処理と、これにより前記領域に格納された1ラインのデータの後端のアドレスにスキップサイズSSを加えて次の指定アドレスを指定するアドレス指定処理と、を交互に繰返して、3ページ目の画像データP3をデコーダ7からイメージメモリ8にDMA転送し格納する。これにより、3ページ目の画像データP3は、1ライン目のデータが(M+W+1)番目の領域AM+W+1に、2ライン目のデータが(M+W+2)番目の領域AM+W+2に、のように順に、(2M+W)番目の領域A2M+wに格納されるMライン目のデータまで、イメージメモリ8の各領域にそれぞれ個別に1ラインのデータが当該領域の先頭アドレスから格納される。このように、3ページ目の全ての画像データP3は、制御部2からの1回の転送命令によって、DMAC14によりデコーダ7からイメージメモリ8にDMA転送される。 The DMAC 14 performs a process of transferring one line of data from the decoder 7 to the area of the image memory 8 with the designated address as the head, using the third storage head address TA 3 as the first designated address in response to a transfer command from the control unit 2. The image of the third page is alternately repeated by repeating the processing and the address designation processing for designating the next designated address by adding the skip size SS to the rear end address of the data of one line stored in the area. Data P3 is DMA-transferred from the decoder 7 to the image memory 8 and stored. As a result, the image data P3 on the third page is in the order of (M + W + 1) th area A M + W + 1 for the first line data, and (M + W + 2) th area A M + W + 2 for the second line ( Up to the Mth line data stored in the (2M + W) th area A 2M + w , one line of data is stored in each area of the image memory 8 from the start address of the area. Thus, all the image data P3 of the third page is DMA-transferred from the decoder 7 to the image memory 8 by the DMAC 14 in response to a single transfer command from the control unit 2.

次に、制御部2は、第4格納先頭アドレスTAをDMAC14のレジスタ18に格納し、4ページ目の画像データP4に対する格納先頭アドレスTAを設定する。ここで、第4格納先頭アドレスTAは、4ページ目の画像データP4を格納する際に格納を開始する先頭となるイメージメモリ8におけるアドレスであり、イメージメモリ8の(M+W+1)番目の領域AM+W+1の先頭アドレスTAに前記データサイズDSと空白サイズWSとを加えたアドレスである。 Next, the control unit 2 stores the fourth storage head address TA 4 in register 18 of the DMAC 14, sets the storage head address TA for the image data P4 of the fourth page. Here, the fourth storage head address TA 4 is an address in the image memory 8 which is the head of the storage when the image data P4 of the fourth page is stored, and the (M + W + 1) th area A of the image memory 8 wherein the top address TA 3 of M + W + 1 is the data size DS and blank size WS and the address obtained by adding.

DMAC14は、制御部2からの転送命令によって、1ラインのデータをデコーダ7から指定アドレスを先頭としてイメージメモリ8の領域に転送する処理を第4格納先頭アドレスTAを最初の指定アドレスとして行う転送処理と、これにより前記領域に格納された1ラインのデータの後端のアドレスにスキップサイズSSを加えて次の指定アドレスを指定するアドレス指定処理と、を交互に繰返して、4ページ目の画像データP4をデコーダ7からイメージメモリ8にDMA転送し格納する。これにより、4ページ目の画像データP4は、1ライン目のデータが(M+W+1)番目の領域AM+W+1に、2ライン目のデータが(M+W+2)番目の領域AM+W+2に、のように順に、(2M+W)番目の領域A2M+Wに格納されるMライン目のデータまで、イメージメモリ8の各領域にそれぞれ個別に1ラインのデータが当該領域の先頭アドレスにデータサイズDSと空白サイズWSとを加えたアドレスから格納される。このように、4ページ目の全ての画像データP4は、制御部2からの1回の転送命令によって、DMAC14によりデコーダ7からイメージメモリ8にDMA転送される。 The DMAC 14 performs a process of transferring one line of data from the decoder 7 to the area of the image memory 8 with the designated address as the head, using the fourth storage head address TA 4 as the first designated address in response to a transfer command from the control unit 2. The image of the fourth page is alternately repeated by repeating the processing and the address designating process for designating the next designated address by adding the skip size SS to the rear end address of the data of one line stored in the area. Data P4 is DMA-transferred from the decoder 7 to the image memory 8 and stored. As a result, the image data P4 of the fourth page is (M + W + 1) th area AM + W + 1 in the first line data, and (M + W + 2) th area AM + W + 2 in the second line data in order ( 2M + W) area A Up to the Mth line data stored in 2M + W , one line of data is individually added to each area of the image memory 8, and the data size DS and the blank size WS are added to the start address of the area. Stored from address. Thus, all the image data P4 of the fourth page is DMA-transferred from the decoder 7 to the image memory 8 by the DMAC 14 in response to a single transfer command from the control unit 2.

制御部2は、このようにしてイメージメモリ8に格納された4ページの画像データP1〜P4からなる1ページ分の集約画像データを記録部9に出力する。記録部9は、イメージメモリ8の各領域に格納されたデータを、それぞれ1ラインの画像として、領域の順に1枚の用紙に記録する。これにより、4ページの画像データP1〜P4を集約した画像が1枚の用紙に記録される。なお、記録部9は、イメージメモリ8のデータが格納されていない空白の領域を余白として用紙に記録しても、当該空白の領域に対して記録を行わずに各ページの画像データP1〜P4の画像を互いに隣接させて用紙に記録してもよい。   The control unit 2 outputs the aggregated image data for one page including the four pages of image data P <b> 1 to P <b> 4 stored in the image memory 8 in this way to the recording unit 9. The recording unit 9 records the data stored in each area of the image memory 8 as one line image on one sheet in the order of the area. As a result, an image in which the four pages of image data P1 to P4 are collected is recorded on one sheet. Even if the recording unit 9 records a blank area in which data of the image memory 8 is not stored as a margin on a sheet, the image data P1 to P4 of each page is not recorded without recording the blank area. These images may be recorded on paper adjacent to each other.

このように、複数ページの画像データを集約してその画像を1枚の用紙に記録する場合、複数ページの画像データをイメージメモリ8に転送する際、制御部2からの1回の転送命令によって、DMAC14は、制御部2が最初の指定アドレスを設定したページの全ての画像データをデコーダ7からイメージメモリ8にDMA転送し格納することができる。このため、制御部2からのページ数分の回数の転送命令によって、DMAC14は、複数ページの全ての画像データをデコーダ7からイメージメモリ8にDMA転送し格納することができる。   As described above, when a plurality of pages of image data are aggregated and the images are recorded on one sheet of paper, a plurality of pages of image data are transferred to the image memory 8 by a single transfer command from the control unit 2. The DMAC 14 can perform DMA transfer from the decoder 7 to the image memory 8 and store all the image data of the page for which the control unit 2 has set the first designated address. For this reason, the DMAC 14 can DMA-transfer and store all the image data of a plurality of pages from the decoder 7 to the image memory 8 by a transfer instruction for the number of pages from the control unit 2.

なお、複数ページの画像データが、例えば、CMYK表色系、RGB表色系、L*a*b*表色系やYCrCb表色系などのように複数の色成分からなるカラー画像データである場合には、制御部2は、ページ毎かつ各色成分毎にイメージメモリ8の格納先頭アドレスTAを設定し、DMAC14は、制御部2でアドレスを設定したページの1つの色成分の画像データをデコーダ7からイメージメモリ8に転送する。記録部9は、イメージメモリ8に格納された複数ページの各色成分の画像データのカラー画像を1枚の用紙に記録する。例えば、複数ページの画像データがCMYK表色系である場合、まず、DMAC14は、複数ページのC(シアン)成分の画像データをデコーダ7からイメージメモリ8にページ毎に転送し、イメージメモリ8にC成分の集約画像データを格納する。その後、同様に、DMAC14は、複数ページのM(マゼンタ)、Y(イエロ)及びK(ブラック)成分の画像データをページ毎にデコーダ7からイメージメモリ8に転送し、イメージメモリ8にこれら各色成分の集約画像データを格納する。記録部9は、イメージメモリ8に格納されたCMYK各色成分の集約画像データのカラー画像を1枚の用紙に記録する。   Note that the image data of a plurality of pages is color image data including a plurality of color components such as a CMYK color system, an RGB color system, an L * a * b * color system, a YCrCb color system, and the like. In this case, the control unit 2 sets the storage head address TA of the image memory 8 for each page and for each color component, and the DMAC 14 decodes image data of one color component of the page for which the address is set by the control unit 2. 7 to the image memory 8. The recording unit 9 records the color image of the image data of each color component of a plurality of pages stored in the image memory 8 on one sheet. For example, when the image data of a plurality of pages is a CMYK color system, first, the DMAC 14 transfers the image data of the C (cyan) component of the plurality of pages from the decoder 7 to the image memory 8 for each page, and then to the image memory 8. The C component aggregated image data is stored. Thereafter, similarly, the DMAC 14 transfers image data of M (magenta), Y (yellow), and K (black) components of a plurality of pages from the decoder 7 to the image memory 8 for each page, and these color components are transferred to the image memory 8. The aggregated image data is stored. The recording unit 9 records the color image of the aggregate image data of the CMYK color components stored in the image memory 8 on one sheet.

また、本発明の実施の形態においては、符号化された画像データに対してデコーダ7で復号処理と縮小処理を行った画像データをDMAC14によってイメージメモリ8にDMA転送する場合について説明した。しかしながら、例えば、画像データに対して縮小処理を行う縮小処理部を設け、符号化されていない画像データに対して縮小処理部で必要に応じて縮小処理を行った画像データをDMAC14によってイメージメモリ8にDMA転送してもよい。また、例えば、符号化された複数ページの画像データを集約して、1枚の用紙にその画像を縮小することなく記録する場合には、デコーダ7で復号処理のみを行った画像データをDMAC14によってイメージメモリ8にDMA転送してもよい。さらに、例えば、符号化されていない複数ページの画像データを集約して、1枚の用紙にその画像を縮小することなく記録する場合には、画像メモリ6から直接画像データを読み出しDMAC14によってイメージメモリ8にDMA転送してもよい。   In the embodiment of the present invention, the case where image data obtained by performing decoding processing and reduction processing on the encoded image data by the decoder 7 is DMA-transferred to the image memory 8 by the DMAC 14 has been described. However, for example, a reduction processing unit that performs reduction processing on image data is provided, and image data that has been subjected to reduction processing by the reduction processing unit as necessary for image data that has not been encoded is stored in the image memory 8 by the DMAC 14. DMA transfer may be performed. For example, when the encoded image data of a plurality of pages are collected and recorded on a single sheet without reducing the image, the image data subjected to only the decoding process by the decoder 7 is transmitted by the DMAC 14. DMA transfer to the image memory 8 may be performed. Further, for example, when image data of a plurality of pages that have not been encoded are aggregated and recorded on one sheet without being reduced, the image data is read directly from the image memory 6 and the image memory is used by the DMAC 14. 8 may be DMA-transferred.

また、本発明の実施の形態においては、画像読取部3が原稿を読み取った複数ページの画像データを集約してその画像を1枚の用紙に記録する場合について説明した。しかしながら、例えば、PSTN19を介して外部の装置からファクシミリ受信した複数ページの画像データを集約してその画像を1枚の用紙に記録してもよい。   In the embodiment of the present invention, the case has been described in which the image reading unit 3 collects a plurality of pages of image data read from the original and records the image on a single sheet. However, for example, a plurality of pages of image data received by facsimile from an external device via the PSTN 19 may be aggregated and the image may be recorded on one sheet.

また、本発明の実施の形態においては、図2に示すように、1ラインのデータであるデータサイズDSのデータ毎にそれぞれ空白サイズWSを隔てて、複数ページの画像データからなる集約画像データがイメージメモリ8に格納される場合について説明した。しかしながら、1ラインのデータ毎がそれぞれ隣り合うように、集約画像データをイメージメモリ8に格納してもよい。この場合には、上述した空白サイズWSを0とみなしてDMAC14によるDMA転送を行えばよい。また、本発明の実施の形態においては、図2に示すように、1ページ目と3ページ目との画像データP1、P3や、2ページ目と4ページ目との画像データP2、P4は、それぞれW個の領域を隔ててイメージメモリ8に格納される場合について説明した。しかしながら、これらの画像データはそれぞれ、領域を隔てることなく、連続してイメージメモリ8に格納してもよい。この場合には、上述したWを0とみなしてDMAC14によるDMA転送すればよい。   Further, in the embodiment of the present invention, as shown in FIG. 2, aggregated image data composed of image data of a plurality of pages is separated for each data of data size DS that is one line of data with a blank size WS. The case where it is stored in the image memory 8 has been described. However, the aggregated image data may be stored in the image memory 8 so that each line of data is adjacent to each other. In this case, the above-described blank size WS is regarded as 0 and DMA transfer by the DMAC 14 may be performed. In the embodiment of the present invention, as shown in FIG. 2, the image data P1 and P3 of the first page and the third page, and the image data P2 and P4 of the second page and the fourth page are The case where each of the W areas is stored in the image memory 8 has been described. However, each of these image data may be continuously stored in the image memory 8 without separating the areas. In this case, the above-described W may be regarded as 0 and DMA transfer by the DMAC 14 may be performed.

本発明に係る画像処理装置は、複数ページの画像データを集約してその画像を1枚の用紙に記録することが必要な機器等にて利用することができる。   The image processing apparatus according to the present invention can be used in a device or the like that aggregates image data of a plurality of pages and records the image on one sheet.

本発明の実施の形態に係る画像処理装置1の構成図である。1 is a configuration diagram of an image processing apparatus 1 according to an embodiment of the present invention. 4ページの画像データP1〜P4からなる集約画像データが格納されたイメージメモリ8のアドレス空間の概念図である。It is a conceptual diagram of the address space of the image memory 8 in which aggregated image data composed of four pages of image data P1 to P4 is stored. (a)は4ページの画像データを、(b)は4ページの画像データP1〜P4からなる集約画像データを示す説明図である。(A) is image data of 4 pages, (b) is explanatory drawing which shows the aggregate image data which consists of image data P1-P4 of 4 pages. 画像処理装置1のブロック図である。1 is a block diagram of an image processing device 1. FIG. 従来の画像処理装置のブロック図である。It is a block diagram of the conventional image processing apparatus. 4ページの画像データP1〜P4からなる集約画像データが格納されたイメージメモリ906のアドレス空間の概念図である。It is a conceptual diagram of the address space of the image memory 906 in which aggregated image data composed of four pages of image data P1 to P4 is stored.

符号の説明Explanation of symbols

1 画像処理装置
2 制御部(設定手段)
7 デコーダ(転送元)
8 イメージメモリ(格納手段)
9 記録部(記録手段)
14 DMAC(転送手段)
DESCRIPTION OF SYMBOLS 1 Image processing apparatus 2 Control part (setting means)
7 Decoder (Transfer source)
8 Image memory (storage means)
9 Recording section (recording means)
14 DMAC (Transfer means)

Claims (4)

一定の領域サイズに分割された複数の領域を有し、2ページ以上の画像データについて同一ラインのデータを各領域にそれぞれ格納して自装置内の所定の転送元から転送された複数ページの画像データを格納する格納手段と、前記複数ページの画像データに対して前記格納手段における先頭アドレスを各ページ毎に設定する設定手段と、前記先頭アドレスが設定された各ページ毎に、1ラインのデータを前記転送元から指定アドレスを先頭として前記領域に転送する処理を前記先頭アドレスを最初の指定アドレスとして行う処理と、これにより前記領域に格納された前記1ラインのデータの後端のアドレスにその領域に格納される他のページの1ライン分のデータサイズを含むスキップサイズを加えて次の領域における指定アドレスを指定する処理と、を交互に繰返して前記複数ページの画像データを前記転送元から前記格納手段に転送する転送手段と、前記格納手段に転送された前記複数ページの画像データの画像を1枚の用紙に記録する記録手段と、を備えることを特徴とする画像処理装置。   Multiple page images having a plurality of areas divided into a certain area size and storing the same line data in each area for image data of two or more pages and transferred from a predetermined transfer source in the own apparatus Storage means for storing data, setting means for setting the top address in the storage means for each page for the image data of the plurality of pages, and one line of data for each page for which the start address is set Is transferred from the transfer source to the area with the specified address as the head, and the head address is used as the first specified address, and the end address of the one-line data stored in the area is Specify the specified address in the next area by adding the skip size including the data size of one line of other pages stored in the area A transfer means for transferring the plurality of pages of image data from the transfer source to the storage means by alternately repeating processing, and an image of the plurality of pages of image data transferred to the storage means on a single sheet. An image processing apparatus comprising: recording means for recording. 一定の領域サイズに分割された複数の領域を有し、2ページ以上の画像データについて同一ラインのデータを各領域にそれぞれ格納して自装置内の所定の転送元から転送された複数ページの画像データを格納する格納手段と、前記複数ページの画像データに対して前記格納手段における先頭アドレスを各ページ毎に設定する設定手段と、前記先頭アドレスが設定された各ページ毎に、1ラインのデータを前記転送元から指定アドレスを先頭として前記領域に転送する処理を前記先頭アドレスを最初の指定アドレスとして行う処理と、この処理における指定アドレスに前記領域サイズを加えて次の領域における指定アドレスを指定する処理と、を交互に繰返して前記複数ページの画像データを前記転送元から前記格納手段に転送する転送手段と、前記格納手段に転送された前記複数ページの画像データの画像を1枚の用紙に記録する記録手段と、を備えることを特徴とする画像処理装置。   Multiple page images having a plurality of areas divided into a certain area size and storing the same line data in each area for image data of two or more pages and transferred from a predetermined transfer source in the own apparatus Storage means for storing data, setting means for setting the top address in the storage means for each page for the image data of the plurality of pages, and one line of data for each page for which the start address is set The process of transferring the address from the transfer source to the area with the specified address as the head, the process of performing the start address as the first specified address, and specifying the specified address in the next area by adding the area size to the specified address in this process And a transfer means for transferring the plurality of pages of image data from the transfer source to the storage means by alternately repeating the processing The image processing apparatus comprising: a recording means for recording the image of the image data of the plurality of pages that are transferred to the storage unit on one sheet of paper. 前記転送元は、符号化処理された複数ページの画像データに対して復号処理と縮小処理を行うものであることを特徴とする請求項1又は2に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the transfer source performs a decoding process and a reduction process on the encoded image data of a plurality of pages. 前記複数ページの画像データは、複数の色成分からなるカラー画像データの何れか1つの色成分のデータであることを特徴とする請求項1から3の何れか1項に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the image data of the plurality of pages is data of any one color component of color image data including a plurality of color components.
JP2004164722A 2004-06-02 2004-06-02 Image processing apparatus Pending JP2005348046A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004164722A JP2005348046A (en) 2004-06-02 2004-06-02 Image processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004164722A JP2005348046A (en) 2004-06-02 2004-06-02 Image processing apparatus

Publications (1)

Publication Number Publication Date
JP2005348046A true JP2005348046A (en) 2005-12-15

Family

ID=35500015

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004164722A Pending JP2005348046A (en) 2004-06-02 2004-06-02 Image processing apparatus

Country Status (1)

Country Link
JP (1) JP2005348046A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009241524A (en) * 2008-03-31 2009-10-22 Brother Ind Ltd Image output apparatus
WO2015019680A1 (en) * 2013-08-07 2015-02-12 日立オートモティブシステムズ株式会社 Image processing device and image processing system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009241524A (en) * 2008-03-31 2009-10-22 Brother Ind Ltd Image output apparatus
WO2015019680A1 (en) * 2013-08-07 2015-02-12 日立オートモティブシステムズ株式会社 Image processing device and image processing system
JP2015033100A (en) * 2013-08-07 2015-02-16 日立オートモティブシステムズ株式会社 Image processing device and image processing system
US10078880B2 (en) 2013-08-07 2018-09-18 Hitachi Automotive Systems, Ltd. Image processing device and image processing system

Similar Documents

Publication Publication Date Title
US7933049B2 (en) Multifunction printer and image processing method
JP2006121607A (en) Image processor and image processing method
JP2009272774A (en) Image processor, image forming apparatus, image processing method, and computer program
JP5212886B2 (en) Image forming system and image forming program
JP2007005972A (en) Image processing apparatus
JP2007082060A (en) Image processing device and connection system for image processings
JP2005348046A (en) Image processing apparatus
JP5326882B2 (en) Image processing device
JP2010253844A (en) Image processing device
JP4753253B2 (en) Image processing device
JP2003333267A (en) Communication terminal device and server device
JP2008022082A (en) Image forming apparatus and control method thereof
JP2004158999A (en) Color image reading and recording apparatus
JP2006033387A (en) Image forming apparatus equipped with removable external memory and control method thereof
JP2007274436A (en) Image processing apparatus and image data processing method in image processing apparatus
JP2006287707A (en) Image processor
JP2006157806A (en) Image processor
JP5523273B2 (en) Image processing apparatus, method for controlling image processing apparatus, and program
JPH09179964A (en) System and method for image input/output data processing, and input/output data controller for the same system
JP2000216992A (en) Facsimile equipment
JP2006295301A (en) Image forming apparatus
JP2010278535A (en) Image processing apparatus
JP2007030352A (en) Multi-color image printer
JP2007025112A (en) Image input/output device
JP2007028064A (en) Image forming apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070420

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080815

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080909

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090127