JPH10155128A - Image interpolation device, image interpolation method and video printer - Google Patents

Image interpolation device, image interpolation method and video printer

Info

Publication number
JPH10155128A
JPH10155128A JP8312297A JP31229796A JPH10155128A JP H10155128 A JPH10155128 A JP H10155128A JP 8312297 A JP8312297 A JP 8312297A JP 31229796 A JP31229796 A JP 31229796A JP H10155128 A JPH10155128 A JP H10155128A
Authority
JP
Japan
Prior art keywords
image
edge
detected
edge direction
coefficient
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
JP8312297A
Other languages
Japanese (ja)
Other versions
JP3760531B2 (en
Inventor
Masaki Kishimoto
正樹 岸本
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 JP31229796A priority Critical patent/JP3760531B2/en
Priority to US08/975,411 priority patent/US6339479B1/en
Priority to KR1019970063136A priority patent/KR100543350B1/en
Publication of JPH10155128A publication Critical patent/JPH10155128A/en
Priority to US09/878,010 priority patent/US6608699B2/en
Priority to US09/878,073 priority patent/US6570673B2/en
Application granted granted Critical
Publication of JP3760531B2 publication Critical patent/JP3760531B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image interpolation device, image interpolation method and video printer in which blurred images are avoided and deformation of characters or the like is eliminated. SOLUTION: The image interpolation device is provided with an edge detection section 33 that detects the local edge direction of an image and with a 2-dimension adaptive filter 34 that selects a coefficient depending on the edge direction detected by the edge detection section 33 and filters a signal at a prescribed frequency band with a prescribed gain based on the frequency characteristic of the selected coefficient. Since specific picture elements of an image are interpolated twice in a direction, tilt edges are smoothly interpolated, occurrence of a blurred image is less and deformation of characters is small. Thus, an interpolated image with high image quality is obtained.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、例えば、ビデオ
プリンターにおける画素の補間処理に適用して好適な画
像補間装置、画像補間方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image interpolating apparatus and an image interpolating method suitable for, for example, pixel interpolation processing in a video printer.

【0002】[0002]

【従来の技術】近年、昇華式カラープリンターの高精細
化が進んでいるが、入力画像はビデオ信号程度の解像度
が主流であり、高解像度のものは余り普及していない。
つまり、プリンター側では高解像度のプリントが可能で
あるにもかかわらず、これに比べて入力画像データの解
像度が低い。そこで、高解像度のプリントを行う場合に
は、プリンター内部で画像データに所定の補間処理を施
して、疑似的に高解像度の画像データにする必要があ
る。しかし、画像データの補間処理の方法によってプリ
ント出力の画質が大きく左右されるため、より高画質な
補間処理方法が求められていた。
2. Description of the Related Art In recent years, sublimation type color printers have been improved in definition, but the resolution of input images is mainly the same as that of video signals, and high resolution ones are not widely used.
That is, although high-resolution printing is possible on the printer side, the resolution of the input image data is lower than this. Therefore, when performing high-resolution printing, it is necessary to perform predetermined interpolation processing on the image data inside the printer to simulate high-resolution image data. However, since the image quality of the print output greatly depends on the method of the interpolation processing of the image data, a higher-quality interpolation processing method has been demanded.

【0003】昇華式カラープリンターでは、サーマルヘ
ッドの移動方向、つまり副走査方向についてはアナログ
的に階調を変化させることにより解像度を制御できるの
で、主に1ライン分のプリントを行うように配列された
サーマルヘッドの発熱素子の方向、つまり主走査方向の
画像補間が必要とされる。すなわち、画像に対して主走
査方向の画素を2倍に補間する処理が求められていた。
このような、画像補間方法として、第1に同じ画素を2
画素ずつ並べて単純に2倍に拡大する単純拡大方式、第
2に上下方向の平均値を補間画素に用いる平均値補間方
式などが主に用いられていたが、第3に近傍画素の情報
を用いた高度な補間処理として近傍画素の大小関係のパ
ターンによって、斜め方向の平均値を補間画素に用いる
パターン認識平均値補間方式があった。
In the sublimation type color printer, the resolution can be controlled by changing the gradation in the moving direction of the thermal head, that is, the sub-scanning direction, in an analog manner. Therefore, image interpolation in the direction of the heating elements of the thermal head, that is, in the main scanning direction is required. In other words, there has been a demand for a process of interpolating the image in the main scanning direction by a factor of two.
As such an image interpolation method, first, the same pixel is
A simple enlargement method of arranging pixels one by one and simply enlarging the image by a factor of two, an average value interpolation method in which an average value in the vertical direction is used as an interpolation pixel, and the like are mainly used. As an advanced interpolation process, there is a pattern recognition average value interpolation method in which an average value in a diagonal direction is used as an interpolation pixel depending on a pattern of a magnitude relation between neighboring pixels.

【0004】[0004]

【発明が解決しようとする課題】ところが、従来の画像
補間方式では、以下に述べるような問題点があった。つ
まり、第1の単純拡大方式では、画像のエッジの画素が
保存されるため画像のボケはないが、斜め方向のエッジ
がギザギザになり、画像の品質が低下するという不都合
があった。また、第2の平均値補間方式では、平均値を
補間画素とするため画像がボケてしまい、斜め方向のエ
ッジのギザギザが少し残るという不都合があった。ま
た、第3のパターン認識平均値補間方式では、斜め方向
のエッジは滑らかに補間されるが、平均値を補間画素と
するため画像がボケてしまい、さらに、文字などの人工
画像においては直角コーナーが斜めに補間されるため、
文字が変形してしまうという不都合があった。
However, the conventional image interpolation method has the following problems. That is, in the first simple enlargement method, although the pixels at the edges of the image are preserved, the image is not blurred, but the edges in the oblique direction are jagged, and the quality of the image is degraded. In addition, the second average value interpolation method has a disadvantage that the image is blurred because the average value is used as an interpolation pixel, and a slight jagged edge in an oblique direction remains. In the third pattern recognition average value interpolation method, edges in oblique directions are smoothly interpolated, but the image is blurred because the average value is used as an interpolation pixel. Is obliquely interpolated,
There was an inconvenience that characters were deformed.

【0005】この発明は、かかる点に鑑みてなされたも
のであり、画像のボケを無くすと共に、文字などの変形
を無くすことができる画像補間装置、画像補間方法およ
びビデオプリンターの提供を目的とする。
An object of the present invention is to provide an image interpolation apparatus, an image interpolation method, and a video printer which can eliminate blurring of an image and deformation of characters and the like, in view of the above point. .

【0006】[0006]

【課題を解決するための手段】この発明の画像補間装置
は、画像の局所的なエッジ方向を検出するエッジ検出手
段と、上記エッジ検出手段により検出されたエッジ方向
により係数を選択して選択された上記係数の有する周波
数特性により所定周波数帯域に対して所定ゲインでフィ
ルターをかけるフィルター手段と、備え上記画像の特定
の画素を1方向に2倍に補間するようにしたものであ
る。
According to the present invention, there is provided an image interpolating apparatus comprising: an edge detecting means for detecting a local edge direction of an image; and a coefficient which is selected based on the edge direction detected by the edge detecting means. Filter means for filtering a predetermined frequency band with a predetermined gain based on the frequency characteristic of the coefficient, and interpolating a specific pixel of the image twice in one direction.

【0007】また、この発明の画像補間方法は、画像の
局所的なエッジ方向を検出し、検出された上記エッジ方
向により係数を選択して選択された上記係数の有する周
波数特性により所定周波数帯域に対して所定ゲインでフ
ィルターをかけ、上記画像の特定の画素を1方向に2倍
に補間するようにしたものである。
Further, according to the image interpolation method of the present invention, a local edge direction of an image is detected, a coefficient is selected in accordance with the detected edge direction, and a predetermined frequency band is determined based on a frequency characteristic of the selected coefficient. On the other hand, a filter is applied with a predetermined gain to interpolate a specific pixel of the image twice in one direction.

【0008】また、この発明のビデオプリンターは、ビ
デオ画像の画像データに所定の補間処理を施して、補間
された画像データを用いてプリントヘッドによりプリン
トするビデオプリンターにおいて、画像の局所的なエッ
ジ方向を検出するエッジ検出手段と、上記エッジ検出手
段により検出されたエッジ方向により係数を選択して選
択された上記係数の有する周波数特性により所定周波数
帯域に対して所定ゲインでフィルターをかけるフィルタ
ー手段と、備え上記画像の特定の画素を1方向に2倍に
補間してプリントするようにしたものである。
A video printer according to the present invention performs a predetermined interpolation process on image data of a video image and prints the image data with a print head using the interpolated image data. Edge detection means for detecting, and a filter means for selecting a coefficient by the edge direction detected by the edge detection means and applying a filter with a predetermined gain to a predetermined frequency band according to a frequency characteristic of the selected coefficient, In addition, a specific pixel of the above image is interpolated twice in one direction and printed.

【0009】この発明の画像補間装置、画像補間方法お
よびビデオプリンターによれば以下の作用をする。ま
ず、エッジ検出手段の作用を説明する。最大傾き方向検
出手段により画像の局所的な最大傾き方向が検出され
る。そして、垂直方向検出手段により最大傾き方向に垂
直な方向をエッジ方向として検出するようにする。以下
に、局所的な傾き情報によるエッジ検出方法を説明す
る。一般に、滑らかなアナログ画像の関数に対して、そ
の局所的な最大傾き方向は、空間1次微分により表すこ
とができる。
According to the image interpolation apparatus, the image interpolation method and the video printer of the present invention, the following operations are performed. First, the operation of the edge detecting means will be described. The local maximum tilt direction of the image is detected by the maximum tilt direction detecting means. Then, the direction perpendicular to the maximum inclination direction is detected as the edge direction by the vertical direction detecting means. Hereinafter, an edge detection method based on local tilt information will be described. In general, for a function of a smooth analog image, the local maximum inclination direction can be represented by a spatial first derivative.

【0010】この空間1次微分で表すベクトルに垂直な
方向がエッジ方向に相当する。同様に、ディジタル画像
データに対して、その局所的な最大傾き方向は、一般に
ベクトルで表すことができる。
The direction perpendicular to the vector represented by the spatial first derivative corresponds to the edge direction. Similarly, for digital image data, the local maximum tilt direction can be generally represented by a vector.

【0011】このベクトルに垂直なベクトルを求める。
つまり、補間対象画素を囲む画像ブロックにおいて、画
像データの値がゼロの画素、画像データの値が中間値の
画素、画像データの値が最大値の画素、がある。このと
き、ベクトルは、画像データの値がゼロ、中間値の画素
から最大値の画素の方向を示す。そして、このベクトル
に垂直なベクトルの方向がエッジ方向に相当する。
A vector perpendicular to this vector is obtained.
That is, in the image block surrounding the interpolation target pixel, there are a pixel having a value of zero for the image data, a pixel having a medium value of the image data, and a pixel having a maximum value of the image data. At this time, the vector indicates the direction from a pixel having an image data value of zero and an intermediate value to a pixel having a maximum value. The direction of the vector perpendicular to this vector corresponds to the edge direction.

【0012】このようにして得られたエッジ方向の傾き
の値によって、エッジ方向領域指定手段によって画像の
エッジ方向を少なくとも水平方向、垂直方向、斜め方向
を含む8つの領域に分割する。
The edge direction of the image is divided into eight areas including at least a horizontal direction, a vertical direction, and an oblique direction by the edge direction area specifying means based on the edge direction inclination value thus obtained.

【0013】次に、エッジ検出手段により、斜め方向が
検出された場合に、直角コーナーパターン検出手段によ
り文字などの直角コーナーパターンの検出が行われる。
補間対象画素を囲む画像ブロックにおいて、画像データ
の値がゼロの画素、画像データの値が中間値の画素、画
像データの値が最大値の画素がある。このとき、ベクト
ルは、画像データの値がゼロ、中間値の画素から最大値
の画素の方向を示す。そして、このベクトルに垂直なベ
クトルは、補間対象画素を含む中間値の画素の方向にも
かかわらず、周辺のゼロの画素の影響により決める方向
のベクトルとして検出される。そして、このベクトルの
方向がエッジ方向に相当する。
Next, when the oblique direction is detected by the edge detecting means, a right angle corner pattern such as a character is detected by the right angle corner pattern detecting means.
In the image block surrounding the pixel to be interpolated, there are a pixel having a value of image data of zero, a pixel having a medium value of the image data, and a pixel having a maximum value of the image data. At this time, the vector indicates the direction from a pixel having an image data value of zero and an intermediate value to a pixel having a maximum value. Then, a vector perpendicular to this vector is detected as a vector in a direction determined by the influence of surrounding zero pixels, regardless of the direction of a pixel having an intermediate value including the pixel to be interpolated. Then, the direction of this vector corresponds to the edge direction.

【0014】ところが、直角コーナーパターンは、自然
画像ではなく、文字などの人工画像に多く含まれるた
め、ベクトルの方向がエッジ方向として検出されると、
文字の形が歪んでしまう。そこで、この直角コーナーパ
ターンを検出するために周辺画素の傾きを計算する。
However, since the right-angled corner pattern is included not in a natural image but in an artificial image such as a character, if the direction of the vector is detected as an edge direction,
The shape of the character is distorted. Therefore, in order to detect this right-angled corner pattern, the inclination of peripheral pixels is calculated.

【0015】このとき、周辺画素の傾きの絶対値が小さ
く、かつ同符号ならば、直角コーナーパターンとみな
し、水平方向が選択される。この直角コーナーパターン
の検出処理によって文字などの人工画像の変形を抑える
ことができる。このようにして、画像の局所的なエッジ
方向が検出される。
At this time, if the absolute value of the inclination of the peripheral pixels is small and has the same sign, it is regarded as a right-angle corner pattern and the horizontal direction is selected. The deformation processing of the artificial image such as a character can be suppressed by the detection processing of the right-angle corner pattern. Thus, the local edge direction of the image is detected.

【0016】次に、フィルター手段の作用を説明する。
エッジ検出手段において検出されたエッジ方向に応じ
て、2次元適応フィルターのエッジ方向対応係数選択手
段は係数を切り換える。これらのフィルター係数は方向
性を持ったものであり、2次元ローパスフィルターを構
成し、これにより、エッジ方向のギザギザ成分をカット
し、これに垂直な方向のエッジの急峻さを保存するよう
な特性を持っているので、斜め方向のエッジがギザギザ
にならずに滑らかに補間される。
Next, the operation of the filter means will be described.
The edge direction corresponding coefficient selection means of the two-dimensional adaptive filter switches the coefficient according to the edge direction detected by the edge detection means. These filter coefficients are directional and constitute a two-dimensional low-pass filter, which cuts jagged components in the edge direction and preserves the sharpness of edges in the direction perpendicular to this. Therefore, the edges in the oblique direction are smoothly interpolated without being jagged.

【0017】また、画素の平均値を用いる方法に比べて
特性の良いローパスフィルターを構成することができる
ので、画像のボケを抑えることができる。さらに、これ
らのフィルターは、単純2倍拡大画像に対して施される
ため、画素の平均値を用いる方法に比べて水平方向のエ
ッジがボケずに保存される。このように、斜めエッジが
滑らかに補間され、画像のボケが少なく、文字などの変
形も少ない、高画質の補間画像を得ることができる。
Further, since a low-pass filter having better characteristics can be formed as compared with the method using the average value of pixels, blurring of an image can be suppressed. Furthermore, since these filters are applied to a simple double-magnified image, horizontal edges are preserved without blurring as compared with a method using an average value of pixels. In this way, a high-quality interpolated image can be obtained in which oblique edges are smoothly interpolated, the image is less blurred, and characters and the like are less deformed.

【0018】[0018]

【発明の実施の形態】以下に、本実施の形態を説明す
る。本実施の形態の画像補間装置は、ディジタル画像に
対して、画像を単純に2倍に拡大した後に、局所的なエ
ッジ方向を検出して、その方向のギザギザの周波数成分
をカットするような方向性を持った2次元適応ディジタ
ルフィルターによって画像補間を行うことにより、斜め
方向のエッジを滑らかに補間して、画像のボケを少なく
すると共に、文字などの変形の少ない、高画質な補間画
像を得ることができるものである。
Embodiments of the present invention will be described below. The image interpolating apparatus according to the present embodiment detects a local edge direction after simply enlarging the image to a double with respect to the digital image, and cuts the jagged frequency component in that direction. By performing image interpolation using a two-dimensional adaptive digital filter having a characteristic, diagonal edges are smoothly interpolated to reduce blurring of the image and obtain a high-quality interpolated image with less deformation of characters and the like. Is what you can do.

【0019】まず、本実施の形態の画像補間装置を適用
するカラービデオプリンターについて説明する。このカ
ラービデオプリンターは、ビデオ信号を入力するビデオ
入力部1と、ビデオ入力部1から入力されたアナログの
ビデオ信号を量子化してディジタル信号に変換するA/
D変換器2と、ディジタルビデオ信号を1フレーム分の
ディジタルビデオ信号のデータを記憶して保持するフレ
ームメモリとしての画像メモリ4と、画像メモリ4に対
するディジタルビデオ信号の書き込み及び読み出しを制
御するメモリ制御部3と、各種設定を行うスイッチ部5
と、スイッチ部5における設定に基づいてメモリ制御部
の動作を制御するシステム制御部6と、システム制御部
6からの制御によりメカ機構の動作を制御する機構制御
部7と、機構制御部7により動作される印画用紙送りモ
ーター等のメカ機構8と、メカ機構8の印画用紙送りモ
ーターによる印画用紙の送り出しに同期して画像メモリ
4から1ラインずつのディジタルビデオ信号のデータを
受け取り、各種画像処理を施す画像処理部9と、印画用
紙に画像処理を施されたディジタルビデオ信号のデータ
をプリントするサーマルヘッド11とを有する。
First, a color video printer to which the image interpolation device of the present embodiment is applied will be described. The color video printer includes a video input unit 1 for inputting a video signal, and an A / A converter for quantizing an analog video signal input from the video input unit 1 and converting the analog video signal into a digital signal.
A D converter 2, an image memory 4 as a frame memory for storing and holding digital video signal data of one frame of the digital video signal, and a memory control for controlling writing and reading of the digital video signal to and from the image memory 4 Unit 3 and switch unit 5 for performing various settings
A system control unit 6 that controls the operation of the memory control unit based on the setting in the switch unit 5, a mechanism control unit 7 that controls the operation of the mechanical mechanism under the control of the system control unit 6, and a mechanism control unit 7. A mechanical mechanism 8 such as a photographic paper feed motor to be operated, and digital video signal data for each line are received from the image memory 4 in synchronization with the sending of photographic paper by the photographic paper feed motor of the mechanical mechanism 8, and various image processing is performed. It has an image processing section 9 and a thermal head 11 for printing digital video signal data obtained by performing image processing on printing paper.

【0020】ここで、特に、本実施の形態では、画像処
理部9において、ディジタル画像に対して、画像を単純
に2倍に拡大した後に、局所的なエッジ方向を検出し
て、その方向のギザギザの周波数成分をカットするよう
な方向性を持った2次元適応ディジタルフィルターによ
って画像補間を行うことにより、斜め方向のエッジに対
して滑らかに画像補間を行うノンリニア補間ブロック1
0を有する。
Here, in this embodiment, in particular, in the image processing section 9, after the image is simply doubled with respect to the digital image, the local edge direction is detected, and the local edge direction is detected. Non-linear interpolation block 1 that performs smooth image interpolation on diagonal edges by performing image interpolation using a two-dimensional adaptive digital filter having directionality that cuts jagged frequency components.
Has zero.

【0021】このように構成されたカラービデオプリン
ターは以下のような動作をする。ビデオ入力部1からA
/D変換器2にビデオ信号が供給され、A/D変換器2
においてビデオ入力部1から供給されたアナログのビデ
オ信号が量子化されてディジタル信号に変換される。A
/D変換器2において変換されたディジタルビデオ信号
はメモリ制御部3に供給される。メモリ制御部3から画
像メモリ4に1フレーム分のディジタルビデオ信号のデ
ータが記憶されるように書き込み動作が行われる。
The color video printer thus configured operates as follows. Video input unit 1 to A
The video signal is supplied to the A / D converter 2 and the A / D converter 2
In, the analog video signal supplied from the video input unit 1 is quantized and converted into a digital signal. A
The digital video signal converted by the / D converter 2 is supplied to the memory control unit 3. The writing operation is performed so that the data of the digital video signal for one frame is stored in the image memory 4 from the memory control unit 3.

【0022】スイッチ部5において設定された各種設定
に基づいてシステム制御部6からメモリ制御部に対して
データの書き込みまたは読み出しの動作が制御される。
また、システム制御部6から機構制御部7に対してメカ
機構の動作指令が供給されると、機構制御部7により印
画用紙送りモーター等のメカ機構8が動作される。そこ
で、システム制御部6からメモリ制御部に対して画像メ
モリ4からデータの読み出しの動作指令が供給される。
すると、メカ機構8の印画用紙送りモーターによる印画
用紙の送り出しに同期して画像メモリ4から1ラインず
つのディジタルビデオ信号のデータが読み出されて画像
処理部9に供給される。画像処理部9において1ライン
ずつのディジタルビデオ信号のデータに対して各種画像
処理が施される。画像処理を施されたディジタルビデオ
信号のデータはサーマルヘッド11に供給される。サー
マルヘッド11において、この画像データの階調に応じ
た発熱量で印画用紙にディジタルビデオ信号のデータが
プリントされる。
Data writing or reading operation from the system control unit 6 to the memory control unit is controlled based on various settings set in the switch unit 5.
When an operation command for a mechanical mechanism is supplied from the system control unit 6 to the mechanism control unit 7, the mechanism control unit 7 operates the mechanical mechanism 8 such as a printing paper feed motor. Therefore, an operation command for reading data from the image memory 4 is supplied from the system control unit 6 to the memory control unit.
Then, the digital video signal data for each line is read out from the image memory 4 in synchronization with the feeding of the printing paper by the printing paper feed motor of the mechanical mechanism 8 and supplied to the image processing unit 9. The image processing unit 9 performs various image processing on the digital video signal data for each line. The digital video signal data on which the image processing has been performed is supplied to the thermal head 11. In the thermal head 11, digital video signal data is printed on printing paper with a heat value corresponding to the gradation of the image data.

【0023】ここで、特に、本実施の形態では、画像処
理部9のノンリニア補間ブロック10において、ディジ
タル画像に対して、画像を単純に2倍に拡大した後に、
局所的なエッジ方向を検出して、その方向のギザギザの
周波数成分をカットするような方向性を持った2次元適
応ディジタルフィルターによって画像補間を行うことに
より、斜め方向のエッジを滑らかに補間して、画像のボ
ケを少なくすると共に、文字などの変形の少ない、高画
質な補間画像を得ることができるように画像補間が行わ
れる。
Here, in this embodiment, in particular, in the non-linear interpolation block 10 of the image processing section 9, after simply enlarging the image to twice the digital image,
By detecting the local edge direction and performing image interpolation using a two-dimensional adaptive digital filter with directionality that cuts jagged frequency components in that direction, the diagonal edges can be smoothly interpolated. In addition, image interpolation is performed so as to reduce blur of the image and obtain a high-quality interpolated image with less deformation of characters and the like.

【0024】次に、図2を用いて画像処理部について説
明する。図2に示す画像処理部は図1に示した画像処理
部9に対応する。この画像処理部は、図1に示したシス
テム制御部6からのコントルールデータDcを格納する
レジスタ12と、コントルールデータDcおよびレジス
タ12からのデータに基づいて画像処理部の主走査方向
の動作を制御する主走査方向コントローラ13と、コン
トルールデータDcおよびレジスタ12からのデータに
基づいて画像処理部の副走査方向の動作を制御する副走
査方向コントローラ14とを有する。
Next, the image processing section will be described with reference to FIG. The image processing unit shown in FIG. 2 corresponds to the image processing unit 9 shown in FIG. The image processing unit includes a register 12 for storing the control data Dc from the system control unit 6 shown in FIG. 1, and an operation of the image processing unit in the main scanning direction based on the control data Dc and the data from the register 12. And a sub-scanning direction controller 14 for controlling the operation of the image processing unit in the sub-scanning direction based on the control data Dc and the data from the register 12.

【0025】また、この画像処理部は、図1に示したメ
モリ制御部3を介して画像メモリから供給される1ライ
ン分の入力画像データDiを順次1ライン毎に一時的に
保持するラインバッファ15a,15b,15cと、ラ
インバッファ15a,15b,15cに一時的に保持さ
れた1ライン毎の入力画像データDiを副走査方向に補
間する副走査方向補間ブロック16と、フィールドデー
タに対して補間を行うリニア補間ブロック17とを有す
る。ここで、特に、本実施の形態では、副走査方向の補
間が施された画像データのフィールドデータおよびフレ
ームデータのそれぞれに対して、画像を単純に2倍に拡
大した後に、局所的なエッジ方向を検出して、その方向
のギザギザの周波数成分をカットするような方向性を持
った2次元適応ディジタルフィルターによって画像補間
を行うことにより、斜め方向のエッジを滑らかに画像補
間を行うフィールド/フレーム補間ブロック10(図1
に示したノンリニア補間ブロック10に対応する。)を
有する。
The image processing unit is a line buffer for temporarily holding one line of input image data Di supplied from the image memory via the memory control unit 3 shown in FIG. 15a, 15b, 15c; a sub-scanning direction interpolation block 16 for interpolating in a sub-scanning direction the input image data Di for each line temporarily stored in the line buffers 15a, 15b, 15c; And a linear interpolation block 17 for performing Here, in this embodiment, in particular, in each of the field data and the frame data of the image data subjected to the interpolation in the sub-scanning direction, the image is simply doubled, and then the local edge direction is changed. Field / frame interpolation that performs smooth image interpolation of diagonal edges by performing image interpolation using a two-dimensional adaptive digital filter having directionality that cuts jagged frequency components in that direction. Block 10 (FIG. 1)
Corresponds to the non-linear interpolation block 10 shown in FIG. ).

【0026】また、この画像処理部は、例えばPAL方
式の走査線数をNTSC方式の走査線数に変換するリサ
イズブロック18と、リサイズブロックにより走査線数
が変換された画像データの1ライン分を一時的に保持す
るラインバッファ19と、画像データに対して各種編集
機能を付加する編集機能ブロック20と、1ライン分の
シャープネス補正用の画像データを一時的に保持するラ
インバッファ21と、強調処理を行うシャープネスブロ
ック22と、サーマルヘッドにおける蓄熱補正を行う蓄
熱補正ブロック25と、短時定数の応答系の蓄熱補正デ
ータを記憶する蓄熱補正メモリ23と、長時定数の応答
系の蓄熱補正データを記憶する蓄熱補正メモリ24と、
入力信号を2値化したときの一定しきい値で落とされた
濃淡に相当する雑音(ディザ)を原信号に加えるディザ
ブロック26とを有する。
The image processing unit includes a resize block 18 for converting the number of scan lines of the PAL system into a number of scan lines of the NTSC system, and one line of image data whose number of scan lines is converted by the resize block. A line buffer 19 for temporarily holding, an editing function block 20 for adding various editing functions to the image data, a line buffer 21 for temporarily holding one line of image data for sharpness correction, an emphasis process , A thermal storage correction block 25 for performing thermal storage correction in a thermal head, a thermal storage correction memory 23 for storing thermal storage correction data for a short time constant response system, and a thermal storage correction data for a long time constant response system. A heat storage correction memory 24 for storing;
A dither block 26 for adding noise (dither) corresponding to shading dropped at a fixed threshold value when the input signal is binarized to the original signal.

【0027】このように構成された画像処理部は以下の
ような動作をする。図1に示したシステム制御部6から
のコントルールデータDcがレジスタ12、主走査方向
コントローラ13及び副走査方向コントローラ14に供
給される。レジスタ12に格納されたコントルールデー
タDcは主走査方向コントローラ13及び副走査方向コ
ントローラ14に供給される。主走査方向コントローラ
13においてコントルールデータDcおよびレジスタ1
2からのデータに基づいて画像処理部の主走査方向の動
作が制御され、副走査方向コントローラ14においてコ
ントルールデータDcおよびレジスタ12からのデータ
に基づいて画像処理部の副走査方向の動作が制御され
る。具体的には、主走査方向コントローラ13及び副走
査方向コントローラ14から、画像補間処理用のライン
バッファ15a,15b,15c、リサイズおよび編集
機能用のラインバッファ19、シャープネス用のライン
バッファ21、蓄熱補正用の蓄熱補正メモリ23、24
のそれぞれに対して制御信号が供給される。
The image processing unit configured as described above operates as follows. The control data Dc from the system control unit 6 shown in FIG. 1 is supplied to the register 12, the main scanning direction controller 13, and the sub-scanning direction controller 14. The control data Dc stored in the register 12 is supplied to the main scanning direction controller 13 and the sub-scanning direction controller 14. In the main scanning direction controller 13, the control data Dc and the register 1
2, the operation of the image processing section in the main scanning direction is controlled, and the sub-scanning direction controller 14 controls the operation of the image processing section in the sub-scanning direction based on the control data Dc and the data from the register 12. Is done. More specifically, from the main scanning direction controller 13 and the sub-scanning direction controller 14, line buffers 15a, 15b, 15c for image interpolation processing, a line buffer 19 for resizing and editing functions, a line buffer 21 for sharpness, a heat storage correction Storage correction memory 23, 24 for
Are supplied with a control signal.

【0028】また、図1に示したメモリ制御部3を介し
て画像メモリからラインバッファ15a,15b,15
cに1ライン分の入力画像データDiが順次供給され
る。つまり、ラインバッファ15aには1ライン後の画
像データDi+1が一時的に保持され,ラインバッファ
15bには現在のラインの画像データDiが一時的に保
持され,ラインバッファ15cには1ライン前の画像デ
ータDi−1が一時的に保持される。ラインバッファ1
5a,15b,15cに一時的に保持された1ライン毎
の入力画像データDi+1、Di、Di−1が副走査方
向補間ブロック16に供給される。副走査方向補間ブロ
ック16において、入力画像データDi+1、Di、D
i−1は副走査方向に補間される。例えば、副走査方向
補間ブロック16において、フィールドデータが補間さ
れて、画像データが90度回転されて、副走査方向に2
枚のプリント出力を得るようにして、副走査方向の補間
が行われる。副走査方向の補間が行われた画像データま
たは副走査方向の補間が行われずにスルーした画像デー
タはフィールド/フレーム補間ブロック10に供給され
る。なお、副走査補間が行われたときは、後段のフィー
ルド/フレーム補間ブロック10においてフィールド/
フレーム補間は行われず、フィールド/フレーム補間が
行われるのは副走査補間が行われずにスルーしたときに
のみ行うように処理を分けている。
Further, the line buffers 15a, 15b and 15 are transferred from the image memory via the memory control unit 3 shown in FIG.
The input image data Di for one line is sequentially supplied to c. That is, the line buffer 15a temporarily stores the image data Di + 1 of the next line, the line buffer 15b temporarily stores the image data Di of the current line, and the line buffer 15c stores the image data Di of the previous line. Data Di-1 is temporarily stored. Line buffer 1
The input image data Di + 1, Di, Di-1 for each line temporarily stored in 5a, 15b, 15c are supplied to the sub-scanning direction interpolation block 16. In the sub-scanning direction interpolation block 16, input image data Di + 1, Di, D
i-1 is interpolated in the sub-scanning direction. For example, in the sub-scanning direction interpolation block 16, the field data is interpolated, the image data is rotated by 90 degrees, and
Interpolation in the sub-scanning direction is performed so as to obtain a print output of one sheet. The image data interpolated in the sub-scanning direction or the image data passed through without interpolating in the sub-scanning direction is supplied to the field / frame interpolation block 10. When sub-scanning interpolation is performed, the field / frame interpolation block 10 at the subsequent stage
Processing is divided so that frame interpolation is not performed and field / frame interpolation is performed only when sub-scanning interpolation is not performed and a through operation is performed.

【0029】ここで、特に、本実施の形態では、フィー
ルド/フレーム補間ブロック10において、副走査方向
の補間が施されずにスルーした画像データのフィールド
データおよびフレームデータのそれぞれに対して、画像
を単純に2倍に拡大した後に、局所的なエッジ方向を検
出して、その方向のギザギザの周波数成分をカットする
ような方向性を持った2次元適応ディジタルフィルター
によって画像補間を行うことにより、斜め方向のエッジ
を滑らかにする画像補間が行われる。具体的には、フィ
ールド/フレーム補間ブロック10において、フィール
ドデータまたはフレームデータが2倍に補間される。ま
た、ここでフィールド/フレーム補間ブロック10をノ
ンリニア補間ブロックと呼んでいるのは、ここで用いる
後述する適応フィルターが(一般的に)非線形なフィル
ターであるからである。フィールドデータとフレームデ
ータとでそれぞれ2倍に補間された画像データはリニア
補間ブロック17に供給される。リニア補間ブロック1
7において、フレームデータはスルーして、フィールド
データに対してのみ2倍に補間が行われる。つまり、ノ
ンリニア補間およびリニア補間のそれぞれの処理におい
て、フレームデータは2倍補間およびスルーで計2倍補
間され、フィールドデータは2倍補間および2倍補間で
計4倍補間される。ここでリニア補間ブロック17と呼
ぶのは、ここで用いるフィルターが線形なフィルターで
あるからである。
Here, in the present embodiment, in particular, in the field / frame interpolation block 10, an image is formed with respect to each of the field data and frame data of the image data passed through without performing interpolation in the sub-scanning direction. After simply enlarging the image by a factor of two, the local edge direction is detected, and image interpolation is performed by a two-dimensional adaptive digital filter having directionality that cuts jagged frequency components in that direction. Image interpolation for smoothing the edge in the direction is performed. Specifically, in the field / frame interpolation block 10, field data or frame data is interpolated twice. The field / frame interpolation block 10 is referred to as a non-linear interpolation block here because an adaptive filter, which will be described later, is a (generally) nonlinear filter. Image data interpolated twice by the field data and the frame data, respectively, is supplied to the linear interpolation block 17. Linear interpolation block 1
At 7, the frame data is passed through and interpolation is performed twice for only the field data. In other words, in each of the non-linear interpolation and the linear interpolation, the frame data is interpolated twice in total by double interpolation and through, and the field data is interpolated in total four times by double interpolation and double interpolation. Here, the filter is called a linear interpolation block 17 because the filter used here is a linear filter.

【0030】このように補間された画像データはリサイ
ズブロック18に供給される。リサイズブロック18に
おいて、例えばPAL方式の走査線数がNTSC方式の
走査線数に変換される。走査線数が変換された画像デー
タはラインバッファ19に供給される。ここで、入力画
像データDiが入力されたから、ラインバッファ19に
現ラインの画像データが供給される時点までで、1ライ
ン分の画像データの書き込み読み出し処理時間を要す
る。つまり、ラインバッファ15、副走査補間ブロック
16、フィールド/フレーム補間ブロック10、リニア
補間ブロック17、リサイズブロック18、ラインバッ
ファ19への書き込み処理までは同期して行われる。
The image data thus interpolated is supplied to the resize block 18. In the resize block 18, for example, the number of scanning lines of the PAL system is converted into the number of scanning lines of the NTSC system. The image data whose number of scanning lines has been converted is supplied to the line buffer 19. Here, from the input of the input image data Di to the point at which the image data of the current line is supplied to the line buffer 19, it takes time to write and read the image data for one line. In other words, the processing of writing to the line buffer 15, the sub-scanning interpolation block 16, the field / frame interpolation block 10, the linear interpolation block 17, the resizing block 18, and the line buffer 19 is performed in synchronization.

【0031】そして、ラインバッファ19からリサイズ
ブロックにより走査線数が変換された画像データの1ラ
イン分が読み出されて編集機能ブロック20に供給され
る。編集機能ブロック20において、画像データに対し
て各種編集機能が付加される。各種編集機能が付加され
た画像データはシャープネスブロック22に供給され
る。シャープネスブロック22において強調処理が行わ
れる。このとき、ラインバッファ21において1ライン
分のシャープネス補正用の画像データが一時的に保持さ
れる。シャープネス補正された画像データは蓄熱補正ブ
ロック25に供給される。
Then, one line of the image data whose number of scanning lines has been converted by the resize block is read from the line buffer 19 and supplied to the editing function block 20. In the editing function block 20, various editing functions are added to the image data. Image data to which various editing functions have been added is supplied to the sharpness block 22. An emphasis process is performed in the sharpness block 22. At this time, one line of image data for sharpness correction is temporarily held in the line buffer 21. The image data that has been subjected to the sharpness correction is supplied to the heat storage correction block 25.

【0032】蓄熱補正ブロック25において、サーマル
ヘッドにおける蓄熱補正が行われる。このとき、蓄熱補
正メモリ23から短時定数の応答系の蓄熱補正データが
蓄熱補正ブロック25に供給され、蓄熱補正メモリ24
から長時定数の応答系の蓄熱補正データが蓄熱補正ブロ
ック25に供給され、2つの応答系は異なる処理で補正
される。
In the heat storage correction block 25, the heat storage in the thermal head is corrected. At this time, the heat storage correction data of the response system of the short time constant is supplied from the heat storage correction memory 23 to the heat storage correction block 25, and the heat storage correction memory 24
The heat storage correction data of the response system having a long time constant is supplied to the heat storage correction block 25, and the two response systems are corrected by different processes.

【0033】蓄熱補正された画像データはディザブロッ
ク26に供給される。ディザブロック26において、入
力信号を2値化したときの一定しきい値で落とされた濃
淡に相当する雑音(ディザ)が原信号に加えられる。こ
のようにして、ディザブロック26から出力画像データ
Doが出力される。
The heat storage corrected image data is supplied to a dither block 26. In the dither block 26, noise (dither) corresponding to the shading dropped at a fixed threshold value when the input signal is binarized is added to the original signal. Thus, the output image data Do is output from the dither block 26.

【0034】ここで、画像データがラインバッファ19
から読み出されてから、ディザブロック26から出力画
像データDoが出力される時点までで、1ライン分の画
像データの書き込み読み出し処理時間を要する。つま
り、ラインバッファ19からの読み出し、編集機能ブロ
ック20、シャープネスブロック22、蓄熱補正ブロッ
ク25、ディザブロック26の処理までは同期して行わ
れる。
Here, the image data is stored in the line buffer 19.
From the time when the output image data Do is output from the dither block 26, it takes time to write and read one line of image data. That is, reading from the line buffer 19, processing of the editing function block 20, the sharpness block 22, the heat storage correction block 25, and the dither block 26 are performed in synchronization.

【0035】次に、本実施の形態の画像補間装置の具体
的構成及び動作について説明する。図3にフィールド/
フレーム補間ブロック10の構成を示す。図3に示す構
成は図2に示したフィールド/フレーム補間ブロック1
0に対応する。図3において、フィールド/フレーム補
間ブロック10は、画像を単純に2倍に拡大する単純拡
大部30と、画像の局所的なエッジ方向を検出するエッ
ジ検出部33と、エッジ検出方向のギザギザの周波数成
分をカットするような方向性を持った2次元適応フィル
ター34とを有する。ここで、Gi,j,G’i,j はディジ
タル画像データを表し、iは副走査方向(ラインインク
リメント)、jは主走査方向(ライン方向)を表す。
Next, a specific configuration and operation of the image interpolation apparatus according to the present embodiment will be described. The field /
2 shows a configuration of a frame interpolation block 10. The configuration shown in FIG. 3 corresponds to the field / frame interpolation block 1 shown in FIG.
Corresponds to 0. In FIG. 3, a field / frame interpolation block 10 includes a simple enlargement unit 30 that simply enlarges an image by a factor of two, an edge detection unit 33 that detects a local edge direction of the image, and a jagged frequency in the edge detection direction. It has a two-dimensional adaptive filter 34 having a direction to cut components. Here, G i, j and G ′ i, j represent digital image data, i represents a sub-scanning direction (line increment), and j represents a main scanning direction (line direction).

【0036】単純拡大部30は、2倍アップサンプリン
グ回路31と、ゼロ次ホールド回路32とを有する。2
倍アップサンプリング回路31は、ディジタル画像デー
タGi-1,j を2倍のサンプリング周波数でサンプリング
する2倍アップサンプリング回路31aと,ディジタル
画像データGi,j を2倍のサンプリング周波数でサンプ
リングする2倍アップサンプリング回路31b,ディジ
タル画像データGi+1,j を2倍のサンプリング周波数で
サンプリングする2倍アップサンプリング回路31cと
を有する。また、ゼロ次ホールド回路32は、2倍のサ
ンプリング周波数でサンプリングされたディジタル画像
データGi-1,j に1サンプリング時点前のデータを加算
するゼロ次ホールド回路32aと,2倍のサンプリング
周波数でサンプリングされたディジタル画像データG
i,j に1サンプリング時点前のデータを加算するゼロ次
ホールド回路32b,2倍のサンプリング周波数でサン
プリングされたディジタル画像データGi+1,j に1サン
プリング時点前のデータを加算するゼロ次ホールド回路
32cとを有する。
The simple enlargement section 30 has a double upsampling circuit 31 and a zero-order hold circuit 32. 2
The double up-sampling circuit 31 includes a double up-sampling circuit 31a that samples the digital image data G i-1, j at a double sampling frequency, and a sampler 2 that samples the digital image data G i, j at a double sampling frequency. It has a double upsampling circuit 31b and a double upsampling circuit 31c for sampling the digital image data G i + 1, j at a double sampling frequency. The zero-order hold circuit 32 adds the data before one sampling point to the digital image data G i-1, j sampled at the double sampling frequency, and the zero-order hold circuit 32a at the double sampling frequency. Sampled digital image data G
Zero-order hold circuit 32b for adding data before one sampling point to i, j, and zero-order hold circuit for adding data before one sampling point to digital image data G i + 1, j sampled at twice the sampling frequency Circuit 32c.

【0037】図4にエッジ検出部の機能ブロックを示
す。図4に示す機能ブロックは図3に示したエッジ検出
部33に相当する。このエッジ検出部は、画像の局所的
な最大傾きを検出する最大傾き検出手段40と、最大傾
きに対して垂直な方向をエッジ方向として検出する垂直
方向検出手段41と、検出されたエッジ方向を少なくと
も水平方向43、垂直方向44、斜め方向45の所定の
領域に分割し、エッジ方向領域を指定するエッジ方向領
域指定手段42と、文字などの直角コーナーパターンを
検出する直角コーナーパターン検出手段46とを有す
る。
FIG. 4 shows functional blocks of the edge detecting section. The functional block shown in FIG. 4 corresponds to the edge detection unit 33 shown in FIG. The edge detection unit includes a maximum inclination detection unit 40 that detects a local maximum inclination of an image, a vertical direction detection unit 41 that detects a direction perpendicular to the maximum inclination as an edge direction, and a detection unit that detects a detected edge direction. An edge direction area designating unit 42 that divides at least into predetermined areas in the horizontal direction 43, the vertical direction 44, and the oblique direction 45 and designates an edge direction area; Having.

【0038】図5に2次元適応フィルターの機能ブロッ
クを示す。図5に示す機能ブロックは図3に示す2次元
適応フィルター34に対応する。この2次元適応フィル
ターは、エッジ方向対応係数選択手段50と、方向性を
有する周波数特性を持つ係数51(H1 〜H8 )とを有
する。
FIG. 5 shows functional blocks of the two-dimensional adaptive filter. The functional block shown in FIG. 5 corresponds to the two-dimensional adaptive filter 34 shown in FIG. This two-dimensional adaptive filter has an edge direction corresponding coefficient selecting means 50 and coefficients 51 (H 1 to H 8 ) having frequency characteristics having directionality.

【0039】このように構成されたフィールド/フレー
ム補間ブロック10の動作を以下に説明する。まず、単
純拡大部30の動作を説明する。2倍アップサンプリン
グ回路31aにおいて、ディジタル画像データGi-1,j
が2倍のサンプリング周波数でサンプリングされ,2倍
アップサンプリング回路31bにおいてディジタル画像
データGi,j が2倍のサンプリング周波数でサンプリン
グされ,2倍アップサンプリング回路31cにおいてデ
ィジタル画像データGi+1,j が2倍のサンプリング周波
数でサンプリングされる。すると、2倍アップサンプリ
ング回路31a、31b、31cからそれぞれ原サンプ
リング時点での値と、2倍サンプリング時点での0(ゼ
ロ)の値とが出力される。
The operation of the field / frame interpolation block 10 configured as described above will be described below. First, the operation of the simple enlargement unit 30 will be described. In the double upsampling circuit 31a, the digital image data G i-1, j
Is sampled at a double sampling frequency, the digital image data G i, j is sampled at a double sampling frequency in a double up-sampling circuit 31b, and the digital image data G i + 1, j is sampled at a double up-sampling circuit 31c. Are sampled at twice the sampling frequency. Then, the values at the time of the original sampling and the value of 0 (zero) at the time of the double sampling are output from the double up-sampling circuits 31a, 31b, 31c, respectively.

【0040】2倍アップサンプリング回路31a、31
b、31cからそれぞれ原サンプリング時点での値と、
2倍サンプリング時点での0(ゼロ)の値とがゼロ次ホ
ールド回路32a、32b、32cに供給される。ゼロ
次ホールド回路32a、32b、32cにおいて、それ
ぞれ原サンプリング時点での値と、2倍サンプリング時
点での1サンプリング時点前の値とが加算される。この
ようにして、単純拡大部30から主走査方向に2倍に拡
大した画像データが得られる。
Double upsampling circuits 31a, 31
b, 31c, the values at the time of the original sampling,
The value of 0 (zero) at the time of double sampling is supplied to the zero-order hold circuits 32a, 32b, and 32c. In the zero-order hold circuits 32a, 32b, and 32c, the value at the time of the original sampling and the value at the time of the double sampling one time before the sampling are added. In this way, image data that is doubled in the main scanning direction from the simple enlargement unit 30 is obtained.

【0041】次に、エッジ検出部の動作を説明する。ま
ず、最大傾き方向検出手段40により画像の局所的な最
大傾き方向が検出される。そして、垂直方向検出手段4
1により最大傾き方向に垂直な方向をエッジ方向として
検出するようにする。以下に、局所的な傾き情報による
エッジ検出方法を説明する。一般に、滑らかなアナログ
画像を関数f(x,y)とをくと、その局所的な最大傾
き方向は、空間1次微分により数1式のベクトルで表す
ことができる。
Next, the operation of the edge detector will be described. First, the local maximum tilt direction of the image is detected by the maximum tilt direction detecting means 40. And the vertical direction detecting means 4
By means of 1, a direction perpendicular to the maximum inclination direction is detected as an edge direction. Hereinafter, an edge detection method based on local tilt information will be described. In general, when a smooth analog image is represented by a function f (x, y), the local maximum inclination direction can be represented by a vector represented by the following formula (1) by first-order spatial differentiation.

【0042】[0042]

【数1】grad f(x,y)=(∂f(x,y)/
∂x,∂f(x,y)/∂y)
Grad f (x, y) = (∂f (x, y) /
∂x, ∂f (x, y) / ∂y)

【0043】この数1式で表すベクトルに垂直な方向が
エッジ方向に相当する。同様に、ディジタル画像データ
をGi,j とおくと、その局所的な最大傾き方向は、一般
に次のような数2式のベクトル(pi,j ,qi,j )で表
すことができる。
The direction perpendicular to the vector represented by Equation 1 corresponds to the edge direction. Similarly, if the digital image data is set to G i, j , the local maximum inclination direction can be generally represented by a vector (p i, j , q i, j ) of the following equation (2). .

【0044】[0044]

【数2】(pi,j ,qi,j )=(Gi+1,j −Gi,j ,G
i,j+1 −Gi,j
(P i, j , q i, j ) = (G i + 1, j −G i, j , G
i, j + 1 -G i, j )

【0045】また、位相を合わせるため大きなエリアで
計算する場合には数3式のベクトルで表すことができ
る。
When the calculation is performed in a large area in order to match the phases, it can be represented by the vector of Expression 3.

【0046】[0046]

【数3】(pi,j ,qi,j )=((Gi+1,j+1 +G
i+1,j +Gi+1,j-1 )−(Gi-1,j+1 +Gi-1,j +G
i-1,j-1 ),(Gi+1,j+1 +Gi,j+1 +Gi-1,j+1 )−
(Gi+1,j-1 +Gi,j-1 +Gi-1,j-1 ))
## EQU3 ## (p i, j , q i, j ) = ((G i + 1, j + 1 + G
i + 1, j + Gi + 1, j-1 )-(Gi -1, j + 1 + Gi -1, j + G
i-1, j-1 ), (Gi + 1, j + 1 + Gi , j + 1 + Gi -1, j + 1 )-
(G i + 1, j-1 + G i, j-1 + G i-1, j-1 ))

【0047】このベクトル(pi,j ,qi,j )に垂直な
ベクトルは、図6に示すように求められる。つまり、補
間対象画素を囲む3×3の画像ブロックにおいて、狭い
斜線で示す画素は画像データの値がゼロであり、広い斜
線で示す画素は画像データの値が中間値であり、空白の
画素は画像データの値が最大値である。このとき、ベク
トル(pi,j ,qi,j )は、画像データの値がゼロ、中
間値の画素から最大値の画素の方向を示す。この場合、
図6において、左下の3つの画素がゼロであり、左斜め
上から右斜め下への補間対象画素を含む3つの画素が中
間値であり、右上の3つの画素が最大値であるので、補
間対象画素のベクトルは右斜め上方向である。そして、
このベクトルに垂直なベクトルは、左斜め上または右斜
め下への補間対象画素を含む中間値の3つの画素の方向
である、ベクトル(−qi,j ,pi,j )またはベクトル
(qi,j ,−pi,j )である。そして、このベクトル
(−qi,j ,pi,j )またはベクトル(qi,j ,−p
i,j )の方向がエッジ方向に相当する。
A vector perpendicular to the vector (p i, j , q i, j ) is obtained as shown in FIG. That is, in the 3 × 3 image block surrounding the pixel to be interpolated, a pixel indicated by a narrow diagonal line has an image data value of zero, a pixel indicated by a wide diagonal line has an image data value of an intermediate value, and a blank pixel has The value of the image data is the maximum value. At this time, the vector (p i, j , q i, j ) indicates the direction from the pixel of the intermediate value to the pixel of the maximum value where the value of the image data is zero. in this case,
In FIG. 6, the lower left three pixels are zero, the three pixels including the pixel to be interpolated from diagonally upper left to the lower right are intermediate values, and the three upper right pixels are maximum values. The vector of the target pixel is in a diagonally upper right direction. And
A vector perpendicular to this vector is a vector (−q i, j , p i, j ) or a vector (q), which is the direction of three pixels of intermediate values including the pixel to be interpolated to the upper left or lower right. i, j , -pi , j ). Then, the vector (−q i, j , p i, j ) or the vector (q i, j , −p
The direction of i, j ) corresponds to the edge direction.

【0048】次に、単純拡大部30により画像をj主走
査方向(ライン方向)に単純に2倍に拡大した場合、ベ
クトル(pi,j ,qi,j )はベクトル(2pi,j ,q
i,j )となり、ベクトル(2pi,j ,qi,j )に垂直な
ベクトルは、図7に示すようにに求められる。つまり、
j主走査方向に2倍された補間対象画素を囲む3×6の
画像ブロックにおいて、狭い斜線で示す画素は画像デー
タの値がゼロであり、広い斜線で示す画素は画像データ
の値が中間値であり、空白の画素は画像データの値が最
大値である。このとき、図6に示したそれぞれの画素が
j主走査方向に2倍される。ベクトル(2pi,j ,q
i,j )は、画像データの値がゼロ、中間値の画素から最
大値の画素の方向を示す。この場合、図7において、左
下の6つの画素がゼロであり、左斜め上から右斜め下へ
のj主走査方向に2倍された補間対象画素を含む6つの
画素が中間値であり、右上の6つの画素が最大値である
ので、補間対象画素のベクトルは右斜め上方向である。
そして、このベクトルに垂直なベクトルは、左斜め上ま
たは右斜め下へのj主走査方向に2倍された補間対象画
素を含む中間値の6つの画素の方向である、ベクトル
(−qi,j ,2pi,j )またはベクトル(qi,j ,−2
i,j )である。そして、このベクトル(−qi,j,2
i,j )またはベクトル(qi,j ,−2pi,j )の方向
がエッジ方向に相当する。このベクトルをこの方向の直
線の傾きai,j で表すと数4式のようになる。
Next, when the image is simply doubled in the j main scanning direction (line direction) by the simple enlarging unit 30, the vector (p i, j , q i, j ) becomes the vector (2p i, j). , Q
i, j ), and a vector perpendicular to the vector (2p i, j , q i, j ) is obtained as shown in FIG. That is,
j In a 3 × 6 image block surrounding a pixel to be interpolated doubled in the main scanning direction, a pixel indicated by a narrow diagonal line has an image data value of zero, and a pixel indicated by a wide diagonal line has an image data value of an intermediate value. In the blank pixels, the value of the image data is the maximum value. At this time, each pixel shown in FIG. 6 is doubled in the j main scanning direction. Vector (2p i, j , q
i, j ) indicates the direction from the pixel having the image data value of zero, the intermediate value to the pixel having the maximum value. In this case, in FIG. 7, the six pixels at the lower left are zero, the six pixels including the interpolation target pixel doubled in the j main scanning direction from the upper left to the lower right are intermediate values, and Since the six pixels have the maximum value, the vector of the pixel to be interpolated is in a diagonally upper right direction.
The vector perpendicular to this vector is the vector (−q i ,, which is the direction of six pixels of the intermediate value including the interpolation target pixel doubled in the j main scanning direction to the upper left and lower right . j , 2pi , j ) or vector (qi , j , -2)
p i, j ). Then, the vector (−q i, j , 2)
The direction of (pi , j ) or the vector (qi , j , -2pi , j ) corresponds to the edge direction. When this vector is represented by the gradient a i, j of a straight line in this direction, Equation 4 is obtained.

【0049】[0049]

【数4】ai,j =tanθi,j =−2pi,j /qi,j このai,j の値によって画像の局所的なエッジ方向を表
すことができる。
## EQU4 ## a i, j = tan θ i, j = -2 p i, j / q i, j The value of a i, j can represent the local edge direction of the image.

【0050】次に、このようなエッジ方向検出の詳細を
説明する。画像データGi,j をj主走査方向に2倍に拡
大した画像データをgi,k とおくと、数5式のようにな
る。
Next, details of such edge direction detection will be described. If the image data G i, j obtained by enlarging the image data G i, j by a factor of 2 in the j main scanning direction is g i, k , Equation 5 is obtained.

【0051】[0051]

【数5】 gi,k =Gi,k/2 (k:even) =Gi,(k-1)/2 (k:odd)G i, k = G i, k / 2 (k: even) = G i, (k−1) / 2 (k: odd)

【0052】先に説明した空間1次微分(pi,j ,q
i,j )に相当する量は、2倍拡大後の画像データgi,k
に対して(ri,k ,si,k )として数6式で得られる。
The spatial first derivative (p i, j , q
i, j ) is equivalent to the image data g i, k
And (r i, k , s i, k ) can be obtained by equation (6).

【0053】[0053]

【数6】 (ri,k ,si,k )= (max[(gi+1,k +gi+1,k-2 −gi,k −gi,k-2 )/2,(gi,k +gi, k-2 −gi-1,k −gi-1,k-2 )/2],(gi+1,k +gi,k +gi-1,k −gi+1, k-2 −gi,k-2 −gi-1,k-2 )/3) (k:even) (max[(gi+1,k +gi+1,k+2 −gi,k −gi,k+2 )/2,(gi,k +gi, k+2 −gi-1,k −gi-1,k+2 )/2],(gi+1,k+2 +gi,k+2 +gi-1,k+2 − gi+1,k −gi,k −gi-1,k )/3) (k:odd)(R i, k , s i, k ) = (max [(g i + 1, k + g i + 1, k−2− g i, k −g i, k−2 ) / 2, (Gi , k + gi , k-2 -gi -1, k- gi -1, k-2 ) / 2], (gi + 1, k + gi , k + gi -1, k- g i + 1, k−2 −g i, k−2 −g i−1, k−2 ) / 3) (k: even) (max [(g i + 1, k + g i + 1, k + 2− g i, k −g i, k + 2 ) / 2, (g i, k + g i, k + 2 −g i−1, k −g i−1, k + 2 ) / 2], ( gi + 1, k + 2 + gi , k + 2 + gi -1, k + 2- gi + 1, k- gi , k- gi -1, k ) / 3) (k: odd)

【0054】ここで、max[*,*]は絶対値の大き
い方を表す。このように、(ri,k,si,k )は2倍拡
大画像における位相を考慮したものになっていることが
分かる。
Here, max [*, *] indicates the one with the larger absolute value. Thus, it can be seen that (ri , k , si , k ) takes into account the phase in the double-magnified image.

【0055】さらに、i,k方向の2次微分値を計算
し、その絶対値が小さい場合は、画像曲面の曲がりが少
ないと判断し、数7式を採用する。
Further, the second derivative in the i and k directions is calculated. If the absolute value is small, it is determined that the curved surface of the image is small, and the equation (7) is adopted.

【0056】[0056]

【数7】 (ri,k ,si,k )= ((gi+1,k +gi+1,k-2 −gi-1,k −gi-1,k-2 )/2,(gi+1,k+2 +gi, k+2 +gi-1,k+2 −gi+1,k-2 −gi,k-2 −gi-1,k-2 )/3) (k:even) ((gi+1,k +gi+1,k-2 −gi-1,k −gi-1,k-2 )/2,(gi+1,k+2 +gi, k+2 +gi-1,k+2 −gi+1,k-2 −gi,k-2 −gi-1,k-2 )/3) (k:odd)(7) (ri , k , si , k ) = ((gi + 1, k + gi + 1, k-2 -gi -1, k- gi -1, k-2 ) / 2, (g i + 1, k + 2 + g i, k + 2 + g i-1, k + 2 -g i + 1, k-2 -g i, k-2 -g i-1, k-2 ) / 3) (k: even) ((gi + 1, k + gi + 1, k-2 -gi -1, k- gi -1, k-2 ) / 2, (gi + 1) , k + 2 + gi , k + 2 + gi -1, k + 2 -gi + 1, k-2 -gi , k-2 -gi -1, k-2 ) / 3) (k: odd)

【0057】このように、i,k方向の2次微分値が小
さいときは、大きなエリアで傾きベクトルを算出するこ
とによって、誤検出を防ぐことができる。ベクトル(r
i,k,si,k )から、先に画像の局所的なエッジ方向を
数4式で表わした傾きai,jに相当する量は、傾きb
i,k として数8式で表される。
As described above, when the secondary differential value in the i and k directions is small, erroneous detection can be prevented by calculating the inclination vector in a large area. Vector (r
i, k , s i, k ), the amount corresponding to the gradient a i, j that previously expressed the local edge direction of the image by Equation 4 is the gradient b
It is expressed by Expression 8 as i, k .

【0058】[0058]

【数8】bi,k =−2ri,k /si,k ## EQU8 ## b i, k = −2r i, k / s i, k

【0059】このようにして得られた傾きbi,k の値に
よって、エッジ方向領域指定手段42によって画像のエ
ッジ方向を少なくとも水平方向43、垂直方向44、斜
め方向45を含む図8に示すような8つの領域に分割す
る。先に求めた傾きai,j の値によって画像のエッジ方
向を分割しても同様であるので、図8において、8分割
に領域を分割する例を示す。領域は傾きai,j の値が
正であって3/4以下のときである。領域は傾きa
i,j の値が3/4より大であって3/2以下のときであ
る。領域は傾きai,j の値が3/2より大であって4
以下のときである。領域は傾きai,j の絶対値が4よ
り大のときである。領域は傾きai,j の値が負であっ
て−3/4以上のときである。領域は傾きai,j の値
が−3/4より小であって−3/2以上のときである。
領域は傾きai,j の値が−3/2より小であって−4
以上のときである。領域はpi,j の絶対値が定数以下
のときである。つまり、領域が水平方向43、領域
が垂直方向44、領域、領域、領域、領域、領
域、領域が斜め方向45である。
According to the values of the inclinations b i, k obtained in this way, the edge direction of the image is specified by the edge direction area specifying means 42 as shown in FIG. 8 including at least the horizontal direction 43, the vertical direction 44, and the oblique direction 45. Into eight regions. Since the same applies to the case where the edge direction of the image is divided by the value of the inclination a i, j obtained earlier, FIG. 8 shows an example in which the area is divided into eight. The region is when the value of the gradient a i, j is positive and is not more than /. The area is slope a
This is when the value of i, j is larger than 3/4 and equal to or smaller than 3/2. In the area , the value of the slope a i, j is larger than 3/2 and 4
It is the following time. The region is when the absolute value of the slope a i, j is greater than 4. The region is when the value of the gradient a i, j is negative and is −3/4 or more. The area is when the value of the gradient a i, j is smaller than −3/4 and is −3/2 or more.
In the region , the value of the slope a i, j is smaller than −3/2 and
That is the time. The region is when the absolute value of p i, j is equal to or less than a constant. That is, the region is the horizontal direction 43, the region is the vertical direction 44, and the region, the region, the region, the region, the region, and the region are the oblique directions 45.

【0060】次に、図8において、エッジ方向指定手段
42により、領域、領域、領域、領域、領域
、領域などの斜め方向45が検出された場合に、直
角コーナーパターン検出手段46により図9に示す文字
などの直角コーナーパターンの検出が行われる。図9に
おいて、補間対象画素を囲む3×3の画像ブロックにお
いて、狭い斜線で示す画素は画像データの値がゼロであ
り、広い斜線で示す画素は画像データの値が中間値であ
り、空白の画素は画像データの値が最大値である。この
とき、ベクトル(pi,j ,qi,j )は、画像データの値
がゼロ、中間値の画素から最大値の画素の方向を示す。
この場合、図9において、左下の2つの画素がゼロであ
り、補間対象画素を含む2つの画素が中間値であり、残
りの上から右に延びる5つの画素が最大値であるので、
補間対象画素のベクトルは右斜め上方向として検出され
る。そして、このベクトルに垂直なベクトルは、補間対
象画素を含む中間値の画素がj方向であるにもかかわら
ず、左斜め上または右斜め下への2つの方向である、ベ
クトル(−qi,j ,pi,j )またはベクトル(qi,j
−pi,j )として検出される。そして、このベクトル
(−qi,j ,pi,j )またはベクトル(qi,j ,−p
i,j )の方向がエッジ方向に相当する。
Next, in FIG. 8, when the edge direction designating unit 42 detects the oblique direction 45 such as a region, a region, a region, a region, a region, and a region, the right-angle corner pattern detecting unit 46 returns to FIG. The detection of a right-angle corner pattern such as a character to be shown is performed. In FIG. 9, in a 3 × 3 image block surrounding a pixel to be interpolated, a pixel indicated by a narrow diagonal line has an image data value of zero, a pixel indicated by a wide diagonal line has an image data value of an intermediate value, and is blank. The pixel has the maximum value of the image data. At this time, the vector (p i, j , q i, j ) indicates the direction from the pixel of the intermediate value to the pixel of the maximum value where the value of the image data is zero.
In this case, in FIG. 9, the lower left two pixels are zero, the two pixels including the interpolation target pixel are intermediate values, and the remaining five pixels extending from top to right are maximum values.
The vector of the pixel to be interpolated is detected as a diagonally upper right direction. The vector perpendicular to this vector is a vector (−q i, j , p i, j ) or a vector (q i, j ,
-Pi , j ). Then, the vector (−q i, j , p i, j ) or the vector (q i, j , −p
The direction of i, j ) corresponds to the edge direction.

【0061】ところが、図9に示すような直角コーナー
パターンは、自然画像ではなく、文字などの人工画像に
多く含まれるため、図9に示すように、ベクトル(−q
i,j,pi,j )またはベクトル(qi,j ,−pi,j )の
方向がエッジ方向として検出されると、文字の形が歪ん
でしまう。そこで、この直角コーナーパターンを検出す
るために、数9式のように周辺画素の傾きを計算する。
これは、k:奇数(odd)で図8において領域、領
域、領域の斜め方向45が選択された場合である。
However, since the right-angled corner pattern as shown in FIG. 9 is not included in a natural image but is often included in an artificial image such as a character, as shown in FIG.
If the direction of i, j , p i, j ) or the vector (q i, j , −p i, j ) is detected as the edge direction, the shape of the character is distorted. Therefore, in order to detect the right-angled corner pattern, the inclination of the peripheral pixels is calculated as in equation (9).
This is a case where the region, the region, and the oblique direction 45 of the region are selected in FIG. 8 with k: odd number (odd).

【0062】[0062]

【数9】dmi,j =gi+2,k −gi+2,k-2 dni,k =gi,k+2 −gi-2,k-2 dh1i,k =gi,k −gi+2,k dh2i,k =gi,k-2 −gi+2,k-2 Dm i, j = g i + 2, k −g i + 2, k−2 d n i, k = g i, k + 2 −g i−2, k−2 dh1 i, k = g i, k −g i + 2, k dh2 i, k = g i, k−2 −g i + 2, k−2

【0063】このとき、dmi,k とdni,k の絶対値が
小さく、かつdh1i,k とdh2i,k が同符号ならば、
直角コーナーパターンとみなし、図8において、領域
の水平方向43が選択される。他の場合も同様の処理が
行われ、この直角コーナーパターンの検出処理によって
文字などの人工画像の変形を抑えることができる。この
ようにして、画像の局所的なエッジ方向が検出される。
At this time, if the absolute values of dm i, k and dn i, k are small and dh1 i, k and dh2 i, k have the same sign,
Considering a right angle corner pattern, in FIG. 8, the horizontal direction 43 of the area is selected. In other cases, similar processing is performed, and deformation of artificial images such as characters can be suppressed by the detection processing of the right-angle corner pattern. Thus, the local edge direction of the image is detected.

【0064】次に、2次元適応フィルターの動作を説明
する。エッジ検出部において検出された図8に示す領域
〜領域のエッジ方向に応じて、2次元適応フィルタ
ーのエッジ方向対応係数選択手段50は係数51を、図
10及び図11に示すH1 (Zi ,Zj )〜H
8 (Zi ,Zj )に切り換える。図10において、H1
(Zi,Zj )は、i副走査方向の第1ラインに対し
て、j主走査方向に0,0,0,+5/16,+5/1
6,−3/32,−1/32であり、第2ラインに対し
て、j主走査方向に0,0,0,0,0,0,0であ
り、第3ラインに対して、j主走査方向に−1/32,
−3/32,+5/16,+5/16,0,0,0であ
る。H2 (Zi ,Zj )は、i副走査方向の第1ライン
に対して、j主走査方向に0,0,0,0,+5/1
6,−3/32,−1/32であり、第2ラインに対し
て、j主走査方向に0,0,0,+5/8,0,0,0
であり、第3ラインに対して、j主走査方向に−1/3
2,−3/32,+5/16,0,0,0,0である。
3 (Zi ,Zj )は、i副走査方向の第1ラインに対
して、j主走査方向に0,0,0,0,+5/32,−
3/32,−1/32であり、第2ラインに対して、j
主走査方向に0,0,+5/32,+5/8,+5/3
2,0,0であり、第3ラインに対して、j主走査方向
に−1/32,−3/32,+5/32,0,0,0,
0である。H4 (Zi ,Zj )は、i副走査方向の第1
ラインに対して、j主走査方向に0,0,0,0,0,
0,0であり、第2ラインに対して、j主走査方向に−
1/32,−3/32,+5/16,+5/8,+5/
16,−3/32,−1/32であり、第3ラインに対
して、j主走査方向に0,0,0,0,0,0,0であ
る。
Next, the operation of the two-dimensional adaptive filter will be described. In accordance with the edge direction of the area shown in FIG. 8 detected by the edge detection unit, the edge direction corresponding coefficient selection means 50 of the two-dimensional adaptive filter converts the coefficient 51 into H 1 (Z i) shown in FIG. 10 and FIG. , Z j ) -H
8 Switch to (Z i , Z j ). In FIG. 10, H 1
(Z i , Z j ) is 0, 0, 0, +5/16, +5/1 in the j main scanning direction with respect to the first line in the i sub scanning direction.
6, -3/32, -1/32, 0,0,0,0,0,0,0 in the j main scanning direction for the second line, and j for the third line. -1/32 in the main scanning direction,
−3/32, +5/16, +5/16, 0, 0, 0. H 2 (Z i , Z j ) is 0, 0, 0, 0, +5/1 in the j main scanning direction with respect to the first line in the i sub scanning direction.
6, −3/32, −1/32, and 0, 0, 0, +5/8, 0, 0, 0 in the j main scanning direction with respect to the second line.
And -−1 in the main scanning direction with respect to the third line.
2, −3/32, +5/16, 0, 0, 0, 0.
H 3 (Z i , Z j ) is 0, 0, 0, 0, +5/32, −5 in the j main scanning direction with respect to the first line in the i sub scanning direction.
3/32, -1/32, and for the second line, j
0, 0, +5/32, +5/8, +5/3 in the main scanning direction
2, 0, 0, and -1/32, -3/32, +5/32, 0, 0, 0,
0. H 4 (Z i , Z j ) is the first in the i sub-scanning direction.
With respect to the line, 0, 0, 0, 0, 0,
0, 0, and −
1/32, -3/32, +5/16, +5/8, + 5 /
16, −3/32, −1/32, and 0,0,0,0,0,0,0 in the j main scanning direction with respect to the third line.

【0065】また、図11において、H5 (Zi
j )は、i副走査方向の第1ラインに対して、j主走
査方向に−1/32,−3/32,+5/16,+5/
16,0,0,0,であり、第2ラインに対して、j主
走査方向に0,0,0,0,0,0,0であり、第3ラ
インに対して、j主走査方向に0,0,0,+5/1
6,+5/16,−3/32,−1/32である。H6
(Zi ,Zj )は、i副走査方向の第1ラインに対し
て、j主走査方向に−1/32,−3/32,+5/1
6,0,0,0,0,であり、第2ラインに対して、j
主走査方向に0,0,0,+5/8,0,0,0であ
り、第3ラインに対して、j主走査方向に0,0,0,
0,+5/16,−3/32,−1/32である。H7
(Zi ,Zj )は、i副走査方向の第1ラインに対し
て、j主走査方向に−1/32,−3/32,+5/3
2,0,0,0,0,であり、第2ラインに対して、j
主走査方向に0,0,+5/32,+5/8,+5/3
2,0,0であり、第3ラインに対して、j主走査方向
に0,0,0,0,+5/32,−3/32,−1/3
2である。H8 (Zi ,Zj )は、i副走査方向の第1
ラインに対して、j主走査方向に0,0,0,+5/3
2,0,0,0であり、第2ラインに対して、j主走査
方向に−1/32,−3/32,+5/32,+5/
8,+5/32,−3/32,−1/32であり、第3
ラインに対して、j主走査方向に0,0,0,+5/3
2,0,0,0である。
In FIG. 11, H 5 (Z i ,
Z j ) is -1/32, -3/32, +5/16, + 5 / in the j main scanning direction with respect to the first line in the i sub scanning direction.
16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 in the j main scanning direction with respect to the second line, and j in the j main scanning direction with respect to the third line. 0,0,0, + 5/1
6, +5/16, -3/32 and -1/32. H 6
(Z i , Z j ) is -1/32, -3/32, +5/1 in the j main scanning direction with respect to the first line in the i sub scanning direction.
6,0,0,0,0, and for the second line, j
0, 0, 0, +5/8, 0, 0, 0 in the main scanning direction, and 0, 0, 0, 0 in the j main scanning direction with respect to the third line.
0, +5/16, -3/32, -1/32. H 7
(Z i , Z j ) is -1/32, -3/32, +5/3 in the j main scanning direction with respect to the first line in the i sub scanning direction.
2,0,0,0,0, and for the second line, j
0, 0, +5/32, +5/8, +5/3 in the main scanning direction
2, 0, 0, and 0, 0, 0, 0, +5/32, −3/32, − / in the j main scanning direction with respect to the third line.
2. H 8 (Z i , Z j ) is the first in the i sub-scanning direction.
0, 0, 0, +5/3 in the j main scanning direction with respect to the line
2, 0, 0, 0, and -1/32, -3/32, +5/32, + 5 /
8, +5/32, -3/32, -1/32.
0, 0, 0, +5/3 in the j main scanning direction with respect to the line
2,0,0,0.

【0066】これらの係数による各フィルター動作はj
主走査方向に施されるので、3ライン程度の画像メモリ
を内部に有すれば良い。また、フィルター係数が2の倍
数なので、比較的安価にハードウエア化することができ
る。
Each filter operation by these coefficients is j
Since it is performed in the main scanning direction, an image memory of about three lines may be provided inside. In addition, since the filter coefficient is a multiple of two, hardware can be implemented relatively inexpensively.

【0067】このような2次元適応フィルターの係数H
1 (Zi ,Zj )〜H8 (Zi ,Zj )の周波数特性を
図12〜図16に示す。この周波数特性は、それぞれX
周波数およびY周波数の2次元に対するゲインを示す。
図12にH5 (Zi ,Zj )の周波数特性を示す。ここ
で、H1 (Zi ,Zj )の周波数特性はX=0で左右反
転したものである。図13にH6 (Zi ,Zj )の周波
数特性を示す。ここで、H2 (Zi ,Zj )の周波数特
性はX=0で左右反転したものである。図14にH
7 (Zi ,Zj )の周波数特性を示す。ここで、H
3 (Zi ,Zj )の周波数特性はX=0で左右反転した
ものである。このように、H1 (Zi ,Zj )、H
2 (Zi ,Zj )、H3 (Zi ,Zj )の周波数特性
は、それぞれH5 (Zi,Zj )、H6 (Zi
j )、H7 (Zi ,Zj )の周波数特性をi副走査方
向に反転したものである。図15にH4 (Zi ,Zj
の周波数特性を示す。図16にH8 (Zi ,Zj )の周
波数特性を示す。
The coefficient H of such a two-dimensional adaptive filter
1 (Z i, Z j) ~H 8 (Z i, Z j) the frequency characteristic is shown in FIGS. 12 to 16. This frequency characteristic is represented by X
The gain for two dimensions of frequency and Y frequency is shown.
FIG. 12 shows the frequency characteristics of H 5 (Z i , Z j ). Here, the frequency characteristic of H 1 (Z i , Z j ) is obtained by inverting left and right at X = 0. FIG. 13 shows the frequency characteristics of H 6 (Z i , Z j ). Here, the frequency characteristic of H 2 (Z i , Z j ) is obtained by inverting left and right at X = 0. H in FIG.
7 shows the frequency characteristic of (Z i , Z j ). Where H
The frequency characteristic of 3 (Z i , Z j ) is obtained by inverting left and right at X = 0. Thus, H 1 (Z i , Z j ), H
The frequency characteristics of 2 (Z i , Z j ) and H 3 (Z i , Z j ) are H 5 (Z i , Z j ) and H 6 (Z i ,
The frequency characteristics of Z j ) and H 7 (Z i , Z j ) are inverted in the i sub-scanning direction. FIG. 15 shows H 4 (Z i , Z j )
FIG. FIG. 16 shows the frequency characteristics of H 8 (Z i , Z j ).

【0068】これらのフィルター係数は方向性を持った
ものであり、2次元ローパスフィルターを構成し、これ
により、エッジ方向のギザギザ成分をカットし、これに
垂直な方向のエッジの急峻さを保存するような特性を持
っているので、斜め方向のエッジがギザギザにならずに
滑らかに補間される。
These filter coefficients have directionality, and constitute a two-dimensional low-pass filter, thereby cutting jagged components in the edge direction and preserving the sharpness of the edge in the direction perpendicular to the edge. With such characteristics, oblique edges are smoothly interpolated without being jagged.

【0069】また、画素の平均値を用いる方法に比べて
特性の良いローパスフィルターを構成することができる
ので、画像のボケを抑えることができる。さらに、これ
らのフィルターは、単純2倍拡大画像に対して施される
ため、画素の平均値を用いる方法に比べて水平方向のエ
ッジがボケずに保存されるという利点がある。
Further, since a low-pass filter having better characteristics can be configured as compared with the method using the average value of pixels, blurring of an image can be suppressed. Furthermore, since these filters are applied to a simple double-magnified image, there is an advantage that horizontal edges are preserved without blurring as compared with a method using an average value of pixels.

【0070】このように、本実施の形態により、斜めエ
ッジが滑らかに補間され、画像のボケが少なく、文字な
どの変形も少ない、高画質の補間画像を得ることができ
る。
As described above, according to the present embodiment, it is possible to obtain a high-quality interpolated image in which oblique edges are smoothly interpolated, the blur of the image is small, and the deformation of characters and the like is small.

【0071】また、上例に限らず、ディジタルカラープ
リンターにおいて低解像度画像を高解像度で印画する場
合や、コンピュータ上で画像を高解像度化するソフトウ
エアにより構成しても良い。
The present invention is not limited to the above example, and may be constituted by printing a low-resolution image at a high resolution in a digital color printer, or by software for increasing the image resolution on a computer.

【0072】また、本実施の形態を用いて2倍の画素に
補間した後に、自由倍率の解像度変換手段により解像度
変換を施すようにしてもよく、この場合、単独で自由倍
率の解像度変換手段により解像度変換を施した場合に比
べて、より高画質の出力画像を得ることができる。
Also, after interpolating to twice as many pixels using this embodiment, resolution conversion may be performed by the free-magnification resolution conversion means. In this case, the free-magnification resolution conversion means may be used alone. An output image with higher image quality can be obtained as compared with the case where the resolution conversion is performed.

【0073】[0073]

【発明の効果】この発明の画像補間装置は、画像の局所
的なエッジ方向を検出するエッジ検出手段と、上記エッ
ジ検出手段により検出されたエッジ方向により係数を選
択して選択された上記係数の有する周波数特性により所
定周波数帯域に対して所定ゲインでフィルターをかける
フィルター手段とを備え、上記画像の特定の画素を1方
向に2倍に補間するようにしたので、エッジ方向のギザ
ギザ成分をカットし、これに垂直な方向のエッジの急峻
さを保存することにより、斜めエッジが滑らかに補間さ
れ、画像のボケが少なく、文字などの変形も少ない、高
画質の補間画像を得ることができるという効果を奏す
る。
According to the image interpolation apparatus of the present invention, an edge detecting means for detecting a local edge direction of an image, and a coefficient selected based on the edge direction detected by the edge detecting means are selected. Filter means for filtering a predetermined frequency band with a predetermined gain according to a frequency characteristic of the image, and a specific pixel of the image is interpolated twice in one direction, so that a jagged component in an edge direction is cut. By preserving the steepness of the edge in the direction perpendicular to the direction, the oblique edge is smoothly interpolated, the blur of the image is reduced, and the deformation of characters and the like is reduced, so that a high-quality interpolated image can be obtained. To play.

【0074】また、この発明の画像補間装置は、上述に
おいて、上記エッジ検出手段は、上記画像の局所的な最
大傾き方向を検出する最大傾き方向検出手段と、上記最
大傾き検出手段により検出された最大傾き方向に対して
垂直方向をエッジ方向として検出する垂直方向検出手段
と、上記垂直方向検出手段により検出されたエッジ方向
を複数の領域に分割し、上記エッジ方向が属する領域を
指定するエッジ方向領域指定手段と、を有するようにし
たので、画像の局所的なエッジ方向を検出して、このエ
ッジ方向に応じて係数を変えてフィルターをかけること
ができるという効果を奏する。
In the image interpolation apparatus of the present invention, the edge detecting means is detected by the maximum tilt direction detecting means for detecting a local maximum tilt direction of the image and the maximum tilt direction detecting means. A vertical direction detecting means for detecting a direction perpendicular to the maximum inclination direction as an edge direction; and an edge direction for dividing the edge direction detected by the vertical direction detecting means into a plurality of regions and specifying a region to which the edge direction belongs Since the image processing apparatus includes the area designating means, an effect is provided that a local edge direction of an image can be detected and a filter can be applied by changing a coefficient according to the edge direction.

【0075】また、この発明の画像補間装置は、上述に
おいて、上記フィルター手段は、2次元ディジタルフィ
ルターであって、方向性を有する周波数特性を持った係
数と、上記係数のうち上記エッジ検出手段により検出さ
れたエッジ方向に対応した係数を選択するエッジ方向対
応係数選択手段とを有するので、エッジ方向に応じて係
数を変えて異なる周波数特性によるフィルターをかける
ことができるという効果を奏する。
Further, in the image interpolation apparatus of the present invention, the filter means is a two-dimensional digital filter, and comprises a coefficient having a directional frequency characteristic, and the edge detection means among the coefficients. Since there is provided an edge-direction-corresponding coefficient selecting means for selecting a coefficient corresponding to the detected edge direction, there is an effect that a filter having a different frequency characteristic can be applied by changing the coefficient in accordance with the edge direction.

【0076】また、この発明の画像補間装置は、上記エ
ッジ検出手段は、上記画像の局所的な最大傾き方向を検
出する最大傾き方向検出手段と、上記最大傾き検出手段
により検出された最大傾き方向と垂直方向をエッジ方向
として検出する垂直方向検出手段と、上記垂直方向検出
手段により検出されたエッジ方向を複数の領域に分割
し、上記エッジ方向が属する領域を指定するエッジ方向
領域指定手段と、上記エッジ方向領域指定手段によりエ
ッジ方向が斜め方向であると検出された場合であって、
補間すべき画素が画像のうちの直角の角部であることを
検出したとき、上記エッジ方向領域指定手段によるエッ
ジ方向を水平方向に選択する直角コーナーパターン検出
手段とを有するので、直角コーナーパターンを有する文
字などの画像の変形を抑えることができるという効果を
奏する。
In the image interpolation apparatus according to the present invention, the edge detecting means includes a maximum tilt direction detecting means for detecting a local maximum tilt direction of the image, and a maximum tilt direction detected by the maximum tilt detecting means. Vertical direction detecting means for detecting the vertical direction as an edge direction, and an edge direction area specifying means for dividing the edge direction detected by the vertical direction detecting means into a plurality of areas, and specifying an area to which the edge direction belongs, In the case where the edge direction is detected by the edge direction area designating means to be an oblique direction,
When detecting that the pixel to be interpolated is a right-angled corner in the image, the image processing apparatus has a right-angled corner pattern detecting means for horizontally selecting an edge direction by the edge direction area specifying means. This has an effect that deformation of an image such as a character can be suppressed.

【0077】また、この発明の画像補間方法は、画像の
局所的なエッジ方向を検出し、検出された上記エッジ方
向により係数を選択して選択された上記係数の有する周
波数特性により所定周波数帯域に対して所定ゲインでフ
ィルターをかけ、上記画像の特定の画素を1方向に2倍
に補間するようにしたので、エッジ方向のギザギザ成分
をカットし、これに垂直な方向のエッジの急峻さを保存
することにより、斜めエッジが滑らかに補間され、画像
のボケが少なく、文字などの変形も少ない、高画質の補
間画像を得ることができるという効果を奏する。
Further, the image interpolation method of the present invention detects a local edge direction of an image, selects a coefficient in accordance with the detected edge direction, and sets a coefficient in a predetermined frequency band based on a frequency characteristic of the selected coefficient. On the other hand, a filter is applied with a predetermined gain to interpolate a specific pixel of the above image twice in one direction, so the jagged component in the edge direction is cut and the steepness of the edge in the direction perpendicular to this is preserved. By doing so, it is possible to obtain an effect that a high-quality interpolated image can be obtained in which oblique edges are smoothly interpolated, the image is less blurred, and characters and the like are less deformed.

【0078】また、この発明の画像補間方法は、上述に
おいて、上記エッジ検出は、上記画像の局所的な最大傾
き方向を検出し、検出された上記最大傾き方向に対する
垂直方向をエッジ方向として検出し、検出された上記エ
ッジ方向を複数の領域に分割し、上記エッジ方向が属す
る領域を指定するようにしたので、画像の局所的なエッ
ジ方向を検出することにより、このエッジ方向に応じて
係数を変えてフィルターをかけることができるという効
果を奏する。
In the image interpolation method according to the present invention, the edge detection includes detecting a local maximum inclination direction of the image, and detecting a direction perpendicular to the detected maximum inclination direction as an edge direction. Since the detected edge direction is divided into a plurality of regions and the region to which the edge direction belongs is specified, by detecting the local edge direction of the image, the coefficient is determined in accordance with the edge direction. It has the effect of being able to apply a filter by changing it.

【0079】また、この発明の画像補間方法は、上述に
おいて、上記フィルターは、2次元ディジタルフィルタ
ーであって、方向性を有する周波数特性を持った係数の
うち上記エッジ検出により検出されたエッジ方向に対応
した係数を選択するようにしたので、エッジ方向に応じ
て係数を変えて異なる周波数特性によるフィルターをか
けることができるという効果を奏する。
Further, in the image interpolation method of the present invention, in the above, the filter is a two-dimensional digital filter, and the filter has a directional frequency characteristic in an edge direction detected by the edge detection. Since the corresponding coefficient is selected, there is an effect that a filter having different frequency characteristics can be applied by changing the coefficient according to the edge direction.

【0080】また、この発明の画像補間方法は、上述に
おいて、上記エッジ検出は、上記画像の局所的な最大傾
き方向を検出し、検出された上記最大傾き方向に対して
垂直方向をエッジ方向として検出し、検出された上記エ
ッジ方向を少なくとも水平方向、垂直方向、斜め方向を
有する複数の領域に分割し、上記エッジ方向が属する領
域を指定し、上記エッジ方向が斜め方向に属する場合で
あって、補間すべき画素が画像のうちの直角の角部であ
ることを検出したとき、上記エッジ方向は水平方向を選
択するようにしたので、直角コーナーパターンを有する
文字などの画像の変形を抑えることができるという効果
を奏する。
In the image interpolation method according to the present invention, the edge detection detects a local maximum tilt direction of the image, and sets a direction perpendicular to the detected maximum tilt direction as an edge direction. Detecting and dividing the detected edge direction into a plurality of regions having at least a horizontal direction, a vertical direction, and a diagonal direction, specifying a region to which the edge direction belongs, and the edge direction belongs to a diagonal direction. When it is detected that the pixel to be interpolated is a right-angled corner of the image, the edge direction is selected to be horizontal, so that deformation of an image such as a character having a right-angled corner pattern can be suppressed. This has the effect that it can be performed.

【0081】また、この発明のビデオプリンターは、ビ
デオ画像の画像データに所定の補間処理を施して、補間
された画像データを用いてプリントヘッドによりプリン
トするビデオプリンターにおいて、画像の局所的なエッ
ジ方向を検出するエッジ検出手段と、上記エッジ検出手
段により検出されたエッジ方向により係数を選択して選
択された上記係数の有する周波数特性により所定周波数
帯域に対して所定ゲインでフィルターをかけるフィルタ
ー手段とを備え、上記画像の特定の画素を1方向に2倍
に補間してプリントするようにしたので、エッジ方向の
ギザギザ成分をカットし、これに垂直な方向のエッジの
急峻さを保存することにより、斜めエッジが滑らかに補
間され、画像のボケが少なく、文字などの変形も少な
い、高画質の補間画像のプリント出力を得ることができ
るという効果を奏する。
The video printer according to the present invention performs a predetermined interpolation process on image data of a video image, and prints the image data with a print head using the interpolated image data. And a filter means for selecting a coefficient in accordance with the edge direction detected by the edge detection means and filtering the predetermined frequency band with a predetermined gain based on the frequency characteristic of the selected coefficient. Since the image is printed by interpolating a specific pixel of the image twice in one direction, the jagged component in the edge direction is cut, and the steepness of the edge in the direction perpendicular to the edge direction is saved. High-quality interpolated images with smooth interpolation of diagonal edges, less blurring of images and less deformation of characters An effect that can be obtained printout.

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

【図1】本実施の形態の画像補間装置を適用するビデオ
プリンターの構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a video printer to which an image interpolation device according to an embodiment is applied.

【図2】本実施の形態の画像処理部ブロック図である。FIG. 2 is a block diagram of an image processing unit according to the embodiment.

【図3】本実施の形態のフィールド/フレーム補間ブロ
ックの構成を示すブロック図である。
FIG. 3 is a block diagram illustrating a configuration of a field / frame interpolation block according to the present embodiment.

【図4】本実施の形態のエッジ検出部の機能ブロック図
である。
FIG. 4 is a functional block diagram of an edge detection unit according to the embodiment.

【図5】本実施の形態の2次元適応フィルターの機能ブ
ロック図である。
FIG. 5 is a functional block diagram of a two-dimensional adaptive filter according to the present embodiment.

【図6】本実施の形態の画像の傾きベクトルを示す図で
ある。
FIG. 6 is a diagram illustrating a tilt vector of an image according to the present embodiment.

【図7】本実施の形態の補間画像の傾きベクトルを示す
図である。
FIG. 7 is a diagram illustrating a tilt vector of an interpolation image according to the present embodiment.

【図8】本実施の形態の画像のエッジ方向の領域を示す
図である。
FIG. 8 is a diagram illustrating a region in an edge direction of an image according to the present embodiment.

【図9】本実施の形態の直角コーナーパターンを示す図
である。
FIG. 9 is a diagram showing a right-angled corner pattern according to the present embodiment.

【図10】本実施の形態の2次元適応フィルターの係数
を示す図である。
FIG. 10 is a diagram illustrating coefficients of a two-dimensional adaptive filter according to the present embodiment.

【図11】本実施の形態の2次元適応フィルターの係数
を示す図である。
FIG. 11 is a diagram illustrating coefficients of a two-dimensional adaptive filter according to the present embodiment.

【図12】本実施の形態の係数H5 (Zi ,Zj )の周
波数特性(H1 (Zi ,Zj )の周波数特性はX=0で
左右反転したもの)を示す図である。
FIG. 12 is a diagram showing a frequency characteristic of a coefficient H 5 (Z i , Z j ) of the present embodiment (a frequency characteristic of H 1 (Z i , Z j ) is obtained by inverting left and right at X = 0); .

【図13】本実施の形態の係数H6 (Zi ,Zj )の周
波数特性(H2 (Zi ,Zj )の周波数特性はX=0で
左右反転したもの)を示す図である。
FIG. 13 is a diagram showing a frequency characteristic of a coefficient H 6 (Z i , Z j ) according to the present embodiment (a frequency characteristic of H 2 (Z i , Z j ) is a right and left inversion at X = 0); .

【図14】本実施の形態の係数H7 (Zi ,Zj )の周
波数特性(H3 (Zi ,Zj )の周波数特性はX=0で
左右反転したもの)を示す図である。
FIG. 14 is a diagram showing a frequency characteristic of a coefficient H 7 (Z i , Z j ) according to the present embodiment (a frequency characteristic of H 3 (Z i , Z j ) is obtained by inverting left and right at X = 0); .

【図15】本実施の形態の係数H4 (Zi ,Zj )の周
波数特性を示す図である。
FIG. 15 is a diagram showing a frequency characteristic of a coefficient H 4 (Z i , Z j ) of the present embodiment.

【図16】本実施の形態の係数H8 (Zi ,Zj )の周
波数特性を示す図である。
FIG. 16 is a diagram illustrating frequency characteristics of a coefficient H 8 (Z i , Z j ) according to the present embodiment.

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

1 ビデオ入力部、2 A/D変換器、3 メモリ制御
部、4 画像メモリ、5スイッチ部、6 システム制御
部、7 機構制御部、8 機構、9 画像処理部、10
ノンリニア補間ブロック(フィールド/フレーム補間
ブロック)、11 サーマルヘッド、12 レジスタ、
13 主走査方向コントローラ、14副走査方向コント
ローラ、15 ラインバッファ、16 副走査補間ブロ
ック、17 リニア補間ブロック、18 リサイズブロ
ック、19 ラインバッファ、20 編集機能ブロッ
ク、21 ラインバッファ、22 シャープネスブロッ
ク、23 蓄熱補正メモリ(短時定数)、24 蓄熱補
正メモリ(長時定数)、25 蓄熱補正ブロック、26
ディザブロック、Dc システム制御部コントロール
データ、Di 入力画像データ、Do 出力画像デー
タ、30 単純拡大部、31 2倍アップサンプリング
回路、32 ゼロ次ホールド回路、33 エッジ検出
部、34 2次元適応フィルター、40 最大傾き方向
検出手段、41垂直方向検出手段、42 エッジ方向領
域指定手段、43 水平方向領域、44垂直方向領域、
45 斜め方向領域、46 直角コーナーパターン検出
手段、50 エッジ方向対応係数選択手段、51 係数
(方向性を有する周波数特性を持つ)
Reference Signs List 1 video input unit, 2 A / D converter, 3 memory control unit, 4 image memory, 5 switch unit, 6 system control unit, 7 mechanism control unit, 8 mechanism, 9 image processing unit, 10
Non-linear interpolation block (field / frame interpolation block), 11 thermal head, 12 registers,
13 main scanning direction controller, 14 sub-scanning direction controller, 15 line buffer, 16 sub-scanning interpolation block, 17 linear interpolation block, 18 resize block, 19 line buffer, 20 editing function block, 21 line buffer, 22 sharpness block, 23 heat storage Correction memory (short time constant), 24 heat storage correction memory (long time constant), 25 heat storage correction block, 26
Dither block, Dc system control unit control data, Di input image data, Do output image data, 30 simple enlargement unit, 31 double upsampling circuit, 32 zero-order hold circuit, 33 edge detection unit, 34 two-dimensional adaptive filter, 40 Maximum inclination direction detection means, 41 vertical direction detection means, 42 edge direction area designation means, 43 horizontal direction areas, 44 vertical direction areas,
45 oblique direction area, 46 right angle corner pattern detecting means, 50 edge direction corresponding coefficient selecting means, 51 coefficient (has frequency characteristics having directionality)

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 画像の局所的なエッジ方向を検出するエ
ッジ検出手段と、 上記エッジ検出手段により検出されたエッジ方向により
係数を選択して選択された上記係数の有する周波数特性
により所定周波数帯域に対して所定ゲインでフィルター
をかけるフィルター手段と、 を備え、上記画像の特定の画素を1方向に2倍に補間す
るようにしたことを特徴とする画像補間装置。
An edge detecting means for detecting a local edge direction of an image, a coefficient is selected based on the edge direction detected by the edge detecting means, and a predetermined frequency band is determined by a frequency characteristic of the selected coefficient. An image interpolating apparatus, comprising: filter means for applying a filter with a predetermined gain to a specific pixel of the image, wherein the specific pixel of the image is doubled in one direction.
【請求項2】 請求項第1項記載の画像補間装置におい
て、 上記エッジ検出手段は、 上記画像の局所的な最大傾き方向を検出する最大傾き方
向検出手段と、 上記最大傾き検出手段により検出された最大傾き方向に
対して垂直方向をエッジ方向として検出する垂直方向検
出手段と、 上記垂直方向検出手段により検出されたエッジ方向を複
数の領域に分割し、上記エッジ方向が属する領域を指定
するエッジ方向領域指定手段と、 を有するようにしたことを特徴とする画像補間装置。
2. The image interpolation apparatus according to claim 1, wherein said edge detecting means is detected by said maximum tilt direction detecting means for detecting a local maximum tilt direction of said image. A vertical direction detecting means for detecting a direction perpendicular to the maximum inclination direction as an edge direction, and an edge for dividing the edge direction detected by the vertical direction detecting means into a plurality of regions and specifying a region to which the edge direction belongs An image interpolating apparatus, comprising: a direction area designating unit;
【請求項3】 請求項第1項記載の画像補間装置におい
て、 上記フィルター手段は、 2次元ディジタルフィルターであって、 方向性を有する周波数特性を持った係数と、 上記係数のうち上記エッジ検出手段により検出されたエ
ッジ方向に対応した係数を選択するエッジ方向対応係数
選択手段と、 を有することを特徴とする画像補間装置。
3. The image interpolation device according to claim 1, wherein said filter means is a two-dimensional digital filter, and comprises a coefficient having a directional frequency characteristic, and said edge detection means among said coefficients. An edge direction corresponding coefficient selecting means for selecting a coefficient corresponding to the edge direction detected by the following.
【請求項4】 請求項第1項記載の画像補間装置におい
て、 上記エッジ検出手段は、 上記画像の局所的な最大傾き方向を検出する最大傾き方
向検出手段と、 上記最大傾き検出手段により検出された最大傾き方向と
垂直方向をエッジ方向として検出する垂直方向検出手段
と、 上記垂直方向検出手段により検出されたエッジ方向を複
数の領域に分割し、上記エッジ方向が属する領域を指定
するエッジ方向領域指定手段と、 上記エッジ方向領域指定手段によりエッジ方向が斜め方
向であると検出された場合であって、補間すべき画素が
画像のうちの直角の角部であることを検出したとき、上
記エッジ方向領域指定手段によるエッジ方向を水平方向
に選択する直角コーナーパターン検出手段と、 を有することを特徴とする画像補間装置。
4. The image interpolation apparatus according to claim 1, wherein said edge detecting means is detected by said maximum tilt detecting means for detecting a local maximum tilt direction of said image. Vertical direction detecting means for detecting the maximum inclination direction and the vertical direction as an edge direction, and an edge direction area for dividing the edge direction detected by the vertical direction detecting means into a plurality of areas and designating an area to which the edge direction belongs When the edge direction is detected by the specifying means and the edge direction area specifying means to be an oblique direction, and when it is detected that a pixel to be interpolated is a right-angled corner of an image, And a right-angle corner pattern detecting means for selecting an edge direction in the horizontal direction by the direction area specifying means.
【請求項5】 画像の局所的なエッジ方向を検出し、 検出された上記エッジ方向により係数を選択して選択さ
れた上記係数の有する周波数特性により所定周波数帯域
に対して所定ゲインでフィルターをかけ、 上記画像の特定の画素を1方向に2倍に補間するように
したことを特徴とする画像補間方法。
5. A local edge direction of an image is detected, a coefficient is selected based on the detected edge direction, and a predetermined frequency band is filtered with a predetermined gain by a frequency characteristic of the selected coefficient. An image interpolation method, wherein a specific pixel of the image is interpolated twice in one direction.
【請求項6】 請求項第5項記載の画像補間方法におい
て、 上記エッジ検出は、 上記画像の局所的な最大傾き方向を検出し、 検出された上記最大傾き方向に対する垂直方向をエッジ
方向として検出し、 検出された上記エッジ方向を複数の領域に分割し、上記
エッジ方向が属する領域を指定する、 ようにしたことを特徴とする画像補間方法。
6. The image interpolation method according to claim 5, wherein in the edge detection, a local maximum inclination direction of the image is detected, and a direction perpendicular to the detected maximum inclination direction is detected as an edge direction. And dividing the detected edge direction into a plurality of regions and designating a region to which the edge direction belongs.
【請求項7】 請求項第5項記載の画像補間方法におい
て、 上記フィルターは、 2次元ディジタルフィルターであって、 方向性を有する周波数特性を持った係数のうち上記エッ
ジ検出により検出されたエッジ方向に対応した係数を選
択する、 ようにしたことを特徴とする画像補間方法。
7. The image interpolation method according to claim 5, wherein the filter is a two-dimensional digital filter, and an edge direction detected by the edge detection among coefficients having directional frequency characteristics. An image interpolation method, wherein a coefficient corresponding to is selected.
【請求項8】 請求項第5項記載の画像補間方法におい
て、 上記エッジ検出は、 上記画像の局所的な最大傾き方向を検出し、 検出された上記最大傾き方向に対して垂直方向をエッジ
方向として検出し、 検出された上記エッジ方向を少なくとも水平方向、垂直
方向、斜め方向を有する複数の領域に分割し、上記エッ
ジ方向が属する領域を指定し、 上記エッジ方向が斜め方向に属する場合であって、 補間すべき画素が画像のうちの直角の角部であることを
検出したとき、上記エッジ方向は水平方向を選択する、 ようにしたことを特徴とする画像補間方法。
8. The image interpolation method according to claim 5, wherein the edge detection detects a local maximum inclination direction of the image, and sets an edge direction perpendicular to the detected maximum inclination direction. The detected edge direction is divided into a plurality of regions having at least a horizontal direction, a vertical direction, and a diagonal direction, and a region to which the edge direction belongs is specified, and the edge direction belongs to a diagonal direction. Detecting a pixel to be interpolated at a right-angled corner of the image, selecting the horizontal direction as the edge direction.
【請求項9】ビデオ画像の画像データに所定の補間処理
を施して、補間された画像データを用いてプリントヘッ
ドによりプリントするビデオプリンターにおいて、 画像の局所的なエッジ方向を検出するエッジ検出手段
と、 上記エッジ検出手段により検出されたエッジ方向により
係数を選択して選択された上記係数の有する周波数特性
により所定周波数帯域に対して所定ゲインでフィルター
をかけるフィルター手段と、 を備え、上記画像の特定の画素を1方向に2倍に補間し
てプリントするようにしたことを特徴とするビデオプリ
ンター。
9. A video printer which performs a predetermined interpolation process on image data of a video image and prints the image data by a print head using the interpolated image data, wherein edge detection means for detecting a local edge direction of the image. Filter means for selecting a coefficient according to the edge direction detected by the edge detection means and filtering the predetermined frequency band with a predetermined gain based on a frequency characteristic of the selected coefficient, and specifying the image. A video printer characterized in that the pixels are interpolated twice in one direction and printed.
JP31229796A 1996-11-22 1996-11-22 Image interpolation apparatus and image interpolation method Expired - Fee Related JP3760531B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP31229796A JP3760531B2 (en) 1996-11-22 1996-11-22 Image interpolation apparatus and image interpolation method
US08/975,411 US6339479B1 (en) 1996-11-22 1997-11-20 Video processing apparatus for processing pixel for generating high-picture-quality image, method thereof, and video printer to which they are applied
KR1019970063136A KR100543350B1 (en) 1996-11-22 1997-11-22 Video processing apparatus for processing pixel for generating high-picture-quality image, method thereof, and video printer to which they are applied
US09/878,010 US6608699B2 (en) 1996-11-22 2001-06-08 Video processing apparatus for processing pixel for generating high-picture-quality image, method thereof, and video printer to which they are applied
US09/878,073 US6570673B2 (en) 1996-11-22 2001-06-08 Video processing apparatus for processing pixel for generating high-picture-quality image, method thereof, and video printer to which they are applied

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31229796A JP3760531B2 (en) 1996-11-22 1996-11-22 Image interpolation apparatus and image interpolation method

Publications (2)

Publication Number Publication Date
JPH10155128A true JPH10155128A (en) 1998-06-09
JP3760531B2 JP3760531B2 (en) 2006-03-29

Family

ID=18027563

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31229796A Expired - Fee Related JP3760531B2 (en) 1996-11-22 1996-11-22 Image interpolation apparatus and image interpolation method

Country Status (1)

Country Link
JP (1) JP3760531B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1054350A1 (en) * 1998-10-13 2000-11-22 Seiko Epson Corporation Image data interpolation method and device and medium recording image data interpolation program
GB2381146A (en) * 2001-09-13 2003-04-23 Hewlett Packard Co Method and system for enhancing images using edge orientation
US7346231B2 (en) 2002-04-26 2008-03-18 Mitsubishi Denki Kabushiki Kaisha Image processing device including pixel interpolation
KR100952667B1 (en) * 2008-03-20 2010-04-13 중앙대학교 산학협력단 Apparatus and method for image interpolation based on low-pass filtering
US8331720B2 (en) 2007-08-15 2012-12-11 Japan Science And Technology Agency Image processing device, method, and program
JP2014063032A (en) * 2012-09-21 2014-04-10 Nippon Hoso Kyokai <Nhk> Depth range calculation apparatus and program thereof

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1054350A1 (en) * 1998-10-13 2000-11-22 Seiko Epson Corporation Image data interpolation method and device and medium recording image data interpolation program
EP1054350A4 (en) * 1998-10-13 2004-07-07 Seiko Epson Corp Image data interpolation method and device and medium recording image data interpolation program
GB2381146A (en) * 2001-09-13 2003-04-23 Hewlett Packard Co Method and system for enhancing images using edge orientation
GB2381146B (en) * 2001-09-13 2005-09-07 Hewlett Packard Co Method and system for enhancing images using edge orientation
US7088474B2 (en) 2001-09-13 2006-08-08 Hewlett-Packard Development Company, Lp. Method and system for enhancing images using edge orientation
US7346231B2 (en) 2002-04-26 2008-03-18 Mitsubishi Denki Kabushiki Kaisha Image processing device including pixel interpolation
US8331720B2 (en) 2007-08-15 2012-12-11 Japan Science And Technology Agency Image processing device, method, and program
KR100952667B1 (en) * 2008-03-20 2010-04-13 중앙대학교 산학협력단 Apparatus and method for image interpolation based on low-pass filtering
JP2014063032A (en) * 2012-09-21 2014-04-10 Nippon Hoso Kyokai <Nhk> Depth range calculation apparatus and program thereof

Also Published As

Publication number Publication date
JP3760531B2 (en) 2006-03-29

Similar Documents

Publication Publication Date Title
US6339479B1 (en) Video processing apparatus for processing pixel for generating high-picture-quality image, method thereof, and video printer to which they are applied
JP2577748B2 (en) Image signal interpolation method and image signal processing apparatus for implementing the method
US9462189B2 (en) Piecewise perspective transform engine
US6181834B1 (en) Hybrid image reduction method and apparatus with moir{acute over (e)} suppression
JPH10155128A (en) Image interpolation device, image interpolation method and video printer
JP3310744B2 (en) Resolution converter
JP2009201023A (en) Devide and method for image processing
RU2310911C1 (en) Method for interpolation of images
JPH10164468A (en) Image resolution converter, image resolution converting method and video printer
JP2011151617A (en) Image processor, image processing method and image processing program
JP4730525B2 (en) Image processing apparatus and program thereof
JP2006203716A (en) Formation of high resolution image using a plurality of low resolution images
JP3503136B2 (en) Pixel interpolation device and pixel interpolation method
JP2807231B2 (en) Pixel density conversion method and device
JP2002259960A (en) Image processing device and image processing method
JPH10164469A (en) Image enhancing device, image enhancing method and video printer
JP2005252426A (en) Generation of image file containing image quality limiting information for image data
Kuznetsov et al. Dimensional Conversions
JP2949587B2 (en) Pixel density converter
JP5013243B2 (en) Image processing apparatus, image processing method, image processing program, and recording medium recording the same
JP3920122B2 (en) Image processing method and apparatus, image processing system, and program
JP2007311835A (en) Image processing unit and control method therefor
JP2000182040A (en) Method and device for providing expression of image data, method and device for expressing image data, method and device for converting kernel for image processing, converting method and converter
JPH08116431A (en) Image forming device
JPH08274984A (en) Image processing unit

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041214

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050214

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050329

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050527

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20050603

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050809

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051006

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20051020

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: 20051220

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060102

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

Free format text: PAYMENT UNTIL: 20100120

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees