[go: up one dir, main page]

JP2009033242A - Image forming apparatus and image data storage method of image forming apparatus - Google Patents

Image forming apparatus and image data storage method of image forming apparatus Download PDF

Info

Publication number
JP2009033242A
JP2009033242A JP2007192229A JP2007192229A JP2009033242A JP 2009033242 A JP2009033242 A JP 2009033242A JP 2007192229 A JP2007192229 A JP 2007192229A JP 2007192229 A JP2007192229 A JP 2007192229A JP 2009033242 A JP2009033242 A JP 2009033242A
Authority
JP
Japan
Prior art keywords
image data
block
capacity
image
blocks
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
JP2007192229A
Other languages
Japanese (ja)
Inventor
Masaki Inui
正樹 乾
Takeshi Muto
健 武藤
Kazuma Ogawa
数馬 小川
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP2007192229A priority Critical patent/JP2009033242A/en
Publication of JP2009033242A publication Critical patent/JP2009033242A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)
  • Facsimiles In General (AREA)
  • Storing Facsimile Image Data (AREA)
  • Color Image Communication Systems (AREA)

Abstract

【課題】カラー画像を示す各色の画像データを記憶するに際し、各色の画像データ全てをブロック単位で記憶しながらも、メモリの記憶容量の利用効率の低下を抑えることが可能な画像形成装置を提供する。
【解決手段】最後の3つのブロックBR3、BG3、BB3のうちから、最小の空白容量を有する最後のブロックBR3が選択され、選択されなかった他の最後の2つのブロックBG3、BB3の画像データ部分が選択された最後のブロックBR3の最小の空白容量に移動されて記憶され、選択された最後のブロックBR3だけがHDD15に残されて記憶され、選択されなかった他の最後のブロックBG3、BB3がHDD15から消去される。
【選択図】図2
Provided is an image forming apparatus capable of suppressing a decrease in use efficiency of memory capacity while storing all color image data in units of blocks when storing color image data representing a color image. To do.
The last block BR3 having the smallest blank capacity is selected from the last three blocks BR3, BG3, and BB3, and the image data portions of the other last two blocks BG3 and BB3 that are not selected are selected. Is moved to the minimum blank capacity of the selected last block BR3 and stored, and only the selected last block BR3 is left and stored in the HDD 15, and other unselected last blocks BG3 and BB3 are stored. It is erased from the HDD 15.
[Selection] Figure 2

Description

本発明は、画像データを記憶するに際し、画像データをブロック単位で記憶する画像形成装置及び画像形成装置の画像データ記憶方法に関する。   The present invention relates to an image forming apparatus that stores image data in units of blocks when storing image data, and an image data storage method for the image forming apparatus.

従来の画像形成装置では、画像データを記憶するに際し、画像データをブロック単位で記憶することが多い。これは、大容量の画像データを1バイト単位で記憶管理したならば、その管理及び制御が煩雑化するからである。通常、ブロック単位としては、4Kバイト、8Kバイト、…、512Kバイト等が用いられる。   Conventional image forming apparatuses often store image data in units of blocks when storing the image data. This is because if large-capacity image data is stored and managed in units of 1 byte, its management and control become complicated. Usually, 4 Kbytes, 8 Kbytes,..., 512 Kbytes are used as a block unit.

画像データをブロック単位で記憶するには、例えば画像データをその先頭から規定容量ずつ分割して、規定容量の画像データ部分からなるブロックを生成し、このブロックを記憶して行く。ところが、最後に分割された画像データ部分が都合よく規定容量になることは殆どなく、この最後の画像データ部分が規定容量未満になって、この最後の画像データ部分を含むブロックに未使用の空白容量が生じることが多い。しかも、画像毎に、画像データをその先頭からブロックに分割することから、それぞれの画像について、最後のブロックに未使用の空白容量が生じることになる。   In order to store the image data in units of blocks, for example, the image data is divided by a prescribed capacity from the beginning, a block composed of image data portions having a prescribed capacity is generated, and this block is stored. However, the last divided image data portion hardly has a specified capacity, and the last image data part becomes less than the specified capacity, and an unused blank is left in a block including the last image data part. Capacity often occurs. Moreover, since the image data is divided into blocks from the head for each image, an unused blank capacity is generated in the last block for each image.

また、カラー画像の場合は、R、G、B等の各色の画像データ別に、画像データをブロック単位で記憶するので、各色毎に、未使用の空白容量を含む最後のブロックが生じることになる。このため、未使用の空白容量が無視できない程度まで大きくなり、メモリ(HDD等)の記憶容量の利用効率が低下した。例えば、図4に示すような赤(R)、緑(G)、青(B)の各画像データDR、DG、DBでは、2つ目のブロックBR2、BG2、BB2までは規定容量の画像データ部分で満たされているが、3つ目のブロックBR3、BG3、BB3の画像データ部分Dr3、Dg3、Db3が規定容量未満であるため、これらのブロックBR3〜BB3に未使用の空白容量が生じる。このような未使用の空白容量を含むブロックが多発することから、メモリの記憶容量の利用効率が低下した。   In the case of a color image, the image data is stored in units of blocks for each color image data such as R, G, B, etc., so that the last block including an unused blank capacity is generated for each color. . For this reason, the unused blank capacity is increased to a level that cannot be ignored, and the use efficiency of the storage capacity of the memory (HDD or the like) is lowered. For example, in the red (R), green (G), and blue (B) image data DR, DG, and DB as shown in FIG. 4, the image data having a prescribed capacity up to the second block BR2, BG2, BB2 is used. However, since the image data portions Dr3, Dg3, Db3 of the third block BR3, BG3, BB3 are less than the prescribed capacity, unused blank capacity is generated in these blocks BR3 to BB3. Since such blocks including unused blank capacity frequently occur, the use efficiency of the storage capacity of the memory is lowered.

このため、特許文献1では、最後に分割された画像データ部分については、規定容量のブロックを割り当てずに、1バイト単位で記憶して、未使用の空白容量を含む最後のブロックが生じないようにしていた。
特開2003−305904号公報
For this reason, in Patent Document 1, the last divided image data portion is stored in units of 1 byte without allocating a block having a specified capacity so that the last block including unused blank capacity does not occur. I was doing.
JP 2003-305904 A

しかしながら、特許文献1のように最後に分割された画像データ部分のみを別扱いとして、この最後の画像データ部分を1バイト単位で記憶する場合は、この最後の画像データの記憶の管理及び制御が煩雑化するだけではなく、ブロック単位の記憶及び1バイト単位の記憶の両方を管理及び制御しなければならなかった。   However, when only the last divided image data portion is treated as in Patent Document 1 and the last image data portion is stored in units of 1 byte, the management and control of the storage of the last image data is not possible. Besides complicating, both block unit storage and 1 byte unit storage must be managed and controlled.

そこで、本発明は、上記課題を解決するためになされたものであり、カラー画像を示す各色の画像データを記憶するに際し、各色の画像データ全てをブロック単位で記憶しながらも、メモリの記憶容量の利用効率の低下を抑えることが可能な画像形成装置及び画像形成装置の画像データ記憶方法を提供することを目的とする。   Therefore, the present invention has been made to solve the above-described problem. When storing image data of each color indicating a color image, the memory capacity of the memory is stored while all the image data of each color is stored in units of blocks. An object of the present invention is to provide an image forming apparatus and an image data storage method for the image forming apparatus that can suppress a decrease in the use efficiency of the image forming apparatus.

上記課題を解決するために、本発明は、カラー画像を印刷する画像形成装置において、
カラー画像を示す各色の画像データを規定容量のブロック単位で記憶する記憶手段と、前記各色の画像データ別に、画像データに処理を施しつつ、画像データをその先頭からブロック相当の規定容量ずつに分割して、規定容量の画像データ部分からなるブロックを前記記憶手段に記憶して行き、各色の画像データから最後に分割されたそれぞれの画像データ部分が規定容量未満となって、これらの画像データ部分を含むそれぞれのブロックに未使用の空き容量が生じた場合は、未使用の空き容量が生じた各ブロックの画像データ部分を該各ブロックのいずれか1つに移動してまとめて、この1つのブロックを前記記憶手段に記憶する制御手段とを備えている。
In order to solve the above problems, the present invention provides an image forming apparatus for printing a color image.
Storage means for storing image data of each color representing a color image in units of blocks of a prescribed capacity, and processing the image data for each image data of each color while dividing the image data into prescribed capacity equivalent to blocks from the beginning Then, a block composed of image data portions having a prescribed capacity is stored in the storage means, and the respective image data portions finally divided from the image data of each color become less than the prescribed capacity, and these image data portions When an unused free space occurs in each block including the image data portion of each block in which the unused free space has occurred is moved to any one of the blocks, and this one block is collected. Control means for storing the block in the storage means.

また、前記制御手段は、1つのカラー画像毎に、未使用の空き容量が生じた各ブロックの画像データ部分を該各ブロックのいずれか1つに移動してまとめて、この1つのブロックを前記記憶手段に記憶している。   Further, the control means moves, for each color image, the image data portion of each block in which an unused free space has occurred to one of the blocks, and combines the one block into the one block. It is stored in the storage means.

更に、前記制御手段は、1つのカラー画像毎に、未使用の空き容量が生じた各ブロックのうちから最大容量の画像データ部分を含む1つのブロックを選択し、この1つのブロックに他の各ブロックの画像データ部分を移動してまとめて、この1つのブロックを前記記憶手段に記憶している。   Further, the control means selects, for each color image, one block including the image data portion having the maximum capacity from among the blocks in which unused free space has occurred, and sets the other blocks to this one block. The image data portions of the blocks are moved and gathered, and this one block is stored in the storage means.

一方、本発明は、カラー画像を印刷する画像形成装置の画像データ記憶方法において、カラー画像を示す各色の画像データ別に、画像データに処理を施しつつ、画像データをその先頭からブロック相当の規定容量ずつ分割して、規定容量の画像データ部分からなるブロックを記憶手段に記憶して行くステップと、各色の画像データから最後に分割されたそれぞれの画像データ部分が規定容量未満となって、これらの画像データ部分を含むそれぞれのブロックに未使用の空き容量が生じた場合は、未使用の空き容量が生じた各ブロックの画像データ部分を該各ブロックのいずれか1つに移動してまとめて、この1つのブロックを前記記憶手段に記憶するステップとを含んでいる。   On the other hand, according to the present invention, in an image data storage method of an image forming apparatus that prints a color image, the image data is processed for each color image data indicating a color image, and the image data is processed from the head to a specified capacity corresponding to a block. A step of storing each block of image data portions of a prescribed capacity in a storage means, and each image data portion finally divided from the image data of each color becomes less than the prescribed capacity, When unused free space has occurred in each block including the image data portion, the image data portion of each block in which the unused free space has occurred is moved to one of the blocks, Storing the one block in the storage means.

本発明によれば、各色の画像データ別に、画像データに処理を施しつつ、画像データをその先頭からブロック相当の規定容量ずつに分割して、規定容量の画像データ部分からなるブロックを記憶手段に記憶している。従って、規定容量の画像データ部分で満たされたブロックがそのまま記憶される。そして、各色の画像データから最後に分割されたそれぞれの画像データ部分が規定容量未満となって、これらの画像データ部分を含むそれぞれのブロックに未使用の空き容量が生じた場合は、各色の画像データ部分を1つのブロックにまとめて、この1つのブロックを記憶手段に記憶している。従って、最後に分割された規定容量未満の各色の画像データ部分のために、それぞれのブロックを記憶する必要がなく、1つのブロックだけを記憶すれば良く、記憶すべきブロックの数が減少すると共に、未使用の空き容量も減少し、記憶手段の記憶容量の利用効率の低下を抑えることができる。また、各色の画像データ全てをブロック単位で管理するので、画像データの管理及び制御が容易である。   According to the present invention, image data is processed for each color of image data, and the image data is divided into prescribed capacities corresponding to the blocks from the head, and a block composed of image data portions having the prescribed capacities is stored in the storage means. I remember it. Therefore, the block filled with the image data portion having the prescribed capacity is stored as it is. Then, when the image data portion finally divided from the image data of each color becomes less than the prescribed capacity, and an unused free space is generated in each block including these image data portions, the image of each color The data portions are combined into one block, and this one block is stored in the storage means. Therefore, it is not necessary to store each block for the image data portion of each color less than the predetermined capacity divided last, and only one block needs to be stored, and the number of blocks to be stored is reduced. The unused free capacity is also reduced, and the decrease in the utilization efficiency of the storage capacity of the storage means can be suppressed. In addition, since all the image data of each color is managed in units of blocks, it is easy to manage and control the image data.

例えば、1つのカラー画像毎に、未使用の空き容量が生じた各ブロックの画像データ部分を該各ブロックのいずれか1つに移動してまとめている。あるいは、1つのカラー画像毎に、未使用の空き容量が生じた各ブロックのうちから最大容量の画像データ部分を含む1つのブロックを選択し、この1つのブロックに他の各ブロックの画像データ部分を移動してまとめている。   For example, for each color image, the image data portion of each block in which unused free space is generated is moved to any one of the blocks. Alternatively, for each color image, one block including the image data portion having the maximum capacity is selected from the blocks in which unused free space is generated, and the image data portions of the other blocks are selected as one block. Move and summarize.

また、本発明の画像データ記憶方法は、上記本発明の画像形成装置と同様の作用及び効果を奏する。   Further, the image data storage method of the present invention has the same operations and effects as the image forming apparatus of the present invention.

以下、本発明の実施形態を添付図面を参照しつつ詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

図1は、本発明の画像形成装置の一実施形態を示すブロック図である。本実施形態の画像形成装置1は、例えば複写機、プリンタ、及びファクシミリ等の役目を果たすデジタル複合機であり、スキャナにより原稿画像を読み取って、原稿画像の画像データを生成し、画像データに各種の画像処理を施してから、画像データを印刷したり、ファクシミリ通信により画像データを送信したりする。あるいは、ファクシミリ通信により画像データを受信して、この画像データを印刷する。   FIG. 1 is a block diagram showing an embodiment of an image forming apparatus of the present invention. The image forming apparatus 1 according to the present embodiment is a digital multi-function peripheral that functions as, for example, a copying machine, a printer, and a facsimile machine. The image forming apparatus 1 reads an original image by a scanner, generates image data of the original image, and generates various image data. After the image processing is performed, the image data is printed or the image data is transmitted by facsimile communication. Alternatively, image data is received by facsimile communication, and this image data is printed.

このような多機能な画像形成装置1は、通信部11、スキャナ部12、印刷部13、制御部14、及びハードディスク装置(以下HDDと称す)15等を備えている。通信部11は、LANやインターネット等のネットワークに接続されており、このネットワークを通じて外部端末装置との間で、モノクロ画像やカラー画像を示す画像データを送受信する。スキャナ部12は、原稿画像を読み取るものであり、モノクロ画像及びカラー画像のいずれの原稿であっても読み取ることができ、モノクロ画像又はカラー画像を示す画像データを出力する。印刷部13は、画像データによって示されるモノクロ画像又はカラー画像を記録用紙に印刷する。HDD15は、スキャナ部12により読み取られた画像データを記憶したり、通信部11により送受信される画像データを記憶する。制御部14は、画像形成装置1を統括的に制御するものであり、通信部11、スキャナ部12、及び印刷部13を駆動制御し、またHDD15に対する画像データの記憶制御及び管理を行う。   Such a multifunctional image forming apparatus 1 includes a communication unit 11, a scanner unit 12, a printing unit 13, a control unit 14, a hard disk device (hereinafter referred to as HDD) 15, and the like. The communication unit 11 is connected to a network such as a LAN or the Internet, and transmits / receives image data indicating a monochrome image or a color image to / from an external terminal device through this network. The scanner unit 12 reads an original image, can read either a monochrome image or a color image, and outputs image data indicating a monochrome image or a color image. The printing unit 13 prints a monochrome image or a color image indicated by the image data on a recording sheet. The HDD 15 stores image data read by the scanner unit 12 and stores image data transmitted / received by the communication unit 11. The control unit 14 controls the image forming apparatus 1 in an integrated manner, drives and controls the communication unit 11, the scanner unit 12, and the printing unit 13, and performs storage control and management of image data in the HDD 15.

例えば、制御部14は、スキャナ部12により読み取られた画像データや通信部11により受信された画像データを入力して、この画像データを内蔵のメモリ14aに一旦記憶し、この画像データに対して各種の画像処理を施してから、この画像データをHDD15に転送して記憶する。そして、制御部14は、この画像データをHDD15から読み出して印刷部13に出力する。印刷部13は、画像データを入力すると、画像データによって示される画像を記録用紙に記録する。例えば、印刷部13では、電子写真方式による画像記録を行っており、LSUにより感光体を露光して、感光体上に画像データに対応する静電潜像を形成し、感光体上の静電潜像を現像して、感光体上に可視画像を形成し、感光体から記録用紙へと可視画像を転写して、記録用紙上の可視画像を定着する。   For example, the control unit 14 inputs image data read by the scanner unit 12 or image data received by the communication unit 11, temporarily stores this image data in the built-in memory 14 a, and outputs the image data to the image data. After performing various image processing, the image data is transferred to the HDD 15 and stored. Then, the control unit 14 reads out this image data from the HDD 15 and outputs it to the printing unit 13. When the image data is input, the printing unit 13 records the image indicated by the image data on a recording sheet. For example, the printing unit 13 performs image recording by an electrophotographic method, exposes the photosensitive member by LSU, forms an electrostatic latent image corresponding to the image data on the photosensitive member, and electrostatics on the photosensitive member. The latent image is developed to form a visible image on the photoreceptor, the visible image is transferred from the photoreceptor to the recording paper, and the visible image on the recording paper is fixed.

また、制御部14は、通信部11による画像データの送信に際し、画像データをHDD15から読み出して、この画像データを通信部11に出力する。通信部11は、この画像データをネットワークを通じて外部端末装置に送信する。   Further, when the image data is transmitted by the communication unit 11, the control unit 14 reads out the image data from the HDD 15 and outputs the image data to the communication unit 11. The communication unit 11 transmits this image data to the external terminal device through the network.

このような画像形成装置1において、仮に大容量の画像データを1バイト単位でHDD15に記憶したならば、制御部14による画像データの管理及び制御が煩雑化する。このため、512Kバイトのブロック単位で画像データを記憶管理している。   In such an image forming apparatus 1, if large-capacity image data is stored in the HDD 15 in units of 1 byte, management and control of the image data by the control unit 14 become complicated. For this reason, image data is stored and managed in units of 512 Kbyte blocks.

例えば、制御部14は、1つのモノクロ画像を示す画像データを入力する度に、この画像データをその先頭から512Kバイトずつ分割して、512Kバイトの画像データ部分からなるブロックを生成し、このブロックをHDD15に記憶して行く。あるいは、制御部14は、1つのカラー画像を示す赤(R)、緑(G)、青(B)等の各色の画像データを入力すると、各色の画像データ別に、画像データをその先頭から512Kバイトずつ分割して、512Kバイトの画像データ部分からなるブロックを生成し、このブロックをHDD15に記憶して行く。   For example, every time image data indicating one monochrome image is input, the control unit 14 divides the image data by 512 Kbytes from the head to generate a block including a 512 Kbyte image data portion. Is stored in the HDD 15. Alternatively, when the control unit 14 inputs image data of each color such as red (R), green (G), and blue (B) indicating one color image, the image data is 512K from the head for each image data of each color. By dividing each byte, a block composed of 512 Kbytes of image data is generated, and this block is stored in the HDD 15.

ところが、最後に分割された画像データ部分が都合よく512Kバイトになることは殆どなく、この最後の画像データ部分が512Kバイト未満になることが多く、この最後の
画像データ部分を含むブロックには未使用の空白容量が生じる。また、カラー画像の場合は、R、G、B等の各色の画像データ別に、画像データをブロック単位で記憶するので、各色毎に、未使用の空白容量を含む最後のブロックが生成される。
However, the last divided image data portion is hardly conveniently 512 Kbytes, and this last image data portion is often less than 512 Kbytes, and the block including this last image data portion is not yet included. Uses empty space. In the case of a color image, image data is stored in units of blocks for each color image data such as R, G, B, etc., so that the last block including unused blank capacity is generated for each color.

そして、カラー画像の場合は、各色の画像データ別に、未使用の空白容量を含む最後のブロックが生成されるので、これらのブロックをそのままHDD15に記憶したならば、未使用の空白容量が無視できない程度まで大きくなり、HDD15の記憶容量の利用効率が低下する。   In the case of a color image, since the last block including an unused blank capacity is generated for each color image data, if these blocks are stored in the HDD 15 as they are, the unused blank capacity cannot be ignored. The use efficiency of the storage capacity of the HDD 15 decreases.

例えば、図4に示すようなR、G、Bの各画像データDR、DG、DBでは、3つ目のブロックBR3〜BB3の画像データ部分Dr3、Dg3、Db3が512Kバイト未満であって、これらのブロックBR3〜BB3に未使用の空白容量が生じており、これらのブロックBR3〜BB3をそのままHDD15に記憶したならば、未使用の空白容量が大きく、HDD15の記憶容量の利用効率が低下する。   For example, in the R, G, and B image data DR, DG, and DB as shown in FIG. 4, the image data portions Dr3, Dg3, and Db3 of the third blocks BR3 to BB3 are less than 512 Kbytes. Unused blank capacity occurs in the blocks BR3 to BB3. If these blocks BR3 to BB3 are stored in the HDD 15 as they are, the unused blank capacity is large, and the utilization efficiency of the storage capacity of the HDD 15 is reduced.

そこで、本実施形態の画像形成装置1では、カラー画像を示す各色の画像データをHDD15に記憶するに際し、未使用の空白容量を含む最後のブロックの数を低減させて、HDD15の記憶容量の利用効率の低下を抑えている。   Therefore, in the image forming apparatus 1 of the present embodiment, when storing image data of each color indicating a color image in the HDD 15, the number of last blocks including unused blank capacity is reduced, and the storage capacity of the HDD 15 is used. Reduces efficiency.

例えば、図2に示すように各画像データDG、DBに係わる3つ目のブロックBG3、BB3の画像データ部分Dg3、Db3を画像データDRに係わる3つ目のブロックBR3に移動してまとめ、このブロックBR3をHDD15に記憶し、各画像データDG、DBに係わる3つ目のブロックBG3、BB3をHDD15から消去する。これにより、2つのブロックBG3、BB3に相当する記憶容量(512Kバイト×2=1024Kバイト)を節減することができ、HDD15の記憶容量の利用効率の低下が抑えられる。   For example, as shown in FIG. 2, the image data portions Dg3 and Db3 of the third blocks BG3 and BB3 related to the image data DG and DB are moved to the third block BR3 related to the image data DR, The block BR3 is stored in the HDD 15, and the third blocks BG3 and BB3 related to the image data DG and DB are erased from the HDD 15. As a result, the storage capacity (512 Kbytes × 2 = 1024 Kbytes) corresponding to the two blocks BG3 and BB3 can be saved, and a decrease in the utilization efficiency of the storage capacity of the HDD 15 can be suppressed.

次に、そのような未使用の空白容量を含む最後のブロックの数を低減させるための処理手順を、図3のフローチャートを参照しながら説明する。   Next, a processing procedure for reducing the number of the last blocks including such unused blank capacity will be described with reference to the flowchart of FIG.

まず、制御部14は、1つのカラー画像を示す各画像データDR、DG、DB別に、画像データに対する各種の処理を施し、この後に画像データをその先頭から512Kバイトずつ分割して、512Kバイトの画像データ部分からなるブロックを生成し、このブロックをHDD15に記憶して行く。画像データに対する各種の処理としては、シェーディング補正やデータ圧縮処理等がある。   First, the control unit 14 performs various processes on the image data for each of the image data DR, DG, and DB indicating one color image, and then divides the image data by 512 Kbytes from the beginning, thereby obtaining 512 Kbytes. A block composed of the image data portion is generated, and this block is stored in the HDD 15. Various processes for image data include shading correction and data compression.

そして、1つのカラー画像の各画像データDR、DG、DBが512Kバイトのブロック単位でHDD15に記憶されている最中にもしくは記憶されてから、制御部14は、ブロック毎に、ブロックをHDD15から読み出して(ステップS101)、そのカラー画像に係わるブロックであることを確認し(ステップS102で「Yes」)、ブロックが最後に分割された画像データ部分を含むもの(最後のブロックと称す)であるか否かを判定する(ステップS103)。そして、ブロックが最後のブロックでなければ(ステップS103で「No」)、このブロックを選択せず、ブロックが最後のブロックであれば(ステップS103で「Yes」)、このブロックを選択する。   Then, after each image data DR, DG, DB of one color image is stored in the HDD 15 in units of 512 Kbyte blocks, the control unit 14 transfers the blocks from the HDD 15 for each block. It is read (step S101), and it is confirmed that the block is related to the color image (“Yes” in step S102). Whether or not (step S103). If the block is not the last block (“No” in step S103), this block is not selected. If the block is the last block (“Yes” in step S103), this block is selected.

これにより、各画像データDR、DG、DBから最後に分割された画像データ部分を含む3つの最後のブロックが選択される。例えば、図2に示すような各画像データDR、DG、DBに係わる最後の3つのブロックBR3、BG3、BB3が選択される。   As a result, the three last blocks including the image data portion finally divided from the image data DR, DG, and DB are selected. For example, the last three blocks BR3, BG3, and BB3 related to the respective image data DR, DG, and DB as shown in FIG. 2 are selected.

そして、制御部14は、最後の各ブロックBR3、BG3、BB3の未使用の空白容量を比較し、最小の空白容量を有する最後のブロックを選択し、この最小の空白容量が15
0Kバイト以上であって、かつ選択しなかった他の最後の2つのブロックに含まれるそれぞれの画像データ部分の合計容量が該最小の空白容量以下であるか否かを判定する(ステップS104)。
Then, the control unit 14 compares the unused blank capacity of the last blocks BR3, BG3, and BB3, selects the last block having the minimum blank capacity, and the minimum blank capacity is 15
It is determined whether or not the total capacity of the respective image data portions included in the other two last blocks that are equal to or larger than 0 Kbytes and not selected is equal to or smaller than the minimum blank capacity (step S104).

そして、選択した最後のブロックの最小の空白容量が150Kバイト未満であったり、選択しなかった他の最後の2つのブロックに含まれるそれぞれの画像データ部分の合計容量が該最小の空白容量を超えるならば(ステップS104で「No」)、この図3の処理を終了する。これは、選択した最後のブロックの最小の空白容量が150Kバイト未満であれば、選択しなかった他の最後の2つのブロックの画像データ部分を選択したブロックの空白容量に移動させることが困難であり、また選択しなかった最後の他の2つのブロックの画像データ部分の合計容量が該最小の空白容量を超えていれば、選択しなかった他の最後の2つのブロックの画像データ部分を選択した最後のブロックの空白容量に移動させることが不可能であるためである。   The minimum blank capacity of the last selected block is less than 150 Kbytes, or the total capacity of the image data portions included in the other two last blocks not selected exceeds the minimum blank capacity. If so (“No” in step S104), the processing of FIG. 3 is terminated. If the minimum blank capacity of the last selected block is less than 150 Kbytes, it is difficult to move the image data portions of the other two last blocks not selected to the blank capacity of the selected block. Yes, if the total capacity of the image data parts of the last two other blocks not selected exceeds the minimum blank capacity, the image data parts of the other last two blocks not selected are selected This is because it is impossible to move to the blank capacity of the last block.

また、選択した最後のブロックの最小の空白容量が150Kバイト以上であり、かつ選択しなかった他の最後の2つのブロックに含まれるそれぞれの画像データ部分の合計容量が該最小の空白容量以下であれば(ステップS104で「Yes」)、制御部14は、選択した最後のブロックをHDD15にそのまま残して記憶しおき(ステップS105)、選択しなかった他の最後の2つのブロックに含まれるそれぞれの画像データ部分を選択した最後のブロックの最小の空白容量に移動させて記憶する(ステップS106)。また、制御部14は、選択しなかった他の最後の2つのブロックをHDD15から消去する(ステップS107)。   Further, the minimum blank capacity of the last selected block is 150 Kbytes or more, and the total capacity of the respective image data portions included in the other two last blocks not selected is less than the minimum blank capacity. If there is (“Yes” in step S104), the control unit 14 stores the selected last block as it is in the HDD 15 (step S105), and is included in the other two last blocks not selected. Is moved to the minimum blank capacity of the selected last block and stored (step S106). In addition, the control unit 14 erases the other two last blocks not selected from the HDD 15 (step S107).

例えば、図2においては、最後の3つのブロックBR3、BG3、BB3のうちから、最小の空白容量を有する最後のブロックBR3が選択され、選択されなかった他の最後の2つのブロックBG3、BB3の画像データ部分Dg3、Db3が選択された最後のブロックBR3の最小の空白容量に移動されて記憶され、選択された最後のブロックBR3だけがHDD15に残されて記憶され、選択されなかった他の最後のブロックBG3、BB3がHDD15から消去される。これにより、2つのブロックBG3、BB3に相当する記憶容量が節減されて、HDD15の記憶容量の利用効率の低下が抑えられる。   For example, in FIG. 2, the last block BR3 having the smallest blank capacity is selected from the last three blocks BR3, BG3, and BB3, and the other last two blocks BG3 and BB3 that are not selected are selected. The image data portions Dg3 and Db3 are moved and stored in the minimum blank capacity of the selected last block BR3, and only the selected last block BR3 is left and stored in the HDD 15, and the other last selected. Blocks BG3 and BB3 are erased from the HDD 15. As a result, the storage capacity corresponding to the two blocks BG3 and BB3 is saved, and a decrease in the utilization efficiency of the storage capacity of the HDD 15 is suppressed.

このように本実施形態では、各画像データDR、DG、DBから最後に分割されたそれぞれの画像データ部分が512Kバイト未満となって、最後の各ブロックに未使用の空き容量が生じた場合は、各色の画像データ部分を1つの最後のブロックにまとめて、この1つの最後のブロックをHDD15に記憶し、他の2つの最後のブロックをHDD15から消去しているので、HDD15の記憶容量の利用効率の低下が抑えられる。   As described above, in the present embodiment, when each image data portion finally divided from each image data DR, DG, and DB becomes less than 512 Kbytes, and unused free space is generated in each last block. Since the image data portions of the respective colors are grouped into one last block, this one last block is stored in the HDD 15 and the other two last blocks are erased from the HDD 15, so that the storage capacity of the HDD 15 is used. Reduction in efficiency is suppressed.

また、各色の画像データ全てをブロック単位で管理することができるので、画像データの管理及び制御が容易になる。   Further, since all the image data of each color can be managed in units of blocks, the management and control of the image data is facilitated.

更に、画像データに対する各種の処理を施して、画像データの記憶容量が決定してから、画像データをブロック単位で一旦記憶し、この後に最後の各ブロックの画像データ部分を1つのブロックにまとめているので、画像データをブロック単位で記憶するための処理に無駄がない。   Furthermore, after various processing is performed on the image data and the storage capacity of the image data is determined, the image data is temporarily stored in units of blocks, and then the image data portion of each last block is combined into one block. Therefore, there is no waste in processing for storing image data in units of blocks.

また、最小の空白容量を有する最後のブロックを選択していることから、最大容量の画像データ部分を含む最後のブロックを選択して、選択しなかった他の最後のブロックの小容量の画像データ部分を選択した最後のブロックに移動させることになる。このため、移動される画像データ部分の容量が小さくなり、処理が簡略化される。   Since the last block having the smallest blank capacity is selected, the last block including the image data portion having the largest capacity is selected, and the small capacity image data of the other last block not selected is selected. The part will be moved to the last selected block. For this reason, the capacity of the image data portion to be moved is reduced, and the processing is simplified.

尚、本発明は、上記実施形態に限定されるものではなく、多様に変形することができる。例えば、カラー画像を示す各画像データは、赤、緑、青を示すものではなく、他の種類の色彩空間で定義されるそれぞれの色を示すものであっても構わない。また、最大の空白容量を有する最後のブロックを選択して、選択しなかった他の最後のブロックの画像データ部分を選択した最後のブロックに移動させても構わない。   In addition, this invention is not limited to the said embodiment, It can deform | transform variously. For example, each piece of image data representing a color image may not represent red, green, and blue, but may represent each color defined in another type of color space. Alternatively, the last block having the largest blank capacity may be selected, and the image data portion of the other last block not selected may be moved to the selected last block.

本発明の画像形成装置の一実施形態を示すブロック図である。1 is a block diagram showing an embodiment of an image forming apparatus of the present invention. 図1の装置におけるカラー画像を示す各色の画像データをブロック単位で記憶した状態を模式的に示す図である。It is a figure which shows typically the state which memorize | stored the image data of each color which shows the color image in the apparatus of FIG. 1 per block. 図1の装置におけるカラー画像を示す各色の画像データをブロック単位で記憶するための処理を示すフローチャートである。3 is a flowchart showing processing for storing image data of each color indicating a color image in units of blocks in the apparatus of FIG. 1. 従来の方法によりカラー画像を示す各色の画像データをブロック単位で記憶した状態を模式的に示す図である。It is a figure which shows typically the state which memorize | stored the image data of each color which shows a color image in the block unit by the conventional method.

符号の説明Explanation of symbols

1 画像形成装置
11 通信部
12 スキャナ部
13 印刷部
14 制御部
15 ハードディスク装置(HDD)
DESCRIPTION OF SYMBOLS 1 Image forming apparatus 11 Communication part 12 Scanner part 13 Printing part 14 Control part 15 Hard disk drive (HDD)

Claims (4)

カラー画像を印刷する画像形成装置において、
カラー画像を示す各色の画像データを規定容量のブロック単位で記憶する記憶手段と、
前記各色の画像データ別に、画像データに処理を施しつつ、画像データをその先頭からブロック相当の規定容量ずつに分割して、規定容量の画像データ部分からなるブロックを前記記憶手段に記憶して行き、各色の画像データから最後に分割されたそれぞれの画像データ部分が規定容量未満となって、これらの画像データ部分を含むそれぞれのブロックに未使用の空き容量が生じた場合は、未使用の空き容量が生じた各ブロックの画像データ部分を該各ブロックのいずれか1つに移動してまとめて、この1つのブロックを前記記憶手段に記憶する制御手段とを備えることを特徴とする画像形成装置。
In an image forming apparatus that prints a color image,
Storage means for storing image data of each color indicating a color image in units of blocks of a prescribed capacity;
For each color image data, while processing the image data, the image data is divided into a predetermined capacity corresponding to the block from the head, and a block consisting of the image data portion of the specified capacity is stored in the storage means. When the image data portions finally divided from the image data of each color become less than the prescribed capacity, and unused free space occurs in each block including these image data portions, the unused space An image forming apparatus comprising: a control unit that moves an image data portion of each block in which the capacity is generated to any one of the blocks and stores the block in the storage unit .
前記制御手段は、1つのカラー画像毎に、未使用の空き容量が生じた各ブロックの画像データ部分を該各ブロックのいずれか1つに移動してまとめて、この1つのブロックを前記記憶手段に記憶することを特徴とする請求項1に記載の画像形成装置。   The control means moves, for each color image, the image data portion of each block in which unused free space has occurred to any one of the blocks, and collects the one block as the storage means. The image forming apparatus according to claim 1, further comprising: 前記制御手段は、1つのカラー画像毎に、未使用の空き容量が生じた各ブロックのうちから最大容量の画像データ部分を含む1つのブロックを選択し、この1つのブロックに他の各ブロックの画像データ部分を移動してまとめて、この1つのブロックを前記記憶手段に記憶することを特徴とする請求項1に記載の画像形成装置。   The control means selects, for each color image, one block including an image data portion having the maximum capacity from among the blocks in which unused free space has occurred, and sets the other blocks to this one block. The image forming apparatus according to claim 1, wherein the image data portions are moved together and stored in the storage unit. カラー画像を印刷する画像形成装置の画像データ記憶方法において、
カラー画像を示す各色の画像データ別に、画像データに処理を施しつつ、画像データをその先頭からブロック相当の規定容量ずつ分割して、規定容量の画像データ部分からなるブロックを記憶手段に記憶して行くステップと、
各色の画像データから最後に分割されたそれぞれの画像データ部分が規定容量未満となって、これらの画像データ部分を含むそれぞれのブロックに未使用の空き容量が生じた場合は、未使用の空き容量が生じた各ブロックの画像データ部分を該各ブロックのいずれか1つに移動してまとめて、この1つのブロックを前記記憶手段に記憶するステップとを含むことを特徴とする画像形成装置の画像データ記憶方法。
In an image data storage method of an image forming apparatus for printing a color image,
For each color image data representing a color image, the image data is processed while being divided into a predetermined capacity corresponding to a block from the head, and a block composed of image data portions having a predetermined capacity is stored in the storage means. Step to go and
If the image data part that was last divided from the image data of each color is less than the specified capacity, and there is unused unused capacity in each block that includes these image data parts, the unused unused capacity And moving the image data portion of each block in which each block has occurred into any one of the blocks and storing the block in the storage means. Data storage method.
JP2007192229A 2007-07-24 2007-07-24 Image forming apparatus and image data storage method of image forming apparatus Pending JP2009033242A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007192229A JP2009033242A (en) 2007-07-24 2007-07-24 Image forming apparatus and image data storage method of image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007192229A JP2009033242A (en) 2007-07-24 2007-07-24 Image forming apparatus and image data storage method of image forming apparatus

Publications (1)

Publication Number Publication Date
JP2009033242A true JP2009033242A (en) 2009-02-12

Family

ID=40403304

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007192229A Pending JP2009033242A (en) 2007-07-24 2007-07-24 Image forming apparatus and image data storage method of image forming apparatus

Country Status (1)

Country Link
JP (1) JP2009033242A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013146104A (en) * 2013-04-09 2013-07-25 Canon Inc Playback apparatus and playback method
JP2014099929A (en) * 2014-02-21 2014-05-29 Canon Inc Playback apparatus, display device, and playback method
JP2015182279A (en) * 2014-03-24 2015-10-22 キヤノン株式会社 Printer, information processor, control method of information processor and computer program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013146104A (en) * 2013-04-09 2013-07-25 Canon Inc Playback apparatus and playback method
JP2014099929A (en) * 2014-02-21 2014-05-29 Canon Inc Playback apparatus, display device, and playback method
JP2015182279A (en) * 2014-03-24 2015-10-22 キヤノン株式会社 Printer, information processor, control method of information processor and computer program
US9477912B2 (en) 2014-03-24 2016-10-25 Canon Kabushiki Kaisha Printing apparatus, information processing apparatus and method for controlling the information processing apparatus, and storage medium

Similar Documents

Publication Publication Date Title
US20120137087A1 (en) Storage area management apparatus for managing storage areas provided from upper apparatuses, and control method and storage medium therefor
JP5157667B2 (en) Image processing apparatus, operation control method, operation control program, and recording medium
JP2009033242A (en) Image forming apparatus and image data storage method of image forming apparatus
JP5928505B2 (en) Image processing apparatus, image processing method and image processing program in the same
JP3730183B2 (en) Image processing device
JP4136825B2 (en) Image processing apparatus, image processing method, computer-readable storage medium storing program, and program
JP2005327334A (en) Image processing apparatus
JP4743916B2 (en) Image processing apparatus and control method thereof
JP4560490B2 (en) Image forming apparatus control method, image forming apparatus control program, and image forming apparatus
JP5322580B2 (en) User interface, control method therefor, program, and image processing apparatus
JP2007030252A (en) Image forming system, interruption processing method and printing apparatus
JP2007082060A (en) Image processing apparatus and image processing connection system
JP2008301090A (en) Image processing device
US20030231323A1 (en) Method of and system for performing double-side printing image data of various sizes
JP6914027B2 (en) Image forming device, image forming method
US20070064025A1 (en) Image forming apparatus
JP4960269B2 (en) Image processing system and image processing apparatus
JP4687556B2 (en) Image processing apparatus, image processing apparatus control method, and control program
JP5509704B2 (en) Information processing apparatus, log management method, and log management program
JP3964088B2 (en) Image processing apparatus, image processing method, and computer-readable recording medium storing program for causing computer to execute the method
JP2008245191A (en) Image-forming device and history control program thereof
JP4325537B2 (en) Image processing device
JP6439399B2 (en) Image processing apparatus, data processing method, and computer program
JP2013016005A (en) Information processing device, control method therefor, and control program
JP2000224404A (en) Recorder