JP2001016480A - Image processor, image processing method and medium - Google Patents

Image processor, image processing method and medium

Info

Publication number
JP2001016480A
JP2001016480A JP11187545A JP18754599A JP2001016480A JP 2001016480 A JP2001016480 A JP 2001016480A JP 11187545 A JP11187545 A JP 11187545A JP 18754599 A JP18754599 A JP 18754599A JP 2001016480 A JP2001016480 A JP 2001016480A
Authority
JP
Japan
Prior art keywords
image data
image
discrete fourier
fourier transform
average value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP11187545A
Other languages
Japanese (ja)
Inventor
Mitsugi Ishihara
貢 石原
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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP11187545A priority Critical patent/JP2001016480A/en
Publication of JP2001016480A publication Critical patent/JP2001016480A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To execute a fixed quantity of high-frequency boosting for any kind of image without being in proportion to the high frequency component of the image. SOLUTION: A discrete Fourier transforming part 4 individually executes a discrete Fourier transformation processing to image data stored in an image memory 2 in a horizontal direction and a vertical direction respectively. A line set mean calculating part 6 and a spectrum set mean calculating part 7 calculate a spectral mean value within a prescribed range of frequency in a plurality of lines. A divider 8 divides a constant number T by the calculated mean value and supplies the value to coefficient registers 10-1 and 10-2 as a coefficient. An adder 31 and a divider 32 calculate the mean value of the coefficients which are stored in the registers 10-1 and 10-2. The reciprocal of the calculated mean value is used as gain to be multiplied by an output from a high-pass filter which is constituted of LPF 34 of a high-frequency boosting filter 33, a delay part 35-1 and a subtracter 36.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は画像処理装置および
方法、並びに媒体に関し、特に、画像データの高域エネ
ルギー成分を分析して得られた結果に応じて、輪郭補正
処理のためのフィルタのゲインを変化させる画像処理装
置および方法、並びに媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus, an image processing method, and a medium, and more particularly, to a gain of a filter for contour correction processing according to a result obtained by analyzing a high-frequency energy component of image data. The present invention relates to an image processing apparatus and method for changing image quality, and a medium.

【0002】[0002]

【従来の技術】所定の画像に輪郭補正を行う場合、その
画像の画像データを所定のフィルタに通し、画像がもつ
高周波成分の量に比例してエネルギーが増強するように
することにより行われていた。その際、フィルタのゲイ
ンは、一定とされていた。図1と図2は、異なる画像に
輪郭補正を行った結果(横方向のライン毎に、DFT(離
散フーリエ変換)を施したときのスペクトラム)を示し
ている。図1に用いた画像は、被写体だけにピントが合
っている画像(高周波成分の少ない画像)であり、図2
に用いた画像は、近景から遠景までのピントがシャープ
に合っている画像(高周波成分が多い画像)である。た
だし、図1は、横1024×縦661ピクセル、図2
は、横1024×縦686ピクセルのRGBビットマップ
イメージ画像を、それぞれ用いた。
2. Description of the Related Art When performing contour correction on a predetermined image, the image data of the image is passed through a predetermined filter so that the energy is increased in proportion to the amount of high frequency components of the image. Was. At that time, the gain of the filter was fixed. 1 and 2 show the results of performing contour correction on different images (spectrum when DFT (Discrete Fourier Transform) is performed for each horizontal line). The image used in FIG. 1 is an image in which only the subject is in focus (an image with a small high-frequency component).
Is an image in which the focus from the near view to the distant view is sharply focused (an image having many high frequency components). However, FIG. 1 shows 1024 horizontal pixels × 661 vertical pixels, and FIG.
Used an RGB bitmap image of 1024 × 686 pixels.

【0003】図1(A)と図2(A)において、横軸
(X軸)は、サンプリング周波数を示し、縦軸(Y軸)
は、各サンプリング周波数におけるスペクトルを示して
いる。X軸の周波数の0Hzは、直流であることを示
す。デジタルイメージ画像の場合、特徴として、ほとん
どの場合、周波数0HzのDC成分が、最も高いスペク
トルを示す傾向にある。周波数が2π/8(π/4)H
zとは、画像のサンプリング周波数(Fs)の1/2、
すなわち、Fs/2であり、ナイキスト周波数と称され
る周波数である。
In FIGS. 1A and 2A, the horizontal axis (X axis) indicates the sampling frequency, and the vertical axis (Y axis)
Indicates a spectrum at each sampling frequency. A frequency of 0 Hz on the X axis indicates direct current. In the case of a digital image image, as a characteristic, in most cases, a DC component having a frequency of 0 Hz tends to show the highest spectrum. Frequency 2π / 8 (π / 4) H
z is の of the sampling frequency (Fs) of the image,
That is, it is Fs / 2, which is a frequency called the Nyquist frequency.

【0004】上述したビットマップイメージ画像(以
下、適宜、ソース画像と記述する)を作成する際、原画
像から所定の周波数を用いてサンプリングを行っている
わけだが、その周波数は何ヘルツであったかといった情
報は、ソース画像から輪郭補正の処理を行うときには、
失われている場合が多い。しかしながら、デジタル画像
処理においては、そのサンプリング周波数Fsの具体的
な値は、必要とせずにあとの処理、例えば、輪郭補正な
どの処理を行うことが可能である。
When the above-described bitmap image image (hereinafter, appropriately referred to as a source image) is created, sampling is performed from an original image using a predetermined frequency. When performing the contour correction process from the source image,
Often lost. However, in digital image processing, it is possible to perform subsequent processing, for example, processing such as contour correction, without requiring a specific value of the sampling frequency Fs.

【0005】図1(A)と図2(A)において、濃い色
のグラフは、ソース画像がもつスペクトラムであり、薄
い色のグラフは、ハイパスフィルタを通し、さらにDFT
処理を施したとき(輪郭補正処理を施したとき)の周波
数スペクトラムを示している。ハイパスフィルタは、図
3に示した周波数特性をもつフィルタを用いた。
In FIG. 1A and FIG. 2A, the dark graphs are the spectrums of the source image, and the light graphs are through a high-pass filter and further DFT.
9 shows a frequency spectrum when processing is performed (when contour correction processing is performed). As the high-pass filter, a filter having the frequency characteristics shown in FIG. 3 was used.

【0006】図1(B)と図2(B)は、それぞれ、図
1(A)、図2(A)に示したグラフのうち、薄いグラ
フの値から濃いグラフの値を減算して、同一のX軸をも
つグラフ上に、その結果を示したものである。これらの
グラフから、どの周波数における結果が、どれだけ増強
されたかが、知ることができる。すなわち、ソース画像
の高周波成分(2π/8)を中心に増強されていること
がわかる。
FIGS. 1B and 2B are graphs obtained by subtracting a dark graph value from a light graph value in the graphs shown in FIGS. 1A and 2A, respectively. The result is shown on a graph having the same X axis. From these graphs, it is possible to know at which frequencies the results were enhanced and by how much. That is, it can be seen that the enhancement is centered on the high frequency component (2π / 8) of the source image.

【0007】[0007]

【発明が解決しようとする課題】図1(B)と図2
(B)とを比べることにより、ハイパスフィルタの周波
数特性とゲインが一定である場合、ソース画像に含まれ
る高周波成分のエネルギーの強弱によって、ハイパスフ
ィルタ出力結果としての高周波成分も、そのエネルギー
に比例してしまうことがわかる。換言すれば、ハイパス
フィルタの特性が固定であるので、フィルタを通す前の
値が大きければ、フィルタを通した後の値も大きくなる
というふうに、もとのデータに対して一定の倍率で増強
されることになる。
FIG. 1B and FIG. 2
By comparing with (B), when the frequency characteristic and the gain of the high-pass filter are constant, the high-frequency component as the output result of the high-pass filter is proportional to the energy depending on the strength of the high-frequency component energy included in the source image. You can see that In other words, since the characteristics of the high-pass filter are fixed, the larger the value before passing through the filter, the larger the value after passing through the filter. Will be done.

【0008】しかしながら、輪郭補正を行う場合、フィ
ルタを通した後の画像は、どのようなソース画像に対し
ても、換言すれば、高周波成分が多い画像でも高周波成
分が少ない画像でも、一定倍率で高域増強されるのでは
なく、一定量の高域増強がされることが望ましい。すな
わち、所定のソース画像に対して図1(B)と図2
(B)に示したグラフが同一になることが望ましい。
However, in the case of performing contour correction, the image after passing through the filter is fixed at a fixed magnification for any source image, in other words, for an image having many high frequency components or an image having few high frequency components. It is desirable that a certain amount of high frequency enhancement be performed instead of high frequency enhancement. That is, FIG. 1 (B) and FIG.
It is desirable that the graphs shown in FIG.

【0009】図4を参照して、さらに、上述したことを
説明する。図4(A)に示したような黒部分と白部分と
から構成される画像を、アナログ的な波形で示したのが
図4(B)である。さらに、図4(A)に示したような
画像を、フィルタを用いて輪郭補正したときのアナログ
的な波形を示したのが図4(C)である。輪郭が補正さ
れることにより、黒部分と白部分との境界部分で、黒部
分の信号レベルがレベルaだけ強調され、白部分の信号
レベルがレベルbだけ強調されていることがわかる。
The above will be further described with reference to FIG. FIG. 4B shows an image composed of a black portion and a white portion as shown in FIG. 4A with an analog waveform. Further, FIG. 4C shows an analog waveform when the image shown in FIG. 4A is subjected to contour correction using a filter. It can be seen that by correcting the contour, the signal level of the black portion is enhanced by the level a and the signal level of the white portion is enhanced by the level b at the boundary between the black portion and the white portion.

【0010】同様に、図4(D)のような、黒部分と、
灰色部分とから構成される画像をアナログ的な波形で示
すと図4(E)に示したようになり、フィルタを用いて
輪郭補正したときの波形を示すと図4(F)に示したよ
うになる。図4(F)から、輪郭補正されることによ
り、黒部分の信号レベルがレベルa’だけ強調され、灰
色部分の信号レベルがレベルb’だけ強調されているこ
とがわかる。
Similarly, a black portion as shown in FIG.
FIG. 4E shows an image composed of a gray part and an analog waveform, and FIG. 4F shows a waveform obtained by performing contour correction using a filter. become. From FIG. 4 (F), it can be seen that the signal level of the black part is enhanced by the level a ′ and the signal level of the gray part is enhanced by the level b ′ by performing the contour correction.

【0011】レベルaとレベルa’、レベルbとレベル
b’を、それぞれ比べると、レベルaとレベルbが、そ
れぞれ、レベルa’とレベルb’よりも高いレベルであ
ることがわかる。これは、図4(B)に示した波形より
図4(E)に示した波形の方が信号レベルが小さく、そ
のように信号レベルが小さいと、輪郭補正された後のレ
ベルも小さくなり、信号レベルが大きいと、輪郭補正さ
れた後のレベルも大きくなることを示している。
Comparing the levels a and a 'and the levels b and b', respectively, shows that the levels a and b are higher than the levels a 'and b', respectively. This is because the waveform shown in FIG. 4E has a smaller signal level than the waveform shown in FIG. 4B, and if the signal level is so small, the level after contour correction is also small, This indicates that when the signal level is high, the level after the contour correction is also high.

【0012】このことは、遠景から近景まで、シャープ
にピントが合っており、高周波成分がハイエナジーな写
真画像の場合、輪郭が強調されすぎて、リンギングが現
れたり、斜め線のジャギーが目立ってきたりするため、
輪郭補正後の画像がかえって不自然な感じになってしま
うという結果になる場合が多い。そこで、そのような不
自然さを発生させないために、フィルタのゲインを小さ
く設定してしまうと、高域周波数成分の小さい(コント
ラストの弱い)画像に対しては、期待する輪郭補正効果
が得られないといった課題があった。
[0012] This means that in a photographic image in which the focus is sharp from a distant view to a close view, and the high-frequency component is a high energy, the contour is too emphasized, ringing appears, and jaggies of oblique lines become conspicuous. Or
In many cases, the image after contour correction tends to look unnatural. Therefore, if the gain of the filter is set small in order to prevent such unnaturalness, an expected contour correction effect can be obtained for an image having a small high-frequency component (low contrast). There was a problem that there was no.

【0013】本発明はこのような状況に鑑みてなされた
ものであり、入力された画像の高域周波数成分を分析し
て、得られた結果に応じて、輪郭補正処理のためのフィ
ルタのゲインを変化させ、異なる画像においても一定量
の増強を行えるようし、もって、リンギングやジャギー
の発生を抑制して、画像に不自然さのない輪郭補正処理
を行うことを目的とする。
The present invention has been made in view of such a situation, and analyzes a high frequency component of an input image, and according to the obtained result, a gain of a filter for contour correction processing. Is changed so that a certain amount of enhancement can be performed even in different images, thereby suppressing the occurrence of ringing and jaggy, and performing an outline correction process without unnaturalness in the image.

【0014】[0014]

【課題を解決するための手段】請求項1に記載の画像処
理装置は、画像データを記憶する記憶手段と、記憶手段
により記憶されている画像データに離散フーリエ変換処
理を施す離散フーリエ変換処理手段と、離散フーリエ変
換処理手段により離散フーリエ変換された画像データか
ら画像データの所定周波数帯域内のスペクトルの平均値
を算出する平均値算出手段と、所定の値を、平均値算出
手段により算出された平均値で除算する除算手段と、記
憶手段に記憶されている画像データの高周波成分を抽出
する抽出手段と、抽出手段により抽出された画像データ
に、除算手段により算出された値を乗算する乗算手段
と、乗算手段により乗算された画像データと記憶手段に
より記憶されている画像データを加算する加算手段とを
含むことを特徴とする。
An image processing apparatus according to claim 1, wherein a storage means for storing image data, and a discrete Fourier transform processing means for performing a discrete Fourier transform process on the image data stored by the storage means Average value calculating means for calculating an average value of a spectrum in a predetermined frequency band of the image data from the image data subjected to the discrete Fourier transform by the discrete Fourier transform processing means; and a predetermined value calculated by the average value calculating means. Division means for dividing by an average value, extraction means for extracting high-frequency components of image data stored in the storage means, and multiplication means for multiplying the image data extracted by the extraction means by a value calculated by the division means And addition means for adding the image data multiplied by the multiplication means and the image data stored by the storage means. .

【0015】前記離散フーリエ変換処理手段は、記憶手
段により記憶されている画像データを、所定のライン毎
に読み出し、その読み出されたライン毎に、離散フーリ
エ変換処理を施すようにすることができる。
The discrete Fourier transform processing means may read out the image data stored in the storage means for each predetermined line, and perform the discrete Fourier transform processing for each of the read lines. .

【0016】請求項3に記載の画像処理方法は、画像デ
ータを記憶する記憶ステップと、記憶ステップで記憶さ
れた画像データに離散フーリエ変換処理を施す離散フー
リエ変換処理ステップと、離散フーリエ変換処理ステッ
プで離散フーリエ変換が施された結果から画像データに
含まれる所定周波数帯域内のスペクトルの平均値を算出
する平均値算出ステップと、所定の値を、平均値算出ス
テップで算出された平均値で除算する除算ステップと、
記憶ステップで記憶されている画像データの高周波成分
を抽出する抽出ステップと、抽出ステップで抽出された
画像データに、除算ステップで算出された値を乗算する
乗算ステップと、乗算ステップで乗算された画像データ
と記憶ステップで記憶された画像データを加算する加算
ステップとを含むことを特徴とする。
According to a third aspect of the present invention, there is provided an image processing method comprising: a storing step of storing image data; a discrete Fourier transform processing step of performing a discrete Fourier transform process on the image data stored in the storing step; and a discrete Fourier transform processing step An average value calculating step of calculating an average value of a spectrum within a predetermined frequency band included in the image data from a result of the discrete Fourier transform performed in the above, and dividing the predetermined value by the average value calculated in the average value calculating step Dividing step,
An extraction step of extracting high-frequency components of the image data stored in the storage step, a multiplication step of multiplying the image data extracted in the extraction step by a value calculated in the division step, and an image multiplied in the multiplication step An adding step of adding the data and the image data stored in the storing step.

【0017】請求項4に記載の媒体のプログラムは、画
像データを記憶する記憶ステップと、記憶ステップで記
憶された画像データに離散フーリエ変換処理を施す離散
フーリエ変換処理ステップと、離散フーリエ変換処理ス
テップで離散フーリエ変換が施された結果から画像デー
タに含まれる所定周波数帯域内のスペクトルの平均値を
算出する平均値算出ステップと、所定の値を、平均値算
出ステップで算出された平均値で除算する除算ステップ
と、記憶ステップで記憶されている画像データの高周波
成分を抽出する抽出ステップと、抽出ステップで抽出さ
れた画像データに、除算ステップで算出された値を乗算
する乗算ステップと、乗算ステップで乗算された画像デ
ータと記憶ステップで記憶された画像データを加算する
加算ステップとからなることを特徴とする。
A storage medium for storing image data, a discrete Fourier transformation processing step for performing a discrete Fourier transformation processing on the image data stored in the storage step, and a discrete Fourier transformation processing step An average value calculating step of calculating an average value of a spectrum within a predetermined frequency band included in the image data from a result of the discrete Fourier transform performed in the above, and dividing the predetermined value by the average value calculated in the average value calculating step A dividing step, an extracting step of extracting high frequency components of the image data stored in the storing step, a multiplying step of multiplying the image data extracted in the extracting step by a value calculated in the dividing step, and a multiplying step. An addition step of adding the image data multiplied by and the image data stored in the storage step Characterized in that it comprises.

【0018】請求項1に記載の画像処理装置、請求項3
に記載の画像処理方法、および請求項4に記載の媒体に
おいては、画像データが記憶され、その記憶されている
画像データに離散フーリエ変換処理が施され、所定周波
数帯域内のスペクトルの平均値が算出され、所定の値
が、その算出された平均値で除算され、その値が、記憶
されている画像データから抽出された高周波成分に乗算
され、乗算された画像データと記憶されている画像デー
タが加算される。
An image processing apparatus according to claim 1, wherein
In the image processing method described in the above, the image data is stored, the stored image data is subjected to a discrete Fourier transform process, and the average value of the spectrum in a predetermined frequency band is calculated. The calculated and predetermined value is divided by the calculated average value, and the value is multiplied by a high-frequency component extracted from the stored image data, and the multiplied image data and the stored image data are multiplied. Is added.

【0019】[0019]

【発明の実施の形態】図5は、本発明を適用した輪郭補
正回路の一実施の形態の構成を示した図である。輪郭補
正回路1は、例えば、パーソナルコンピュータ用のプリ
ンタなどに組み込まれ、入力された画像データに対して
輪郭補正を施して、印刷された画像の見栄えを良くする
ことを目的とする。この輪郭補正回路1の構成について
具体例に基づきながら説明する。輪郭補正回路1に入力
された画像データは、画像メモリ2に記憶される(この
画像メモリ2は、具体例を説明する上で便宜上、設置し
たものであって、他の処理と共有できるものがあれば、
特に輪郭補正回路1だけのために用意しなくてもよ
い)。離散フーリエ変換は画像の縦方向および横方向そ
れぞれに対して施すことが望ましいので、スイッチ3に
よって読み出しの方向を切り換える。例えば、画像デー
タを横方向のライン毎に読み出すときは、スイッチ3は
端子Aと接続され、全てのラインを読み出し終えた後
は、縦方向のライン毎に読み出すための端子Bと接続さ
れる。
FIG. 5 is a diagram showing a configuration of an embodiment of a contour correction circuit to which the present invention is applied. The contour correction circuit 1 is incorporated in, for example, a printer for a personal computer, and aims to improve the appearance of a printed image by performing contour correction on input image data. The configuration of the contour correction circuit 1 will be described based on a specific example. The image data input to the contour correction circuit 1 is stored in an image memory 2 (this image memory 2 is provided for convenience in describing a specific example, and may be shared with other processing. if there is,
In particular, it is not necessary to prepare only for the contour correction circuit 1). Since the discrete Fourier transform is desirably performed on each of the vertical and horizontal directions of the image, the switch 3 switches the readout direction. For example, when image data is read for each horizontal line, the switch 3 is connected to the terminal A. After reading all the lines, the switch 3 is connected to the terminal B for reading every vertical line.

【0020】離散フーリエ変換部4は、画像メモリ2か
ら読み出された画像データを1ライン毎に1次元の離散
フーリエ変換を施して結果をライン集合平均算出部6に
出力する。ライン集合平均算出部6では一本一本の横方
向または縦方向における周波数スペクトラムを加算し
て、それぞれの方向における画面全体の周波数スペクト
ラムの平均値を算出する。このためライン集合平均算出
部6に1ライン分の離散フーリエ変換結果を入力する度
に、加算器5によって、それまでのライン集合平均算出
部6における累積結果がフィードバックして加算される
要領で全ラインにおけるスペクトラムの総和がとられ、
最後にその所定回数で除算する。こうして得られた横方
向または縦方向の1次元離散フーリエ変換結果の集合平
均はスペクトル集合平均算出部7に出力される。スペク
トル集合算出部7では、ソース画像がどれくらいの高域
エネルギーを含んでいるかを見積もるために、特定した
周波数を周波数帯域を定めて、その中に含まれる個々の
スペクトルの総和がとられる。こうして得られたスペク
トルの総和は、次に除算器8に入力された定数Tを除算
する、即ち、スペクトル総和の逆数に定数Tが乗じられ
る。その値はスイッチ9に出力されるが、その際、値が
画像データの横方向の読み出し(スイッチ3が端子Aに
接続されて)によって算出されたものであれば、スイッ
チ9は端子Aと接続され、また、画像データの縦方向の
読み出し(スイッチ3が端子Bに接続されて)によって
算出されたものであれば、スイッチ9は端子Bと接続さ
れる。
The discrete Fourier transform unit 4 subjects the image data read from the image memory 2 to one-dimensional discrete Fourier transform for each line, and outputs the result to a line set average calculating unit 6. The line set average calculator 6 adds the frequency spectra in the horizontal direction or the vertical direction one by one, and calculates the average value of the frequency spectrum of the entire screen in each direction. For this reason, every time the result of the discrete Fourier transform for one line is input to the line set average calculation unit 6, the adder 5 feeds back the accumulated result in the line set average calculation unit 6 and adds the results. The sum of the spectrum in the line is taken,
Finally, division is performed by the predetermined number. The set average of the horizontal or vertical one-dimensional discrete Fourier transform result obtained in this way is output to the spectrum set average calculation unit 7. In the spectrum set calculation unit 7, in order to estimate how much high-frequency energy the source image contains, the specified frequency is defined as a frequency band, and the sum of individual spectra included therein is calculated. The sum of the spectra thus obtained is then divided by a constant T input to the divider 8, that is, the reciprocal of the spectrum sum is multiplied by the constant T. The value is output to the switch 9. If the value is calculated by reading the image data in the horizontal direction (when the switch 3 is connected to the terminal A), the switch 9 is connected to the terminal A. The switch 9 is connected to the terminal B if it is calculated by reading the image data in the vertical direction (when the switch 3 is connected to the terminal B).

【0021】スイッチ9が端子Aに接続された場合、除
算された値は、係数レジスタ10−2に記憶され、スイ
ッチ9が端子Bに接続された場合、係数レジスタ10−
1に記憶される。
When the switch 9 is connected to the terminal A, the divided value is stored in the coefficient register 10-2. When the switch 9 is connected to the terminal B, the divided value is stored in the coefficient register 10-.
1 is stored.

【0022】画像メモリ2に記憶されている画像データ
は、目的とする輪郭補正後の画像を得るために、横方向
高域増強フィルタ11にも供給される。画像メモリ2か
ら出力された画像データは横方向高域増強フィルタ11
内部の構成要素であるLPF(Low Pass Filter)12、遅
延部13−1、および遅延部13−2に供給される。LP
F12、遅延部13−1、および遅延部13−2によっ
て結果としてHPF(HighPass Filter)が構成されてい
る。減算器14においては、遅延部13−1から出力さ
れたデータからLPF12の出力データが減算されてLPF1
2の通過を阻止されたソース画像の高域成分のみが残
り、それが出力となる。この出力は、乗算器15に入力
されて、係数レジスタ10−1に記憶されている係数が
乗算され、加算器16に入力される。加算器16は乗算
器15から出力されたハイパスフィルタリング後の画像
データと、遅延部13−2を通過したソース画像とを加
算して画像の高周波成分を増強し、画像メモリ17に出
力する。
The image data stored in the image memory 2 is also supplied to a horizontal high-frequency enhancement filter 11 in order to obtain a desired image after contour correction. The image data output from the image memory 2 is applied to a horizontal high-frequency enhancement filter 11.
It is supplied to an internal component LPF (Low Pass Filter) 12, a delay unit 13-1, and a delay unit 13-2. LP
As a result, an HPF (HighPass Filter) is configured by the F12, the delay unit 13-1, and the delay unit 13-2. In the subtractor 14, the output data of the LPF 12 is subtracted from the data output from the delay unit 13-1, and the LPF 1
Only the high-frequency components of the source image that have been blocked from passing through 2 remain and are output. This output is input to the multiplier 15, multiplied by the coefficient stored in the coefficient register 10-1, and input to the adder 16. The adder 16 adds the image data after high-pass filtering output from the multiplier 15 and the source image that has passed through the delay unit 13-2 to enhance the high-frequency components of the image, and outputs the result to the image memory 17.

【0023】縦方向高域増強フィルタ18は、横方向高
域増強フィルタ11と同様の構成であり、LPF19、遅
延部20−1,20−2、減算器21、乗算器22、お
よび加算器23とから構成されている。ただし、乗算器
22には、係数レジスタ10−2に記憶されている係数
が供給される。
The vertical high-frequency enhancement filter 18 has the same configuration as the horizontal high-frequency enhancement filter 11, and includes an LPF 19, delay units 20-1 and 20-2, a subtracter 21, a multiplier 22, and an adder 23. It is composed of However, the coefficient stored in the coefficient register 10-2 is supplied to the multiplier 22.

【0024】次に、輪郭補正回路1の動作について説明
する。他の装置、例えば、パーソナルコンピュータから
供給された画像データは、画像メモリ2に記憶される。
画像メモリ2に記憶された画像データは、所定間隔毎、
例えば、解像度が2048×1536ドットである場
合、16ライン毎に読み出される。この場合、垂直方向
では128本(128×16=2048)、水平方向で
は96本(96×16=1536)のラインが、それぞ
れ読み出される。スイッチ3が端子Aと接続されている
時は、横方向の読み出しなので、96本のライン分の画
像データが、スイッチ3が端子Bと接続されている時
は、縦方向の読み出しなので、126本のライン分の画
像データが、それぞれ読み出される。
Next, the operation of the contour correction circuit 1 will be described. Image data supplied from another device, for example, a personal computer, is stored in the image memory 2.
The image data stored in the image memory 2 is
For example, when the resolution is 2048 × 1536 dots, data is read out every 16 lines. In this case, 128 lines (128 × 16 = 1048) in the vertical direction and 96 lines (96 × 16 = 1536) in the horizontal direction are read, respectively. When the switch 3 is connected to the terminal A, the data is read in the horizontal direction. When the switch 3 is connected to the terminal B, the image data for 96 lines is read in the vertical direction. Are read out, respectively.

【0025】なお、上述したように、所定のライン毎に
読み出されるようにすると、後述する処理にかかる時間
を短縮することができ、また、読み出すラインを適切に
設定することにより、得られる効果を減じさせることが
ない。勿論、全てのラインを読み出し処理するようにし
ても良い。
As described above, when reading is performed for each predetermined line, the time required for the processing described later can be reduced, and the effect obtained by appropriately setting the lines to be read can be reduced. There is no reduction. Of course, all lines may be read out.

【0026】画像メモリ2から読み出された画像データ
は、離散フーリエ変換部4に入力される。離散フーリエ
変換部4は、入力された画像データを、ライン単位で、
次式(1)に基づく離散フーリエ変換処理を施す。
The image data read from the image memory 2 is input to the discrete Fourier transform unit 4. The discrete Fourier transform unit 4 converts the input image data on a line-by-line basis.
A discrete Fourier transform process based on the following equation (1) is performed.

【0027】[0027]

【数1】 式(1)において、X(n)は、各ラインにおける入力
データがX1,X2,X3,・・・,Xn-1のN個の離散値
であることを示す。
(Equation 1) In equation (1), X (n) indicates that the input data in each line is N discrete values of X 1 , X 2 , X 3 ,..., X n−1 .

【0028】式(1)に基づく計算結果は、複素数を含
むものなので、その実数部をX(k_rl)、虚数部をX
(k_im)とすると、振幅成分R(k)は、次式(2)の
ように示される。
Since the calculation result based on equation (1) includes a complex number, its real part is X (k_rl) and its imaginary part is X
Assuming that (k_im), the amplitude component R (k) is represented by the following equation (2).

【0029】[0029]

【数2】 ライン集合平均算出部6は、加算器5により所定回数、
上述した式(1)および式(2)に基づき算出された値
が加算(累計)されたとき、その所定回数で、累計され
た値を除算することにより、1画面を構成する縦または
横の振幅成分の平均値を算出する。例えば、スイッチ3
が端子A側に接続され、横方向に画像データが読み出さ
れているときは、ライン集合平均算出部6は、離散フー
リエ変換部4により離散フーリエ変換処理が施されたラ
イン数を、1乃至96までカウントし、そのカウント値
が96になったら、加算器5から出力された累積値を9
6で除算することにより、横方向の読み出しで得られた
スペクトラムの平均値を算出する。
(Equation 2) The line set average calculation unit 6 uses the adder 5 for a predetermined number of times,
When the values calculated based on the above-described equations (1) and (2) are added (cumulative), the accumulated value is divided by the predetermined number of times, so that the vertical or horizontal Calculate the average value of the amplitude components. For example, switch 3
Is connected to the terminal A side, and when the image data is read in the horizontal direction, the line set average calculating unit 6 sets the number of lines subjected to the discrete Fourier transform processing by the discrete Fourier transform unit 4 to 1 to When the counted value reaches 96, the accumulated value output from the adder 5 is incremented by 9
By dividing by 6, the average value of the spectrum obtained in the horizontal reading is calculated.

【0030】算出されたスペクトラムの平均値は、スペ
クトル集合平均算出部7に出力される。スペクトル集合
平均算出部7は、入力されたデータから所定周波数範囲
のデータの平均値を算出する。ライン集合平均値算出部
6から出力されるデータにより、グラフとして、例え
ば、図6に示したようなグラフが得られる場合、その内
のP1乃至P2の間のスペクトルの平均値を、スペクト
ル集合平均算出部7は、算出する。
The calculated average value of the spectrum is output to the spectrum set average calculating section 7. The spectrum set average calculation unit 7 calculates an average value of data in a predetermined frequency range from the input data. When a graph such as that shown in FIG. 6 is obtained as a graph from the data output from the line set average value calculation unit 6, for example, the average value of the spectrum between P1 and P2 is calculated as the spectrum set average. The calculation unit 7 calculates.

【0031】具体的に、P1とP2の値は、P1が(1
/8)π、P2が(3/8)πである。この値は、ナイ
キスト周波数の半分の周波数である(2/8)πを中心
として前後(1/8)πの区間の平均値を求める為に設
定されている。このP1とP2の値は、上述した値に限
らないが、上述した値は、多くのソース画像を用いて評
価した結果から、最も効果的な値として設定されたもの
である。
Specifically, the value of P1 and P2 is such that P1 is (1
/ 8) π and P2 are (3/8) π. This value is set in order to obtain an average value in a section of (前後) π before and after (() π which is a half of the Nyquist frequency. The values of P1 and P2 are not limited to the values described above, but the values described above are set as the most effective values based on the results of evaluation using many source images.

【0032】加算器5、ライン集合平均算出部6、およ
びスペクトル集合平均算出部7により行われる処理は、
次式に基づいて行われる。横方向の読み出しにより算出
される値を平均値Ahとし、縦方向の読み出しにより算
出される値を平均値Avとする。
The processing performed by the adder 5, the line set average calculator 6, and the spectrum set average calculator 7 is as follows.
This is performed based on the following equation. The value calculated by reading in the horizontal direction is defined as the average value Ah, and the value calculated by reading in the vertical direction is defined as the average value Av.

【0033】[0033]

【数3】 (Equation 3)

【数4】 式(3)におけるHは、横方向の読み出しにおける読み
出しライン数を示し、式(4)におけるVは、縦方向の
読み出しにおける読み出しライン数を示す。また、P
1,P2は、上述した値である。
(Equation 4) H in equation (3) indicates the number of read lines in horizontal reading, and V in equation (4) indicates the number of read lines in vertical reading. Also, P
1, P2 are the values described above.

【0034】このようにして算出された平均値Ah、ま
たは、平均値Avは、除算器8に供給される。除算器8
には、定数Tが供給(または保持)されており、その定
数Tを、スペクトル集合平均算出部7から供給された平
均値Ah、または、平均値Avで除算する。平均値Ah
により算出された値は、スイッチ9が端子Bと接続され
ることにより、係数レジスタ10−2に供給され、記憶
される。また、平均値Avにより算出された値は、スイ
ッチ9が端子Aと接続されることにより、係数レジスタ
10−1に供給され、記憶される。
The average value Ah or the average value Av thus calculated is supplied to the divider 8. Divider 8
Is supplied (or held), and the constant T is divided by the average value Ah or the average value Av supplied from the spectrum set average calculation unit 7. Average value Ah
Is supplied to the coefficient register 10-2 and stored therein when the switch 9 is connected to the terminal B. The value calculated by the average value Av is supplied to the coefficient register 10-1 and stored therein when the switch 9 is connected to the terminal A.

【0035】係数レジスタ10−1に記憶された値は、
横方向高域増強フィルタ11内のLPF12、遅延部13
−1、および減算器14から構成されるハイパスフィル
タから出力される値に、乗算器15で乗算される値、す
なわち、ゲインとして用いられる。同様に、係数レジス
タ10−2に記憶された値は、縦方向高域増強フィルタ
18内のLPF19、遅延部20−1、および減算器21
から構成されるハイパスフィルタから出力される値に、
乗算器22で乗算される値として用いられる。以下、係
数レジスタ10−1に記憶さている値をゲインKhと
し、係数レジスタ10−2に記憶されている値をゲイン
Kvとする。
The value stored in the coefficient register 10-1 is
LPF 12 and delay unit 13 in horizontal high-frequency enhancement filter 11
The value output from the high-pass filter composed of −1 and the subtractor 14 is used as a value that is multiplied by the multiplier 15, that is, a gain. Similarly, the value stored in the coefficient register 10-2 is stored in the LPF 19, the delay unit 20-1, and the subtracter 21 in the vertical high-frequency enhancement filter 18.
To the value output from the high-pass filter composed of
It is used as a value to be multiplied by the multiplier 22. Hereinafter, the value stored in the coefficient register 10-1 is referred to as a gain Kh, and the value stored in the coefficient register 10-2 is referred to as a gain Kv.

【0036】画像メモリ2に記憶されている画像データ
(ソース画像)は、横方向高域増強フィルタ11にも供
給される。横方向高域増強フィルタ11のLPF12は、
入力されたソース画像のうち、所定の周波数以下の成分
のみを減算器14に出力する。遅延部13−1は、LPF
12による処理が終了するだけの時間分、入力された画
像データを遅延し、減算器14に出力する。なお、LPF
12のゲインは1である。
The image data (source image) stored in the image memory 2 is also supplied to the horizontal high-frequency enhancement filter 11. The LPF 12 of the lateral high-pass filter 11 is
Of the input source image, only the components at or below a predetermined frequency are output to the subtractor 14. The delay unit 13-1 has an LPF
The input image data is delayed for the time required to complete the processing by the step 12 and output to the subtractor 14. Note that LPF
The gain of 12 is 1.

【0037】従って、減算器14には、同一のソース画
像の画像データが入力されることになるが、一方は、低
周波帯域の画像データ(高周波帯域の画像データが抑制
されたデータ)であり、他方は、画像メモリ2に記憶さ
れたソース画像の画像データそのものである。減算器1
4は、遅延部13−1から入力された画像データからLP
F12から入力された画像データを減算することによ
り、高周波成分が取り出された画像データを、乗算器1
5に出力する。すなわち、LPF12、遅延部13−1、
および減算器14により、ハイパスフィルタが構成され
ていることになる。
Therefore, the image data of the same source image is input to the subtractor 14, but one of them is image data of a low frequency band (data in which image data of a high frequency band is suppressed). The other is the image data of the source image stored in the image memory 2 itself. Subtractor 1
4 is a LP from the image data input from the delay unit 13-1.
By subtracting the image data input from F12, the image data from which the high-frequency component has been extracted is multiplied by the multiplier 1
5 is output. That is, the LPF 12, the delay unit 13-1,
The subtractor 14 forms a high-pass filter.

【0038】乗算器15は、上記ハイパスフィルタの出
力と係数レジスタ10−1から供給される係数とを乗算
する。係数レジスタ10−1から供給される係数は、ソ
ース画像を離散フーリエ変換した結果の画面全体の平均
値から、その画像の輪郭を表現する周波数成分を定量化
し、その逆数に比例するような値となっている。このた
め、ソース画像の含まれる高域成分が大きい場合には、
小さな係数値と、逆に高周波成分が小さい場合には大き
な係数値となって乗算器15に供給され、結果としてソ
ース画像に適応しながら高域周波数成分の増強を行う。
The multiplier 15 multiplies the output of the high-pass filter by the coefficient supplied from the coefficient register 10-1. The coefficient supplied from the coefficient register 10-1 is obtained by quantifying the frequency component representing the contour of the image from the average value of the entire screen as a result of the discrete Fourier transform of the source image and obtaining a value proportional to the reciprocal thereof. Has become. For this reason, when the high frequency component included in the source image is large,
When the coefficient value is small and the high frequency component is small, the coefficient value is supplied to the multiplier 15 as a large coefficient value. As a result, the high frequency component is enhanced while adapting to the source image.

【0039】乗算器15によって適宜増強された高周波
成分のみの画像データは、加算器16に出力される。加
算器16には、乗算器15から入力される画像データ
と、遅延部13−2から供給される画像データ(画像メ
モリ2から供給されたソース画像の画像データそのも
の)が入力される。加算器16は、これら2つの画像デ
ータを加算することにより、ソース画像に比べて高周波
成分が適宜強調された画像データを生成し、画像メモリ
17に出力する。
The image data of only high-frequency components appropriately enhanced by the multiplier 15 is output to the adder 16. The adder 16 receives the image data input from the multiplier 15 and the image data supplied from the delay unit 13-2 (the image data of the source image supplied from the image memory 2). The adder 16 adds these two image data to generate image data in which the high-frequency component is appropriately enhanced as compared with the source image, and outputs the image data to the image memory 17.

【0040】係数レジスタ10−1,10−2に記憶さ
れる係数は、0.0乃至1.0の間の数値である。従っ
て、加算器16から出力される画像データは、ソース画
像の画像データに比べて、高周波成分の成分が最大で2
倍に増強された画像データとなる。
The coefficients stored in the coefficient registers 10-1 and 10-2 are numerical values between 0.0 and 1.0. Therefore, the image data output from the adder 16 has a maximum of 2 high-frequency components compared to the image data of the source image.
The image data is doubled.

【0041】このようにして横方向の高周波成分が増強
された画像データは、画像メモリ17に、一旦記憶さ
れ、縦方向の高周波成分を増強するために、縦方向高域
増強フィルタ18に出力される。縦方向高域増強フィル
タ18において行われる処理は、基本的に、横方向高域
増強フィルタ11において行われる処理と同一の処理の
為、その説明は省略する。ただし、乗算器22に供給さ
れる係数は、係数レジスタ10−2に記憶された値であ
る。
The image data whose horizontal high-frequency component has been enhanced in this way is temporarily stored in an image memory 17 and output to a vertical high-frequency enhancement filter 18 in order to enhance the vertical high-frequency component. You. The processing performed in the vertical high-frequency enhancement filter 18 is basically the same as the processing performed in the horizontal high-frequency enhancement filter 11, and a description thereof will be omitted. However, the coefficient supplied to the multiplier 22 is a value stored in the coefficient register 10-2.

【0042】このように、ソース画像毎に高周波成分を
増強するための係数を変化した場合の、スペクトルを図
7に示す。図7(A)は、図2(A)のグラフを得たソ
ース画像を、図5の輪郭補正回路1により補正したとき
に得られるスペクトラムである。図2(A)と同様に、
図7(A)のグラフも、濃いグラフは、ソース画像のス
ペクトラムを示し、薄いグラフは、ソース画像に、図5
に示した輪郭補正回路1による処理を施した後のスペク
トラムを示している。そして、図7(B)は、濃いグラ
フと薄いグラフとの差を算出した結果を示してる。
FIG. 7 shows a spectrum when the coefficient for enhancing the high frequency component is changed for each source image. FIG. 7A is a spectrum obtained when the source image obtained from the graph of FIG. 2A is corrected by the contour correction circuit 1 of FIG. As in FIG. 2A,
7A, the dark graph shows the spectrum of the source image, and the light graph shows the spectrum of the source image in FIG.
3 shows a spectrum after the processing by the contour correction circuit 1 shown in FIG. FIG. 7B shows the result of calculating the difference between the dark graph and the light graph.

【0043】図7に示したグラフは、図2に示したグラ
フを得るのに用いたソース画像を用いたが、その結果
(図7(B))は、図2(B)に示したグラフよりも、
図1(B)に示したグラフに近似している。図1のグラ
フを得るのに用いたソース画像は、高周波成分の少ない
画像であり、図2(図7)のグラフを得るのに用いたソ
ース画像は、高周波成分の多い画像であった。このよう
に、高周波成分が異なるソース画像においても、ソース
画像の高周波成分に比例することなく、その高周波成分
を一定量で増強することが可能である。図8は、図5に
示した輪郭補正回路1におけるハイパスフィルタ部の周
波数特性を示すグラフである。このハイパスフィルタの
特性は、ソース画像に適応してゲインが変化しており、
図8は、図7のグラフを得たソース画像を処理した際の
特性を示している。
For the graph shown in FIG. 7, the source image used to obtain the graph shown in FIG. 2 was used, and the result (FIG. 7 (B)) is shown in the graph shown in FIG. 2 (B). than,
This is similar to the graph shown in FIG. The source image used to obtain the graph of FIG. 1 was an image with a small amount of high-frequency components, and the source image used to obtain the graph of FIG. 2 (FIG. 7) was an image with a large amount of high-frequency components. As described above, even in a source image having different high-frequency components, it is possible to enhance the high-frequency components by a fixed amount without being proportional to the high-frequency components of the source image. FIG. 8 is a graph showing frequency characteristics of the high-pass filter unit in the contour correction circuit 1 shown in FIG. The characteristic of this high-pass filter is that the gain changes according to the source image,
FIG. 8 shows characteristics when the source image obtained from the graph of FIG. 7 is processed.

【0044】図9は、図5に示した輪郭補正回路1(フ
ィルタ)を用い、2つの異なるソース画像を、それぞれ
処理したときに得られるグラフである。図9(A)に示
すような黒部分と白部分から構成されるソース画像を、
アナログ的な波形で示したのが図9(B)である。さら
に、図9(A)に示したようなソース画像を、フィルタ
を用いて輪郭補正したときのアナログ的な波形を示した
のが図9(C)である。黒部分と白部分との境界部分
で、輪郭が補正されることにより、黒部分の信号レベル
がレベルaだけ強調され、白部分の信号レベルがレベル
bだけ強調されていることがわかる。
FIG. 9 is a graph obtained when two different source images are processed using the contour correction circuit 1 (filter) shown in FIG. A source image composed of a black portion and a white portion as shown in FIG.
FIG. 9B shows an analog waveform. Further, FIG. 9C shows an analog waveform when the contour of the source image as shown in FIG. 9A is corrected using a filter. It can be seen that, by correcting the contour at the boundary between the black part and the white part, the signal level of the black part is emphasized by the level a and the signal level of the white part is emphasized by the level b.

【0045】同様に、図9(D)のような、黒部分と、
灰色部分とから構成されるソース画像をアナログ的な波
形で示すと図9(E)に示したようになり、フィルタを
用いて輪郭補正したときの波形を示すと図9(F)に示
したようになる。図9(F)から、輪郭補正されること
により、黒部分の信号レベルがレベルa’だけ強調さ
れ、灰色部分の信号レベルがレベルb’だけ強調されて
いることがわかる。
Similarly, a black portion as shown in FIG.
FIG. 9E shows a source image composed of a gray portion and an analog waveform, and FIG. 9F shows a waveform obtained by performing contour correction using a filter. Become like From FIG. 9F, it can be seen that the signal level of the black portion is enhanced by the level a ′ and the signal level of the gray portion is enhanced by the level b ′ by performing the contour correction.

【0046】図9(C)に示したレベルaとレベルb、
および図9(F)に示したレベルa’とレベルb’の大
きさは、ほぼ等しいレベル値になる。このように、異な
るソース画像においても、ソース画像の高周波成分に比
例することなく、一定量の増強を行うことができる。
The levels a and b shown in FIG.
The level a ′ and the level b ′ shown in FIG. 9F have substantially the same level value. As described above, even in different source images, a certain amount of enhancement can be performed without being proportional to the high frequency component of the source image.

【0047】上述して説明においては、縦方向と横方
向、それぞれ独立に制御する(それぞれ異なる係数を用
いる)ことにより、輪郭補正したが、縦方向と横方向、
同一の係数を用いるようにしても良い。図10に、同一
の係数を用いて輪郭補正を行う輪郭補正回路1の構成を
示す。図5に示した輪郭補正回路1と同様の処理を行う
部分は、同一の符号を付し、その説明は、適宜省略す
る。また、図10に示した高域増強フィルタ33は、図
5に示した横方向高域増強フィルタ11や縦方向高域増
強フィルタ18と同様の構成とされている。
In the above description, the contour is corrected by independently controlling the vertical and horizontal directions (using different coefficients).
The same coefficient may be used. FIG. 10 shows a configuration of the contour correction circuit 1 that performs contour correction using the same coefficient. Portions performing the same processes as those of the contour correction circuit 1 shown in FIG. 5 are denoted by the same reference numerals, and description thereof will be omitted as appropriate. The high-frequency enhancement filter 33 shown in FIG. 10 has the same configuration as the horizontal high-frequency enhancement filter 11 and the vertical high-frequency enhancement filter 18 shown in FIG.

【0048】係数レジスタ10−1と係数レジスタ10
−2に記憶された係数は、それぞれ加算器31に供給さ
れる。加算器31は、供給された2つの係数を加算し、
除算器32に出力する。除算器32は、入力された値を
2で除算し、高域増強フィルタ33の乗算器37に出力
する。このように、高域増強フィルタ33は、横方向と
縦方向とから算出された係数の平均値を用いて、入力さ
れたソース画像の画像データの輪郭補正を行う。
Coefficient register 10-1 and coefficient register 10
The coefficients stored in -2 are respectively supplied to the adder 31. The adder 31 adds the two supplied coefficients,
Output to the divider 32. The divider 32 divides the input value by 2, and outputs the result to the multiplier 37 of the high-frequency enhancement filter 33. As described above, the high-frequency enhancement filter 33 performs contour correction of the image data of the input source image using the average value of the coefficients calculated from the horizontal direction and the vertical direction.

【0049】このように、縦方向と横方向とから求めら
れる係数の平均値を用いて輪郭補正を行うようにして
も、その係数は、ソース画像毎に算出されるので、異な
るソースが画像の高周波成分に対して、一定量の増強
(輪郭補正)を行うことが可能である。
As described above, even when the contour correction is performed using the average value of the coefficients obtained from the vertical direction and the horizontal direction, since the coefficients are calculated for each source image, a different source is used for the image. A certain amount of enhancement (contour correction) can be performed on high-frequency components.

【0050】上述した一連の処理は、ハードウェアによ
り実行させることもできるが、ソフトウェアにより実行
させることもできる。一連の処理をソフトウェアにより
実行させる場合には、そのソフトウェアを構成するプロ
グラムが、専用のハードウエアとしての輪郭補正回路1
に組み込まれているコンピュータ、または、各種のプロ
グラムをインストールすることで、各種の機能を実行す
ることが可能な、例えば、汎用のパーソナルコンピュー
タなどにインストールされる。
The series of processes described above can be executed by hardware, but can also be executed by software. When a series of processing is executed by software, a program constituting the software is configured by a contour correction circuit 1 as dedicated hardware.
It is installed in, for example, a general-purpose personal computer or the like, which can execute various functions by installing a computer incorporated in the PC or various programs.

【0051】次に、図11を参照して、上述した一連の
処理を実行するプログラムをコンピュータにインストー
ルし、コンピュータによって実行可能な状態とするため
に用いられる媒体について、そのコンピュータが汎用の
パーソナルコンピュータである場合を例として説明す
る。
Next, referring to FIG. 11, a program for executing the above-described series of processing is installed in a computer, and a computer used for making the computer executable is a general-purpose personal computer. The following is an example of the case.

【0052】プログラムは、図11(A)に示すよう
に、パーソナルコンピュータ51に内蔵されている記録
媒体としてのハードディスク52や半導体メモリ53に
予めインストールした状態でユーザに提供することがで
きる。
As shown in FIG. 11A, the program can be provided to the user in a state where the program is installed in a hard disk 52 or a semiconductor memory 53 as a recording medium built in the personal computer 51 in advance.

【0053】あるいはまた、プログラムは、図11
(B)に示すように、フロッピーディスク61、CD-ROM
(Compact Disk-Read Only Memory)62、MO(Magne
to-Optical)63、DVD(Digital Versatile Disk)6
4、磁気ディスク65、半導体メモリ66などの記録媒
体に、一時的あるいは永続的に格納し、パッケージソフ
トウェアとして提供することができる。
Alternatively, the program is executed as shown in FIG.
As shown in (B), floppy disk 61, CD-ROM
(Compact Disk-Read Only Memory) 62, MO (Magne
to-Optical) 63, DVD (Digital Versatile Disk) 6
4. It can be temporarily or permanently stored in a recording medium such as a magnetic disk 65 or a semiconductor memory 66 and provided as package software.

【0054】さらに、プログラムは、図11(C)に示
すように、ダウンロードサイト71から、デジタル衛星
放送用の人工衛星72を介してパーソナルコンピュータ
51に無線で転送したり、ローカルエリアネットワー
ク、インターネットといったネットワーク81を介し
て、パーソナルコンピュータ51に有線で転送し、パー
ソナルコンピュータ51において、内蔵するハードディ
スクなどに格納させることができる。
Further, as shown in FIG. 11C, the program is wirelessly transferred from a download site 71 to a personal computer 51 via an artificial satellite 72 for digital satellite broadcasting, or a local area network or the Internet. The data can be transferred by wire to the personal computer 51 via the network 81 and stored in the personal computer 51 in a built-in hard disk or the like.

【0055】本明細書における媒体とは、これら全ての
媒体を含む広義の概念を有するものである。
The medium in the present specification has a broad concept including all these media.

【0056】パーソナルコンピュータ51は、例えば、
図12に示しように、CPU(CentralProcessing Unit)
92を内蔵している。CPU92にはバス91を介して入
出力インタフェース95が接続されており、CPU92
は、入出力インタフェース95を介して、ユーザから、
キーボード、マウスなどよりなる入力部97から指令が
入力されると、それに対応して、図11(A)の半導体
メモリ53に対応するROM(Read Only Memory)93に
格納されているプログラムを実行する。あるいはまた、
CPU92は、ハードディスク52に予め格納されている
プログラム、衛星72もしくはネットワーク81から転
送され、通信部98により受信され、さらに、ハードデ
ィスク52にインストールされたプログラム、またはド
ライブ99に装着されたフロッピーディスク61、CD-R
OM62、MOディスク63、DVD64、もしくは磁気ディ
スク65から読み出され、ハードディスク52にインス
トールされたプログラムをRAM(Random Access Memor
y)94にロードして実行する。さらに、CPU92は、そ
の処理結果を、例えば、入出力インタフェース95を介
して、LCD(Liquid Crystal Display)などよりなる表
示部96に必要に応じて出力する。
The personal computer 51 is, for example,
As shown in FIG. 12, a CPU (Central Processing Unit)
92 is built in. An input / output interface 95 is connected to the CPU 92 via a bus 91.
From the user via the input / output interface 95
When a command is input from an input unit 97 including a keyboard, a mouse, and the like, a program stored in a ROM (Read Only Memory) 93 corresponding to the semiconductor memory 53 in FIG. . Alternatively,
The CPU 92 is a program stored in the hard disk 52 in advance, transferred from the satellite 72 or the network 81, received by the communication unit 98, and further installed in the hard disk 52 or the floppy disk 61 attached to the drive 99. CD-R
The program read from the OM 62, the MO disk 63, the DVD 64, or the magnetic disk 65 and installed on the hard disk 52 is stored in a RAM (Random Access Memory).
y) Load to 94 and execute. Further, the CPU 92 outputs the processing result to a display section 96 such as an LCD (Liquid Crystal Display) via the input / output interface 95 as necessary.

【0057】なお、本明細書において、媒体により提供
されるプログラムを記述するステップは、記載された順
序に従って、時系列的に行われる処理は勿論、必ずしも
時系列的に処理されなくとも、並列的あるいは個別に実
行される処理をも含むものである。
In this specification, the steps of describing a program provided by a medium may be performed in a chronological order according to the described order. Alternatively, it also includes individually executed processing.

【0058】[0058]

【発明の効果】以上の如く請求項1に記載の画像処理装
置、請求項3に記載の画像処理方法、および請求項4に
記載の媒体によれば、画像データを記憶し、その記憶さ
れている画像データに離散フーリエ変換処理を施し、所
定周波数帯域内のスペクトルの平均値を算出し、所定の
値を、その算出された平均値で除算し、その値を、記憶
されている画像データから抽出した高周波成分に乗算
し、乗算された画像データと記憶されている画像データ
を加算するようにしたので、異なる画像データに対して
も、一定量の高周波成分の増強を行うことが可能とな
る。
As described above, according to the image processing apparatus according to the first aspect, the image processing method according to the third aspect, and the medium according to the fourth aspect, the image data is stored. Performs a discrete Fourier transform process on the image data, calculates an average value of the spectrum in a predetermined frequency band, divides the predetermined value by the calculated average value, and calculates the value from the stored image data. Since the extracted high-frequency component is multiplied and the multiplied image data and the stored image data are added, it is possible to enhance a certain amount of high-frequency component even for different image data. .

【0059】[0059]

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

【図1】高周波成分の少ない画像から得られるスペクト
ラムのグラフを示す図である。
FIG. 1 is a diagram showing a graph of a spectrum obtained from an image having a small high-frequency component.

【図2】高周波成分の多い画像から得られるスペクトラ
ムのグラフを示す図である。
FIG. 2 is a diagram showing a graph of a spectrum obtained from an image having many high-frequency components.

【図3】ハイパスフィルタの特性を示す図である。FIG. 3 is a diagram illustrating characteristics of a high-pass filter.

【図4】異なるソース画像に対する輪郭補正の処理を行
った結果を説明する図である。
FIG. 4 is a diagram illustrating a result of performing contour correction processing on different source images.

【図5】輪郭補正回路の構成を示すブロック図である。FIG. 5 is a block diagram illustrating a configuration of a contour correction circuit.

【図6】スペクトル集合平均算出部7における処理を説
明する図である。
FIG. 6 is a diagram for explaining processing in a spectrum set average calculation unit 7;

【図7】図5の輪郭補正回路1を用いた場合に、高周波
成分の多い画像から得られるスペクトラムのグラフを示
す図である。
7 is a diagram showing a graph of a spectrum obtained from an image having many high-frequency components when the contour correction circuit 1 of FIG. 5 is used.

【図8】ハイパスフィルタの特性を示す図である。FIG. 8 is a diagram illustrating characteristics of a high-pass filter.

【図9】図5の輪郭補正回路1を用いた場合の、異なる
ソース画像に対する輪郭補正の処理を行った結果を説明
する図である。
9 is a diagram illustrating a result of performing contour correction processing on different source images when the contour correction circuit 1 of FIG. 5 is used.

【図10】輪郭補正回路1の他の構成を示すブロック図
である。
FIG. 10 is a block diagram showing another configuration of the contour correction circuit 1;

【図11】媒体を説明する図である。FIG. 11 is a diagram illustrating a medium.

【図12】図11に示したパーソナルコンピュータの内
部構成を示すブロック図である。
FIG. 12 is a block diagram showing an internal configuration of the personal computer shown in FIG.

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

1 輪郭補正回路, 2 画像メモリ, 4 離散フー
リエ変換部, 6 ライン集合平均算出部, 7 スペ
クトル集合平均算出部, 8 除算器, 10係数レジ
スタ, 11 横方向高域増強フィルタ, 17 画像
メモリ, 18 縦方向高域増強フィルタ
Reference Signs List 1 contour correction circuit, 2 image memory, 4 discrete Fourier transform section, 6 line set average calculation section, 7 spectrum set average calculation section, 8 divider, 10 coefficient register, 11 horizontal high band enhancement filter, 17 image memory, 18 Vertical high-pass filter

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B057 CA08 CA12 CA16 CB08 CB12 CB16 CE03 CH09 DA16 DB02 DB09 5C021 PA34 PA42 PA54 PA76 PA79 RA02 RB05 SA22 SA25 XB03 ZA01 5C077 LL01 LL19 MP07 PP03 PP49 ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5B057 CA08 CA12 CA16 CB08 CB12 CB16 CE03 CH09 DA16 DB02 DB09 5C021 PA34 PA42 PA54 PA76 PA79 RA02 RB05 SA22 SA25 XB03 ZA01 5C077 LL01 LL19 MP07 PP03 PP49

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 画像データを記憶する記憶手段と、 前記記憶手段により記憶されている前記画像データに離
散フーリエ変換処理を施す離散フーリエ変換処理手段
と、 前記離散フーリエ変換処理手段により離散フーリエ変換
された前記画像データから前記画像データの所定周波数
帯域内のスペクトルの平均値を算出する平均値算出手段
と、 所定の値を、前記平均値算出手段により算出された前記
平均値で除算する除算手段と、 前記記憶手段に記憶されている前記画像データの高周波
成分を抽出する抽出手段と、 前記抽出手段により抽出された前記画像データに、前記
除算手段により算出された値を乗算する乗算手段と、 前記乗算手段により乗算された前記画像データと前記記
憶手段により記憶されている前記画像データを加算する
加算手段とを含むことを特徴とする画像処理装置。
A storage means for storing image data; a discrete Fourier transform processing means for performing a discrete Fourier transform process on the image data stored by the storage means; and a discrete Fourier transform performed by the discrete Fourier transform processing means. Average value calculating means for calculating an average value of a spectrum in a predetermined frequency band of the image data from the image data, and dividing means for dividing a predetermined value by the average value calculated by the average value calculating means. Extracting means for extracting high-frequency components of the image data stored in the storage means; multiplying means for multiplying the image data extracted by the extracting means by a value calculated by the dividing means; Addition means for adding the image data multiplied by the multiplication means and the image data stored by the storage means; An image processing apparatus comprising:
【請求項2】 前記離散フーリエ変換処理手段は、前記
記憶手段により記憶されている前記画像データを、所定
のライン毎に読み出し、その読み出されたライン毎に、
離散フーリエ変換処理を施すことを特徴とする請求項1
に記載の画像処理装置。
2. The discrete Fourier transform processing means reads the image data stored by the storage means for each predetermined line, and for each of the read lines,
2. A discrete Fourier transform process is performed.
An image processing apparatus according to claim 1.
【請求項3】 画像データを記憶する記憶ステップと、 前記記憶ステップで記憶された前記画像データに離散フ
ーリエ変換処理を施す離散フーリエ変換処理ステップ
と、 前記離散フーリエ変換処理ステップで離散フーリエ変換
された前記画像データから前記画像データの所定周波数
帯域内のスペクトルの平均値を算出する平均値算出ステ
ップと、 所定の値を、前記平均値算出ステップで算出された前記
平均値で除算する除算ステップと、 前記記憶ステップで記憶されている前記画像データの高
周波成分を抽出する抽出ステップと、 前記抽出ステップで抽出された前記画像データに、前記
除算ステップで算出された値を乗算する乗算ステップ
と、 前記乗算ステップで乗算された前記画像データと前記記
憶ステップで記憶された前記画像データを加算する加算
ステップとを含むことを特徴とする画像処理方法。
3. A storage step of storing image data; a discrete Fourier transform processing step of performing a discrete Fourier transform process on the image data stored in the storage step; and a discrete Fourier transform performed by the discrete Fourier transform step An average value calculating step of calculating an average value of a spectrum in a predetermined frequency band of the image data from the image data; anda dividing step of dividing a predetermined value by the average value calculated in the average value calculating step, An extraction step of extracting a high-frequency component of the image data stored in the storage step; a multiplication step of multiplying the image data extracted in the extraction step by a value calculated in the division step; The image data multiplied in the step and the image data stored in the storing step And an adding step of adding the following.
【請求項4】 画像データを記憶する記憶ステップと、 前記記憶ステップで記憶された前記画像データに離散フ
ーリエ変換処理を施す離散フーリエ変換処理ステップ
と、 前記離散フーリエ変換処理ステップで離散フーリエ変換
された前記画像データから前記画像データの所定周波数
帯域内のスペクトルの平均値を算出する平均値算出ステ
ップと、 所定の値を、前記平均値算出ステップで算出された前記
平均値で除算する除算ステップと、 前記記憶ステップで記憶されている前記画像データの高
周波成分を抽出する抽出ステップと、 前記抽出ステップで抽出された前記画像データに、前記
除算ステップで算出された値を乗算する乗算ステップ
と、 前記乗算ステップで乗算された前記画像データと前記記
憶ステップで記憶された前記画像データを加算する加算
ステップとからなることを特徴とするプログラムをコン
ピュータに実行させる媒体。
4. A storage step of storing image data; a discrete Fourier transform processing step of performing a discrete Fourier transform process on the image data stored in the storage step; and a discrete Fourier transform performed by the discrete Fourier transform processing step An average value calculating step of calculating an average value of a spectrum in a predetermined frequency band of the image data from the image data; anda dividing step of dividing a predetermined value by the average value calculated in the average value calculating step, An extraction step of extracting a high-frequency component of the image data stored in the storage step; a multiplication step of multiplying the image data extracted in the extraction step by a value calculated in the division step; The image data multiplied in the step and the image data stored in the storing step And a computer-executable program for causing a computer to execute the program.
JP11187545A 1999-07-01 1999-07-01 Image processor, image processing method and medium Withdrawn JP2001016480A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11187545A JP2001016480A (en) 1999-07-01 1999-07-01 Image processor, image processing method and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11187545A JP2001016480A (en) 1999-07-01 1999-07-01 Image processor, image processing method and medium

Publications (1)

Publication Number Publication Date
JP2001016480A true JP2001016480A (en) 2001-01-19

Family

ID=16207966

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11187545A Withdrawn JP2001016480A (en) 1999-07-01 1999-07-01 Image processor, image processing method and medium

Country Status (1)

Country Link
JP (1) JP2001016480A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006221365A (en) * 2005-02-09 2006-08-24 Bitstrong:Kk Line scan type image processing unit
JP2017135690A (en) * 2016-01-26 2017-08-03 株式会社リコー Image processing device, image processing method, and program
CN112351152A (en) * 2019-08-06 2021-02-09 瑞昱半导体股份有限公司 Image processing circuit and related image processing method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006221365A (en) * 2005-02-09 2006-08-24 Bitstrong:Kk Line scan type image processing unit
JP2017135690A (en) * 2016-01-26 2017-08-03 株式会社リコー Image processing device, image processing method, and program
CN112351152A (en) * 2019-08-06 2021-02-09 瑞昱半导体股份有限公司 Image processing circuit and related image processing method
CN112351152B (en) * 2019-08-06 2023-08-29 瑞昱半导体股份有限公司 Image processing circuit and related image processing method

Similar Documents

Publication Publication Date Title
JP4998287B2 (en) Image processing apparatus and method, and program
JP5495025B2 (en) Image processing apparatus and method, and program
JP4556276B2 (en) Image processing circuit and image processing method
EP2249308B1 (en) Image processing device and method, and image display device and method
JP3700804B2 (en) Image processing method and apparatus
KR20160102524A (en) Method for inverse tone mapping of an image
JPH0944654A (en) Image processing device and method therefor, and noise eliminating device and method therefor
JP2010503056A (en) Image enhancement method and apparatus
US20110050701A1 (en) Image processing apparatus and method and image display apparatus
US8565549B2 (en) Image contrast enhancement
JP4463400B2 (en) Luminance signal enhancer
JP3738791B2 (en) Image processing method and apparatus
CN110659583A (en) Signal processing method and device and related product
JP2001016480A (en) Image processor, image processing method and medium
JP4333150B2 (en) Signal processing apparatus and method, recording medium, and program
JPWO2006117919A1 (en) Image processing method, image processing apparatus, and image processing program
JP2002183727A (en) Image processing device
JP2002074356A (en) Method and device for processing picture and recording medium
WO2012056965A1 (en) Image processing device, electronic device, image processing method
JP5349204B2 (en) Image processing apparatus and method, and image display apparatus and method
JP4014671B2 (en) Multi-resolution conversion method and apparatus
JP5247634B2 (en) Image processing apparatus and method, and image display apparatus and method
JP3669452B2 (en) Image processing method and apparatus
JP5247632B2 (en) Image processing apparatus and method, and image display apparatus and method
JP3803231B2 (en) Tone correction device

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060905