JP2012120009A - Image processing system and program - Google Patents

Image processing system and program Download PDF

Info

Publication number
JP2012120009A
JP2012120009A JP2010269017A JP2010269017A JP2012120009A JP 2012120009 A JP2012120009 A JP 2012120009A JP 2010269017 A JP2010269017 A JP 2010269017A JP 2010269017 A JP2010269017 A JP 2010269017A JP 2012120009 A JP2012120009 A JP 2012120009A
Authority
JP
Japan
Prior art keywords
image
gradations
information
drawn
storage means
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
JP2010269017A
Other languages
Japanese (ja)
Inventor
Tetsuya Motomi
哲哉 本美
Yutaka Koda
裕 鴻田
Yasushi Ujigawa
泰史 宇治川
Koji Yorimoto
浩二 寄本
Yasuo Komatsu
康男 小松
Kiyoshi Une
清 宇根
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2010269017A priority Critical patent/JP2012120009A/en
Publication of JP2012120009A publication Critical patent/JP2012120009A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an image processing system and a program which can reduce possibility that a lack of a region of a storing portion in which an image formed on a recording medium is stored occurs compared to a conventional case.SOLUTION: A plotting output portion 36 sequentially plots images corresponding to divided printing object information on a plurality of pieces of divided printing object information based on printing object information and outputs the plotted image to a video memory 22. The plotting output portion 36 re-plots at least one of the images which are already plotted and are outputted to the video memory 22 by the smaller number of gradations rather than that of gradations in the case of plotting to overwrite and output it to the video memory 22 when an information amount in a space of the video memory 22 in the case of plotting is smaller than the information amount of the video memory 22, which is required for storing the plotted image when the image corresponding to un-plotted divided printing object information is plotted with the predetermined number of gradations during plotting of the image corresponding to the divided printing object information.

Description

本発明は、画像処理装置及びプログラムに関する。   The present invention relates to an image processing apparatus and a program.

ビデオメモリなどの記憶部に書き込まれた画像を印刷出力する印刷装置が存在する。特許文献1には、互いに異なる解像度の画像メモリを持ち、ページ記述言語(PDL)データの種類により書き込む対象となる画像メモリを選択する画像処理装置が開示されている。特許文献2には、描画オブジェクトの格納容量または展開時間等を判定して、バンドメモリ領域および描画オブジェクトの格納領域を再配置すると共に、描画オブジェクトの低解像度化あるいは低階調度化を施すことにより、低解像度化あるいは低階調度化した描画オブジェクトを低容量化して再配置されるバンド領域を介してバンドイメージ展開を継続する印刷制御装置が開示されている。特許文献3には、イメージデータ量と内部メモリの容量から階調数を決定し、イメージデータをその階調数に変換してから内部メモリに格納するプリンタ制御装置が開示されている。   There is a printing apparatus that prints out an image written in a storage unit such as a video memory. Patent Document 1 discloses an image processing apparatus that has image memories with different resolutions and selects an image memory to be written according to the type of page description language (PDL) data. In Patent Document 2, the storage capacity or development time of a drawing object is determined, the band memory area and the storage area of the drawing object are rearranged, and the resolution or gradation of the drawing object is reduced. A print control apparatus is disclosed that continues to develop a band image via a band area in which a drawing object having a reduced resolution or a lower gradation is reduced in volume and rearranged. Patent Document 3 discloses a printer control apparatus that determines the number of gradations from the amount of image data and the capacity of an internal memory, converts the image data into the number of gradations, and then stores the data in the internal memory.

特開平5−342314号公報JP-A-5-342314 特開平9−190301号公報JP-A-9-190301 特開平10−76714号公報JP 10-76714 A

本発明は、記録媒体上に形成される画像が記憶される記憶手段の領域不足が発生する可能性を従来よりも低減することができる画像処理装置及びプログラムを提供することを目的とする。   It is an object of the present invention to provide an image processing apparatus and a program that can reduce the possibility that an area shortage of a storage unit that stores an image formed on a recording medium will occur.

請求項1に記載の発明は、画像処理装置であって、印刷される対象を表す印刷対象情報を取得する印刷対象情報取得手段と、それぞれが前記印刷対象情報に応じた画像が配置される領域を分割した互いに異なる領域に対応付けられる、前記印刷対象情報に基づく複数の分割印刷対象情報それぞれについて、順次、分割印刷対象情報に応じた画像を描画して、当該描画した画像を、記録媒体上に形成される画像が記憶される記憶手段に出力する描画出力手段と、を含み、前記描画出力手段は、前記分割印刷対象情報に応じた画像を描画する際に、当該描画の際の前記記憶手段の空き領域の情報量が、予め定められた階調数で未描画の分割印刷対象情報に応じた画像を描画した場合の当該描画した画像の記憶に要する前記記憶手段の情報量よりも小さい場合は、既に描画されて前記記憶手段に出力された画像のうちの少なくとも1つについて、当該描画の際の階調数よりも小さな階調数で再描画して前記記憶手段に上書き出力することとしたものである。   The invention according to claim 1 is an image processing apparatus, a print target information acquiring unit that acquires print target information representing a target to be printed, and an area in which an image corresponding to the print target information is arranged. For each of a plurality of pieces of divided print target information based on the print target information associated with different areas obtained by dividing the image, images corresponding to the divided print target information are sequentially drawn, and the drawn images are stored on the recording medium. A drawing output means for outputting to a storage means for storing an image formed on the image, wherein the drawing output means draws the image according to the divided print target information when the drawing is performed. The amount of information in the free area of the means is larger than the amount of information in the storage means required for storing the drawn image when an image corresponding to undrawn divided print target information is drawn with a predetermined number of gradations. In this case, at least one of the images already drawn and output to the storage means is redrawn with a gradation number smaller than the gradation number at the time of drawing and is overwritten and output to the storage means. That's what it meant.

請求項2に記載の発明は、請求項1に記載の画像処理装置であって、前記描画出力手段は、前記分割印刷対象情報に応じた画像を描画する際に、当該描画の際の前記記憶手段の空き領域の情報量が、予め定められた階調数で未描画の分割印刷対象情報に応じた画像を描画した場合の当該描画した画像の記憶に要する前記記憶手段の情報量よりも小さい場合は、既に描画されて前記記憶手段に出力された画像のうち当該描画の際の階調数が最も高い画像について再描画して前記記憶手段に上書き出力することとしたものである。   A second aspect of the present invention is the image processing apparatus according to the first aspect, wherein the drawing output unit stores the memory at the time of drawing when drawing an image according to the divided print target information. The amount of information in the free area of the means is smaller than the amount of information in the storage means required for storing the drawn image when an image corresponding to undrawn divided print target information is drawn with a predetermined number of gradations. In this case, among the images already drawn and output to the storage means, the image having the highest number of gradations at the time of drawing is redrawn and overwritten and output to the storage means.

請求項3に記載の発明は、請求項1又は2に記載の画像処理装置であって、前記描画出力手段は、前記分割印刷対象情報に応じた画像を描画する際に、当該描画の際の前記記憶手段の空き領域の情報量が、2階調で未描画の分割印刷対象情報に応じた画像を描画した場合の当該描画した画像の記憶に要する前記記憶手段の情報量よりも小さい場合は、既に描画されて前記記憶手段に出力された画像のうちの少なくとも1つについて、当該描画の際の階調数よりも小さな階調数で再描画して前記記憶手段に上書き出力することとしたものである。   A third aspect of the present invention is the image processing apparatus according to the first or second aspect, wherein the drawing output unit draws an image according to the divided print target information when the drawing is performed. When the amount of information in the free area of the storage means is smaller than the amount of information in the storage means required for storing the drawn image when drawing an image corresponding to undrawn divided print target information in two gradations , At least one of the images already drawn and output to the storage means is redrawn with the number of gradations smaller than the number of gradations at the time of drawing and overwritten to the storage means Is.

請求項4に記載の発明は、請求項1から3のいずれか一項に記載の画像処理装置であって、前記描画出力手段は、前記各分割印刷対象情報に応じた画像が前記記憶手段に出力された後に、当該各画像が描画された階調数が異なる場合は、当該各画像が描画された階調数のうち最も小さな階調数で描画された画像以外の、前記分割印刷対象情報に応じた画像について、前記最も小さな階調数で再描画して前記記憶手段に上書き出力することとしたものである。   A fourth aspect of the present invention is the image processing apparatus according to any one of the first to third aspects, wherein the drawing output unit stores an image corresponding to each piece of divided print target information in the storage unit. If the number of gradations in which each image is rendered after output is different, the divided print target information other than the image rendered in the smallest number of gradations in which each image is rendered The image corresponding to the above is redrawn with the smallest number of gradations and is overwritten and output to the storage means.

請求項5に記載の発明は、プログラムであって、印刷される対象を表す印刷対象情報を取得する印刷対象情報取得手段、それぞれが前記印刷対象情報に応じた画像が配置される領域を分割した互いに異なる領域に対応付けられる、前記印刷対象情報に基づく複数の分割印刷対象情報それぞれについて、順次、分割印刷対象情報に応じた画像を描画して、当該描画した画像を、記録媒体上に形成される画像が記憶される記憶手段に出力する描画出力手段、としてコンピュータを機能させ、前記描画出力手段は、前記分割印刷対象情報に応じた画像を描画する際に、当該描画の際の前記記憶手段の空き領域の情報量が、予め定められた階調数で未描画の分割印刷対象情報に応じた画像を描画した場合の当該描画した画像の記憶に要する前記記憶手段の情報量よりも小さい場合は、既に描画されて前記記憶手段に出力された画像のうちの少なくとも1つについて、当該描画の際の階調数よりも小さな階調数で再描画して前記記憶手段に上書き出力することとしたものである。   Invention of Claim 5 is a program, Comprising: The printing object information acquisition means which acquires the printing object information showing the object to be printed, each divided | segmented the area | region where the image according to the said printing object information is arrange | positioned For each of a plurality of pieces of divided print target information based on the print target information, which are associated with different areas, an image corresponding to the divided print target information is sequentially drawn, and the drawn image is formed on a recording medium. The computer functions as a drawing output unit that outputs to a storage unit that stores an image to be stored. When the drawing output unit draws an image according to the divided print target information, the storage unit at the time of drawing The storage means required for storing the drawn image when an image corresponding to the unprinted divided print target information is drawn with a predetermined number of gradations. Is smaller than the number of tones, and at least one of the images already drawn and output to the storage means is redrawn with the number of gradations smaller than the number of tones at the time of drawing and the storage is performed. It is to be overwritten to the means.

請求項1,5に記載の発明によれば、本構成を有しない場合と比較して、記録媒体上に形成される画像が記憶される記憶手段の領域不足が発生する可能性を低減することができる。   According to the first and fifth aspects of the present invention, compared with the case where the present configuration is not provided, the possibility of the occurrence of a shortage of the storage unit in which the image formed on the recording medium is stored is reduced. Can do.

請求項2に記載の発明によれば、既に描画されて記憶手段に出力された画像のうち描画の際の階調数が最も高い画像について再描画することで、記録媒体上に形成される画像が記憶される記憶手段の領域不足を防ぐことができる。   According to the second aspect of the present invention, the image formed on the recording medium is redrawn with respect to the image having the highest number of gradations at the time of drawing among the images already drawn and output to the storage means. Can be avoided.

請求項3に記載の発明によれば、未描画の分割印刷対象情報に応じた画像を2階調で描画しても記憶手段の領域不足が発生する際に、既に描画されて記憶手段に出力された画像のうちの少なくとも1つについて描画の際の階調数よりも小さな階調数で再描画することで、記録媒体上に形成される画像が記憶される記憶手段の領域不足を防ぐことができる。   According to the third aspect of the present invention, even when an image corresponding to undrawn divided print target information is drawn with two gradations, when an area shortage of the storage means occurs, the drawing is already performed and output to the storage means By redrawing at least one of the recorded images with the number of gradations smaller than the number of gradations at the time of drawing, it is possible to prevent an area shortage of the storage unit in which the image formed on the recording medium is stored Can do.

請求項4に記載の発明によれば、分割印刷対象情報の応じた画像の階調数が異なった際に、これらの分割印刷対象情報の応じた画像の階調数のうちの最も小さな階調数に分割印刷対象情報の応じた画像の階調数が揃う。   According to the fourth aspect of the present invention, when the number of gradations of the image corresponding to the divided printing target information is different, the smallest gradation among the number of gradations of the image corresponding to the divided printing target information The number of gradations of the image corresponding to the divided print target information is equal to the number.

本発明の一実施形態に係る画像処理装置のハードウェア構成の一例を示す図である。It is a figure which shows an example of the hardware constitutions of the image processing apparatus which concerns on one Embodiment of this invention. 本発明の一実施形態に係る画像処理装置により実現される機能の一例を示す機能ブロック図である。It is a functional block diagram which shows an example of the function implement | achieved by the image processing apparatus which concerns on one Embodiment of this invention. 印刷対象情報に基づく画像が印刷された紙媒体の一例を示す図である。It is a figure which shows an example of the paper medium on which the image based on printing object information was printed. 本発明の一実施形態に係る画像処理装置で行われる処理の流れの一例を示すフロー図である。It is a flowchart which shows an example of the flow of the process performed with the image processing apparatus which concerns on one Embodiment of this invention. 各バンド画像の階調数の設定の一例を示す説明図である。It is explanatory drawing which shows an example of the setting of the gradation number of each band image. 各バンド画像の階調数の設定の一例を示す説明図である。It is explanatory drawing which shows an example of the setting of the gradation number of each band image. 各バンド画像の階調数の設定の一例を示す説明図である。It is explanatory drawing which shows an example of the setting of the gradation number of each band image. 各バンド画像の階調数の設定の一例を示す説明図である。It is explanatory drawing which shows an example of the setting of the gradation number of each band image.

以下、本発明の一実施形態について図面に基づき詳細に説明する。   Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.

図1は、本実施形態に係る画像処理装置10のハードウェア構成の一例を示す図である。図1に例示するように、本実施形態に係る画像処理装置10は、例えば、制御部12、記憶部14、通信部16、印刷部18、を含んでいる。これらの要素は、バスを介して接続される。   FIG. 1 is a diagram illustrating an example of a hardware configuration of an image processing apparatus 10 according to the present embodiment. As illustrated in FIG. 1, the image processing apparatus 10 according to the present embodiment includes, for example, a control unit 12, a storage unit 14, a communication unit 16, and a printing unit 18. These elements are connected via a bus.

制御部12は、例えば、CPUなどのプログラム制御デバイスであり、画像処理装置10にインストールされるプログラムに従って動作する。記憶部14は、例えば、ROMやRAMなどの記憶素子などである。記憶部14には、制御部12によって実行されるプログラムなどが記憶される。また、記憶部14は、制御部12のワークメモリとしても動作する。通信部16は、LANカードなどの通信インタフェースであり、インターネットやLAN等の通信手段を介して接続されたパーソナルコンピュータ等の情報処理装置との間で情報の送受信を行う。印刷部18は、紙媒体等の記録媒体を印刷する。印刷部18は、本実施形態では、例えば、制御部12から入力される情報に基づいて、紙媒体等の記録媒体上に画像を形成する。   The control unit 12 is a program control device such as a CPU, for example, and operates according to a program installed in the image processing apparatus 10. The storage unit 14 is, for example, a storage element such as a ROM or a RAM. The storage unit 14 stores a program executed by the control unit 12. The storage unit 14 also operates as a work memory for the control unit 12. The communication unit 16 is a communication interface such as a LAN card, and transmits / receives information to / from an information processing apparatus such as a personal computer connected via communication means such as the Internet or a LAN. The printing unit 18 prints a recording medium such as a paper medium. In the present embodiment, the printing unit 18 forms an image on a recording medium such as a paper medium based on information input from the control unit 12, for example.

また、図1に示すように、本実施形態に係る画像処理装置10に含まれる記憶部14には、例えば、スプーラ用メモリ20と、ビデオメモリ22と、が少なくとも含まれている。   As shown in FIG. 1, the storage unit 14 included in the image processing apparatus 10 according to the present embodiment includes, for example, at least a spooler memory 20 and a video memory 22.

図2は、本実施形態に係る画像処理装置10により実現される機能の一例を示す機能ブロック図である。図2に示すように、本実施形態に係る画像処理装置10は、例えば、印刷対象情報取得部30、中間言語データ生成部32、階調数決定部34、描画出力部36、画像形成部38、を含んでいる。本実施形態では、例えば、印刷対象情報取得部30は、制御部12や通信部16を主として実現される。画像形成部38は、印刷部18を主として実現される。その他の要素は、制御部12を主として実現される。   FIG. 2 is a functional block diagram illustrating an example of functions realized by the image processing apparatus 10 according to the present embodiment. As illustrated in FIG. 2, the image processing apparatus 10 according to the present embodiment includes, for example, a print target information acquisition unit 30, an intermediate language data generation unit 32, a gradation number determination unit 34, a drawing output unit 36, and an image formation unit 38. , Including. In the present embodiment, for example, the print target information acquisition unit 30 is realized mainly by the control unit 12 and the communication unit 16. The image forming unit 38 is realized mainly by the printing unit 18. Other elements are realized mainly by the control unit 12.

これらの要素は、コンピュータである画像処理装置10にインストールされたプログラムを、画像処理装置10で実行することにより実現されている。このプログラムは、例えば、CD−ROM、DVD−ROMなどのコンピュータ可読な情報記憶媒体を介して、あるいは、インターネットなどの通信手段を介して画像処理装置10に供給される。   These elements are realized by causing the image processing apparatus 10 to execute a program installed in the image processing apparatus 10 that is a computer. This program is supplied to the image processing apparatus 10 via a computer-readable information storage medium such as a CD-ROM or DVD-ROM, or via communication means such as the Internet.

図3は、情報処理装置から受け付ける印刷対象情報に基づく画像が印刷された紙媒体(印刷紙媒体40)の一例を示す図である。図3に例示するように、本実施形態に係る画像処理装置10は、情報処理装置から受け付ける印刷対象情報に基づく画像をページ毎に紙媒体に印刷する。そして、本実施形態では、1ページに相当する印刷対象情報に応じた画像の全体が配置される領域(ページ)を分割した矩形領域(バンド領域R)単位で画像が描画(レンダリング)処理(バンディング処理)される。図3の例では、1ページに10個のバンド領域R(ページの上から、順に、第1バンド領域R(1)〜第10バンド領域R(10))が示されている。そして、以下、バンド領域Rに描画される画像をバンド画像と呼ぶこととする。   FIG. 3 is a diagram illustrating an example of a paper medium (printing paper medium 40) on which an image based on print target information received from the information processing apparatus is printed. As illustrated in FIG. 3, the image processing apparatus 10 according to the present embodiment prints an image based on print target information received from the information processing apparatus on a paper medium for each page. In this embodiment, an image is rendered (rendered) in units of rectangular areas (band areas R) obtained by dividing an area (page) in which an entire image corresponding to print target information corresponding to one page is arranged (banding). It is processed. In the example of FIG. 3, ten band regions R (first band region R (1) to tenth band region R (10) in order from the top of the page) are shown in one page. Hereinafter, an image drawn in the band region R is referred to as a band image.

ここで、本実施形態に係る画像処理装置10で行われる処理の流れの一例を、図4に例示するフロー図を参照しながら説明する。本処理例では、例えば、スプーラ用メモリ20には、階調数(本処理例では、例えば、8)を示す階調数情報が予め記憶されている。また、本処理例では、スプーラ用メモリ20には、本処理例において描画される画像の最小階調数(本処理例では、例えば、2。すなわち、2階調=1ビット。)を示す最小階調数情報も予め記憶されている。また、本処理例では、バンド領域Rの数はnであることとする。   Here, an example of the flow of processing performed by the image processing apparatus 10 according to the present embodiment will be described with reference to the flowchart illustrated in FIG. In the present processing example, for example, the spooler memory 20 stores in advance gradation number information indicating the number of gradations (for example, 8 in the present processing example). Further, in the present processing example, the spooler memory 20 has a minimum value indicating the minimum number of gradations of the image drawn in the present processing example (for example, 2 in this processing example, that is, 2 gradations = 1 bit). The gradation number information is also stored in advance. In this processing example, the number of band regions R is n.

まず、印刷対象情報取得部30が、例えば、画像処理装置10に接続された情報処理装置から出力される、ページ記述言語(PDL)で記述された印刷対象となる画像や文字等を表す印刷対象情報(本実施形態では、例えば、PDLデータ)を取得して、取得した印刷対象情報をスプーラ用メモリ20に出力する(S101)。本処理例では、印刷対象情報取得部30は、例えば、1ページに相当する印刷対象情報を取得して、取得した印刷対象情報をスプーラ用メモリ20に出力する。   First, the print target information acquisition unit 30 outputs, for example, an image or character that is output from an information processing apparatus connected to the image processing apparatus 10 and is a print target described in a page description language (PDL). Information (in this embodiment, for example, PDL data) is acquired, and the acquired print target information is output to the spooler memory 20 (S101). In this processing example, the print target information acquisition unit 30 acquires, for example, print target information corresponding to one page, and outputs the acquired print target information to the spooler memory 20.

そして、中間言語データ生成部32が、スプーラ用メモリ20に記憶されている印刷対象情報を解釈して、中間言語データ(本実施形態では、例えば、ディスプレイリスト)を生成し、生成した中間言語データをビデオメモリ22に出力する(S102)。中間言語データは、例えば、バンディング処理を実行する際の基礎となるデータである。また、中間言語データは、例えば、バンド領域Rに対応付けられる複数の要素から構成されている。また、中間言語データの各要素は、ポインタ等によって連結されることにより、順序付けられている。以下、第mバンド領域R(m)に対応付けられる中間言語データの要素を第m要素と呼ぶこととする。   Then, the intermediate language data generation unit 32 interprets the print target information stored in the spooler memory 20, generates intermediate language data (for example, a display list in this embodiment), and generates the generated intermediate language data. Is output to the video memory 22 (S102). The intermediate language data is, for example, data serving as a basis for executing the banding process. Further, the intermediate language data is composed of a plurality of elements associated with the band region R, for example. Further, the elements of the intermediate language data are ordered by being connected by a pointer or the like. Hereinafter, the element of the intermediate language data associated with the mth band region R (m) is referred to as the mth element.

そして、階調数決定部34は、変数mの値を1に設定する(S103)。そして、階調数決定部34は、変数mの値が(n+1)であるか否かを確認する(S104)。(n+1)でない場合は(S104:N)、ビデオメモリ22の空き領域の情報量(サイズ)が、スプーラ用メモリ20に記憶されている階調数情報が示す階調数での、中間言語データの第m要素以降の要素が表すバンド画像の保持に要するビデオメモリ22の情報量(サイズ)以上であるか否かを確認する(S105)。   Then, the gradation number determination unit 34 sets the value of the variable m to 1 (S103). Then, the gradation number determination unit 34 checks whether or not the value of the variable m is (n + 1) (S104). If not (n + 1) (S104: N), the intermediate language data in which the information amount (size) of the free area of the video memory 22 is the number of gradations indicated by the gradation number information stored in the spooler memory 20 It is confirmed whether or not the information amount (size) of the video memory 22 required for holding the band image represented by the elements after the m-th element is larger (S105).

そうである場合は(S105:Y)、描画出力部36は、スプーラ用メモリ20に記憶されている階調数情報が示す階調数で、中間言語データの第m要素が表すバンド画像をビデオメモリ22に描画出力する(S106)。S106に示す処理において、描画出力部36は、具体的には、例えば、スプーラ用メモリ20に記憶されている階調数情報が示す階調数を示すデータ、及び、バンド領域R内の各画素についての、上述の階調数でのRGB値等の階調値を示すデータをビデオメモリ22に出力する。そして、階調数決定部34は、変数mの値を1増加させて(S107)、S104以降の処理を実行する。   If this is the case (S105: Y), the drawing output unit 36 uses the tone number indicated by the tone number information stored in the spooler memory 20 to display the band image represented by the mth element of the intermediate language data as a video. Drawing is output to the memory 22 (S106). In the processing shown in S106, the drawing output unit 36 specifically, for example, data indicating the number of gradations indicated by the gradation number information stored in the spooler memory 20, and each pixel in the band region R. Is output to the video memory 22 indicating gradation values such as RGB values at the above-described number of gradations. Then, the gradation number determination unit 34 increments the value of the variable m by 1 (S107), and executes the processes after S104.

S105に示す条件を満足しない場合は(S105:N)、階調数決定部34は、スプーラ用メモリ20に記憶されている階調数情報が示す階調数が、スプーラ用メモリ20に記憶されている最小階調数情報が示す最小階調数であるか否かを確認する(S108)。最小階調数でない場合は(S108:N)、階調数決定部34は、スプーラ用メモリ20に記憶されている階調数情報が示す階調数を半分に減少させて(S109)、S105以降に示す処理を再度実行する。   When the condition shown in S105 is not satisfied (S105: N), the gradation number determination unit 34 stores the gradation number indicated by the gradation number information stored in the spooler memory 20 in the spooler memory 20. It is confirmed whether or not the minimum gradation number indicated by the minimum gradation number information is present (S108). If it is not the minimum number of gradations (S108: N), the gradation number determination unit 34 reduces the gradation number indicated by the gradation number information stored in the spooler memory 20 to half (S109), and S105. The following process is executed again.

最小階調数である場合は(S108:Y)、階調数決定部34は、既に描画済であるバンド画像のうち、最も階調数が高い少なくとも1つのバンド画像を特定する(S110)。そして、ビデオメモリ22に記憶されている、S110に示す処理で特定されたバンド画像を、スプーラ用メモリ20に記憶されている最小階調数情報が示す最小階調数で描画された画像に更新した場合に解放されるビデオメモリ22の空き領域を含む、ビデオメモリ22の空き領域の情報量(サイズ)が、最小階調数での、中間言語データの第m要素以降の要素が表すバンド画像の保持に要するビデオメモリ22の情報量(サイズ)以上であるか否かを確認する(S111)。そうでない場合は(S111:N)、画像処理装置10は、情報処理装置にエラーメッセージを出力して異常終了する。そうである場合は(S111:Y)、描画出力部36は、S110に示す処理で特定されたバンド画像について、対応する中間言語データに基づいて最小階調数で再描画した画像をビデオメモリ22に上書き出力する(ビデオメモリ22に記憶されているバンド画像を、対応する中間言語データに基づいて最小階調数で再描画した画像に更新する)とともに、最小階調数で、中間言語データの第m要素が表すバンド画像をビデオメモリ22に描画出力する(S112)。描画出力部36は、具体的には、例えば、ビデオメモリ22に出力されている階調数を示すデータを、最小階調数を示すデータに更新するとともに、階調値を示すデータを、バンド領域R内の各画素についての、最小階調数でのRGB値等の階調値を示すデータに更新する。そして、階調数決定部34は、変数mの値を1増加させて(S113)、S104以降の処理を実行する。   When the number of gradations is the minimum (S108: Y), the gradation number determination unit 34 identifies at least one band image with the highest gradation number among the already drawn band images (S110). Then, the band image specified in the processing shown in S110 stored in the video memory 22 is updated to an image drawn with the minimum number of gradations indicated by the minimum number of gradations information stored in the spooler memory 20. If the information amount (size) of the free area of the video memory 22 including the free area of the video memory 22 to be released in the case of the above is the minimum number of gradations, the band image represented by the elements after the mth element of the intermediate language data It is confirmed whether or not the amount of information (size) of the video memory 22 required for holding is larger than (S111). Otherwise (S111: N), the image processing apparatus 10 outputs an error message to the information processing apparatus and ends abnormally. If that is the case (S111: Y), the drawing output unit 36 re-draws the image redrawn with the minimum number of gradations based on the corresponding intermediate language data for the band image specified in the processing shown in S110. (The band image stored in the video memory 22 is updated to an image redrawn with the minimum number of gradations based on the corresponding intermediate language data), and at the minimum number of gradations, the intermediate language data The band image represented by the m-th element is drawn and output to the video memory 22 (S112). Specifically, for example, the drawing output unit 36 updates the data indicating the number of gradations output to the video memory 22 to the data indicating the minimum number of gradations, and converts the data indicating the gradation values to the band. For each pixel in the region R, the data is updated to data indicating gradation values such as RGB values at the minimum number of gradations. Then, the gradation number determination unit 34 increments the value of the variable m by 1 (S113), and executes the processes after S104.

S104に示す処理において、変数mの値が(n+1)である場合は、画像形成部38が、ビデオメモリ22に描画された、1ページ分のバンド画像を取得して、このバンド画像を紙媒体等の記録媒体上に形成する(S114)。このようにして、1ページ分のバンド画像の記録媒体上への形成処理が終了する。   In the process shown in S104, when the value of the variable m is (n + 1), the image forming unit 38 acquires a band image for one page drawn in the video memory 22, and uses the band image as a paper medium. (S114). In this way, the process of forming the band image for one page on the recording medium is completed.

なお、上述の処理例において、描画出力部36が、中間言語データの第m要素が表すバンド画像をビデオメモリ22に描画出力した際に、中間言語データの第m要素が占めるビデオメモリ22の領域を解放するようにしてもよい。そして、画像処理装置10は、解放されたビデオメモリ22の領域を、ビデオメモリ22の空き領域の一部として取り扱ってもよい。   In the above processing example, when the rendering output unit 36 renders and outputs the band image represented by the mth element of the intermediate language data to the video memory 22, the area of the video memory 22 occupied by the mth element of the intermediate language data. May be released. Then, the image processing apparatus 10 may treat the released area of the video memory 22 as a part of the free area of the video memory 22.

図5A、図5B、及び、図5Cは、本実施形態に係る画像処理装置10で行われる処理による、各バンド画像の階調数の設定の一例を示す説明図である。この例では、まず、第1バンド領域R(1)、第2バンド領域R(2)について、階調数8でバンド画像が描画される。そして、第3バンド領域R(3)、第4バンド領域R(4)、第5バンド領域R(5)、第6バンド領域R(6)について、階調数4でバンド画像が描画される。そして、第7バンド領域R(7)、第8バンド領域R(8)について、階調数2でバンド画像が描画される(以上、図5A参照)。そして、第9バンド領域(9)のバンド画像の描画にあたって、空き領域不足となり、第1バンド領域R(1)、第2バンド領域R(2)のバンド画像が、階調数2のバンド画像に更新された上で(図5B参照)、第9バンド領域R(9)、第10バンド領域R(10)について、階調数2でバンド画像が描画される(図5C参照)。   5A, 5B, and 5C are explanatory diagrams illustrating an example of setting the number of gradations of each band image by processing performed by the image processing apparatus 10 according to the present embodiment. In this example, first, band images are drawn with the number of gradations 8 for the first band region R (1) and the second band region R (2). A band image is drawn with the number of gradations of 4 for the third band region R (3), the fourth band region R (4), the fifth band region R (5), and the sixth band region R (6). . Then, a band image is drawn with the number of gradations 2 for the seventh band region R (7) and the eighth band region R (8) (see FIG. 5A above). Then, when drawing the band image of the ninth band region (9), the empty region becomes insufficient, and the band images of the first band region R (1) and the second band region R (2) are the band images having two gradations. (See FIG. 5B), the band image is drawn with the number of gradations 2 for the ninth band region R (9) and the tenth band region R (10) (see FIG. 5C).

なお、本発明は上述の実施形態に限定されるものではない。   In addition, this invention is not limited to the above-mentioned embodiment.

例えば、上述のS111に示す処理において、階調数決定部34が、ビデオメモリ22に記憶されている、S110に示す処理で特定されたバンド画像を、その半分の階調数で描画された画像に更新した場合に解放されるビデオメモリ22の空き領域を含む、ビデオメモリ22の空き領域の情報量(サイズ)が、最小階調数での、中間言語データの第m要素以降の要素が表すバンド画像の保持に要するビデオメモリ22の情報量(サイズ)以上であるか否かを確認するという処理を、この条件を満足するまで繰り返し実行するようにしてもよい。そして、条件を満足した際に、その階調数で、S110に示す処理で特定されたバンド画像について、ビデオメモリ22に記憶されているバンド画像を、対応する中間言語データに基づいて再描画した画像に更新するようにしてもよい。   For example, in the process shown in S111 described above, the tone number determination unit 34 is an image in which the band image specified in the process shown in S110 stored in the video memory 22 is drawn with half the number of tones. The amount of information (size) of the free area of the video memory 22 including the free area of the video memory 22 that is released when it is updated is represented by elements after the mth element of the intermediate language data at the minimum number of gradations. The process of confirming whether or not the information amount (size) of the video memory 22 required for holding the band image is exceeded may be repeatedly executed until this condition is satisfied. When the condition is satisfied, the band image stored in the video memory 22 is redrawn based on the corresponding intermediate language data for the band image specified by the processing shown in S110 with the number of gradations. You may make it update to an image.

また、例えば、上述のS114に示す処理の前に、階調数決定部34が、上述のS113に示す処理により、階調数が変更されたバンド画像が存在するか否かを確認するようにしてもよい。そして、存在する場合に、バンド画像の階調数のうちの最も低い階調数(最低階調数)で描画されていないバンド画像について、ビデオメモリ22に記憶されているバンド画像を、対応する中間言語データに基づいて上述の最低階調数で再描画した画像に更新するようにしてもよい。図6は、図5Cに示すように各バンド画像の階調数が設定されている状況で、上述の最低階調数での再描画処理が実行された後の、各バンド画像の階調数の設定の一例を示す図である。図6の例では、全バンド画像について、最低階調数である階調数2で、バンド画像が描画されている。   Further, for example, before the process shown in S114, the tone number determination unit 34 confirms whether there is a band image whose tone number has been changed by the process shown in S113. May be. If there is a band image that is not drawn with the lowest number of gradations (the minimum number of gradations) among the number of gradations of the band image, the band image stored in the video memory 22 is associated. You may make it update to the image redrawn by the above-mentioned minimum gradation number based on intermediate language data. FIG. 6 shows the number of gradations of each band image after the above-described redrawing process with the minimum number of gradations is performed in the situation where the number of gradations of each band image is set as shown in FIG. 5C. It is a figure which shows an example of the setting of. In the example of FIG. 6, the band image is drawn with the number of gradations 2 that is the minimum number of gradations for all band images.

また、例えば、記憶部14が、ハードディスクドライブを含んでいてもよい。なお、上述の具体的な数値や文字列は例示であり、これらの数値や文字列には限定されない。   Further, for example, the storage unit 14 may include a hard disk drive. Note that the above-described specific numerical values and character strings are examples, and are not limited to these numerical values and character strings.

10 画像処理装置、12 制御部、14 記憶部、16 通信部、18 印刷部、20 スプーラ用メモリ、22 ビデオメモリ、30 印刷対象情報取得部、32 中間言語データ生成部、34 階調数決定部、36 描画出力部、38 画像形成部、40 印刷紙媒体。   DESCRIPTION OF SYMBOLS 10 Image processing apparatus, 12 Control part, 14 Storage part, 16 Communication part, 18 Printing part, 20 Spooler memory, 22 Video memory, 30 Print target information acquisition part, 32 Intermediate language data generation part, 34 Tone number determination part 36 Drawing output unit, 38 Image forming unit, 40 Printing paper medium.

Claims (5)

印刷される対象を表す印刷対象情報を取得する印刷対象情報取得手段と、
それぞれが前記印刷対象情報に応じた画像が配置される領域を分割した互いに異なる領域に対応付けられる、前記印刷対象情報に基づく複数の分割印刷対象情報それぞれについて、順次、分割印刷対象情報に応じた画像を描画して、当該描画した画像を、記録媒体上に形成される画像が記憶される記憶手段に出力する描画出力手段と、を含み、
前記描画出力手段は、前記分割印刷対象情報に応じた画像を描画する際に、当該描画の際の前記記憶手段の空き領域の情報量が、予め定められた階調数で未描画の分割印刷対象情報に応じた画像を描画した場合の当該描画した画像の記憶に要する前記記憶手段の情報量よりも小さい場合は、既に描画されて前記記憶手段に出力された画像のうちの少なくとも1つについて、当該描画の際の階調数よりも小さな階調数で再描画して前記記憶手段に上書き出力する、
ことを特徴とする画像処理装置。
Print target information acquisition means for acquiring print target information representing a target to be printed;
Each of a plurality of pieces of divided print object information based on the print object information, which is associated with different areas obtained by dividing an area in which an image corresponding to the print object information is divided, sequentially corresponds to the divided print object information. Drawing output means for drawing an image and outputting the drawn image to a storage means for storing an image formed on a recording medium;
When the drawing output unit draws an image according to the divided print target information, the amount of information in the free area of the storage unit at the time of drawing is divided printing that has not been drawn with a predetermined number of gradations. When the amount of information is smaller than the amount of information stored in the storage means required for storing the drawn image when the image corresponding to the target information is drawn, at least one of the images already drawn and output to the storage means , Redrawing with the number of gradations smaller than the number of gradations at the time of drawing, and overwriting to the storage means,
An image processing apparatus.
前記描画出力手段は、前記分割印刷対象情報に応じた画像を描画する際に、当該描画の際の前記記憶手段の空き領域の情報量が、予め定められた階調数で未描画の分割印刷対象情報に応じた画像を描画した場合の当該描画した画像の記憶に要する前記記憶手段の情報量よりも小さい場合は、既に描画されて前記記憶手段に出力された画像のうち当該描画の際の階調数が最も高い画像について再描画して前記記憶手段に上書き出力する、
ことを特徴とする請求項1に記載の画像処理装置。
When the drawing output unit draws an image according to the divided print target information, the amount of information in the free area of the storage unit at the time of drawing is divided printing that has not been drawn with a predetermined number of gradations. If the amount of information is smaller than the amount of information stored in the storage means required for storing the drawn image when the image corresponding to the target information is drawn, among the images already drawn and output to the storage means, Redrawing the image with the highest number of gradations and overwriting the storage means;
The image processing apparatus according to claim 1.
前記描画出力手段は、前記分割印刷対象情報に応じた画像を描画する際に、当該描画の際の前記記憶手段の空き領域の情報量が、2階調で未描画の分割印刷対象情報に応じた画像を描画した場合の当該描画した画像の記憶に要する前記記憶手段の情報量よりも小さい場合は、既に描画されて前記記憶手段に出力された画像のうちの少なくとも1つについて、当該描画の際の階調数よりも小さな階調数で再描画して前記記憶手段に上書き出力する、
ことを特徴とする請求項1又は2に記載の画像処理装置。
When the drawing output unit draws an image corresponding to the divided print target information, the amount of information in the free area of the storage unit at the time of drawing corresponds to the non-drawn divided print target information in two gradations. If the information amount of the storage means required for storing the drawn image is smaller when the drawn image is drawn, at least one of the images already drawn and output to the storage means Redrawing with the number of gradations smaller than the number of gradations at the time and overwriting to the storage means,
The image processing apparatus according to claim 1, wherein the image processing apparatus is an image processing apparatus.
前記描画出力手段は、前記各分割印刷対象情報に応じた画像が前記記憶手段に出力された後に、当該各画像が描画された階調数が異なる場合は、当該各画像が描画された階調数のうち最も小さな階調数で描画された画像以外の、前記分割印刷対象情報に応じた画像について、前記最も小さな階調数で再描画して前記記憶手段に上書き出力する、
ことを特徴とする請求項1から3のいずれか一項に記載の画像処理装置。
If the number of gradations in which each image is rendered differs after the image corresponding to each divided print target information is output to the storage unit, the rendering output unit renders the gradation in which each image is rendered The image corresponding to the divided print target information other than the image drawn with the smallest number of gradations among the numbers is redrawn with the smallest number of gradations and overwritten and output to the storage unit.
The image processing apparatus according to claim 1, wherein the image processing apparatus is an image processing apparatus.
印刷される対象を表す印刷対象情報を取得する印刷対象情報取得手段、
それぞれが前記印刷対象情報に応じた画像が配置される領域を分割した互いに異なる領域に対応付けられる、前記印刷対象情報に基づく複数の分割印刷対象情報それぞれについて、順次、分割印刷対象情報に応じた画像を描画して、当該描画した画像を、記録媒体上に形成される画像が記憶される記憶手段に出力する描画出力手段、としてコンピュータを機能させ、
前記描画出力手段は、前記分割印刷対象情報に応じた画像を描画する際に、当該描画の際の前記記憶手段の空き領域の情報量が、予め定められた階調数で未描画の分割印刷対象情報に応じた画像を描画した場合の当該描画した画像の記憶に要する前記記憶手段の情報量よりも小さい場合は、既に描画されて前記記憶手段に出力された画像のうちの少なくとも1つについて、当該描画の際の階調数よりも小さな階調数で再描画して前記記憶手段に上書き出力する、
ことを特徴とするプログラム。
Print target information acquisition means for acquiring print target information representing a target to be printed;
Each of a plurality of pieces of divided print object information based on the print object information, which is associated with different areas obtained by dividing an area in which an image corresponding to the print object information is divided, sequentially corresponds to the divided print object information. Draw an image, and cause the computer to function as a drawing output unit that outputs the drawn image to a storage unit that stores an image formed on a recording medium.
When the drawing output unit draws an image according to the divided print target information, the amount of information in the free area of the storage unit at the time of drawing is divided printing that has not been drawn with a predetermined number of gradations. When the amount of information is smaller than the amount of information stored in the storage means required for storing the drawn image when the image corresponding to the target information is drawn, at least one of the images already drawn and output to the storage means , Redrawing with the number of gradations smaller than the number of gradations at the time of drawing, and overwriting to the storage means,
A program characterized by that.
JP2010269017A 2010-12-02 2010-12-02 Image processing system and program Pending JP2012120009A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010269017A JP2012120009A (en) 2010-12-02 2010-12-02 Image processing system and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010269017A JP2012120009A (en) 2010-12-02 2010-12-02 Image processing system and program

Publications (1)

Publication Number Publication Date
JP2012120009A true JP2012120009A (en) 2012-06-21

Family

ID=46502346

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010269017A Pending JP2012120009A (en) 2010-12-02 2010-12-02 Image processing system and program

Country Status (1)

Country Link
JP (1) JP2012120009A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018094219A (en) * 2016-12-15 2018-06-21 株式会社平和 Game machine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018094219A (en) * 2016-12-15 2018-06-21 株式会社平和 Game machine

Similar Documents

Publication Publication Date Title
JP5490757B2 (en) Printer driver and printing method using the same
US8493629B2 (en) Image processing apparatus, method, and computer program
US8660357B2 (en) Image processing apparatus, method, and computer program
JP2012120009A (en) Image processing system and program
US20170147912A1 (en) Print control system, print control apparatus, and program
JP6597510B2 (en) Image processing apparatus and image processing method
JP6015478B2 (en) Control device, control method, and printer driver program
JP6613871B2 (en) Information processing apparatus, image reading apparatus, and program
JP2012101440A (en) Image processor and program
JP6238589B2 (en) Image forming apparatus, image processing method, and program
US20050213126A1 (en) Image forming apparatus and image reading apparatus
JP4636145B2 (en) Image processing apparatus and program
JP2007306445A (en) Image data conversion device
JP2012119977A (en) Image processing apparatus and program
JP2007034371A (en) Image processor, image processing method and program
JP6601426B2 (en) Image processing apparatus and image processing method
JP5310538B2 (en) Print control program and information processing apparatus
JP4905294B2 (en) Image processing circuit, printing apparatus, and image processing program
JP6358198B2 (en) Image forming apparatus and program
JP2016021641A (en) Information processor and program
US8976403B2 (en) Document processing system, image forming apparatus, document processing method and computer readable medium for generating a synthetic image
JP5690185B2 (en) Input data improvement support device and program
JP2013184349A (en) Image forming apparatus and program
JP2009060486A (en) Image processor and printer having the same, and method of processing image
JP2009048249A (en) Image processing circuit, display device and printer