JPH10232949A - Processor and method for image processing - Google Patents
Processor and method for image processingInfo
- Publication number
- JPH10232949A JPH10232949A JP3508897A JP3508897A JPH10232949A JP H10232949 A JPH10232949 A JP H10232949A JP 3508897 A JP3508897 A JP 3508897A JP 3508897 A JP3508897 A JP 3508897A JP H10232949 A JPH10232949 A JP H10232949A
- Authority
- JP
- Japan
- Prior art keywords
- image
- area
- input
- resolution
- size
- 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.)
- Withdrawn
Links
Landscapes
- User Interface Of Digital Computer (AREA)
- Processing Or Creating Images (AREA)
- Image Processing (AREA)
- Digital Computer Display Output (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は画像処理装置および
その方法に関し、例えば、入力画像から切り出した画像
を所定サイズにして出力する画像処理装置およびその方
法に関するものである。[0001] 1. Field of the Invention [0002] The present invention relates to an image processing apparatus and method, and more particularly to an image processing apparatus and method for outputting an image cut out from an input image to a predetermined size.
【0002】[0002]
【従来の技術】所定の解像度を有する画像入力機器より
入力した原画像から一部の画像を切り出し、所定のサイ
ズで出力する処理において、画像の拡大、縮小処理は必
須である。画像の拡大、縮小処理を行う際は、処理後の
画像の画質を維持するために、切り出された画像のサイ
ズと出力サイズとの間の変倍率を考慮する必要がある。2. Description of the Related Art In a process of cutting out a part of an image from an original image input from an image input device having a predetermined resolution and outputting the image in a predetermined size, image enlargement and reduction processes are essential. When performing image enlargement / reduction processing, it is necessary to consider a scaling factor between the size of the clipped image and the output size in order to maintain the image quality of the processed image.
【0003】一般的な画像編集ソフトウェアにおいて
も、入力画像の一部の領域を選択し、変倍し、出力する
ことは可能であるが、どのような小さい領域も切り出し
可能であり、切り出し領域に限界はない。[0003] Even with general image editing software, it is possible to select a part of the input image, scale it, and output it, but any small area can be cut out, and There is no limit.
【0004】また、作業の冗長性を解消するために、は
じめ、編集画面上には入力機器により読込んだ画像の粗
画像を表示し、その編集画面で細かい領域を指定し、指
定された領域に対応する精細画像を表示して編集し、そ
の編集内容に基づき画像を出力する方法が、米国特許5,
185,662号に開示されている。In order to eliminate the redundancy of work, first, a rough image of an image read by an input device is displayed on an edit screen, a small area is designated on the edit screen, and the designated area is designated. A method of displaying and editing a high-definition image corresponding to and outputting an image based on the edited content is disclosed in US Pat.
No. 185,662.
【0005】[0005]
【発明が解決しようとする課題】しかし、上述した技術
においては、次のような問題点がある。つまり、編集画
面上で、変倍率に関わらず、自由に変倍処理を含む編集
作業ができるため、原画像の解像度を無視した拡大や縮
小が行われ、その結果、出力画像の画質が劣化するとい
う問題がある。However, the above technique has the following problems. That is, since the editing operation including the scaling process can be freely performed on the editing screen regardless of the scaling ratio, enlargement or reduction is performed ignoring the resolution of the original image, and as a result, the image quality of the output image is deteriorated. There is a problem.
【0006】また、米国特許5,185,662号は、精細画像
を編集する際の負荷を軽減するために、表示された粗画
像により編集領域を指定し、所望の精細画像を得て画像
編集を行う構成について開示しているが、常に決まった
解像度の画像を精細画像として表示するものであり、表
示する精細画像の解像度を選択することについては開示
していない。さらに、変倍率を考慮して画像を切り出す
構成も開示していない。従って、同特許も、出力画像の
画質を管理することを何ら示唆するものではない。Further, US Pat. No. 5,185,662 discloses a configuration in which an editing area is designated by a displayed coarse image, a desired fine image is obtained, and image editing is performed in order to reduce the load when editing a fine image. Although it discloses, it always displays an image of a fixed resolution as a fine image, and does not disclose selecting the resolution of the fine image to be displayed. Further, the document does not disclose a configuration for cutting out an image in consideration of a magnification. Therefore, this patent does not suggest that the quality of an output image be managed.
【0007】本発明は、上述の問題を解決するためのも
のであり、画像の解像度に応じた変倍処理により、画質
の高い出力画像が得られる画像処理装置およびその方法
を提供することを目的とする。SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problem, and an object of the present invention is to provide an image processing apparatus and an image processing method capable of obtaining a high-quality output image by scaling processing according to the resolution of the image. And
【0008】[0008]
【課題を解決するための手段】本発明は、前記の目的を
達成する一手段として、以下の構成を備える。The present invention has the following configuration as one means for achieving the above object.
【0009】本発明にかかる画像処理装置は、所定解像
度の画像を入力する入力手段と、前記入力手段により入
力された画像を表示する表示手段と、前記表示手段に表
示された画像の一部の領域を指定する指定手段と、前記
指定手段により指定された領域の画像を変倍して、所定
サイズの画像として出力する出力手段と、前記出力手段
が変倍を行う際の変倍比が所定値以上の場合、その旨を
警告する警告手段とを有することを特徴とする。[0009] An image processing apparatus according to the present invention comprises: input means for inputting an image having a predetermined resolution; display means for displaying the image input by the input means; and a part of the image displayed on the display means. Designating means for designating an area, output means for scaling the image of the area designated by the designating means and outputting it as an image of a predetermined size, and a scaling ratio when the output means performs scaling. When the value is equal to or more than the value, a warning means for warning that effect is provided.
【0010】また、所定解像度の画像を入力する入力手
段と、前記入力手段により入力された画像を表示する表
示手段と、前記表示手段に表示された画像の一部の領域
を指定する指定手段と、前記指定手段により指定された
領域の画像を変倍して、所定サイズの画像として出力す
る出力手段と、前記変倍手段が変倍を行う際の変倍率が
所定値以下になるように、前記指定手段により指定され
る領域のサイズを制限する制限手段とを有することを特
徴とする。[0010] Further, input means for inputting an image of a predetermined resolution, display means for displaying the image input by the input means, and designation means for designating a partial area of the image displayed on the display means An output unit that scales the image of the area designated by the designation unit and outputs the image as a predetermined size, and a scaling ratio when the scaling unit performs scaling is equal to or less than a predetermined value. Limiting means for limiting the size of the area specified by the specifying means.
【0011】本発明にかかる画像処理方法は、所定解像
度の画像を入力し、前記入力画像を表示し、前記表示画
像の一部の領域を指定し、前記指定領域の画像を変倍し
て、所定サイズの画像として出力し、前記変倍を行う際
の変倍比が所定値以上の場合、その旨を警告することを
特徴とする。In the image processing method according to the present invention, an image having a predetermined resolution is input, the input image is displayed, a partial area of the display image is specified, and the image of the specified area is scaled. An image of a predetermined size is output, and when the zoom ratio at the time of performing the zooming is equal to or more than a predetermined value, a warning to that effect is issued.
【0012】また、所定解像度の画像を入力し、前記入
力画像を表示し、前記表示画像の一部の領域を指定し、
前記指定領域の画像を変倍して、所定サイズの画像とし
て出力し、前記変倍を行う際の変倍率が所定値以下にな
るように、前記指定手段により指定される領域のサイズ
を制限することを特徴とする。An image having a predetermined resolution is input, the input image is displayed, and a partial area of the display image is specified.
The image of the specified area is scaled and output as an image of a predetermined size, and the size of the area specified by the specifying unit is limited so that the scaling factor when performing the scaling is equal to or smaller than a predetermined value. It is characterized by the following.
【0013】[0013]
【発明の実施の形態】以下、本発明にかかる一実施形態
の画像処理装置を図面を参照して詳細に説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an image processing apparatus according to an embodiment of the present invention will be described in detail with reference to the drawings.
【0014】[概要]まず、画像入力機器より入力した
画像の一部を切り出し領域に指定し、切り出した画像と
予め用意された画像とを合成して出力する場合に考慮す
べき画質管理の背景と、入出力の画像解像度との関係に
ついて簡単に説明する。ここでは説明を簡略にするため
に、切り出した画像を出力するサイズは、所定のサイズ
に予め決められているものとする。[Overview] First, a part of an image input from an image input device is designated as a cut-out area, and a background of image quality management to be considered when combining a cut-out image with a previously prepared image and outputting the combined image. And the relationship between input and output image resolution will be briefly described. Here, in order to simplify the description, it is assumed that the size at which the clipped image is output is predetermined to a predetermined size.
【0015】一般に、入出力の解像度と、縦または横の
サイズとの関係は、以下の式によって表される。 入力サイズ(inch)×入力解像度(dpi)×変倍率= 出力サ
イズ(inch)×出力解像度(dpi)In general, the relationship between the input / output resolution and the vertical or horizontal size is represented by the following equation. Input size (inch) x input resolution (dpi) x magnification = output size (inch) x output resolution (dpi)
【0016】入力画像のある一部を切り出して所定サイ
ズで出力する場合、入力画素数が出力画素数より少ない
場合に切り出し画像を拡大する必要がある。一般に、拡
大率が2を超えると、出力画像の劣化が目立ちはじめる
ことが知られている。従って、出力画像の画質を維持す
るためには、拡大率を2以下に制限しなければならな
い。When a certain portion of an input image is cut out and output with a predetermined size, the cut-out image needs to be enlarged when the number of input pixels is smaller than the number of output pixels. In general, it is known that when the enlargement ratio exceeds 2, deterioration of an output image starts to be noticeable. Therefore, in order to maintain the image quality of the output image, the magnification must be limited to 2 or less.
【0017】一方、画像入力機器による入力解像度を表
1に示す。画像入力機器によっては、複数の入力解像度
を選択することが可能である。この場合、切り出しサイ
ズや、出力用に拡大後のサイズに関わらず、常に、最高
解像度の画像データに基づいて出力を行うと、所定の画
質を保つ以上の冗長な画像データを使用することにな
り、拡大処理の負荷が大きくなり処理速度が低下する問
題がある。On the other hand, the input resolution of the image input device is displayed.
Shown in 1. Depending on the image input device, a plurality of input resolutions can be selected. In this case, irrespective of the cutout size or the size after enlargement for output, if the output is always performed based on the image data of the highest resolution, redundant image data that maintains the predetermined image quality will be used. However, there is a problem that the load of the enlargement processing increases and the processing speed decreases.
【0018】[0018]
【表1】 そこで、本発明においては、出力サイズに対する切り出
し画像の拡大率を2以下に制限することにより、出力画
像の画質を保つようにする。[Table 1] Therefore, in the present invention, the image quality of the output image is maintained by limiting the enlargement ratio of the cut image to the output size to 2 or less.
【0019】さらに、異なる画像解像度をもつ複数の入
力画像から画像を切り出し、所定の出力サイズで出力す
る場合、複数の解像度の内の一つの解像度に基づき表示
を行う。つまり、切り出し画像として指定された領域に
相当する画素数と、出力サイズに相当する出力画素数の
変倍比が、所定倍率以内でかつ所定倍率に一番近い解像
度を選択して表示を行う。Further, when an image is cut out from a plurality of input images having different image resolutions and output at a predetermined output size, display is performed based on one of the plurality of resolutions. In other words, the display is performed by selecting the resolution whose magnification ratio between the number of pixels corresponding to the area designated as the cut-out image and the number of output pixels corresponding to the output size is within the predetermined magnification and closest to the predetermined magnification.
【0020】本発明は、具体的には「画面上で入力画像
の粗画像を表示し、切り出し画像を指定し、その後、精
細画像を表示して編集する場合、画面上で指定された切
り出し画像に相当する出力サイズは、読込む精細画像の
解像度により変化する」という特徴を利用し、複数の入
力解像度が選択できる場合に、画面上で指定された領域
のサイズに応じて、拡大率2以下の条件を満たし、か
つ、拡大率が一番高い解像度を入力解像度に設定するこ
とにより、出力画像の画質を維持し、かつ、冗長な拡大
処理を回避しようとするものである。More specifically, the present invention provides a method for displaying a coarse image of an input image on a screen, specifying a cutout image, and then displaying and editing a fine image. The output size corresponding to varies depending on the resolution of the fine image to be read '', and when multiple input resolutions can be selected, the enlargement ratio is 2 or less according to the size of the area specified on the screen By setting the resolution having the highest magnification as the input resolution, the image quality of the output image is maintained and redundant enlargement processing is avoided.
【0021】入力媒体をフォトCDとした場合の本発明の
概要を説明する。なお、フォトCDには、図1Aに示すよう
に、三通りの読込み解像度があり、それぞれBase、4Bas
eおよび16Baseと呼ばれる。The outline of the present invention when the input medium is a photo CD will be described. As shown in FIG. 1A, the photo CD has three reading resolutions, Base and 4Bas, respectively.
Called e and 16Base.
【0022】図1Bおよび1Cは入力媒体をフォトCDとした
場合の入出力と画面表示との関係を示す図である。FIGS. 1B and 1C are diagrams showing the relationship between input / output and screen display when a photo CD is used as an input medium.
【0023】符号101はBaseに対する限界領域を示し、
この限界領域101以下は拡大率が2を超えてしまうので拡
大を行わない。同様に、符号102は4Baseに対する限界領
域を、符号103は16Baseに対する限界領域をそれぞれ示
す。また、符号104は予め決まっている出力サイズを示
す。Reference numeral 101 indicates a limit area for Base.
Since the enlargement ratio exceeds 2 below the limit area 101, no enlargement is performed. Similarly, reference numeral 102 indicates a limit region for 4Base, and reference numeral 103 indicates a limit region for 16Base. Reference numeral 104 indicates a predetermined output size.
【0024】図1Cの符号105は画面上で切り出し領域を
決めるとき、領域の広さにより読込む画像の解像度が変
わることを示している。Reference numeral 105 in FIG. 1C indicates that the resolution of the image to be read varies depending on the size of the region when the cutout region is determined on the screen.
【0025】はじめに、フォトCDから入力した画像デー
タにより粗画像を表示する。この粗画像上で切り出し領
域が選択される。そして、この選択領域が限界領域101
より大きい、すなわち、Baseの限界領域内なら入力解像
度をBaseに指定し、選択領域が限界領域101より小さく
限界領域102より大きいときは4Baseを入力解像度に指定
する。もし、選択領域が限界領域102および限界領域103
の何れよりも小さい場合は、どの限界領域も満足しない
と判定し、出力サイズまで拡大すると画質が劣化するの
で、切り出し領域の再設定を行う。First, a coarse image is displayed based on the image data input from the photo CD. A cutout area is selected on the rough image. Then, this selection area is the limit area 101
If it is larger, that is, within the limit area of Base, the input resolution is designated as Base, and if the selected area is smaller than the limit area 101 and larger than the limit area 102, 4Base is designated as the input resolution. If the selected area is the limit area 102 and the limit area 103
If it is smaller than any of the above, it is determined that none of the limit areas is satisfied, and if the image is enlarged to the output size, the image quality is deteriorated.
【0026】これにより、切り出し領域の出力サイズへ
の拡大率は常に2以下に保たれ、出力画像の品質を保つ
ことができるとともに、フォトCDの三種類の解像度から
最適な解像度を選択することになり、冗長な拡大処理を
回避することができる。As a result, the enlargement ratio of the cut-out area to the output size is always kept at 2 or less, the quality of the output image can be maintained, and the optimum resolution can be selected from the three resolutions of the photo CD. That is, redundant enlargement processing can be avoided.
【0027】[構成]図2は本実施形態の画像編集装置
の構成例を示す図である。[Configuration] FIG. 2 is a diagram showing a configuration example of an image editing apparatus according to the present embodiment.
【0028】同図において、CPU206は、画像編集装置全
体の制御を司り、ROM202やハードディスク201に格納さ
れたプログラムに従い、RAM203をワークメモリとして、
後述する画像処理をはじめとする各種の処理を実行す
る。また、ハードディスク201には、画像入力機器204か
ら入力された画像情報が一時的に保管される。RAM203に
は、後述する画像処理の過程において、切り出し画像が
一時的に保管され、読出される。なお、CPU206、ハード
ディスク201、ROM202、RAM203などの代わりにパーソナ
ルコンピュータを利用できることは言うまでもない。Referring to FIG. 2, a CPU 206 controls the entire image editing apparatus, and uses a RAM 203 as a work memory in accordance with a program stored in a ROM 202 or a hard disk 201.
Various processes including an image process described later are executed. The hard disk 201 temporarily stores image information input from the image input device 204. The cut-out image is temporarily stored and read out in the RAM 203 in the process of image processing described later. Needless to say, a personal computer can be used instead of the CPU 206, the hard disk 201, the ROM 202, the RAM 203, and the like.
【0029】画像入力機器204には、フィルムスキャ
ナ、ディジタルカメラ、イメージリーダなどを適用する
ことができるが、以下の説明においては、フォトCDから
画像を読込む例を取り上げるので、画像入力機器204に
はCDーROMドライブが対応する。A film scanner, a digital camera, an image reader, or the like can be applied to the image input device 204. In the following description, an example of reading an image from a photo CD will be described. Corresponds to a CD-ROM drive.
【0030】プリンタ205は、例えば300dpiの解像度を
もつ多値のカラープリントであり、画像入力機器204か
ら読込んだ画像や、画像合成を行った画像をプリント出
力する。マウス207は、例えば画像の処理の際に切り出
し領域を設定するためのもので、マウスに限らず、任意
のポインティングデバイスやキーボードを利用すること
もできる。ディスプレイ208は、例えばCRTやLCDのモニ
タで、画像や後述する画像処理の経過を表示するための
ものである。The printer 205 is, for example, a multi-value color print having a resolution of 300 dpi, and prints out an image read from the image input device 204 or an image subjected to image synthesis. The mouse 207 is used, for example, for setting a cut-out area at the time of processing an image. The mouse 207 is not limited to a mouse, and may use an arbitrary pointing device or keyboard. The display 208 is, for example, a CRT or LCD monitor for displaying images and the progress of image processing to be described later.
【0031】[処理]ここでは、入力画像から人物の顔
画像を切り出し、予め用意されたデザインテンプレート
画像に貼り込み合成し、プリント出力する例を説明す
る。[Processing] Here, an example will be described in which a face image of a person is cut out from an input image, pasted and synthesized on a design template image prepared in advance, and printed out.
【0032】図3はディスプレイ208に表示された入力画
像の初期画面で、粗画像が表示されている。この画面に
おいて切り出し領域の指定が行われる。つまり、オペレ
ータは、マウス207により切り出す画像の領域301を指定
する。領域301の二頂点に符号302および303で示すの
は、領域301をマウス207により調整するためのハンドル
である。また、符号304はマウスポインタを示してい
る。FIG. 3 is an initial screen of the input image displayed on the display 208, in which a coarse image is displayed. In this screen, a cutout area is specified. That is, the operator specifies the region 301 of the image to be cut out with the mouse 207. Reference numerals 302 and 303 at the two vertices of the area 301 denote handles for adjusting the area 301 with the mouse 207. Reference numeral 304 indicates a mouse pointer.
【0033】図4は領域301を拡大表示した状態を示す
図、図5は予め用意されているテンプレート画像であ
り、図5の符号501で示す領域に切り出した顔の画像を貼
り込むと、図6に示す切り出し画像とテンプレート画像
とを合成した画像が得られる。なお、領域501の面積は
合成対象とのバランスを考え、予め固定されている。FIG. 4 is a diagram showing a state in which the area 301 is displayed in an enlarged manner. FIG. 5 is a template image prepared in advance. When a cut-out face image is pasted into the area indicated by reference numeral 501 in FIG. An image obtained by combining the cut-out image and the template image shown in FIG. 6 is obtained. The area of the region 501 is fixed in advance in consideration of the balance with the synthesis target.
【0034】図7は本発明にかかる画像処理を説明する
ためのフローチャートで、CPU206により実行される処理
である。FIG. 7 is a flowchart for explaining the image processing according to the present invention, which is the processing executed by the CPU 206.
【0035】ステップS101で画像入力機器204から画像
データを入力する。より詳しくは、画像入力機器204か
ら画像データを読込み、読込んだ画像データをデータフ
ァイルとしてハードディスク201に保存する。In step S101, image data is input from the image input device 204. More specifically, image data is read from the image input device 204, and the read image data is stored in the hard disk 201 as a data file.
【0036】ステップS102で、入力媒体が指定され、前
記のデータファイルの読込みが指定されると、そのファ
イルから粗画像の画像データを読込み、ディスプレイ20
8に表示する。この表示状態が図3に相当する。In step S102, when the input medium is specified and the reading of the data file is specified, the image data of the coarse image is read from the file, and
Displayed in 8. This display state corresponds to FIG.
【0037】ステップS103で、入力媒体の情報、予め設
定した出力解像度、切り出し画像の出力サイズに基づ
き、切り出し画像の限界サイズを算出する。なお、入力
媒体がフォトCDの場合、印刷用の入力解像度としてBas
e、4Base、16Baseの三通りが想定されるので、それぞれ
について限界サイズを計算する。In step S103, the limit size of the cutout image is calculated based on the information of the input medium, the preset output resolution, and the output size of the cutout image. When the input medium is a photo CD, the input resolution for printing is Bas Bas.
e, 4Base and 16Base are assumed, so the limit size is calculated for each.
【0038】ステップS104で、設定された切り出し領域
301の縦横のサイズおよび頂点座標をRAM203に記憶す
る。At step S104, the cut-out area set
The vertical and horizontal sizes and vertex coordinates of 301 are stored in the RAM 203.
【0039】ステップS105で、領域301のサイズと限界
サイズとを比較して、領域サイズ301がどの限界サイズ
をも満たさない場合、領域301を無効とする旨をディス
プレイ208に表示し、ステップS104に戻り、領域301の設
定をやり直す。例えば、どの解像度の限界サイズをも満
足できない領域に、領域301を設定できないように、マ
ウスポインタ304の進入を禁止してもよい。In step S105, the size of the area 301 is compared with the limit size. If the area size 301 does not satisfy any of the limit sizes, a message indicating that the area 301 is invalid is displayed on the display 208, and the process proceeds to step S104. Return, and set the area 301 again. For example, the entry of the mouse pointer 304 may be prohibited so that the area 301 cannot be set in an area that cannot satisfy the limit size of any resolution.
【0040】ステップS106で、設定された領域301およ
び限界サイズに基づき、読込む画像の解像度を決定す
る。ステップS107で、設定された領域301に相当する画
像を、ステップS106で決めた解像度で画面に表示する。
この表示状態が図4に相当する。In step S106, the resolution of the image to be read is determined based on the set area 301 and the limit size. In step S107, an image corresponding to the set area 301 is displayed on the screen at the resolution determined in step S106.
This display state corresponds to FIG.
【0041】ステップS108で、オペレータは、ディスプ
レイ208に表示された精細(拡大)画像に対して編集作
業を行い、編集作業が終わると、ステップS109で予め用
意されたテンプレート画像(例えば図5)に、編集され
た画像を合成をする。この表示状態が図6に相当する。In step S108, the operator performs editing work on the fine (enlarged) image displayed on the display 208. When the editing work is completed, the operator changes the template image (for example, FIG. 5) prepared in advance in step S109. And compose the edited image. This display state corresponds to FIG.
【0042】このようにして得られた合成画像はステッ
プS110でプリント出力される。The composite image thus obtained is printed out in step S110.
【0043】また、前述したステップS105において、切
り出し領域301を無効とせずに警告を出すだけにしても
よい。さらに、切り出し領域301のサイズから設定され
る縦横の変倍率、出力サイズ、読込む精細画像の解像度
を随時ディスプレイ208に表示するようにすることで、
オペレータは、さまざまな編集処理において、画像管理
も同時に行うことができる。In step S105, a warning may be issued only without invalidating the cutout area 301. Furthermore, by displaying the vertical / horizontal magnification, output size, and resolution of the fine image to be read set at any time on the display 208 from the size of the cutout area 301,
The operator can simultaneously perform image management in various editing processes.
【0044】このように、本実施形態によれば、ステッ
プS106の処理により、切り出し画像を出力サイズへ拡大
する際の拡大率を所定値以下(例えば二倍以下)に保つ
ことができ、出力画像の品質を一定に保つことができ
る。As described above, according to the present embodiment, the enlargement ratio at the time of enlarging the cut-out image to the output size can be maintained at a predetermined value or less (for example, twice or less) by the processing of step S106. Quality can be kept constant.
【0045】さらに、フォトCDから画像を入力する場合
のように、複数の解像度をもつ同一画像が得られる場合
は、ステップS107の処理により、切り出し領域に応じた
最適な解像度の画像を処理することで、冗長な処理を行
わずに必要充分な画質を確保することができる。Further, when the same image having a plurality of resolutions can be obtained as in the case of inputting an image from a photo CD, an image having the optimum resolution according to the cut-out area is processed in step S107. Thus, necessary and sufficient image quality can be secured without performing redundant processing.
【0046】また、ステップS105の処理において、拡大
限界領域へのマウスポインタ304の進入を禁止すること
により、オペレータに、拡大限界に到達したことを分か
りやすく示し、領域指定を短時間に正確に行わせること
ができる。In the process of step S105, the entry of the mouse pointer 304 into the enlargement limit area is prohibited, so that the operator can easily understand that the enlargement limit has been reached, and the area can be specified accurately in a short time. Can be made.
【0047】[0047]
【第2実施形態】以下、本発明にかかる第2実施形態の画
像処理装置を説明する。なお、第2実施形態において、
第1実施形態と略同様の構成については、同一符号を付
して、その詳細説明を省略する。Second Embodiment Hereinafter, an image processing apparatus according to a second embodiment of the present invention will be described. In the second embodiment,
The same components as those in the first embodiment are denoted by the same reference numerals, and detailed description thereof will be omitted.
【0048】図8は第2実施形態の画像編集装置の構成例
を示す図で、図2に示した構成にブザー209を追加するこ
とにより、ブザー音によって領域が適切でないことを知
らせることもできる。FIG. 8 is a diagram showing an example of the configuration of the image editing apparatus according to the second embodiment. By adding a buzzer 209 to the configuration shown in FIG. 2, it is also possible to notify that the area is not appropriate by a buzzer sound. .
【0049】つまり、ステップS105で、領域301のサイ
ズと限界サイズとを比較して、領域サイズ301がどの限
界サイズをも満たさない場合、図9に示すステップS201
でブザー209を鳴らして警告を発した後、ステップS104
に戻り、領域301の設定をやり直す。That is, in step S105, the size of the area 301 is compared with the limit size. If the area size 301 does not satisfy any of the limit sizes, the process proceeds to step S201 shown in FIG.
Sound the buzzer 209 and issue a warning, then step S104
And the setting of the area 301 is redone.
【0050】[0050]
【第3実施形態】以下、本発明にかかる第3実施形態の画
像処理装置を説明する。なお、第3実施形態において、
第1実施形態と略同様の構成については、同一符号を付
して、その詳細説明を省略する。Third Embodiment Hereinafter, an image processing apparatus according to a third embodiment of the present invention will be described. In the third embodiment,
The same components as those in the first embodiment are denoted by the same reference numerals, and detailed description thereof will be omitted.
【0051】切り出し領域301を設定する際、設定可能
な領域を入力解像度ごとに表示しておけば、オペレータ
は領域301を短時間に正しく設定することができる。さ
らに、オペレータは、編集画面に読込まれる精細画像の
解像度を、領域301を切り出す操作画面で知ることがで
きる。When the cutout area 301 is set, if the settable area is displayed for each input resolution, the operator can set the area 301 correctly in a short time. Further, the operator can know the resolution of the fine image read on the editing screen on the operation screen for cutting out the area 301.
【0052】図10は切り出し操作中の画面表示を示す図
で、符号1101で示す破線はそれぞれ、入力解像度に対す
る領域1102の拡大限界を示している。FIG. 10 is a view showing a screen display during the cutout operation. Broken lines indicated by reference numerals 1101 each indicate an enlargement limit of the area 1102 with respect to the input resolution.
【0053】図11は領域拡大限界を詳細に示す図で、符
号1201は画面全体を表し、符号1202はBaseの領域拡大限
界線で、限界線1202より小さい領域はBase画像からは読
込めない。符号1203は4Baseの領域拡大限界線で、限界
線1203より小さい領域は4Base画像からは読込めない。
符号1204は16Baseの領域拡大限界線で、限界線1204より
小さい領域は16Base画像からは読込めない。従って、領
域1208より小さい領域は切り出すことができない。FIG. 11 is a diagram showing the area expansion limit in detail. Reference numeral 1201 denotes the entire screen, reference numeral 1202 denotes a Base area expansion limit line, and an area smaller than the limit line 1202 cannot be read from the Base image. Reference numeral 1203 denotes a 4Base area expansion limit line, and an area smaller than the limit line 1203 cannot be read from a 4Base image.
Reference numeral 1204 denotes a 16Base area expansion limit line, and an area smaller than the limit line 1204 cannot be read from a 16Base image. Therefore, an area smaller than the area 1208 cannot be cut out.
【0054】符号1205はBaseの画像が精細画像として読
込まれる領域を、符号1206は4Baseの画像が精細画像と
して読込まれる領域を、符号1207は16Baseの画像が精細
画像として読込まれる領域を、それぞれ示している。Reference numeral 1205 denotes an area where a Base image is read as a fine image, reference numeral 1206 denotes an area where a 4Base image is read as a fine image, and reference numeral 1207 denotes an area where a 16Base image is read as a fine image. , Respectively.
【0055】図12は第3実施形態の処理例を説明するフ
ローチャートで、図7に示した処理のステップS104の詳
細例を示すものである。FIG. 12 is a flowchart for explaining a processing example of the third embodiment, and shows a detailed example of step S104 of the processing shown in FIG.
【0056】つまり、ステップS301で切り出し領域の中
心がマウス207により指示される。ステップS302で、指
示された点を中心として、入力解像度の限界を示す矩形
をディスプレイ208の画像上に表示する。この表示状態
が図10に相当するが、入力媒体がフォトCDであると仮定
しているので、三通りの入力解像度に対応した領域を設
定することが可能である。従って、図10に示すように、
限界を示す矩形が三つ表示される。また、同時に、切り
出す領域を示すトラッカ1102が、予め定められた縦横寸
法で描画される。That is, the center of the cutout area is designated by the mouse 207 in step S301. In step S302, a rectangle indicating the limit of the input resolution is displayed on the image of the display 208 with the designated point as the center. This display state corresponds to FIG. 10, but since it is assumed that the input medium is a photo CD, it is possible to set areas corresponding to three types of input resolutions. Therefore, as shown in FIG.
Three rectangles indicating the limits are displayed. At the same time, a tracker 1102 indicating an area to be cut out is drawn with a predetermined vertical and horizontal dimension.
【0057】ステップS303で、トラッカ1102の四隅のト
ラックポイント1103をマウスによりドラックすると、切
り出し領域のサイズを可変することができる。このと
き、トラッカ1102は、縦横のアスぺクト比を変えず、中
心点が固定された状態で拡大縮小(変形)する。また、
トラッカ1102の領域内にマウスポインタを移動し、ドラ
ックをすると、トラッカ1102および限界領域線を移動す
ることができる(移動)。つまり、切り出す領域を画像
中の任意の位置へ移動することができる。In step S303, when the track points 1103 at the four corners of the tracker 1102 are dragged with the mouse, the size of the cutout area can be changed. At this time, the tracker 1102 expands / contracts (deforms) with the center point fixed without changing the vertical / horizontal aspect ratio. Also,
When the mouse pointer is moved into the area of the tracker 1102 and dragged, the tracker 1102 and the limit area line can be moved (movement). That is, the region to be cut can be moved to an arbitrary position in the image.
【0058】オペレータは、これら変形や移動機能を利
用して、最終的に切り出す範囲を決定する。The operator determines a range to be finally cut out by using these deformation and movement functions.
【0059】[0059]
【他の実施形態】なお、本発明は、複数の機器(例えば
ホストコンピュータ,インタフェイス機器,リーダ,プ
リンタなど)から構成されるシステムに適用しても、一
つの機器からなる装置(例えば、複写機,ファクシミリ
装置など)に適用してもよい。[Other Embodiments] Even if the present invention is applied to a system including a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), an apparatus (for example, a copying machine) Machine, facsimile machine, etc.).
【0060】また、本発明の目的は、前述した実施形態
の機能を実現するソフトウェアのプログラムコードを記
録した記憶媒体を、システムあるいは装置に供給し、そ
のシステムあるいは装置のコンピュータ(またはCPUやM
PU)が記憶媒体に格納されたプログラムコードを読出し
実行することによっても、達成されることは言うまでも
ない。この場合、記憶媒体から読出されたプログラムコ
ード自体が前述した実施形態の機能を実現することにな
り、そのプログラムコードを記憶した記憶媒体は本発明
を構成することになる。プログラムコードを供給するた
めの記憶媒体としては、例えば、フロッピディスク,ハ
ードディスク,光ディスク,光磁気ディスク,CD-ROM,
CD-R,磁気テープ,不揮発性のメモリカード,ROMなど
を用いることができる。Further, an object of the present invention is to provide a storage medium storing a program code of software for realizing the functions of the above-described embodiments to a system or an apparatus, and to provide a computer (or CPU or MPU) of the system or apparatus.
Needless to say, this can also be achieved by the PU) reading and executing the program code stored in the storage medium. In this case, the program code itself read from the storage medium implements the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention. Examples of the storage medium for supplying the program code include a floppy disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM,
CD-R, magnetic tape, non-volatile memory card, ROM, etc. can be used.
【0061】また、コンピュータが読出したプログラム
コードを実行することにより、前述した実施形態の機能
が実現されるだけでなく、そのプログラムコードの指示
に基づき、コンピュータ上で稼働しているOS(オペレー
ティングシステム)などが実際の処理の一部または全部
を行い、その処理によって前述した実施形態の機能が実
現される場合も含まれることは言うまでもない。When the computer executes the readout program code, not only the functions of the above-described embodiment are realized, but also the OS (Operating System) running on the computer based on the instruction of the program code. ) May perform some or all of the actual processing, and the processing may realize the functions of the above-described embodiments.
【0062】さらに、記憶媒体から読出されたプログラ
ムコードが、コンピュータに挿入された機能拡張カード
やコンピュータに接続された機能拡張ユニットに備わる
メモリに書込まれた後、そのプログラムコードの指示に
基づき、その機能拡張カードや機能拡張ユニットに備わ
るCPUなどが実際の処理の一部または全部を行い、その
処理によって前述した実施形態の機能が実現される場合
も含まれることは言うまでもない。Further, after the program code read from the storage medium is written into a memory provided in a function expansion card inserted into the computer or a function expansion unit connected to the computer, based on the instruction of the program code, It goes without saying that the CPU included in the function expansion card or the function expansion unit performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.
【0063】本発明を上記記憶媒体に適用する場合、そ
の記憶媒体には、先に説明したフローチャートに対応す
るプログラムコードを格納することになるが、簡単に説
明すると、図13のメモリマップ例に示す各モジュールを
記憶媒体に格納することになる。すなわち、少なくとも
「画像入力」「画像表示」「切り出し領域指定」「画像
出力」、および、「警告」または「領域制限」の各モジ
ュールのプログラムコードを記憶媒体に格納すればよ
い。When the present invention is applied to the storage medium, the storage medium stores program codes corresponding to the above-described flowcharts. Each module shown will be stored in a storage medium. That is, the program codes of at least the modules of “image input”, “image display”, “cutout area designation”, “image output”, and “warning” or “area restriction” may be stored in the storage medium.
【0064】[0064]
【発明の効果】以上説明したように、本発明によれば、
画像の解像度に応じた変倍処理により、画質の高い出力
画像が得られる画像処理装置およびその方法を提供する
ことができる。As described above, according to the present invention,
According to the present invention, it is possible to provide an image processing apparatus capable of obtaining an output image with high image quality by a scaling process according to an image resolution, and a method thereof.
【図1A】フォトCDの画像解像度を説明する図、FIG. 1A is a diagram for explaining the image resolution of a photo CD;
【図1B】入力媒体をフォトCDとした場合の入出力と画
面表示との関係例を示す図、FIG. 1B is a diagram showing an example of the relationship between input / output and screen display when a photo CD is used as an input medium;
【図1C】入力媒体をフォトCDとした場合の入出力と画
面表示との関係例を示す図、FIG. 1C is a diagram showing an example of the relationship between input / output and screen display when a photo CD is used as an input medium;
【図2】本実施形態の画像編集装置の構成例を示す図、FIG. 2 is a diagram illustrating a configuration example of an image editing apparatus according to the embodiment;
【図3】ディスプレイに表示された入力画像の初期画面
例を示す図、FIG. 3 is a diagram showing an example of an initial screen of an input image displayed on a display;
【図4】選択領域を拡大表示した状態例を示す図、FIG. 4 is a diagram showing an example of a state where a selection area is enlarged and displayed;
【図5】予め用意されているテンプレート画像の一例を
示す図、FIG. 5 is a diagram showing an example of a template image prepared in advance;
【図6】切り出し画像とテンプレート画像とを合成した
画像例を示す図、FIG. 6 is a diagram showing an example of an image obtained by combining a cut-out image and a template image;
【図7】本発明にかかる画像処理を説明するためのフロ
ーチャート、FIG. 7 is a flowchart for explaining image processing according to the present invention;
【図8】第2実施形態の画像編集装置の構成例を示す
図、FIG. 8 is a diagram illustrating a configuration example of an image editing device according to a second embodiment;
【図9】第2実施例の画像処理を説明するためのフロー
チャート、FIG. 9 is a flowchart for explaining image processing according to the second embodiment;
【図10】切り出し操作中の画面表示例を示す図、FIG. 10 is a diagram showing a screen display example during a cutout operation;
【図11】領域拡大限界の詳細を説明する図、FIG. 11 is a diagram illustrating details of an area expansion limit;
【図12】第3実施形態の処理例を説明するフローチャ
ート、FIG. 12 is a flowchart illustrating a processing example of a third embodiment,
【図13】本発明にかかるプログラムコードを格納した
記憶媒体のメモリマップ例を示す図である。FIG. 13 is a diagram showing an example of a memory map of a storage medium storing a program code according to the present invention.
Claims (9)
と、 前記入力手段により入力された画像を表示する表示手段
と、 前記表示手段に表示された画像の一部の領域を指定する
指定手段と、 前記指定手段により指定された領域の画像を変倍して、
所定サイズの画像として出力する出力手段と、 前記出力手段が変倍を行う際の変倍比が所定値以上の場
合、その旨を警告する警告手段とを有することを特徴と
する画像処理装置。An input unit configured to input an image having a predetermined resolution; a display unit configured to display an image input by the input unit; and a specification unit configured to specify a partial area of the image displayed on the display unit. The image of the area specified by the specifying means is scaled,
An image processing apparatus comprising: an output unit that outputs an image of a predetermined size; and a warning unit that warns when the magnification ratio when the output unit performs a magnification is equal to or more than a predetermined value.
と、 前記入力手段により入力された画像を表示する表示手段
と、 前記表示手段に表示された画像の一部の領域を指定する
指定手段と、 前記指定手段により指定された領域の画像を変倍して、
所定サイズの画像として出力する出力手段と、 前記変倍手段が変倍を行う際の変倍率が所定値以下にな
るように、前記指定手段により指定される領域のサイズ
を制限する制限手段とを有することを特徴とする画像処
理装置。2. An input unit for inputting an image of a predetermined resolution, a display unit for displaying an image input by the input unit, and a specifying unit for specifying a partial area of the image displayed on the display unit The image of the area specified by the specifying means is scaled,
Output means for outputting an image of a predetermined size, and limiting means for limiting the size of an area designated by the designating means so that the magnification when the scaling means performs magnification is equal to or less than a prescribed value. An image processing apparatus comprising:
画像データを含む画像データを入力することを特徴とす
る請求項1または請求項2に記載された画像処理装置。3. The image processing apparatus according to claim 1, wherein the input unit inputs image data including a plurality of image data of different resolutions.
力された画像データに含まれる異なる解像度の複数の画
像データのうち、所定の解像度の画像データを表示し、 前記出力手段は、前記指定手段により指定された領域の
サイズと、前記指定領域を前記所定サイズに変倍するた
めの変倍比とに基づき、前記異なる解像度から一つの解
像度を選択し、選択した解像度の画像データに基づいて
前記所定サイズの画像を出力することを特徴とする請求
項3に記載された画像処理装置。4. The display means displays image data of a predetermined resolution among a plurality of image data of different resolutions contained in the image data input by the input means, and the output means comprises: Based on the size of the area designated by the formula and a scaling ratio for scaling the designated area to the predetermined size, one of the different resolutions is selected, and the resolution is selected based on the image data of the selected resolution. 4. The image processing device according to claim 3, wherein the image processing device outputs an image of a predetermined size.
づき、前記変倍手段が変倍を行う際の変倍率が所定値以
下になる領域のサイズを前記画像とともに示すことを特
徴とする請求項3または請求項4に記載された画像処理装
置。5. The image processing apparatus according to claim 5, wherein the specifying unit indicates, together with the image, a size of an area where a scaling ratio when the scaling unit performs scaling is equal to or smaller than a predetermined value, based on the different resolution. 5. The image processing device according to claim 3 or 4.
て出力し、 前記変倍を行う際の変倍比が所定値以上の場合、その旨
を警告することを特徴とする画像処理方法。6. An image having a predetermined resolution is input, the input image is displayed, a partial area of the display image is specified, an image of the specified area is scaled, and output as an image of a predetermined size. An image processing method, wherein when the zoom ratio at the time of performing the zooming is equal to or more than a predetermined value, a warning to that effect is issued.
て出力し、 前記変倍を行う際の変倍率が所定値以下になるように、
前記指定手段により指定される領域のサイズを制限する
ことを特徴とする画像処理方法。7. An image having a predetermined resolution is input, the input image is displayed, a partial area of the display image is specified, an image of the specified area is scaled, and output as an image of a predetermined size. , So that the magnification when performing the magnification is equal to or less than a predetermined value,
An image processing method, wherein the size of an area specified by the specifying means is limited.
たコンピュータ可読メモリであって、 所定解像度の画像を入力するステップのコードと、 前記入力画像を表示するステップのコードと、 前記表示画像の一部の領域を指定するステップのコード
と、 前記指定領域の画像を変倍して、所定サイズの画像とし
て出力するステップのコードと、 前記変倍を行う際の変倍比が所定値以上の場合、その旨
を警告するステップのコードとを有することを特徴とす
るコンピュータ可読メモリ。8. A computer-readable memory storing a program code for image processing, wherein: a code for inputting an image having a predetermined resolution; a code for displaying the input image; and a part of the display image A code of a step of designating an area, a code of a step of scaling the image of the designated area, and outputting as an image of a predetermined size; and Computer readable memory having a code for the step of alerting the user.
たコンピュータ可読メモリであって、 所定解像度の画像を入力するステップのコードと、 前記入力画像を表示するステップのコードと、 前記表示画像の一部の領域を指定するステップのコード
と、 前記指定領域の画像を変倍して、所定サイズの画像とし
て出力するステップのコードと、 前記変倍を行う際の変倍率が所定値以下になるように、
前記指定手段により指定される領域のサイズを制限する
ステップのコードとを有することを特徴とするコンピュ
ータ可読メモリ。9. A computer-readable memory storing a program code for image processing, wherein a code for inputting an image having a predetermined resolution, a code for displaying the input image, and a part of the display image A code of a step of designating an area, a code of a step of scaling the image of the designated area, and outputting the image as a predetermined size, so that the scaling factor when performing the scaling is equal to or less than a predetermined value. ,
Computer-readable memory having a code for limiting a size of an area designated by the designation means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3508897A JPH10232949A (en) | 1997-02-19 | 1997-02-19 | Processor and method for image processing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3508897A JPH10232949A (en) | 1997-02-19 | 1997-02-19 | Processor and method for image processing |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH10232949A true JPH10232949A (en) | 1998-09-02 |
Family
ID=12432218
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3508897A Withdrawn JPH10232949A (en) | 1997-02-19 | 1997-02-19 | Processor and method for image processing |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH10232949A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006121551A (en) * | 2004-10-25 | 2006-05-11 | Hitachi Kokusai Electric Inc | Image display program |
JP2011511359A (en) * | 2008-01-31 | 2011-04-07 | ヒューレット−パッカード デベロップメント カンパニー エル.ピー. | Print structured documents |
WO2014045752A1 (en) * | 2012-09-19 | 2014-03-27 | 富士フイルム株式会社 | Text image display control device, operation control method therefor, and operation control program therefor |
JP2016072939A (en) * | 2014-10-02 | 2016-05-09 | レノボ・シンガポール・プライベート・リミテッド | Method for supporting imaging by user, portable electronic apparatus and computer program |
JP2020187657A (en) * | 2019-05-16 | 2020-11-19 | 株式会社キーエンス | Image inspection device |
-
1997
- 1997-02-19 JP JP3508897A patent/JPH10232949A/en not_active Withdrawn
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006121551A (en) * | 2004-10-25 | 2006-05-11 | Hitachi Kokusai Electric Inc | Image display program |
JP2011511359A (en) * | 2008-01-31 | 2011-04-07 | ヒューレット−パッカード デベロップメント カンパニー エル.ピー. | Print structured documents |
WO2014045752A1 (en) * | 2012-09-19 | 2014-03-27 | 富士フイルム株式会社 | Text image display control device, operation control method therefor, and operation control program therefor |
JP2016072939A (en) * | 2014-10-02 | 2016-05-09 | レノボ・シンガポール・プライベート・リミテッド | Method for supporting imaging by user, portable electronic apparatus and computer program |
JP2020187657A (en) * | 2019-05-16 | 2020-11-19 | 株式会社キーエンス | Image inspection device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4083827B2 (en) | Image processing method and image processing apparatus | |
US8660381B2 (en) | Image processing apparatus, method, and computer readable medium for arranging images based on size ratio | |
JPH033267B2 (en) | ||
US6266129B1 (en) | Digital photograph processing system | |
JP2002165079A (en) | Image processing unit and method | |
JP2003274155A (en) | Image processing method, and device and printer driver for realizing the same | |
EP1703716A1 (en) | Print data editing apparatus and print data editing program stored in computer readable medium | |
JPH1023248A (en) | Method and device for magnifying/reducing image | |
US10970017B2 (en) | Control method for controlling an image processing apparatus including printing areas displayed on a display unit and print information facing a predetermined direction | |
JPH10232949A (en) | Processor and method for image processing | |
US20060075362A1 (en) | Image processing apparatus, method, and recording medium on which program is recorded for displaying thumbnail/preview image | |
JP2004054898A (en) | Printing data generating device, printing data generating method and program | |
JP2006229455A (en) | Program and image processing apparatus | |
JP2003058878A (en) | Synthetic image forming program | |
JPH0937063A (en) | Device and method for copying picture | |
JP3922136B2 (en) | Image processing method, image processing program, and recording medium on which image processing program is recorded | |
JP3337267B2 (en) | Electronic file device | |
JP3506300B2 (en) | Image processing method and apparatus | |
JPH11219439A (en) | Image editing apparatus, image editing method, and recording medium storing image editing processing program | |
JP2863166B2 (en) | Magnification setting device for image reading device | |
JPH1023212A (en) | Image reader and its method | |
JPS62191973A (en) | Bit pattern editing processor in bit map memory | |
JP3317565B2 (en) | Electronic file device | |
JP2000076472A (en) | Program storage medium | |
JPH02143873A (en) | Image layout device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20040511 |