JP2010033406A - Image processing device, image device, and image processing method - Google Patents

Image processing device, image device, and image processing method Download PDF

Info

Publication number
JP2010033406A
JP2010033406A JP2008195959A JP2008195959A JP2010033406A JP 2010033406 A JP2010033406 A JP 2010033406A JP 2008195959 A JP2008195959 A JP 2008195959A JP 2008195959 A JP2008195959 A JP 2008195959A JP 2010033406 A JP2010033406 A JP 2010033406A
Authority
JP
Japan
Prior art keywords
point
interpolation
unit
calculation
initial position
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.)
Pending
Application number
JP2008195959A
Other languages
Japanese (ja)
Inventor
Kenta Kadomitsu
健太 角光
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 JP2008195959A priority Critical patent/JP2010033406A/en
Publication of JP2010033406A publication Critical patent/JP2010033406A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To obtain interpolation values of given two values of an interplation subject with a high degree of accuracy using simple circuitry and a simple processing method. <P>SOLUTION: The method sets up an interpolation coefficient α (α is greater than or equal to 0 and is less than or equal to 1) and an output pixel number n (n is a positive integer). During n times calculation processes, an initial position β is set such that a value of a decimal part of ζ, i.e. point(ζ) is not zero. Then the method identifies coordinates of given two pixels for interpolation according to a formula ζ=k*α+β (k=1, ..., n). Then the method calculates a pixel value C of the interpolated pixel position based on the two given pixel values A, B to be interpolated, the interpolating coefficient α, and the output pixel number n using a similar formula as that of a general linear interpolation. The circuitry size and calculation process steps are simple since the method is based on a linear interpolation. Since the initial position β is set such that a value of a decimal part of ζ, i.e. point(ζ) is not zero, case analysis in calculation process is not needed. Accordingly, additional circuitry and process steps for dealing with a case analysis are not needed. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、画像処理装置、画像機器、画像処理方法に関する。より詳細には、線形補間演算に関し、特に、高い精度を持った補間値を演算することが可能で、簡潔な処理手法の実現技術に関する。   The present invention relates to an image processing apparatus, an image device, and an image processing method. More specifically, the present invention relates to a linear interpolation calculation, and more particularly to a technique for realizing a simple processing method capable of calculating an interpolation value with high accuracy.

離散化されたデジタルデータで表わされるデジタル画像について、解像度変換やアスペクト変換などの拡大・縮小処理を始めとする各種のグラフィックス処理において、オリジナルと異なるサンプリングレートでリサンプリングを行なうことがある(特許文献1〜3)。   Digital graphics represented by discrete digital data may be resampled at a sampling rate different from the original in various graphics processing such as enlargement / reduction processing such as resolution conversion and aspect conversion (patent) Literatures 1-3).

特開平11−353473号公報Japanese Patent Laid-Open No. 11-353473 特開平07−200869号公報Japanese Patent Laid-Open No. 07-200869 特開2007−226422号公報JP 2007-226422 A

ハードウェア(H/W:HardWare)やソフトウェア(S/W:SoftWare)でリサンプリング処理を実現する場合、できるだけ精度の高い演算結果を得ることが望まれる一方で、回路の小型化および低コスト化や処理ステップの簡易化も望まれる。一般的には、その両者を同時に満たすことは困難であり、離散化誤差に影響する演算精度と回路規模や処理規模のトレードオフが問題となる。このため、高い精度をもった補間値を演算することが可能で簡潔な処理手法の実現が求められている。   When resampling processing is realized by hardware (H / W: HardWare) or software (S / W: SoftWare), it is desired to obtain a calculation result with as high accuracy as possible. In addition, simplification of processing steps is also desired. In general, it is difficult to satisfy both of them at the same time, and the trade-off between the calculation accuracy affecting the discretization error, the circuit scale, and the processing scale becomes a problem. For this reason, it is required to realize a simple processing method that can calculate an interpolation value with high accuracy.

精度の高い演算結果を得る仕組みとしては、たとえば、予め与えられた離散値間の値を求めるデータ補間方法として、sinc関数などの標本化関数を用いてデータ補間を行なう手法が知られている(特許文献1を参照)。sinc関数を標本化関数として用いる場合には、理論的には−∞から+∞までの画素値に対応した各標本化関数の値を畳込みによって加算すれば正確な補間値を得ることができる。しかしながら、畳込み演算が必要になるので回路規模は大きくなる。   As a mechanism for obtaining a calculation result with high accuracy, for example, a method of performing data interpolation using a sampling function such as a sinc function is known as a data interpolation method for obtaining a value between given discrete values ( (See Patent Document 1). When the sinc function is used as a sampling function, an accurate interpolated value can be obtained by theoretically adding the values of the sampling functions corresponding to the pixel values from −∞ to + ∞ by convolution. . However, since a convolution operation is required, the circuit scale increases.

これに対して、簡易な補間演算方式として、2つの値の中間的な値を補間によって求める線形補間が知られている。線形補間では、デジタル画像の隣接する2(A,B)点から1点(C)の画素値を演算する際に、補間係数αを用いて、α:(1−α)の比率(0≦α≦1)で補間位置の画素値を合成する。式で表わせば、C=(1−α)・A+α・Bで示される線形補間値Cを求める。   On the other hand, as a simple interpolation calculation method, linear interpolation for obtaining an intermediate value between two values by interpolation is known. In linear interpolation, when calculating a pixel value of one point (C) from two (A, B) points adjacent to each other in a digital image, an interpolation coefficient α is used to obtain a ratio of α: (1-α) (0 ≦ The pixel value at the interpolation position is synthesized with α ≦ 1). Expressed by the equation, a linear interpolation value C represented by C = (1−α) · A + α · B is obtained.

特許文献2,3には、この線形補間に従った演算を行なう仕組みが開示されている。特許文献2に記載の線形補間演算器では、精度の高い演算結果を得ることができる反面、除算を行なう構成となっており、複雑な構成となっている。   Patent Documents 2 and 3 disclose a mechanism for performing calculations according to this linear interpolation. In the linear interpolation calculator described in Patent Document 2, a highly accurate calculation result can be obtained, but on the other hand, the division is performed and the structure is complicated.

一方、特許文献3に記載の線形補間演算器では、補間係数αの小数部の分母を2^n(2のべき乗)ではなく、2^n−1(2のべき乗−1)とし演算精度の低下を抑えながら回路の小規模化を試みている。このとき、有限範囲の演算対処のために、補間係数αの値の小数点以下第(n+1)桁(1/2^(n+1)の桁)を0捨1入してまるめることで、小数点以下第n桁(1/2^nの桁)までの有効桁を有する近似値α′を求める。そして、α=D/(2^n−1)なる除算を行なう代わりに、加算によって近似値α′を求めることで、除算を含まない簡潔な回路を実現している。   On the other hand, in the linear interpolation calculator described in Patent Document 3, the denominator of the decimal part of the interpolation coefficient α is set to 2 ^ n-1 (power of 2-1) instead of 2 ^ n (power of 2). We are trying to reduce the scale of the circuit while suppressing the drop. At this time, in order to deal with a calculation in a finite range, the (n + 1) digit after the decimal point (1/2 ^ (n + 1) digit) of the value of the interpolation coefficient α is rounded off to the nearest zero. An approximate value α ′ having up to n significant digits (1/2 ^ n digits) is obtained. Then, instead of performing the division of α = D / (2 ^ n−1), an approximate value α ′ is obtained by addition, thereby realizing a simple circuit that does not include division.

しかしながら、特許文献3の仕組みは、補間係数αの値の小数点以下第(n+1)桁(1/2^(n+1)の桁)を「0捨1入」してまるめる処理を伴う。つまり、演算処理過程での場合分けの対処の仕組みが必要となる。たとえば、小数部を8ビットで扱う場合には、9ビット目(1/2^9の桁)について、「0捨」するのか「1入」するのかを判別する余分な回路を設ける必要があり、回路構成が複雑になる。   However, the mechanism of Patent Document 3 involves a process of rounding off (n + 1) digits (1/2 ^ (n + 1) digits) after the decimal point of the value of the interpolation coefficient α. In other words, a mechanism for dealing with cases in the calculation process is required. For example, when the decimal part is handled with 8 bits, it is necessary to provide an extra circuit for discriminating whether the 9th bit (1/2 ^ 9 digit) is “rounded down” or “1”. The circuit configuration becomes complicated.

本発明は、上記事情に鑑みてなされたものであり、2つの補間対象値についての補間値を簡潔な回路構成や簡易な処理手法により、高い精度で求めることができる仕組みを提供することを目的とする。   The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a mechanism that can obtain an interpolation value for two interpolation target values with high accuracy by a simple circuit configuration and a simple processing method. And

本発明の一態様は、補間係数α(0≦α≦1)、および出力画素数n(nは1以上の正の整数)を設定する。また、補間演算に当たっては、初期位置βとして式ζ=k・α+β(kは1からnまで)に従って補間対象の2つの画素の座標を特定し、補間対象の2つの画素の値A,B、補間係数αおよび出力画素数nに基づき補間位置の画素値Cを、一般的な線形補間と同様に、式(X)に従って求める。   In one embodiment of the present invention, an interpolation coefficient α (0 ≦ α ≦ 1) and an output pixel number n (n is a positive integer equal to or greater than 1) are set. In the interpolation calculation, the coordinates of the two pixels to be interpolated are specified according to the equation ζ = k · α + β (k is 1 to n) as the initial position β, and the values A, B, Based on the interpolation coefficient α and the number of output pixels n, the pixel value C at the interpolation position is obtained according to the equation (X), as in general linear interpolation.

ここで、本発明においては、演算部によるn回の演算過程で、ζの小数部 point(ζ)の値がゼロとならないように初期位置βを設定する。   Here, in the present invention, the initial position β is set so that the value of the fractional part point (ζ) of ζ does not become zero in the calculation process of n times by the calculation unit.

線形補間処理を基本としているので、基本的には回路規模や演算処理ステップが簡易である。加えて、ζの小数部 point(ζ)の値がゼロとならないように初期位置βを設定するので、演算処理過程での場合分けの対処の仕組みが不要となる。場合分けの対処のための余分な回路や処理ステップを設けることが不要になる。   Since it is based on linear interpolation processing, the circuit scale and arithmetic processing steps are basically simple. In addition, since the initial position β is set so that the value of the decimal part point (ζ) of ζ does not become zero, a mechanism for dealing with cases in the calculation process is not required. It is not necessary to provide an extra circuit or processing step for dealing with cases.

本発明の一態様によれば、2つの補間対象値についての補間値を簡潔な回路構成や簡易な処理手法により、高い精度で求めることができる。   According to one aspect of the present invention, interpolation values for two interpolation target values can be obtained with high accuracy by a simple circuit configuration and a simple processing method.

以下、図面を参照して本発明の実施形態について詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1は、本発明に係る画像処理方法を適用した画像処理装置(画像処理システム)の構成例を示す図である。   FIG. 1 is a diagram showing a configuration example of an image processing apparatus (image processing system) to which an image processing method according to the present invention is applied.

<画像処理装置の全体構成>
本実施形態の画像処理装置1は、画像データを記憶(格納)するデータ記憶部10(画像格納メモリ)と、補間演算処理を実行する補間演算処理部20と、データ記憶部10から補間対象データを読み出して補間演算処理部20に入力する補間対象値入力部30(入力制御回路)と、補間演算処理部20により取得された補間データをデータ記憶部10に出力(記憶)する演算値出力部40(出力制御回路)を備える。
<Overall configuration of image processing apparatus>
The image processing apparatus 1 according to the present embodiment includes a data storage unit 10 (image storage memory) that stores (stores) image data, an interpolation calculation processing unit 20 that executes interpolation calculation processing, and data to be interpolated from the data storage unit 10. Is input to the interpolation calculation processing unit 20 and input to the interpolation calculation processing unit 20 (input control circuit), and a calculation value output unit that outputs (stores) the interpolation data acquired by the interpolation calculation processing unit 20 to the data storage unit 10 40 (output control circuit).

補間演算処理部20は、サンプリングレート(補間係数)αを設定する補間係数設定部22と、サンプリング初期位置βを設定する初期位置設定部24と、出力画素数nを設定する出力画素数設定部26と、補間対象の2つの画素A,B、サンプリングレートα、サンプリング初期位置β、および出力画素数nに基づき、補間位置の画素値を求めるリサンプリング部28(演算部)を有する。   The interpolation calculation processing unit 20 includes an interpolation coefficient setting unit 22 that sets a sampling rate (interpolation coefficient) α, an initial position setting unit 24 that sets a sampling initial position β, and an output pixel number setting unit that sets the number n of output pixels. 26, and a resampling unit 28 (calculation unit) for obtaining a pixel value at the interpolation position based on the two pixels A and B to be interpolated, the sampling rate α, the sampling initial position β, and the output pixel number n.

リサンプリング部28は、補間対象データ位置計算部29を有している。補間対象データ位置計算部29は、サンプリングレートαをpビットの固定小数部とqビットの整数部とに分け、サンプリングレートαを1ステップとして、k・α(2・α,3・α,4・α,5・α,…)と加算を繰り返した値を計算し保持する。   The resampling unit 28 includes an interpolation target data position calculation unit 29. The interpolation target data position calculation unit 29 divides the sampling rate α into a fixed fraction part of p bits and an integer part of q bits, and sets the sampling rate α as one step, k · α (2 · α, 3 · α, 4・ Calculate and hold α, 5 ・ α, ...) and repeated addition values.

リサンプリング部28には、サンプリングレートαが補間係数設定部22により設定され、サンプリング初期位置βが初期位置設定部24により設定され、出力画素数nが出力画素数設定部26により設定される。リサンプリング部28は、補間対象値入力部30から入力されるデジタル画像の隣接する(近傍の)2(A,B)点から1点(C)の画素値を、線形補間を実行して取得する。   In the resampling unit 28, the sampling rate α is set by the interpolation coefficient setting unit 22, the initial sampling position β is set by the initial position setting unit 24, and the output pixel number n is set by the output pixel number setting unit 26. The resampling unit 28 performs linear interpolation to obtain pixel values from one point (C) to two (A, B) points adjacent (neighboring) in the digital image input from the interpolation target value input unit 30. To do.

補間対象値入力部30は、リサンプリング部28から指定された水平または垂直画素位置のnビットのデータ(画素値A,B)を、データ記憶部10より一次元方向に取得してリサンプリング部28に供給する。演算値出力部40は、設定された画素数n回、演算結果をデータ記憶部10の指定されたアドレスに格納する動作を繰り返すことで、最終的には、リサンプリング部28で取得されたmビットからなる画素値Cをデータ記憶部10に出力する。   The interpolation target value input unit 30 acquires n-bit data (pixel values A and B) at the horizontal or vertical pixel position designated by the resampling unit 28 from the data storage unit 10 in a one-dimensional direction, and resampling unit 28. The calculation value output unit 40 repeats the operation of storing the calculation result at the designated address of the data storage unit 10 for the set number of pixels n, and finally the m obtained by the resampling unit 28. A pixel value C composed of bits is output to the data storage unit 10.

このとき、リサンプリング部28は、補間対象データ位置計算部29の計算結果の整数部によって入力画素A,Bの画素位置を特定し、この画素位置の座標データを補間対象値入力部30に通知する。この通知を受けた補間対象値入力部30は、その座標データの画素データA,Bをデータ記憶部10から取得してリサンプリング部28に渡す。   At this time, the resampling unit 28 specifies the pixel positions of the input pixels A and B by the integer part of the calculation result of the interpolation target data position calculation unit 29 and notifies the interpolation target value input unit 30 of the coordinate data of the pixel positions. To do. Upon receiving this notification, the interpolation target value input unit 30 acquires the pixel data A and B of the coordinate data from the data storage unit 10 and passes them to the resampling unit 28.

リサンプリング部28は、その座標データの画素データA,Bと補間対象データ位置計算部29の計算結果の小数部 point(α)に基づき2点補間処理により補間位置の演算値Cを求め、演算値出力部40を介してデータ記憶部10に記憶する。その結果、データ記憶部10には、解像度の異なるデジタル画像が記憶される。   The resampling unit 28 obtains a calculation value C of the interpolation position by two-point interpolation processing based on the pixel data A and B of the coordinate data and the decimal part point (α) of the calculation result of the interpolation target data position calculation unit 29, and calculates The data is stored in the data storage unit 10 via the value output unit 40. As a result, digital images having different resolutions are stored in the data storage unit 10.

ここで、補間演算処理部20は、サンプリングレートαの固定小数部である point(α)を使用し“C=(1− point(α))・A+ point(α)・B”による線形補間を行なう。このとき、 小数部point(α)に固定小数の最小ステップ単位で、小数部 point(α)の値が“0”とならないように初期値を設定する。また、線形補間に従った演算を行なうに当たり、特許文献3とは異なり、補間係数αの小数部 point(α)の分母を2^n(2のべき乗)とし、ビットシフト処理により除算処理を実行する。   Here, the interpolation calculation processing unit 20 uses point (α) which is a fixed decimal part of the sampling rate α, and performs linear interpolation by “C = (1−point (α)) · A + point (α) · B”. Do. At this time, an initial value is set so that the value of the decimal part point (α) does not become “0” in the minimum step unit of the fixed decimals in the decimal part point (α). In addition, when performing calculations according to linear interpolation, unlike Patent Document 3, the denominator of the decimal part point (α) of the interpolation coefficient α is set to 2 ^ n (power of 2), and division processing is executed by bit shift processing. To do.

<補間演算の基本概念>
図2は、補間演算処理部20(特にリサンプリング部28)による補間演算の基本概念を説明する図である。基本的なリサンプリングの例として近傍の2点による線形補間がある。本実施形態のリサンプリング部28も、基本的にはこの手法を採用する。サンプリングレートαのとき、整数部を int(α)、小数部を point(α)と表記する。データ列D[i](i=0,1,…,n)に対する線形補間によるリサンプリング値Resamp[i]は式(1)で表現される。
<Basic concept of interpolation calculation>
FIG. 2 is a diagram for explaining the basic concept of the interpolation calculation performed by the interpolation calculation processing unit 20 (particularly the resampling unit 28). As an example of basic resampling, there is linear interpolation using two neighboring points. The resampling unit 28 of this embodiment also basically employs this method. When the sampling rate is α, the integer part is expressed as int (α) and the decimal part is expressed as point (α). The resampling value Resamp [i] by linear interpolation for the data string D [i] (i = 0, 1,..., N) is expressed by Expression (1).

Resamp[i]=(1− point(α))×D[ int(α)]+ point(α)×D[ int(α)+1]…(1)   Resamp [i] = (1−point (α)) × D [int (α)] + point (α) × D [int (α) +1] (1)

小数部point(α)のビット幅が広いほど、理想値との誤差が小さくなり良好(高精度)な信号処理が実現できる。本実施形態では、精度を維持したリサンプリング処理を、省回路構成で実現する。精度とは、サンプリングレートαの小数部 point(α)を意味し、たとえば、2ビット(1/4=0.25)や5ビット(1/32=0.03125)である。    The wider the bit width of the decimal part point (α), the smaller the error from the ideal value and the better (high accuracy) signal processing can be realized. In the present embodiment, resampling processing that maintains accuracy is realized with a circuit-saving configuration. The precision means a fractional point (α) of the sampling rate α, and is, for example, 2 bits (1/4 = 0.25) or 5 bits (1/32 = 0.03125).

離散化誤差を抑えるためには、サンプリングレートαの小数部 point(α)をできる限り精度よく表現できるようビットレンジを大きく取ればよい。2進数で表現する場合、たとえば2ビット(1/4=0.25)より5bit(1/32=0.03125)の方が8倍の精度でサンプリングレートαを表現できる。1ビットでも多くビットレンジを用いた方が、精度のよいリサンプリングが実現される。   In order to suppress the discretization error, the bit range should be large so that the fractional point (α) of the sampling rate α can be expressed as accurately as possible. When expressed in a binary number, for example, the sampling rate α can be expressed with 8 times the accuracy of 5 bits (1/32 = 0.03125) than 2 bits (1/4 = 0.25). The re-sampling with higher accuracy can be realized by using more bit ranges even with one bit.

サンプリングレートαの小数部 point(α)のステップは1/(2のべき乗)であり、ビットシフト処理により事実上の除算処理を実現することで、後段での演算に一般的な除算器を不要とする。小数部のビット幅を大きく取るほど演算精度が高まる。演算精度は離散化誤差の低減に繋がり、良好なリサンプリングが実現される。   The step of the fractional point (α) of the sampling rate α is 1 / (power of 2), and the actual division processing is realized by the bit shift processing, so that a general divider is not required for the calculation at the subsequent stage. And The calculation accuracy increases as the bit width of the decimal part is increased. The calculation accuracy leads to a reduction in discretization error, and good resampling is realized.

<2点近傍線形補間演算>
図3〜図6は、本実施形態の補間演算処理部20による2点近傍線形補間演算の仕組みを説明する図である。ここで、図3は、本実施形態のリサンプリング部28の構成例を示す図である。図3Aは、本実施形態の2点近傍線形補間演算を適用しない比較例のリサンプリング部28Zの構成例を示す図である。図4〜図5は、リサンプリング部28,26Zにおいて補間位置を特定する手法を説明する図である。図6は、本実施形態のリサンプリング部28におけるリサンプリング値Resamp[i]の演算手法を説明する図である。
<2-point linear interpolation calculation>
3-6 is a figure explaining the mechanism of the 2-point neighborhood linear interpolation calculation by the interpolation calculation process part 20 of this embodiment. Here, FIG. 3 is a diagram illustrating a configuration example of the resampling unit 28 of the present embodiment. FIG. 3A is a diagram illustrating a configuration example of a resampling unit 28Z of a comparative example that does not apply the two-point neighborhood linear interpolation calculation of the present embodiment. 4-5 is a figure explaining the method of specifying an interpolation position in the resampling units 28 and 26Z. FIG. 6 is a diagram for explaining a calculation method of the resampling value Resamp [i] in the resampling unit 28 of the present embodiment.

リサンプリング部28は、リサンプリン方式として図2に示したような近傍の2点による線形補間を用いる。サンプリングレートαの整数部 int(α)、小数部 point(α)としたとき、演算は式(2)に従って行なう。   The resampling unit 28 uses linear interpolation with two neighboring points as shown in FIG. 2 as the resampling method. When the integer part int (α) and the fractional part point (α) of the sampling rate α are used, the calculation is performed according to equation (2).

C=(1− point(α))・A+ point(α)・B …(2)
出力をn画素生成するため、演算値出力部40との協働作業により式(2)の演算を反復して行なう。このとき、図4(1)に示す補間対象データ位置計算部29を用いて、図5(1)に示すように、サンプリングレートαおよびサンプリング初期位置βに基づき、式(3)に従った補間対象座標ζを得る。リサンプリング部28は、この計算結果の整数部から入力画素A,Bの画素位置を特定する。たとえば、整数部 int(ζ)としたとき、演算オペレータk(kは1〜n)としたとき、画素A[ int(ζ)]と画素B[ int(ζ)+1]による2点の式(2)に従った線形補間により画素値Cを特定する。
C = (1-point (α)) · A + point (α) · B (2)
In order to generate n pixels of output, the calculation of Expression (2) is repeatedly performed in cooperation with the calculation value output unit 40. At this time, using the interpolation target data position calculation unit 29 shown in FIG. 4 (1), the interpolation according to the equation (3) is performed based on the sampling rate α and the sampling initial position β as shown in FIG. 5 (1). The target coordinate ζ is obtained. The resampling unit 28 specifies the pixel positions of the input pixels A and B from the integer part of the calculation result. For example, when an integer part is int (ζ) and an arithmetic operator k (k is 1 to n), a two-point expression (a pixel A [int (ζ)] and a pixel B [int (ζ) +1] ( The pixel value C is specified by linear interpolation according to 2).

ζ=k・α+β…(3)
式(3)に示すように、本実施形態では、補間対象座標ζを取得するに当たり、ζ=k・αではなく、サンプリング初期位置βを使って補間対象座標ζを調整可能とする点に特徴がある。サンプリング初期位置βの設定は、小数部 point(α)の値が“0”(ゼロ)とならないように調整することを目的とするものである。式(3)を使用する場合においても、その整数部 int(ζ)から補間対象の2点A,Bの画素位置が簡単に特定される。
ζ = k · α + β (3)
As shown in Expression (3), the present embodiment is characterized in that, in acquiring the interpolation target coordinate ζ, the interpolation target coordinate ζ can be adjusted by using the sampling initial position β instead of ζ = k · α. There is. The purpose of setting the sampling initial position β is to adjust so that the value of the decimal point point (α) does not become “0” (zero). Even when Expression (3) is used, the pixel positions of the two points A and B to be interpolated are easily specified from the integer part int (ζ).

入力制御回路からのデータ列D[i](i=0,1,…,m)に対してリサンプリング値Resamp[i]は式(4)で表現される(図6を参照)。   For the data string D [i] (i = 0, 1,..., M) from the input control circuit, the resampling value Resamp [i] is expressed by Expression (4) (see FIG. 6).

Resamp[i]=(1− point(ζ))×D[ int(ζ)]+ point(ζ)×D[ int(ζ)+1]…(4)   Resamp [i] = (1−point (ζ)) × D [int (ζ)] + point (ζ) × D [int (ζ) +1] (4)

サンプリングレートαおよびサンプリング初期位置βは、小数のステップは1/(2のべき乗)であり、ビットシフト処理により事実上の除算処理を実現することで、後段での演算に一般的な除算器を不要とする。小数のビット幅を大きく取るほど演算精度が高まる。演算精度は離散化誤差の低減に繋がり、良好なリサンプリングが実現される。   The sampling rate α and the initial sampling position β are 1 / (power of 2) in the fractional step, and a practical division process is realized by the bit shift process. Make it unnecessary. The larger the decimal bit width, the higher the calculation accuracy. The calculation accuracy leads to a reduction in discretization error, and good resampling is realized.

ただし、小数のビット幅は2つの乗算器と後段の加算器の規模に影響する。たとえば、図3Aに示す比較例の補間演算処理部20Z(通常のリサンプリング回路)では、図4(2)に示すように“ζ=k・α”でサンプリングを反復するため、図5(2)に示すように、小数部 point(ζ)は値“0”を取り得る。 point(α)が値“0”を取り得るため、“1− point(α)”は“小数部のビット幅+1”に拡張する必要があり、その分だけ無駄な回路が要求される。たとえば、小数ビット幅が5ビットのとき、“1− point(α)”は6ビットなる。   However, the decimal bit width affects the scale of the two multipliers and the subsequent adder. For example, the interpolation calculation processing unit 20Z (ordinary resampling circuit) of the comparative example shown in FIG. 3A repeats sampling with “ζ = k · α” as shown in FIG. ), The decimal point point (ζ) can take the value “0”. Since point (α) can take the value “0”, it is necessary to expand “1-point (α)” to “the bit width of the fractional part + 1”, and a correspondingly useless circuit is required. For example, when the fractional bit width is 5 bits, “1-point (α)” is 6 bits.

これに対して、本実施形態の補間演算処理部20では、小数部 point(ζ)の値が“0”とならないよう、サンプリング初期位置βを利用して式(3)に従ってリサンプリングの開始位置 point(ζ)を調整するようにしている。リサンプリングの開始位置 point(ζ)を制御することで、“1− point(ζ)”のビット幅を拡張することなく、p+1ビット同等の精度をpビットで演算結果が算出されるようになる。   On the other hand, in the interpolation calculation processing unit 20 of the present embodiment, the resampling start position according to the equation (3) using the sampling initial position β so that the value of the decimal point point (ζ) does not become “0”. The point (ζ) is adjusted. By controlling the resampling start position point (ζ), the calculation result can be calculated with p bits with an accuracy equivalent to p + 1 bits without extending the bit width of “1-point (ζ)”. .

つまり、本実施形態の仕組みでは、小数部 point(α)は回路において、2のべき乗分の実数(たとえば3ビットであれば5/8など)で表現される。そして、リサンプリングはαのステップで反復し、必要なリサンプリング値Resamp[n]まで演算を行なう。このとき、小数部 point(α)の開始位置は、小数部 point(ζ)の値が“0”(ゼロ)とならないように、サンプリング初期位置βを利用して、小数部 point(α)のビット幅(小数ビット幅:たとえば3ビット)の最小ステップ(3ビットのときは1/8)の整数倍で設定するものとする。サンプリング初期位置βの設定値は、当該分野の一般概念としての有限範囲で、つまり必要なリサンプリング値Resamp[n]まで演算を行なう限りにおいて、“0”を除く、たとえば1/8〜7/8の何れかに設定する。   That is, in the mechanism of the present embodiment, the decimal part point (α) is expressed by a real number that is a power of 2 (for example, 5/8 for 3 bits) in the circuit. Then, the resampling is repeated at step α, and the calculation is performed up to the necessary resampling value Resamp [n]. At this time, the start position of the fractional part point (α) is determined by using the sampling initial position β so that the value of the fractional part point (ζ) does not become “0” (zero). The bit width (decimal bit width: for example, 3 bits) is set to an integral multiple of the minimum step (1/8 for 3 bits). The set value of the sampling initial position β is within a finite range as a general concept in the field, that is, as long as the calculation is performed up to the necessary resampling value Resamp [n], excluding “0”, for example, 1/8 to 7 / 8 is set.

リサンプリング処理を実行する際、離散化誤差に影響する演算精度と回路規模や処理規模とのトレードオフが問題となるが、前述のような対応を採ることで、精度を維持したリサンプリング処理が省回路構成・省処理規模で実現される。たとえば、映像信号処理のスケーリングで多用されるリサンプリング処理において、演算精度を維持しつつ省面積で実現する演算処理方式が構築される。初期位置設定部24による前述のような対処により、サンプリング初期位置β(サンプリング開始点)も任意に設定可能で、汎用性の高いサンプリング処理が実現される。たとえば、高精度センタズームなどの用途に好適なものとなるなど、汎用性の高い補間演算機能が実現される。   When resampling is performed, there is a trade-off between the calculation accuracy that affects the discretization error, the circuit scale, and the processing scale. By taking the measures described above, resampling processing that maintains accuracy can be performed. Realized with reduced circuit configuration and reduced processing scale. For example, in a resampling process that is frequently used for scaling of video signal processing, an arithmetic processing method is realized that realizes a small area while maintaining the arithmetic accuracy. By the above-described countermeasures by the initial position setting unit 24, the sampling initial position β (sampling start point) can be arbitrarily set, and highly versatile sampling processing is realized. For example, a highly versatile interpolation operation function is realized, such as being suitable for applications such as high-precision center zoom.

<実施例>
図7は、実施例を示す図である。ここでは、補間対象のデータが10ビット、小数部 point(α)は8ビット精度の例である。
<Example>
FIG. 7 is a diagram illustrating an embodiment. Here, the interpolation target data is 10 bits, and the decimal part point (α) is an example of 8 bits precision.

図7(1)に示すように、比較例の補間演算処理部20Zの場合、“ζ=k・α”でサンプリングを反復するため、 point(ζ)は値“0”を取り得る。この対処のため、 point(ζ)をpビットの小数とした場合、1− point(ζ)は小数のp+1ビットに拡張する必要があり、小数ビット幅=8ビットのとき、“1− point(α)”は9ビットとなる。1− point(ζ)はpoint(ζ)よりも1ビット拡張が必要となる。   As shown in FIG. 7A, in the case of the interpolation calculation processing unit 20Z of the comparative example, since sampling is repeated with “ζ = k · α”, point (ζ) can take a value “0”. To deal with this, when point (ζ) is a p-bit decimal, 1-point (ζ) needs to be expanded to a decimal p + 1 bit, and when the decimal bit width = 8 bits, “1-point ( α) "is 9 bits. 1-point (ζ) needs to be extended by 1 bit than point (ζ).

また、point(ζ)と“1− point(α)”で、小数ビット幅が異なる(1ビット分の差がある)ために、回路レイアウトを対称にすることができない。異なるビット幅の演算器を使用するため、回路の対称性を保つことができず、レイアウトの困難性が顕在化する。このことは、乗算後の加算回路についても同様であり、入力のビット幅が異なることで、乗算器同様にレイアウト的なデメリットが顕在化する。   Further, since the decimal bit width differs between point (ζ) and “1-point (α)” (there is a difference of 1 bit), the circuit layout cannot be made symmetric. Since arithmetic units having different bit widths are used, the symmetry of the circuit cannot be maintained, and the difficulty of layout becomes obvious. The same applies to the adder circuit after multiplication, and the input bit width is different, so that the layout disadvantages become apparent as in the multiplier.

一方、図7(2)に示すように、本実施形態の補間演算処理部20では、小数部 point(α)の値が“0”とならないように、リサンプリングの開始位置 point(ζ)をサンプリング初期位置βによって制御する。これにより、point(ζ)および“1− point(α)”の双方について小数ビット幅=8ビットでよくなる。乗算器のビット数を拡張することなく、演算精度の高いリサンプリングが実現される。   On the other hand, as shown in FIG. 7 (2), in the interpolation calculation processing unit 20 of the present embodiment, the resampling start position point (ζ) is set so that the value of the decimal part point (α) does not become “0”. It is controlled by the sampling initial position β. As a result, the fractional bit width = 8 bits is sufficient for both point (ζ) and “1-point (α)”. Resampling with high calculation accuracy is realized without extending the number of bits of the multiplier.

また、point(ζ)および“1− point(α)”の双方について同じ小数ビット幅でよくなるため、同ビット幅の演算器を使用可能となり、回路の対称性が保たれる。その結果、レイアウトの容易性が向上することで面積に対する回路の充填率が上がる。さらに、乗算後の加算回路についてもビット幅が抑えられ、同等の演算精度が得られる。また、入力のビット幅が揃うことで、乗算器同様にレイアウト的なメリットが得られる。   In addition, since the same fractional bit width is sufficient for both point (ζ) and “1-point (α)”, an arithmetic unit having the same bit width can be used, and the symmetry of the circuit is maintained. As a result, the ease of layout is improved, and the circuit filling ratio with respect to the area is increased. Furthermore, the bit width of the adder circuit after multiplication is suppressed, and equivalent calculation accuracy can be obtained. In addition, since the input bit widths are uniform, a layout merit can be obtained as in the multiplier.

<画像機器への適用>
図8は、本実施形態の画像機器を説明する図である。本実施形態の画像機器7は、前述の本実施形態の画像処理装置1の線形補間の仕組みを画像機器に適用したものである。画像機器7は、離散化されたデジタルデータで表わされるデジタル画像について、解像度変換やアスペクト変換などの拡大・縮小処理を始めとする各種のグラフィックス処理を行なうものであればよく、たとえばCCD(Charge Coupled Device)やCMOS(Complementary Metal-oxide Semiconductor)などを撮像デバイスに使用する固体撮像装置や撮像装置、あるいは複写装置などが、一例として該当する。何れにしても、オリジナルと異なるサンプリングレートでリサンプリングを行なう画像機器7であれば、前記の画像処理装置1の仕組みが同様に適用可能である。
<Application to image equipment>
FIG. 8 is a diagram illustrating the image device of the present embodiment. The image device 7 of the present embodiment is obtained by applying the linear interpolation mechanism of the image processing apparatus 1 of the present embodiment described above to an image device. The image device 7 may be any device that performs various types of graphics processing such as enlargement / reduction processing such as resolution conversion and aspect conversion on a digital image represented by discretized digital data. An example is a solid-state imaging device, an imaging device, a copying device, or the like that uses a coupled device (CMOS) or a complementary metal-oxide semiconductor (CMOS) as an imaging device. In any case, the mechanism of the image processing apparatus 1 can be similarly applied to the image device 7 that performs resampling at a sampling rate different from the original.

図示した画像機器7は、画像処理装置1の各構成要素に加えて、画像データを取得しデータ記憶部10に格納する画像データ取得部50を備えている。画像処理装置1の各機能部の基本的な動作は、前記の画像処理装置1と同様である。たとえば、補間係数設定部22はサンプリングレートα(0≦α≦1)を設定し、出力画素数設定部26は出力画素数n(nは1以上の正の整数)を設定する。   The illustrated image device 7 includes an image data acquisition unit 50 that acquires image data and stores the image data in the data storage unit 10 in addition to the components of the image processing apparatus 1. The basic operation of each functional unit of the image processing apparatus 1 is the same as that of the image processing apparatus 1 described above. For example, the interpolation coefficient setting unit 22 sets the sampling rate α (0 ≦ α ≦ 1), and the output pixel number setting unit 26 sets the output pixel number n (n is a positive integer of 1 or more).

リサンプリング部28は、初期位置βとしてζ=k・α+β(kは1からnまで)に従って補間対象の2つの画素の座標を特定し、補間対象の2つの画素の値A,B、補間係数α、出力画素数nに基づき補間位置の画素値Cを式(1)〜(4)に従って求める。ここで、初期位置設定部24は、リサンプリング部28における演算工程におけるn回の演算過程で、ζの小数部 point(ζ)の値がゼロとならないように、小数部 point(α)のビット幅の最小ステップの整数倍でサンプリング初期位置βを設定する。   The resampling unit 28 specifies the coordinates of the two pixels to be interpolated according to ζ = k · α + β (k is 1 to n) as the initial position β, and the values A and B of the two pixels to be interpolated and the interpolation coefficient Based on α and the output pixel number n, the pixel value C at the interpolation position is obtained according to equations (1) to (4). Here, the initial position setting unit 24 uses the bits of the fractional part point (α) so that the value of the fractional part point (ζ) of ζ does not become zero in n computation steps in the computation process in the resampling unit 28. The sampling initial position β is set by an integral multiple of the minimum step of the width.

以上、本発明について実施形態を用いて説明したが、本発明の技術的範囲は前記実施形態に記載の範囲には限定されない。発明の要旨を逸脱しない範囲で前記実施形態に多様な変更または改良を加えることができ、そのような変更または改良を加えた形態も本発明の技術的範囲に含まれる。   As mentioned above, although this invention was demonstrated using embodiment, the technical scope of this invention is not limited to the range as described in the said embodiment. Various changes or improvements can be added to the above-described embodiment without departing from the gist of the invention, and embodiments to which such changes or improvements are added are also included in the technical scope of the present invention.

また、前記の実施形態は、クレーム(請求項)にかかる発明を限定するものではなく、また実施形態の中で説明されている特徴の組合せの全てが発明の解決手段に必須であるとは限らない。前述した実施形態には種々の段階の発明が含まれており、開示される複数の構成要件における適宜の組合せにより種々の発明を抽出できる。実施形態に示される全構成要件から幾つかの構成要件が削除されても、効果が得られる限りにおいて、この幾つかの構成要件が削除された構成が発明として抽出され得る。   Further, the above embodiments do not limit the invention according to the claims (claims), and all combinations of features described in the embodiments are not necessarily essential to the solution means of the invention. Absent. The embodiments described above include inventions at various stages, and various inventions can be extracted by appropriately combining a plurality of disclosed constituent elements. Even if some constituent requirements are deleted from all the constituent requirements shown in the embodiment, as long as an effect is obtained, a configuration from which these some constituent requirements are deleted can be extracted as an invention.

たとえば、前記実施形態の各構成要素が同一筐体内にあるものには限らない。さらに、前記実施形態で説明した一連の処理を実現するための各部(機能ブロックを含む)の具体的手段は、ハードウェアまたはソフトウェアあるいは両者の複合構成、さらにはネットワークを利用した組み合わせ、その他の任意の手段を用いることができ、このこと自体は当業者において自明である。また、機能ブロック同士が複合して一つの機能ブロックを構成するものであってもよい。   For example, each component of the embodiment is not limited to being in the same housing. Furthermore, the specific means of each unit (including functional blocks) for realizing the series of processes described in the above embodiment is hardware or software or a combination of both, a combination using a network, and any other arbitrary These methods can be used, and this is obvious to those skilled in the art. Further, the functional blocks may be combined to form one functional block.

ソフトウェアによる処理を実行する場合は、処理シーケンスを記録したプログラムを、専用のハードウェアに組み込まれたコンピュータ内のメモリにインストールして実行させるたり、各種処理が実行可能な汎用コンピュータにプログラムをインストールして実行させたりする。また、各種の処理は、前記実施形態の記載に従って時系列に実行されるのみならず、処理を実行する装置の処理能力や必要に応じて並列的にあるいは個別に実行されてもよい。   When executing processing by software, install a program that records the processing sequence in a memory in a computer built in dedicated hardware and execute it, or install the program on a general-purpose computer that can execute various types of processing. Or run it. Various processes may be executed not only in time series in accordance with the description of the above-described embodiment, but also in parallel or individually as required by the processing capability of the apparatus that executes the processes.

本発明に係る画像処理方法を適用した画像処理装置(画像処理システム)の構成例を示す図である。It is a figure which shows the structural example of the image processing apparatus (image processing system) to which the image processing method which concerns on this invention is applied. 補間演算の基本概念を説明する図である。It is a figure explaining the basic concept of an interpolation calculation. 本実施形態のリサンプリング部の構成例を示す図である。It is a figure which shows the structural example of the resampling part of this embodiment. 比較例のリサンプリング部の構成例を示す図である。It is a figure which shows the structural example of the resampling part of a comparative example. 補間位置を特定する手法を説明する図(その1)である。It is FIG. (1) explaining the method of specifying an interpolation position. 補間位置を特定する手法を説明する図(その2)である。It is FIG. (2) explaining the method of specifying an interpolation position. リサンプリング値の演算手法を説明する図である。It is a figure explaining the calculation method of a resampling value. 実施例を示す図である。It is a figure which shows an Example. 本実施形態の画像機器を説明する図である。It is a figure explaining the imaging device of this embodiment.

符号の説明Explanation of symbols

1…画像処理装置、10…データ記憶部、20…補間演算処理部、22…補間係数設定部、24…初期位置設定部、26…出力画素数設定部、28…リサンプリング部(演算部)、29…補間対象データ位置計算部、30…補間対象値入力部、40…演算値出力部、50…画像データ取得部、7…画像機器   DESCRIPTION OF SYMBOLS 1 ... Image processing apparatus, 10 ... Data storage part, 20 ... Interpolation calculation process part, 22 ... Interpolation coefficient setting part, 24 ... Initial position setting part, 26 ... Output pixel number setting part, 28 ... Resampling part (calculation part) 29 ... Interpolation target data position calculation unit, 30 ... Interpolation target value input unit, 40 ... Calculation value output unit, 50 ... Image data acquisition unit, 7 ... Image equipment

Claims (7)

補間係数α(0≦α≦1)を設定する補間係数設定部と、
出力画素数n(nは1以上の正の整数)を設定する出力画素数設定部と、
初期位置βとして式ζ=k・α+β(kは1からnまで)に従って補間対象の2つの画素の座標を特定し、前記補間対象の2つの画素の値A,B、前記補間係数α、および前記出力画素数nに基づき補間位置の画素値Cを式(X)に従って求める演算部と、
前記演算部によるn回の演算過程で、前記ζの小数部 point(ζ)の値がゼロとならないように前記初期位置βを設定する初期位置設定部と、
を備えた画像処理装置。
C=(1− point(α))・A+ point(α)・B …(X)
An interpolation coefficient setting unit for setting the interpolation coefficient α (0 ≦ α ≦ 1);
An output pixel number setting unit for setting the output pixel number n (n is a positive integer of 1 or more);
Specify the coordinates of the two pixels to be interpolated according to the equation ζ = k · α + β (k is 1 to n) as the initial position β, the values A and B of the two pixels to be interpolated, the interpolation coefficient α, and A calculation unit for obtaining a pixel value C at an interpolation position based on the number n of output pixels according to the formula (X);
An initial position setting unit that sets the initial position β so that the value of the decimal part point (ζ) of the ζ does not become zero in the n number of calculation processes by the calculation unit;
An image processing apparatus.
C = (1-point (α)) · A + point (α) · B (X)
前記演算部は、前記小数部 point(ζ)のビット幅をpビットとし、
前記初期位置設定部は、前記pビットの最小ステップ単位の整数倍を前記初期位置βとする
請求項1に記載の画像処理装置。
The calculation unit sets the bit width of the decimal part point (ζ) to p bits,
The image processing apparatus according to claim 1, wherein the initial position setting unit sets an integer multiple of the p-bit minimum step unit as the initial position β.
前記演算部は、前記n回の演算過程の都度、前記ζの整数部 int(ζ)に基づき前記補間対象の2つの画素の座標をint(ζ), int(ζ)+1により特定し、前記補間対象の2つの画素の値A,BをD[ int(ζ)],D[ int(ζ)+1]とし、補間位置[i]の画素値Cを式(Y)に従って求める
請求項1または2に記載の画像処理装置。
C=Resamp[i]=(1− point(ζ))×D[ int(ζ)]+ point(ζ)×D[ int(ζ)+1]…(Y)
The calculation unit specifies the coordinates of the two pixels to be interpolated by int (ζ) and int (ζ) +1 based on the integer part int (ζ) of the ζ every time the n calculation processes are performed. The values A and B of two pixels to be interpolated are D [int (ζ)] and D [int (ζ) +1], and the pixel value C at the interpolation position [i] is obtained according to the equation (Y). 2. The image processing apparatus according to 2.
C = Resamp [i] = (1−point (ζ)) × D [int (ζ)] + point (ζ) × D [int (ζ) +1] (Y)
前記演算部は、前記小数部 point(ζ)および1− point(ζ)のビット幅をともにpビットとする
請求項1〜3の内の何れか一項に記載の画像処理装置。
The image processing apparatus according to any one of claims 1 to 3, wherein the arithmetic unit sets both the bit widths of the decimal parts point (ζ) and 1-point (ζ) to p bits.
前記補間係数αおよび前記前記初期位置βは、小数部のステップが1/(2のべき乗)であり、
前記演算部はビットシフト処理により除算処理を実行する
請求項1〜4の内の何れか一項に記載の画像処理装置。
The interpolation coefficient α and the initial position β have a fractional step of 1 / (power of 2),
The image processing apparatus according to claim 1, wherein the arithmetic unit performs a division process by a bit shift process.
画像データを記憶するデータ記憶部と、
画像データを取得し前記データ記憶部に格納する画像データ取得部と、
補間係数α(0≦α≦1)を設定する補間係数設定部と、
出力画素数n(nは1以上の正の整数)を設定する出力画素数設定部と、
初期位置βとして式ζ=k・α+β(kは1からnまで)に従って補間対象の2つの画素の座標を特定して前記データ記憶部から読み出し、前記補間対象の2つの画素の値A,B、前記補間係数α、および前記出力画素数nに基づき補間位置の画素値Cを式(X)に従って求め前記データ記憶部に格納する演算部と、
前記演算部によるn回の演算過程で、前記ζの小数部 point(ζ)の値がゼロとならないように前記初期位置βを設定する初期位置設定部と、
を備えた画像機器。
C=(1− point(α))・A+ point(α)・B …(X)
A data storage unit for storing image data;
An image data acquisition unit for acquiring image data and storing the image data in the data storage unit;
An interpolation coefficient setting unit for setting the interpolation coefficient α (0 ≦ α ≦ 1);
An output pixel number setting unit for setting the output pixel number n (n is a positive integer of 1 or more);
As the initial position β, the coordinates of the two pixels to be interpolated are specified and read out from the data storage unit according to the formula ζ = k · α + β (k is 1 to n), and the values A and B of the two pixels to be interpolated are read out. A calculation unit that obtains a pixel value C at an interpolation position based on the interpolation coefficient α and the output pixel number n according to the equation (X) and stores the calculated value in the data storage unit;
An initial position setting unit that sets the initial position β so that the value of the decimal part point (ζ) of the ζ does not become zero in the n number of calculation processes by the calculation unit;
With imaging equipment.
C = (1-point (α)) · A + point (α) · B (X)
補間係数α(0≦α≦1)を設定する補間係数設定工程と、
出力画素数n(nは1以上の正の整数)を設定する出力画素数設定工程と、
初期位置βとして式ζ=k・α+β(kは1からnまで)に従って補間対象の2つの画素の座標を特定する補間対象座標特定工程と、
前記補間対象の2つの画素の値A,B、前記補間係数α、および前記出力画素数nに基づき補間位置の画素値Cを式(X)に従って求める演算工程と、
前記演算工程におけるn回の演算過程で、前記ζの小数部 point(ζ)の値がゼロとならないように前記初期位置βを設定する初期位置設定工程と、
を備えた画像処理方法。
C=(1− point(α))・A+ point(α)・B …(X)
An interpolation coefficient setting step for setting the interpolation coefficient α (0 ≦ α ≦ 1);
An output pixel number setting step for setting the output pixel number n (n is a positive integer of 1 or more);
An interpolation target coordinate specifying step of specifying the coordinates of two pixels to be interpolated according to the equation ζ = k · α + β (k is 1 to n) as the initial position β;
A calculation step of obtaining a pixel value C at an interpolation position according to the equation (X) based on the values A and B of the two pixels to be interpolated, the interpolation coefficient α, and the output pixel number n;
An initial position setting step of setting the initial position β so that the value of the fractional part point (ζ) of ζ does not become zero in n calculation steps in the calculation step;
An image processing method comprising:
C = (1-point (α)) · A + point (α) · B (X)
JP2008195959A 2008-07-30 2008-07-30 Image processing device, image device, and image processing method Pending JP2010033406A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008195959A JP2010033406A (en) 2008-07-30 2008-07-30 Image processing device, image device, and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008195959A JP2010033406A (en) 2008-07-30 2008-07-30 Image processing device, image device, and image processing method

Publications (1)

Publication Number Publication Date
JP2010033406A true JP2010033406A (en) 2010-02-12

Family

ID=41737778

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008195959A Pending JP2010033406A (en) 2008-07-30 2008-07-30 Image processing device, image device, and image processing method

Country Status (1)

Country Link
JP (1) JP2010033406A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108986033A (en) * 2018-07-26 2018-12-11 西安电子科技大学 Image-scaling method based on bilinear interpolation algorithm processing
CN111127323A (en) * 2019-12-25 2020-05-08 苏州瑞特纳电子科技有限公司 Image reduction method based on FPGA
CN115083427A (en) * 2022-06-09 2022-09-20 珠海海奇半导体有限公司 Audio resampling method, audio processing equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06113120A (en) * 1992-09-30 1994-04-22 Fuji Xerox Co Ltd Resolution conversion device for picture processor

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06113120A (en) * 1992-09-30 1994-04-22 Fuji Xerox Co Ltd Resolution conversion device for picture processor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108986033A (en) * 2018-07-26 2018-12-11 西安电子科技大学 Image-scaling method based on bilinear interpolation algorithm processing
CN111127323A (en) * 2019-12-25 2020-05-08 苏州瑞特纳电子科技有限公司 Image reduction method based on FPGA
CN115083427A (en) * 2022-06-09 2022-09-20 珠海海奇半导体有限公司 Audio resampling method, audio processing equipment and storage medium

Similar Documents

Publication Publication Date Title
JP5914045B2 (en) Image processing apparatus, image processing method, and program
JP2009134509A (en) Device for and method of generating mosaic image
JP4728744B2 (en) Image processing device
JP2017191572A (en) Image processor, method thereof, and program
JP2010033406A (en) Image processing device, image device, and image processing method
Gour et al. Hardware accelerator for real-time image resizing
JP2010067251A (en) Integer division circuit with allowable error
JP2018120536A (en) Data interpolation apparatus and method therefor, and image processing apparatus
WO2014030384A1 (en) Sampling rate conversion device
JP2006238188A (en) Interpolation filter and video signal processing device
JP5387289B2 (en) Image processing apparatus, image processing method and program thereof
Zemčík et al. Accelerated image resampling for geometry correction
JP5575048B2 (en) Image processing apparatus and image forming apparatus
JP2017162313A (en) Image processing device, image processing method and program
JP2009116730A (en) Image processing apparatus and method
JP5387288B2 (en) Image processing apparatus, image processing method and program thereof
JP6262621B2 (en) Image enlargement / reduction processing apparatus and image enlargement / reduction processing method
JP2016139980A (en) Image processor, image processing method and display device
JP5939893B2 (en) Image processing apparatus and image processing method
JP5997480B2 (en) Image processing apparatus, image processing method, and program
JP2014027405A (en) Frame interpolation apparatus and program
JP5900245B2 (en) Image processing device
JP2012089947A (en) Image reduction system
JP2021189458A (en) Device, method, and program
JP2021164139A (en) Data processing apparatus and control method for the same

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20100908

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110715

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120524

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120529

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20130108