Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3492151B2 - Image sharpness processing method and apparatus, and storage medium storing program - Google Patents
[go: Go Back, main page]

JP3492151B2 - Image sharpness processing method and apparatus, and storage medium storing program - Google Patents

Image sharpness processing method and apparatus, and storage medium storing program

Info

Publication number
JP3492151B2
JP3492151B2 JP14392997A JP14392997A JP3492151B2 JP 3492151 B2 JP3492151 B2 JP 3492151B2 JP 14392997 A JP14392997 A JP 14392997A JP 14392997 A JP14392997 A JP 14392997A JP 3492151 B2 JP3492151 B2 JP 3492151B2
Authority
JP
Japan
Prior art keywords
sharpness
original image
processing
sharpness processing
image
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.)
Expired - Fee Related
Application number
JP14392997A
Other languages
Japanese (ja)
Other versions
JPH10145604A (en
Inventor
正俊 木野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Screen Holdings Co Ltd
Dainippon Screen Manufacturing Co Ltd
Original Assignee
Screen Holdings Co Ltd
Dainippon Screen Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Screen Holdings Co Ltd, Dainippon Screen Manufacturing Co Ltd filed Critical Screen Holdings Co Ltd
Priority to JP14392997A priority Critical patent/JP3492151B2/en
Publication of JPH10145604A publication Critical patent/JPH10145604A/en
Application granted granted Critical
Publication of JP3492151B2 publication Critical patent/JP3492151B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、製版工程等におい
て、原画像の輪郭部分の階調変化を強調したり、逆に低
減させたりする画像のシャープネス処理方法及びその装
置並びにプログラムを記録した記憶媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image sharpness processing method for emphasizing or conversely reducing the gradation change of an outline portion of an original image in a plate making process, etc. Regarding the medium.

【0002】[0002]

【従来の技術】シャープネス処理の原理を図9を参照し
て説明する。まず、原画像の画像信号(原信号)Sが図
9(a)に示すようであるとする。原画像中に注目画素
を順に設定し、各注目画素を中心に例えば5×5画素の
領域内の各画素の平均信号を求める。これが図9(b)
のアンシャープ信号Uである。次に、原信号Sからアン
シャープ信号Uを減算して、図9(c)に示すようなア
ンシャープマスク信号(S−U)を得る。このアンシャ
ープマスク信号(S−U)を原画像Sに加算すると、図
9(d)に示すように輪郭部分が強調された信号が得ら
れる。このとき、アンシャープマスク信号(S−U)に
パラメータkを乗算して、処理の強度を調整する。パラ
メータkの値がk>0であれば、シャープネス強調され
た画像が得られる。一方、パラメータkの値が−1<k
<0であれば、図9(a)と(b)の中間に位置する画
像、すなわちボカシ処理された画像が得られる。従来、
このようなシャープネス処理は原画像の全体に対して均
一な強度で行なわれるのが通常である。
2. Description of the Related Art The principle of sharpness processing will be described with reference to FIG. First, it is assumed that the image signal (original signal) S of the original image is as shown in FIG. Pixels of interest are sequentially set in the original image, and an average signal of each pixel in a region of, for example, 5 × 5 pixels is obtained centering on each pixel of interest. This is Fig. 9 (b)
Is the unsharp signal U. Next, the unsharp signal U is subtracted from the original signal S to obtain an unsharp mask signal (S-U) as shown in FIG. 9C. When this unsharp mask signal (S-U) is added to the original image S, a signal in which the contour portion is emphasized is obtained as shown in FIG. 9 (d). At this time, the unsharp mask signal (SU) is multiplied by the parameter k to adjust the processing intensity. When the value of the parameter k is k> 0, an image with sharpness enhancement is obtained. On the other hand, the value of the parameter k is -1 <k
If <0, an image located in the middle of FIGS. 9A and 9B, that is, an image subjected to blurring processing is obtained. Conventionally,
Such sharpness processing is usually performed with a uniform intensity on the entire original image.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、原画像
の全体に対して均一な強度でシャープネス処理を施すと
次のような問題点が生じる。風景等の遠近のある被写体
をカメラで撮影すると、レンズの焦点があった例えば近
景領域はその輪郭がくっきりとし、遠景領域はボカシの
かかった画像が得られる。このように被写体の遠近に応
じて画像のボカシの程度が変化することにより、遠近感
にあふれた画像が得られることが多い。ところが、遠近
のある被写体を撮影して得られた原画像に対して、その
画像全体に均一にシャープネスを強調すると、近景領域
ばかりでなく遠景領域の輪郭もくっきり現れるので、原
画像の遠近感が損なわれるという問題が生じる。
However, if the sharpness processing is applied to the entire original image with uniform intensity, the following problems occur. When an image of a distant object such as a landscape is taken by a camera, for example, a foreground region where the lens is focused has a sharp outline, and a distant view region is blurred. In this way, the degree of blurring of the image changes depending on the perspective of the subject, so that an image with a sense of perspective is often obtained. However, if the sharpness is evenly emphasized over the entire image of an original image obtained by shooting a subject in the distance, the contours of not only the foreground region but also the foreground region will appear clearly, which gives a sense of perspective of the original image. The problem of being damaged arises.

【0004】本発明は、このような事情に鑑みてなされ
たものであって、画像の遠近感や立体感を効果的に表現
することができるシャープネス処理方法及びその装置並
びにプログラムを記録した記憶媒体を提供することを目
的としている。
The present invention has been made in view of the above circumstances, and a sharpness processing method capable of effectively expressing perspective and stereoscopic effect of an image, its apparatus, and a storage medium recording a program. Is intended to provide.

【0005】[0005]

【課題を解決するための手段】本発明は、このような目
的を達成するために、次のような構成をとる。すなわ
ち、請求項1に記載の発明は、原画像の輪郭部分の階調
変化を強調したり、逆に低減させたりする画像のシャー
プネス処理方法であって、少なくともシャープネス処理
の強度を次第に変化させるべき方向を、表示画面に映し
出された原画像上で指定する処理方向指定過程と、前記
指定されたシャープネス処理の方向にシャープネス処理
の強度が次第に変化するように、原画像中の各画素のシ
ャープネス処理の強度を求める強度導出過程と、前記求
められた各画素のシャープネス処理の強度に従って原画
像をシャープネス処理する処理過程とを備えたことを特
徴とする。
The present invention has the following constitution in order to achieve such an object. That is, the invention according to claim 1 is an image sharpness processing method for emphasizing or conversely reducing the gradation change of the contour portion of the original image, and at least the strength of the sharpness processing should be gradually changed. A processing direction designating process of designating a direction on the original image displayed on the display screen, and sharpening processing of each pixel in the original image so that the strength of the sharpness processing gradually changes in the designated sharpness processing direction. And an intensity derivation process for obtaining the intensity of the image and a process for performing sharpness processing on the original image according to the obtained intensity of the sharpness process for each pixel.

【0006】請求項2に記載の発明は、請求項1に記載
の方法において、前記処理方向指定過程では、シャープ
ネス処理の強度を次第に変化させるべき方向とともに、
シャープネス処理を施すべき範囲を原画像上で指定す
る。
According to a second aspect of the invention, in the method according to the first aspect, in the process direction designating step, along with a direction in which the strength of the sharpness process should be gradually changed,
Specify the area on the original image to be sharpened.

【0007】請求項3に記載の発明は、請求項2に記載
の方法において、前記処理方向指定過程では、表示画面
に映し出された原画像上で少なくとも任意の2点を指定
することによって、前記2点を結ぶベクトルの方向でシ
ャープネス処理の強度を次第に変化させるべき方向を指
定するとともに、前記ベクトルの両端それぞれで前記ベ
クトルに直交する仮想線で原画像を区画してシャープネ
ス処理を施すべき範囲を指定し、前記強度導出過程で
は、前記両仮想線で挟まれた中間領域から外れた原画像
の一方の端部領域についはシャープネス処理の強度を均
一に強くし、前記中間領域から外れた原画像の他方の端
部領域についはシャープネス処理の強度を均一に弱く
し、かつ、前記中間領域については前記一方の端部領域
のシャープネス処理強度から前記他方の端部領域のシャ
ープネス処理強度にわたって、前記ベクトルの方向にシ
ャープネス処理の強度が次第に変化するように各画素の
シャープネス処理の強度を求める。
According to a third aspect of the present invention, in the method according to the second aspect, in the process of designating the processing direction, at least two arbitrary points are designated on the original image displayed on the display screen. The direction of the vector connecting the two points specifies the direction in which the strength of the sharpness processing should be gradually changed, and the sharpness processing range is defined by dividing the original image by virtual lines orthogonal to the vector at both ends of the vector. In the intensity deriving process, the intensity of sharpness processing is uniformly increased for one end region of the original image that is out of the intermediate region sandwiched between the virtual lines, and the original image is out of the intermediate region. The strength of the sharpness processing is uniformly weakened to the other end area of the same, and the sharpness processing strength of the one end area is set to the intermediate area. Over sharpening the intensity of the other end region from obtaining the intensity of the sharpness processing for each pixel such that the intensity of the sharpness processing in the direction gradually changes in the vector.

【0008】請求項4に記載の発明は、原画像の輪郭部
分の階調変化を強調したり、逆に低減させたりする画像
のシャープネス処理装置であって、原画像の各画素の画
像データを記憶する原画像データ記憶手段と、画像を表
示する画像表示手段と、前記原画像データ記憶手段から
読み出された原画像を前記画像表示手段に映し出し、少
なくともシャープネス処理の強度を次第に変化させるべ
き方向を前記画像表示手段に映し出された原画像上で指
定する処理方向指定手段と、前記指定されたシャープネ
ス処理の方向にシャープネス処理の強度が次第に変化す
るように、原画像中の各画素のシャープネス処理の強度
を求める強度導出手段と、前記求められた各画素のシャ
ープネス処理の強度に従って原画像をシャープネス処理
する処理手段とを備えたことを特徴とする。
According to a fourth aspect of the present invention, there is provided an image sharpness processing device for emphasizing or conversely reducing the gradation change in the contour portion of the original image, wherein the image data of each pixel of the original image is processed. Original image data storage means for storing, image display means for displaying an image, and an original image read from the original image data storage means are displayed on the image display means, and at least a direction in which the strength of sharpness processing should be gradually changed Processing direction designating means for designating on the original image displayed on the image display means, and sharpness processing of each pixel in the original image so that the strength of the sharpness processing gradually changes in the designated sharpness processing direction. Intensity deriving means for obtaining the intensity of the original image, and processing means for sharpening the original image according to the obtained intensity of the sharpness processing for each pixel. And it said that there were pictures.

【0009】請求項5に記載の発明は、請求項4に記載
の装置において、前記処理方向指定手段は、前記画像表
示手段に映し出された原画像上の少なくとも任意の2点
を指定するポインティングデバイスであり、前記強度導
出手段は、前記2点を結ぶベクトルの両端それぞれで前
記ベクトルに直交する仮想線で原画像を区画し、前記両
仮想線で挟まれた中間領域から外れた原画像の一方の端
部領域についはシャープネス処理の強度を均一に強く
し、前記中間領域から外れた原画像の他方の端部領域に
ついてはシャープネス処理の強度を均一に弱くし、か
つ、前記中間領域については前記一方の端部領域のシャ
ープネス処理強度から前記他方の端部領域のシャープネ
ス処理強度にわたって、前記ベクトルの方向にシャープ
ネス処理の強度が次第に変化するように各画素のシャー
プネス処理の強度を求める。
According to a fifth aspect of the present invention, in the apparatus according to the fourth aspect, the processing direction designating means designates at least two arbitrary points on the original image displayed on the image display means. The intensity deriving means divides the original image by virtual lines orthogonal to the vector at both ends of the vector connecting the two points, and one of the original images deviated from the intermediate region sandwiched by the two virtual lines. Of the edge region of the sharpening process is uniformly increased, the intensity of the sharpness process is uniformly decreased for the other end region of the original image deviated from the intermediate region, and the intermediate region is From the sharpness processing strength of one end region to the sharpness processing strength of the other end region, the sharpness processing strength gradually increases in the vector direction. Determining the intensity of the sharpness processing of the pixels to vary.

【0010】請求項6に記載の発明は、原画像の輪郭部
分の階調変化を強調したり、逆に低減させたりする画像
のシャープネス処理をコンピュータに実行させるための
プログラムを記録した記憶媒体であって、少なくともシ
ャープネス処理の強度を次第に変化させるべき方向を、
表示画面に映し出された原画像上で指定する処理方向指
定過程と、前記指定されたシャープネス処理の方向にシ
ャープネス処理の強度が次第に変化するように、原画像
中の各画素のシャープネス処理の強度を求める強度導出
過程と、前記求められた各画素のシャープネス処理の強
度に従って原画像をシャープネス処理する処理過程とを
コンピュータに実行させるためのプログラムを記録した
ことを特徴とする。
According to a sixth aspect of the present invention, there is provided a storage medium in which a program for causing a computer to execute image sharpness processing for emphasizing a gradation change in an outline portion of an original image and conversely reducing the gradation change is provided. There is at least a direction in which the strength of sharpness processing should be gradually changed,
The process of specifying the processing direction on the original image displayed on the display screen, and the strength of the sharpness processing of each pixel in the original image is changed so that the strength of the sharpness processing gradually changes in the specified sharpness processing direction. It is characterized in that a program for causing a computer to execute the required intensity deriving process and the process of performing the sharpness processing of the original image according to the obtained intensity of the sharpness processing of each pixel is recorded.

【0011】[0011]

【作用】請求項1に記載の発明の作用は次のとおりであ
る。例えば遠近のある被写体を撮影して得られた原画像
が表示画面に映し出される。この原画像中の遠景と近景
を結ぶ方向(遠近方向)に合うように、シャープネス処
理の強度を次第に変化させるべき方向を原画像上で指定
する。その方向にシャープネス処理の強度が次第に変化
するように、原画像中の各画素のシャープネス処理の強
度を求める。例えば、原画像中の近景から遠景にわたっ
てシャープネスを次第に低減させるようなシャープネス
処理のパラメータが求められる。このような処理条件の
下に原画像にシャープネス処理を施すと、原画像中の近
景の輪郭がくっきりとし、遠景になるに従ってボカシの
かかった画像が得られ、画像の遠近感や立体感が効果的
に表現される。
The operation of the invention described in claim 1 is as follows. For example, an original image obtained by photographing a subject at a distance is displayed on the display screen. The direction in which the strength of the sharpness processing should be gradually changed is specified on the original image so as to match the direction (distance direction) connecting the distant view and the near view in the original image. The strength of the sharpness processing of each pixel in the original image is obtained so that the strength of the sharpness processing gradually changes in that direction. For example, a sharpness processing parameter that gradually reduces sharpness from a near view to a distant view in the original image is required. When sharpness processing is applied to the original image under these processing conditions, the contours of the foreground in the original image become sharper and blurry images are obtained as the image becomes more distant and the perspective and stereoscopic effect of the image are effective. Is expressed as

【0012】請求項2に記載の発明によれば、シャープ
ネス処理の強度を次第に変化させるべき方向ともに、シ
ャープネス処理を施すべき最も適切な範囲が原画像上で
指定されるので、画像の遠近感や立体感が一層効果的に
表現される。
According to the second aspect of the present invention, the most appropriate range in which the sharpness processing should be performed is specified on the original image in both the direction in which the strength of the sharpness processing should be gradually changed, and thus the perspective of the image and the The three-dimensional effect is more effectively expressed.

【0013】請求項3に記載の発明によれば、シャープ
ネス処理の強度を次第に変化させるべき方向と、シャー
プネス処理を施すべき範囲とが、原画像上の少なくとも
任意の2点を指示することによって指定される。例え
ば、原画像の近景領域中の1点と、遠景領域中の1点を
それぞれ指示する。この2点を結ぶベクトルの方向によ
ってシャープネス処理の強度を次第に変化させるべき方
向が指定される。また、このベクトルの両端それぞれ
で、このベクトルに直交する仮想線で原画像を区画する
ことによって、シャープネス処理を施すべき範囲が指定
される。具体的には、両仮想線で挟まれた中間領域で
は、指定されたベクトルの方向にシャープネス処理の強
度が次第に変化し、中間領域を外れた原画像の一方の端
部領域ではシャープネス処理の強度が均一に強く設定さ
れ、他方の端部領域ではシャープネス処理の強度が均一
に弱く設定される。その結果、原画像中の例えば近景領
域は、均一に輪郭がくっきりとし、中間領域は遠景領域
に向かって次第にボカシの程度が強くなり、遠景領域で
は均一に比較的強いボカシのかかった、遠近感にあふれ
た画像が得られる。
According to the third aspect of the present invention, the direction in which the strength of the sharpness processing should be gradually changed and the range in which the sharpness processing is to be performed are designated by designating at least two arbitrary points on the original image. To be done. For example, one point in the near view area of the original image and one point in the distant view area are designated. The direction of the vector connecting these two points specifies the direction in which the strength of the sharpness processing should be gradually changed. In addition, by dividing the original image at both ends of this vector with virtual lines orthogonal to this vector, the range to be subjected to the sharpness processing is specified. Specifically, the strength of sharpness processing gradually changes in the direction of the specified vector in the intermediate area sandwiched between both virtual lines, and the strength of sharpness processing in one end area of the original image outside the intermediate area. Is set uniformly and strongly, and the strength of the sharpness processing is uniformly set weak in the other end region. As a result, for example, the foreground region in the original image has a uniform sharp contour, and the intermediate region gradually becomes more blurred toward the distant view region. An image full of images can be obtained.

【0014】請求項4に記載の発明によれば、画像表示
手段に映し出された原画像上で、例えば原画像の遠近方
向に合わせて、シャープネス処理の強度を次第に変化さ
せるべき方向が処理方向指定手段によって指定される。
強度導出手段は、指定された方向にシャープネス処理の
強度が次第に変化するように、原画像中の各画素のシャ
ープネス処理強度を求める。各画素のシャープネス処理
強度に基づいて、処理手段が原画像をシャープネス処理
することにより、原画像の遠近方向に合わせてシャープ
ネス処理の強度が変化した画像が得られる。
According to the fourth aspect of the invention, on the original image displayed on the image display means, the processing direction is designated as the direction in which the strength of the sharpness processing should be gradually changed in accordance with the perspective direction of the original image, for example. Specified by means.
The intensity deriving unit obtains the sharpness processing intensity of each pixel in the original image such that the intensity of the sharpness processing gradually changes in the designated direction. The processing means sharpens the original image based on the sharpness processing intensity of each pixel, thereby obtaining an image in which the intensity of the sharpness processing is changed in accordance with the perspective direction of the original image.

【0015】請求項5に記載の発明によれば、画像表示
手段に映し出された原画像上で、例えばマウスなどのポ
インティングデバイスを使って、原画像上の例えば近景
領域内の1点と遠景領域内の1点とが指定される。強度
導出手段は、請求項3の発明で説明したと同様の手順
で、2本の仮想線で挟まれた原画像の中間領域ではシャ
ープネス処理の強度が次第に変化するように、また、原
画像の一方の端部領域ではシャープネス処理の強度が均
一に強くなるように、他方の端部領域ではシャープネス
処理の強度を均一に弱くなるように、原画像の各画素の
シャープネス処理の強度を求める。以下、請求項4の発
明装置と同様に、処理手段が原画像にシャープネス処理
を施す。
According to the invention of claim 5, on the original image displayed on the image display means, for example, by using a pointing device such as a mouse, for example, one point in the foreground area and the distant view area on the original image. And one of them is specified. The intensity deriving means uses the same procedure as described in the invention of claim 3 so that the intensity of the sharpness processing gradually changes in the intermediate region of the original image sandwiched by the two virtual lines, and The strength of the sharpness processing is calculated for each pixel of the original image so that the strength of the sharpness processing is uniformly increased in one end area and the strength of the sharpness processing is uniformly decreased in the other end area. Thereafter, the processing means performs sharpness processing on the original image, as in the apparatus according to the fourth aspect of the present invention.

【0016】請求項6に記載の発明によれば、その記憶
媒体に記録されたプログラムをコンピュータに読み込ま
せることにより、そのコンピュータが請求項1の発明方
法に対応する画像のシャープネス処理を実行する。
According to the invention described in claim 6, by causing a computer to read the program recorded in the storage medium, the computer executes the sharpness processing of the image corresponding to the method of the invention of claim 1.

【0017】[0017]

【発明の実施の形態】以下、図面を参照して本発明の一
実施例を説明する。図1は、本発明に係る画像のシャー
プネス処理装置の一実施例の概略構成を示したブロック
図である。
BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a schematic configuration of an embodiment of an image sharpness processing device according to the present invention.

【0018】本実施例に係る画像のシャープネス処理装
置はコンピュータシステムで構成されている。原画像に
対してシャープネス処理を実行するCPU10が、バス
ライインBLを介して、RAMで構成された内部メモリ
20に接続されている。この内部メモリ20内には、シ
ャープネス処理を実行する際にプログラムが移植される
プログラムメモリ21、シャープネス処理の種々の条件
を記憶する設定値メモリ22、原画像データが格納され
る原画像メモリ23、シャープネス処理された画像デー
タが格納される出力画像メモリ24などの各領域がそれ
ぞれ設定されている。また、CPU10は入出力インタ
ーフェイス30を介して、外部記憶装置用ドライバ3
1、表示器32、キーボード33、マウス34、および
イメージセッター35に接続されている。
The image sharpness processing apparatus according to this embodiment is composed of a computer system. A CPU 10 that executes sharpness processing on an original image is connected to an internal memory 20 composed of a RAM via a bus line BL. In the internal memory 20, a program memory 21 into which a program is ported when executing the sharpness processing, a set value memory 22 that stores various conditions of the sharpness processing, an original image memory 23 that stores original image data, Each area such as the output image memory 24 in which the image data subjected to the sharpness processing is stored is set. The CPU 10 also controls the external storage device driver 3 via the input / output interface 30.
1, a display 32, a keyboard 33, a mouse 34, and an imagesetter 35.

【0019】外部記憶装置用ドライバ31には、原画像
データを記憶した外部記憶装置36やシャープネス処理
のプログラムを記憶した外部記憶装置37が装填され
る。外部記憶装置36,37は、光磁気ディスク、CD
−ROM、フロッピーディスク、磁気テープなどで構成
される。外部記憶装置36から取り込まれた原画像デー
タは原画像メモリ23に、外部記憶装置37から取り込
まれた処理プログラムはプログラムメモリ21に、それ
ぞれ記憶される。
The external storage device driver 31 is loaded with an external storage device 36 storing original image data and an external storage device 37 storing a sharpness processing program. The external storage devices 36 and 37 are a magneto-optical disk, a CD
-ROM, floppy disk, magnetic tape, etc. The original image data fetched from the external storage device 36 is stored in the original image memory 23, and the processing program fetched from the external storage device 37 is stored in the program memory 21.

【0020】表示器32には原画像メモリ23に記憶さ
れた原画像が表示されるとともに、シャープネス処理の
種々の条件を設定するための入力画面が表示される。キ
ーボード33およびマウス34は、表示器32に映し出
された原画像上の少なくとも2点を指定したり、シャー
プネス処理の種々の条件を入力設定するために用いられ
る。また、表示器32は、シャープネス処理が行なわれ
て出力画像メモリ24に格納されたシャープネス処理済
の画像を表示して、その効果を確認することにも使われ
る。
The display 32 displays the original image stored in the original image memory 23 and an input screen for setting various conditions for the sharpness processing. The keyboard 33 and the mouse 34 are used to specify at least two points on the original image displayed on the display 32, and to input and set various conditions for sharpness processing. The display 32 is also used to display the image subjected to the sharpness processing and stored in the output image memory 24, which has been subjected to the sharpness processing, and to confirm the effect.

【0021】イメージセッター35は、出力画像メモリ
24に格納されたシャープネス処理済みの画像を刷版や
フィルムに高精度に焼き付ける記録用スキャナなどで構
成されている。
The imagesetter 35 is composed of a recording scanner or the like for printing the sharpness-processed image stored in the output image memory 24 on a printing plate or film with high precision.

【0022】上述した実施例装置における原画像メモリ
23は本発明装置における原画像データ記憶手段に、表
示器32は画像表示手段に、マウス34は処理方向指定
手段の一例としてのポインティングデバイスに、CPU
10は強度導出手段および処理手段に、それぞれ相当す
る。また、外部記憶装置37は、本発明におけるプログ
ラムを記録した記憶媒体に相当する。
The original image memory 23 in the above-described embodiment apparatus is the original image data storage means in the apparatus of the present invention, the display 32 is the image display means, the mouse 34 is the pointing device as an example of the processing direction designating means, and the CPU
Reference numeral 10 corresponds to a strength deriving means and a processing means, respectively. The external storage device 37 corresponds to a storage medium in which the program according to the present invention is recorded.

【0023】以下、実施例装置の動作を図2のフローチ
ャートを参照して説明する。 ステップS1:外部記憶装置37から処理プログラムを
プログラムメモリ21に移植した後、外部記憶装置36
からシャープネス処理の対象となる原画像のデータを原
画像メモリ23に取り込む。本実施例では、原画像デー
タとして赤(R),緑(G),B(青)の3原色成分を
取り込む。取り込んだ原画像を表示器32に映し出す。
The operation of the embodiment apparatus will be described below with reference to the flowchart of FIG. Step S1: After porting the processing program from the external storage device 37 to the program memory 21, the external storage device 36
Then, the data of the original image to be subjected to the sharpness processing is loaded into the original image memory 23. In this embodiment, three primary color components of red (R), green (G) and B (blue) are taken in as the original image data. The captured original image is displayed on the display 32.

【0024】ステップS2:表示器32にウインドウ表
示された条件設定用画面からシャープネス処理の種別を
選定する。シャープネス処理の種別には、原画像の輪郭
を強調する『シャープネス強調処理』と、輪郭にボカシ
をかける『ボカシ処理(スムージング処理)』とがあ
る。オペレータの意図によって、いずれかの処理を選択
する。
Step S2: The type of sharpness processing is selected from the condition setting screen displayed on the display 32 as a window. The types of sharpness processing include "sharpness enhancement processing" that emphasizes the contour of the original image and "blurring processing (smoothing processing)" that blurs the contour. Either process is selected according to the operator's intention.

【0025】ステップS3:表示器32に映し出された
原画像上でシャープネス処理の方向・範囲を示すベクト
ルを指示する。以下、図4を参照して具体的に説明す
る。図4は表示器32に映し出された原画像の一例を示
している。この原画像は近景領域A,遠景領域B,およ
びその中間領域Cを含んでいる。いま、オペレータが、
原画像の遠景領域Bにボカシをかけることによって、画
像の遠近感を高めようと意図しているとする。この場
合、オペレータはステップS2で、『ボカシ処理』を選
択する。そして、このステップS3では、マウス34を
使って原画像上の少なくとも2点PS ,PE を指示す
る。点PS は、ボカシをかけたくない近景領域Aと、ボ
カシを徐々にかけてゆきたい中間領域Cとの境目あたり
を、オペレータが適宜に指示する。点PE は、点PS
基準としてボカシの程度を次第に変化させてゆきたい方
向、すなわち原画像の遠近の方向であって、かつ中間領
域Cと遠景領域Bの境目あたりを、オペレータが適宜に
指定する。
Step S3: A vector indicating the direction / range of sharpness processing is designated on the original image displayed on the display 32. Hereinafter, a specific description will be given with reference to FIG. FIG. 4 shows an example of the original image displayed on the display 32. This original image includes a near view area A, a distant view area B, and an intermediate area C therebetween. Now the operator
It is assumed that the intention is to enhance the perspective of the image by blurring the distant view area B of the original image. In this case, the operator selects "blurring process" in step S2. Then, in this step S3, at least two points P S and P E on the original image are designated by using the mouse 34. At the point P S , the operator appropriately designates the boundary between the foreground area A where it is not desired to blur and the intermediate area C where it is desired to blur gradually. The point P E is a direction in which it is desired to gradually change the degree of blurring with the point P S as a reference, that is, a direction in the perspective of the original image, and the operator appropriately sets the boundary area between the intermediate region C and the distant view region B. Specify in.

【0026】以上のようにして指示された2点PS ,P
E を結ぶベクトルVの方向で、シャープネス処理の強度
を次第に変化させるべき方向を指定する。また、PS
Eの位置によってシャープネス処理を施すべき範囲を
指定する。シャープネス処理を施すべき範囲は次のよう
にして確定するようにプログラムされている。以下、図
5を参照する。ベクトルVの両端それぞれでベクトルV
に直交する仮想線KS,KE をCPU10が処理実行過
程で求め、この仮想線KS ,KE で原画像を区画してシ
ャープネス処理を施すべき範囲を決定する。すなわち、
仮想線KS で区画された原画像の一方の端部領域(近景
領域)Aは、シャープネス処理(この例ではボカシ処
理)が施されず、仮想線KE で区画された原画像の他方
の端部領域(遠景領域)Bは、シャープネス処理(この
例ではボカシ処理)が最も強く施される。そして、仮想
線KS ,KE で挟まれた中間領域Cは、ベクトルVの方
向にシャープネス処理の強度(ボカシの度合い)が次第
に強くなるように各画素のシャープネス処理の強度が決
められる。各画素のシャープネス処理の強度を導出する
過程の詳細は後述する。
Two points P S and P designated as described above
The direction of the vector V connecting the E 's specifies the direction in which the strength of the sharpness processing should be gradually changed. Also, P S ,
A range to be sharpened is specified by the position of P E. The range to be sharpened is programmed to be determined as follows. Hereinafter, FIG. 5 will be referred to. Vector V at both ends of vector V
The CPU 10 obtains virtual lines K S and K E which are orthogonal to the line in the process execution process, and the original image is divided by the virtual lines K S and K E to determine the range to be subjected to the sharpness processing. That is,
One end region (near view region) A of the original image partitioned by the virtual line K S is not subjected to sharpness processing (blurring process in this example), and the other end region of the original image is partitioned by the virtual line K E. The sharpness process (blurring process in this example) is most strongly applied to the edge region (distant view region) B. Then, in the intermediate region C sandwiched by the virtual lines K S and K E , the sharpness processing intensity of each pixel is determined so that the sharpness processing intensity (degree of blurring) gradually increases in the direction of the vector V. Details of the process of deriving the intensity of the sharpness processing of each pixel will be described later.

【0027】ステップS4:シャープネス処理の際にア
ンシャープマスク信号(図9の(b)参照)を作成する
のに用いるマスクサイズを選定する。本実施例では、3
×3画素のマスクと、5×5画素のマスクと、7×7画
素のマスクとが用意されている。原画像の緻密さを強調
したい場合などでは小サイズのマスクが選択され、その
逆の場合は大サイズのマスクが選択される。
Step S4: Select a mask size used to create an unsharp mask signal (see FIG. 9B) during sharpness processing. In this embodiment, 3
A mask of × 3 pixels, a mask of 5 × 5 pixels, and a mask of 7 × 7 pixels are prepared. A small size mask is selected when it is desired to emphasize the fineness of the original image, and a large size mask is selected in the opposite case.

【0028】ステップS5:シャープネス処理の処理特
性を設定する。以下、図6を参照して説明する。図6は
シャープネス処理の処理特性を示した模式図であり、横
軸が図4,図5に示したベクトルV上の位置に対応し、
縦軸は各位置に対応したシャープネス処理の強度であ
る。処理強度Nは規格化されていて、ベクトルVの始点
S では『0』(未処理)、ベクトルVの終点PE では
『1』(最大強度)に設定されている。このステップS
5では、ベクトルVの中間位置にあたる点PM の処理強
度NM をオペレータが適宜に指定する。中間位置の処理
強度が指定されると、その点(PM ,NM )を通る滑ら
かな変換特性(例えば、二次関数など)をCPU10が
自動設定する。
Step S5: The processing characteristic of the sharpness processing is set. This will be described below with reference to FIG. FIG. 6 is a schematic diagram showing processing characteristics of sharpness processing, where the horizontal axis corresponds to the position on the vector V shown in FIGS. 4 and 5,
The vertical axis represents the strength of sharpness processing corresponding to each position. Processing intensity N is not standardized, the starting point P in S "0" (untreated) of the vector V, is set to the end point P E of the vector V "1" (maximum intensity). This step S
In 5, the operator appropriately specifies the processing intensity N M of the point P M which is the intermediate position of the vector V. When the processing intensity at the intermediate position is designated, the CPU 10 automatically sets a smooth conversion characteristic (for example, a quadratic function) passing through the point (P M , N M ).

【0029】ステップS6:シャープネス処理強度の最
大値Kを設定する。図6に示した規格化された変換特性
における最大強度『1』における、シャープネス処理の
強度を数値で設定する。したがって、ベクトルV上にお
ける各位置におけるシャープネス処理の強度(パラメー
タ)Fは、図6の変換特性で決まる規格化された処理強
度Nと、このステップS6で指定された処理強度の最大
値Kとの乗算値(F=K・N)で表される。以上のステ
ップS2〜S6で設定された処理条件は、設定値メモリ
22に保存される。
Step S6: The maximum value K of the sharpness processing strength is set. The strength of the sharpness processing at the maximum strength "1" in the standardized conversion characteristic shown in FIG. 6 is set by a numerical value. Therefore, the strength (parameter) F of the sharpness processing at each position on the vector V is the normalized processing strength N determined by the conversion characteristics of FIG. 6 and the maximum value K of the processing strength designated in step S6. It is represented by a multiplication value (F = K · N). The processing conditions set in the above steps S2 to S6 are stored in the set value memory 22.

【0030】ステップS7:ステップS6までの処理に
よって指摘されたシャープネス処理の条件に基づいて、
原画像中の各画素のシャープネス処理の強度を算出す
る。以下、このステップS7の処理を図3に示したフロ
ーチャートを参照して説明する。
Step S7: Based on the sharpness processing condition pointed out by the processing up to step S6,
The strength of sharpness processing of each pixel in the original image is calculated. The process of step S7 will be described below with reference to the flowchart shown in FIG.

【0031】原画像に注目画素を順に設定し、その注目
画素が図5に示した仮想線KS ,K E で区画される領域
A,B,Cのいずれに属するかを判定する(ステップS
1)。その注目画素が図5の領域Aに属するものであ
る場合は、その注目画素に規格化された処理強度Nとし
て『0』を設定する(ステップS72 )。その注目画素
が図5の領域Bに属する場合は、その注目画素に規格化
された処理強度Nとして『1』を設定する(ステップS
3 )。
Pixels of interest are sequentially set in the original image, and the
The pixel is the imaginary line K shown in FIG.S, K EArea divided by
It is determined which of A, B and C belongs (step S
71). The pixel of interest belongs to the area A in FIG.
If it is, the processing intensity N standardized for the pixel of interest is set.
To set "0" (step S7)2). The pixel of interest
Is included in the area B in FIG. 5, the pixel of interest is standardized.
"1" is set as the processed intensity N (step S
73).

【0032】一方、その注目画素が図5の領域Cに属す
るものである場合は、その注目画素が図5のベクトルV
上のどの位置に対応するかを求める。具体的に図5に示
すようにC領域に属する点QからベクトルVに下した垂
線の交点Pi の位置を求める(ステップS74 )。指定
された2点PS ,PE の位置および注目画素Qの位置は
それぞれ既知であるので、交点Pi の位置は幾何学的に
簡単に算出することができる。交点Pi の位置が求まる
と、図6に示した処理特性から注目画素Q点の規格化さ
れた処理強度Ni を求める(ステップS75 )。以上の
説明から明らかなように、ベクトルVに直交する垂線上
の各点には同じ強さ処理強度が設定され、始点PS から
終点PE に向かうに従って処理強度が高くなってゆく。
On the other hand, if the pixel of interest belongs to the area C of FIG. 5, the pixel of interest is the vector V of FIG.
Find which position above corresponds. Specifically determine the position of an intersection P i of a perpendicular line which defeated the Q points belonging to the region C to the vector V as shown in FIG. 5 (Step S7 4). Since the positions of the designated two points P S and P E and the position of the target pixel Q are known, the position of the intersection P i can be geometrically easily calculated. When the position of the intersection point P i is obtained, determine the normalized processing force N i of the target pixel point Q from the process characteristics shown in FIG. 6 (step S7 5). As is clear from the above description, the same strength processing intensity is set at each point on the perpendicular line orthogonal to the vector V, and the processing intensity increases from the starting point P S toward the ending point P E.

【0033】ステップS8:原画像の各画素の規格化さ
れた処理強度Nを求めると、次に示す各式に基づいて原
画像の各画素をシャープネス処理してゆく。 rij=Rij±K・N(S−U) ……(1) gij=Gij±K・N(S−U) ……(2) bij=Bij±K・N(S−U) ……(3) 上式(1)〜(3)において、rij,gij,bijはシャ
ープネス処理された画素のRGB成分、Rij,Gij,B
ijは原画像の画素のRGB成分、Sは原画像の画素のグ
レー成分である。このグレー成分は、例えば各画素の色
成分の平均値(S=(Rij+Gij+Bij)/3 )で求
められる。Uは原画像のグレー成分Sのアンシャープ信
号であり、ステップS4で設定されたサイズのマスクを
使って求められる。(1)〜(3)式中の『±』は、ス
テップS2で設定されるシャープネス処理の種別に応じ
て決まるもので、『シャープネス強調処理』が選択され
た場合は『+』に、『ボカシ処理』が選択された場合は
『─』に、それぞれ設定される。KはステップS6で設
定された処理強度の最大値、NはステップS7で導出さ
れた原画像の各画素の規格化された処理強度である。
Step S8: When the standardized processing intensity N of each pixel of the original image is obtained, each pixel of the original image is sharpened based on the following equations. r ij = R ij ± K · N (S−U) …… (1) g ij = G ij ± K · N (S−U) …… (2) b ij = B ij ± K · N (S− U) (3) In the above formulas (1) to (3), r ij , g ij , and b ij are RGB components of pixels subjected to sharpness processing, R ij , G ij , and B.
ij is the RGB component of the pixel of the original image, and S is the gray component of the pixel of the original image. The gray component is obtained, for example, by the average value (S = (R ij + G ij + B ij ) / 3) of the color components of each pixel. U is an unsharp signal of the gray component S of the original image and is obtained using the mask of the size set in step S4. “±” in the equations (1) to (3) is determined according to the type of sharpness processing set in step S2. When “sharpness enhancement processing” is selected, “+” is displayed and “blur” is displayed. When "Process" is selected, each is set to "-". K is the maximum value of the processing intensity set in step S6, and N is the standardized processing intensity of each pixel of the original image derived in step S7.

【0034】ステップS9:原画像の各画素がシャープ
ネス処理されると、その画像データは出力画像メモリ2
4に格納され、必要に応じてイメージセッター35に出
力される。この例では『ボカシ処理』が選択されている
ので、図4中の近景領域Aは輪郭がくっきりし、中間領
域CはベクトルVの方向にボカシが次第にかかってゆ
き、遠景領域Bはボカシが強くかかった出力画像が得ら
れる。
Step S9: When each pixel of the original image is sharpened, the image data is output to the output image memory 2
4 and is output to the imagesetter 35 as needed. In this example, since the "blurring process" is selected, the foreground region A in FIG. 4 has a sharp contour, the intermediate region C is gradually blurred in the direction of the vector V, and the distant view region B is strongly blurred. The output image thus obtained is obtained.

【0035】本発明は上述の実施例に限らず次のように
変形実施することもできる。 (1)図7に示すように遠景領域B側に始点PS を、近
景領域A側に終点PE をそれぞれ指定し、シャープネス
処理の種別として『シャープネス強調処理』を選択して
もよい。このようにすれば、遠景領域Bはシャープネス
強調処理が施されず、中間領域CではベクトルVの方向
(始点PE から終点PS に向かう方向)にシャープネス
強調の程度が次第に強くなり、近景領域では強くシャー
プネス強調されるので、上述の実施例と同様に遠近感に
あふれた画像が得られる。
The present invention is not limited to the above embodiment, but can be modified as follows. (1) As shown in FIG. 7, the start point P S may be specified on the distant view area B side and the end point P E may be specified on the near view area A side, and “sharpness enhancement processing” may be selected as the type of sharpness processing. By doing so, the distant view area B is not subjected to the sharpness enhancement processing, and in the intermediate area C, the degree of sharpness enhancement gradually increases in the direction of the vector V (direction from the starting point P E to the ending point P S ), and the near view area is obtained. Since sharpness is strongly emphasized, an image full of perspective can be obtained as in the above-described embodiment.

【0036】(2)上述の実施例では原画像上の2点を
指示することによってシャープネス処理の強度を次第に
変化させるべき方向と、シャープネス処理を施す範囲と
を設定したが、3点以上の各点を指示してシャープネス
処理の方向と範囲を設定してもよい。例えば図8に示す
ように、まず『ボカシ処理』を選択して遠景領域側に始
点PS1と終点PE1で決まるベクトルV1 を指示する。続
いて、『シャープネス強調処理』を選択して近景領域側
に始点PS2と終点PE2で決まるベクトルV2 を指示す
る。この場合、まず、一対の指示点PS1,PE1に基づい
て原画像の各画素の第1の処理強度を求める。続いて、
もう一対の指示点PS2,PE2に基づいて原画像の各画素
の第2の処理強度を求める。そして、原画像の各画素に
ついて、前記第1の処理強度と第2の処理強度の平均強
度を求め、これらの平均強度に基づいて原画像をシャー
プネス処理する。その結果、図8の例では、領域Cにつ
いてはシャープネス処理が施されず、領域Bはベクトル
2 の方向に次第にシャープネス強調の度合いが強くな
り、領域Aは均一に強くシャープネス強調される。ま
た、領域DはベクトルV1 の方向に次第にボカシの度合
いが強くなり、領域Eは均一に強くボカシ処理される。
(2) In the above-described embodiment, the direction in which the strength of the sharpness processing should be gradually changed by designating two points on the original image and the range in which the sharpness processing is performed are set. You may specify a point and set the direction and range of sharpness processing. For example, as shown in FIG. 8, first, "blurring process" is selected and a vector V 1 determined by the start point P S1 and the end point P E1 is designated on the distant view area side. Then, the "sharpness enhancement process" is selected, and the vector V 2 determined by the start point P S2 and the end point P E2 is specified on the near view area side. In this case, first, the first processing intensity of each pixel of the original image is obtained based on the pair of designated points P S1 and P E1 . continue,
The second processing intensity of each pixel of the original image is obtained based on the other pair of designated points P S2 and P E2 . Then, for each pixel of the original image, the average intensity of the first processing intensity and the second processing intensity is obtained, and the original image is sharpened based on these average intensities. As a result, in the example of FIG. 8, the sharpness processing is not performed on the area C, the degree of sharpness enhancement is gradually increased in the area B in the direction of the vector V 2 , and the area A is uniformly and strongly sharpened. Further, the degree of blurring gradually increases in the area D in the direction of the vector V 1 , and the area E is uniformly and strongly blurred.

【0037】(3)また、実施例ではシャープネス処理
の方向と範囲とを指定するようにしたが、原画像上で指
示した2点によってシャープネス処理の方向のみを設定
するようにしてもよい。この場合、シャープネス処理の
強度は、指示された2点によって決まるベクトルの方向
に一律に変化してゆくようにすればよい。
(3) Further, in the embodiment, the direction and range of sharpness processing are designated, but only the direction of sharpness processing may be set by two points designated on the original image. In this case, the strength of the sharpness processing may be uniformly changed in the direction of the vector determined by the two designated points.

【0038】(4)実施例では、原画像のグレー成分を
抽出し、そのグレー成分からアンシャープ信号を求め、
そのアンシャープ信号を使ってRGB成分それぞれにシ
ャープネス処理を施すように構成したが、原画像のRG
B成分それぞれからアンシャープ信号を求めて各色成分
にシャープネス処理を施すようにしてもよい。
(4) In the embodiment, the gray component of the original image is extracted, the unsharp signal is obtained from the gray component,
The unsharp signal was used to perform sharpness processing on each of the RGB components.
It is also possible to obtain an unsharp signal from each of the B components and perform sharpness processing on each color component.

【0039】(5)また、本発明はRGB色成分のシャ
ープネス処理に限らず、原画像の黄(Y),マゼンタ
(M),シアン(C),墨(K)の各色成分にシャープ
ネス処理を施す場合にも適用することができる。
(5) Further, the present invention is not limited to the sharpness processing of the RGB color components, but the sharpness processing is performed on each color component of yellow (Y), magenta (M), cyan (C) and black (K) of the original image. It can also be applied when applied.

【0040】[0040]

【発明の効果】以上の説明から明らかなように、本発明
によれば次の効果を奏する。請求項1に記載の画像のシ
ャープネス処理方法によれば、原画像の遠近方向に合わ
せて、シャープネス処理の強度を次第に変化させること
ができるので、画像の遠近感や立体感を効果的に表現す
ることができる。
As is apparent from the above description, the present invention has the following effects. According to the image sharpness processing method of the first aspect, the strength of the sharpness processing can be gradually changed according to the perspective direction of the original image, so that the perspective and stereoscopic effect of the image are effectively expressed. be able to.

【0041】請求項2に記載の画像のシャープネス処理
方法によれば、シャープネス処理を施すべき最も適切な
範囲が原画像上で指定されるので、画像の遠近感や立体
感が一層効果的に表現できる。
According to the image sharpness processing method of the second aspect, since the most appropriate range to be sharpened is specified on the original image, the perspective and stereoscopic effect of the image are more effectively expressed. it can.

【0042】請求項3に記載の画像のシャープネス処理
方法によれば、原画像上の少なくとも2点を指定するこ
とによって、原画像の遠近方向に合わせてシャープネス
処理の強度を変化させるべき方向と、シャープネス処理
の範囲とを指定できるので、遠近感や立体感にあふれた
画像を容易に得ることができる。
According to the image sharpness processing method of the third aspect, by specifying at least two points on the original image, the direction in which the strength of the sharpness processing should be changed in accordance with the perspective direction of the original image, Since the range of sharpness processing can be specified, it is possible to easily obtain an image full of perspective and stereoscopic effect.

【0043】請求項4に記載の画像のシャープネス処理
装置によれば、画像の遠近方向に合わせてシャープネス
処理の強度が次第に変化した、遠近感や立体感にあふれ
た画像を得ることができる。
According to the image sharpness processing device of the fourth aspect, it is possible to obtain an image full of perspective and stereoscopic effect in which the strength of the sharpness processing is gradually changed according to the perspective direction of the image.

【0044】請求項5に記載の画像のシャープネス処理
装置によれば、画像表示手段に映し出された原画像上の
少なくとも任意の2点を、マウスのようなポインティン
グデバイスを使って指定することにより、原画像上の所
望の範囲について、画像の遠近方向に合わせてシャープ
ネス処理の強度を次第に変化させることができるので、
遠近感や立体感に富んだ画像を容易に得ることができ
る。
According to the image sharpness processing device of the fifth aspect, at least two arbitrary points on the original image displayed on the image display means are designated by using a pointing device such as a mouse. For the desired range on the original image, the strength of sharpness processing can be gradually changed according to the perspective direction of the image.
Images with rich perspective and stereoscopic effect can be easily obtained.

【0045】請求項6に記載のプログラムを記録した記
憶媒体によれば、画像の遠近方向に合わせてシャープネ
ス処理の強度を次第に変化させるシャープネス処理をコ
ンピュータに実行させることができる。
According to the storage medium having the program according to the sixth aspect, it is possible to cause the computer to execute the sharpness processing for gradually changing the strength of the sharpness processing according to the perspective direction of the image.

【図面の簡単な説明】[Brief description of drawings]

【図1】シャープネス処理装置の一実施例の概略構成を
示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of an embodiment of a sharpness processing device.

【図2】実施例装置の処理手順を示すフローチャートで
ある。
FIG. 2 is a flowchart showing a processing procedure of the embodiment apparatus.

【図3】各画素の処理強度算出過程の手順を示すフロー
チャートである。
FIG. 3 is a flowchart showing a procedure of a process intensity calculation process of each pixel.

【図4】原画像上でシャープネス処理の方向および範囲
を指定する様子を示した図である。
FIG. 4 is a diagram showing how to specify a direction and range of sharpness processing on an original image.

【図5】動作説明に供する図である。FIG. 5 is a diagram for explaining the operation.

【図6】変換特性の模式図である。FIG. 6 is a schematic diagram of conversion characteristics.

【図7】シャープネス処理の方向および範囲を指定する
別の態様を示した図である。
FIG. 7 is a diagram showing another aspect of designating the direction and range of sharpness processing.

【図8】シャープネス処理の方向および範囲を指定する
別の態様を示した図である。
FIG. 8 is a diagram showing another aspect of designating the direction and range of sharpness processing.

【図9】従来のシャープネス処理の説明に供する図であ
る。
FIG. 9 is a diagram for explaining a conventional sharpness process.

【符号の説明】[Explanation of symbols]

10…CPU 20…内部メモリ 21…プログラムメモリ 22…設定値メモリ 23…原画像メモリ 24…出力画像メモリ 30…入出力インターフェイス 31…ドライバ 32…表示器 34…マウス 35…イメージセッター 36,37…外部記憶装置 10 ... CPU 20 ... Internal memory 21 ... Program memory 22 ... Set value memory 23 ... Original image memory 24 ... Output image memory 30 ... I / O interface 31 ... driver 32 ... Indicator 34 ... Mouse 35 ... Imagesetter 36, 37 ... External storage device

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平5−61970(JP,A) 特開 昭60−225280(JP,A) 特開 昭62−182977(JP,A) 特開 平2−171867(JP,A) 特開 平6−83955(JP,A) 特開 平7−21365(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06T 5/20 H04N 1/409 ─────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-5-61970 (JP, A) JP-A-60-225280 (JP, A) JP-A-62-182977 (JP, A) JP-A-2- 171867 (JP, A) JP 6-83955 (JP, A) JP 7-21365 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) G06T 5/20 H04N 1 / 409

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 原画像の輪郭部分の階調変化を強調した
り、逆に低減させたりする画像のシャープネス処理方法
であって、 少なくともシャープネス処理の強度を次第に変化させる
べき方向を、表示画面に映し出された原画像上で指定す
る処理方向指定過程と、 前記指定されたシャープネス処理の方向にシャープネス
処理の強度が次第に変化するように、原画像中の各画素
のシャープネス処理の強度を求める強度導出過程と、 前記求められた各画素のシャープネス処理の強度に従っ
て原画像をシャープネス処理する処理過程とを備えたこ
とを特徴とする画像のシャープネス処理方法。
1. A sharpness processing method for an image, which emphasizes a gradation change of an outline portion of an original image or reduces the gradation change, and at least a direction in which the strength of the sharpness processing should be gradually changed is displayed on a display screen. A process direction designating process for designating on the projected original image, and intensity derivation for obtaining the sharpness processing intensity of each pixel in the original image so that the intensity of the sharpness processing gradually changes in the designated sharpness processing direction. An image sharpness processing method comprising: a process; and a process of performing a sharpness process on an original image according to the obtained strength of the sharpness process for each pixel.
【請求項2】 請求項1に記載の方法において、 前記処理方向指定過程では、シャープネス処理の強度を
次第に変化させるべき方向とともに、シャープネス処理
を施すべき範囲を原画像上で指定する画像のシャープネ
ス処理方法。
2. The method according to claim 1, wherein, in the processing direction designating process, a sharpness process of an image is performed in which a range in which the sharpness process is to be gradually changed and a range in which the sharpness process is to be performed are specified on the original image. Method.
【請求項3】 請求項2に記載の方法において、 前記処理方向指定過程では、表示画面に映し出された原
画像上で少なくとも任意の2点を指定することによっ
て、前記2点を結ぶベクトルの方向でシャープネス処理
の強度を次第に変化させるべき方向を指定するととも
に、前記ベクトルの両端それぞれで前記ベクトルに直交
する仮想線で原画像を区画してシャープネス処理を施す
べき範囲を指定し、 前記強度導出過程では、前記両仮想線で挟まれた中間領
域から外れた原画像の一方の端部領域についはシャープ
ネス処理の強度を均一に強くし、前記中間領域から外れ
た原画像の他方の端部領域についはシャープネス処理の
強度を均一に弱くし、かつ、前記中間領域については前
記一方の端部領域のシャープネス処理強度から前記他方
の端部領域のシャープネス処理強度にわたって、前記ベ
クトルの方向にシャープネス処理の強度が次第に変化す
るように各画素のシャープネス処理の強度を求める画像
のシャープネス処理方法。
3. The method according to claim 2, wherein in the processing direction designating process, at least two arbitrary points are designated on an original image displayed on a display screen, thereby designating a direction of a vector connecting the two points. Specifies the direction in which the strength of sharpness processing should be gradually changed, and specifies the range to be sharpened by partitioning the original image with virtual lines orthogonal to the vector at both ends of the vector. Then, the strength of the sharpness processing is uniformly increased for one end region of the original image that is deviated from the intermediate region sandwiched by the virtual lines, and the other end region of the original image that is deviated from the intermediate region is increased. Reduces the strength of sharpness processing uniformly, and for the intermediate region, the sharpness processing strength of the one end region is changed to the other end region. Over sharpness processing intensity, sharpness processing method of an image to determine the intensity of the sharpness processing for each pixel such that the intensity of the sharpness processing in the direction gradually changes in the vector.
【請求項4】 原画像の輪郭部分の階調変化を強調した
り、逆に低減させたりする画像のシャープネス処理装置
であって、 原画像の各画素の画像データを記憶する原画像データ記
憶手段と、 画像を表示する画像表示手段と、 前記原画像データ記憶手段から読み出された原画像を前
記画像表示手段に映し出し、少なくともシャープネス処
理の強度を次第に変化させるべき方向を前記画像表示手
段に映し出された原画像上で指定する処理方向指定手段
と、 前記指定されたシャープネス処理の方向にシャープネス
処理の強度が次第に変化するように、原画像中の各画素
のシャープネス処理の強度を求める強度導出手段と、 前記求められた各画素のシャープネス処理の強度に従っ
て原画像をシャープネス処理する処理手段とを備えたこ
とを特徴とする画像のシャープネス処理装置。
4. An image sharpness processing device for emphasizing or conversely reducing the gradation change in the contour portion of an original image, the original image data storing means for storing image data of each pixel of the original image. An image display means for displaying an image, an original image read out from the original image data storage means is displayed on the image display means, and at least a direction in which the strength of sharpness processing should be gradually changed is displayed on the image display means. Processing direction designating means for designating on the original image, and strength deriving means for obtaining the sharpness processing strength of each pixel in the original image so that the strength of the sharpness processing gradually changes in the designated sharpness processing direction. And processing means for sharpening the original image according to the obtained strength of the sharpness processing of each pixel. Sharpness processing apparatus for an image.
【請求項5】 請求項4に記載の装置において、 前記処理方向指定手段は、前記画像表示手段に映し出さ
れた原画像上の少なくとも任意の2点を指定するポイン
ティングデバイスであり、 前記強度導出手段は、前記2点を結ぶベクトルの両端そ
れぞれで前記ベクトルに直交する仮想線で原画像を区画
し、前記両仮想線で挟まれた中間領域から外れた原画像
の一方の端部領域についはシャープネス処理の強度を均
一に強くし、前記中間領域から外れた原画像の他方の端
部領域についはシャープネス処理の強度を均一に弱く
し、かつ、前記中間領域については前記一方の端部領域
のシャープネス処理強度から前記他方の端部領域のシャ
ープネス処理強度にわたって、前記ベクトルの方向にシ
ャープネス処理の強度が次第に変化するように各画素の
シャープネス処理の強度を求める画像のシャープネス処
理装置。
5. The apparatus according to claim 4, wherein the processing direction designating unit is a pointing device that designates at least two arbitrary points on the original image displayed on the image display unit, and the intensity deriving unit. Defines the original image with virtual lines that are orthogonal to the vector at both ends of the vector that connects the two points, and sharpness is provided for one end region of the original image that deviates from the intermediate region sandwiched between the two virtual lines. The strength of the process is uniformly increased, and the strength of the sharpness process is uniformly weakened for the other end region of the original image that is deviated from the intermediate region, and the sharpness of the one end region is increased for the intermediate region. From the processing strength to the sharpness processing strength of the other end region, the intensity of the sharpness processing of each pixel is gradually changed in the direction of the vector. Sharpness processing apparatus for an image to determine the intensity of Yapunesu process.
【請求項6】 原画像の輪郭部分の階調変化を強調した
り、逆に低減させたりする画像のシャープネス処理をコ
ンピュータに実行させるためのプログラムを記録した記
憶媒体であって、 少なくともシャープネス処理の強度を次第に変化させる
べき方向を、表示画面に映し出された原画像上で指定す
る処理方向指定過程と、 前記指定されたシャープネス処理の方向にシャープネス
処理の強度が次第に変化するように、原画像中の各画素
のシャープネス処理の強度を求める強度導出過程と、 前記求められた各画素のシャープネス処理の強度に従っ
て原画像をシャープネス処理する処理過程とをコンピュ
ータに実行させるためのプログラムを記録した記憶媒
体。
6. A storage medium recording a program for causing a computer to execute image sharpness processing for emphasizing or conversely reducing the gradation change of the contour portion of the original image, the storage medium comprising at least the sharpness processing The direction in which the intensity should be gradually changed is specified in the process direction specifying process on the original image displayed on the display screen, and the intensity of the sharpness process is gradually changed in the specified sharpness process in the original image. A storage medium recording a program for causing a computer to execute the intensity derivation process for obtaining the intensity of the sharpness process of each pixel, and the process of performing the sharpness process of the original image according to the obtained intensity of the sharpness process of each pixel.
JP14392997A 1996-09-10 1997-06-02 Image sharpness processing method and apparatus, and storage medium storing program Expired - Fee Related JP3492151B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14392997A JP3492151B2 (en) 1996-09-10 1997-06-02 Image sharpness processing method and apparatus, and storage medium storing program

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP8-238278 1996-09-10
JP23827896 1996-09-10
JP14392997A JP3492151B2 (en) 1996-09-10 1997-06-02 Image sharpness processing method and apparatus, and storage medium storing program

Publications (2)

Publication Number Publication Date
JPH10145604A JPH10145604A (en) 1998-05-29
JP3492151B2 true JP3492151B2 (en) 2004-02-03

Family

ID=26475514

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14392997A Expired - Fee Related JP3492151B2 (en) 1996-09-10 1997-06-02 Image sharpness processing method and apparatus, and storage medium storing program

Country Status (1)

Country Link
JP (1) JP3492151B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109829927A (en) * 2019-01-31 2019-05-31 深圳职业技术学院 A kind of electronic glasses and high-altitude scene image method for reconstructing

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009037625A (en) * 2001-09-11 2009-02-19 Seiko Epson Corp Image processing using subject information
JP2010015607A (en) * 2003-11-05 2010-01-21 Seiko Epson Corp Image processing apparatus and image processing method
JP5094219B2 (en) * 2006-06-29 2012-12-12 パナソニック株式会社 Image processing apparatus, image processing method, program, recording medium, and integrated circuit
JP2013132018A (en) * 2011-12-22 2013-07-04 Sharp Corp Image processing device, imaging device, display device, image processing method, and image processing program
JP5881005B2 (en) * 2011-12-19 2016-03-09 シャープ株式会社 Image processing apparatus, image capturing apparatus, image display apparatus, image processing method, and program
JP5916199B2 (en) * 2011-12-22 2016-05-11 シャープ株式会社 Image processing apparatus, imaging apparatus, display apparatus, image processing method, and image processing program
WO2013094635A1 (en) * 2011-12-19 2013-06-27 シャープ株式会社 Image processing device, imaging device, and display device
KR101475146B1 (en) * 2013-06-18 2014-12-22 (주) 넥스트칩 Apparatus and method for controlling strength of edge based on area

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109829927A (en) * 2019-01-31 2019-05-31 深圳职业技术学院 A kind of electronic glasses and high-altitude scene image method for reconstructing

Also Published As

Publication number Publication date
JPH10145604A (en) 1998-05-29

Similar Documents

Publication Publication Date Title
US6094511A (en) Image filtering method and apparatus with interpolation according to mapping function to produce final image
US5978519A (en) Automatic image cropping
US6667815B1 (en) Method and apparatus for processing images
US6990249B2 (en) Image processing methods and image processing apparatus
US7298917B2 (en) Image processing program product and device for executing Retinex processing
EP1412920B1 (en) A general purpose image enhancement algorithm which augments the visual perception of detail in digital images
US6115078A (en) Image sharpness processing method and apparatus, and a storage medium storing a program
US6628830B1 (en) Image processing method and apparatus and storage medium
US10477128B2 (en) Neighborhood haze density estimation for single-image dehaze
US20040190787A1 (en) Image noise reduction
JP4368513B2 (en) Image processing method and apparatus, and recording medium
US20080240602A1 (en) Edge mapping incorporating panchromatic pixels
EP1139284B1 (en) Method and apparatus for performing local color correction
JP2000115539A (en) Method and device for processing image and recording medium
JP2002044473A (en) Image processing method, image processing apparatus, and recording medium storing program for executing image processing method
US20050135701A1 (en) Image sharpening
JP3492151B2 (en) Image sharpness processing method and apparatus, and storage medium storing program
JP2001209802A (en) Face extraction method and apparatus, and recording medium
JP2000207548A (en) Method for controlling tone scale of digital image
JP2001175843A (en) Image processing method, apparatus and storage medium
JP4304846B2 (en) Image processing method and recording medium recording image processing program
CN110728647A (en) Underwater image enhancement method and device, storage medium and terminal
JPH10208038A (en) Image processing method and image processing apparatus
JPH10340332A (en) Image processor, image processing method and medium recording image processing control program
JP7012457B2 (en) Image processing device, image processing method

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071114

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081114

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091114

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091114

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091114

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees