JP2005005768A - Image processing apparatus, image processing method, and program - Google Patents
Image processing apparatus, image processing method, and program Download PDFInfo
- Publication number
- JP2005005768A JP2005005768A JP2003163681A JP2003163681A JP2005005768A JP 2005005768 A JP2005005768 A JP 2005005768A JP 2003163681 A JP2003163681 A JP 2003163681A JP 2003163681 A JP2003163681 A JP 2003163681A JP 2005005768 A JP2005005768 A JP 2005005768A
- Authority
- JP
- Japan
- Prior art keywords
- image
- scaling
- center position
- area
- specifying
- 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
- 238000003672 processing method Methods 0.000 title claims abstract description 8
- 238000000034 method Methods 0.000 claims description 86
- 230000008569 process Effects 0.000 claims description 51
- 238000005520 cutting process Methods 0.000 claims description 17
- 238000004364 calculation method Methods 0.000 claims description 15
- 238000004590 computer program Methods 0.000 claims 1
- 230000004048 modification Effects 0.000 description 15
- 238000012986 modification Methods 0.000 description 15
- 238000010586 diagram Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 9
- 238000001514 detection method Methods 0.000 description 7
- 230000000694 effects Effects 0.000 description 7
- 239000011521 glass Substances 0.000 description 6
- 238000003825 pressing Methods 0.000 description 6
- 238000006243 chemical reaction Methods 0.000 description 5
- 230000014509 gene expression Effects 0.000 description 5
- 230000003247 decreasing effect Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000009499 grossing Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 238000005452 bending Methods 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000009966 trimming Methods 0.000 description 1
Images
Landscapes
- Image Processing (AREA)
- Editing Of Facsimile Originals (AREA)
- Record Information Processing For Printing (AREA)
- Control Or Security For Electrophotography (AREA)
Abstract
【課題】原稿の変倍したい所望の領域を簡単に指定することができる画像処理装置、画像処理方法及びプログラムを提供する。
【解決手段】用紙サイズと拡大率を含むコピー条件を入力した後、コピーボタンが押下されると、元画像(原稿)Gをスキャニングして得た画像データに基づきCPUは表示装置の画面7aにプレビュー画像Pを表示する。この際、画像Pと共に拡大中心位置指定用のカーソルCと、拡大領域を示す枠Kを表示する。方向ボタン(十字キー)が操作されると、CPUはその操作で指示された方向にカーソルCを移動させ、決定ボタンが押下されるとその時のカーソルCの位置を拡大中心位置として取り込む。CPUは、用紙サイズと拡大率と拡大中心位置等とに基づいて領域Rを計算し、元画像の画像データから領域Rを切り出し、さらに拡大率での拡大処理を施し、印刷画像Psとして印刷する。
【選択図】 図6An image processing apparatus, an image processing method, and a program capable of easily specifying a desired area of a document to be scaled are provided.
When a copy button including a paper size and an enlargement ratio is input and then a copy button is pressed, a CPU is displayed on a screen of a display device based on image data obtained by scanning an original image (original) G. A preview image P is displayed. At this time, together with the image P, a cursor C for designating the enlargement center position and a frame K indicating the enlargement area are displayed. When the direction button (cross key) is operated, the CPU moves the cursor C in the direction instructed by the operation, and when the determination button is pressed, the position of the cursor C at that time is taken as the enlargement center position. The CPU calculates the area R based on the paper size, the enlargement ratio, the enlargement center position, and the like, cuts out the area R from the image data of the original image, further performs enlargement processing at the enlargement ratio, and prints as the print image Ps. .
[Selection] Figure 6
Description
【0001】
【発明の属する技術分野】
本発明は、スキャナに原稿を読み込ませるなどして得た画像を指定された領域に収まるように変倍する画像処理装置、画像処理方法及びプログラムに関する。
【0002】
【従来の技術】
従来、複写機や複合機などで原稿の拡大コピーを行う場合、拡大の基準となる拡大中心点は、原稿読み取り面(ガラス面)の1つの角(例えば右上の角)の頂点に固定されていた。
【0003】
図11は、従来の複合機で拡大コピーを行う場合の作用を示す説明図である。複合機の原稿読取り面の右上角の頂点が、拡大コピーする際の拡大基準点に固定されていた場合を考える。この場合、同図(a)に示すような原稿Gを拡大コピーするときに原稿Gの角(頂点)を原稿読取り面の拡大基準点Oに合わせて載置してコピーした場合、同図(b)に示すように読み取り画像Pの左上頂点Qが拡大基準点となるため、左上の領域Aが拡大された拡大画像MDが印刷されていた。
【0004】
また、特許文献1には、原稿の所望の領域を拡大して記録できる画像処理装置が開示されている。この画像処理装置では、複写開始前に原稿を透明ホルダに挟み、その透明ホルダにセクション状に区分けして引かれたラインと、その周囲にタテ、ヨコに描かれた1〜n、1〜mの座標とを使って、所望のトリミング領域の座標を目視で把握し、その把握した各座標をテンキーで入力できるようになっている。よって、原稿を原稿読取り面(ガラス)に載置するだけで所望の領域を拡大コピーすることができる。なお、図11は公知・公用の技術である。
【0005】
【特許文献1】
特開平7−264396号公報 (第3、4頁、第2、28図)
【0006】
【発明が解決しようとする課題】
しかし、図11に示した従来の拡大コピー方法では、原稿Gの角を原稿読取り面の拡大基準点Oに合わせてコピーするだけでは、図11(b)に示す拡大画像PDのように本来中心に描きたい人物が拡大画像MDの中心からずれてしまう。このように原稿Gの拡大したい領域が角ではない場合、拡大したい領域の中心点(例えば人物の顔の中心)が原稿読取り面の拡大基準点Oに一致するように原稿Gを原稿読取り面に対してずらして載置する必要があった。このとき、原稿カバーが邪魔になるため、原稿Gを折り曲げたり、原稿カバーを外すなどしなければならず、非常に不便であった。
【0007】
また、特許文献1で示された画像処理装置においては、予め透明ホルダに原稿を挟んで原稿の拡大したい所望領域の座標を確認はできるものの、所望の領域を指定するために最低でも二点の座標(例えば領域が矩形であれば左上と右下の2点の座標)を入力しなければならないなど、煩雑な入力操作が必要であった。
【0008】
本発明は、こうした実情に鑑みてなされたものであって、その目的は、原稿の変倍したい所望の領域を簡単に指定することができる画像処理装置、画像処理方法及びプログラムを提供することである。
【0009】
【課題を解決するための手段】
上記の課題を解決するために、本発明は、原画像を変倍する際の変倍中心位置を指定する中心位置指定手段と、前記変倍中心位置に基づいて、前記原画像が前記変倍中心位置を中心として指定の変倍率で変倍されたときに指定のサイズに収まることになる変倍画像の当該原画像における変倍前の領域を特定する画像領域特定手段とを備えたことを要旨とする。なお、「指定の変倍率」、「指定のサイズ」は、ユーザが指定することもできるし、両者のうち少なくとも一方が予め設定された固定値であってもよい。
【0010】
この発明によれば、原画像を変倍する際の変倍中心位置を指定することにより、原画像が変倍中心位置を中心として指定の変倍率で変倍されたときに指定のサイズに収まることになる変倍画像の当該原画像における変倍前の領域を特定できる。例えばこの特定できた領域を表示又は印刷など出力することできる。特定できた領域を表示させれば、指定した所望位置を中心に変倍される領域を事前に確認できる。また、特定できた領域を原画像から切り出しその画像データに変倍処理を施した後に印刷処理を施せば、指定した所望位置が中心にくる変倍画像を印刷できる。つまり、ユーザは所望の位置(変倍中心位置)を指定するだけで、その指定した位置が中心にくるように変倍される領域が確定される。従って、変倍すべき領域を特定するためにユーザが指定(入力)しなければならない点(座標)の数が1点で済む。つまり、領域を特定するために、複数の点の座標指定が不要となる。従って、領域を特定するために1点の座標指定で済むので、簡単な操作で所望の領域を指定することができる。
【0011】
また、本発明では、原画像の画像データを取得する画像取得手段と、前記原画像の画像データから前記画像領域特定手段により特定された前記領域を切り出す切出手段と、前記切出手段により切り出された画像データに前記変倍率で変倍処理を施す変倍手段と、前記変倍手段により変倍処理された前記画像データに基づく画像を出力する出力手段とを備えたことを要旨とする。
【0012】
この発明によれば、画像取得手段により取得された原画像の画像データから画像領域特定手段により特定された領域が切り出され、この切り出された画像データに変倍率で変倍処理が施され、さらに変倍処理後の画像データに基づく画像が出力される。従って、変倍させる領域を特定するために1点の座標指定で済むので、簡単な操作で原画像のうち所望する領域の画像を出力できる。出力手段には、例えば表示手段又は印刷手段が挙げられる。
【0013】
また、本発明では、前記中心位置指定手段は、前記変倍中心位置を指示するための指示体を前記原画像と共に画面に表示する表示手段と、前記指示体を移動させて前記変倍中心位置を指定する操作手段と前記操作手段の操作で指示された方向に前記指示体を移動させる表示制御手段とを備えたことを要旨とする。この発明によれば、変倍中心位置を指定する際に、表示手段の画面に表示された原画像上で、操作手段の操作で指示された所望の方向に、指示体(例えばカーソルやポインタ)を移動させて変倍中心位置を指定することが可能となる。従って、視覚的に所望の位置を指定しやすくなるうえ、例えば指示体の移動ピッチを比較的細かく(例えば画素単位)設定すれば、詳細な位置指定が可能となる。
【0014】
また、本発明は、前記表示手段に表示された原画像上に前記領域を視認させうる枠画像を表示させるとともに、前記操作手段の操作による前記指示体の移動に追従して前記枠画像を移動させる領域表示手段を備えたことを要旨とする。
【0015】
この発明によれば、原画像上に表示された枠画像が指示体の移動に追従して移動するので、所望の位置(変倍中心位置)を指定する際に、実際に指定される領域を確認することができる。
【0016】
また、本発明では、前記中心位置指定手段は、画面上の所望する位置の座標を特定しうる符号群を前記原画像と共に表示する表示手段と、前記変倍中心位置の座標を前記符号の組合せで入力する操作手段とを備えたことを要旨とする。
【0017】
この発明によれば、表示手段の画面上に表示された符号の組み合わせを入力することで所望する変倍中心位置の座標を指定できる。このため、指示体を操作に追従して移動させる表示制御を採用しなくとも、所望の位置(変倍中心位置)を指定可能となる。
【0018】
また、本発明では、前記中心位置指定手段は、前記原画像の元となる原稿が載置される原稿載置面の少なくとも2辺に沿って該原稿載置面上の所望する位置の座標を特定しうる符号群が付された原稿台と、前記変倍中心位置の座標を前記符号の組合せで入力する操作手段とを備えたことを要旨とする。
【0019】
この発明によれば、原稿台の原稿載置面の少なくとも2辺に沿って付された符号の組み合わせを入力することで所望する変倍中心位置の座標を指定できるため、例えば表示手段を備えなくとも、変倍中心位置を指定できる。
【0020】
また、本発明は、前記変倍率を指定する変倍率指定手段を備え、前記画像領域特定手段は、前記領域を特定する際に前記変倍率指定手段により指定された変倍率を用いることを要旨とする。
【0021】
この発明によれば、画像領域特定手段は、ユーザが指定した変倍率に応じて領域を特定する。また、指定された領域を事前に確認できる構成においては、所望の領域が特定されるようにユーザは変倍率を変更できる。
【0022】
また、本発明は、印刷媒体サイズを指定するサイズ指定手段を備え、前記画像領域特定手段が前記領域を特定する際に用いる前記指定のサイズは前記印刷媒体サイズから定まることを要旨とする。
【0023】
この発明によれば、画像領域特定手段は、ユーザが指定した印刷媒体サイズから定まる指定のサイズに変倍画像が収まるように領域を特定する。また、指定された領域を事前に確認できる構成においては、所望の領域が特定されるようにユーザは印刷媒体サイズを変更できる。
【0024】
また、本発明は、前記画像領域特定手段は、前記変倍中心位置に基づいて、前記指定の変倍率と前記指定のサイズを用いて前記領域を特定しうる複数の座標を算出する演算手段を備え、前記切出手段は、前記原画像の画像データから、前記複数の座標により特定された領域を切り出してその切り出した画像データをメモリに記憶し、前記変倍手段は、前記メモリから読み出した前記領域の画像データに前記変倍率にて変倍処理を施すことを要旨とする。
【0025】
この発明によれば、演算手段により、変倍中心位置に基づいて指定の変倍率と指定のサイズを用いて、原画像における変倍させたい領域を特定しうる複数の座標が算出される。ユーザが指定する変倍中心位置は1点の座標指定で済み、領域を特定するために必要な複数の点(座標)は演算手段が算出する。また領域の画像データは必要な部分のみ切り出されてメモリに記憶されるので、データ容量が少なく済むうえ、その後、メモリから読み出されて行われる変倍処理を含めて処理速度が速くなる。
【0026】
また、本発明は、原画像を変倍する際の変倍中心位置を指定する中心位置指定手段と、変倍率を指定する変倍率指定手段と、サイズ情報を指定するサイズ指定手段と、前記変倍中心位置と前記変倍率と前記サイズ情報とに基づいて、前記原画像が前記変倍中心位置を中心として指定の変倍率で変倍されたときに前記サイズ情報から定まる指定のサイズに収まることになる変倍画像の当該原画像における変倍前の領域を特定しうる複数の座標を算出する演算手段と、原画像の画像データを取得する画像取得手段と、前記原画像の画像データから前記複数の座標により特定される領域を切り出す切出手段と、前記切出手段により切り出された画像データに前記変倍率で変倍処理を施す変倍手段と、前記変倍処理後の画像データに基づき変倍画像を印刷媒体に印刷する印刷手段とを備えたことを要旨とする。
【0027】
この発明によれば、演算手段は、指定された変倍中心位置と変倍率とサイズ情報とに応じて、原画像における変倍させたい領域を特定しうる複数の座標を算出する。ユーザが指定する変倍中心位置は1点の座標指定で済み、領域を特定するために必要な複数の点(座標)は演算手段が算出する。原画像の画像データからこの複数の座標で特定された領域は切り出され、さらに変倍処理が施され、その変倍画像は印刷媒体に印刷される。
【0028】
本発明は画像処理方法であって、原画像を変倍する際の変倍中心位置を指定する中心位置指定手順と、前記変倍中心位置に基づいて、前記原画像が前記変倍中心位置を中心として指定の変倍率で変倍されたときに指定のサイズに収まることになる変倍画像の当該原画像における変倍前の領域を特定する画像領域特定手順とを備えたことを要旨とする。この発明によれば、請求項1に記載の発明と同様の作用効果が得られる。
【0029】
本発明はプログラムであって、コンピュータが、操作手段の操作により指定された原画像の変倍中心位置と変倍率とサイズ情報とを入力する手順と、コンピュータが、前記変倍中心位置と前記変倍率とサイズ情報とに基づいて、前記原画像が前記変倍中心位置を中心として指定の変倍率で変倍されたときに前記サイズ情報から定まる指定のサイズに収まることになる変倍画像の当該原画像における変倍前の領域を特定しうる複数の座標を算出する手順と、コンピュータが、原画像の画像データをメモリから読み出して前記複数の座標により特定される領域を切り出して該領域の画像データをメモリに記憶する手順と、コンピュータが、前記メモリから読み出した前記領域の画像データに前記変倍率で変倍処理を施す手順とを備えたことを要旨とする。この発明によれば、請求項10に記載の発明と同様の作用効果が得られる。
【0030】
【発明の実施の形態】
以下、本発明を具体化した第一の実施形態を、図1〜図6に基づいて説明する。
【0031】
図1に示す画像処理装置としての複合機1は、スキャナ(Scanner )とプリンタ(Printer )とコピー(Copy)の3つ機能(SPC機能)を備えている。本体1aの上部にはスキャナ部2が設けられ、コピー機能では、スキャナ部2で読取られた画像データが内部で印刷データに変換され、その印刷データに基づく画像が印刷された用紙3が、本体1aの前側下部に設けられた排紙口1bから排出される。本体1aの前部に設けられたコントロールパネル4上にはスキャナボタン5およびコピーボタン6が設けられており、コピーをするときにはコピーボタン6を操作する。また複合機1は図示しないホストコンピュータ(PC)と接続することが可能で、ホストコンピュータからの印刷データに従って印刷するプリンタとして機能するとともに、スキャナ部2で読取られた画像データをホストコンピュータに転送するスキャナとしても機能する。スキャナとして使用するときはスキャナボタン5を操作する。本体1aの上部にはカバー(原稿カバー)1cが開閉可能に取り付けられており、カバー1cを開いた本体1aの上面部分は原稿台2aとなっている。原稿台2aには、コピーする原稿を載置する原稿載置面(ガラス面)2bが設けられている。
【0032】
図2はコントロールパネル4の主要部を示す平面図である。
コントロールパネル4は、表示装置7と、複数の操作ボタン(操作キー)からなる操作部8とを備えている。表示装置7は画面7aを備え、各種の設定を行える設定画面(同図ではコピーメニューM1)と、スキャナ部2で読取った画像を表示するプレビュー画面M2とを画面7aに切り替えて表示可能である。設定画面では、例えば、用紙サイズ(A4等)、用紙の向き、拡大率、印刷枚数等をマニュアル操作で設定できる。プレビュー画面M2では、拡大時の中心位置を、画像を見ながら指定可能である。また、操作部8には上述したスキャナボタン5、コピーボタン6以外に、方向ボタン(十字キー)9、決定ボタン10、中止ボタン11、キャンセルボタン12が設けられている。中止ボタン11は印刷実行中の場合において直ちに印刷を中止するときや、非印刷状態の場合において画面7aに表示される設定画面での入力内容(選択項目、数値等)を破棄するときに押される。
【0033】
方向ボタン9は上下左右の4つのボタンで構成されており、方向ボタン9を押下する位置によって上下左右のいずれかのボタンが操作されることになる。方向ボタン9は設定画面におけるメニュー選択や印刷設定条件の項目選択のためのカーソル移動や、入力中の数値の増減を行うときに操作される。
【0034】
図2(a)の画面7a上には、コピー機能の設定を行う設定画面が表示されている。ここには設定可能なメニュー項目の一部が表示されており、方向ボタン9の上又は下側部を操作することにより設定したい項目を選択可能である。方向ボタン9の下側部を押下し続ければ、メニュー項目が行単位でスクロールアップし、表示されていなかったメニュー項目が選択可能になる。また、方向ボタン9はプレビュー画面において、拡大の中心を指定するためのカーソル移動に用いられる。
【0035】
図2(b)の表示装置7上には、スキャナ部2で読取られた画像(原画像)Pと、拡大の中心を示すカーソルCと、印刷領域を示す枠Kとが表示されている。方向ボタン9の上下左右のいずれかの部位を押下することで、カーソルおよび枠を移動させることができる。決定ボタン10は設定画面の表示を次画面に進めたり、メニューの下位項目を表示させてその下位の選択項目を選択できるようにカーソルを合わせたり、さらに設定画面で入力した設定内容を確定するときに押される。キャンセルボタン12は設定画面を初期画面に戻すときや、設定画面の表示を一つ前の画面に戻すときに押される。
【0036】
図3は、複合機の電気的構成を示すブロック図である。
複合機1は、本体1aのケース内に全体的な制御を司るメイン基板を備える。このメイン基板には、1つのCPU21と、CPU21とバス22を介して接続された、ROM23、RAM24、およびデータ処理用半導体装置としてのASIC(Application Specific IC(特定用途向けIC))25が実装されている。また、ROM23にはCPU21により実行される制御プログラムなどが記憶されており、RAM24にはCPU21が制御プログラムを実行して処理する画像データや印刷データなどのデータが一時記憶される。
【0037】
ASIC25は、スキャナ入力画像処理部26、画像処理部27および印刷処理部28の3つの処理回路を内蔵している。各処理回路26〜28は、ゲートアレイ回路により形成されたものであり、ASIC25の内部バス29を介して相互接続されている。各処理回路26〜28にはCPU21からの指示がバス22、29を介して伝えられる。またASIC25はメモリ(SDRAM等)30と接続されており、各処理部26,27による処理の前後の画像データがメモリ30に一時記憶(格納)される。
【0038】
CPU21は、スキャナボタン5の操作信号を受け付けるとスキャナモードと判断してASIC25にスキャナ処理を指示し、コピーボタン6の操作信号を受け付けるとコピーモードと判断してASIC25にコピー処理を指示する。またCPU21は、ホストコンピュータから印刷データを受信した通知を受け取るとASIC25に印刷処理を指示する。
【0039】
スキャナ入力画像処理部26には、CCD31とスキャナモータ32が電気的に接続されている。スキャナ入力画像処理部26は、スキャナモード時とコピーモード時に、スキャナモータ32を駆動させるとともに、CCD31により読取られたRGB画像信号からRGB画像データを生成する。
【0040】
画像処理部27はコピーモード時に、RGB画像データに所定の画像処理を施した後、ラスタライズ処理、色変換処理(RGB系→CMYK系)および2値化処理などを行って最終的にコマンド付きの印刷データを生成する。本実施形態では、画像処理の一部については、CPU21がソフトウェア処理により行う。
【0041】
印刷処理部28には、紙送りモータ33、記録ヘッド34及びキャリッジモータ35が電気的に接続されている。印刷処理部28は、コピーモード時とプリンタモード時に、印刷データに基づき印刷処理を行って、記録ヘッド34及び各モータ33,35を駆動制御する。すなわち、記録ヘッド34のインクジェット吐出制御、紙送りモータ33の紙送り制御、キャリッジモータ35の移動制御などを行う。印刷処理部28に内蔵されたヘッド制御部28aは、画像処理部27から転送された印刷データに基づき記録ヘッド34を駆動制御する。紙送りモータ33とキャリッジモータ35は紙送り動作とキャリッジ移動動作が交互に行われるよう制御される。キャリッジモータ35が駆動されてキャリッジ(図示省略)が主走査方向に移動する過程で記録ヘッド34からインクが吐出されることにより、用紙に1ラインずつ画像が印刷される。なお、紙送りモータ33とキャリッジモータ35は、CPU21が駆動制御する構成でもよい。
【0042】
また、CPU21は表示制御部36と電気的に接続されている。表示制御部36が有するスクリーンメモリ36aにCPU21が画像データを書き込むことにより、表示制御部36はそのスクリーンメモリ36aから読み出した画像データに基づく画像を表示装置(LCD)7の画面7aに表示させる。画面7aに表示される画像としては、各種設定画面のメニュー画像と、スキャナ部2により読み取られたスキャナ画像などが挙げられる。
【0043】
ROM23には、メニュー画像を表示させるための各種メニュー画像データが記憶されている。CPU21は、メニューの切替え操作、メニュー中の所定項目選択操作、入力項目の数値を増減させる操作が操作部8でなされてその操作信号を入力すると、その操作信号の指示に応じてメニュー画像や項目、数値等の表示を切り替える。
【0044】
画像処理部27は、フィルタ処理部40を備えている。フィルタ処理部40は、CPU21からの指示に従って画像データに対し、拡大/縮小、スムージング、文字強調等の所定処理を実行する。フィルタ処理部40は、切り出し処理部41と拡大処理部42を備えている。切り出し処理部41は、スキャナ入力画像処理部26から転送されてきたRGB画像データから、印刷に必要な領域のデータを切り出す処理を行う。印刷に必要な領域は、コピーメニューM1で指定された拡大中心位置と拡大率との情報を基に決められる。
【0045】
拡大処理部42は、切り出し処理部41で切り出されたRGB画像データに、その領域を指定された拡大率で拡大する拡大処理を施す。フィルタ処理のうち一部の画像処理については、CPU21によるソフトウェア処理で行われ、その画像処理を終えた画像データは再び画像処理部27へ戻される。その後、画像処理部27は、RGB画像画像データをインク吐出時のドット形成順序に並び替えるラスタライズ処理、RGB系→CMYK系への色変換処理および2値化処理を順次施す。さらに画像処理部27は、2値化処理後の画像データ(CMYK画像データ)を基にコマンド付きの印刷データを生成し、この印刷データは印刷処理部28に転送される。
【0046】
次に、コピーする際の画面表示について説明する。
図2(a)におけるコピーメニューM1は、原稿を拡大コピーする際の各種コピー条件を設定するためのものである。コピーメニューM1には、入力できる項目として、「拡大中心指定」、「拡大率」、「用紙サイズ」などが用意されている。このコピーメニューM1において「拡大中心指定」が選択されたとき、CPU21はそのサブメニューを表示して「指定する」「指定しない」の選択をユーザに促す。「指定する」を選択して決定ボタン10が押下されると、CPU21は「拡大中心指定」(フラグ)をセットする。
【0047】
また、コピーメニューM1で「拡大率」が選択された状態で方向ボタン9が操作された際、CPU21は方向ボタン9の上側部が操作されたときは「拡大率」の数値を増大させ、下側部が操作されたときは「拡大率」の数値を減少させる。「拡大率」は例えば「50%〜400%」の範囲内で設定できるようになっている。「拡大率」の選択状態で決定ボタン10が押下されると、CPU21はそのとき表示されている数値を「拡大率」として設定する。
【0048】
また、コピーメニューM1で「紙サイズ」が選択された状態で方向ボタン9が操作されたとき、CPU21は「紙サイズ」の表示(A4,B5,A5等)を順次切替える。「紙サイズ」の選択状態で決定ボタン10が押下されると、CPU21はそのとき表示されている紙サイズ(A4,B5,A5等)を「紙サイズ」に設定する。これらの設定データはRAM24の所定記憶領域に一時記憶される。本実施形態では、この「紙サイズ」が原画像の中で拡大させたい領域を特定する複数の点についての座標を求める演算に用いられるサイズ情報となる。
【0049】
「拡大中心指定」で「指定する」にセットされた状態で、コピーボタン6が操作されると、CPU21はASIC25に指令を出し、スキャナ部2にプレスキャンを行わせる。ここで、「プレスキャン」とは、実際のコピーのためのスキャニングではなく、コピーしようとする原稿の画像をプレビュー表示させるための仮のスキャニングを指す。プレスキャンでは、スキャニング速度を優先し画像を一部間引いた低解像度の条件でスキャニングが行われる。CPU21は、スキャナ入力画像処理部から受け取ったRGB画像データにカーソル(指示体)Cと枠Kを所定位置に表示させる画像処理を施した後、その画像データを表示制御部36のスクリーンメモリ36aに書き込むことで、プレビュー画面M2を表示させる。
【0050】
図2(b)に示すように、プレビュー画面M2ではその表示エリアT内にプレスキャンされた画像Pが表示される。カーソルCは、はじめは画像P(つまり表示エリアT)の中心に表示される(図5も参照)。CPU21は、方向ボタン9からの操作信号に従って上下左右いずれかの方向にカーソルCを移動させる表示処理を行う。CPU21は決定ボタン10の押下信号を入力すると、そのときのカーソルCの位置座標を拡大中心位置座標としてRAM24の所定記憶領域に記憶する。
【0051】
本実施形態では、原画像の中で拡大したい領域を指定する方法に特徴がある。画像P上で拡大コピーしたい領域の中心点を指定すると、指定の拡大率で拡大したときに用紙サイズと余白情報から定まる印刷エリアに収まりうる領域Rが特定される。この領域Rが決まれば、スキャナ2で読み取った画像データからその領域を切り取って拡大処理を施して印刷すれば、所望する領域Rの拡大コピーが得られる。この一連の処理は、図4にフローチャートで示されるプログラムが実行されることで実現される。
【0052】
以下、図4に従って、コピー条件の指定から拡大したい領域の指定を経て印刷に至るまでの処理内容について説明する。
まずユーザは、スキャナ2の原稿載置面(ガラス)に原稿Gを載置してカバーを閉じ、予め原稿Gをセットしておく。次に、表示装置7にコピーメニューM1を表示させ、所望の「拡大率」、「用紙サイズ」および「用紙の向き」を指定する。さらにコピーメニューM1の「拡大中心指定」を選び、次のサブメニューで「指定する」を選択した後、コピーボタン6を押下する。すると、図4のフローチャートで示される処理が開始される。なお、本実施形態では、CPU21とASIC25が分担してこのプログラムで示される一連の処理を行う。すなわち、プログラムは、主にASIC25によって処理される処理手順(ステップ(以下「S」と記す)10,S90〜S120)と、主にCPU21によって処理される処理手順(S20〜S80)とからなる。CPU21が実行する処理のプログラムはROM23に記憶されている。もちろん、これらすべての処理をCPU21が単独で実行する構成を採ることもできる。
【0053】
S10では、原稿のプレスキャンを行い、読取った画像をRAM24に記憶する。プレスキャンは、プレビュー画面M2の表示エリアTに画像を表示するために行う原稿の読取りで、印刷データを取得する本スキャンよりもデータを間引いている分だけそのスキャニング処理は早く完了する。CPU21はコピーボタン6の押下信号を入力すると、ASIC25にプレスキャン処理の実行を指令する。この指令を受けたASIC25は、CCD31およびスキャナモータ32を駆動させてスキャナ2を作動させ、原稿載置面2b(図1参照)に載置された原稿からCCD31により画像を読み取る。原稿をスキャニングしたCCD31からの読取信号は、ASIC25内のスキャナ入力画像処理部26で画像データ化され、その画像データがCPU21に転送され、CPU21はその画像データをRAM24に一時記憶する。
【0054】
S20では、プレビュー画像Pを表示する。CPU21はRAM24から画像データを読み出し、プレビュー画像P上に、拡大中心位置を示す丸型のカーソルCと、印刷領域を示す矩形の枠Kとを貼り付ける画像処理を施す。そして、この画像データが表示エリアに組み込まれたプレビュー画面M2用の画像データを生成し、これを表示制御部36のスクリーンメモリ36aに書き込んで、表示装置(LCD)7にプレビュー画面M2を表示する。はじめてプレビュー画像Pが表示されたときは、カーソルCは画像Pの中心点に位置する。なお、「拡大中心指定」を「指定しない」としたときは、画像Pの左上頂点が拡大中心位置となる(但し、画像は表示されない)。枠K(領域R)を特定する座標の計算方法については後述する。
【0055】
S30では、決定ボタン10が操作されたかどうかを判断する。決定ボタンが操作されればS60へ進み、操作されなければS40に進む。
S40では、方向ボタン9が操作されたかどうかを判断する。方向ボタン9が操作されればS50に進み、操作されなければS30に戻る。
【0056】
S50では、方向ボタン9の操作で指定された方向にカーソルと枠Kを、所定の量(例えばプレビュー画像の1ドット又は数ドット分ずつ)だけ移動させる。方向ボタン9は上下左右に押すことができるので、それが操作されたときは上下左右いずれかの方向にカーソルCと枠Kを移動させる。その後、S30に戻り、再び決定ボタン10の監視を行い、決定ボタン10が操作されなければ、S40,S50を繰り返し、決定ボタン10が操作されればS60に移行する。
【0057】
S60では、カーソルの位置すなわち拡大中心位置が確定し、座標データとして記憶される。CPU21は、方向ボタン9の操作信号からカーソルCの表示位置を管理しており、決定ボタン10が操作された時の表示位置の座標を拡大中心位置座標としてメモリに一時格納する。
【0058】
S70では、既に指定されている用紙サイズと拡大率を、RAM24から読み出す。
S80では、元画像(原画像)から印刷領域として切り出す領域Rを特定するための座標を算出する。本実施形態では、切り出す領域Rは、指定されている用紙サイズから定まる用紙形状と同じアスペクト比(縦横比)の矩形を採用している。よって、矩形の領域Rを特定するためには、最低でも対角2点の座標を特定する必要がある。CPU21は、拡大中心位置と用紙サイズと拡大率に基づいて、領域Rの対角2点(例えば左上頂点および右下頂点)の座標を算出し、メモリまたはレジスタに記憶する。
【0059】
S90では、CPU21はASIC25に本スキャン処理の実行を指令する。この指令を受けたASIC25は、CCD31およびスキャナモータ32を駆動させてスキャナ2を作動させ、原稿載置面2b(図1参照)に載置された原稿からCCD31により画像を読み取る。原稿をスキャニングしたCCD31からの読取信号は、ASIC25内のスキャナ入力画像処理部26で画像データ化され、その画像データが画像処理部27に転送される。本スキャンは、印刷に使用する画像データを取得するためのものであるので、間引きしない高解像度の条件でスキャニングされる。なお、本スキャンの処理は、決定ボタン10の押下信号を入力した時点に直ぐ開始してもよく、その場合は、S60〜80の処理は本スキャン実行中にCPU21が実行することになる。
【0060】
S100では、画像の切り出し処理を行う。この切り出し処理は、画像処理部27内の切り出し処理部41が行う。S80でメモリまたはレジスタに記憶された切り出し領域Rを特定する対角2点の座標を読み出し、この座標に従って、S90で取得した原画像の画像データから印刷領域に相当する部分の画像データのみ切り出し、切り出した画像データをメモリ30に一時記憶する。
【0061】
S110では、切り出された画像データに拡大処理を施す。拡大処理部42はメモリ30から切出し処理後の画像データを読み出して拡大率に基づく拡大処理を施す。
【0062】
S120では、印刷処理を行う。なお、ここでいう印刷処理は、画像処理部27で行われるラスタライズ処理、色変換処理および2値化処理を含む。これらの画像処理後の2値画像データはコマンド付きの印刷データに仕立てられ、画像処理部27から印刷処理部28に転送される。ヘッド制御部29A及びモータ制御部を介して拡大処理され、拡大画像が印刷される。
【0063】
図5は、領域を特定するための演算フローを示した説明図である。
同図(a)はプレビュー画像(表示画像)P、同図(b)は原稿の読取り実画像(計算上)、同図(c)は実際の読取り画像、同図(d)は拡大画像をそれぞれ示す。領域Rを特性する座標が必要となる場面は、プレビュー画像を表示する際に枠Kの表示領域を計算するときと、本スキャンでの読取り画像から領域Rを切り出す切出し処理を行うときである。前者は表示系の座標を算出するのに対し、後者は実画像系の座標を算出するが、単に変換が逆になるだけである。
【0064】
まず表示系の領域R(枠K)の表示領域を特定する座標の計算方法について説明する。同図(a)の表示画像と同図(b)の実画像の各図を用いて説明する。枠Kのサイズは、CPU21が「拡大率」と「用紙サイズ」のデータに基づき計算により求めている。本実施形態では、縁なし印刷機能を備えているため、印刷条件情報には「縁あり」「縁なし」を指定する余白情報も含む。「用紙サイズ」および「余白情報」の各情報から用紙上における印刷エリアとして指定される印刷エリアサイズ(以下、指定サイズという)を求める。指定サイズは、「縁あり」のときは用紙サイズからその周縁の余白部分を除いたサイズに指定され、「縁なし」のときは用紙サイズがそのまま指定される。よって、指定サイズBは、用紙サイズを「H」、縁ありの余白を除いた印刷エリアサイズBと用紙サイズHとの比率(以下余白係数と称す)を「α」(=B/H)とおくと、式 B=α・H で表される。ここで「α」の値は、縁なしのときは「1」、縁ありのときは例えば0.5<α<1となる(但しαは定数)。また、余白情報「α」は横方向と縦方向とで余白の幅が異なる場合もあるが、ここでは説明の便宜上等しいものとする。領域Rは、これを拡大率で拡大すると印刷エリアサイズ(指定サイズ)に等しくなる関係があるので、領域Rの領域サイズBoは、拡大率「F(%)」と指定サイズBとを用いて、Bo=100・B/F の関係式で与えられる。よって、領域サイズBoは、次式で与えられる。
Bo=100・α・H/F …(1)
上記(1)式で求まる領域サイズBoは実画像表示系のものなので、表示系の表示画像サイズ(プレビュー画像サイズ)mと実画像系の実画像サイズMとの比β(=m/M)を用いて、表示系の領域サイズである枠KのサイズBkは、Bk=β・Bo で与えられる。よって、この関係式と上記(1)式の関係とから、枠KのサイズBkは、次式で表される。
Bk=100・β・α・H/F …(2)
CPU21は、上記(2)式を用いて、用紙サイズ「H」、余白係数「α」および拡大率「F(%)」の各値(パラメータ)から枠KのサイズBkを求める。また、用紙の向きによって、枠Kの配置される向きが決まる。ところで、上記(2)式は、枠KのサイズBkを、原稿G、領域R、用紙、印刷エリアの各アスペクト比(縦横比)を等しいとしたときのサイズ比で特定している。しかし、枠Kを表示するためには、矩形の領域Rの対角で向かい合う2点の座標を特定する必要がある。
【0065】
表示画像(プレビュー画像)P(つまり表示エリアT)の横方向と縦方向の一辺の長さをそれぞれPx,Py、実画像Prの横方向と縦方向の一辺の長さをそれぞれLx、Lyとすると、上記(2)式の関係式を用いて、領域Rの横方向と縦方向の各々の一辺の長さlx,lyは、次式で表される。
lx=100・Px・αx/F・Hx/Lx …(3)
ly=100・Py・αy/F・Hy/Ly …(4)
ここで、Hx、Hyは用紙サイズの横方向と縦方向のそれぞれ一辺の長さ、αx,αyは横方向と縦方向のそれぞれ余白係数、Fは拡大率(%)を示す。
【0066】
カーソルCの位置の横座標と縦座標をそれぞれX,Y(つまり座標(X,Y))とし、表示画像(プレビュー画像)Pと読取り実画像Prとの座標の原点が共に左上の角の頂点にあるとすると、領域R(つまり枠K)の対角に向き合う2点の座標(X1,Y1),(X2,Y2)は、次式により求まる。
X1=X−lx/2、Y1=Y−ly/2 …(5)
X2=X+lx/2、Y2=Y+ly/2 …(6)
ここで、上式(5),(6)で求まる2点の座標値は、領域Rの左上と右下の2点のものである。また、上記(5),(6)式は用紙が縦向きのときのものであり、用紙が横向きのときは以下の計算式を用いる。
X1=X−ly/2、Y1=Y−lx/2 …(7)
X2=X+ly/2、Y2=Y+lx/2 …(8)
CPU21は、枠Kの中心にくるカーソルCの位置(X,Y)が決まると、指定された拡大率、用紙サイズ、余白係数、用紙の向き及び検出された原稿サイズによって、枠K(領域R)を特定する2点の座標を、上記(5),(6)式又は(7),(8)式を用いて算出する。これら2点の座標(X1,Y1),(X2,Y2)から決まる位置・サイズで画像Pに貼り付けられるように枠Kのテンプレート画像を画像データに組み込む。なお、実画像Prの横方向と縦方向の一辺の長さLx、Lyは、プレスキャン時に原稿サイズ検出センサ(図示せず)により検出された原稿サイズ(原稿の縦と横の長さ)を使用し、予めRAM24に記憶されたものを読み出して用いる。
【0067】
次に、ユーザがカーソルCで拡大中心位置(X、Y)を指定して決定ボタン10を押下した後、本スキャンを経て拡大画像MPを取得するまでの演算フローについて図5に従って説明する。
【0068】
同図(a)では、プレビュー画像P上に拡大中心指定を行うカーソルCと、拡大される領域Rを示す枠Kが表示され、ユーザはカーソルCを拡大画像MPの中心にしたいポイントまで移動させて決定ボタン10を押下する。CPU21は決定ボタン10の押下信号を入力すると、その時のカーソルCの横座標Xと縦座標Yをメモリまたはレジスタに保存する。ここで取得される座標(X,Y)は、表示系のものとなる。なお、座標の原点はプレビュー画像Pの左上頂点に設定されている。
【0069】
同図(b)では、実画像Prにおける領域Rを特定する座標を計算する。CPU21は、メモリまたはレジスタに保存した拡大中心点の座標(X,Y)と、事前にRAM24に記憶された拡大率、用紙サイズ、余白係数、用紙の向きの各データをそれぞれ読み出す。そして、実際に取り込む実画像Prにおける中心画素の座標(x,y)を算出する。表示画像と実画像のサイズ比(表示画像と実画像の解像度比を考慮したサイズ比)γを計算し、この比γを用いて、(x,y)=(γx,γy)を算出する。例えば表示画像Pの解像度がJd(dpi)、実画像Prの解像度がJr(dpi)、表示エリアTのサイズm、原稿サイズMとし、表示画像Pの座標が画素単位で特定されるものとすると、前記比γは、γ=Jr・M/(Jd・m)で与えられる。なお、比γを求めるために必要な実画像サイズは、プレスキャン時に原稿サイズ検出センサにより検出された原稿サイズをRAM24から読み出して使用する。さらに拡大率データF(%)と中心画素の座標データ(x,y)から左上と右下あるいは右上と左下どちらかの対角で向き合う2点の座標(x1,y1)(x2,y2)を算出する。実画像Prにおける領域Rの横方向と縦方向の一辺の長さをそれぞれ「Rx」「Ry」とおくと、これらは次式で与えられる。
Rx=100・Hx・Lx・αx/F …(9)
Ry=100・Hy・Lx・αx/F …(10)
ここで、Hx、Hyは用紙サイズの横方向と縦方向のそれぞれ一辺の長さ、Lx、Lyは実画像Pr(原稿G)の横方向と縦方向のそれぞれ一辺の長さ、αx,αyは横方向と縦方向のそれぞれ余白係数、Fは拡大率(%)をそれぞれ示す。
【0070】
実画像Prにおける領域Rの対角に向き合う2点の座標(x1,y1)(x2,y2)は、次式により求まる。
x1=x−Rx/2、y1=y−Ry/2 …(11)
x2=x+Rx/2、y2=y+Ry/2 …(12)
ここで、上式(11),(12)で求まる2点の座標値は、領域Rの左上と右下の2点のものである。また、上記(11),(12)式は用紙が縦向きのときのものであり、用紙が横向きのときは以下の計算式を用いる。
x1=x−Ry/2、y1=y−Rx/2 …(13)
x2=x+Ry/2、y2=y+Rx/2 …(14)
CPU21は、中心画素の座標(x,y)が決まると、指定された拡大率、用紙サイズ、余白係数、用紙の向き及び検出された原稿サイズによって、領域Rを特定する2点の座標を、上記(11),( 12)式又は(13),(14)式を用いて算出する。CPU21は算出した2点の座標(x1,y1)(x2,y2)をRAM24に記憶する。
【0071】
同図(c)では、本スキャンで読み取られた画像データから領域Rを切り出す処理を行う。この切出し処理は、ASIC25内の切り出し処理部41が行う。切り出し処理部41は、本スキャンで読み取られた画像データを入力すると、RAM24から取得した2点の座標(x1,y1)(x2,y2)で特定される領域R以外の画像データはメモリ30に保存せず、領域Rに属する画像データのみメモリ30に保存する。これにより領域R以外の不要な画像データは破棄され、必要な領域Rの画像データだけが切り出される。
【0072】
同図(d)では、切り出し処理部41が領域Rの画像データに拡大処理を施す。切り出し処理部41は、メモリ30から領域Rの画像データを取り込むと、この領域Rの画像データと、既にRAM24からレジスタに格納された拡大率データとを用いて拡大画像MPを生成する拡大処理を行う。生成された拡大画像データはメモリ30に記憶される。その後、拡大画像データは、所定の画像処理(スムージング等)、ラスタライズ処理、色変換処理、2値化処理などが施され、さらにコマンド付きの印刷データに仕立てられた後、印刷処理部28に転送される。そして、印刷処理部28は拡大画像データに基づき記録ヘッド34を駆動制御し、用紙に拡大画像が印刷(コピー)される。
【0073】
図4および図5で説明したフローに従えば、プレビュー画面を見ながら、上下左右の任意の方向に、連続して細かなカーソル移動が可能となるため、所望の位置を拡大中心位置として指定することができるようになる。さらに、この拡大中心位置と、指定した拡大率、用紙サイズ、余白情報(レイアウト情報)および用紙の向きから、拡大印刷する領域Rを確定することができる。そして、プレビュー画像P上に領域Rを示す枠Kを表示するので、印刷前に印刷領域を確認することが可能となる。
【0074】
図6は、本実施形態の複合機でコピーする際の手順を示す説明図である。まず複合機1のカバーを開き、原稿載置面(ガラス面)2b上に原稿(元画像)Gをセットする。次に、コピーメニューM1で拡大率、用紙サイズ、余白情報(レイアウト情報)、用紙の向きなど必要なコピー条件(印刷パラメータ)を設定し、「拡大中心指定」の項目で「指定する」を選択した後、決定ボタン10を押下する。すると、プレスキャンが行われ、スキャナ部2で読み取られた画像(原画像)Pがプレビュー画面M2に表示される。このプレビュー画像P上でカーソルCを方向ボタン9の操作で所望の位置まで移動させる。このとき、カーソルCに追従して移動する枠Kで示される領域Rを見てそれでよければ、決定ボタン10を押下する。すると、次に本スキャンが行われ、領域Rが指定の拡大率で拡大された印刷画像Psが得られる。なお、拡大率を100%未満とした「縮小」の場合でも、用紙の印刷エリア内に縮小するために、原画像から縮小印刷される領域Rを切り出す必要があるときは、領域Rを指定して切り出し処理が行われる。
【0075】
以上詳述したように本実施形態によれば、以下の効果を得ることができる。
(1)拡大中心位置の1点のみ指定すれば、後はコピー条件(印刷パラメータ)として指定した拡大率、用紙サイズ、余白情報、用紙の向きの各データを用いて、CPU21が領域Rを特定するために必要な2点の座標を算出する。よって、特許文献1に記載の従来技術のように、ユーザが領域を特定するために必要な複数の点を指定する必要がない。このように、拡大中心位置を1点指定するだけで、拡大したい領域Rを指定できるので、拡大したい領域を指定する入力操作に手間がかからない。
【0076】
(2)カーソルCを拡大中心点としたい位置まで移動させて決定ボタン10を押下するだけなので、点を特定するために必要な横座標と縦座標の2データを入力する必要がない。また、プレビュー画像Pを見ながら、拡大中心を示すカーソルCを移動可能なため、視覚的に所望の位置を指定しやすくなる。
【0077】
(3)プレビュー画像P上に、拡大印刷される領域Rを示す枠Kが表示されるので、カーソルCの1点指定で特定される領域Rを確認することができる。したがって、拡大中心位置や拡大率が適切かどうか判断しやすくなるため、拡大コピーをする際に、印刷もれ等のミスを減らすことができる。
【0078】
(4)画像P上の任意の点を指定できるので、例えば画像Pの四隅いずれかの頂点を拡大中心位置に指定すれば、画像Pの頂点を拡大中心とする拡大画像を印刷することもできる。この場合、用紙3には例えば画像Pの頂点が用紙中心に位置し余白の多い印刷画像が得られる。
【0079】
(5)画像P上の任意の1点を指定することで拡大印刷する領域Rを指定できるので、原稿Gを原稿載置面2bに正規の位置にセットしたまま拡大コピーをすることができる。このため、原稿Gの移動、原稿Gの折り曲げ、カバー1cを外す等の作業を行わなくても、原稿G上の所望の部分を拡大コピーすることができる。
【0080】
(第二の実施形態)
以下に、本発明を具体化した第二の実施形態を、図7に基づいて説明する。本実施形態の複合機は、拡大中心位置を指定する方法が第一の実施形態と異なる。これ以外の構成は、第一の実施形態と共通しているため、ここではその説明を省略する。
【0081】
原稿Gをプレスキャンした後、画面7aには同図に示すプレビュー画面M3が表示される。プレビュー画面M3には、原稿Gの実画像Prのプレビュー画像Pと、プレビュー画像P上において縦方向と横方向にそれぞれ等間隔に引かれた複数本の目盛線51a,51bと、画像Pの外側において各目盛線51a,51bの一端に付された座標番号からなる符号列52a,52bとが表示される。符号列52a,52bは、縦方向に引かれた目盛線51aの横座標と、横方向に引かれた目盛線51bの縦座標を示す番号列からなり、本例では、画像Pの左上頂点を原点とする「1〜n」までの整数で表示される。なお、同図では、画像Pの四辺上の点を指定する符号が付されていないが、画像Pの四辺上の点も指定できるようになっている。
【0082】
また、プレビュー画面M3には横座標と縦座標をそれぞれ入力するための入力欄53a,53bが表示される。ユーザは、縦方向に引かれた目盛線51aと横方向に引かれた目盛線51bとの交点の座標(横座標と縦座標)を入力欄53a,53bに入力することで、拡大中心点を指定することが可能となっている。プレスキャン直後は、まず入力欄53aにフォーカスが当たり、方向ボタン9の上側部又は下側部を操作することで入力欄53a中の横座標の数字(番号)が増大又は減少する。決定ボタン10を押下すると、次に入力欄53bにフォーカスが移り、方向ボタン9の上側部又は下側部を操作することで入力欄53a中の縦座標の数字(番号)が増大又は減少する。これらの座標選択処理は、CPU21が方向ボタン9及び決定ボタン10の各操作信号に基づき実行する。その後、決定ボタン10が押下されると、CPU21は各入力欄53a,53bに表示された各数字を拡大中心位置の座標(横座標と縦座標)としてRAM24に保存する。なお、同図では枠Kが描かれていないが、拡大中心位置の座標が設定されたときにCPU21が領域Rを特定する2点の座標を算出し、その算出結果に基づき枠Kを表示させることもできる。本実施形態の複合機の上記以外の構成及び処理内容については、第一の実施形態と同様であるため、その説明は省略する。
【0083】
上記のように構成された複合機1では、以下の手順により、所望の部分(人物等)が画像の中心となる拡大コピーをとることができる。まず、表示装置7にコピーメニューM1(図2(a)参照)を表示させ、所望の拡大率、用紙サイズ、余白情報および用紙の向きを指定する。このコピーメニューM1で「拡大中心指定」の項目を選び、その中で「指定する」を選択してからコピーボタン6を操作すると、プレスキャンが行われ、表示装置7はプレビュー画面M3となり、プレビュー画像P、目盛線51a,51bおよび符号列52a,52bが表示される。ユーザは、まず画像Pを見て拡大の中心としたい位置を決めると、その位置に該当する横座標と縦座標を符号列52a,52bを見て把握する。そして、最初にフォーカスがたっている入力欄53aに方向ボタン9を操作することで横座標を選択し、決定ボタン10の押下の後、次にフォーカスが当たる入力欄53bに方向ボタン9を操作することで縦座標を選択する。横座標と縦座標の選択を終え、決定ボタン10を押下すると、拡大中心位置の横座標と縦座標がRAM24に記憶されるとともに、本スキャンが行われる。本スキャンで取得された画像データは、先に1点指定された拡大中心位置の座標を用いて算出された2点の座標で特定される領域Rを切り出す切出し処理がなされ、次いで拡大処理を含む所定の処理が第一の実施形態と同様に施される。そして、所望の部分が拡大された印刷画像Psが用紙に印刷される。
【0084】
以上述べたように本実施形態によれば、以下の効果を得ることができる。
(6)プレビュー画像P上の所望の点を座標で特定できるように目盛線51a,51bと符号列52a,52bを表示したので、所望の拡大中心位置を横座標と縦座標の組合わせで入力することができる。例えば、方向ボタン9が縦方向と横方向の2方向にしか操作できず、カーソルを任意の位置へ移動させることが実現困難な複合機1においても、拡大中心位置を指定することができる。
【0085】
(第三の実施形態)
以下に、本発明を具体化した第三の実施形態を、図8に基づいて説明する。
本実施形態の複合機も、拡大中心位置を指定する方法が前記各実施形態と異なる。これ以外の構成は、第一の実施形態と共通しているため、ここでは説明を省略する。
【0086】
複合機1の原稿台2aには、原稿載置面(ガラス面)2bの外側に縦横各一辺に沿う、目盛線55a,55bと、座標番号からなる符号列56a,56bが付されている。ユーザは、原稿Gを原稿載置面2bに正規の状態に置くことで、原稿G上で所望の拡大中心点の縦座標と横座標を、目盛線55a,55bと符号列56a,56bによって把握し、その把握した番号の組合わせで所望する点の座標を指定することが可能である。表示装置7の画面7aには、コピーメニューM1(図2(a)参照)と、図7のプレビュー画面M3における入力欄53a,53bだけを備えたサブメニュー(図示省略)が表示される。この入力欄53a,53bを備えたサブメニューは、コピーメニューM1で「拡大中心指定」の項目を選択したときに表示される。
【0087】
上記のように構成された本実施形態の複合機を使用すれば、以下の手順により、所望の部分が画像の中心となる拡大コピーをすることが可能となる。まず、表示装置7にコピーメニューM1を表示させ、所望の拡大率、用紙サイズ、余白情報および用紙の向きを指定する。このコピーメニューM1で「拡大中心指定」の項目を選び、その中で「指定する」を選択してからコピーボタン6を操作すると、表示装置7には入力欄53a,53bが表示される。使用者は、原稿台2aの原稿載置面2bに原稿Gを置き、目盛線55a,55bと符号列56a,56bから拡大中心としたい点の座標番号を把握し、第二の実施形態と同様に方向ボタン9および決定ボタン10を操作して、その把握した横座標の番号と縦座標の番号を各入力欄53a,53bに順次入力する。そして、原稿Gをその画像面が原稿載置面2bと対向する向きに置き直し、コピーボタン6を押下すると、その拡大中心位置の座標がRAM24に記憶されるとともに、スキャンが開始される。画像の切り出し処理や拡大処理については、第一の実施形態と同様に行われ、印刷画像Psが用紙に印刷される。
【0088】
以上述べたように本実施形態によれば、以下の効果を得ることができる。
(7)原稿台2aに、目盛線51a,51bと符号列52a,52bを付したことにより、原稿載置面2bに置いた原稿G上で拡大したい点の座標を把握できるようにし、その把握した座標番号を入力することで、拡大中心位置を指定するようにした。よって、原稿Gのプレビュー画像Pを表示できる表示装置7を備えていない複合機1であっても、拡大中心位置を指定することができる。
【0089】
(第四の実施形態)
以下に、本発明を具体化した第四の実施形態を、図9、図10に基づいて説明する。
【0090】
図10は、インクジェット式プリンタの斜視図である。画像処理装置としてのプリンタ61は、その本体61aにカードスロット62aを有する読取装置62を搭載する。プリンタ1は、メモリカード63をカードスロット62aにセットすることにより、メモリカード63から画像データを読み込んで、例えばデジタルカメラで撮影した画像(写真)をホストコンピュータ(PC)を通さず印刷できる。本体61aの背面側には自動給紙装置64のシートフィーダ65及びロール紙支持部66が設けられている。シートフィーダ65には、単票紙(図示せず)がセットされ、本体61a内部に給紙される。また、ロール紙支持部66には、ロール紙67がセットされ、本体61a内部に給紙される。本体61aの中央には、カバー68が設けられ、そのカバー68内には印刷機構が配設され、その印刷機構の作動により印刷された印刷媒体としての用紙(単票紙又はロール紙)3が前側下部の排紙口61bから排出される。本体61aの上面右側には操作パネル69が設けられている。操作パネル69は、画面70aを有する表示装置70と、複数の操作スイッチ(操作キー)からなる操作部71とを備えている。画面70aにはメニューがモノクロ表示される。
【0091】
プリンタ61の本体61aの上部には、メモリカード63から読み込んだ画像を表示する表示手段を構成する第2表示装置72が取り付けられている。第2表示装置72の画面72aには、メモリカード63から読み込んだ画像のプレビュー画像を表示させることができ、プレビュー画像上で拡大印刷したい領域Rを指定したり、印刷画像やプリントレイアウトを事前に確認可能である。
【0092】
図9は、プリンタ61の電気的構成図である。プリンタ61は、前記第一の実施形態における複合機1からスキャナ機能を廃止し、かつ読取装置62を追加するとともに、メニューとプレビュー画面M2を2つの表示装置70、72に別々に表示する点が異なるのみで、その他は前記第1の実施形態における電気的構成と基本的に同じ構成を備えている。
【0093】
プリンタ61にはCPU73と、CPU73にバス74を介して接続されたROM75、RAM76、フラッシュメモリ77、ASIC78とが搭載されている。
【0094】
CPU73は操作パネル69を制御するユーザインターフェース(UI)基板79と接続され、ROM75の制御プログラム及びメニュー画像データに基づきUI基板79を介して画面70aの表示制御を行う。また、操作部71には、方向ボタン9、決定ボタン10、中止ボタン11、キャンセルボタン12および印刷実行ボタン80が設けられている。CPU73は、方向ボタン9および決定ボタン10の操作信号に基づき、画面70aに表示されたメニューで指定された各種印刷パラメータをRAM76に設定する。
【0095】
また、CPU73は表示制御部81を介して第2表示装置72を表示制御する。表示制御部81は入力側がバス74に、出力側が第2表示装置72に接続されている。RAM76の所定記憶領域がスクリーンメモリとして使用される。CPU73は画像データをRAM76のスクリーンメモリに書き込むことで表示制御部81を介して第2表示装置72にプレビュー画像を表示させる。また、バス74にはインターフェース(I/F)82を介して読取装置62が接続されており、CPU73は読取装置62からメモリカード63に記憶された画像データ等を読み取る。
【0096】
CPU73はメモリカード63から画像を選択するメニュー(図示せず)を画面70aに表示する。このメニューで画像番号を選択してから決定ボタン10が押下されると、CPU73はその画像番号に対応する画像データをメモリカード63から読み出し、その画像Pを第2表示装置72の画面72aに表示する。
【0097】
また、CPU73は拡大印刷メニューM4を画面70aに表示する。拡大印刷メニューM4は、第一の実施形態におけるコピーメニューM1と同じ項目が用意されたもので、第一の実施形態が拡大コピーを対象とするのに対し、本実施形態が拡大印刷を対象とする点が異なるだけで、用意された設定項目そのものは同じである。この拡大印刷メニューM4で、拡大率、用紙サイズ、余白情報(レイアウト情報)、用紙の向きなどの印刷パラメータを選択した後、決定ボタン10を押下する。すると、CPU73はメモリカード63から指定の画像番号に対応する画像データを読み出し、その画像Pを組み込んだプレビュー画面M2を第2表示装置72の画面72aに表示する。このプレビュー画面M2は、第一の実施形態と同様の表示構成で、プレビュー画像Pと、拡大中心位置を示すカーソルCと、拡大される領域Rを示す枠Kが表示される。このプレビュー画面M2における拡大中心位置の指定方法も第一の実施形態とすべて同様である。すなわち、プレビュー画像P上のカーソルCを方向ボタン9の操作によって所望の位置に移動させ、決定ボタン10を押下することで拡大印刷したい領域Rを指定する。拡大中心位置の座標から領域Rを特定する2点の座標を求める計算方法は、第一の実施形態と同様である。なお、第2表示装置72、CPU73及び表示制御部81によって、表示手段が構成される。
【0098】
ASIC78は、前記第一の実施形態におけるものと同じ画像処理部27と印刷処理部28を備えている。画像処理部27は、フィルタ処理部40を備え、フィルタ処理部40は、切り出し処理部41と拡大処理部42を備えている。画像処理部27には読取装置62で読み取られたメモリカード63からの画像データが転送され、この画像データに切り出し処理部41による切り出し処理と拡大処理部42による拡大処理が施される。また、ASIC78には、紙送りモータ33、記録ヘッド34及びキャリッジモータ35の他、ロール紙駆動用モータ83が電気的に接続されている。
【0099】
上記のように構成された本実施形態のプリンタ61を使用すれば、以下の手順により、メモリカード63の画像を画面72aに表示し、その画像P上で所望の領域Rを指定して拡大印刷することが可能となる。まず、第1表示装置70にコピーメニューM1を表示させ、所望の拡大率、用紙サイズ、余白情報および用紙の向きを指定する。このコピーメニューM1で「拡大中心指定」の項目を選び次に「指定する」を選択してから印刷実行ボタン80を操作すると、第2表示装置72には、指定の画像番号に対応する画像Pが組み込まれたプレビュー画面M2(図6も参照)が表示される。そして、方向ボタン9を操作してプレビュー画像P上のカーソルCを所望の拡大中心点に移動させる。このとき枠KはカーソルCに追従して移動する。決定ボタン10の操作によって拡大中心位置を確定することで、印刷処理が開始する。拡大中心位置指定後の処理(領域計算処理、切り出し処理、拡大処理等)は、前記第一の実施形態と同様である。
【0100】
以上述べたように本実施形態によれば、拡大コピーが拡大印刷に替わるものの、前記第一の実施形態における効果(1)〜(4)が同様に得られる他、以下の効果を得ることができる。
【0101】
(8)メモリカード63から読み込んだ画像のプレビュー画像Pを第2表示装置72に表示させ、この画像P上でカーソルCを移動させカーソルCの位置を指定することで画像P中の拡大印刷したい領域Rを設定でき、その領域Rの拡大印刷を得ることができる。
【0102】
なお、実施形態は前記に限定されず、以下の態様にしてもよい。
(変形例1)領域を知らせるために枠を表示したが、領域を視認できれば枠に限らない。例えば領域内を画像が見られるように透明に着色された色領域を表示させてもよい。
【0103】
(変形例2)第一の実施形態において、プレビュー画像Pを表示させたが、拡大中心位置を指定した後、実際に印刷される拡大画像を表示させることができる。拡大画像が表示されることにより、事前に印刷画像を確認でき、また、そのことにより印刷ミスを防止することができる。
【0104】
(変形例3)第一の実施形態において、プレビュー画面上に、印刷領域を示す枠が表示されるが、この枠は表示されなくともよい。
(変形例4)第一の実施形態において、プレビュー画面上に表示されるカーソルで、拡大の中心位置を指定しているが、表示装置上にタッチパネル等の入力手段を設けて、直接指定できるようにしてもよい。
【0105】
(変形例5)第一の実施形態では、拡大中心の指定を行うカーソルを方向ボタンで移動させていたが、方向ボタンの替わりにジョイスティックなどの方向レバーで移動させてもよい。
【0106】
(変形例6)前記実施形態では、印刷領域を特定するための拡大率や用紙サイズは設定画面で変更可能であるが、その一方あるいは両方は、変更不可能な規定値であってもよい。
【0107】
(変形例7)拡大画像の領域を決めるパラメータである、拡大中心位置、用紙サイズ、拡大率を操作部8を操作して入力する構成としたが、拡大中心位置以外の情報、すなわち、指定された拡大率、用紙サイズ、余白係数、用紙の向き原稿サイズなどの印刷パラメータは、予めROMに記憶された固定値でもよい。この場合、入力数を減らすことにより、元画像の所望領域を指定する際の入力の手間を減らすことができる。もちろん、紙サイズと倍率のうちいずれか一方のみを固定の値としてもよい。例えば紙サイズを「A4」に固定するか、倍率を「150倍」に固定する。
【0108】
(変形例8)用紙サイズは、スキャニング時に原稿サイズ検出センサが検出した原稿サイズを使用することもできる。また、用紙の頭出し位置を検出する紙検出センサにより検出された用紙サイズを使用することもできる。この場合、前回の頭出し位置検出において検出された用紙サイズを流用するか、新規にセットされた用紙を例えばプレスキャン時に頭出し動作させて現在の用紙サイズを検出させてもよい。また、デジタルカメラで撮影された画像データをメモリカードから読み込んで印刷する場合は、デジタルカメラで設定された印刷属性情報から用紙サイズを取得し使用することもできる。
【0109】
(変形例9)前記第二および第三の実施形態では、プレビュー画像Pまたは原稿載置面2bの外周部に、拡大中心位置の座標を特定するための符号として番号(数字)を採用したが、数字以外のアルファベットなどの文字や記号でもよい。
【0110】
(変形例10)前記第二の実施形態では、プレビュー画面M3に目盛線51a,51bを表示したが、この目盛線は表示されなくてもよい。目盛線がなくとも概略の位置は指定可能である。
【0111】
(変形例11)第三の実施形態の構成は、複合機1に限定されず、原稿台を有するスキャナに適用してもよい。
(変形例12)第三の実施形態において、特許文献1に記載された透明ファイルを使用し、原稿Gを透明ファイルに挟み込んで、拡大したい領域の中心点を把握し、その把握した中心点の座標を方向ボタン9を操作して入力欄53a,53bに入力する構成を採用することができる。この場合、用紙サイズや拡大率などコピー条件(印刷パラメータ)以外は、拡大させたい領域Rを指定するための入力は拡大中心位置のみの1点指定で済む。
【0112】
(変形例13)前記第四の実施形態において、プレビュー画面M2に替え、第二の実施形態おけるプレビュー画面M3を第2表示装置72に表示させる構成を採用することができる。
【0113】
(変形例14)前記実施形態では、プリンタおよび複合機に適用したが、複写機にも当然適用可能である。さらにスキャナであってもよい。この場合、スキャナは読取った画像の一部を拡大して保存または出力する。
【0114】
以下、前記各実施形態及び変形例から把握される技術的思想を以下に記載する。
(1)原画像の変倍中心位置を指定する中心位置指定手段と、前記変倍中心位置と変倍率とサイズ情報とに基づいて、前記原画像が前記変倍中心位置を中心として前記変倍率で前記サイズ情報から定まるサイズ内で変倍された変倍画像の当該原画像における変倍前の領域を特定する画像領域特定手段とを備えたことを特徴とする画像処理装置。
【0115】
(2)請求項1において、前記画像領域特定手段により特定される前記領域は、印刷領域である。
(3)請求項1において、前記サイズ情報は前記変倍画像が印刷される印刷媒体の印刷媒体サイズであって、該印刷媒体サイズを検出する検出手段を備え、
前記画像領域特定手段は、前記検出手段が印刷媒体を検出して得た印刷媒体サイズを基に前記サイズを求める。
【0116】
(4)請求項4において、前記符号列は前記画面の周縁の少なくとも2辺に沿って表示される。
(5)請求項2において、前記画像取得手段は、原稿をスキャニングして前記画像データを取得する画像読取手段である。
【0117】
(6)請求項2において、前記画像取得手段は、記憶媒体から前記画像データを取得するデータ読取手段である。
(7)上記技術的思想(6)において、前記サイズ情報は、前記データ読取手段が前記記憶媒体から前記画像データと共に読み出した印刷属性情報から取得した印刷媒体サイズである。
【0118】
(8)請求項2において、前記出力手段は、前記変倍手段により変倍処理された前記画像データに基づき変倍画像を印刷する印刷手段である。
(9)請求項6において、前記原稿台は、原稿をスキャニングして原画像の画像データを読み取る画像読取手段に備えられスキャニングされる原稿が載置される原稿台である。画像読取手段はスキャナにより構成される。
【0119】
(10)請求項1〜6のいずれか一項において、前記サイズ情報を記憶する記憶手段を備え、前記画像領域特定手段が前記領域を特定する際に用いる前記サイズ情報は、前記記憶手段から読み出されることを特徴とする。
【0120】
(11)請求項1〜6のいずれか一項において、前記変倍率を記憶する記憶手段を備え、前記画像領域特定手段が前記領域を特定する際に用いる前記変倍率は、前記記憶手段から読み出されることを特徴とする。
【0121】
(12)原画像を変倍する際の変倍中心位置を指定する中心位置指定手段と、変倍率と前記原画像における変倍される領域のサイズを特定するサイズ情報とを含む印刷パラメータを記憶する記憶手段と、前記変倍中心位置と前記変倍率と前記サイズ情報に基づいて、前記原画像における変倍される領域を特定する画像領域特定手段とを備えたことを特徴とする画像処理装置。
【0122】
(13)原画像の画像データを取得する画像取得手順と、前記原画像の画像データから前記画像領域特定手順により特定された前記領域を切り出す切出手順と、前記切出手順により切り出された画像データに前記変倍率の変倍処理を施す変倍手順と、前記変倍手順により変倍処理された前記画像データに基づく画像を出力する出力手順とを備えた画像処理方法。
【0123】
(14)前記中心位置指定手順は、前記変倍中心位置を指示するための指示体を前記原画像と共に表示手段の画面に表示する表示手順と、前記操作手段の操作で指示された方向に前記指示体を移動させる表示制御手順と、前記指示体によって指示された前記変倍中心位置を前記操作手段の操作により取得する手順とを備えた画像処理方法。
【図面の簡単な説明】
【図1】第一の実施形態における複合機の斜視図。
【図2】複合機のコントロールパネルの主要部を示す平面図。
【図3】複合機の電気的構成を示すブロック図。
【図4】拡大中心位置指定から印刷までの処理内容を示すフローチャート。
【図5】印刷領域を特定し拡大するまでの処理を示す説明図。
【図6】拡大コピーの流れを示す説明図。
【図7】第二の実施形態における拡大中心位置指定方法の説明図。
【図8】第三の実施形態における拡大中心位置指定方法の説明図。
【図9】第四の実施形態におけるプリンタの電気的構成を示すブロック図。
【図10】プリンタの斜視図。
【図11】従来技術における拡大コピー処理の説明図。
【符号の説明】
1…画像処理装置及び印刷装置としての複合機(SPC装置)、2…画像取得手段、画像読取手段としてのスキャナ部、2a…原稿台、2b…原稿載置面、3…印刷媒体としての用紙、6…コピーボタン、7…表示手段を構成する表示装置、7a…画面、8…操作手段、中心位置指定手段、変倍率指定手段、サイズ指定手段としての操作部、9…操作手段、中心位置指定手段、変倍率指定手段、サイズ指定手段を構成する方向ボタン、10…操作手段、中心位置指定手段、変倍率指定手段、サイズ指定手段を構成する決定ボタン、21,73…画像領域特定手段、表示制御手段、領域表示手段、演算手段を構成するCPU、23,75…画像領域特定手段、表示制御手段、領域表示手段を構成するROM、24,76…記憶手段としてのRAM、25,78…ASIC、26…画像取得手段及び画像読取手段を構成するスキャナ画像処理部、27…画像処理部、28…出力手段及び印刷手段を構成する印刷処理部、28a…出力手段及び印刷手段を構成するヘッド制御部、30…メモリ、31…画像取得手段及び画像読取手段を構成するCCD、34…出力手段を構成する記録ヘッド、36,81…表示手段を構成する表示制御部、41…切出手段としての切り出し処理部、42…変倍手段としての拡大処理部、51a,51b…目盛線、52a,52b…符号群としての符号列(符号)、53a,53b…入力欄、55a,55b…目盛線、56a,56b…符号群としての符号列(符号)、61…画像処理装置及び印刷装置としてのプリンタ、62…画像取得手段としての読取装置、63…記憶媒体としてのメモリカード、70…表示手段を構成する第1表示装置、70a…画面、72…表示手段を構成する第2表示装置、72a…画面、P…プレビュー画像、Ps…印刷画像、G…原稿、C…指示体としてのカーソル、R…領域、M1…コピーメニュー、M2,M3…プレビュー画面、M4…拡大印刷メニュー。[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image processing apparatus, an image processing method, and a program for scaling an image obtained by causing a scanner to read an original so as to fit in a specified area.
[0002]
[Prior art]
Conventionally, when an enlarged copy of an original is made with a copier or a multifunction machine, the enlargement center point that serves as an enlargement reference is fixed at the apex of one corner (for example, the upper right corner) of the original reading surface (glass surface). It was.
[0003]
FIG. 11 is an explanatory diagram showing the operation when performing an enlarged copy with a conventional multifunction machine. Consider a case where the top right corner vertex of the document reading surface of the multifunction machine is fixed to the enlargement reference point for enlargement copying. In this case, when the original G as shown in FIG. 5A is enlarged and copied, the corner (vertex) of the original G is placed in accordance with the enlargement reference point O of the original reading surface and copied. As shown in b), since the upper left vertex Q of the read image P is an enlargement reference point, the enlarged image MD in which the upper left area A is enlarged is printed.
[0004]
[0005]
[Patent Document 1]
JP 7-264396 A (3rd, 4th page, 2nd, 28th figures)
[0006]
[Problems to be solved by the invention]
However, in the conventional enlarged copy method shown in FIG. 11, if the corner of the original G is copied in accordance with the enlarged reference point O on the original reading surface, the original center as in the enlarged image PD shown in FIG. The person who wants to draw is shifted from the center of the enlarged image MD. When the area of the original G to be enlarged is not a corner, the original G is placed on the original reading surface so that the center point of the area to be enlarged (for example, the center of the person's face) coincides with the enlargement reference point O of the original reading surface. It was necessary to shift and mount. At this time, since the original cover becomes an obstacle, it is necessary to bend the original G or remove the original cover, which is very inconvenient.
[0007]
In the image processing apparatus disclosed in
[0008]
The present invention has been made in view of such circumstances, and an object of the present invention is to provide an image processing apparatus, an image processing method, and a program that can easily specify a desired area of a document to be scaled. is there.
[0009]
[Means for Solving the Problems]
In order to solve the above-described problem, the present invention provides a center position designating unit that designates a scaling center position when scaling an original image, and the original image is scaled based on the scaling center position. Image area specifying means for specifying the area before scaling in the original image of the scaled image that will fit within the specified size when scaled at the specified scaling ratio around the center position The gist. The “designated scaling factor” and “designated size” can be designated by the user, or at least one of the two may be a fixed value set in advance.
[0010]
According to the present invention, by designating the scaling center position when scaling the original image, the original image fits in the specified size when scaled at the specified scaling ratio around the scaling center position. An area before scaling in the original image of the scaled image to be different can be specified. For example, the identified area can be output by display or printing. If the identified area is displayed, the area to be scaled around the designated desired position can be confirmed in advance. In addition, if the specified area is cut out from the original image and subjected to the scaling process on the image data, the scaled image with the designated desired position at the center can be printed. That is, the user simply specifies a desired position (magnification center position), and the area to be scaled is determined so that the designated position is at the center. Therefore, only one point (coordinate) has to be specified (input) by the user in order to specify the area to be scaled. That is, it is not necessary to specify the coordinates of a plurality of points in order to specify the region. Therefore, since it is sufficient to specify the coordinates of one point in order to specify the area, the desired area can be specified with a simple operation.
[0011]
In the present invention, the image acquisition means for acquiring the image data of the original image, the cutout means for cutting out the area specified by the image area specifying means from the image data of the original image, and the cutout means The gist of the present invention is to include a scaling unit that performs a scaling process on the image data with the scaling factor, and an output unit that outputs an image based on the image data subjected to the scaling process by the scaling unit.
[0012]
According to the present invention, the area specified by the image area specifying unit is cut out from the image data of the original image acquired by the image acquiring unit, and the cut-out image data is subjected to a scaling process at a scaling factor. An image based on the image data after the scaling process is output. Therefore, since it is sufficient to specify the coordinates of one point in order to specify the area to be scaled, an image of a desired area in the original image can be output with a simple operation. Examples of output means include display means and printing means.
[0013]
In the present invention, the center position designating means includes a display means for displaying an indicator for indicating the magnification center position on the screen together with the original image, and the magnification center position by moving the indicator. And a display control means for moving the indicator in the direction instructed by the operation of the operation means. According to the present invention, when designating the zooming center position, an indicator (for example, a cursor or a pointer) is placed in a desired direction designated by the operation of the operation means on the original image displayed on the screen of the display means. It is possible to specify the magnification center position by moving. Therefore, it is easy to visually specify a desired position, and a detailed position can be specified if, for example, the movement pitch of the indicator is set relatively finely (for example, in units of pixels).
[0014]
According to the present invention, a frame image that allows the region to be viewed is displayed on the original image displayed on the display unit, and the frame image is moved following the movement of the indicator by the operation of the operation unit. The gist of the present invention is that it includes an area display means.
[0015]
According to the present invention, since the frame image displayed on the original image moves following the movement of the indicator, when the desired position (magnification center position) is designated, the area actually designated is designated. Can be confirmed.
[0016]
Also, in the present invention, the center position specifying means includes a display means for displaying a code group that can specify the coordinates of a desired position on the screen together with the original image, and the coordinates of the magnification center position are a combination of the codes. And an operation means for inputting in the above.
[0017]
According to the present invention, it is possible to designate the coordinates of the desired zooming center position by inputting the combination of codes displayed on the screen of the display means. For this reason, it is possible to designate a desired position (magnification center position) without adopting display control for moving the indicator following the operation.
[0018]
Also, in the present invention, the center position designating means calculates the coordinates of a desired position on the document placement surface along at least two sides of the document placement surface on which the document that is the original of the original image is placed. The gist of the invention is that it includes a document table provided with a code group that can be specified, and operation means for inputting the coordinates of the magnification center position by a combination of the codes.
[0019]
According to the present invention, the coordinates of the desired zooming center position can be designated by inputting a combination of codes attached along at least two sides of the document placement surface of the document table. In both cases, the zoom center position can be specified.
[0020]
The gist of the present invention includes a scaling factor designating unit for designating the scaling factor, and the image region specifying unit uses the scaling factor specified by the scaling factor specifying unit when specifying the region. To do.
[0021]
According to the present invention, the image area specifying means specifies an area according to a scaling factor designated by the user. In the configuration in which the designated area can be confirmed in advance, the user can change the scaling factor so that a desired area is specified.
[0022]
Further, the gist of the present invention is that a size specifying means for specifying a print medium size is provided, and the specified size used when the image area specifying means specifies the area is determined from the print medium size.
[0023]
According to this invention, the image area specifying means specifies the area so that the scaled image fits in the designated size determined from the print medium size designated by the user. In the configuration in which the designated area can be confirmed in advance, the user can change the print medium size so that the desired area is specified.
[0024]
Further, the present invention provides an arithmetic means for calculating a plurality of coordinates capable of specifying the area using the specified scaling factor and the specified size based on the scaling center position. The cutting-out means cuts out the area specified by the plurality of coordinates from the image data of the original image, stores the cut-out image data in a memory, and the scaling means reads out from the memory The gist of the present invention is to apply a scaling process to the image data in the region at the scaling ratio.
[0025]
According to the present invention, the calculation means calculates a plurality of coordinates that can specify the region to be scaled in the original image using the designated scaling factor and the designated size based on the scaling center position. The zooming center position designated by the user can be specified by coordinates of one point, and a plurality of points (coordinates) necessary for specifying the region are calculated by the calculation means. In addition, since only the necessary portion of the image data in the area is cut out and stored in the memory, the data capacity can be reduced, and thereafter the processing speed is increased including the scaling process that is read out from the memory.
[0026]
The present invention also provides a center position designating unit for designating a scaling center position for scaling an original image, a scaling factor designating unit for designating a scaling factor, a size designating unit for designating size information, Based on the magnification center position, the scaling factor, and the size information, when the original image is scaled at the scaling factor specified with the scaling center position as the center, the original image fits in the specified size determined from the size information. A calculation unit that calculates a plurality of coordinates that can specify a region before scaling in the original image of the scaled image to be, an image acquisition unit that acquires image data of the original image, and the image data of the original image Based on cutting means for cutting out an area specified by a plurality of coordinates, scaling means for applying a scaling process to the image data cut out by the cutting means at the scaling ratio, and image data after the scaling process Scaling image And summarized in that and a printing means for printing on the printing medium.
[0027]
According to the present invention, the calculation means calculates a plurality of coordinates that can specify an area to be scaled in the original image according to the designated scaling center position, scaling ratio, and size information. The zooming center position designated by the user can be specified by coordinates of one point, and a plurality of points (coordinates) necessary for specifying the region are calculated by the calculation means. The region specified by the plurality of coordinates is cut out from the image data of the original image, further subjected to scaling processing, and the scaled image is printed on a print medium.
[0028]
The present invention is an image processing method, comprising: a center position designation procedure for designating a scaling center position when scaling an original image; and the original image indicates the scaling center position based on the scaling center position. The gist of the present invention is to provide an image area specifying procedure for specifying an area before scaling in the original image of a scaled image that will fit within a specified size when scaled at a specified scaling ratio. . According to the present invention, the same effect as that of the first aspect of the invention can be obtained.
[0029]
The present invention is a program, in which a computer inputs a scaling center position, a scaling ratio, and size information of an original image designated by an operation of an operating unit, and a computer includes the scaling center position and the scaling center. Based on the magnification and size information, when the original image is scaled with a designated scaling factor centered on the scaling center position, the scaled image of the scaled image that will fit within the specified size determined from the size information A procedure for calculating a plurality of coordinates that can specify an area before scaling in an original image, and a computer reads out image data of the original image from a memory, cuts out an area specified by the plurality of coordinates, and images of the area A summary comprising: a procedure for storing data in a memory; and a computer that performs a scaling process on the image data in the area read from the memory at the scaling ratio. To. According to the present invention, the same effect as that attained by the 10th aspect can be attained.
[0030]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, a first embodiment of the present invention will be described with reference to FIGS.
[0031]
A
[0032]
FIG. 2 is a plan view showing the main part of the
The
[0033]
The
[0034]
A setting screen for setting the copy function is displayed on the
[0035]
On the
[0036]
FIG. 3 is a block diagram showing an electrical configuration of the multifunction machine.
The
[0037]
The
[0038]
When the
[0039]
A
[0040]
In the copy mode, the
[0041]
A
[0042]
The
[0043]
The
[0044]
The
[0045]
The
[0046]
Next, screen display when copying is described.
The copy menu M1 in FIG. 2A is for setting various copy conditions when an original is enlarged and copied. In the copy menu M1, “enlargement center designation”, “enlargement ratio”, “paper size”, and the like are prepared as items that can be input. When “specify enlargement center” is selected in the copy menu M1, the
[0047]
Further, when the
[0048]
Further, when the
[0049]
When the
[0050]
As shown in FIG. 2B, a pre-scanned image P is displayed in the display area T on the preview screen M2. The cursor C is initially displayed at the center of the image P (that is, the display area T) (see also FIG. 5). The
[0051]
This embodiment is characterized by a method for designating an area to be enlarged in an original image. When the center point of the area to be enlarged and copied on the image P is designated, the area R that can be accommodated in the print area determined from the paper size and the margin information when enlarged at the designated enlargement ratio is specified. If the area R is determined, an enlarged copy of the desired area R can be obtained by cutting out the area from the image data read by the
[0052]
In the following, the contents of processing from the specification of copy conditions to the specification of an area to be enlarged to the printing will be described with reference to FIG.
First, the user places the original G on the original placement surface (glass) of the
[0053]
In
[0054]
In S20, the preview image P is displayed. The
[0055]
In S30, it is determined whether or not the
In S40, it is determined whether or not the
[0056]
In S50, the cursor and the frame K are moved by a predetermined amount (for example, one dot or several dots of the preview image) in the direction designated by the operation of the
[0057]
In S60, the position of the cursor, that is, the enlargement center position is determined and stored as coordinate data. The
[0058]
In S <b> 70, the already specified paper size and enlargement ratio are read from the
In S80, coordinates for specifying a region R to be cut out as a print region from the original image (original image) are calculated. In the present embodiment, the cutout region R employs a rectangle having the same aspect ratio (aspect ratio) as the paper shape determined from the designated paper size. Therefore, in order to specify the rectangular region R, it is necessary to specify the coordinates of two diagonal points at least. The
[0059]
In S90, the
[0060]
In S100, an image clipping process is performed. This cutout process is performed by the
[0061]
In S110, an enlargement process is performed on the cut out image data. The
[0062]
In S120, print processing is performed. Note that the printing processing here includes rasterization processing, color conversion processing, and binarization processing performed by the
[0063]
FIG. 5 is an explanatory diagram showing a calculation flow for specifying a region.
(A) is a preview image (display image) P, (b) is a read actual image (calculated), (c) is an actual read image, and (d) is an enlarged image. Each is shown. The scenes that require the coordinates that characterize the region R are when calculating the display region of the frame K when displaying the preview image and when performing the cut-out process of cutting out the region R from the read image in the main scan. The former calculates the coordinates of the display system, while the latter calculates the coordinates of the real image system, but the conversion is simply reversed.
[0064]
First, a coordinate calculation method for specifying the display area of the display system area R (frame K) will be described. A description will be given with reference to the display image of FIG. 5A and the actual image of FIG. The size of the frame K is calculated by the
Bo = 100 · α · H / F (1)
Since the area size Bo obtained by the above equation (1) is for the real image display system, the ratio β (= m / M) between the display image size (preview image size) m of the display system and the real image size M of the real image system. The size Bk of the frame K, which is the region size of the display system, is given by Bk = β · Bo. Therefore, the size Bk of the frame K is expressed by the following expression from this relational expression and the relation of the above expression (1).
Bk = 100 · β · α · H / F (2)
The
[0065]
The length of one side of the display image (preview image) P (that is, the display area T) in the horizontal and vertical directions is Px and Py, respectively, and the length of one side in the horizontal and vertical directions of the actual image Pr is Lx and Ly, respectively. Then, using the relational expression (2), the lengths lx and ly of each side of the region R in the horizontal direction and the vertical direction are expressed by the following expressions.
lx = 100 · Px · αx / F · Hx / Lx (3)
ly = 100 · Py · αy / F · Hy / Ly (4)
Here, Hx and Hy are the lengths of one side in the horizontal and vertical directions of the paper size, αx and αy are margin coefficients in the horizontal and vertical directions, and F is the enlargement ratio (%).
[0066]
The abscissa and ordinate of the position of the cursor C are X and Y (that is, coordinates (X, Y)), respectively, and the origins of the coordinates of the display image (preview image) P and the read actual image Pr are both vertices at the upper left corner. , The coordinates (X1, Y1) and (X2, Y2) of two points facing the diagonal of the region R (that is, the frame K) are obtained by the following equation.
X1 = X-lx / 2, Y1 = Y-ly / 2 (5)
X2 = X + lx / 2, Y2 = Y + ly / 2 (6)
Here, the coordinate values of the two points obtained by the above equations (5) and (6) are those of the upper left and lower right of the region R. Also, the above formulas (5) and (6) are for when the paper is in portrait orientation, and when the paper is in landscape orientation, the following formula is used.
X1 = X-ly / 2, Y1 = Y-lx / 2 (7)
X2 = X + ly / 2, Y2 = Y + lx / 2 (8)
When the position (X, Y) of the cursor C at the center of the frame K is determined, the
[0067]
Next, a calculation flow from when the user designates the enlargement center position (X, Y) with the cursor C and presses the
[0068]
In FIG. 6A, a cursor C for designating an enlargement center and a frame K indicating an area R to be enlarged are displayed on the preview image P, and the user moves the cursor C to a point where the center of the enlarged image MP is desired. And press the
[0069]
In FIG. 5B, coordinates for specifying the region R in the actual image Pr are calculated. The
Rx = 100 · Hx · Lx · αx / F (9)
Ry = 100 · Hy · Lx · αx / F (10)
Here, Hx and Hy are the lengths of one side in the horizontal and vertical directions of the paper size, Lx and Ly are the lengths of one side in the horizontal and vertical directions of the actual image Pr (original G), and αx and αy are The margin coefficients in the horizontal direction and the vertical direction, respectively, F indicates the enlargement ratio (%).
[0070]
The coordinates (x1, y1) (x2, y2) of two points facing the diagonal of the region R in the actual image Pr are obtained by the following formula.
x1 = x−Rx / 2, y1 = y−Ry / 2 (11)
x2 = x + Rx / 2, y2 = y + Ry / 2 (12)
Here, the coordinate values of the two points obtained by the above equations (11) and (12) are those of the upper left and lower right of the region R. Also, the above formulas (11) and (12) are for when the paper is in portrait orientation, and when the paper is in landscape orientation, the following formula is used.
x1 = x−Ry / 2, y1 = y−Rx / 2 (13)
x2 = x + Ry / 2, y2 = y + Rx / 2 (14)
When the coordinates (x, y) of the central pixel are determined, the
[0071]
In FIG. 5C, processing for cutting out the region R from the image data read in the main scan is performed. This cutout process is performed by the
[0072]
In FIG. 4D, the
[0073]
According to the flow described in FIG. 4 and FIG. 5, it is possible to move the cursor continuously in any direction up, down, left, or right while viewing the preview screen, so a desired position is designated as the enlargement center position. Will be able to. Further, the area R for enlargement printing can be determined from the enlargement center position, the designated enlargement ratio, paper size, margin information (layout information), and paper orientation. Since the frame K indicating the region R is displayed on the preview image P, the print region can be confirmed before printing.
[0074]
FIG. 6 is an explanatory diagram illustrating a procedure when copying is performed by the multifunction peripheral according to the present embodiment. First, the cover of the
[0075]
As described above in detail, according to the present embodiment, the following effects can be obtained.
(1) If only one point at the enlargement center position is designated, the
[0076]
(2) Since the cursor C is simply moved to the position where the enlargement center point is desired and the
[0077]
(3) Since the frame K indicating the area R to be enlarged is displayed on the preview image P, the area R specified by specifying one point of the cursor C can be confirmed. Therefore, since it is easy to determine whether the enlargement center position and enlargement ratio are appropriate, mistakes such as print leakage can be reduced when making an enlarged copy.
[0078]
(4) Since any point on the image P can be designated, for example, if any of the four corners of the image P is designated as the enlargement center position, an enlarged image having the vertex of the image P as the enlargement center can be printed. . In this case, for example, a printed image with a large margin is obtained on the
[0079]
(5) Since an area R for enlargement printing can be designated by designating an arbitrary point on the image P, enlargement copying can be performed while the original G is set on the
[0080]
(Second embodiment)
Below, 2nd embodiment which actualized this invention is described based on FIG. The MFP of this embodiment is different from the first embodiment in the method of specifying the enlargement center position. Since the other configuration is common to the first embodiment, the description thereof is omitted here.
[0081]
After the document G is pre-scanned, a preview screen M3 shown in the figure is displayed on the
[0082]
The preview screen M3 displays
[0083]
In the
[0084]
As described above, according to the present embodiment, the following effects can be obtained.
(6) Since the scale lines 51a and 51b and the code strings 52a and 52b are displayed so that a desired point on the preview image P can be specified by coordinates, a desired enlargement center position is input by a combination of abscissa and ordinate. can do. For example, the enlargement center position can be designated even in the
[0085]
(Third embodiment)
Below, 3rd embodiment which actualized this invention is described based on FIG.
The multifunction peripheral of this embodiment is also different from the above embodiments in the method of specifying the enlargement center position. Since the other configuration is common to the first embodiment, the description thereof is omitted here.
[0086]
On the document table 2a of the
[0087]
If the MFP of the present embodiment configured as described above is used, an enlarged copy in which a desired portion is the center of an image can be made by the following procedure. First, the copy menu M1 is displayed on the
[0088]
As described above, according to the present embodiment, the following effects can be obtained.
(7) Since the scales 51a and 51b and the code strings 52a and 52b are attached to the document table 2a, the coordinates of the point to be enlarged on the document G placed on the
[0089]
(Fourth embodiment)
Below, 4th embodiment which actualized this invention is described based on FIG. 9, FIG.
[0090]
FIG. 10 is a perspective view of the ink jet printer. A
[0091]
A
[0092]
FIG. 9 is an electrical configuration diagram of the
[0093]
The
[0094]
The
[0095]
Further, the
[0096]
The
[0097]
Further, the
[0098]
The
[0099]
If the
[0100]
As described above, according to the present embodiment, the enlarged copy replaces the enlarged print, but the effects (1) to (4) in the first embodiment can be obtained in the same manner, and the following effects can be obtained. it can.
[0101]
(8) The preview image P of the image read from the
[0102]
In addition, embodiment is not limited to the above, You may make it the following aspects.
(Modification 1) Although a frame is displayed to notify the area, the frame is not limited to the frame as long as the area can be visually recognized. For example, a color region that is transparently colored so that an image can be seen in the region may be displayed.
[0103]
(Modification 2) In the first embodiment, the preview image P is displayed. However, after the enlargement center position is designated, the enlarged image to be actually printed can be displayed. By displaying the enlarged image, it is possible to confirm the print image in advance, thereby preventing a printing error.
[0104]
(Modification 3) In the first embodiment, a frame indicating the print area is displayed on the preview screen, but this frame may not be displayed.
(Modification 4) In the first embodiment, the center position of the enlargement is designated by the cursor displayed on the preview screen. However, the input means such as a touch panel is provided on the display device so that it can be designated directly. It may be.
[0105]
(Modification 5) In the first embodiment, the cursor for designating the enlargement center is moved by the direction button, but it may be moved by a direction lever such as a joystick instead of the direction button.
[0106]
(Modification 6) In the above embodiment, the enlargement ratio and the paper size for specifying the print area can be changed on the setting screen, but one or both of them may be a specified value that cannot be changed.
[0107]
(Modification 7) Although the configuration is such that the enlargement center position, paper size, and enlargement ratio, which are parameters for determining the enlargement image area, are input by operating the
[0108]
(Modification 8) As the paper size, the document size detected by the document size detection sensor during scanning can be used. In addition, the paper size detected by the paper detection sensor that detects the cueing position of the paper can be used. In this case, the current paper size may be detected by diverting the paper size detected in the previous cueing position detection or by cuing a newly set paper during, for example, pre-scanning. In addition, when printing image data captured by a digital camera from a memory card, the paper size can be acquired from print attribute information set by the digital camera and used.
[0109]
(Modification 9) In the second and third embodiments, numbers (numeric characters) are used as codes for specifying the coordinates of the enlargement center position on the outer periphery of the preview image P or the
[0110]
(Modification 10) In the second embodiment, the scale lines 51a and 51b are displayed on the preview screen M3. However, the scale lines may not be displayed. An approximate position can be specified without a scale line.
[0111]
(Modification 11) The configuration of the third embodiment is not limited to the
(Modification 12) In the third embodiment, the transparent file described in
[0112]
(Modification 13) In the fourth embodiment, it is possible to adopt a configuration in which the preview screen M3 in the second embodiment is displayed on the
[0113]
(Modification 14) In the above-described embodiment, the present invention is applied to a printer and a multifunction machine. Furthermore, a scanner may be used. In this case, the scanner enlarges and stores or outputs a part of the read image.
[0114]
Hereinafter, the technical idea grasped from the respective embodiments and modifications will be described below.
(1) Based on the center position designating unit for designating the magnification center position of the original image, the magnification center position, the magnification ratio, and the size information, the original image is centered on the magnification center position. And an image area specifying means for specifying an area before scaling in the original image of the scaled image scaled within the size determined from the size information.
[0115]
(2) In
(3) In
The image area specifying unit obtains the size based on a print medium size obtained by the detection unit detecting the print medium.
[0116]
(4) In
(5) In
[0117]
(6) In
(7) In the technical idea (6), the size information is a print medium size acquired from the print attribute information read together with the image data from the storage medium by the data reading unit.
[0118]
(8) In
(9) In
[0119]
(10) The storage device according to any one of
[0120]
(11) The storage unit according to any one of
[0121]
(12) A print parameter including a center position designating unit for designating a scaling center position for scaling the original image, and scaling information for specifying a scaling factor and a size of a region to be scaled in the original image is stored. An image processing apparatus comprising: a storage unit configured to store; an image region specifying unit that specifies a region to be scaled in the original image based on the scaling center position, the scaling factor, and the size information; .
[0122]
(13) An image acquisition procedure for acquiring image data of an original image, a cutout procedure for cutting out the region specified by the image region specifying procedure from the image data of the original image, and an image cut out by the cutout procedure An image processing method comprising: a scaling procedure for performing a scaling process on the data, and an output procedure for outputting an image based on the image data subjected to the scaling process by the scaling procedure.
[0123]
(14) The center position designation procedure includes: a display procedure for displaying an indicator for designating the zooming center position on the screen of the display unit together with the original image; and the direction instructed by the operation of the operation unit. An image processing method comprising: a display control procedure for moving an indicator; and a procedure for acquiring the zoom center position indicated by the indicator by operating the operating means.
[Brief description of the drawings]
FIG. 1 is a perspective view of a multifunction machine according to a first embodiment.
FIG. 2 is a plan view showing a main part of a control panel of the multifunction machine.
FIG. 3 is a block diagram showing an electrical configuration of the multifunction machine.
FIG. 4 is a flowchart showing processing contents from enlargement center position designation to printing.
FIG. 5 is an explanatory diagram showing processing until a print area is specified and enlarged.
FIG. 6 is an explanatory diagram showing the flow of enlarged copy.
FIG. 7 is an explanatory diagram of an enlargement center position designation method according to the second embodiment.
FIG. 8 is an explanatory diagram of an enlargement center position designation method according to the third embodiment.
FIG. 9 is a block diagram illustrating an electrical configuration of a printer according to a fourth embodiment.
FIG. 10 is a perspective view of a printer.
FIG. 11 is an explanatory diagram of enlargement copy processing in the prior art.
[Explanation of symbols]
DESCRIPTION OF
Claims (12)
前記変倍中心位置に基づいて、前記原画像が前記変倍中心位置を中心として指定の変倍率で変倍されたときに指定のサイズに収まることになる変倍画像の当該原画像における変倍前の領域を特定する画像領域特定手段と
を備えたことを特徴とする画像処理装置。Center position designating means for designating the scaling center position when scaling the original image;
Based on the scaling center position, scaling of the scaled image in the original image that will fit within a specified size when the scale of the original image is scaled with a specified scaling ratio around the scaling center position An image processing apparatus comprising image area specifying means for specifying a previous area.
前記原画像の画像データから前記画像領域特定手段により特定された前記領域を切り出す切出手段と、
前記切出手段により切り出された画像データに前記変倍率で変倍処理を施す変倍手段と、
前記変倍手段により変倍処理された前記画像データに基づく画像を出力する出力手段と
を備えたことを特徴とする請求項1に記載の画像処理装置。Image acquisition means for acquiring image data of the original image;
Cutting means for cutting out the area specified by the image area specifying means from the image data of the original image;
A scaling unit that performs scaling processing at the scaling factor on the image data cut out by the cutting unit;
The image processing apparatus according to claim 1, further comprising: an output unit that outputs an image based on the image data subjected to the scaling process by the scaling unit.
前記指示体を移動させて前記変倍中心位置を指定する操作手段と
前記操作手段の操作で指示された方向に前記指示体を移動させる表示制御手段と
を備えたことを特徴とする請求項1又は請求項2に記載の画像処理装置。The center position specifying means includes a display means for displaying an indicator for indicating the magnification center position on the screen together with the original image;
2. The display device according to claim 1, further comprising: operating means for moving the indicator to designate the zooming center position; and display control means for moving the indicator in a direction indicated by an operation of the operating means. Alternatively, the image processing apparatus according to claim 2.
前記変倍中心位置の座標を前記符号の組合せで入力する操作手段と
を備えたことを特徴とする請求項1又は請求項2に記載の画像処理装置。The center position designation means includes a display means for displaying a code group that can specify the coordinates of a desired position on the screen together with the original image;
The image processing apparatus according to claim 1, further comprising an operation unit configured to input coordinates of the zooming center position by the combination of the codes.
前記変倍中心位置の座標を前記符号の組合せで入力する操作手段と
を備えたことを特徴とする請求項1又は請求項2に記載の画像処理装置。The center position designation means includes a code group that can specify the coordinates of a desired position on the document placement surface along at least two sides of the document placement surface on which the document that is the original of the original image is placed. An attached document table,
The image processing apparatus according to claim 1, further comprising an operation unit configured to input coordinates of the zooming center position by the combination of the codes.
前記画像領域特定手段は、前記領域を特定する際に前記変倍率指定手段により指定された変倍率を用いることを特徴とする請求項1乃至6のうちいずれか一項に記載の画像処理装置。A scaling factor specifying means for specifying the scaling factor;
The image processing apparatus according to claim 1, wherein the image area specifying unit uses a scaling factor specified by the scaling factor specifying unit when specifying the region.
前記画像領域特定手段が前記領域を特定する際に用いる前記指定のサイズは前記印刷媒体サイズから定まることを特徴とする請求項1乃至7のうちいずれか一項に記載の画像処理装置。A size specifying means for specifying the print medium size is provided.
The image processing apparatus according to claim 1, wherein the specified size used when the image area specifying unit specifies the area is determined from the print medium size.
前記切出手段は、前記原画像の画像データから、前記複数の座標により特定された領域を切り出してその切り出した画像データをメモリに記憶し、
前記変倍手段は、前記メモリから読み出した前記領域の画像データに前記変倍率にて変倍処理を施すことを特徴とする請求項2乃至8のいずれか一項に記載の画像処理装置。The image area specifying means includes a calculation means for calculating a plurality of coordinates that can specify the area using the specified scaling factor and the specified size information based on the scaling center position.
The cutout means cuts out the area specified by the plurality of coordinates from the image data of the original image, stores the cutout image data in a memory,
The image processing apparatus according to claim 2, wherein the scaling unit performs a scaling process on the image data of the area read from the memory at the scaling factor.
変倍率を指定する変倍率指定手段と、
印刷媒体サイズを指定するサイズ指定手段と、
前記変倍中心位置と前記変倍率と前記サイズ情報とに基づいて、前記原画像が前記変倍中心位置を中心として指定の変倍率で変倍されたときに前記サイズ情報から定まる指定のサイズに収まることになる変倍画像の当該原画像における変倍前の領域を特定しうる複数の座標を算出する演算手段と、
原画像の画像データを取得する画像取得手段と、
前記原画像の画像データから前記複数の座標により特定される領域を切り出す切出手段と、
前記切出手段により切り出された画像データに前記変倍率で変倍処理を施す変倍手段と、
前記変倍処理後の画像データに基づき変倍画像を印刷媒体に印刷する印刷手段と
を備えたことを特徴とする画像処理装置。Center position designating means for designating the scaling center position when scaling the original image;
A scaling factor specifying means for specifying a scaling factor;
A size specifying means for specifying a print medium size;
Based on the scaling center position, the scaling ratio, and the size information, when the original image is scaled at a specified scaling ratio around the scaling center position, the specified size is determined from the size information. A computing means for calculating a plurality of coordinates capable of specifying a region before scaling in the original image of the scaled image to be stored;
Image acquisition means for acquiring image data of the original image;
Cutting means for cutting out an area specified by the plurality of coordinates from the image data of the original image;
A scaling unit that performs scaling processing at the scaling factor on the image data cut out by the cutting unit;
An image processing apparatus comprising: a printing unit that prints a scaled image on a print medium based on the scaled image data.
前記変倍中心位置に基づいて、前記原画像が前記変倍中心位置を中心として指定の変倍率で変倍されたときに指定のサイズに収まることになる変倍画像の当該原画像における変倍前の領域を特定する画像領域特定手順と
を備えたことを特徴とする画像処理方法。A center position designation procedure for designating the magnification center position when scaling the original image,
Based on the scaling center position, scaling of the scaled image in the original image that will fit within a specified size when the scale of the original image is scaled with a specified scaling ratio around the scaling center position An image processing method comprising: an image region specifying procedure for specifying a previous region.
コンピュータが、前記変倍中心位置と前記変倍率とサイズ情報とに基づいて、前記原画像が前記変倍中心位置を中心として指定の変倍率で変倍されたときに前記サイズ情報から定まる指定のサイズに収まることになる変倍画像の当該原画像における変倍前の領域を特定しうる複数の座標を算出する手順と、
コンピュータが、原画像の画像データをメモリから読み出して前記複数の座標により特定される領域を切り出して該領域の画像データをメモリに記憶する手順と、
コンピュータが、前記メモリから読み出した前記領域の画像データに前記変倍率で変倍処理を施す手順と
を備えたことを特徴とするプログラム。A procedure for the computer to input the magnification center position, magnification and size information of the original image designated by the operation of the operation means;
Based on the scaling center position, the scaling ratio, and the size information, the computer designates the specified size that is determined from the size information when the original image is scaled with the specified scaling ratio about the scaling center position. A procedure for calculating a plurality of coordinates capable of specifying a region before scaling in the original image of the scaling image that will fit within the size;
A procedure in which a computer reads out image data of an original image from a memory, cuts out an area specified by the plurality of coordinates, and stores the image data of the area in the memory;
A computer program comprising: a step of performing a scaling process on the image data of the area read from the memory at the scaling ratio.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003163681A JP2005005768A (en) | 2003-06-09 | 2003-06-09 | Image processing apparatus, image processing method, and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003163681A JP2005005768A (en) | 2003-06-09 | 2003-06-09 | Image processing apparatus, image processing method, and program |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2005005768A true JP2005005768A (en) | 2005-01-06 |
Family
ID=34090721
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2003163681A Pending JP2005005768A (en) | 2003-06-09 | 2003-06-09 | Image processing apparatus, image processing method, and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2005005768A (en) |
Cited By (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007174479A (en) * | 2005-12-26 | 2007-07-05 | Fuji Xerox Co Ltd | Read control system |
| JP2008147850A (en) * | 2006-12-07 | 2008-06-26 | Canon Inc | Design editing method, design editing apparatus, and design editing program |
| JP2008294611A (en) * | 2007-05-23 | 2008-12-04 | Murata Mach Ltd | Image processing apparatus |
| JP2011087138A (en) * | 2009-10-15 | 2011-04-28 | Canon Inc | Printing device and control method thereof |
| JP2011191597A (en) * | 2010-03-16 | 2011-09-29 | Ricoh Co Ltd | Image reading apparatus and image forming apparatus |
| JP2011213119A (en) * | 2011-06-13 | 2011-10-27 | Brother Industries Ltd | Inkjet recording device |
| JP2011224998A (en) * | 2011-06-13 | 2011-11-10 | Brother Industries Ltd | Inkjet recording apparatus |
| WO2016018987A1 (en) * | 2014-07-29 | 2016-02-04 | Alibaba Group Holding Limited | Detecting specified image identifiers on objects |
| JP2017225009A (en) * | 2016-06-15 | 2017-12-21 | 京セラドキュメントソリューションズ株式会社 | Image forming apparatus, image forming method and image forming program |
| US9904446B2 (en) | 2014-11-25 | 2018-02-27 | International Business Machines Corporation | Enlarging or reducing an image on a display screen |
| JP2020198529A (en) * | 2019-05-31 | 2020-12-10 | 京セラドキュメントソリューションズ株式会社 | Information processing apparatus and image forming apparatus |
-
2003
- 2003-06-09 JP JP2003163681A patent/JP2005005768A/en active Pending
Cited By (18)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007174479A (en) * | 2005-12-26 | 2007-07-05 | Fuji Xerox Co Ltd | Read control system |
| JP2008147850A (en) * | 2006-12-07 | 2008-06-26 | Canon Inc | Design editing method, design editing apparatus, and design editing program |
| JP2008294611A (en) * | 2007-05-23 | 2008-12-04 | Murata Mach Ltd | Image processing apparatus |
| US8599399B2 (en) | 2009-10-15 | 2013-12-03 | Canon Kabushiki Kaisha | Image forming apparatus, control method thereof and computer-readable storage medium |
| JP2011087138A (en) * | 2009-10-15 | 2011-04-28 | Canon Inc | Printing device and control method thereof |
| US8891107B2 (en) | 2009-10-15 | 2014-11-18 | Canon Kabushiki Kaisha | Image forming apparatus, control method thereof and computer-readable storage medium |
| JP2011191597A (en) * | 2010-03-16 | 2011-09-29 | Ricoh Co Ltd | Image reading apparatus and image forming apparatus |
| JP2011224998A (en) * | 2011-06-13 | 2011-11-10 | Brother Industries Ltd | Inkjet recording apparatus |
| JP2011213119A (en) * | 2011-06-13 | 2011-10-27 | Brother Industries Ltd | Inkjet recording device |
| WO2016018987A1 (en) * | 2014-07-29 | 2016-02-04 | Alibaba Group Holding Limited | Detecting specified image identifiers on objects |
| US9799119B2 (en) | 2014-07-29 | 2017-10-24 | Alibaba Group Holding Limited | Detecting specified image identifiers on objects |
| US10360689B2 (en) | 2014-07-29 | 2019-07-23 | Alibaba Group Holding Limited | Detecting specified image identifiers on objects |
| US10885644B2 (en) | 2014-07-29 | 2021-01-05 | Banma Zhixing Network (Hongkong) Co., Limited | Detecting specified image identifiers on objects |
| US9904446B2 (en) | 2014-11-25 | 2018-02-27 | International Business Machines Corporation | Enlarging or reducing an image on a display screen |
| US9916084B2 (en) | 2014-11-25 | 2018-03-13 | International Business Machines Corporation | Enlarging or reducing an image on a display screen |
| JP2017225009A (en) * | 2016-06-15 | 2017-12-21 | 京セラドキュメントソリューションズ株式会社 | Image forming apparatus, image forming method and image forming program |
| JP2020198529A (en) * | 2019-05-31 | 2020-12-10 | 京セラドキュメントソリューションズ株式会社 | Information processing apparatus and image forming apparatus |
| JP7318319B2 (en) | 2019-05-31 | 2023-08-01 | 京セラドキュメントソリューションズ株式会社 | Information processing device and image forming device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8115968B2 (en) | Image processing apparatus, computer program product, and preview image displaying method | |
| US7010176B2 (en) | Imaging system for automatic resolution adjustment | |
| US8125683B2 (en) | Image preview processing apparatus, image preview processing method, and image preview computer product | |
| US8086961B2 (en) | Image processing apparatus, image forming apparatus, and computer program product | |
| US8693044B2 (en) | Dynamic print image preview based on user selected image data | |
| US8516363B2 (en) | Image processing apparatus, computer program product, and preview image displaying method | |
| JP7094733B2 (en) | Image processing device, program, image processing method | |
| US20040085331A1 (en) | Display control method and display control apparatus for layout image | |
| US8879114B2 (en) | Image forming apparatus performing combine printing | |
| JP2012123028A (en) | Image processor and image processing program | |
| US9223485B2 (en) | Image processing apparatus, image forming apparatus including same, and method for controlling image processing apparatus | |
| JP2005005768A (en) | Image processing apparatus, image processing method, and program | |
| JP2009033530A (en) | Image forming apparatus | |
| US11140276B2 (en) | Image processing apparatus, non-transitory storage medium, and image processing method | |
| JP7171235B2 (en) | Image processing device, program, image processing method | |
| JP7077135B2 (en) | Image processing device, program, image processing method | |
| JP2840307B2 (en) | Copier | |
| JP7250526B2 (en) | Image processing device, program, image processing method | |
| JP2019106007A (en) | Display device, display control method and program | |
| JP2003319144A (en) | Image forming apparatus | |
| JP2010028255A (en) | Image forming apparatus and print preview image display program | |
| JP3888195B2 (en) | Trimming setting device and printing device | |
| JP5033827B2 (en) | Image operation display apparatus and image forming apparatus | |
| CN100440128C (en) | Printing result display method, layout editing method and printing control device | |
| JP2006260398A (en) | Printing controller and its control method |