JPH09233342A - Contour emphasis method - Google Patents

Contour emphasis method

Info

Publication number
JPH09233342A
JPH09233342A JP8038233A JP3823396A JPH09233342A JP H09233342 A JPH09233342 A JP H09233342A JP 8038233 A JP8038233 A JP 8038233A JP 3823396 A JP3823396 A JP 3823396A JP H09233342 A JPH09233342 A JP H09233342A
Authority
JP
Japan
Prior art keywords
image
signal
value
contour
gradation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP8038233A
Other languages
Japanese (ja)
Other versions
JP3714491B2 (en
Inventor
Yasuko Sonoda
泰子 園田
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.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film 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 Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP03823396A priority Critical patent/JP3714491B2/en
Publication of JPH09233342A publication Critical patent/JPH09233342A/en
Application granted granted Critical
Publication of JP3714491B2 publication Critical patent/JP3714491B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To conduct proper contour emphasis depending on a characteristic by detecting a gradation characteristic of an object image and changing the level of the contour emphasis signal based on the detected gradation characteristic. SOLUTION: A film image is scanned and point sequential R, G, B digital images are received by an integration block 41 via a CCD line sensor 14 and an A/D converter 18 or the like. The integration block 41 generates gradation data in an integration area with respect to one image pattern and a frequency of each gradation is counted based on the generated gradation data, a simple histogram is generated and outputted to a CPU 40. The CPU 40 obtains a reference minimum value and a reference maximum value of the digital image signal and obtains a selection signal representing a kind of a selected contour emphasis processing and outputs them to a digital signal processing circuit 20, which conducts the contour emphasis processing of a kind represented by the selection signal.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は輪郭強調方法に係
り、特に画像信号に輪郭強調信号を加算して被写体画像
の輪郭強調を行う輪郭強調方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a contour enhancement method, and more particularly to a contour enhancement method for adding a contour enhancement signal to an image signal to enhance the contour of a subject image.

【0002】[0002]

【従来の技術】従来、フイルムの各駒に撮影されたフイ
ルム画像をCCD等の撮像素子で撮像し、この撮像画像
をTVモニタ等の表示装置に再生表示する画像再生装置
が知られている。このような画像再生装置において、特
開平6−253147号公報には、撮影条件に応じて輪
郭補正処理等を適応させ、好適な画質に補正する画像再
生装置が提案されている。
2. Description of the Related Art Conventionally, there has been known an image reproducing apparatus for photographing a film image photographed on each frame of a film by an image pickup device such as CCD and reproducing and displaying the picked-up image on a display device such as a TV monitor. In such an image reproducing apparatus, Japanese Patent Application Laid-Open No. 6-253147 proposes an image reproducing apparatus that applies contour correction processing and the like according to shooting conditions and corrects the image quality to a suitable one.

【0003】[0003]

【発明が解決しようとする課題】ところで、画像のシャ
ープネス感はフイルムに記録されたフイルム画像の階調
特性に最も影響を受ける。例えば、階調のダイナミック
レンジが狭くコントラストの少ない(眠い)画像は、そ
うでないものに比べて、シャープネス不足に感じられ
る。逆に、フイルム画像のダイナミックレンジが広くコ
ントラストの高い画像は、シャープネスが良く見える。
The sharpness of an image is most affected by the gradation characteristics of the film image recorded on the film. For example, an image with a narrow gradation dynamic range and a low contrast (sleepy) is perceived as having insufficient sharpness as compared with an image that is not. On the contrary, an image with a wide dynamic range and a high contrast has a good sharpness.

【0004】このため、双方に同じ輪郭強調処理を行う
と、最終的な画像の印象が全く異なったものになり、コ
ントラストの少ない画像と同量の輪郭強調信号をコント
ラストの高い画像に加算すると、画質劣化が起こる。従
って、輪郭補正処理を自動で適正に行うためには、画像
の特徴を何らかの形で判断する必要があった。本発明は
このような事情に鑑みてなされたもので、画像の特徴を
自動で判断し、適正な輪郭強調処理を行う輪郭強調方法
を提供することを目的とする。
Therefore, if the same edge enhancement processing is performed on both sides, the final image will have a completely different impression, and if the same amount of edge enhancement signals as an image with low contrast is added to an image with high contrast, Image quality deteriorates. Therefore, in order to automatically and properly perform the contour correction processing, it is necessary to judge the features of the image in some form. The present invention has been made in view of such circumstances, and an object of the present invention is to provide a contour enhancement method that automatically determines the features of an image and performs appropriate contour enhancement processing.

【0005】[0005]

【課題を解決するための手段】本発明は前記目的を達成
するために、被写体を撮像して得られる画像信号に輪郭
強調信号を加算するようにした輪郭強調方法において、
被写体画像の階調特性を検出し、この検出した階調特性
に基づいて輪郭強調信号の大きさを変化させるようにし
たことを特徴としている。
In order to achieve the above-mentioned object, the present invention provides a contour enhancement method for adding a contour enhancement signal to an image signal obtained by imaging a subject,
The feature is that the gradation characteristic of the subject image is detected, and the magnitude of the contour emphasis signal is changed based on the detected gradation characteristic.

【0006】本発明によれば、例えば、画像信号から画
像信号の基準最大値及び基準最小値を検出するととも
に、基準最大値及び基準最小値との差又は比を算出す
る。そして、この差又は比が階調の豊富さを判断する基
準値以下の場合には、前記輪郭強調信号を通常より強く
して加算する。これにより、画質劣化を引き起こすこと
なく、画像の特徴に応じて適正な輪郭強調処理を行うこ
とができる。
According to the present invention, for example, the reference maximum value and the reference minimum value of the image signal are detected from the image signal, and the difference or ratio between the reference maximum value and the reference minimum value is calculated. If this difference or ratio is less than or equal to the reference value for determining the richness of gradation, the contour enhancement signal is made stronger than usual and added. As a result, it is possible to perform appropriate contour enhancement processing according to the characteristics of the image without causing image quality deterioration.

【0007】[0007]

【発明の実施の形態】以下添付図面に従って本発明に係
る輪郭強調方法の好ましい実施の形態を詳説する。図1
は本発明が適用されるフイルムスキャナの一実施の形態
を示す要部ブロック図である。このフイルムスキャナ
は、主として照明用の光源10、撮影レンズ12、CC
Dラインセンサ14、アナログアンプ16、A/Dコン
バータ18、デジタル信号処理回路20、モータ31、
キャプスタン32及びピンチローラ33を含むフイルム
駆動装置、中央処理装置(CPU)40等を備えてい
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of a contour emphasizing method according to the present invention will be described below in detail with reference to the accompanying drawings. FIG.
FIG. 1 is a block diagram of essential parts showing an embodiment of a film scanner to which the present invention is applied. This film scanner mainly includes a light source 10 for illumination, a photographing lens 12, and a CC.
D line sensor 14, analog amplifier 16, A / D converter 18, digital signal processing circuit 20, motor 31,
A film drive device including a capstan 32 and a pinch roller 33, a central processing unit (CPU) 40, and the like are provided.

【0008】光源10は、フイルムカートリッジ50内
から引き出される現像済みのネガフイルム52を図示し
ない赤外カットフィルタを介して照明し、フイルム52
を透過した透過光は、撮影レンズ12を介してCCDラ
インセンサ14の受光面に結像される。CCDラインセ
ンサ14は、フイルム搬送方向と直交する方向に102
4画素分の受光部が配設されており、CCDラインセン
サ14の受光面に結像された画像光は、R、G、Bフィ
ルタが設けられて各受光部で電荷蓄積され、光の強さに
応じた量のR、G、Bの信号電荷に変換される。このよ
うにして蓄積されたR、G、Bの電荷は、CCD駆動回
路15から加えられる1ライン周期のリードゲートパル
スが加えられると、シフトレジスタに転送されたのちレ
ジスタ転送パルスによって順次電圧信号として出力され
る。また、このCCDラインセンサ14は、各受光部に
隣接してシャッターゲート及びシャッタードレインが設
けられており、このシャッターゲートをシャッターゲー
トパルスによって駆動することにより、受光部に蓄積さ
れた電荷をシャッタードレインに掃き出すことができ
る。即ち、このCCDラインセンサ14は、CCD駆動
回路15から加えれるシャッターゲートパルスに応じて
受光部に蓄積する電荷を制御することができる、いわゆ
る電子シャッター機能を有している。
The light source 10 illuminates the developed negative film 52 drawn out from the film cartridge 50 through an infrared cut filter (not shown), and the film 52 is illuminated.
The transmitted light transmitted through is imaged on the light receiving surface of the CCD line sensor 14 via the taking lens 12. The CCD line sensor 14 is placed in the direction 102 orthogonal to the film transport direction.
A light receiving portion for four pixels is provided, and the image light imaged on the light receiving surface of the CCD line sensor 14 is provided with R, G, and B filters, and charges are accumulated in each light receiving portion. It is converted into R, G, and B signal charges in an amount corresponding to the height. The R, G, and B charges accumulated in this way are transferred to the shift register when a read gate pulse of one line cycle applied from the CCD drive circuit 15 is applied, and then sequentially converted into voltage signals by register transfer pulses. Is output. Further, the CCD line sensor 14 is provided with a shutter gate and a shutter drain adjacent to each light receiving portion. By driving this shutter gate with a shutter gate pulse, the electric charge accumulated in the light receiving portion is shutter drained. Can be swept up to. That is, the CCD line sensor 14 has a so-called electronic shutter function capable of controlling the electric charge accumulated in the light receiving portion according to the shutter gate pulse applied from the CCD drive circuit 15.

【0009】上記CCDラインセンサ14から読み出さ
れたR、G、B電圧信号は、図示しないCDSクランプ
によってクランプされてアナログアンプ16に加えら
れ、ここで後述するようにゲインが制御される。アナロ
グアンプ16から出力される1コマ分のR、G、B電圧
信号はA/Dコンバータ18によって点順次のR、G、
Bデジタル画像信号に変換されたのち、デジタル信号処
理回路20によって白バランス、黒バランス、ネガポジ
反転、ガンマ補正、輪郭補正等が行われ、YCC変換回
路35によって輝度信号Yとクロマ信号Cr,b に変換
される。そして、輝度信号Yとクロマ抑圧回路36を経
由したクロマ信号Cr,b は、図示しない画像メモリに
記憶される。
The R, G, B voltage signals read from the CCD line sensor 14 are clamped by a CDS clamp (not shown) and added to the analog amplifier 16, and the gain is controlled as described later. The R, G, B voltage signals for one frame output from the analog amplifier 16 are dot-sequential R, G, B by the A / D converter 18.
After being converted into the B digital image signal, the digital signal processing circuit 20 performs white balance, black balance, negative / positive inversion, gamma correction, contour correction, etc., and the YCC conversion circuit 35 performs the luminance signal Y and the chroma signals C r, C. converted to b . Then, the luminance signal Y and the chroma signals C r and C b passed through the chroma suppression circuit 36 are stored in an image memory (not shown).

【0010】尚、画像メモリに記憶された1コマ分の輝
度信号Yとクロマ信号Cr,b は、繰り返し読み出さ
れ、D/Aコンバータによってアナログ信号に変換され
たのち、エンコーダでNTSC方式の複合映像信号に変
換されてモニタTVやプリンタ等の画像出力装置に出力
される。これにより、モニタTVやプリンタによってフ
イルム画像を見ることができるようになる。
The luminance signal Y and the chroma signals C r, C b for one frame stored in the image memory are repeatedly read and converted into analog signals by the D / A converter, and then the NTSC system is used by the encoder. Is converted into a composite video signal and output to an image output device such as a monitor TV or a printer. As a result, the film image can be viewed on the monitor TV or the printer.

【0011】フイルム駆動装置は、フイルムカートリッ
ジ50のスプール50Aと係合し、そのスプール50A
を正転/逆転駆動するフイルム供給部と、このフイルム
供給部から送出されるフイルム52を巻き取るフイルム
巻取部と、フイルム搬送路に配設され、フイルム52を
モータ31によって駆動されるキャプスタン32とピン
チローラ33とで挟持してフイルム52を所望の速度で
搬送する手段とから構成されている。尚、上記フイルム
供給部は、フイルムカートリッジ50のスプール50A
を図1上で時計回り方向に駆動し、フイルム先端がフイ
ルム巻取部によって巻き取られるまでフイルムカートリ
ッジ50からフイルム52を送り出すようにしている。
また、CPU40は、モータ回転数/方向制御回路34
を通じてモータ31の正転/逆転、起動/停止、パルス
幅変調によるフイルム搬送速度の制御を行うことができ
る。
The film drive device engages with the spool 50A of the film cartridge 50, and the spool 50A
A film supply unit that drives the film in the normal / reverse direction, a film winding unit that winds the film 52 sent from the film supply unit, and a capstan that is disposed in the film transport path and that drives the film 52 by a motor 31. It is constituted by means for sandwiching it between 32 and the pinch roller 33 and conveying the film 52 at a desired speed. The film supply section is a spool 50A of the film cartridge 50.
1 is driven clockwise in FIG. 1 to feed the film 52 from the film cartridge 50 until the leading end of the film is wound by the film winding section.
Further, the CPU 40 controls the motor speed / direction control circuit 34.
Through this, the forward / reverse rotation of the motor 31, the start / stop, and the film transport speed by pulse width modulation can be controlled.

【0012】さて、フイルムカートリッジ50がカート
リッジ収納部(図示せず)にセットされ、フイルムカー
トリッジ50からフイルム52が送り出されてフイルム
先端がフイルム巻取部の巻取軸に巻き付けられると(フ
イルムローディングが完了すると)、フイルム52が一
定速度で搬送される。これにより、フイルム画像のスキ
ャンが行われ、CCDラインセンサ14、アナログアン
プ16及びA/Dコンバータ18を介して積算ブロック
41に点順次のR、G、Bデジタル画像信号が取り込ま
れる。
Now, when the film cartridge 50 is set in the cartridge storing portion (not shown), the film 52 is sent out from the film cartridge 50 and the leading end of the film is wound around the winding shaft of the film winding portion (the film loading is When completed), the film 52 is transported at a constant speed. As a result, the film image is scanned, and the dot-sequential R, G, B digital image signals are captured by the integrating block 41 via the CCD line sensor 14, the analog amplifier 16 and the A / D converter 18.

【0013】積算ブロック41は、R、G、Bデジタル
画像信号毎に所定の積算エリアのデジタル画像信号の階
調(本実施例では、9ビット(0〜511)の階調)を
積算し、その積算エリアの平均階調を求め、1画面に付
き5000〜10000点数の積算エリアの各階調デー
タを作成する。更に、積算ブロック41は、順次作成さ
れる階調データに基づいて各階調毎の度数をカウント
し、この度数が階調データの総点数に対して設定された
閾値TH(本実施例では総点数の1%)を越えた場合に
はカウントを停止する。即ち、積算ブロック41は、図
2に示すように0〜511までの全ての階調に対して最
大閾値THまでカウントした簡易ヒストグラム(図2中
の斜線で示すヒストグラム)を作成し、CPU40に出
力する。尚、上記閾値THを越える度数をカウントしな
いことにより、カウンタのビット数を大幅に低減するこ
とができる。また、図2上で2点鎖線は、総点数をカウ
ントした場合の本来のヒストグラムである。
The integrating block 41 integrates the gradations (9-bit (0 to 511) gradations) of the digital image signals in a predetermined integration area for each R, G, B digital image signal, The average gradation of the integrated area is obtained, and each gradation data of the integrated area of 5000 to 10000 points is created per screen. Furthermore, the integration block 41 counts the frequency for each gradation based on the gradation data that is sequentially created, and this frequency is a threshold value TH (the total number of points in this embodiment) set for the total number of points of the gradation data. 1%) of the above, the counting is stopped. That is, the integration block 41 creates a simple histogram (histogram shown by diagonal lines in FIG. 2) that counts up to the maximum threshold value TH for all gradations from 0 to 511 as shown in FIG. To do. The number of bits of the counter can be greatly reduced by not counting the frequency that exceeds the threshold TH. The two-dot chain line in FIG. 2 is the original histogram when the total number of points is counted.

【0014】CPU40は、図2に示した簡易ヒストグ
ラムの階調の小さい方から度数を順次累算し、その累算
度数が前記閾値THと一致又は最初に越えたときの階調
を基準最小値としてR、G、B毎に求めるとともに、簡
易ヒストグラムの階調の大きい方から度数を順次累算
し、その累算度数が前記閾値THと一致又は最初に越え
たときの階調を基準最大値としてR、G、B毎に求め
る。尚、以下の説明において、基準最小値をDmin 、基
準最大値をDmax とし、Dmin 、Dmax はR、G、Bの
いずれかの基準最小値、基準最大値を示す。
The CPU 40 sequentially accumulates frequencies from the smallest gradation of the simple histogram shown in FIG. 2, and the gradation when the accumulated frequency matches or first exceeds the threshold value TH is a reference minimum value. As the R, G, and B values, the frequencies are sequentially accumulated from the one with the highest gradation in the simple histogram, and the gradation when the accumulated frequency matches or first exceeds the threshold TH is the reference maximum value. As R, G, B. In the following description, the reference minimum value is D min and the reference maximum value is D max, and D min and D max are reference minimum values or reference maximum values of any of R, G, and B.

【0015】そして、このようにして求めたデジタル画
像信号の基準最小値Dmin と基準最大値Dmax のデータ
をデジタル信号処理回路20に出力する。デジタル信号
処理回路20は、これらのデータに基づいて白バラン
ス、黒バランスの調整を行う。また、CPU40は基準
最小値Dmin と基準最大値Dmax のデータに基づいて適
正な輪郭強調処理を選択し(「通常」、「強」、「弱」
の3通りの輪郭強調処理から適正な輪郭強調処理を選択
する。尚、詳細は後述する。)、この選択した輪郭強調
処理の種類を示す選択信号をデジタル信号処理回路20
に出力する。デジタル信号処理回路20はこの選択信号
の示す種類の輪郭強調処理を行う。以下、この輪郭強調
処理について詳説する。
Then, the data of the reference minimum value D min and the reference maximum value D max of the digital image signal thus obtained are output to the digital signal processing circuit 20. The digital signal processing circuit 20 adjusts white balance and black balance based on these data. Further, the CPU 40 selects an appropriate contour enhancement process based on the data of the reference minimum value D min and the reference maximum value D max (“normal”, “strong”, “weak”).
The appropriate contour enhancement processing is selected from the three types of contour enhancement processing. The details will be described later. ), The digital signal processing circuit 20 outputs a selection signal indicating the selected type of contour enhancement processing.
Output to The digital signal processing circuit 20 performs the edge enhancement processing of the type indicated by this selection signal. Hereinafter, this outline emphasis processing will be described in detail.

【0016】上述したようにCPU40は基準最小値D
min と基準最大値Dmax のデータに基づいて「通常」、
「強」、「弱」の3通りの輪郭強調処理の内から適正な
輪郭強調処理を選択する。「強」の輪郭強調処理の場
合、「通常」の場合より大きな輪郭強調信号が画像信号
に加えられ、「弱」の輪郭強調処理の場合、「通常」の
場合より小さな輪郭強調信号が画像信号に加えられるよ
うになっている。
As described above, the CPU 40 sets the reference minimum value D
"Normal" based on the data of min and the reference maximum value D max ,
An appropriate contour enhancement process is selected from among three types of contour enhancement processes of “strong” and “weak”. In the case of "strong" contour enhancement processing, a larger contour enhancement signal is added to the image signal than in "normal", and in the case of "weak" contour enhancement processing, a smaller contour enhancement signal is added to the image signal. To be added to.

【0017】具体的には、基準最大値Dmax と基準最小
値Dmin の差(基準最大値Dmax −基準最小値D
min (以下、ダイナミックレンジと称す))が階調の豊
富さを判断する基準値より大きい場合、即ち、コントラ
ストの高い画像の場合には、「通常」を選択する。即
ち、ダイミックレンジが上記基準値より大きい場合に
は、シャープネスが良く見えるため「通常」の輪郭強調
処理を行う。
Specifically, the difference between the reference maximum value D max and the reference minimum value D min (reference maximum value D max -reference minimum value D min
When min (hereinafter referred to as the dynamic range)) is larger than the reference value for judging the richness of gradation, that is, in the case of an image with high contrast, “normal” is selected. That is, when the dimic range is larger than the above reference value, the sharpness can be seen well, so the "normal" contour enhancement processing is performed.

【0018】一方、ダイナミックレンジが上記基準値以
下の場合、即ち、コントラストの低い画像の場合には、
基準最大値Dmax によって「強」、「弱」のいずれかを
選択する。基準最大値Dmax が露光アンダーを判断する
ための基準値より大きい場合には、「強」を選択し、露
光アンダーを判断するための基準値以下の場合には、
「弱」を選択する。
On the other hand, when the dynamic range is less than the above reference value, that is, when the image has a low contrast,
Either “strong” or “weak” is selected according to the reference maximum value D max . When the reference maximum value D max is larger than the reference value for determining underexposure, “strong” is selected, and when the reference maximum value D max is less than or equal to the reference value for determining underexposure,
Select "Weak".

【0019】即ち、ダイナミックレンジが階調の豊富さ
を判断する基準値以下の場合には、コントラストの低い
画像であるため、「通常」より大きな輪郭強調信号を加
える。だだし、基準最大値Dmax が露光アンダーを判断
するための基準値以下の場合には、露光アンダーのため
に粒状性の悪い部分を使うことになり、フイルムの粒状
ノイズが多くなる。従って、あまり大きな輪郭強調信号
を加えると画質劣化がひどくなり、却って、画像を悪く
するため、「通常」より小さな輪郭強調信号を加えるよ
うにする。
That is, when the dynamic range is equal to or less than the reference value for judging the richness of gradation, since the image has a low contrast, a contour enhancement signal larger than "normal" is added. However, if the reference maximum value D max is less than or equal to the reference value for determining underexposure, a portion with poor graininess is used for underexposure, and the grain noise of the film increases. Therefore, if an excessively large contour emphasis signal is added, the image quality is deteriorated, and on the contrary, the image is deteriorated. Therefore, a contour emphasis signal smaller than "normal" is added.

【0020】尚、ダイナミックレンジが階調の豊富さを
判断する基準値以下の場合に、基準最大値Dmax によっ
て「強」と「弱」の2通りに分類していたが、「強」と
「弱」の間に「通常」を選択する範囲を設定してもよ
い。また、適正な輪郭強調処理を基準最大値Dmax と基
準最小値Dmin の差によって判断していたが、これに限
らず基準最大値Dmax と基準最小値Dmin の関数の値に
よって判断してもよい。例えば、基準最大値Dmax と基
準最小値Dmin の比でもよい。
When the dynamic range is equal to or less than the reference value for judging the richness of gradation, the reference maximum value D max is used to classify it into two types , "strong" and "weak". You may set the range which selects "normal" between "weak". Further, the proper contour enhancement processing is determined by the difference between the reference maximum value D max and the reference minimum value D min , but the present invention is not limited to this, and it is determined by the function value of the reference maximum value D max and the reference minimum value D min. May be. For example, the ratio between the reference maximum value D max and the reference minimum value D min may be used.

【0021】以上のようにしてCPU40が「通常」、
「強」、「弱」の3通りの輪郭強調処理からいずれかの
輪郭強調処理を選択すると、その選択した「通常」、
「強」、「弱」のいずれかを示す選択信号をデジタル信
号処理回路20の輪郭補正処理を行う輪郭強調処理部6
2(図3参照)に出力する。輪郭補正処理部62は、C
PU40から選択信号を入力すると、この選択信号の示
す「通常」、「強」、「弱」に応じた輪郭強調処理を行
う。
As described above, the CPU 40 is "normal",
When any one of the three types of contour enhancement processing of “strong” and “weak” is selected, the selected “normal”,
A contour enhancement processing unit 6 that performs contour correction processing of the digital signal processing circuit 20 on a selection signal indicating either “strong” or “weak”.
2 (see FIG. 3). The contour correction processing unit 62 uses C
When a selection signal is input from the PU 40, contour enhancement processing is performed according to “normal”, “strong”, and “weak” indicated by the selection signal.

【0022】図3は輪郭強調処理部62の一実施の形態
を示した構成図である。同図に示すように、輪郭強調処
理部62は、演算部64とメモリ66とから構成され
る。演算部64は、CPU40から入力した選択信号の
示す輪郭強調処理に対応したルックアップテーブルをメ
モリ66から読み出し、フィルタ処理及びコアリング処
理による輪郭強調処理の演算を行う。
FIG. 3 is a block diagram showing an embodiment of the contour emphasis processing section 62. As shown in the figure, the contour emphasis processing unit 62 includes a calculation unit 64 and a memory 66. The calculation unit 64 reads out a look-up table corresponding to the contour enhancement processing indicated by the selection signal input from the CPU 40 from the memory 66, and calculates the contour enhancement processing by the filter processing and the coring processing.

【0023】演算部64の構成をブロック図で示すと、
演算部64は同図に示すように、R、G、B毎の空間フ
ィルタ68A、68B、68Cとコアリング処理部70
A、70B、70Cとで示される。空間フィルタ68
A、68B、68Cは、5×5のフィルタ係数を有し、
図4(A)に示すように5×5の画像データの空間的配
置に対して、図4(B)に示すようにフィルタ係数が配
置される。そして、図4(A)に示す注目画素aに隣接
する5×5の画素のA11からA55まで(但し、A33は注
目画素a)の画素値と、図4(B)に示す5×5のフィ
ルタ係数(上下対称となっているためフィルタ係数はC
1からC15まで15個)との畳み込み積分を行い、この
演算結果値(フィルタ出力)a' をコアリング処理部7
0A、70B、70Cに出力する。
A block diagram of the configuration of the arithmetic unit 64 is as follows:
As shown in the figure, the calculation unit 64 includes spatial filters 68A, 68B and 68C for R, G and B and a coring processing unit 70.
A, 70B, and 70C. Spatial filter 68
A, 68B, 68C have 5 × 5 filter coefficients,
As shown in FIG. 4A, the filter coefficients are arranged as shown in FIG. 4B with respect to the spatial arrangement of 5 × 5 image data. Then, the pixel values of A 11 to A 55 (where A 33 is the target pixel a) of 5 × 5 pixels adjacent to the target pixel a shown in FIG. 4A and 5 shown in FIG. 4B. × 5 filter coefficient (Because it is vertically symmetrical, the filter coefficient is C
Convolutional integration with 1 to C 15 ) is performed, and the calculation result value (filter output) a ′ is calculated by the coring processing unit 7
Output to 0A, 70B, 70C.

【0024】コアリング処理部70A、70B、70C
は、注目画素aの画素値と空間フィルタのフィルタ出力
a' を入力し、図5に示す関数fによってフィルタ出力
a'を変換した値(輪郭強調信号の値)a''と注目画素
aの画素値とを加算した値(出力画素値)Aを出力す
る。 即ち、a''=f(a' )として、 A=a+a'' を出力する。
Coring processing units 70A, 70B, 70C
Is a value (outline emphasis signal value) a ″ obtained by converting the filter output a ′ by the function f shown in FIG. 5 by inputting the pixel value of the target pixel a and the filter output a ′ of the spatial filter and the target pixel a. A value (output pixel value) A obtained by adding the pixel value and the pixel value is output. That is, assuming that a ″ = f (a ′), A = a + a ″ is output.

【0025】一方、「通常」、「強」、「弱」の輪郭強
調処理に対する上記空間フィルタ68A、68B、68
Cのフィルタ係数と上記コアリング処理部70A、70
B、70Cの入力値に対する出力値はルックアップテー
ブルとしてメモリ66に記録されている。図6は、メモ
リ66に記録されたルックアップテーブルのデータ配列
パターンを示した図である。
On the other hand, the spatial filters 68A, 68B, 68 for the "normal", "strong", and "weak" contour enhancement processing.
The filter coefficient of C and the coring processing units 70A and 70
The output values corresponding to the input values of B and 70C are recorded in the memory 66 as a lookup table. FIG. 6 is a diagram showing a data array pattern of the lookup table recorded in the memory 66.

【0026】同図に示すように、メモリ66には、R、
G、B毎の空間フィルタ68A、68B、68Cのフィ
ルタ係数C1 からC15までのデータが順に記録されてい
る。また、R、G、B毎のコアリング処理部70A、7
0B、70Cに関して、注目画素aの画素値と空間フィ
ルタ68A、68B、68Cのフィルタ出力a' の値に
対応した出力画素値Aが順に記録されている。
As shown in the figure, the memory 66 stores R,
Data of the filter coefficients C 1 to C 15 of the spatial filters 68A, 68B, and 68C for G and B are recorded in order. Further, the coring processing units 70A, 7 for each of R, G, B
Regarding 0B and 70C, the output pixel value A corresponding to the pixel value of the target pixel a and the filter output a ′ of the spatial filters 68A, 68B, and 68C is recorded in order.

【0027】演算部64はCPU40から入力した選択
信号の示す輪郭強調処理に対応したルックアップテーブ
ルをメモリ66から読み出し、フィルタ係数を空間フィ
ルタ68A、68B、68Cにセットするとともに、コ
アリング処理部70A、70B、70C部に入力値に対
する出力値のデータをセットし、上述したようなフィル
タ処理とコアリング処理を行い、輪郭強調信号を加算し
た画像信号を出力する。
The computing unit 64 reads out a look-up table corresponding to the contour enhancement processing indicated by the selection signal input from the CPU 40 from the memory 66, sets the filter coefficients in the spatial filters 68A, 68B and 68C, and at the same time the coring processing unit 70A. , 70B and 70C, output value data corresponding to the input value is set, the above-described filter processing and coring processing are performed, and the image signal to which the edge enhancement signal is added is output.

【0028】尚、演算部64は、回路的に構成してもよ
いし、演算装置によってソフト的に上述した演算を行わ
せるようにしてもよい。以上の説明において、上記実施
の形態では簡易ヒストグラムからフイルム画像の濃度の
基準最小値及び基準最大値を求めるようにしたが、これ
に限らず基準最小値及び基準最大値を他の方法で求めて
もよい。
The arithmetic unit 64 may be constructed as a circuit, or the arithmetic unit may be made to perform the above-mentioned arithmetic operation by software. In the above description, in the above embodiment, the reference minimum value and the reference maximum value of the density of the film image are obtained from the simple histogram, but the present invention is not limited to this, and the reference minimum value and the reference maximum value may be obtained by another method. Good.

【0029】また、上記実施の形態では、輪郭強調処理
を「通常」、「強」、「弱」の3通りに分類したが、こ
れに限らず更に細かく段階を設けてもよい。また、本発
明は上記実施の形態のフイルムスキャナに限らず、デジ
タルカメラ等の画像処理の場合も、光量が足りない暗い
被写体には、ノイズが多いため、上記実施の形態と同様
の処理が必要であり、このような装置にも適用できる。
Further, in the above embodiment, the contour emphasis processing is classified into three types, “normal”, “strong”, and “weak”, but the present invention is not limited to this, and more detailed steps may be provided. Further, the present invention is not limited to the film scanner of the above-described embodiment, and even in the case of image processing of a digital camera or the like, a dark subject with insufficient light amount has a lot of noise, and therefore the same processing as that of the above-described embodiment is required. It is also applicable to such a device.

【0030】[0030]

【発明の効果】以上説明したように本発明に係る輪郭強
調方法によれば、被写体画像の階調特性を検出し、この
検出した階調特性に基づいて輪郭強調信号の大きさを変
化させるようにしたため、画質劣化を引き起こすことな
く、画像の特徴に応じて適正な輪郭強調処理を行うこと
ができる。これにより、階調差の少ない眠い画像も、他
の画像を犠牲にすることなく、シャープネスの良い画像
に補正することができる。また、ノイズの多い画像であ
る場合も、ノイズを増大しないように補正することがで
きる。
As described above, according to the contour emphasizing method of the present invention, the gradation characteristic of a subject image is detected, and the magnitude of the contour emphasizing signal is changed based on the detected gradation characteristic. Therefore, it is possible to perform the appropriate edge enhancement processing according to the characteristics of the image without causing the image quality deterioration. As a result, even a sleepy image with a small gradation difference can be corrected to an image with good sharpness without sacrificing other images. Further, even in the case of an image with a lot of noise, the noise can be corrected so as not to increase.

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

【図1】図1は、本発明が適用されるフイルムスキャナ
の一実施の形態を示した構成図である。
FIG. 1 is a configuration diagram showing an embodiment of a film scanner to which the present invention is applied.

【図2】図2は、基準最大値及び基準最小値の求め方を
説明するために用いたヒストグラムである。
FIG. 2 is a histogram used for explaining how to obtain a reference maximum value and a reference minimum value.

【図3】図3は、輪郭補正処理部の一実施の形態を示し
た構成図である。
FIG. 3 is a configuration diagram showing an embodiment of a contour correction processing unit.

【図4】図4は、空間フィルタのフイルタ係数と画像デ
ータの配列を示した図である。
FIG. 4 is a diagram showing a filter coefficient of a spatial filter and an array of image data.

【図5】図5は、コアリング処理に使用する関数を示し
た図である。
FIG. 5 is a diagram showing a function used for coring processing.

【図6】図6は、メモリ66に記録されたルックアップ
テーブルのデータ配列パターンを示した図である。
FIG. 6 is a diagram showing a data array pattern of a look-up table recorded in a memory 66.

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

10…光源 12…撮影レンズ 14…CCDラインセンサ 15…CCD駆動回路 18…A/Dコンバータ 20…デジタル信号処理回路 21、22、24…加算器 23、26…乗算器 25…ベースLUT 31…モータ 40…中央処理装置(CPU) 41…積算ブロック 42…アドレスデコーダ 43R〜45B…レジスタ 46、47、48…マルチプレクサ 50…フイルムカートリッジ 52…ネガフイルム 62…輪郭強調処理部 64…演算部 66…メモリ 68A、68B、68C…空間フィルタ 70A、70B、70C…コアリング処理部 10 ... Light source 12 ... Photographing lens 14 ... CCD line sensor 15 ... CCD drive circuit 18 ... A / D converter 20 ... Digital signal processing circuit 21, 22, 24 ... Adder 23, 26 ... Multiplier 25 ... Base LUT 31 ... Motor 40 ... Central processing unit (CPU) 41 ... Accumulation block 42 ... Address decoder 43R-45B ... Registers 46, 47, 48 ... Multiplexer 50 ... Film cartridge 52 ... Negative film 62 ... Edge enhancement processing unit 64 ... Arithmetic unit 66 ... Memory 68A , 68B, 68C ... Spatial filter 70A, 70B, 70C ... Coring processing unit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 被写体を撮像して得られる画像信号に輪
郭強調信号を加算するようにした輪郭強調方法におい
て、 被写体画像の階調特性を検出し、この検出した階調特性
に基づいて輪郭強調信号の大きさを変化させるようにし
たことを特徴とする輪郭強調方法。
1. A contour enhancement method in which a contour enhancement signal is added to an image signal obtained by picking up an image of a subject, the grayscale characteristic of a subject image is detected, and the contour enhancement is performed based on the detected grayscale characteristic. A contour enhancement method characterized in that the magnitude of a signal is changed.
【請求項2】 前記画像信号から該画像信号の基準最大
値及び基準最小値を検出するとともに、該基準最大値及
び基準最小値との差又は比を算出し、 前記差又は比が階調の豊富さを判断する基準値以下の場
合には、前記輪郭強調信号を通常より強くして加算する
ことを特徴とする請求項1の輪郭強調方法。
2. A reference maximum value and a reference minimum value of the image signal are detected from the image signal, and a difference or a ratio between the reference maximum value and the reference minimum value is calculated. 2. The contour enhancement method according to claim 1, wherein the contour enhancement signal is made stronger than usual and added when the value is equal to or less than a reference value for judging abundance.
【請求項3】 前記基準最大値が露光アンダーを判断す
るための基準値以下の場合には、前記輪郭強調信号を通
常より弱くして加算するようにしたことを特徴とする請
求項2の輪郭強調方法。
3. The contour according to claim 2, wherein when the reference maximum value is less than or equal to a reference value for determining underexposure, the contour emphasis signal is weaker than usual and added. Method of emphasis.
JP03823396A 1996-02-26 1996-02-26 Outline enhancement method Expired - Fee Related JP3714491B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03823396A JP3714491B2 (en) 1996-02-26 1996-02-26 Outline enhancement method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03823396A JP3714491B2 (en) 1996-02-26 1996-02-26 Outline enhancement method

Publications (2)

Publication Number Publication Date
JPH09233342A true JPH09233342A (en) 1997-09-05
JP3714491B2 JP3714491B2 (en) 2005-11-09

Family

ID=12519590

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03823396A Expired - Fee Related JP3714491B2 (en) 1996-02-26 1996-02-26 Outline enhancement method

Country Status (1)

Country Link
JP (1) JP3714491B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1316429C (en) * 2004-01-20 2007-05-16 原相科技股份有限公司 Digital image processing method
US7382414B2 (en) 2003-12-10 2008-06-03 Hitachi, Ltd. Video signal processing apparatus, for controlling contrast compensation and edge compensation in relation to each other in depedence on luminance of an image, and television receiver including the same
JP2010086548A (en) * 2009-11-10 2010-04-15 Seiko Epson Corp Image processing apparatus, image processing method, and image processing program
JP2016105543A (en) * 2014-12-01 2016-06-09 日本放送協会 Image processing apparatus and program
WO2024016797A1 (en) * 2022-07-20 2024-01-25 深圳Tcl数字技术有限公司 Picture display method and apparatus, computer device, and computer-readable storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7382414B2 (en) 2003-12-10 2008-06-03 Hitachi, Ltd. Video signal processing apparatus, for controlling contrast compensation and edge compensation in relation to each other in depedence on luminance of an image, and television receiver including the same
CN1316429C (en) * 2004-01-20 2007-05-16 原相科技股份有限公司 Digital image processing method
JP2010086548A (en) * 2009-11-10 2010-04-15 Seiko Epson Corp Image processing apparatus, image processing method, and image processing program
JP4557090B2 (en) * 2009-11-10 2010-10-06 セイコーエプソン株式会社 Image processing apparatus, image processing method, and image processing program
JP2016105543A (en) * 2014-12-01 2016-06-09 日本放送協会 Image processing apparatus and program
WO2024016797A1 (en) * 2022-07-20 2024-01-25 深圳Tcl数字技术有限公司 Picture display method and apparatus, computer device, and computer-readable storage medium

Also Published As

Publication number Publication date
JP3714491B2 (en) 2005-11-09

Similar Documents

Publication Publication Date Title
US5926562A (en) Image processing method using reference values to determine exposure state
US7057653B1 (en) Apparatus capable of image capturing
JP3456032B2 (en) Image processing method
US8155472B2 (en) Image processing apparatus, camera, image processing program product and image processing method
JP3487361B2 (en) Exposure control device for film scanner, image signal processing method and gamma correction method
US6181880B1 (en) Image data recording method and frame image regenerating method
JP3714491B2 (en) Outline enhancement method
JP4305200B2 (en) Imaging apparatus and method, and program
JPH10322592A (en) Method and device for controlling electronic camera
JP3876932B2 (en) Image processing method
JP3534273B2 (en) Pre-scanning method for film scanner
JP3605856B2 (en) Image processing device
JP3575113B2 (en) Film image processing method
JP2003299107A (en) Imaging device
JPH07322274A (en) Image processing method
JP3958708B2 (en) Gamma correction method
JPH1042191A (en) Method and device for correcting back light of picture
US6246433B1 (en) Film image capturing method
JPH07322282A (en) Gamma correction method
US8121473B2 (en) Imaging apparatus
JP3446843B2 (en) Gamma correction method
JP3605813B2 (en) Exposure control device and method for film scanner
JP3896424B2 (en) Image signal processing method and gamma correction method for film scanner
JPH0937086A (en) Calibration method of negative scanner
JPH07336539A (en) Image processing method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050511

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050513

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050712

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050805

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050818

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20080902

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20080902

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090902

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees