JP4688249B2 - Image sample number conversion apparatus and method - Google Patents

Image sample number conversion apparatus and method Download PDF

Info

Publication number
JP4688249B2
JP4688249B2 JP29791899A JP29791899A JP4688249B2 JP 4688249 B2 JP4688249 B2 JP 4688249B2 JP 29791899 A JP29791899 A JP 29791899A JP 29791899 A JP29791899 A JP 29791899A JP 4688249 B2 JP4688249 B2 JP 4688249B2
Authority
JP
Japan
Prior art keywords
image
samples
sample number
conversion
image signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP29791899A
Other languages
Japanese (ja)
Other versions
JP2001119673A (en
Inventor
賢二 杉山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Victor Company of Japan Ltd
Original Assignee
Victor Company of Japan Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Victor Company of Japan Ltd filed Critical Victor Company of Japan Ltd
Priority to JP29791899A priority Critical patent/JP4688249B2/en
Publication of JP2001119673A publication Critical patent/JP2001119673A/en
Application granted granted Critical
Publication of JP4688249B2 publication Critical patent/JP4688249B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Television Systems (AREA)

Description

【0001】
【発明の属する技術分野】
画像信号を伝送、蓄積、表示する際に、画像信号を異なった画像フォーマットの画像信号に変換するもので、特に画像の垂直及び水平のサンプル数を任意に変換するものに関する。
【0002】
【従来の技術】
<画像フォーマット変換>
動画像信号は、走査線数、走査線構造、画像レート、水平画素数、画像アスペクト比などにより、何種類かのフォーマットが規格として存在する。
それらの動画像における例を表1に「ディジタル動画像フォーマット」として示す。
これらの画像フォーマット間で変換を行う際に走査線数の変換、水平サンプル数の変換が行われる。垂直サンプル数、すなわち走査線数は、現行TVの480本とHDTVの720本や1080本がある。水平サンプル数は720画素の他に1280画素や1920画素がある。
なお、画像アスペクト比として、16:9と4:3が存在するので、変換はそれを考慮する必要がある。
【0003】
【表1】

Figure 0004688249
【0004】
静止画像では画像のサンプル数は比較的自由であるが、ディジタルスチルカメラで撮像された画像は、コンピュータディスプレイの解像度に合わせて、VGA(640×480画素)、SVGA(800×600画素)、XGA(1024×768画素)、SXGA(1280×1024画素)などが存在し、それぞれの間で変換する必要がある。
【0005】
一方、画像を編集や加工する場合、またフォーマット変換においても単純な変換でなく、変換時に画枠の大きさを調整する場合は、固定的な変換比ではなく任意の変換比で画像サンプル数を変換する必要がある。
【0006】
<従来の画像サンプル数変換装置>
図4は、サンプル数を少なくする場合の従来の画像サンプル数変換装置の構成例を示したものである。
この従来の画像サンプル数変換装置は、バッファ5、高次可変フィルタ41、間引き器42、係数メモリ43、及び係数制御器44より構成されている。
変換はリサンプル処理によるが、具体的には画素毎に係数が可変であるディジタルフィルタにより変換後のサンプル点に相当する画素を形成し、必要な画素のみを取り出している。
【0007】
画像入力端子1から供給された画像信号は、高次可変フィルタ41で変換後の画素値が形成される。
高次可変フィルタ41は図5に示されるように、遅延素子51〜56、乗算器60〜66、及び加算器68より構成されているもので、係数が画素毎に更新出来るディジタルフィルタである。
入力信号は遅延素子51と乗算器と60に供給され、遅延素子51〜56で遅延させられた画像信号は、乗算器61〜66に夫々供給される。
この遅延はリサンプルが水平方向の場合は1画素遅延であり、垂直方向の場合には1ライン遅延となる。
乗算器60〜66は図4の係数メモリ43から与えられるフィルタタップ係数k0〜k6を夫々乗じる。
【0008】
乗算結果である出力は加算器68ですべてが加算されて、変換後のサンプル値として出力される。
高次可変フィルタ41は、次数が高いほど、すなわち、多くのフィルタタップを有しているものほど周波数特性は良くなる。周波数特性が良くなると解像度が保持され、折返し歪み成分が抑圧された良好な画質となる。
【0009】
図4で高次可変フィルタ41は入力に同期して処理される。この場合、出力サンプル数は必要のないサンプルも含まれて入力と同数にされている。不要なサンプルは、間引き器42で間引かれて除去され、不連続となるのでそれを解消するためにバッファ5に供給される。
バッファ5は有効なサンプルのみを保持し、変換後のサンプルクロックで読み出して一定速度の信号を出力する。
【0010】
高次可変フィルタ41で使われるディジタルフィルタは、入力画像のサンプル位置と出力画像のサンプル位置に応じて係数が更新される。係数は係数メモリ43に格納されており、係数制御器44からの選択情報で出力される係数が選択される。
係数制御器44は、変換比情報入力端子9より供給されるサンプル数の変換比に応じて、係数メモリ43から出力される係数を制御する。
間引き器42は、変換比情報入力端子9より供給されるサンプル数の変換比に応じて間引き器42の間引き率を制御する。
【0011】
一方、サンプル数を多くする場合のサンプル数変換装置は、図4と構成が異なる。
高次可変フィルタ41で遅延素子50〜56は入力に同期するが、乗算器60〜67以降は出力に同期して処理される。
この場合、間引き器42及びバッファ5は必要でなくなるが、高次可変フィルタ41の入力部と出力部が異なったクロックで動作することになるので、回路構成はより複雑になる。
【0012】
【発明が解決しようとする課題】
従来の画像サンプル数変換装置は、良好な変換画質を得ようとすると高次のディジタルフィルタを用いる必要がある。
この場合、多くの乗算器が必要となり、係数の精度も必要になるので、高い演算精度も要求される。
サンプル数の比率を任意に設定しようとした場合、係数を変更する必要があるので、回路規模が大きくなってしまう。
ソフトウエア処理で実現するには多くの処理時間を要することになる。また、拡大と縮小で回路構成を変える必要がある。
【0013】
本発明は以上の点に着目してなされたものであり、入力画像を変換比固定の補間フィルタで整数倍のサンプル数の画像に変換し、その変換した画像を次数の低い可変フィルタで任意のサンプル数の画像に変換することにより、少ない回路量、少ない処理時間で良好な周波数特性の変換画像を得ることを目的とする。
【0014】
【課題を解決するための手段】
そこで、本発明は、上記課題を解決するために以下の装置及び方法を提供するものである。
(1)供給される第1のサンプル数の画像信号から第2のサンプル数の画像信号への画像フォーマット変換を行う画像サンプル数変換装置において、
前記第1のサンプル数の画像信号を、前記第1のサンプル数の整数倍である第3のサンプル数の画像信号へ、前記第1のサンプル数の画像信号の周波数帯域において平坦な周波数特性を有する変換比固定の補間フィルタにより変換する第1の画像サンプル数変換手段と、
前記第1の画像サンプル数変換手段で得た第3のサンプル数の画像信号を、前記第2のサンプル数の画像信号へ、前記第1のサンプル数の画像信号の周波数帯域において比較的平坦な周波数特性を有する可変線形補間フィルタにより変換する第2の画像サンプル数変換手段とを有して構成したことを特徴とする画像サンプル数変換装置。
(2)供給される第1のサンプル数の画像信号から第2のサンプル数の画像信号への画像フォーマット変換を行う画像サンプル数変換方法において、
前記第1のサンプル数の画像信号を、前記第1のサンプル数の整数倍である第3のサンプル数の画像信号へ、前記第1のサンプル数の画像信号の周波数帯域において平坦な周波数特性を有する変換比固定の補間フィルタにより変換し、
前記第3のサンプル数の画像信号を、前記第1のサンプル数の画像信号の周波数帯域において比較的平坦な周波数特性を有する可変線形補間フィルタにより変換することにより、前記第2のサンプル数の画像信号を得ることを特徴とする画像サンプル数変換方法。
【0015】
( 作 用 )
本発明では、入力画像を次数の高い変換比固定の補間フィルタにより整数倍のサンプル数の画像に変換することで、元の信号のスペクトルを保持したまま、高い周波数成分が存在しない整数倍密度の信号が得られる。
その画像を次数の低い可変フィルタで任意のサンプル数の画像に変換すると、次数が低いためこのフィルタ自体の周波数特性はよくないが、サンプル数が多くなっているので周波数軸で整数倍された周波数特性となる。その結果、元の信号のスペクトルが存在する周波数領域は相対的に低い成分となり、あまり劣化しない。総合的に良好な周波数特性を保持しながら任意の画像サンプル数変換が実現される。
【0016】
【発明の実施の形態】
<実施例の画像サンプル数変換装置>
本発明の画像サンプル数変換装置及びその方法の一実施例について、以下に図と共に説明する。
図1は、その実施例を示したものであり、高次固定補間器2、低次可変フィルタ3、間引き器4、バッファ5、及び係数発生器7より構成されている。 図4の従来例と同一構成要素には同一番号を付してある。
【0017】
図1には、従来例を示した図4と比較して高次可変フィルタ41の代わりに高次固定補間器2と低次可変フィルタ3があり、また係数メモリ43及び係数制御器44の代わりに係数発生器7がある。
なお、ここでは、図6に示されるように水平720画素をまず2倍の1440画素に変換して、それを960画素に変換する場合の実施例について、順次説明する。
【0018】
図1の実施例に示されるように、画像入力端子1よりの水平720画素の画像信号は、高次固定補間器2に供給される。
高次固定補間器2では、入力画像の整数倍の画像信号に変換される。本実施例では水平720画素の2倍の1440画素に変換される。
【0019】
図2にサンプル数を2倍に変換する高次固定補間器2の構成の一実施例を示す。
図2において、入力信号は遅延素子21と乗算器30に供給され、遅延素子21〜27で遅延させられた入力信号は、乗算器31〜37に供給される。
遅延はリサンプルが水平方向の場合は1画素遅延であり、垂直方向の場合には1ライン遅延となる。乗算器30〜37は係数k0〜k7を夫々乗じる。
ここで、係数k0〜k7の値は変化しないので、乗算器30〜37は固定乗算であり、ビットシフトと加算の回路のみで構成される。
乗算結果は加算器38ですべてが加算されて、補間画素として出力される。
【0020】
加算器38の出力である補間画素と遅延素子24の出力である遅延された入力画素とはセレクタ39で交互に選択され、2倍密度の信号がセレクタ39より出力される。
図7の高次補間の特性図に示されるように、この高次固定補間器2の周波数特性は、540TV本より下の周波数成分が保持され、それより上の周波数成分が抑圧されたもので、比較的理想フィルタに近いものとなる。
【0021】
高次固定補間器2の出力は低次可変フィルタ3に供給される。この低次可変フィルタ3の基本的な処理の考え方は従来例の高次可変フィルタ41と同じであるが、次数が低いので回路は簡単なものになる。
2サンプルのみを使用する場合は、線形補間となり、片方をk倍(k=0〜1)し、他方を
(1−k)倍することにより実現される。
【0022】
図3にその低次可変フィルタ3の回路構成の一実施例を示す。
図3に示されるように入力信号は遅延素子(D)11と減算器12に与えられる。遅延素子11で遅延させられた信号は減算器12に与えられる。
遅延はリサンプルが水平方向の場合は1画素遅延であり、垂直方向の場合には1ライン遅延となる。
【0023】
減算器12では遅延信号から入力信号が減算され、得られた差信号は乗算器13で係数kが乗算される。
kの値はあまり高いビット精度は必要としないので、乗算器13は比較的精度の低い乗算である。その乗算結果は加算器14で入力信号が加算されて出力される。
【0024】
この回路処理で、入力信号には(1−k)が乗算され、遅延信号にはkが乗算されることになる。この低次可変フィルタ3は、図7の低次可変フィルタ特性図に示されるように周波数特性はなだらかである。
しかし、変換比固定の補間フィルタ2で2倍密になっている信号に対し行われるので、実際に有効なのはその低い周波数部分のみとなり、この部分は比較的保持されている。
総合的な周波数特性は、高次固定補間フィルタと低次可変フィルタとを縦続接続した特性となり、比較的理想フィルタに近いものになる。
【0025】
低次可変フィルタ3の出力の中には必要のない画素が含まれるので次の間引き器4で間引かれる。間引き器4は従来例の間引き器42と類似構成となるが、動作速度が2倍になっている。
間引きにより不連続となるので、低次可変フィルタ3の出力を次のバッファ5に供給して、変換後のサンプルクロックで読み出して、一定速度の信号を画像出力端子6より出力する。
【0026】
低次可変フィルタ3以降の処理ではサンプル数が1440から960に減少することになるが、高次固定補間器2で2倍にしているので、元の720よりは増加することになる。
本発明の構成では、低次可変フィルタ3以降の処理でのサンプル数の可変範囲をS1からS2(0≦S1<S2≦720)とすると、2S1から2S2間でサンプル数を増減することが可能となる。
【0027】
係数発生器7は、従来例の係数メモリ43及び係数制御器44に相当するが、次数が低いので係数をメモリに格納しておく必要はなく、サンプル数の変換比に応じて、入力サンプルに対する変換後のサンプルの位置を求めればそれがそのまま係数kとなる。
【0028】
図8に、入力画素と被補間画素の距離を、入力1画素間の距離により正規化したものを示す。
その正規化値はフィルタ係数kとなり、距離に反比例した形で使われ、補間画素がk倍、入力画素が(1−k)倍される。
【0029】
本実施例で2倍とした高次固定補間器2のサンプル数変換比を3倍、4倍とより高くしていくと、変換周波数特性はより理想的なものになる。また可変範囲も3倍、4倍まで広がることになる。
ただし、高次固定補間器2は回路量が多くなり、低次可変フィルタ3以降の処理の動作速度も速くなる。
【0030】
【発明の効果】
本発明の画像サンプル数変換装置及びその方法によると、入力画像を固定補間フィルタで整数倍のサンプル数の画像に変換し、その画像を補間フィルタより次数の低い可変フィルタで任意のサンプル数の画像に変換することで、元の信号のスペクトルをあまり劣化させることなく、任意の画像サンプル数の変換が可能となる。
【0031】
また、本発明によると、高次固定フィルタ補間フィルタは固定フィルタのため実現性が高く、可変フィルタは係数メモリも必要なく回路量は少なくて済む。
また更に、本発明によると、ソフトウエアで処理した場合も処理時間が少なくて済む。
また、本発明によると、固定補間で設定した整数倍までの拡大と縮小を任意の比率で変換することが同一回路で実現出来る。
【図面の簡単な説明】
【図1】本発明の画像サンプル数変換装置の一実施例のブロック構成を示す図である。
【図2】本発明の画像サンプル数変換装置の固定補間フィルタの一実施例のブロック構成を示す図である。
【図3】本発明の画像サンプル数変換装置の低次可変フィルタの一実施例のブロック構成を示す図である。
【図4】従来の画像サンプル数変換装置のブロック構成例を示す図である。
【図5】可変フィルタの構成例を示す図である。
【図6】本発明のサンプル数変換の様子を示す図である。
【図7】本発明の画像サンプル数変換装置のディジタルフィルタの周波数特性を示す図である。
【図8】本発明の係数発生の様子を示す図である。
【符号の説明】
1 画像入力端子
2 高次固定補間器(第1の画像サンプル数変換手段)
3 低次可変フィルタ(第2の画像サンプル数変換手段)
4 間引き器(第2の画像サンプル数変換手段)
5 バッファ(第2の画像サンプル数変換手段)
6 画像出力端子
7 係数発生器(第2の画像サンプル数変換手段)
8 変換比情報入力端子
11,21〜27,51〜56,D 遅延素子
12 減算器
13,30〜37,60〜66 乗算器
14,38,68 加算器
39 セレクタ
43 係数メモリ
44 係数制御器
k,k0〜k7 係数[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an apparatus for converting an image signal into an image signal of a different image format when transmitting, storing, and displaying the image signal, and particularly to an apparatus for arbitrarily converting the number of vertical and horizontal samples of an image.
[0002]
[Prior art]
<Image format conversion>
There are several standard formats for moving image signals depending on the number of scanning lines, the structure of scanning lines, the image rate, the number of horizontal pixels, the image aspect ratio, and the like.
Examples of these moving images are shown as “digital moving image format” in Table 1.
When converting between these image formats, the number of scanning lines and the number of horizontal samples are converted. The number of vertical samples, that is, the number of scanning lines, is 480 for current TV and 720 or 1080 for HDTV. The number of horizontal samples includes 1280 pixels and 1920 pixels in addition to 720 pixels.
Since there are 16: 9 and 4: 3 as image aspect ratios, the conversion needs to be taken into consideration.
[0003]
[Table 1]
Figure 0004688249
[0004]
In still images, the number of image samples is relatively free. However, images taken with a digital still camera can be converted into VGA (640 × 480 pixels), SVGA (800 × 600 pixels), XGA according to the resolution of the computer display. (1024 × 768 pixels), SXGA (1280 × 1024 pixels), etc. exist, and it is necessary to convert between them.
[0005]
On the other hand, when editing or processing an image, or when converting the format of a frame, not simply converting the format, and adjusting the size of the image frame during conversion, the number of image samples can be set at an arbitrary conversion ratio instead of a fixed conversion ratio. Need to convert.
[0006]
<Conventional image sample number conversion device>
FIG. 4 shows an example of the configuration of a conventional image sample number conversion apparatus when the number of samples is reduced.
This conventional image sample number conversion apparatus includes a buffer 5, a high-order variable filter 41, a thinning-out device 42, a coefficient memory 43, and a coefficient controller 44.
The conversion is performed by resampling. Specifically, pixels corresponding to sample points after conversion are formed by a digital filter whose coefficient is variable for each pixel, and only necessary pixels are extracted.
[0007]
The image signal supplied from the image input terminal 1 is converted into a pixel value by the high-order variable filter 41.
As shown in FIG. 5, the high-order variable filter 41 includes delay elements 51 to 56, multipliers 60 to 66, and an adder 68, and is a digital filter whose coefficients can be updated for each pixel.
The input signal is supplied to the delay element 51 and the multiplier 60, and the image signals delayed by the delay elements 51 to 56 are supplied to the multipliers 61 to 66, respectively.
This delay is one pixel delay when the resampling is in the horizontal direction and one line delay when the resample is in the vertical direction.
The multipliers 60 to 66 multiply the filter tap coefficients k0 to k6 given from the coefficient memory 43 of FIG.
[0008]
The output which is the multiplication result is all added by the adder 68 and output as a converted sample value.
The higher the order of the high-order variable filter 41, that is, the more the number of filter taps, the better the frequency characteristics. When the frequency characteristic is improved, the resolution is maintained and the image quality is improved with the aliasing distortion component suppressed.
[0009]
In FIG. 4, the high-order variable filter 41 is processed in synchronization with the input. In this case, the number of output samples is the same as the number of inputs including unnecessary samples. Unnecessary samples are removed by being thinned out by the thinning-out device 42 and become discontinuous, so that they are supplied to the buffer 5 in order to eliminate it.
The buffer 5 holds only valid samples, reads out with the converted sample clock, and outputs a signal at a constant speed.
[0010]
The coefficient of the digital filter used in the high-order variable filter 41 is updated according to the sample position of the input image and the sample position of the output image. The coefficient is stored in the coefficient memory 43, and the coefficient output by the selection information from the coefficient controller 44 is selected.
The coefficient controller 44 controls the coefficient output from the coefficient memory 43 in accordance with the conversion ratio of the number of samples supplied from the conversion ratio information input terminal 9.
The thinning device 42 controls the thinning rate of the thinning device 42 according to the conversion ratio of the number of samples supplied from the conversion ratio information input terminal 9.
[0011]
On the other hand, the configuration of the sample number conversion apparatus for increasing the number of samples is different from that in FIG.
In the high-order variable filter 41, the delay elements 50 to 56 are synchronized with the input, but the multipliers 60 to 67 are processed in synchronization with the output.
In this case, the thinning-out device 42 and the buffer 5 are not required, but the circuit configuration becomes more complicated because the input unit and the output unit of the high-order variable filter 41 operate with different clocks.
[0012]
[Problems to be solved by the invention]
The conventional image sample number conversion apparatus needs to use a high-order digital filter in order to obtain a good conversion image quality.
In this case, a large number of multipliers are required and the accuracy of the coefficients is also required, so that high calculation accuracy is also required.
If an attempt is made to arbitrarily set the ratio of the number of samples, it is necessary to change the coefficient, which increases the circuit scale.
A lot of processing time is required to realize by software processing. In addition, it is necessary to change the circuit configuration by enlargement and reduction.
[0013]
The present invention has been made paying attention to the above points. An input image is converted into an image having an integer multiple of samples by an interpolation filter having a fixed conversion ratio, and the converted image is arbitrarily converted by a low-order variable filter. An object of the present invention is to obtain a converted image having good frequency characteristics with a small circuit amount and a short processing time by converting the image into the number of samples.
[0014]
[Means for Solving the Problems]
Accordingly, the present invention provides the following apparatus and method in order to solve the above problems.
(1) In an image sample number conversion apparatus that performs image format conversion from a supplied first sample number of image signals to a second sample number of image signals,
A flat frequency characteristic in the frequency band of the image signal of the first number of samples is transferred from the image signal of the first number of samples to an image signal of the third number of samples that is an integral multiple of the first number of samples. First image sample number conversion means for converting by an interpolation filter having a fixed conversion ratio;
A third number of samples image signals of the obtained in the first image sample number conversion means, prior SL to a second number of samples of the image signal, relatively flat in the frequency band of the first sample number of the image signals An image sample number conversion apparatus comprising: a second image sample number conversion means for conversion by a variable linear interpolation filter having a proper frequency characteristic .
(2) In an image sample number conversion method for performing image format conversion from a supplied first sample number of image signals to a second sample number of image signals,
A flat frequency characteristic in the frequency band of the image signal of the first number of samples is transferred from the image signal of the first number of samples to an image signal of the third number of samples that is an integral multiple of the first number of samples. Convert with an interpolation filter with a fixed conversion ratio,
An image signal of the third number of samples, by converting the variable linear interpolation filter having a relatively flat frequency characteristic in a frequency band of the first number of samples of the image signal, before Symbol of the second number of samples An image sample number conversion method characterized by obtaining an image signal.
[0015]
(Work)
In the present invention, an input image is converted to an image having an integer multiple of samples by an interpolation filter having a high conversion ratio and having a fixed conversion ratio. Thus, an integer multiple density having no high frequency component is maintained while retaining the spectrum of the original signal. A signal is obtained.
If the image is converted to an image with an arbitrary number of samples using a low-order variable filter, the frequency characteristics of the filter itself are not good because the order is low, but the frequency is an integer multiple on the frequency axis because the number of samples is large. It becomes a characteristic. As a result, the frequency region where the spectrum of the original signal exists becomes a relatively low component and does not deteriorate so much. Arbitrary conversion of the number of image samples is realized while maintaining a comprehensively good frequency characteristic.
[0016]
DETAILED DESCRIPTION OF THE INVENTION
<Image Sample Number Conversion Device of Example>
An embodiment of an image sample number conversion apparatus and method according to the present invention will be described below with reference to the drawings.
FIG. 1 shows an embodiment thereof, which includes a high-order fixed interpolator 2, a low-order variable filter 3, a decimation device 4, a buffer 5, and a coefficient generator 7. The same components as those in the conventional example of FIG.
[0017]
FIG. 1 shows a high-order fixed interpolator 2 and a low-order variable filter 3 instead of the high-order variable filter 41 as compared with FIG. 4 showing the conventional example, and instead of the coefficient memory 43 and the coefficient controller 44. There is a coefficient generator 7.
Here, as shown in FIG. 6, an example in which horizontal 720 pixels are first converted to double 1440 pixels and then converted to 960 pixels will be sequentially described.
[0018]
As shown in the embodiment of FIG. 1, an image signal of horizontal 720 pixels from the image input terminal 1 is supplied to a high-order fixed interpolator 2.
The high-order fixed interpolator 2 converts the image signal into an integer multiple of the input image. In this embodiment, it is converted to 1440 pixels which is twice the horizontal 720 pixels.
[0019]
FIG. 2 shows an embodiment of the configuration of the high-order fixed interpolator 2 that converts the number of samples by a factor of two.
In FIG. 2, the input signal is supplied to the delay element 21 and the multiplier 30, and the input signal delayed by the delay elements 21 to 27 is supplied to the multipliers 31 to 37.
The delay is one pixel delay when the resampling is in the horizontal direction, and one line delay when the resample is in the vertical direction. Multipliers 30 to 37 multiply the coefficients k0 to k7, respectively.
Here, since the values of the coefficients k0 to k7 do not change, the multipliers 30 to 37 are fixed multiplications, and are configured only by bit shift and addition circuits.
The multiplication results are all added by the adder 38 and output as an interpolation pixel.
[0020]
The interpolated pixel that is the output of the adder 38 and the delayed input pixel that is the output of the delay element 24 are alternately selected by the selector 39, and a double-density signal is output from the selector 39.
As shown in the characteristic diagram of the high-order interpolation in FIG. 7, the frequency characteristic of the high-order fixed interpolator 2 is such that the frequency components below 540 TV lines are held and the frequency components above it are suppressed. It is relatively close to an ideal filter.
[0021]
The output of the high-order fixed interpolator 2 is supplied to the low-order variable filter 3. The basic processing concept of the low-order variable filter 3 is the same as that of the conventional high-order variable filter 41, but the circuit is simple because the order is low.
When only two samples are used, linear interpolation is performed, and one is multiplied by k (k = 0 to 1) and the other is multiplied by (1−k).
[0022]
FIG. 3 shows an embodiment of the circuit configuration of the low-order variable filter 3.
As shown in FIG. 3, the input signal is given to the delay element (D) 11 and the subtractor 12. The signal delayed by the delay element 11 is given to the subtractor 12.
The delay is one pixel delay when the resampling is in the horizontal direction, and one line delay when the resample is in the vertical direction.
[0023]
The subtractor 12 subtracts the input signal from the delayed signal, and the obtained difference signal is multiplied by the coefficient k by the multiplier 13.
Since the value of k does not require very high bit precision, the multiplier 13 is a relatively low precision multiplication. The multiplication result is added by the adder 14 and output.
[0024]
In this circuit processing, the input signal is multiplied by (1-k), and the delayed signal is multiplied by k. This low-order variable filter 3 has a smooth frequency characteristic as shown in the low-order variable filter characteristic diagram of FIG.
However, since the interpolation filter 2 with a fixed conversion ratio is used for a signal that is doubled, only the low frequency portion is actually effective, and this portion is relatively retained.
The overall frequency characteristic is a characteristic obtained by cascading a high-order fixed interpolation filter and a low-order variable filter, and is relatively close to an ideal filter.
[0025]
Since unnecessary pixels are included in the output of the low-order variable filter 3, they are thinned out by the next thinning-out device 4. The thinning-out device 4 has a similar structure to the conventional thinning-out device 42, but the operation speed is doubled.
Since the output becomes discontinuous due to the thinning, the output of the low-order variable filter 3 is supplied to the next buffer 5, read by the converted sample clock, and a constant speed signal is output from the image output terminal 6.
[0026]
In the processing after the low-order variable filter 3, the number of samples is reduced from 1440 to 960. However, since the number of samples is doubled by the high-order fixed interpolator 2, the number of samples is increased from the original 720.
In the configuration of the present invention, if the variable range of the number of samples in the processing after the low-order variable filter 3 is S 1 to S 2 (0 ≦ S 1 <S 2 ≦ 720), the number of samples is between 2S 1 and 2S 2. Can be increased or decreased.
[0027]
The coefficient generator 7 corresponds to the coefficient memory 43 and the coefficient controller 44 of the conventional example. However, since the order is low, it is not necessary to store the coefficients in the memory. The coefficient generator 7 corresponds to the input sample according to the conversion ratio of the number of samples. If the position of the sample after conversion is obtained, it becomes the coefficient k as it is.
[0028]
FIG. 8 shows a result obtained by normalizing the distance between the input pixel and the interpolated pixel by the distance between one input pixel.
The normalized value is a filter coefficient k, which is used in inverse proportion to the distance, and interpolated pixels are multiplied by k and input pixels are multiplied by (1-k).
[0029]
If the sample number conversion ratio of the high-order fixed interpolator 2 that is doubled in this embodiment is increased to 3 times or 4 times, the conversion frequency characteristic becomes more ideal. Also, the variable range will be expanded to 3 times and 4 times.
However, the high-order fixed interpolator 2 has a large circuit amount, and the operation speed of processing after the low-order variable filter 3 is also increased.
[0030]
【The invention's effect】
According to the image sample number conversion apparatus and method of the present invention, an input image is converted into an image having an integer multiple of samples by a fixed interpolation filter, and the image is an arbitrary number of samples by a variable filter having a lower order than the interpolation filter. By converting to, an arbitrary number of image samples can be converted without significantly degrading the spectrum of the original signal.
[0031]
In addition, according to the present invention, the high-order fixed filter interpolation filter is a fixed filter and is highly feasible, and the variable filter does not require a coefficient memory and requires a small amount of circuit.
Furthermore, according to the present invention, processing time can be reduced even when processing is performed by software.
Further, according to the present invention, the same circuit can be used to convert expansion and reduction up to an integral multiple set by fixed interpolation at an arbitrary ratio.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an image sample number conversion apparatus according to an embodiment of the present invention.
FIG. 2 is a diagram showing a block configuration of an embodiment of a fixed interpolation filter of the image sample number conversion apparatus of the present invention.
FIG. 3 is a diagram showing a block configuration of an embodiment of a low-order variable filter of the image sample number conversion apparatus of the present invention.
FIG. 4 is a diagram illustrating a block configuration example of a conventional image sample number conversion apparatus.
FIG. 5 is a diagram illustrating a configuration example of a variable filter.
FIG. 6 is a diagram showing how the number of samples is converted according to the present invention.
FIG. 7 is a diagram showing frequency characteristics of a digital filter of the image sample number conversion apparatus of the present invention.
FIG. 8 is a diagram showing how coefficients are generated according to the present invention.
[Explanation of symbols]
1 Image input terminal 2 High-order fixed interpolator (first image sample number conversion means)
3 Low-order variable filter (second image sample number conversion means)
4 Thinning device (second image sample number conversion means)
5 Buffer (second image sample number conversion means)
6 Image output terminal 7 Coefficient generator (second image sample number conversion means)
8 Conversion ratio information input terminals 11, 21-27, 51-56, D delay element 12 Subtractor 13, 30-37, 60-66 Multiplier 14, 38, 68 Adder 39 Selector 43 Coefficient memory 44 Coefficient controller k , K0 to k7 coefficients

Claims (2)

供給される第1のサンプル数の画像信号から第2のサンプル数の画像信号への画像フォーマット変換を行う画像サンプル数変換装置において、
前記第1のサンプル数の画像信号を、前記第1のサンプル数の整数倍である第3のサンプル数の画像信号へ、前記第1のサンプル数の画像信号の周波数帯域において平坦な周波数特性を有する変換比固定の補間フィルタにより変換する第1の画像サンプル数変換手段と、
前記第1の画像サンプル数変換手段で得た第3のサンプル数の画像信号を、前記第2のサンプル数の画像信号へ、前記第1のサンプル数の画像信号の周波数帯域において比較的平坦な周波数特性を有する可変線形補間フィルタにより変換する第2の画像サンプル数変換手段とを有して構成したことを特徴とする画像サンプル数変換装置。
In an image sample number conversion device that performs image format conversion from a supplied first sample number of image signals to a second sample number of image signals,
A flat frequency characteristic in the frequency band of the image signal of the first number of samples is transferred from the image signal of the first number of samples to an image signal of the third number of samples that is an integral multiple of the first number of samples. First image sample number conversion means for converting by an interpolation filter having a fixed conversion ratio;
A third number of samples image signals of the obtained in the first image sample number conversion means, prior SL to a second number of samples of the image signal, relatively flat in the frequency band of the first sample number of the image signals An image sample number conversion apparatus comprising: a second image sample number conversion means for conversion by a variable linear interpolation filter having a proper frequency characteristic .
供給される第1のサンプル数の画像信号から第2のサンプル数の画像信号への画像フォーマット変換を行う画像サンプル数変換方法において、
前記第1のサンプル数の画像信号を、前記第1のサンプル数の整数倍である第3のサンプル数の画像信号へ、前記第1のサンプル数の画像信号の周波数帯域において平坦な周波数特性を有する変換比固定の補間フィルタにより変換し、
前記第3のサンプル数の画像信号を、前記第1のサンプル数の画像信号の周波数帯域において比較的平坦な周波数特性を有する可変線形補間フィルタにより変換することにより、前記第2のサンプル数の画像信号を得ることを特徴とする画像サンプル数変換方法。
In an image sample number conversion method for performing image format conversion from a supplied first sample number of image signals to a second sample number of image signals,
A flat frequency characteristic in the frequency band of the image signal of the first number of samples is transferred from the image signal of the first number of samples to an image signal of the third number of samples that is an integral multiple of the first number of samples. Convert with an interpolation filter with a fixed conversion ratio,
An image signal of the third number of samples, by converting the variable linear interpolation filter having a relatively flat frequency characteristic in a frequency band of the first number of samples of the image signal, before Symbol of the second number of samples An image sample number conversion method characterized by obtaining an image signal.
JP29791899A 1999-10-20 1999-10-20 Image sample number conversion apparatus and method Expired - Lifetime JP4688249B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29791899A JP4688249B2 (en) 1999-10-20 1999-10-20 Image sample number conversion apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29791899A JP4688249B2 (en) 1999-10-20 1999-10-20 Image sample number conversion apparatus and method

Publications (2)

Publication Number Publication Date
JP2001119673A JP2001119673A (en) 2001-04-27
JP4688249B2 true JP4688249B2 (en) 2011-05-25

Family

ID=17852788

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29791899A Expired - Lifetime JP4688249B2 (en) 1999-10-20 1999-10-20 Image sample number conversion apparatus and method

Country Status (1)

Country Link
JP (1) JP4688249B2 (en)

Also Published As

Publication number Publication date
JP2001119673A (en) 2001-04-27

Similar Documents

Publication Publication Date Title
US5374995A (en) Method and apparatus for enhancing sharpness of a sequence of images subject to continuous zoom
US6757026B2 (en) Image format converting apparatus and methods in video signal processing system
JP3160675B2 (en) Sample data interpolator
JPH1021387A (en) Image processor and processing method
JP3042459B2 (en) Video display device
JPH04347969A (en) Picture element density converter
US5821884A (en) Sampling rate conversion method and apparatus utilizing an area effect correlation method
JPH08172611A (en) Video image format converter
JPWO2007102244A1 (en) Image scaling device
JP4688249B2 (en) Image sample number conversion apparatus and method
JP2000165664A (en) Resolution converter for image and resolution conversing method for image
JPS59200585A (en) Device for generating interpolating signal
US20090087119A1 (en) Method and apparatus for arbitrary ratio image reduction
CN1204207A (en) Image format converter and method therefor
US20030102991A1 (en) Digital sample frequency converter
JP2004297314A (en) Pixel density converter
US6603888B1 (en) Interpolating apparatus and method
JPH10164468A (en) Image resolution converter, image resolution converting method and video printer
US20060132172A1 (en) Digital sampling frequency converter
JP4345350B2 (en) Image sample number conversion method and image sample number conversion device
JP3157706B2 (en) Video signal processing device
JPS6346881A (en) Digital outline correcting circuit
JPH11308575A (en) Interpolation arithmetic unit and its method
JP3108177B2 (en) Image magnifier
KR20040065806A (en) Cubic convolution interpolation apparatus and method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060331

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080707

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080711

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080807

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20081125

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090121

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20090204

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20090227

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110120

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110215

R151 Written notification of patent or utility model registration

Ref document number: 4688249

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20140225

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20140225

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20140225

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term