[go: up one dir, main page]

JP2014076624A - Preview image generation device, method and computer program for preview image generation - Google Patents

Preview image generation device, method and computer program for preview image generation Download PDF

Info

Publication number
JP2014076624A
JP2014076624A JP2012226506A JP2012226506A JP2014076624A JP 2014076624 A JP2014076624 A JP 2014076624A JP 2012226506 A JP2012226506 A JP 2012226506A JP 2012226506 A JP2012226506 A JP 2012226506A JP 2014076624 A JP2014076624 A JP 2014076624A
Authority
JP
Japan
Prior art keywords
image
area
drawn
preview image
objects
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.)
Granted
Application number
JP2012226506A
Other languages
Japanese (ja)
Other versions
JP5929689B2 (en
Inventor
Wataru Uchida
弥 内田
Hiroaki Kubo
広明 久保
Toshimichi Iwai
利通 岩井
Daisuke Nakano
大介 中野
Akihiro Torigoe
章宏 鳥越
Atsushi Tamura
敦史 田村
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.)
Konica Minolta Inc
Original Assignee
Konica Minolta Inc
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 Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP2012226506A priority Critical patent/JP5929689B2/en
Publication of JP2014076624A publication Critical patent/JP2014076624A/en
Application granted granted Critical
Publication of JP5929689B2 publication Critical patent/JP5929689B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)
  • Facsimiles In General (AREA)

Abstract

【課題】ラスタライズが完了する以前にプレビュー表示を行なう場合に有用なプレビュー画像を生成する。
【解決手段】プレビュー表示の対象である出力画像を構成する複数のオブジェクトがメモリエリア上に順に描画される過程において、複数のオブジェクトのいずれかが描画されるごとに、出力画像のうちの描画された部分の面積および当該部分が表わす視覚情報に対する量的評価の評価値を算出し、面積が面積閾値以上になり、かつ評価値が情報量閾値以上になったときに、複数のオブジェクトのうちの描画されたオブジェクトのみを表わす画像をプレビュー画像として生成する。
【選択図】図10
A preview image useful for preview display before rasterization is completed is generated.
In a process in which a plurality of objects constituting an output image to be previewed are sequentially drawn on a memory area, each time one of the plurality of objects is drawn, the output image is drawn. The evaluation value of the quantitative evaluation for the area of the part and the visual information represented by the part is calculated, and when the area exceeds the area threshold and the evaluation value exceeds the information amount threshold, An image representing only the drawn object is generated as a preview image.
[Selection] Figure 10

Description

本発明は、プレビューのために表示されるプレビュー画像を生成する技術に関する。   The present invention relates to a technique for generating a preview image to be displayed for preview.

印刷結果のプレビュー表示を行なう画像形成装置やネットワークプリンティングシステムがある。この種の装置やシステムは、ベクターデータやテキストデータといった非ラスターデータを有するドキュメントを印刷する際に、印刷イメージをメモリ上に描画するラスタライズ(ラスターイメージ処理)を行なう。そして、ラスタライズによって得られるラスター画像またはそれをディスプレイに合わせて変倍した画像(通常は縮小画像)をプレビュー画像として表示する。カラー印刷の場合には、RGBまたはYMCKの色成分ごとにラスタライズを行ない、各色成分のラスター画像を合成したカラー画像またはそれの変倍画像をプレビュー画像として表示する。   There are image forming apparatuses and network printing systems that perform preview display of print results. This type of device or system performs rasterization (raster image processing) for drawing a print image on a memory when printing a document having non-raster data such as vector data or text data. Then, a raster image obtained by rasterization or an image (usually a reduced image) obtained by scaling it according to the display is displayed as a preview image. In the case of color printing, rasterization is performed for each color component of RGB or YMCK, and a color image obtained by synthesizing a raster image of each color component or a scaled image thereof is displayed as a preview image.

従来、プレビュー表示はラスタライズが完了した後に行なわれる。このため、プレビュー表示の開始時期がラスタライズの所要時間に依存する。文字、図形、写真といった描画すべきオブジェクトの数が多いほどラスタライズに時間が掛かり、プレビュー表示の開始が遅れる。   Conventionally, preview display is performed after rasterization is completed. For this reason, the start time of the preview display depends on the time required for rasterization. The larger the number of objects to be drawn, such as characters, graphics, and photos, the longer the rasterization takes, and the start of preview display is delayed.

ネットワークプリンティングにおけるプレビュー表示の迅速化に関して、特許文献1の開示がある。同文献で開示された手法は、プリンターに印刷を指示するホスト(パーソナルコンピューター)でのプレビュー表示に際し、プリンターが印刷イメージの一部分のラスタライズを行ない、ホストが残りの部分のラスタライズを行なう。そして、両者のラスタライズの結果をホストで合成して表示する。これによれば、プリンターで印刷イメージの全体をラスタライズする場合と比べて、プリンターからホストへ転送すべき印刷イメージのデータ量が少なくなり、転送に要する時間が短くなる。   Japanese Patent Application Laid-Open No. H10-228707 discloses a quick preview display in network printing. In the method disclosed in this document, when a preview is displayed on a host (personal computer) instructing printing to the printer, the printer rasterizes a part of the print image, and the host rasterizes the remaining part. Then, the rasterized results of both are combined and displayed by the host. According to this, as compared with the case where the entire print image is rasterized by the printer, the data amount of the print image to be transferred from the printer to the host is reduced, and the time required for transfer is shortened.

特開2001−282499号公報JP 2001-282499 A

ラスタライズが完了してからではなくラスタライズの途中段階でプレビュー表示を開始することが考えられる。例えば、重なり合うオブジェクトのための透過処理を伴う複雑なラスタライズでは、装置の処理能力によっては所要時間が数十秒から1分にも及ぶことがある。途中段階でのプレビュー表示はユーザーに早期に情報を提供する上で有用である。   It is conceivable to start preview display in the middle of rasterization, not after rasterization is completed. For example, in complex rasterization involving transparent processing for overlapping objects, the required time may range from several tens of seconds to one minute depending on the processing capability of the apparatus. The preview display at an intermediate stage is useful for providing information to the user at an early stage.

早期に情報を提供するという観点では、ラスタライズの開始直後から逐次にプレビュー表示をすることも考えられる。しかし、プレビューの目的からすると、ラスタライズをしている元データがユーザーの指定したものに間違いないかどうかをユーザーが確認することもできず、かつラスタライズ中のイメージの完成状態をある程度予想することもできないような情報を提供することの意義は小さい。加えて、プレビュー表示のための処理を行なう装置の負担を低減する上では、リソースの使用をできるだけ少なくするのがよい。特に、ラスタライズされたイメージを縮小してプレビュー表示する場合には、縮小に相応のリソースを使用するので、プレビュー表示を頻繁に更新するのは好ましくない。   From the viewpoint of providing information at an early stage, preview display may be performed sequentially immediately after the start of rasterization. However, for the purpose of previewing, the user cannot confirm whether the original data being rasterized is exactly what the user specified, and may predict the completed state of the image being rasterized to some extent. The significance of providing information that cannot be done is small. In addition, in order to reduce the burden on the apparatus that performs processing for preview display, it is preferable to use as little resources as possible. In particular, when a rasterized image is reduced and displayed as a preview, it is not preferable to frequently update the preview display because resources corresponding to the reduction are used.

本発明は、このような事情に鑑み、ラスタライズが完了する以前にプレビュー表示を行なう場合に有用なプレビュー画像を生成することを目的としている。   In view of such circumstances, an object of the present invention is to generate a preview image that is useful when preview display is performed before rasterization is completed.

上記目的を達成する装置は、出力画像のプレビューのために表示されるプレビュー画像を生成するプレビュー画像生成装置であって、複数のオブジェクトをメモリエリア上に順に描画することによって前記出力画像を生成する過程において、前記複数のオブジェクトのいずれかが描画されるごとに、前記出力画像のうちの描画された部分の面積を算出する面積算出手段と、前記過程において、前記複数のオブジェクトのいずれかが描画されるごとに、前記出力画像のうちの描画された部分が表わす視覚情報に対する量的評価の評価値を算出する評価値算出手段と、前記面積算出手段によって算出された前記面積が面積閾値を超え、かつ前記評価値算出手段によって算出された前記評価値が情報量閾値を超えたときに、前記複数のオブジェクトのうちの描画されたオブジェクトのみを表わす画像を前記プレビュー画像として生成する画像生成手段と、を備える。   An apparatus that achieves the above object is a preview image generation apparatus that generates a preview image to be displayed for previewing an output image, and generates the output image by sequentially drawing a plurality of objects on a memory area. In the process, each time one of the plurality of objects is drawn, an area calculating means for calculating the area of the drawn portion of the output image, and in the process, one of the plurality of objects is drawn. Each time, the evaluation value calculation means for calculating an evaluation value of quantitative evaluation for the visual information represented by the rendered portion of the output image, and the area calculated by the area calculation means exceeds an area threshold value. And when the evaluation value calculated by the evaluation value calculation means exceeds an information amount threshold, the plurality of objects An image representing only rendered objects out and an image generating means for generating as the preview image.

本発明によれば、複数のオブジェクトを順に描画するラスタライズの途中段階でプレビュー表示を行なう場合において情報提供の上で有用なプレビュー画像を生成することができる。   According to the present invention, it is possible to generate a preview image useful for providing information when preview display is performed in the middle of rasterization in which a plurality of objects are sequentially drawn.

本発明の実施形態に係るプレビュー表示が行なわれるネットワークの構成を示す図である。It is a figure which shows the structure of the network in which the preview display based on embodiment of this invention is performed. プレビュー画像を生成する機能を有した画像形成装置の概略のハードウェア構成を示す図である。FIG. 2 is a diagram illustrating a schematic hardware configuration of an image forming apparatus having a function of generating a preview image. 画像形成装置におけるプレビュー画像生成装置としての動作に関わる機能構成を示す図である。FIG. 3 is a diagram illustrating a functional configuration related to an operation as a preview image generation apparatus in the image forming apparatus. プレビュー画像の生成に関わる評価値としてのデータ量の算出に用いる算出用情報の例を示す図である。It is a figure which shows the example of the information for calculation used for calculation of the data amount as an evaluation value in connection with the production | generation of a preview image. データ量の算出に関わるエッジ抽出の模式図である。It is a schematic diagram of the edge extraction in connection with calculation of data amount. ディスプレイのサイズに応じて算出用情報を選択する動作のフローチャートである。It is a flowchart of the operation | movement which selects the information for calculation according to the size of a display. プレビュー画像の元となる描画中の画像に対する判定に用いる閾値テーブルを示す図である。It is a figure which shows the threshold value table used for the determination with respect to the image in drawing used as the origin of a preview image. 描画される複数のオブジェクトを模式的に示す図である。It is a figure which shows typically the several object drawn. 複数のメモリエリアを用いる描画の手順を示す図である。It is a figure which shows the procedure of drawing using a some memory area. ディスプレイのサイズに応じたプレビュー画像の生成動作の第1例を示す図である。It is a figure which shows the 1st example of the production | generation operation | movement of the preview image according to the size of a display. ディスプレイのサイズに応じたプレビュー画像の生成動作の第2例を示す図である。It is a figure which shows the 2nd example of the production | generation operation | movement of the preview image according to the size of a display. ディスプレイのサイズに応じたプレビュー画像の生成動作の第3例を示す図である。It is a figure which shows the 3rd example of the production | generation operation | movement of the preview image according to the size of a display.

ネットワークプリンティングに用いられる画像形成装置におけるプレビュー画像の生成を想定する。   Assume that a preview image is generated in an image forming apparatus used for network printing.

図1に示される画像形成装置1は、印刷機能および印刷以外の多様な機能を有するMFP(Multi-functional Peripheral)である。画像形成装置1は、無線通信を可能にするアクセスポイント3を備えたLAN(Local Area Network)2に接続されている。画像形成装置1には、操作パネル22による直接の操作によってコピージョブおよびプリントジョブが与えられ、LAN2を介する外部装置からのアクセスによってプリントジョブが与えられる。   An image forming apparatus 1 shown in FIG. 1 is an MFP (Multi-functional Peripheral) having various functions other than a printing function and printing. The image forming apparatus 1 is connected to a local area network (LAN) 2 having an access point 3 that enables wireless communication. The image forming apparatus 1 is given a copy job and a print job by direct operation from the operation panel 22, and is given a print job by access from an external device via the LAN 2.

プリントジョブでは、外部装置から与えられるドキュメント、画像形成装置1内のボックス305に保存されているドキュメント、またはUSBメモリのようなリムーバブルメモリ7から読み込まれるドキュメントが印刷される。プリントジョブの実行に際して、プレビューモードが指定されている場合、後述のようにして生成されるプレビュー画像が操作パネル22または印刷を要求した外部装置において表示される。   In the print job, a document given from an external device, a document stored in a box 305 in the image forming apparatus 1, or a document read from a removable memory 7 such as a USB memory is printed. When the preview mode is designated at the time of executing the print job, a preview image generated as described later is displayed on the operation panel 22 or the external device that has requested printing.

画像形成装置1に対して印刷を要求する外部装置としては、LAN2にケーブル接続されたパーソナルコンピューター(PC)5a,5b、無線通信によってアクセスする携帯電話機やタブレット型コンピューターといった携帯機器6a,6bがある。また、LAN2に接続されたインターネット4を介してアクセスするクラウドシステム8も外部装置に含まれる。これらの外部装置は、印刷対象のドキュメントデータを画像形成装置1に送信してその印刷を要求したり、予めボックス305に保存されているドキュメントを指定してその印刷を要求したりする。   External devices that request printing to the image forming apparatus 1 include personal computers (PCs) 5a and 5b connected to the LAN 2 by cables, and mobile devices 6a and 6b such as mobile phones and tablet computers that are accessed by wireless communication. . A cloud system 8 accessed via the Internet 4 connected to the LAN 2 is also included in the external device. These external devices send document data to be printed to the image forming apparatus 1 to request printing, or specify a document stored in the box 305 in advance to request printing.

図2は画像形成装置1のハードウェア構成を示している。画像形成装置1の全体制御を担うメインコントローラー10は、制御プログラムや各種アプリケーションを実行するコンピューターとしてのCPU(Central Processing Unit)11、制御プログラムを記憶するROM(Read Only Memory)12、プログラム実行のワークエリアとされるRAM(Random Access Memory)13、および制御に必要な設定データを記憶するバッテリバックアップされたNV−RAM(不揮発性メモリ)14を有する。   FIG. 2 shows a hardware configuration of the image forming apparatus 1. A main controller 10 responsible for overall control of the image forming apparatus 1 includes a CPU (Central Processing Unit) 11 as a computer for executing control programs and various applications, a ROM (Read Only Memory) 12 for storing control programs, and a program execution work. It has a RAM (Random Access Memory) 13 serving as an area, and a battery-backed NV-RAM (nonvolatile memory) 14 for storing setting data necessary for control.

操作パネル22は、操作画面を表示するディスプレイ225を有する。ADF(Auto Document Feeder)23は、コピー、イメージ入力、またはファクシミリ送信において、原稿シートをイメージスキャナー24における読取り位置へ搬送する。イメージスキャナー24は原稿シートに記録されている画像情報を光学的に読み取る。プリンターエンジン25は、多段式の用紙スタッカー26から供給される用紙の片面または両面に電子写真法によってモノクロまたはカラーの画像をプリントする。   The operation panel 22 includes a display 225 that displays an operation screen. An ADF (Auto Document Feeder) 23 conveys a document sheet to a reading position in the image scanner 24 in copying, image input, or facsimile transmission. The image scanner 24 optically reads image information recorded on the document sheet. The printer engine 25 prints a monochrome or color image by electrophotography on one or both sides of the paper supplied from the multistage paper stacker 26.

モデム27およびNCU(Network Control Unit)28は公衆電話回線によるファクシミリ通信に用いられる。通信インタフェース29は画像形成装置1を外部装置との通信のためのネットワークに接続する。通信インタフェース29には、リムーバブルメモリを含む外付けの機器を接続するためのUSBインタフェースが含まれている。   A modem 27 and an NCU (Network Control Unit) 28 are used for facsimile communication via a public telephone line. The communication interface 29 connects the image forming apparatus 1 to a network for communication with an external apparatus. The communication interface 29 includes a USB interface for connecting an external device including a removable memory.

ストレージ30はハードディスクドライブ(HDD)のような大容量記憶デバイスである。ストレージ30は、制御プログラムや制御用のデータを記憶する媒体として用いられる。ストレージ30には、各種のドキュメントを保存するメモリ領域であるボックス305が設けられる。ストレージ30に格納されているデータやプログラムは必要に応じてワークエリアにロードされる。   The storage 30 is a mass storage device such as a hard disk drive (HDD). The storage 30 is used as a medium for storing a control program and control data. The storage 30 is provided with a box 305 that is a memory area for storing various documents. Data and programs stored in the storage 30 are loaded into the work area as necessary.

図3はメインコントローラー10におけるプレビュー画像の生成に関わる機能構成を示している。メインコントローラー10は、ジョブ管理部101、描画部102、面積算出部103、データ量算出部104、描画監視部105、およびプレビュー画像生成部106を有する。これらの要素は、CPU11が所定のプログラムを実行することによって実現される機能要素である。そして、これらの要素のうちの描画部102、面積算出部103、データ量算出部104、描画監視部105、およびプレビュー画像生成部106が、プレビュー画像生成装置100としての動作を実現する機能要素である。   FIG. 3 shows a functional configuration related to generation of a preview image in the main controller 10. The main controller 10 includes a job management unit 101, a drawing unit 102, an area calculation unit 103, a data amount calculation unit 104, a drawing monitoring unit 105, and a preview image generation unit 106. These elements are functional elements realized by the CPU 11 executing a predetermined program. Among these elements, the drawing unit 102, the area calculation unit 103, the data amount calculation unit 104, the drawing monitoring unit 105, and the preview image generation unit 106 are functional elements that realize the operation as the preview image generation device 100. is there.

ジョブ管理部101は、操作パネル22からの指示または外部装置8からの要求に応じて実行すべきジョブを設定し、ジョブの進行を制御する。描画部102は、プリントジョブの実行に際して、印刷対象のドキュメントの各ページの印刷イメージをメモリ上に描画するラスターイメージプロセッサー(Raster image processor : RIP)である。描画部102は、ジョブ管理部101によって指定されたドキュメントに応じて必要な数のメモリエリア31,32,33,35をRAM13内に確保し、出力画像としての印刷イメージを構成する複数のオブジェクを順に描画する。描画(ラスタライズ)によって得られたラスター画像がプリンターエンジン25へ送られ、電子写真プロセスによる印刷に用いられる。   The job management unit 101 sets a job to be executed in response to an instruction from the operation panel 22 or a request from the external device 8, and controls the progress of the job. The drawing unit 102 is a raster image processor (RIP) that draws a print image of each page of a document to be printed on a memory when a print job is executed. The drawing unit 102 secures a necessary number of memory areas 31, 32, 33, and 35 in the RAM 13 according to the document specified by the job management unit 101, and stores a plurality of objects constituting a print image as an output image. Draw in order. A raster image obtained by drawing (rasterization) is sent to the printer engine 25 and used for printing by an electrophotographic process.

プレビュー画像生成装置100は、描画部102による1ページ分の印刷イメージの描画が完了する以前に、描画途中の印刷イメージに基づいてプレビュー画像を生成する。プレビューを行なうユーザーにとって無意味なプレビュー画像を生成することのないよう、プレビュー画像生成装置100はユーザーに提供する情報として無意味ではないと推定し得る程度まで描画が進行した段階でプレビュー画像を生成する。無意味であるかどうかの判定に関わる機能要素が、面積算出部103、データ量算出部104、および描画監視部105である。   The preview image generation apparatus 100 generates a preview image based on a print image in the middle of drawing before drawing of a print image for one page by the drawing unit 102 is completed. In order not to generate a preview image that is meaningless for the user who performs the preview, the preview image generation device 100 generates a preview image when drawing has been performed to such an extent that it can be assumed that the information provided to the user is not meaningless. To do. Functional elements related to the determination of whether or not meaning is an area calculation unit 103, a data amount calculation unit 104, and a drawing monitoring unit 105.

面積算出部103は、複数のオブジェクトが順に描画される過程において、複数のオブジェクトのいずれかが描画されるごとに、描画に使用されたメモリエリアにおけるオブジェクトが描画された部分の面積(メモリビットの使用量)を算出する。ここでいう面積は、印刷イメージのうちの描画された部分の面積に相当する。この面積の算出に際し、オブジェクトが部分的に重なる場合、重なり部分については面積を重複させない。重なり合うオブジェクトに対応する面積値はこれらオブジェクトの個々の面積の合計よりも小さい値になる。   In the process in which a plurality of objects are sequentially drawn, the area calculation unit 103 is configured such that each time one of the plurality of objects is drawn, the area of the portion in which the object is drawn (the memory bit of the memory bit used for drawing) is drawn. Use amount). The area here corresponds to the area of the drawn portion of the print image. When calculating the area, if the objects partially overlap, the overlapping areas are not overlapped. The area value corresponding to the overlapping objects is smaller than the sum of the individual areas of these objects.

データ量算出部104は、印刷イメージのうちの描画された部分が表わす視覚情報に対する量的評価の評価値を算出する手段である。データ量算出部104は、複数のオブジェクトのいずれかが描画されるごとに、算出用情報に基づいて評価値としての“データ量”を算出する。本実施形態では、データ量は、上記部分に含まれる複数の画像要素についての得点の合計である。予め視覚情報の構成要素の候補として文字・画像のエッジ・図形の輪郭といった画像要素が選定されており、選定された画像要素について、想定される三つのディスプレイサイズ別に得点が定められている。そして、各画像要素の得点を示すディスプレイサイズ別の得点テーブルT1,T2,T3が算出用情報としてストレージ30またはNV−RAM14に記憶されている。データ量算出部104は、記憶されている得点テーブルT1,T2,T3のうちの少なくとも一つを描画開始前にRAM13にロードしておき、描画中に得点テーブルT1,T2,T3を参照してデータ量を算出する。   The data amount calculation unit 104 is a means for calculating an evaluation value for quantitative evaluation with respect to visual information represented by a drawn portion of a print image. The data amount calculation unit 104 calculates a “data amount” as an evaluation value based on the calculation information every time one of a plurality of objects is drawn. In the present embodiment, the data amount is the total score for a plurality of image elements included in the portion. Image elements such as characters, image edges, and graphic outlines are selected in advance as candidates for components of visual information, and a score is determined for each of the assumed three display sizes for the selected image elements. A score table T1, T2, T3 for each display size indicating the score of each image element is stored in the storage 30 or the NV-RAM 14 as calculation information. The data amount calculation unit 104 loads at least one of the stored score tables T1, T2, and T3 into the RAM 13 before starting drawing, and refers to the score tables T1, T2, and T3 during drawing. Calculate the amount of data.

描画監視部105は、面積算出部103およびデータ量算出部104によって算出される面積およびデータ量を描画監視テーブルT5に書き込む。描画監視部105は、描画用のメモリエリア別に面積およびデータ量を記録し、メモリエリア31,32,33,35のいずれかにオブジェクトが描画されるごとに、描画監視テーブルT5における面積およびデータ量の記録を更新するとともに、描画に使用されたメモリエリア31,32,33,35の全てについての面積の合計およびデータ量の合計を算出する。そして、描画監視部105は、面積の合計を閾値テーブルTthが示す面積閾値と比較し、データ量の合計を同様のデータ量閾値と比較する。面積の合計が面積閾値以上になり、かつデータ量の合計がデータ量閾値以上になったとき、描画監視部105はその旨をプレビュー画像生成部106に通知する。   The drawing monitoring unit 105 writes the area and data amount calculated by the area calculating unit 103 and the data amount calculating unit 104 in the drawing monitoring table T5. The drawing monitoring unit 105 records the area and data amount for each memory area for drawing, and the area and data amount in the drawing monitoring table T5 each time an object is drawn in any of the memory areas 31, 32, 33, and 35. Is updated, and the total area and the total data amount of all the memory areas 31, 32, 33, and 35 used for drawing are calculated. Then, the drawing monitoring unit 105 compares the total area with the area threshold indicated by the threshold table Tth, and compares the total data amount with a similar data amount threshold. When the total area exceeds the area threshold and the total data amount exceeds the data amount threshold, the drawing monitoring unit 105 notifies the preview image generation unit 106 to that effect.

プレビュー画像生成部106は、描画監視部105からの通知を受けてプレビュー画像を生成する。すなわち、メモリエリア31,32,33,35から描画されたラスター画像を読み込み、読み込んだ複数のラスター画像を合成し、得られた合成画像をディスプレイサイズに適合するように変倍してプレビュー画像を完成させる。   The preview image generation unit 106 receives the notification from the drawing monitoring unit 105 and generates a preview image. That is, a raster image drawn from the memory areas 31, 32, 33, and 35 is read, a plurality of read raster images are combined, and the obtained combined image is scaled to fit the display size to obtain a preview image. Finalize.

生成されたプレビュー画像はプレビュー表示に用いられる。操作パネル22によってジョブが指定された場合、プレビュー画像は操作パネル22による表示を制御するパネル表示制御部107に引き渡される。外部装置からのアクセスによってジョブが指定された場合、プレビュー画像は外部装置との通信を受け持つ通信制御部107に引き渡される。   The generated preview image is used for preview display. When a job is designated by the operation panel 22, the preview image is delivered to the panel display control unit 107 that controls display on the operation panel 22. When a job is designated by access from an external device, the preview image is delivered to the communication control unit 107 that is responsible for communication with the external device.

図4(A)、(B)および(C)はデータ量算出部104によって参照される得点テーブルT1,T2,T3の例を示している。得点テーブルT1は、画面サイズが13インチ以上のディスプレイによるプレビュー表示を想定したPCサイズ(大サイズ)用のテーブルである。得点テーブルT2は、画面サイズが7インチ以上13インチ未満のディスプレイによるプレビュー表示を想定したタブレット端末サイズ(中サイズ)用のテーブルである。得点テーブルT3は、画面サイズが7インチ未満のディスプレイによるプレビュー表示を想定した携帯端末サイズ(小サイズ)用のテーブルである。   4A, 4B, and 4C show examples of the score tables T1, T2, and T3 referred to by the data amount calculation unit 104. FIG. The score table T1 is a table for a PC size (large size) assuming preview display on a display having a screen size of 13 inches or more. The score table T2 is a table for a tablet terminal size (medium size) assuming a preview display on a display having a screen size of 7 inches or more and less than 13 inches. The score table T3 is a table for portable terminal size (small size) assuming preview display on a display having a screen size of less than 7 inches.

得点テーブルT1,T2,T3では、オブジェクトが“ラスター画像”、“図形”および“文字列”の三種に大別されている。例えば、写真はラスター画像に該当し、グラフは図形に該当する。オブジェクト種の“ラスター画像”については、画像要素の一つとして“エッジ”が選定されており、メモリエリアに描画されたサイズでの換算による単位長さあたりのエッジの得点が定められている。エッジはラスター画像における濃度の差異が明瞭な部分どうしの間の境界線である。図5ではオブジェクト59(ラスター画像)からエッジ590が抽出されている。オブジェクト種の“図形”については、画像要素の一つとして“輪郭”が選定されており、上記と同様の換算による単位長さあたりの輪郭の得点が定められている。オブジェクト種の“文字列”については、画像要素の一つとして“文字”が選定されており、1文字あたりの文字サイズ別の得点が示されている。   In the score tables T1, T2, and T3, the objects are roughly classified into three types: “raster image”, “figure”, and “character string”. For example, a photograph corresponds to a raster image, and a graph corresponds to a figure. For the “raster image” of the object type, “edge” is selected as one of the image elements, and the score of the edge per unit length is determined by conversion in the size drawn in the memory area. The edge is a boundary line between portions where the difference in density in the raster image is clear. In FIG. 5, an edge 590 is extracted from the object 59 (raster image). For the “graphic” object type, “contour” is selected as one of the image elements, and the score of the contour per unit length is determined by the same conversion as described above. For the “character string” of the object type, “character” is selected as one of the image elements, and the score for each character size is shown.

例えば、オブジェクト種の“文字列”に注目すると、大サイズ用の得点テーブルT1では文字サイズが1pt(1ポ)大きくなるごとに得点が3点ずつ大きくなる。これに対して、中サイズ用の得点テーブルT2では2点ずつしか大きくならず、さらに小サイズ用の得点テーブルT3では1点ずつしか大きくならない。つまり、画面サイズが大きいほど得点を大きくする重み付けがなされている。その理由は、画面サイズが小さいほどプレビュー表示において文字が小さくなって文字の視認性が低下するからである。図示の例では、他のオブジェクト種の“ラスター画像”および“図形”についても同様の重み付けがなされている。   For example, when paying attention to the “character string” of the object type, the score increases by 3 points each time the character size increases by 1 pt (1 point) in the large size score table T1. On the other hand, in the score table T2 for medium size, only two points are increased, and in the score table T3 for small size, only one point is increased. That is, weighting is performed to increase the score as the screen size increases. The reason is that the smaller the screen size, the smaller the characters in the preview display and the lower the visibility of the characters. In the illustrated example, the same weighting is applied to “raster images” and “graphics” of other object types.

上述のデータ量算出部104は、図6に示されるフローチャートのとおり、プレビュー表示をするディスプレイの画面サイズに応じて得点テーブルT1,T2,T3の一つを参照すべき情報として選択する(#11〜#14)。   As described in the flowchart shown in FIG. 6, the data amount calculation unit 104 selects one of the score tables T1, T2, and T3 as information to be referenced according to the screen size of the display that displays the preview (# 11). ~ # 14).

図7は描画監視部105が参照する閾値テーブルTthの例を示している。閾値テーブルTthでは、三つの画面サイズについて面積閾値およびデータ量閾値(得点閾値)が定められている。例示において、PCサイズ(大サイズ)およびタブレット端末サイズ(中サイズ)には共通の面積閾値および共通のデータ量閾値(得点閾値)が対応する。面積閾値の単位は、描画する印刷イメージ全体(1ページ分の描画エリア)に対するオブジェクトの描画された部分の割合(%)である。   FIG. 7 shows an example of the threshold table Tth referred to by the drawing monitoring unit 105. In the threshold value table Tth, an area threshold value and a data amount threshold value (score threshold value) are defined for three screen sizes. In the example, a common area threshold value and a common data amount threshold value (score threshold value) correspond to the PC size (large size) and the tablet terminal size (medium size). The unit of the area threshold is the ratio (%) of the drawn part of the object to the entire print image to be drawn (drawing area for one page).

図7において、携帯端末サイズの面積閾値は90%であって、PCサイズおよびタブレット端末サイズの面積閾値(70%)よりも大きい。これは、携帯端末サイズについては他のサイズと比べて視覚情報の評価の上で描画面積が重要視されていることを意味する。描画面積を重要視するのは、上述のとおり小サイズのプレビュー表示では細部の識別が困難になるおそれがあり、ユーザーが画面の全体的な様相に注目すると考えられるからである。   In FIG. 7, the area threshold value of the mobile terminal size is 90%, which is larger than the area threshold values (70%) of the PC size and the tablet terminal size. This means that with regard to the size of the mobile terminal, the drawing area is more important in the evaluation of visual information than other sizes. The reason why the drawing area is emphasized is that, as described above, there is a possibility that it becomes difficult to identify details in the small-size preview display, and it is considered that the user pays attention to the overall aspect of the screen.

以下、プレビュー画像生成装置100の機能および動作を、図8に示される六つのオブジェクト51,52,53,54,55,56を描画する場合を例に挙げて説明する。   Hereinafter, functions and operations of the preview image generating apparatus 100 will be described by taking as an example the case where the six objects 51, 52, 53, 54, 55, and 56 shown in FIG. 8 are drawn.

図8において、オブジェクト51,52,53,54,55,56は、マルチレイヤ構成の画像における6個のレイヤ(レイヤ1〜レイヤ6)のそれぞれに順に一つずつ対応する。最下のレイヤ1に対応するオブジェクト51は、1ページ分の描画エリア40の周辺部を除くほぼ全域にわたる大きさをもっている。オブジェクト51は、例えば背景像である。オブジェクト51と比べて小さい他のオブジェクト52〜56は、それぞれ描画エリア40内の所定の位置に描画される。オブジェクト54,56は比較的に大きいサイズの文字を含んでいる。   In FIG. 8, objects 51, 52, 53, 54, 55, and 56 correspond to the six layers (layer 1 to layer 6) in the multi-layer image one by one in order. The object 51 corresponding to the lowest layer 1 has a size over almost the whole area except the peripheral portion of the drawing area 40 for one page. The object 51 is, for example, a background image. Other objects 52 to 56 that are smaller than the object 51 are respectively drawn at predetermined positions in the drawing area 40. Objects 54 and 56 contain relatively large characters.

このような六つのオブジェクト51〜56は、基本的には最下レイヤからレイヤの配列順に描画される。ただし、本例では、オブジェクト52,53が透過オブジェクトであって、レイヤ2のオブジェクト52にレイヤ3のオブジェクト53を重ねた画像に対して、それよりも下のレイヤが透けて見えるように画素値を変更する透過処理を加える必要があるものとする。同様にオブジェクト55,56も透過オブジェクトであって、オブジェクト55にオブジェクト56を重ねた画像に対して同様の透過処理を加える必要があるものとする。つまり、単一のメモリエリアを用いてレイヤの配列順に上書きする単純な描画ではジョブが要求する印刷を実現することができない。このため、図9のように三つのメモリエリア31,32,33を用いて六つのオブジェクト51〜56が描画される。   These six objects 51 to 56 are basically drawn in the order of layer arrangement from the bottom layer. However, in this example, the objects 52 and 53 are transparent objects, and the pixel value is such that the lower layer can be seen through the image in which the layer 53 object 53 is superimposed on the layer 2 object 52. It is necessary to add transparency processing to change Similarly, the objects 55 and 56 are also transparent objects, and it is necessary to apply the same transparent process to an image obtained by superimposing the object 56 on the object 55. In other words, simple drawing in which a single memory area is used to overwrite the layers in the order in which layers are arranged cannot achieve the printing required by the job. Therefore, six objects 51 to 56 are drawn using the three memory areas 31, 32, and 33 as shown in FIG.

図9において、オブジェクト51,52,53,54,55,56の描画過程は、八つのステート(ステート1〜ステート8)を有する。各ステートでの処理は次のとおりである。
〔ステート1〕第1のメモリエリア31を用いてオブジェクト51を描画し、画像41を得る。
〔ステート2〕第2のメモリエリア32を用いてオブジェクト52を描画し、画像42を得る。
〔ステート3〕第2のメモリエリア32上の画像42にオブジェクト53を上書き形式で描画し、画像43を得る。
〔ステート4〕第1のメモリエリア31上の画像41にオブジェクト54を上書き形式で描画し、画像44を得る。
〔ステート5〕第3のメモリエリア33を用いてオブジェクト55を描画し、画像45を得る。
〔ステート6〕第3のメモリエリア33上の画像45にオブジェクト56を上書き形式で描画し、画像46を得る。
〔ステート7〕第2のメモリエリア32上で画像43に第3のメモリエリア33上の画像46を重ね、透過処理をして画像47を得る。
〔ステート8〕第1のメモリエリア31上で画像44に第2のメモリエリア32上の画像47を重ね、透過処理をし、ジョブが要求する描画すべき印刷イメージとしての画像48を得る。
In FIG. 9, the drawing process of objects 51, 52, 53, 54, 55, and 56 has eight states (state 1 to state 8). The processing in each state is as follows.
[State 1] The object 51 is drawn using the first memory area 31, and an image 41 is obtained.
[State 2] The object 52 is drawn using the second memory area 32, and an image 42 is obtained.
[State 3] An object 53 is drawn on the image 42 in the second memory area 32 in an overwriting format to obtain an image 43.
[State 4] An object 54 is drawn on the image 41 in the first memory area 31 in an overwrite format to obtain an image 44.
[State 5] The object 55 is drawn using the third memory area 33, and an image 45 is obtained.
[State 6] An object 56 is drawn on the image 45 in the third memory area 33 in an overwrite format to obtain an image 46.
[State 7] The image 46 on the third memory area 33 is superimposed on the image 43 on the second memory area 32, and an image 47 is obtained by performing a transparent process.
[State 8] The image 47 on the second memory area 32 is superimposed on the image 44 on the first memory area 31 and subjected to a transparent process to obtain an image 48 as a print image to be drawn required by the job.

図10はプレビュー画像の生成動作の第1例を示している。図中の描画監視テーブルT5において表記された「メモリ(1)」、「メモリ(2)」、「メモリ(3)」は、順に第1のメモリエリア31、第2のメモリエリア32、第3のメモリエリア33を指し示している。後述の図11および図12についても同様である。   FIG. 10 shows a first example of preview image generation operation. “Memory (1)”, “Memory (2)”, and “Memory (3)” described in the drawing monitoring table T5 in the drawing are a first memory area 31, a second memory area 32, and a third memory, respectively. The memory area 33 is indicated. The same applies to FIGS. 11 and 12 described later.

図10に示された第1例では、オブジェクト51〜56の描画を伴うプリントジョブが操作パネル22による直接の操作によって画像形成装置1に与えられ、操作パネル22のディスプレイ225によってプレビュー表示が行なわれる。ディスプレイ225の画面サイズがタブレット端末サイズ(中サイズ)であるので、データ量の算定には得点テーブルT2が用いられる。   In the first example shown in FIG. 10, a print job involving drawing of the objects 51 to 56 is given to the image forming apparatus 1 by a direct operation using the operation panel 22, and a preview display is performed on the display 225 of the operation panel 22. . Since the screen size of the display 225 is the tablet terminal size (medium size), the score table T2 is used for calculating the data amount.

描画の過程のステート1において、第1のメモリエリア31にオブジェクト51が描画されたことを受けて、描画監視テーブルT5のデータが更新される。更新された時点で、第1のメモリエリア31について算定された面積は例えば90%であり、同じくデータ量は320点である。第2のメモリエリア32および第3のメモリエリア33にはオブジェクトが描画されていないので、これらについての面積は0%であり、データ量は0点である。したがって、三つのメモリエリア31〜33についての面積の合計は90%であり、データ量の合計は320点である。   In state 1 of the drawing process, in response to the drawing of the object 51 in the first memory area 31, the data of the drawing monitoring table T5 is updated. At the time of the update, the area calculated for the first memory area 31 is 90%, for example, and the data amount is 320 points. Since no objects are drawn in the second memory area 32 and the third memory area 33, the area for these is 0% and the amount of data is 0 points. Therefore, the total area for the three memory areas 31 to 33 is 90%, and the total data amount is 320 points.

ステート1の段階で、面積の合計(ここでは90%)が、タブレット端末サイズに対応する面積閾値(70%)を超えている。しかし、データ量の合計(320点)は、タブレット端末サイズに対応するデータ量閾値(1000点)以上になっていない。したがって、この段階ではプレービュー画像は生成されない。   In the state 1 stage, the total area (here 90%) exceeds the area threshold (70%) corresponding to the tablet terminal size. However, the total amount of data (320 points) does not exceed the data amount threshold (1000 points) corresponding to the tablet terminal size. Accordingly, no preview image is generated at this stage.

ステート2において、第2のメモリエリア32にオブジェクト52が描画されたことを受けて、描画監視テーブルT5のデータが更新される。更新された時点で、第2のメモリエリア32について算定された面積は例えば30%であり、同じくデータ量は200点である。オブジェクト52の描画範囲は、オブジェクト52を有する画像42を先に描画されたオブジェクト51を有する画像41に重ねたときに、オブジェクト51の描画範囲に包含される。このため、三つのメモリエリア31〜33についての面積の合計は、ステート1の段階での値と変わらず90%である。一方、データ量の合計は、第1のメモリエリア31についてのデータ量(320点)と第2のメモリエリア32についてのデータ量(200点)との和、すなわち520点である。ステート2の段階でもデータ量の合計(520点)は、タブレット端末サイズに対応するデータ量閾値(1000点)以上になっていない。   In state 2, in response to the drawing of the object 52 in the second memory area 32, the data in the drawing monitoring table T5 is updated. At the time of the update, the area calculated for the second memory area 32 is, for example, 30%, and the data amount is also 200 points. The drawing range of the object 52 is included in the drawing range of the object 51 when the image 42 having the object 52 is superimposed on the image 41 having the object 51 drawn earlier. Therefore, the total area for the three memory areas 31 to 33 is 90%, which is the same as the value in the state 1 stage. On the other hand, the total data amount is the sum of the data amount for the first memory area 31 (320 points) and the data amount for the second memory area 32 (200 points), that is, 520 points. Even in the state 2 stage, the total amount of data (520 points) does not exceed the data amount threshold (1000 points) corresponding to the tablet terminal size.

同様の手順で、ステート3〜ステート5において、オブジェクト53,54,55が順に描画されるごとに描画監視テーブルT5のデータが更新される。   In the same procedure, the data in the drawing monitoring table T5 is updated each time the objects 53, 54, and 55 are drawn in order in the state 3 to the state 5.

その後、ステート6において、三つのメモリエリア31〜33についてのデータ量の合計がデータ量閾値以よりも多い1060点となる。既にステート1の段階で面積の合計が面積閾値以上になっているので、このステート6の段階でプレビュー表示を行なうべき条件が満たされる。そこで、現時点で描画を終えたオブジェクトを表わすプレビュー画像が生成される。   Thereafter, in state 6, the total amount of data for the three memory areas 31 to 33 is 1060 points, which is greater than the data amount threshold. Since the total area already exceeds the area threshold at the stage of state 1, the condition for preview display at the stage of state 6 is satisfied. Therefore, a preview image representing the object that has been drawn at the present time is generated.

プレビュー画像生成部106(図3参照)は、CPU11の負担を軽減するため、描画に用いた三つのメモリエリア31,32,33のうちの算出されたデータ量が多い順に選んだ設定数個のメモリエリア内に描画されたオブジェクトのみを表わす画像を、プレビュー画像として生成する。例えば設定数が2であるとすると、図10では第1のメモリエリア31と第3のメモリエリア33とが選ばれる。そして、第1のメモリエリア31の画像44と第3のメモリエリア33の画像46とを合成し、ディスプレイ225に適合するように変倍し、図示のようなプレビュー画像60Mを生成する。生成されたプレビュー画像60Mは操作パネル22のディスプレイ225によって表示される。   The preview image generation unit 106 (see FIG. 3) selects a set number of selected items in descending order of the calculated data amount in the three memory areas 31, 32, and 33 used for drawing in order to reduce the load on the CPU 11. An image representing only the object drawn in the memory area is generated as a preview image. For example, if the set number is 2, the first memory area 31 and the third memory area 33 are selected in FIG. Then, the image 44 in the first memory area 31 and the image 46 in the third memory area 33 are combined and scaled to fit the display 225 to generate a preview image 60M as shown. The generated preview image 60M is displayed on the display 225 of the operation panel 22.

なお、タブレットや小型ノートPCのように操作パネル22のディスプレイ225と同じ画面サイズのディスプレイをもつ外部装置においてプレビュー表示を行なう場合も、図10の要領でプレビュー画像60Mを生成する。   Even when preview display is performed in an external device having a display having the same screen size as the display 225 of the operation panel 22 such as a tablet or a small notebook PC, the preview image 60M is generated as shown in FIG.

図11はプレビュー画像の生成動作の第2例を示している。この第2例では、オブジェクト51〜56の描画を伴うプリントジョブが外部装置からのアクセスによって画像形成装置1に与えられ、外部装置に備わるPCサイズ(大サイズ)のディスプレイによってプレビュー表示が行なわれる。データ量の算定にはPCサイズ用の得点テーブルT1が用いられる。   FIG. 11 shows a second example of the preview image generation operation. In this second example, a print job involving drawing of the objects 51 to 56 is given to the image forming apparatus 1 by access from the external apparatus, and preview display is performed on a PC size (large size) display provided in the external apparatus. A PC size score table T1 is used to calculate the data amount.

上述の第1例と同様に、オブジェクト51〜56が描画されるごとに描画監視テーブルT5のデータが更新される。ステート1の段階で面積の合計(90%)はPCサイズの面積閾値(70%)以上になるが、データ量の合計(480点)はPCサイズのデータ量閾値(1000点)よりも少ない。   Similar to the first example described above, each time the objects 51 to 56 are drawn, the data in the drawing monitoring table T5 is updated. In the state 1 stage, the total area (90%) is equal to or larger than the PC size area threshold (70%), but the total data volume (480 points) is smaller than the PC size data volume threshold (1000 points).

ステート4まで描画が進んだ段階で、データ量の合計(1140点)はデータ量閾値以上となる。既にステート1の段階で面積の合計が面積閾値以上になっているので、このステート4の段階でプレビュー画像が生成される。   When drawing has progressed to state 4, the total amount of data (1140 points) is equal to or greater than the data amount threshold. Since the total area has already exceeded the area threshold value at the stage of state 1, a preview image is generated at the stage of state 4.

プレビュー画像生成部106は、三つのメモリエリア31,32,33のうちのデータ量が最も多い第1のメモリアリア31と2番目に多い第2のメモリエリア32とを選び、これらのメモリエリア31,32からデータを取り込む。そして、プレビュー画像生成部106は、第1のメモリエリア31の画像44と第2のメモリエリア32の画像43とを合成し、ディスプレイに適合するように変倍し、図示のようなプレビュー画像60Lを生成する。生成されたプレビュー画像60Lは外部装置(図示ではパーソナルコンピューター5a)において表示される。   The preview image generation unit 106 selects the first memory area 31 having the largest data amount and the second memory area 32 having the second largest amount of data among the three memory areas 31, 32, and 33, and selects these memory areas 31. , 32. Then, the preview image generation unit 106 combines the image 44 in the first memory area 31 and the image 43 in the second memory area 32, scales the image to fit the display, and displays a preview image 60L as illustrated. Is generated. The generated preview image 60L is displayed on an external device (the personal computer 5a in the drawing).

図12はプレビュー画像の生成動作の第3例を示している。この第3例では、オブジェクト51〜56の描画を伴うプリントジョブがスマートフォンや携帯電話機のような小型の外部機器からのアクセスによって画像形成装置1に与えられ、外部装置に備わる携帯端末サイズ(小サイズ)のディスプレイによってプレビュー表示が行なわれる。データ量の算定には携帯端末サイズ用の得点テーブルT3が用いられる。   FIG. 12 shows a third example of the preview image generation operation. In this third example, a print job involving drawing of the objects 51 to 56 is given to the image forming apparatus 1 by access from a small external device such as a smartphone or a mobile phone, and the mobile terminal size (small size) provided in the external apparatus is provided. ) Displays a preview. For the calculation of the data amount, a score table T3 for the portable terminal size is used.

上述の第1例および第2例と同様に、オブジェクト51〜56が描画されるごとに描画監視テーブルT5のデータが更新される。ステート1の段階で面積の合計(90%)は携帯端末サイズの面積閾値(90%)以上になるが、データ量の合計(160点)は携帯端末サイズのデータ量閾値(300点)よりも少ない。   As in the first and second examples described above, the data in the drawing monitoring table T5 is updated each time the objects 51 to 56 are drawn. In the state 1 stage, the total area (90%) is equal to or larger than the mobile terminal size area threshold (90%), but the total data amount (160 points) is larger than the mobile terminal size data amount threshold (300 points). Few.

ステート3まで描画が進んだ段階で、データ量の合計(300点)はデータ量閾値以上となる。既にステート1の段階で面積の合計が面積閾値以上になっているので、このステート3の段階でプレビュー画像が生成される。   At the stage where drawing has progressed to state 3, the total amount of data (300 points) is equal to or greater than the data amount threshold. Since the total area has already exceeded the area threshold at the stage of state 1, a preview image is generated at the stage of state 3.

プレビュー画像生成部106は、三つのメモリエリア31,32,33のうちのデータ量が最も多い第1のメモリアリア31と2番目に多い第2のメモリエリア32とを選び、これらのメモリエリア31,32からデータを取り込む。そして、プレビュー画像生成部106は、第1のメモリエリア31の画像41と第2のメモリエリア32の画像43とを合成し、ディスプレイに適合するように変倍し、図示のようなプレビュー画像60Sを生成する。生成されたプレビュー画像60Lは外部装置(図示では携帯機器6a)において表示される。   The preview image generation unit 106 selects the first memory area 31 having the largest data amount and the second memory area 32 having the second largest amount of data among the three memory areas 31, 32, and 33, and selects these memory areas 31. , 32. Then, the preview image generation unit 106 synthesizes the image 41 in the first memory area 31 and the image 43 in the second memory area 32, scales the image to fit the display, and displays a preview image 60S as illustrated. Is generated. The generated preview image 60L is displayed on an external device (in the figure, the portable device 6a).

以上の実施形態によれば、プレビュー表示に用いるディスプレイの画面サイズに応じた視覚情報を有するプレビュー画像60L,60M,60Sを生成し、画面サイズの異なる各種の機器におけるプレビューの実用性を高めることができる。   According to the above embodiment, the preview images 60L, 60M, and 60S having visual information corresponding to the screen size of the display used for the preview display are generated, and the practicality of the preview in various devices having different screen sizes can be improved. it can.

上述の実施形態において、ジョブが指定する描画の途中でプレビュー画像60L,60M,60Sを生成した後、描画の進行と並行して定期的にプレビュー画像を生成し、プレビュー表示の更新ができるようにしてもよい。描画の途中でプレビュー画像60L,60M,60Sを生成した後、描画が完了するのを待って、完成した印刷イメージに対応するプレビュー画像を生成してもよい。1ページの描画過程において、途中でプレビュー画像60L,60M,60Sを生成した後に新たなプレビュー画像を生成しないようにすることもできる。   In the above-described embodiment, after the preview images 60L, 60M, and 60S are generated in the middle of the drawing specified by the job, the preview image is periodically generated in parallel with the progress of drawing so that the preview display can be updated. May be. After the preview images 60L, 60M, and 60S are generated in the middle of drawing, the preview image corresponding to the completed print image may be generated after the drawing is completed. In the process of drawing one page, a new preview image may not be generated after the preview images 60L, 60M, and 60S are generated in the middle.

データ量として、各メモリエリアにおいて描画されたオブジェクトの描画面積の合計を算出してもよい。この場合、複数のオブジェクトが部分的にまたは全体的に重なる部分については面積が重複して加算される。   As the data amount, the total of the drawing areas of the objects drawn in each memory area may be calculated. In this case, the areas are overlapped and added for a part where a plurality of objects partially or entirely overlap.

文字については、他の画像要素よりもユーザーが認識する情報量が多いとみなし、得点により大きい重み付けをしてもよい。   Regarding characters, it is considered that the amount of information recognized by the user is larger than other image elements, and the score may be given higher weight.

プレビュー画像60L,60M,60Sを生成する際に選択するメモリエリアの個数は例示の2に限定されない。1でもよいし3以上でもよい。選択を行なわず、描画に用いた全てのメモリエリアから画像を取り込んで合成してもよい。データ量が同じメモリエリアが設定数よりも多く存在する場合、予め各メモリエリアに定めた順番に従って選択してもよいし、細線処理が不要というようにその後の画像処理がより簡単であるものを選ぶようにしてもよい。面積の大小を考慮して総合的により適切なものを選ぶこともできる。データ量ではなく面積が大きい順に選択するようにしてもよい。   The number of memory areas to be selected when the preview images 60L, 60M, and 60S are generated is not limited to 2 illustrated. It may be 1 or 3 or more. Images may be taken from all the memory areas used for drawing without being selected and combined. If there are more memory areas with the same amount of data than the set number, the memory areas may be selected according to the order determined in advance in each memory area, and the subsequent image processing is simpler such that fine line processing is unnecessary. You may make it choose. A more appropriate one can be selected in consideration of the size of the area. You may make it select instead of the amount of data in order with a large area.

外部装置の画面サイズを特定するデータが外部装置との通信において得られない場合は、三つの得点テーブルT1,T2,T3のうちの予め決めておいた一つ(例えば大サイズ用の得点テーブルT1)をデータ量の算定に用いるようにすることができる。   If data specifying the screen size of the external device cannot be obtained in communication with the external device, one of the three score tables T1, T2, T3 determined in advance (for example, a large size score table T1) ) Can be used to calculate the amount of data.

プレビュー表示を行なうディスプレイの画面サイズが固定である場合には、その画面サイズに適した単一の得点テーブルのみを設け、複数の得点テーブルT1,T2,T3から適用すべき一つを選択する処理を省略することができる。   When the screen size of the display for preview display is fixed, only a single score table suitable for the screen size is provided, and a process for selecting one to be applied from the plurality of score tables T1, T2, T3 Can be omitted.

100 プレビュー画像生成装置
11 CPU(コンピューター)
60L,60M,60S プレビュー画像
51,52,53,54,55,56 オブジェクト
31,32,33 メモリエリア
103 面積算出部(面積算出手段)
104 データ量算出部(評価値算出手段)
106 プレビュー画像生成部(画像生成手段)
T1,T2,T3 得点テーブル(テーブル)
100 Preview Image Generation Device 11 CPU (Computer)
60L, 60M, 60S Preview image 51, 52, 53, 54, 55, 56 Object 31, 32, 33 Memory area 103 Area calculation unit (area calculation means)
104 Data amount calculation unit (evaluation value calculation means)
106 Preview image generation unit (image generation means)
T1, T2, T3 Score table (table)

Claims (13)

出力画像のプレビューのために表示されるプレビュー画像を生成するプレビュー画像生成装置であって、
複数のオブジェクトをメモリエリア上に順に描画することによって前記出力画像を生成する過程において、前記複数のオブジェクトのいずれかが描画されるごとに、前記出力画像のうちの描画された部分の面積を算出する面積算出手段と、
前記過程において、前記複数のオブジェクトのいずれかが描画されるごとに、前記出力画像のうちの描画された部分が表わす視覚情報に対する量的評価の評価値を算出する評価値算出手段と、
前記面積算出手段によって算出された前記面積が面積閾値を超え、かつ前記評価値算出手段によって算出された前記評価値が情報量閾値を超えたときに、前記複数のオブジェクトのうちの描画されたオブジェクトのみを表わす画像を前記プレビュー画像として生成する画像生成手段と、を備える
ことを特徴とするプレビュー画像生成装置。
A preview image generation device that generates a preview image displayed for previewing an output image,
In the process of generating the output image by sequentially drawing a plurality of objects on a memory area, each time one of the plurality of objects is drawn, the area of the drawn portion of the output image is calculated. An area calculating means to
In the process, each time one of the plurality of objects is drawn, an evaluation value calculation unit that calculates an evaluation value of quantitative evaluation for visual information represented by the drawn portion of the output image;
The drawn object of the plurality of objects when the area calculated by the area calculating unit exceeds an area threshold value and the evaluation value calculated by the evaluation value calculating unit exceeds an information amount threshold value An image generation means for generating an image representing only the image as the preview image.
前記過程において、前記メモリエリアを含む複数のメモリエリアが前記複数のオブジェクトの描画に用いられる場合に、
前記面積算出手段は、前記複数のメモリエリアのいずれかに前記複数のオブジェクトのいずれかが描画されるごとに、前記複数のメモリエリアのうちの少なくとも新たにオブジェクトが描画されたメモリエリアについて前記面積を算出し、
前記評価値算出手段は、前記複数のメモリエリアのいずれかに前記複数のオブジェクトのいずれかが描画されるごとに、前記複数のメモリエリアのうちの少なくとも新たにオブジェクトが描画されたメモリエリアについて前記評価値を算出し、
前記画像生成手段は、前記複数のメモリエリアのそれぞれについて前記面積算出手段によって算出された前記面積の合計が前記面積閾値以上になり、かつ前記複数のメモリエリアのそれぞれについて前記評価値算出手段によって算出された前記評価値の合計が前記情報量閾値以上になったときに、前記複数のオブジェクトのうちの前記複数のメモリエリア上に描画されたオブジェクトのみを表わす画像を前記プレビュー画像として生成する
請求項1記載のプレビュー画像生成装置。
In the process, when a plurality of memory areas including the memory area are used for drawing the plurality of objects,
The area calculating means, for each time one of the plurality of objects is drawn in one of the plurality of memory areas, at least the memory area in which the object is newly drawn out of the plurality of memory areas. To calculate
The evaluation value calculation means, for each of any of the plurality of objects drawn in any of the plurality of memory areas, for at least a memory area in which the object is newly drawn out of the plurality of memory areas. Calculate the evaluation value,
The image generation means calculates the sum of the areas calculated by the area calculation means for each of the plurality of memory areas equal to or larger than the area threshold, and calculates the evaluation value calculation means for each of the plurality of memory areas. An image representing only an object drawn on the plurality of memory areas among the plurality of objects is generated as the preview image when a total of the evaluated values that are equal to or greater than the information amount threshold value. The preview image generating apparatus according to 1.
前記画像生成手段は、前記複数のメモリエリアのうちの前記評価値が多い順に選んだ設定数個のメモリエリア内に描画されたオブジェクトのみを表わす画像を、前記プレビュー画像として生成する
請求項2記載のプレビュー画像生成装置。
3. The image generation unit generates, as the preview image, an image representing only objects drawn in a set number of memory areas selected in descending order of the evaluation value among the plurality of memory areas. Preview image generation apparatus.
前記評価値算出手段は、予め前記視覚情報の構成要素の候補として選定された画像要素別に得点を定める算出用情報に基づいて、前記部分に存在する複数の画像要素の得点の合計を前記評価値として算出する
請求項1ないし3のいずれかに記載のプレビュー画像生成装置。
The evaluation value calculating means calculates the total score of a plurality of image elements existing in the portion based on calculation information for determining a score for each image element selected in advance as a candidate of the visual information component The preview image generation device according to claim 1, wherein the preview image generation device is calculated as follows.
前記算出用情報は、画像要素と得点とを対応づける画面サイズ別の複数のテーブルであり、
前記評価値算出手段は、前記複数のテーブルのうちの前記プレビュー表示に使用されるディスプレイの画面サイズに対応するテーブルに基づいて、前記評価値を算出する
請求項4記載のプレビュー画像生成装置。
The calculation information is a plurality of tables for each screen size that associates image elements with scores.
The preview image generation apparatus according to claim 4, wherein the evaluation value calculation unit calculates the evaluation value based on a table corresponding to a screen size of a display used for the preview display among the plurality of tables.
出力画像のプレビューのために表示されるプレビュー画像を生成するプレビュー画像生成方法であって、
複数のオブジェクトをメモリエリア上に順に描画することによって前記出力画像を生成する過程において、前記複数のオブジェクトのいずれかが描画されるごとに、前記出力画像のうちの描画された部分の面積を算出するとともに、前記部分が表わす視覚情報に対する量的評価の評価値を算出し、
算出された前記面積が面積閾値以上になり、かつ算出された前記評価値が情報量閾値以上になったときに、前記複数のオブジェクトのうちの描画されたオブジェクトのみを表わす画像を前記プレビュー画像として生成する
ことを特徴とするプレビュー画像生成方法。
A preview image generation method for generating a preview image to be displayed for output image preview,
In the process of generating the output image by sequentially drawing a plurality of objects on a memory area, each time one of the plurality of objects is drawn, the area of the drawn portion of the output image is calculated. And calculating an evaluation value of the quantitative evaluation for the visual information represented by the part,
When the calculated area is equal to or greater than an area threshold value and the calculated evaluation value is equal to or greater than an information amount threshold value, an image representing only a drawn object among the plurality of objects is used as the preview image. A preview image generation method characterized by generating the preview image.
前記過程において、前記メモリエリアを含む複数のメモリエリアが複数のオブジェクトの描画に用いられる場合に、
前記複数のメモリエリアのそれぞれについて、前記面積および前記評価値を算出し、
前記複数のメモリエリアのそれぞれについて算出された前記面積の合計が前記面積閾値以上になり、かつ前記複数のメモリエリアのそれぞれについて算出された前記評価値の合計が前記情報量閾値以上になったときに、前記複数のオブジェクトのうちの前記複数のメモリエリア内に描画されたオブジェクトのみを表わす画像を前記プレビュー画像として生成する
請求項6記載のプレビュー画像生成方法。
In the process, when a plurality of memory areas including the memory area are used for drawing a plurality of objects,
For each of the plurality of memory areas, calculate the area and the evaluation value,
When the sum of the areas calculated for each of the plurality of memory areas is greater than or equal to the area threshold, and the sum of the evaluation values calculated for each of the plurality of memory areas is greater than or equal to the information amount threshold. The preview image generation method according to claim 6, wherein an image representing only an object drawn in the plurality of memory areas among the plurality of objects is generated as the preview image.
前記複数のメモリエリアのうちの前記評価値が多い順に設定数個のメモリエリアを選び、選んだメモリエリア内に描画されているオブジェクトのみを表わす画像を、前記プレビュー画像として生成する
請求項7記載のプレビュー画像生成方法。
The selected memory areas are selected in descending order of the evaluation value from the plurality of memory areas, and an image representing only an object drawn in the selected memory area is generated as the preview image. Preview image generation method.
予め前記視覚情報の構成要素の候補として選定された画像要素別に得点を定める算出用情報に基づいて、前記部分に存在する複数の画像要素の得点の合計を前記評価値として算出する
請求項6ないし8のいずれかに記載のプレビュー画像生成方法。
7. The total score of a plurality of image elements existing in the portion is calculated as the evaluation value based on calculation information for determining a score for each image element selected in advance as a candidate of the visual information component. 9. The preview image generation method according to any one of 8.
前記算出用情報として、画像要素と得点とを対応づける画面サイズ別の複数のテーブルを用意しておき、
前記プレビュー表示に使用されるディスプレイの画面サイズに対応するテーブルに基づいて、前記評価値を算出する
請求項9記載のプレビュー画像生成方法。
As the calculation information, a plurality of tables for each screen size for associating image elements with scores are prepared,
The preview image generation method according to claim 9, wherein the evaluation value is calculated based on a table corresponding to a screen size of a display used for the preview display.
前記算出用情報において、画像要素のうちの少なくとも文字については、前記複数のテーブルのうちの大きい表示画面サイズに対応するテーブルにおける得点が、小さい表示画面サイズに対応するテーブルにおける得点よりも大きい
請求項10記載のプレビュー画像生成方法。
In the calculation information, for at least characters of image elements, a score in a table corresponding to a large display screen size among the plurality of tables is larger than a score in a table corresponding to a small display screen size. The preview image generation method according to 10.
前記複数のテーブルのそれぞれにおいて、文字については文字サイズが大きいほど得点が大きい
請求項11記載のプレビュー画像生成方法。
The preview image generation method according to claim 11, wherein, in each of the plurality of tables, the score for a character increases as the character size increases.
出力画像のプレビューのために表示されるプレビュー画像を生成する装置において実行されるコンピュータープログラムであって、
前記装置が有するコンピューターに、
複数のオブジェクトをメモリエリア上に順に描画することによって前記出力画像を生成する過程において、前記複数のオブジェクトのいずれかが描画されるごとに、前記出力画像のうちの描画された部分の面積を算出する処理と、
前記過程において、前記複数のオブジェクトのいずれかが描画されるごとに、前記出力画像のうちの描画された部分が表わす視覚情報に対する量的評価の評価値を算出する処理と、
算出された前記面積が面積閾値以上になり、かつ算出された前記評価値が情報量閾値以上になったときに、前記複数のオブジェクトのうちの描画されたオブジェクトのみを表わす画像を前記プレビュー画像として生成する処理と、を実行させる
ことを特徴とするコンピュータープログラム。
A computer program executed in an apparatus for generating a preview image displayed for previewing an output image,
To the computer that the device has,
In the process of generating the output image by sequentially drawing a plurality of objects on a memory area, each time one of the plurality of objects is drawn, the area of the drawn portion of the output image is calculated. Processing to
In the process, each time one of the plurality of objects is drawn, a process of calculating an evaluation value of quantitative evaluation for the visual information represented by the drawn portion of the output image;
When the calculated area is equal to or greater than an area threshold value and the calculated evaluation value is equal to or greater than an information amount threshold value, an image representing only a drawn object among the plurality of objects is used as the preview image. A computer program characterized by causing a process to be generated to be executed.
JP2012226506A 2012-10-12 2012-10-12 Preview image generation apparatus, preview image generation method, and computer program Expired - Fee Related JP5929689B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012226506A JP5929689B2 (en) 2012-10-12 2012-10-12 Preview image generation apparatus, preview image generation method, and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012226506A JP5929689B2 (en) 2012-10-12 2012-10-12 Preview image generation apparatus, preview image generation method, and computer program

Publications (2)

Publication Number Publication Date
JP2014076624A true JP2014076624A (en) 2014-05-01
JP5929689B2 JP5929689B2 (en) 2016-06-08

Family

ID=50782351

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012226506A Expired - Fee Related JP5929689B2 (en) 2012-10-12 2012-10-12 Preview image generation apparatus, preview image generation method, and computer program

Country Status (1)

Country Link
JP (1) JP5929689B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017226178A (en) * 2016-06-24 2017-12-28 富士ゼロックス株式会社 Display device, image forming apparatus, and program
JP2020049751A (en) * 2018-09-26 2020-04-02 京セラドキュメントソリューションズ株式会社 Image processing device
EP4497591A1 (en) 2023-07-26 2025-01-29 Valstybinis Moksliniu Tyrimu Institutas Fiziniu Ir Technologijos Mokslu Centras Mulltifunctional smart window

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2675350B2 (en) 1988-09-14 1997-11-12 三菱レイヨン株式会社 Specially designed fabric and its manufacturing method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10320158A (en) * 1997-05-16 1998-12-04 Brother Ind Ltd Output control system, output control method, and recording medium on which output control program is recorded
JP2001282499A (en) * 2000-03-29 2001-10-12 Matsushita Electric Ind Co Ltd Preview system and preview support system
JP2004361814A (en) * 2003-06-06 2004-12-24 Seiko Epson Corp Image display device, image display method, and program
JP2011054061A (en) * 2009-09-03 2011-03-17 Canon Inc Image processing apparatus and method of controlling the same
JP2012045816A (en) * 2010-08-26 2012-03-08 Ricoh Co Ltd Image forming apparatus, preview image processing method, program, and recording medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10320158A (en) * 1997-05-16 1998-12-04 Brother Ind Ltd Output control system, output control method, and recording medium on which output control program is recorded
JP2001282499A (en) * 2000-03-29 2001-10-12 Matsushita Electric Ind Co Ltd Preview system and preview support system
JP2004361814A (en) * 2003-06-06 2004-12-24 Seiko Epson Corp Image display device, image display method, and program
JP2011054061A (en) * 2009-09-03 2011-03-17 Canon Inc Image processing apparatus and method of controlling the same
JP2012045816A (en) * 2010-08-26 2012-03-08 Ricoh Co Ltd Image forming apparatus, preview image processing method, program, and recording medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017226178A (en) * 2016-06-24 2017-12-28 富士ゼロックス株式会社 Display device, image forming apparatus, and program
JP2020049751A (en) * 2018-09-26 2020-04-02 京セラドキュメントソリューションズ株式会社 Image processing device
JP7144734B2 (en) 2018-09-26 2022-09-30 京セラドキュメントソリューションズ株式会社 Image processing device
JP2022183157A (en) * 2018-09-26 2022-12-08 京セラドキュメントソリューションズ株式会社 Image processing device
JP7414101B2 (en) 2018-09-26 2024-01-16 京セラドキュメントソリューションズ株式会社 Image processing device
EP4497591A1 (en) 2023-07-26 2025-01-29 Valstybinis Moksliniu Tyrimu Institutas Fiziniu Ir Technologijos Mokslu Centras Mulltifunctional smart window

Also Published As

Publication number Publication date
JP5929689B2 (en) 2016-06-08

Similar Documents

Publication Publication Date Title
JP5353933B2 (en) Information processing program, information processing apparatus, and information processing method
US9001148B2 (en) Computer readable recording medium, information processing apparatus, and information processing method
US20160050330A1 (en) Image forming apparatus and image data processing method
JP2012049826A (en) Image processing apparatus and image processing method
JP5929689B2 (en) Preview image generation apparatus, preview image generation method, and computer program
JP2015150707A (en) Information processor, information processing method and program
US8599433B2 (en) Image processor, image processing method, computer readable medium, and image processing system
US8891129B2 (en) Image forming apparatus having real-size preview function, method of controlling the same, and storage medium
US20130057884A1 (en) Information processing apparatus, computer program, and control method
JP6107246B2 (en) Image processing apparatus, image processing apparatus control method, and image processing apparatus control program
JP2013256073A (en) Data generation device, image forming apparatus, and data generation program
JP5627485B2 (en) Image processing apparatus, image forming apparatus, and image processing method
US20100165395A1 (en) Image processing apparatus, image processing system, and control method for image processing apparatus
JP2014123794A (en) Data generating program and data generating device
JP6036512B2 (en) Image forming apparatus and image forming system
JP5982916B2 (en) Image processing apparatus, image processing program, image processing system, and image processing method
US9936083B2 (en) Image output system
JP6624918B2 (en) Information processing apparatus, control method, and program
JP6597510B2 (en) Image processing apparatus and image processing method
JP2014032436A (en) Image processing device, image processing method, image forming device, program and recording medium
JP6015478B2 (en) Control device, control method, and printer driver program
US8773742B2 (en) Control device for generating a file in a file format includes stored and scanned pages with electronic signature
JP5957979B2 (en) Image processing method, image processing program, and image forming apparatus
JP2010171597A (en) Image processing apparatus
JP2011123550A (en) Image processing apparatus, image forming apparatus and image processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150518

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160324

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20160405

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160418

R150 Certificate of patent or registration of utility model

Ref document number: 5929689

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees