JP2016058868A - Image processing system and image processing method - Google Patents
Image processing system and image processing method Download PDFInfo
- Publication number
- JP2016058868A JP2016058868A JP2014183236A JP2014183236A JP2016058868A JP 2016058868 A JP2016058868 A JP 2016058868A JP 2014183236 A JP2014183236 A JP 2014183236A JP 2014183236 A JP2014183236 A JP 2014183236A JP 2016058868 A JP2016058868 A JP 2016058868A
- Authority
- JP
- Japan
- Prior art keywords
- image
- reduction
- image data
- page
- seam
- 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
Links
- 238000012545 processing Methods 0.000 title claims description 85
- 238000003672 processing method Methods 0.000 title claims description 7
- 230000009467 reduction Effects 0.000 claims description 98
- 238000000034 method Methods 0.000 claims description 53
- 238000012217 deletion Methods 0.000 claims description 3
- 230000037430 deletion Effects 0.000 claims description 3
- 238000005192 partition Methods 0.000 claims 2
- 230000008030 elimination Effects 0.000 abstract 1
- 238000003379 elimination reaction Methods 0.000 abstract 1
- 230000002776 aggregation Effects 0.000 description 39
- 238000004220 aggregation Methods 0.000 description 39
- 230000008569 process Effects 0.000 description 37
- 230000001186 cumulative effect Effects 0.000 description 15
- 238000010586 diagram Methods 0.000 description 12
- 238000013523 data management Methods 0.000 description 9
- 230000006870 function Effects 0.000 description 9
- 238000011946 reduction process Methods 0.000 description 8
- 230000000694 effects Effects 0.000 description 3
- 239000004973 liquid crystal related substance Substances 0.000 description 3
- 239000011159 matrix material Substances 0.000 description 3
- 238000003702 image correction Methods 0.000 description 2
- 238000009877 rendering Methods 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 230000002411 adverse Effects 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 238000007596 consolidation process Methods 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 230000006837 decompression Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 230000009291 secondary effect Effects 0.000 description 1
Images
Landscapes
- Image Processing (AREA)
- Editing Of Facsimile Originals (AREA)
Abstract
Description
本発明は画像を変倍する画像処理装置及び画像処理方法に関する。 The present invention relates to an image processing apparatus and an image processing method for scaling an image.
画像内のコンテンツを意識した画像の変倍技術として、シームカービング(Seam Carving)が知られている。シームカービングとは、画像の縮小時や、画像の縦横比を維持しない変倍時に、画像内の重要個所を保持する変倍を実現する技術である。シームカービングでは画像の各ピクセルの重要度を表す重要度マップ(エネルギーマップ)を輝度勾配やエッジ情報、視覚顕著性などに基づいて生成する。そして、その重要度マップから縦横において最も重要度の低いシーム(継ぎ目)を探索し、当該シームを削除することにより、矩形を維持したまま画像の変倍を行う。特に画像の縮小において画像の重要情報が保持されることから、画像内の重要情報の選別技術と捉えることもできる。シームカービングをドキュメントに応用した技術として、ドキュメントの背景からバランス良くシームを削除する技術が知られている(例えば、特許文献1を参照)。 Seam carving is known as an image scaling technique that is conscious of content in an image. Seam carving is a technique that realizes zooming that preserves important points in an image when the image is reduced or when zooming without maintaining the aspect ratio of the image. In seam carving, an importance map (energy map) that represents the importance of each pixel of an image is generated based on brightness gradient, edge information, visual saliency, and the like. Then, the seam (seam) having the lowest importance in the vertical and horizontal directions is searched from the importance map, and the image is scaled while maintaining the rectangle by deleting the seam. In particular, since the important information of the image is retained when the image is reduced, it can be regarded as a technique for selecting important information in the image. As a technique in which seam carving is applied to a document, a technique for deleting a seam from a document background in a well-balanced manner is known (see, for example, Patent Document 1).
シームカービングは画像内の重要箇所を保持する技術であるが、縮小率が大きいと画像の歪みが生じたり、画像内の重要な情報まで削減の対象となる場合がある。 Seam carving is a technique for retaining important parts in an image. However, if the reduction ratio is large, the image may be distorted or important information in the image may be reduced.
本発明に係る画像処理装置は、ページ集約したレイアウトに画像を配置する指示を取得する取得手段と、配置対象の画像を示す画像データを線形な変倍により縮小する第一の縮小手段と、前記第一の縮小手段で縮小された画像データから重要度の低いシームを削除することにより前記第一の縮小手段で縮小された画像データをさらに縮小する第二の縮小手段とを有することを特徴とする。 An image processing apparatus according to the present invention includes an acquisition unit that acquires an instruction to arrange an image in a page-aggregated layout, a first reduction unit that reduces image data indicating an arrangement target image by linear scaling, And a second reduction means for further reducing the image data reduced by the first reduction means by deleting a seam having low importance from the image data reduced by the first reduction means. To do.
本発明によれば、適度なシームカービング処理を適用することにより、重要箇所を保持したレイアウトを提供することができる。 According to the present invention, by applying an appropriate seam carving process, it is possible to provide a layout that retains important portions.
以下、本発明を実施するための形態について図面を用いて説明する。 Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings.
<画像処理装置のハードウェア構成図>
図1は本実施例の画像処理装置の構成を説明するハードウェアブロック図である。本実施例では画像処理装置はプリンタ装置として機能する形態を用いて説明するが、独立した画像処理装置としても成立し得るものである。
<Hardware configuration diagram of image processing apparatus>
FIG. 1 is a hardware block diagram illustrating the configuration of the image processing apparatus according to the present exemplary embodiment. In this embodiment, the image processing apparatus will be described using a form that functions as a printer apparatus. However, the image processing apparatus can also be realized as an independent image processing apparatus.
図1の画像処理装置100は、コントローラユニット150と、操作部114とプリンタエンジン115とを有する。コントローラユニット150は、CPU101、RAM102、ROM103、HDD104、システムバス105、ネットワークI/F106、操作部I/F107、画像圧伸部111、画像回転部112、RIP109、プリンタ画像処理部110を有する。
The
コントローラユニット150は、画像信号やデバイス情報の入出力を制御する。CPU101はROM103あるいはHDD104に記憶されたプログラムをRAM102に読み出し、実行する。さらに、システムバス105に接続される各デバイスをCPU101が統括的に制御する。RAM102は、CPU101のメインメモリであり、画像処理装置の制御プログラムのためのワークエリアとして使用される。ROM103には電源ON時に実行されるブートプログラムが格納され、HDD104にはオペレーティングシステムと画像処理装置の制御プログラム本体が格納される。また、HDD104は印刷データや画像データ等の大容量データを一時的あるいは長期的に保持する目的でも使用される。
The
ネットワークI/F106はローカルエリアネットワーク113に接続し、印刷データやデバイス情報の入出力を担う。操作部I/F107は操作部114とのインターフェース部で、操作部114に表示するビットマップデータを操作部114に対して出力する。また、操作部114から画像処理装置の使用者が入力した情報を、CPU101に伝える役割をする。操作部114は、例えば出力器として液晶パネルと音源を備え、入力器としてタッチパネルとハードキーを備えるものである。コントローラユニット150はデバイスI/F108を介して、プリンタエンジン115に接続される。デバイスI/F108はCPU101の指示に基づき、画像信号の送出、デバイス動作指示、デバイス情報の受信を行う。プリンタエンジン115はコントローラユニット150からの画像信号を媒体上に出力する出力機であり、電子写真方式、インクジェット方式の何れでも構わない。
A network I /
Raster Image Processor(RIP)109は中間データであるディスプレイリスト(以後、DLと略記する)を画像データに展開する専用ハードウェアである。RIP109はCPU101によりRAM102上に生成されたDLを高速かつ、CPU101の実行と並列に処理するものである。プリンタ画像処理部110は、画像データに対して、ガンマ補正等の画像補正や、ハーフトーニングを行う。画像回転部112は画像データの回転を行う。画像圧伸部111は、例えば多値画像データについてはJPEG方式、2値画像データについてはJBIG、MMR、またはMH方式などの圧縮伸張処理を行う。
The Raster Image Processor (RIP) 109 is dedicated hardware for expanding a display list (hereinafter abbreviated as DL), which is intermediate data, into image data. The RIP 109 processes the DL generated on the
<画像処理装置のソフトウェアモジュール構成図>
図2は画像処理装置のコントローラユニット150におけるソフトウェアモジュール構成図である。図2に記載した各ソフトウェアモジュールは、プログラムとしてHDD104に格納され、RAM102にロードされCPU101により実行されるものである。より具体的には、各ソフトウェアモジュールはCPU101上で動作するOS(オペレーティングシステム)によりRAM102にロードされ、スレッド単位で実行権を付与され、実行されるものである。
<Software module configuration diagram of image processing apparatus>
FIG. 2 is a software module configuration diagram in the
画像処理装置は、データ受信部201、ジョブ制御部202、PDLインタプリタ203、レンダラ204、プリントドライバ205、ユーザインタフェース206、レイアウタ207、シームカービング処理部208、ジョブデータ管理部209を有する。
The image processing apparatus includes a
データ受信部201は外部のホストコンピュータから送信された印刷データを受信する。受信した印刷データはジョブ制御部202を介してジョブデータ管理部209で保持される。ジョブ制御部202はデータ受信から印刷までのジョブ制御の全般を司る。PDLインタプリタ203は印刷データに含まれるページ記述言語(PDL)により記述されたPDLデータを解釈して、中間データであるDLを生成する。生成されたDLはジョブ制御部202を介してジョブデータ管理部209で保持される。レンダラ204はDLから画像データを生成するモジュールであり、多くの処理は専用ハードウェアRIP109により実行される。生成された画像データはジョブ制御部202を介してジョブデータ管理部209で保持される。
The
プリントドライバ205はデバイスI/F108を介してプリンタエンジン115への印刷指示と画像データの送出を行う。この際に、プリントドライバ205はプリンタ画像処理部110による画像補正およびハーフトーニングを制御する。
The
ユーザインタフェース206は操作部I/F107を介して、操作部114を制御するモジュールである。操作部114の液晶パネルに表示するデータを生成し、タッチパネルからの入力に従い液晶パネルの表示を更新する。また、タッチパネルからの入力が何らかのジョブ実行指示であった場合は、ジョブ制御部202に指示を伝達する。
The
レイアウタ207は印刷レイアウトを制御するモジュールであり、用紙に出力するための最終レイアウト画像を表す画像データの生成を行う。特にページ集約レイアウトの為の画像の縮小や拡大などの変倍処理と画像の配置制御を行う。実際の画像の変倍処理はレイアウタ207がPDLインタプリタ203やシームカービング処理部208に指示することにより実行されるものである。
A
シームカービング処理部208は、シームカービング処理により画像を指定された大きさまで縮小するモジュールである。シームカービングは、前述のように、画像の重要な箇所を残し、重要でない箇所を削減することにより画像の縮小を実現する機能である。本実施例においてシームカービング処理はソフトウェアで実行するように記述するが、ハードウェアにより処理するように構成することも可能である。
The seam
<画像レイアウト基本フロー図>
図3は、コントローラユニット150にて実行される印刷データに対する画像レイアウトの処理の一例を表すフローチャートである。なお、本説明では図2の各ソフトウェアモジュールによって実行されるように記述する。また、本フローチャートはHDD104に記憶された図2の各ソフトウェアモジュール内の各プログラムがRAM102に読み出され、CPU101により実行されることにより実現される。
<Image layout basic flow diagram>
FIG. 3 is a flowchart showing an example of image layout processing for print data executed by the
最初にステップS301においてデータ受信部201は、印刷データを受信し、PDLデータとジョブチケットとを取り出してジョブデータ管理部209に保存する。ジョブチケットとは両面出力や出力用紙、ページ集約などの印刷設定を記述したファイルであり、ジョブ毎の印刷設定を通知するために使用される。ジョブチケットの詳細については後述する。
First, in step S301, the
ステップS302においてジョブ制御部202は、ジョブチケットを参照してページ集約が指定されているか否かを判定する。ページ集約とは、PDLデータ内の連続する複数のページを指定された用紙に縮小し、割り付けて印刷する機能である。例えば属性値として1から5の値を持ち、「1」が1in1、「2」が2in1、「3」が4in1、「4」が8in1をそれぞれ示すように指定することが可能である。例えば、ジョブチケットに含まれるページ集約の属性値が「2」(つまり2in1)の場合は連続する2ページが一枚の出力用紙の片面に割り付けられる。なお、ここで属性値が「1」(1in1)であるということは、ページ集約を指定しないと同義である。ステップS302においてジョブ制御部202は、このようなジョブチケットに含まれるページ集約の属性値に基づいて、ページ集約が指定されているか否かを判定する。ステップS302においてページ集約が指定されていると判定された場合、ステップS303へ進み、ページ集約が指定されていないと判定された場合、ステップS311へ進む。
In step S302, the
ステップS303においてレイアウタ207は、一枚の用紙に割り付けるページ数から、「単純縮小後の画像サイズ」と「シームカービング後の画像サイズ」とを決定する。これらのサイズを説明するために、簡単に本実施例の処理の概略を説明する。本実施例においては、例えば2in1のように一枚の用紙に2ページ分の画像を割り付ける場合には、配置対象の各画像をまず単純縮小する。単純縮小とは、シームカービングのように重要度に応じて縮小処理をするのではなく、一般的な線形の縮小処理のことである。そして、単純縮小した各画像に対して、シームカービングによる縮小処理を行なう。このシームカービングによる縮小処理がされた各画像が、2in1のように一枚の用紙に割り付けられた領域に配置される画像となる。つまり、シームカービングによる縮小処理がされた各ページの画像(以下、割り付けられる各ページの画像のことをページ画像と呼ぶ)は、その後、等倍で所定の領域にそれぞれ配置されることになる。ステップS303においては、このように割り付けるページ数から「シームカービング後の画像サイズ」をまず決定する。そして、その「シームカービング後の画像サイズ」のシームカービング処理前の画像サイズを「単純縮小後の画像サイズ」として決定する。そして、後述のステップで説明するように、各ページのページ画像を、その「単純縮小後の画像サイズ」となるように単純縮小する。
In step S303, the
ステップS303についてさらに説明する。前述のように、本実施例ではシームカービングにより生成された各ページのページ画像を等倍のままページ集約の配置に並び合わせて出力画像を生成する。従って、「シームカービング後の画像サイズ」は、ページ割り付け数と出力用紙と出力解像度との関係から算出される。ここで、シームカービング後の画像サイズはピクセル値である。ステップS303においては最初にレイアウタ207は、この「シームカービング後の画像サイズ」を計算する。次に、レイアウタ207はシームカービングによる縮小率を以下のシームカービング縮小率対応表に基づいて決定する。シームカービングによる縮小率とは、シームカービングを行った後の画像サイズとシームカービングを行なう前の画像サイズとの比のことである。このシームカービングによる縮小率は、ページ割り当て数に応じて表1に示すテーブルのように予め規定されているものとする。
Step S303 will be further described. As described above, in this embodiment, the page image of each page generated by the seam carving is arranged in the page aggregation arrangement while maintaining the same magnification to generate the output image. Accordingly, the “image size after seam carving” is calculated from the relationship between the number of pages allocated, the output paper, and the output resolution. Here, the image size after seam carving is a pixel value. In step S303, the
表1のような縮小率が設定される理由について説明する。表1においては、ページ割り付け数が多いほど縮小率が高くなっており(つまり、縮小後の画像サイズがより小さくなっており)、シームカービングによる情報選別が強く働くものである。これは、割り付け数が少ないほど画像の歪が目立ち易く、割り付け数が多いほど画像の視認性を高める必要性が増すからである。つまり、割り付け数が多いということは各画像の1枚の用紙における1ページ分のページ画像のサイズが小さくなる。そこで、シームカービングによって重要度の高い箇所の視認性を高めるために、シームカービングによる情報選別が強く働くように縮小率を高くしている。一方で、縮小率を高くするということ意図しない情報選別が行なわれる可能性があり、画像の歪が目立ち易くなることがある。そこで割り付け数が少ない場合には、ページ割り付け数が多い場合よりも縮小率を低くしている。なお、表1はあくまで例示を示しており、必ずしもこのような縮小率に基づいていなくてもよい。また、例えばページ割り付け数が「2」と「4」の場合とで同じ縮小率であってもよい。また、このような縮小率をユーザが任意で設定できるように構成されていてもよい。 The reason why the reduction ratio as shown in Table 1 is set will be described. In Table 1, the larger the number of page allocations, the higher the reduction ratio (that is, the smaller the image size after reduction), and the information selection by seam carving works strongly. This is because the smaller the number of assignments, the more noticeable the distortion of the image, and the larger the number of assignments, the greater the need to increase the visibility of the image. That is, a large number of allocations reduces the size of a page image for one page on one sheet of each image. Therefore, in order to increase the visibility of highly important parts by seam carving, the reduction rate is increased so that information selection by seam carving works strongly. On the other hand, there is a possibility that unintended information selection may be performed to increase the reduction ratio, and image distortion may become conspicuous. Therefore, when the allocation number is small, the reduction ratio is set lower than when the page allocation number is large. In addition, Table 1 shows an example to the last, and it does not necessarily have to be based on such a reduction ratio. For example, the same reduction ratio may be used when the page allocation number is “2” and “4”. Moreover, it may be configured such that the user can arbitrarily set such a reduction ratio.
レイアウタ207は、先に計算したシームカービング後の画像サイズと、表1に示すようなシームカービング縮小率とから、単純縮小後の画像サイズ(ピクセル値)を計算する。つまり、シームカービング後の画像サイズをシームカービング縮小率に応じて拡大した画像サイズが「単純縮小後の画像サイズ」として求まる。
The
次のステップS304からステップS308までの処理は、1枚の用紙に集約される各ページごとの処理である。ステップS304においてPDLインタプリタ203は、PDLデータ内のページを取り出し、単純縮小による縮小率を計算する。PDLデータ内のページサイズは出力解像度に依存しない論理サイズが定義されている。PDLインタプリタ203は、まずこの論理サイズから出力解像度を考慮したピクセルサイズを算出する。そして、算出したピクセルサイズがステップS303で決定した単純縮小後の画像サイズ(ピクセル値)と同じサイズになるように縮小率を算出する。
The next processing from step S304 to step S308 is processing for each page collected on one sheet. In step S304, the
次に、ステップS305においてPDLインタプリタ203は、当該ページのPDLデータを解釈し、ステップS304で算出した縮小率で縮小してレンダリングする。PDLインタプリタ203は生成した画像データをジョブデータ管理部209に保持する。本実施例では縮小処理はPDLデータ内の描画コマンドにより指示される論理座標をピクセル座標に変換する際に行う。具体的には、論理座標からピクセル座標への座標変換マトリックスに前記の縮小率を反映した変換マトリックスを連結する。そして、連結したマトリックスを使用した描画処理を行う。ただし、これは本実施例における縮小処理を限定するものではなく、等倍でレンダリングした後の画像データを縮小変換する構成でも構わない。また、この際の縮小処理は間引きによる単純縮小ではなく画像補間を伴う縮小でも構わない。画像内のコンテンツの占有比率が維持される線形の縮小処理であれば、いかなる縮小処理方法でもかまわない。
Next, in step S305, the
次に、ステップS306においてシームカービング処理部208は、ステップS305で生成されたレンダリング済み画像の重要度マップ(エネルギーマップ)を生成する。重要度マップは画像の各ピクセルに対応した重要度を8ビット、つまり256段階で表現したデータである。重要度マップの生成は画像に例えばエッジ強調フィルタを適応して生成する。エッジ強調フィルタはラプラシアンフィルタやプリューウィットフィルタ、ソーベルフィルタ等、既存の手法を適用する。ただし、重要度マップの生成方法はこれに限定されるものではなく、輝度勾配によるL1ノルムやL2ノルム、視覚顕著性マップ、Hog(Historam of Gradient)などを利用しても構わない。
Next, in step S306, the seam
次に、ステップS307においてシームカービング処理部208は、ステップS3065で生成した重要度マップを用いて重要度の低いシームを探索してステップS305で生成された画像から削除する。シームとは1ピクセルのパスであり、シーム内の各ピクセルは上下左右、左上、右上、左下、右下の8方向のいずれかで連結される。画像を縦断する縦シームと画像を横断する横シームの2種類があり、それぞれの方向において進行方向斜めの範囲内で連結される。例えば、縦シーム内のピクセルは左下、下、右下のいずれかの次のピクセルと連結される。シーム探索の方法に関しては後述する。ステップS307においてシームカービング処理部208は、縦シームと横シームを一つずつ見つけて削除する。即ち、画像は縦横に1ピクセル小さくなる。ただし、縦横いずれかの方向において目標のサイズまで縮小されている場合は、当該方向のシームの探索と削除は行わない。
Next, in step S307, the seam
ステップS308においてシームカービング処理部208は目標サイズ、即ちステップS303で算出した「シームカービング後の画像サイズ」まで縮小されたか否か判定する。縮小されたと判定した場合はステップS309へ進み、縮小されていないと判定した場合はステップS306へ戻り、シームカービングによる画像縮小処理を継続する。
In step S308, the seam
ステップS309においてPDLインタプリタ203は、全ページの処理が終了したか否かを判定する。全ページの処理が終了したと判定した場合はステップS310へ進む。全ページの処理が終了していないと判定した場合はステップS304へ戻り、残りのページの処理を実行する。
In step S309, the
ステップS310においてレイアウタ207は、シームカービングによる画像縮小処理済みの各ページをページ集約レイアウトに配置する。例えば、4in1の場合はシームカービングによる画像縮小処理済みの画像4枚を左上、右上、左下、右下の順番にならべて一枚の画像に合成する。ページが不足する場合は空白画像が代わりに配置される。レイアウタ207は合成した画像を示す画像データをジョブデータ管理部209に保存する。
In step S310, the
ステップS302でジョブチケットにページ集約が指定されていないと判定した場合、ステップS311においてPDLインタプリタ203は、全ページを等倍でレンダリングする。
If it is determined in step S302 that page aggregation is not specified in the job ticket, in step S311, the
以上に示したように、本実施例ではページ集約のレイアウトを実現するにあたり、個々のページを2段階で縮小する。最初に単純縮小を実行し、次にシームカービングによる縮小を実行する。これは、シームカービングによる縮小のみを行った場合に、画像弊害や画像加工により操作者が感じる違和感が強くなり過ぎるためである。また、ページ集約レイアウトが指定された場合のみ、シームカービングを実施するのは操作者の意図を反映することができるからである。つまり、ページ集約により多少の視認性が低下しても、省資源と閲覧性を操作者が優先していると判定することができる。つまり、操作者は元画像との同一性に強い執着が無いと判定することができるので、視認性を優先したシームカービングの適用が適当と判定できる。 As described above, in the present embodiment, when realizing a page aggregation layout, each page is reduced in two stages. First, simple reduction is performed, and then reduction by seam carving is performed. This is because, when only the reduction by seam carving is performed, the image detriment and the uncomfortable feeling felt by the operator due to image processing become too strong. Also, the seam carving is performed only when the page aggregation layout is designated because the intention of the operator can be reflected. In other words, even if the visibility is somewhat reduced due to page aggregation, it can be determined that the operator gives priority to resource saving and browsing. In other words, since the operator can determine that there is no strong attachment to the original image, it can be determined that application of seam carving giving priority to visibility is appropriate.
また、シームカービングによる縮小率を画像処理の設定に応じて変更することにより、情報選別の効果と画像加工のバランスを最適に制御することも可能となる。 Further, by changing the reduction rate by seam carving according to the setting of image processing, it is possible to optimally control the information selection effect and the balance of image processing.
<ジョブチケットによる印刷設定の一覧表>
次に、ジョブチケットの詳細について説明する。表2に示すジョブチケット詳細表は、PDLデータとともに印刷データを構成するジョブチケットで指定可能な印刷設定の一覧表である。印刷設定は例えば‘両面’、‘ページ縮小’、‘省トナー’、‘用紙サイズ’、‘ページ集約’の五つを含む。‘両面’は連続するページを用紙の表面のみに印刷するか、表面、裏面、表面、裏面と交互に印刷する機能であり、属性値として、1:片面、2:両面が指定可能である。‘ページ縮小’はページを指定の縮小率で縮小する機能であり、属性値として、1:なし、2:75%、3:50%が指定可能である。‘省トナー’は印刷時に使用するトナーを削減する機能であり、属性値として、1:しない、2:するが指定可能である。‘用紙サイズ’は出力用紙サイズを指定する設定であり、属性値として、1:A4、2:A3、3:B4が指定可能である。‘ページ集約’は前述した通りである。本実施例では図3のステップS302においてページ集約が指定されているか否かに基づいてシームカービングの適用可否を決定したが、さらなる別の方法も考えられる。例えば、ページ縮小や省トナーが指定されている際、もしくは複合的な条件に応じてシームカービングを適用すると決定することもできる。
<List of print settings by job ticket>
Next, details of the job ticket will be described. The job ticket detail table shown in Table 2 is a list of print settings that can be specified by a job ticket that constitutes print data together with PDL data. The print settings include, for example, “double-sided”, “page reduction”, “toner saving”, “paper size”, and “page aggregation”. “Double-sided” is a function for printing a continuous page only on the front side of the paper or printing alternately on the front side, the back side, the front side, and the back side, and it is possible to specify 1: single side, 2: double side as attribute values. “Page reduction” is a function for reducing a page at a specified reduction ratio, and 1: None, 2: 75%, and 3: 50% can be specified as attribute values. “Toner saving” is a function for reducing toner used in printing, and the attribute value can be specified as 1: No, 2: Yes. 'Paper size' is a setting for designating the output paper size, and 1: A4, 2: A3, 3: B4 can be designated as attribute values. 'Page aggregation' is as described above. In this embodiment, the applicability of seam carving is determined based on whether or not page aggregation is specified in step S302 of FIG. 3, but another method is also conceivable. For example, it can be determined that seam carving is applied when page reduction or toner saving is specified, or in accordance with complex conditions.
<シームの探索処理>
次に、ステップS307におけるシームカービング処理部208によるシームの探索処理について、図4を用いて模式的に説明する。シームの探索は重要度マップにおいて累積重要度が最も低い経路を探索する手法であり、動的計画法(ダイナミックプログラミング)の考え方を用いる。
<Seam search process>
Next, seam search processing by the seam
図4(a)は4ピクセル×4ピクセルの画像に対応した重要度マップの例である。各セルが画像の1ピクセルに対応しており、数値が大きいほど重要度が高いことを示す。シームカービング処理部208は、縦シームのうち、即ち第一列目の何れかのピクセルから、第四列目のいずれかのピクセルに至る経路のうち、累積重要度が最小となる経路を探索する。
FIG. 4A shows an example of an importance map corresponding to an image of 4 pixels × 4 pixels. Each cell corresponds to one pixel of the image, and the larger the numerical value, the higher the importance. The seam
最初に第一列目から第二列目の各ピクセルに至る累積重要度が一番小さい経路を調べる。図4(b)に示すように、[1A]→[2A]、[1C]→[2B]、[1C]→[2C]、[1C]→[2D]が第一列目から第二列目の各ピクセルに至る累積重要度最小の経路であることが分かる。第二列目の累積重要度は図4(b)の右図に示すように、順に、4、5、5、4となる。 First, the path with the smallest cumulative importance from the first column to each pixel in the second column is examined. As shown in FIG. 4B, [1A] → [2A], [1C] → [2B], [1C] → [2C], [1C] → [2D] are from the first column to the second column. It can be seen that this is the path with the least cumulative importance to each pixel of the eye. The cumulative importance in the second column is 4, 5, 5, and 4 in order as shown in the right diagram of FIG.
次に第三列目の各ピクセルに至る累積重要度が一番小さい経路を調べる。その際に第二列目の累積重要度を参照する。図4(c)に示すように、[2A]→[3A]、[2A]→[3B]、[2D]→[3C]、[2D]→[3D]が累積重要度最小となる経路であることが分かる。この際に第一列目からの全経路を記憶する必要はなく、第三列目の各ピクセルに至る累積重要度が図4(c)の右図に示すように、順に、9、6、8、6であることを記憶すれば良い。
Next, the path with the smallest cumulative importance reaching each pixel in the third row is examined. At that time, the cumulative importance in the second column is referred to. As shown in FIG. 4 (c), [2A] → [3A], [2A] → [3B], [2D] → [3C], and [2D] → [3D] are paths with the minimum cumulative importance. I understand that there is. At this time, it is not necessary to store all the paths from the first column, and the cumulative importance to each pixel in the third column is 9, 6, in order as shown in the right diagram of FIG. What is necessary is just to memorize |
次に第4列目に至る累積重要度が一番小さい経路を調べる。図4(d)に示すように、[3B]→[4A]、[3B]→[4B]、[3B]→[4C]、[3D]→[4C]、[3D]→[4D]が累積重要度最小となる経路であることが分かる。[4C]に至る最小経路が[3B]からと[3D]からとの二つ存在するが、累積重要度最小となる経路のどれか一つを見つければ良いので、どちらか一つを採用すれば良い。第四列目の各ピクセルに至る累積重要度は図4(d)に示すように、順に、7、8、9、8となる。従って、縦シームの下端は[4A]のピクセルであり、その累積重要度が7であることが判明する。 Next, the route with the smallest cumulative importance reaching the fourth column is examined. As shown in FIG. 4D, [3B] → [4A], [3B] → [4B], [3B] → [4C], [3D] → [4C], [3D] → [4D] It can be seen that the route has the minimum cumulative importance. There are two minimum routes from [3B] and [3D] to [4C], but it is sufficient to find one of the routes with the minimum cumulative importance, so either one should be adopted. It ’s fine. The cumulative importance levels reaching each pixel in the fourth column are 7, 8, 9, and 8 in order as shown in FIG. Therefore, it is found that the lower end of the vertical seam is [4A] pixel, and its cumulative importance is 7.
最後に[4A]から遡って累積重要度が最小となるパスをトレースすれば、縦シームが図4(e)に示すように、[1A]→[2A]→[3B]→[4C]であることが判明する。同様の処理を横シームについても行ない、ステップS307ではこのように探索された縦シームと横シームとを削除する。 Finally, tracing the path with the minimum cumulative importance going back from [4A], the vertical seam is [1A] → [2A] → [3B] → [4C] as shown in FIG. It turns out that there is. Similar processing is performed for the horizontal seam, and the vertical seam and the horizontal seam searched in this way are deleted in step S307.
以上説明したように、本実施例によれば、適度なシームカービング処理を適用することにより、重要箇所を保持したレイアウトを提供することができる。すなわち、割り付けページの画像に対して最初に線形な縮小処理を行ない、その後にシームカービング処理を行なうことで、重要箇所を保持しつつ歪が少ないレイアウトの画像を提供することができる。なお、シームカービングは処理負荷の大きい処理であり、シームカービングによる処理を少なくすることで処理時間を短縮することもできる。 As described above, according to this embodiment, it is possible to provide a layout that retains important portions by applying an appropriate seam carving process. That is, by performing a linear reduction process on the image of the layout page first and then performing a seam carving process, it is possible to provide an image with a layout with less distortion while retaining important portions. Seam carving is a process with a large processing load, and the processing time can be shortened by reducing the processing by seam carving.
また、画像の線形な縮小とシームカービングによる縮小とを組み合わせて連続的に適用することにより、シームカービングによる画像弊害や画像加工を一定の範囲内に抑えることが可能となる。一方でシームカービングによる重要情報の選別機能は働くため、線形に縮小するよりも視認性や訴求力に優れた画像が生成できる。 Further, by continuously applying a combination of linear reduction of an image and reduction by seam carving, it is possible to suppress image adverse effects and image processing due to seam carving within a certain range. On the other hand, since the function of selecting important information by seam carving works, it is possible to generate an image with better visibility and appeal than linear reduction.
また、画像データに対する縮小が明示されているか否かを判定することにより、操作者の意図に基づいた処理が可能となる。明示的な縮小は、出力枚数を減らす、もしくは画像領域を小さくすることによる省資源を意図したものとみなして差し支えが無い場合が多い。即ち、シームカービングによる多少の画像弊害や画像加工は許容されるものと判定することができる。 In addition, by determining whether or not reduction of image data is specified, processing based on the operator's intention can be performed. In many cases, the explicit reduction can be regarded as a resource saving by reducing the number of output sheets or reducing the image area. That is, it can be determined that some image defects and image processing due to seam carving are allowed.
つまり、適度な重要情報の選別と操作者の意図の判定とにより、操作者のニーズを適切に組み取った画像処理が可能となる。さらに、線形な縮小とシームカービングによる縮小を組み合わせることにより、シームカービングに伴う処理負荷の軽減という副次的な効果を得ることもできる。 That is, by appropriately selecting important information and determining the operator's intention, it is possible to perform image processing that appropriately incorporates the operator's needs. Further, by combining linear reduction and reduction by seam carving, a secondary effect of reducing the processing load associated with seam carving can be obtained.
<ページ集約レイアウト済みの印刷データ>
実施例1では、画像処理装置においてページ集約処理を行なう例を説明した。実施例2では、他の装置において既にページ集約処理がなされている場合においてシームカービング処理を行なう例を説明する。すなわち、実施例2では、ページ集約レイアウト済みの印刷データに対してシームカービングによる重要情報の選別を適用した画像処理方法を説明する。多くの印刷データはユーザ端末上にインストールされたプリンタドライバにより生成される。プリンタドライバを使ったページ集約レイアウトでは、プリンタドライバによりページ集約レイアウト済みの印刷データが生成される場合が多い。ページ集約済みの印刷データに対して、シームカービングを適用すると、集約レイアウトに含まれる各ページの境界が歪み、元のページ区画が保たれない。例えば4in1の場合、図5(a)に示すように元データは均等に四等分されていたとしても、図5(b)に示すようにページ境界が浸食されてしまう。この結果、ページ内のあるオブジェクトが元々どのページに属したものであるかが不明瞭になってしまう。そこで、実施例2では元々の区画を保ったままシームカービングを適用する方法について説明する。
<Print data with page aggregation layout>
In the first embodiment, the example in which the page aggregation process is performed in the image processing apparatus has been described. In the second embodiment, an example in which seam carving processing is performed when page aggregation processing has already been performed in another apparatus will be described. That is, in the second embodiment, an image processing method in which selection of important information by seam carving is applied to print data that has been subjected to page aggregation layout will be described. Most print data is generated by a printer driver installed on the user terminal. In a page aggregation layout using a printer driver, print data with a page aggregation layout already generated is often generated by the printer driver. When seam carving is applied to print data that has been page-gathered, the boundary of each page included in the gage layout is distorted, and the original page section cannot be maintained. For example, in the case of 4in1, even if the original data is equally divided into four as shown in FIG. 5A, the page boundary is eroded as shown in FIG. 5B. As a result, it becomes unclear to which page an object in the page originally belongs. In the second embodiment, a method for applying seam carving while maintaining the original section will be described.
<ページ集約レイアウト済み印刷データの再レイアウトフロー>
図6は、コントローラ内で実行されるページ集約レイアウト済みの印刷データの再レイアウト処理を行なうフローを表すフローチャートである。なお、本フローは図3の画像レイアウトの基本フローと類似する部分も多いため、異なる点を中心に説明する。
<Re-layout flow of print data with page aggregation layout>
FIG. 6 is a flowchart showing a flow for performing the re-layout process of the print data having been subjected to the page aggregation layout executed in the controller. Since this flow has many parts that are similar to the basic flow of the image layout in FIG. 3, different points will be mainly described.
最初にステップS601においてデータ受信部201は、印刷データを受信し、PDLデータとジョブチケットを取り出してジョブデータ管理部209に保存する。ジョブチケットには、印刷データがページ集約レイアウト済みか否かの情報が付加されている。ページ集約設定の属性として、例えば「5」(2in1済み)、「6」(4in1済み)、「7」(8in1済み)が実施例1の属性に対して、または実施例1の属性の代わりに追加されるものとする。
First, in step S601, the
ステップS602においてジョブ制御部202は、ジョブチケットにページ集約済みが指定されているか否かを判定する。ページ集約済みが指定されていると判定した場合はステップS603へ進み、Noの場合はステップS610へ進む。
In step S <b> 602, the
次のステップS603からステップS607の処理は、ページ集約済みのページが複数ある場合、各ページ毎に処理が行なわれる。ステップS603においてPDLインタプリタ203は、当該ページのPDLデータを解釈し、レンダリングを実行し、画像データを生成して、ジョブデータ管理部209に保存する。
The processes from the next step S603 to step S607 are performed for each page when there are a plurality of pages that have been consolidated. In step S603, the
ステップS604においてレイアウタ207は、ページ集約により割り付けられたページ数を元に各ページの画像上での区画を決定する。例えば、4in1済みの場合は図5(a)のように四つの区画を決定する。
In step S604, the
ステップS605においてシームカービング処理部208は、レンダリング済み画像の重要度マップ(エネルギーマップ)を生成する。この処理は図3のステップS306と同様である。
In step S605, the seam
ステップS606においてシームカービング処理部208は、区画毎に重要度(エネルギー)の低いシームを探索して、画像から削除する。ここでは区画毎に図3のステップS307と同様の処理を実行する。シームは各区画の中では連結しているが、区画間では連結するとは限らず、多くの場合は非連結である。複数の区画から同時に縦シームと横シームを削除するため、一度に複数ピクセル分画像が縮小される。例えば、4in1済みの場合は一度に2ピクセルずつ縦横が小さくなる。
In step S606, the seam
ステップS607においてシームカービング処理部208は、目標サイズまで縮小されたか否か判定する。目標サイズは実施例1と同様に表1のシームカービング縮小率対応表に基づいて決定する。目標サイズまで縮小されたと判定した場合はステップS608へ進み、目標サイズまで縮小されていないと判定した場合はステップS605へ戻り、シームカービングによる画像縮小処理を継続する。
In step S607, the seam
ステップS608においてPDLインタプリタ203は全ページの処理が終了したか否かを判定する。全ページの処理が終了したと判定した場合はステップS609へ進み、全ページの処理が終了していないと判定した場合はステップS603へ戻り、残りのページの処理を実行する。
In step S608, the
ステップS609においてレイアウタ207は各ページを元の大きさまで補間拡大する。すなわち、シームカービング処理によって各区画に対応する領域(すなわち、割り付けされたページの画像)が縮小されているので、各区画に対応する領域を基の大きさまで補間拡大する。この処理を各ページ毎に行なう。
In step S609, the
また、ステップS602においてページ集約済みの印刷データではないと判定された場合、ステップS610においてPDLインタプリタ203は、PDLデータの全ページを等倍でレンダリングする。なお、ステップS610の代わりに、図3のステップS302に処理を進めても良い。すなわち、ページ集約済みの印刷データでないと判定した場合には、図3のステップS302でジョブチケットにページ集約が指定されているかを判定し、その後は図3の処理を行なってもよい。
If it is determined in step S602 that the print data is not page-gathered, the
以上に示したように、ページ集約済みの画像に対してシームカービング後に元の大きさまで補間拡大することにより、重要情報の選別と強調が可能となる。また、集約済みのページ区画毎にシームの探索と削除を実行することによって、元印刷データのページ区画を維持したままシームカービング処理を適用することが可能となる。なお、本実施例に示した画像処理は、印刷データに限らずスキャンされた画像データに対しても適用可能であり、その効果が印刷データに限定されるものではない。スキャンされた画像データの割り付けページ数は、レイアウタ207がユーザからの入力情報によって取得してもよいし、レイアウタ207がスキャンされた画像データを解析して、空白領域の位置に応じて推定されるレイアウトから取得してもよい。スキャン画像データに適用する場合には、例えばページ集約済みの画像が用紙上に印刷された原稿をコピーする場面が考えられる。このとき、本実施例の処理によれば、等倍でコピー指示がされた場合であっても、印刷された用紙上の画像は次のようになっている。すなわち、複数のページ画像に対応する区画のサイズが原稿と同じであり、かつ、用紙上に印刷された画像の各ページ画像に含まれる第一のオブジェクトの変倍率と、前記第一のオブジェクトとは異なる第二のオブジェクトの変倍率とが異なることになる。つまり、印刷された用紙と原稿とを比較すると、重要情報に対応するオブジェクトは印刷された用紙では拡大されているのに対して、シームに対応するような重要度の低いオブジェクト(の一部)は削除されて縮小されることになる。
As described above, it is possible to select and emphasize important information by interpolating and enlarging the original image size after seam carving on the page-combined image. Further, by performing seam search and deletion for each aggregated page section, it is possible to apply the seam carving process while maintaining the page section of the original print data. Note that the image processing shown in the present embodiment can be applied not only to print data but also to scanned image data, and the effect is not limited to print data. The layout page number of the scanned image data may be acquired by the
また、本実施例では、ページ集約済みの印刷データに対して、シームカービング処理を行ない、その後、シームカービングによって縮小されたページ画像を元のサイズに戻す拡大処理を行なう例を説明したが、逆の処理でもよい。すなわち、ページ集約済みの印刷データに対して、シームカービングの縮小率を考慮して、各区画のページ画像を拡大処理する。そして、その拡大処理された各区画のページ画像に対してシームカービング処理を行なうような形態でもよい。 In the present embodiment, an example is described in which seam carving processing is performed on print data that has been page-combined, and then enlargement processing is performed to return the page image reduced by seam carving to the original size. It may be the process. That is, the page image of each section is enlarged for the print data that has been page-gathered in consideration of the reduction rate of seam carving. And the form which performs a seam carving process with respect to the page image of each division by which the expansion process was carried out may be sufficient.
<ページ集約におけるページ割り付け数の増加>
実施例3では、ページ集約におけるページ割り付け数を増加させる方法について説明する。
<Increase in the number of pages allocated in page aggregation>
In the third embodiment, a method for increasing the page allocation number in page aggregation will be described.
図7はページ集約数増加時のレイアウト処理フロー図であり、実施例1の図3のステップS303の処理内容を変更したものである。ステップS703においてレイアウタ207は、画像の割り付け数を増やす。例えば2in1を4in1に、4in1を8in1に変更する。なお、元々、1in1であった場合は2in1には変更しない。2in1には集約レイアウトに対する意図が認められるが、1in1にはその意図が認められないからである。その後、増やした割り付け数を元にレイアウタ207は、単純縮小後の画像サイズとシームカービング後の画像サイズを決定する。その他の処理は図3で説明した処理と同一なので説明は省略する。
FIG. 7 is a flow chart of layout processing when the number of page aggregations is increased. The processing content of step S303 in FIG. 3 of the first embodiment is changed. In step S703, the
シームカービング処理による重要情報の選別と強調が働くので、より割り付け数を増やしたとしても、可読性の低下を抑えることができる。より一層の省資源化と情報集約による一覧性の向上を実現することができる。 Since the selection and emphasis of important information by seam carving processing works, even if the number of allocations is increased, it is possible to suppress a decrease in readability. It is possible to further improve the listability by further resource saving and information aggregation.
<その他の実施例>
上記の実施例では、画像処理装置としてプリンタを例に挙げて説明した。しかしながら、例えば画像処理装置としてコンピュータを用いてもよい。例えば、コンピュータ上に実装されたプリンタドライバが、上述したようなレイアウトが施されたデータ(例えばPDFデータやビットマップデータ)を出力するような構成であってもい。
<Other examples>
In the above embodiment, a printer is described as an example of the image processing apparatus. However, for example, a computer may be used as the image processing apparatus. For example, a printer driver mounted on a computer may be configured to output data (for example, PDF data or bitmap data) having the layout described above.
本発明の目的は、以下の処理を実行することによっても達成される。即ち、前記実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)が記憶媒体に格納されたプログラムコードを読み出す処理である。 The object of the present invention can also be achieved by executing the following processing. That is, a storage medium in which a program code of software that realizes the functions of the above-described embodiment is supplied to a system or apparatus, and a computer (or CPU, MPU, etc.) of the system or apparatus is stored in the storage medium. Is a process of reading.
この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコード及び該プログラムコードを記憶した記憶媒体は本発明を構成することになる。 In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the program code and the storage medium storing the program code constitute the present invention.
Claims (18)
配置対象の画像を示す画像データを線形な変倍により縮小する第一の縮小手段と、
前記第一の縮小手段で縮小された画像データから重要度の低いシームを削除することにより前記第一の縮小手段で縮小された画像データをさらに縮小する第二の縮小手段と
を有することを特徴とする画像処理装置。 An acquisition means for acquiring an instruction to arrange an image in a page-aggregated layout;
First reduction means for reducing image data indicating an arrangement target image by linear scaling;
A second reduction means for further reducing the image data reduced by the first reduction means by deleting a seam having low importance from the image data reduced by the first reduction means. An image processing apparatus.
前記第一の縮小手段及び前記第二の縮小手段は、前記ページ数を増やしたレイアウトに応じて縮小を行なうことを特徴とする請求項1から6のいずれか一項に記載の画像処理装置。 The acquisition means further acquires an instruction to increase the number of pages to be aggregated included in the layout,
The image processing apparatus according to claim 1, wherein the first reduction unit and the second reduction unit perform reduction according to a layout in which the number of pages is increased.
画像データにおける各ピクセルの重要度を表す重要度マップを生成し、
前記重要度マップを探索することで重要度の低いシームを決定し、
決定したシームを削除することを画像が所定のサイズになるまで繰り返すことで前記画像データを縮小することを特徴とする請求項1から7のいずれか一項に記載の画像処理装置。 The second reducing means includes
Generate an importance map that represents the importance of each pixel in the image data,
Search the importance map to determine a low importance seam,
The image processing apparatus according to claim 1, wherein the image data is reduced by repeatedly deleting the determined seam until the image has a predetermined size.
前記画像に割り付けられたページ数に応じて前記画像上の区画を決定する決定手段と、
前記決定された区画毎に、重要度の低いシームをそれぞれの区画から削除することにより画像データを縮小する縮小手段と、
シームの削除によって縮小された区画が縮小される前と同じサイズの区画になるまで、線形な変倍により前記縮小された画像データを拡大する拡大手段と
を有することを特徴とする画像処理装置。 An acquisition means for acquiring image data indicating a page-aggregated image;
Determining means for determining a section on the image according to the number of pages allocated to the image;
Reduction means for reducing the image data by deleting a seam of low importance for each determined section from each section;
An image processing apparatus comprising: an enlarging unit that enlarges the reduced image data by linear scaling until a section reduced by seam deletion becomes a section of the same size as before the reduction.
前記画像に割り付けられたページ数に応じて前記画像上の区画を決定する第一の決定手段と、
前記決定された区画毎に、重要度の低いシームをそれぞれの区画から削除することにより画像データを縮小する縮小率を決定する第二の決定手段と、
前記取得した画像データを前記決定された縮小率に基づいて線形な変倍によって拡大する拡大手段と
前記拡大手段で拡大された画像データを前記シームの削除によって縮小する縮小手段と
を有することを特徴とする画像処理装置。 An acquisition means for acquiring image data indicating a page-aggregated image;
First determining means for determining a section on the image according to the number of pages allocated to the image;
Second determining means for determining a reduction ratio for reducing the image data by deleting a seam having a low importance from each of the determined sections;
An enlargement means for enlarging the acquired image data by linear scaling based on the determined reduction ratio; and a reduction means for reducing the image data enlarged by the enlargement means by deleting the seam. An image processing apparatus.
前記集約された画像を1枚の用紙に印刷する印刷手段とを有し、
前記印刷手段で1枚の用紙上に印刷された画像は、前記複数のページ画像に対応する区画のサイズが同じであり、かつ、前記印刷された画像の各ページ画像に含まれる第一のオブジェクトの変倍率と、前記第一のオブジェクトとは異なる第二のオブジェクトの変倍率とが異なることを特徴とする画像処理装置。 Acquisition means for acquiring image data indicating an image in which a plurality of page images are aggregated;
Printing means for printing the aggregated image on a sheet of paper,
The image printed on one sheet by the printing unit has the same size of the section corresponding to the plurality of page images, and the first object included in each page image of the printed image An image processing apparatus characterized in that a scaling factor of a second object different from the first object is different.
前記取得手段で取得した指示に従って、前記集約された画像を1枚の用紙に等倍で印刷する印刷手段とを有し、
前記印刷手段で1枚の用紙上に印刷された画像は、前記複数のページ画像に対応する区画のサイズが同じであり、かつ、前記印刷された画像の各ページ画像に含まれる第一のオブジェクトの変倍率と、前記第一のオブジェクトとは異なる第二のオブジェクトの変倍率とが異なることを特徴とする画像処理装置。 Acquisition means for acquiring image data indicating an image in which a plurality of page images are aggregated, and an instruction to print the image data at an equal magnification;
Printing means for printing the aggregated image on a sheet of paper at an equal magnification according to the instruction acquired by the acquisition means;
The image printed on one sheet by the printing unit has the same size of the section corresponding to the plurality of page images, and the first object included in each page image of the printed image An image processing apparatus characterized in that a scaling factor of a second object different from the first object is different.
配置対象の画像を示す画像データを線形な変倍により縮小する第一の縮小ステップと、
前記第一の縮小ステップで縮小された画像データから重要度の低いシームを削除することにより前記第一の縮小ステップで縮小された画像データをさらに縮小する第二の縮小ステップと
を有することを特徴とする画像処理方法。 An acquisition step of acquiring an instruction to arrange an image in a page-aggregated layout;
A first reduction step for reducing image data indicating an image to be arranged by linear scaling;
A second reduction step of further reducing the image data reduced in the first reduction step by deleting a seam having low importance from the image data reduced in the first reduction step. An image processing method.
前記画像に割り付けられたページ数に応じて前記画像上の区画を決定する決定ステップと、
前記決定された区画毎に、重要度の低いシームをそれぞれの区画から削除することにより画像データを縮小する縮小ステップと、
シームの削除によって縮小された区画が縮小される前と同じサイズの区画になるまで、線形な変倍により前記縮小された画像データを拡大する拡大ステップと
を有することを特徴とする画像処理方法。 An acquisition step of acquiring image data indicating an image that has been page-aggregated;
A determination step of determining a section on the image according to the number of pages allocated to the image;
For each determined partition, a reduction step of reducing the image data by deleting a less important seam from each partition;
An image processing method comprising: an enlarging step of enlarging the reduced image data by linear scaling until a section reduced by seam removal becomes a section of the same size as before the reduction.
前記画像に割り付けられたページ数に応じて前記画像上の区画を決定する第一の決定ステップと、
前記決定された区画毎に、重要度の低いシームをそれぞれの区画から削除することにより画像データを縮小する縮小率を決定する第二の決定ステップと、
前記取得した画像データを前記決定された縮小率に基づいて線形な変倍によって拡大する拡大ステップと
前記拡大ステップで拡大された画像データを前記シームの削除によって縮小する縮小ステップと
を有することを特徴とする画像処理方法。 An acquisition step of acquiring image data indicating an image that has been page-aggregated;
A first determination step of determining a section on the image according to the number of pages allocated to the image;
A second determination step for determining a reduction ratio for reducing the image data by deleting a low-importance seam from each of the determined sections;
An enlargement step of enlarging the acquired image data by linear scaling based on the determined reduction ratio; and a reduction step of reducing the image data enlarged in the enlargement step by deleting the seam. An image processing method.
前記集約された画像を1枚の用紙に印刷する印刷ステップとを有し、
前記印刷ステップで1枚の用紙上に印刷された画像は、前記複数のページ画像に対応する区画のサイズが同じであり、かつ、前記印刷された画像の各ページ画像に含まれる第一のオブジェクトの変倍率と、前記第一のオブジェクトとは異なる第二のオブジェクトの変倍率とが異なることを特徴とする画像処理方法。 An acquisition step of acquiring image data indicating an image in which a plurality of page images are aggregated;
A printing step for printing the aggregated image on a sheet of paper,
The images printed on one sheet in the printing step have the same section size corresponding to the plurality of page images, and the first object included in each page image of the printed images And a scaling factor of a second object different from the first object is different from the first object.
前記取得ステップで取得した指示に従って、前記集約された画像を1枚の用紙に等倍で印刷する印刷ステップとを有し、
前記印刷ステップで1枚の用紙上に印刷された画像は、前記複数のページ画像に対応する区画のサイズが同じであり、かつ、前記印刷された画像の各ページ画像に含まれる第一のオブジェクトの変倍率と、前記第一のオブジェクトとは異なる第二のオブジェクトの変倍率とが異なることを特徴とする画像処理方法。 An acquisition step of acquiring image data indicating an image in which a plurality of page images are aggregated, and an instruction to print the image data at an equal magnification;
A printing step of printing the aggregated image on a sheet of paper at an equal magnification according to the instruction acquired in the acquisition step;
The images printed on one sheet in the printing step have the same section size corresponding to the plurality of page images, and the first object included in each page image of the printed images And a scaling factor of a second object different from the first object is different from the first object.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014183236A JP2016058868A (en) | 2014-09-09 | 2014-09-09 | Image processing system and image processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014183236A JP2016058868A (en) | 2014-09-09 | 2014-09-09 | Image processing system and image processing method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2016058868A true JP2016058868A (en) | 2016-04-21 |
Family
ID=55759140
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014183236A Pending JP2016058868A (en) | 2014-09-09 | 2014-09-09 | Image processing system and image processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2016058868A (en) |
-
2014
- 2014-09-09 JP JP2014183236A patent/JP2016058868A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9250836B2 (en) | Mobile apparatus and print controlling method | |
US10762401B2 (en) | Image processing apparatus controlling the order of storing decompressed data, and method thereof | |
JP2012049826A (en) | Image processing apparatus and image processing method | |
JP2012200955A (en) | Image processing system | |
KR101679681B1 (en) | Image forming apparatus and image forming method | |
JP4510847B2 (en) | Image processing apparatus and image processing program | |
JP6202908B2 (en) | Image processing apparatus, image processing method, and program | |
JP5590960B2 (en) | Image forming apparatus, image forming method, and program | |
JP2012178042A (en) | Image forming apparatus, image forming method, and program | |
JP2012257202A (en) | Image processing apparatus and processing method of the same | |
JP6904717B2 (en) | Image processing equipment, its control method, and programs | |
JP6590606B2 (en) | Image processing apparatus, image processing method, and program | |
JP2016058868A (en) | Image processing system and image processing method | |
EP3133487A1 (en) | Drawing command processing apparatus, drawing command processing method, and program | |
JP6755644B2 (en) | Character processing device, character processing method, character processing program | |
JP6882099B2 (en) | Image processing equipment, image processing methods and programs | |
JP2016206934A (en) | Image processing device, image processing method and program | |
JPH0729021A (en) | Picture output device | |
JP6238589B2 (en) | Image forming apparatus, image processing method, and program | |
JP2013252622A (en) | Image forming device, method, and program | |
US11132168B2 (en) | Display method, display device, and display program | |
JP6016483B2 (en) | Image processing apparatus, image forming method, and program | |
JP2010171597A (en) | Image processing apparatus | |
US8976418B2 (en) | Image processing apparatus for determining a X coordinate value of an edge on a current scan line from among a plurality of X coordinate values | |
JP2006031086A (en) | Print processing method |