[go: up one dir, main page]

JP2007017989A - Device for converting pixel number and method for converting pixel number - Google Patents

Device for converting pixel number and method for converting pixel number Download PDF

Info

Publication number
JP2007017989A
JP2007017989A JP2006196941A JP2006196941A JP2007017989A JP 2007017989 A JP2007017989 A JP 2007017989A JP 2006196941 A JP2006196941 A JP 2006196941A JP 2006196941 A JP2006196941 A JP 2006196941A JP 2007017989 A JP2007017989 A JP 2007017989A
Authority
JP
Japan
Prior art keywords
pixel
conversion
pixels
output
pair
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
JP2006196941A
Other languages
Japanese (ja)
Inventor
Ikuo Someya
郁男 染谷
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 JP2006196941A priority Critical patent/JP2007017989A/en
Publication of JP2007017989A publication Critical patent/JP2007017989A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Liquid Crystal (AREA)
  • Image Processing (AREA)
  • Liquid Crystal Display Device Control (AREA)
  • Transforming Electric Information Into Light Information (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a device for converting pixel number that decreases bleeding in characters or the like after converting numbers of pixels and enhances visibility. <P>SOLUTION: When the position of pixels is identical before and after conversion, a zero-order interpolating means 11 determines the pixel value before conversion as a pixel value after conversion. When the position of pixels is not identical before and after conversion, a pixel value calculating means 12 calculates an average of a linear interpolation value obtained by interpolation of nearby pixels and nearby pixel values. Thus, the device 10 for converting pixel number converts the number of pixels in image signals. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は画素数変換装置及び画素数変換方法に関し、特に画像信号の画素数の変換を行う画素数変換装置及び画像信号の画素数の変換を行う画素数変換方法に関する。   The present invention relates to a pixel number conversion device and a pixel number conversion method, and more particularly to a pixel number conversion device that converts the number of pixels of an image signal and a pixel number conversion method that converts the number of pixels of an image signal.

パソコン画面に表示される各種の表示画素数の画像信号から液晶ディスプレイのような固定の画素数へ表示する際には、画素数変換を行う必要がある。   When displaying an image signal of various display pixel numbers displayed on a personal computer screen to a fixed pixel number such as a liquid crystal display, it is necessary to perform pixel number conversion.

例えば、パソコン画面がVGA(Video Graphics Array) であれば画素数は640×480であり、液晶ディスプレイがSVGA(Super Video Graphics Array) であれば画素数は800×600であるので、4:5に変換して表示する。   For example, if the personal computer screen is VGA (Video Graphics Array), the number of pixels is 640 × 480, and if the liquid crystal display is SVGA (Super Video Graphics Array), the number of pixels is 800 × 600. Convert and display.

従来の画素数変換では、近傍画素を出力(零次補間)したり、あるいは線形補間(直線補間) するのが一般的であった。   In the conventional pixel number conversion, neighboring pixels are generally output (zero-order interpolation) or linear interpolation (linear interpolation).

しかし、従来の零次補間や直線補間では、変換前と変換後の位置が同一でない画素にパソコン画像の文字などの線があると、線の太さが太くなったり、または輝度が低くなり文字の線の明るさや白さが少なくなってしまうといった問題があった。   However, with conventional zero-order interpolation and linear interpolation, if there is a line such as a character in a computer image at a pixel where the position before and after conversion is not the same, the line becomes thicker or the brightness decreases and the character There was a problem that the brightness and whiteness of the line were reduced.

図10は画素数変換を零時補間で行った場合の画素値を示す図である。VGAからSVGAへの画素数変換を示している。変換前の画素P1と変換後の画素p1aのように変換位置が一致している画素は、同じ画素値100となり問題はない。   FIG. 10 is a diagram showing pixel values when pixel number conversion is performed by zero-time interpolation. The pixel number conversion from VGA to SVGA is shown. Pixels having the same conversion position, such as the pixel P1 before conversion and the pixel p1a after conversion, have the same pixel value 100, and there is no problem.

ところが、変換位置が一致しない画素に対しては、例えば画素P7が画素p8a、p9aのように2画素分に広がってしまう。このような場合、画面上では場所によって罫線の太さが違うとか、文字の線の太さが変わってしまう等の問題が生じてしまう。   However, for pixels whose conversion positions do not match, for example, the pixel P7 is spread over two pixels like pixels p8a and p9a. In such a case, problems such as the thickness of the ruled line differ depending on the location on the screen, or the thickness of the character line changes.

図11は画素数変換を直線補間で行った場合の画素値を示す図である。VGAからSVGAへの画素数変換を示している。また、画素p2b、p8bへの変換式を次式とする。なお、式中の記号はそれぞれの画素の画素値を示す。   FIG. 11 is a diagram showing pixel values when the number of pixels is converted by linear interpolation. The pixel number conversion from VGA to SVGA is shown. Further, the conversion formula to the pixels p2b and p8b is as follows. In addition, the symbol in a type | formula shows the pixel value of each pixel.

p2b=P1*0.2+P2*0.8 …(1a)
p8b=P6*0.4+P7*0.6 …(1b)
変換前の画素P1と変換後の画素p1bのように変換位置が一致している画素は、同じ画素値100となり問題はない。
p2b = P1 * 0.2 + P2 * 0.8 (1a)
p8b = P6 * 0.4 + P7 * 0.6 (1b)
The pixels having the same conversion position, such as the pixel P1 before conversion and the pixel p1b after conversion, have the same pixel value 100, and there is no problem.

ところが、画素p1bの隣の画素p2bは、画素P1と画素P2とで、式(1a)で補間されて画素値20となる。このことは画面上では、隣の画素に白がはみ出して線がにじむといった問題を生じてしまう。   However, the pixel p2b adjacent to the pixel p1b is interpolated by the expression (1a) between the pixel P1 and the pixel P2, and becomes the pixel value 20. This causes a problem that on the screen, white protrudes from adjacent pixels and lines blur.

また、画素p8bの場合には、画素P6と画素P7とで、式(1b)で補間されると、画素値60となる。画素p9bも同様である。このことは画面上では、暗い線になってしまったり、場所によって罫線や文字の線がにじんだり薄くなったりといった問題を生じてしまう。   In the case of the pixel p8b, when the pixel P6 and the pixel P7 are interpolated by the expression (1b), the pixel value 60 is obtained. The same applies to the pixel p9b. This causes problems such as dark lines on the screen, and ruled lines and character lines blurring or thinning depending on the location.

本発明はこのような点に鑑みてなされたものであり、画素数変換後の文字のにじみ等を軽減して、視認性を高めた画素数変換装置を提供することを目的とする。   The present invention has been made in view of the above points, and an object of the present invention is to provide a pixel number conversion device that reduces blurring of characters after the pixel number conversion and improves visibility.

また、本発明の他の目的は、画素数変換後の文字のにじみ等を軽減して、視認性を高めた画素数変換方法を提供することである。   Another object of the present invention is to provide a pixel number conversion method with improved visibility by reducing blurring of characters after the pixel number conversion.

本発明の一側面の画素数変換装置は、入力される画像信号の画素数の変換を行う画素数変換装置において、クロックにより前記画像信号を1画素分遅延する第1の遅延手段と、前記第1の遅延手段に直接接続され、前記クロックにより前記第1の遅延手段からの出力を1画素分遅延する第2の遅延手段と、前記第1の遅延手段からの出力および前記第2の遅延手段からの出力に対して、一対の補間係数をそれぞれ乗算する乗算手段と、前記一対の補間係数を乗算して得られた結果同士を加算する加算手段と、前記第1の遅延手段からの出力および前記加算手段からの出力のうちのいずれかを選択する選択手段とを備え、変換前と変換後の画素の位置が同一の場合、前記第1の遅延手段からの出力を、前記選択手段が選択することで、変換前の画素値を変換後の画素値とする零次補間を行い変換前と変換後の画素の位置が異なる場合、前記変換後の画素の位置に隣り合う変換前の2つの画素の画素値を直線補間するための一対の直線補間係数のうちの大きい方と1とで求められる平均値と、前記一対の直線補間係数のうちの小さい方と0とで求められる平均値とを、前記一対の補間係数として、前記第1の遅延手段からの出力および前記第2の遅延手段からの出力に対して、それぞれ乗算して得られた結果同士を加算した前記加算手段の出力を、前記選択手段が選択することで、画素数変換を行うことを特徴とする。   The pixel number conversion device according to one aspect of the present invention is a pixel number conversion device that converts the number of pixels of an input image signal, wherein the image signal is delayed by one pixel by a clock; A second delay unit that is directly connected to one delay unit and delays the output from the first delay unit by one pixel by the clock; the output from the first delay unit; and the second delay unit Multiplication means for multiplying a pair of interpolation coefficients by the output from each other, addition means for adding the results obtained by multiplying the pair of interpolation coefficients, outputs from the first delay means, and Selecting means for selecting one of the outputs from the adding means, and the selecting means selects the output from the first delay means when the pre-conversion and post-conversion pixel positions are the same. By doing so, before conversion When zero-order interpolation is performed using the prime value as the pixel value after conversion, and the position of the pixel before conversion is different from that after conversion, the pixel value of two pixels before conversion adjacent to the position of the pixel after conversion is linearly interpolated. An average value obtained from the larger one of the pair of linear interpolation coefficients and 1 and an average value obtained from the smaller one of the pair of linear interpolation coefficients and 0 to the pair of interpolation coefficients The selecting means selects the output of the adding means obtained by adding the results obtained by multiplying the output from the first delay means and the output from the second delay means, respectively. Thus, the number of pixels is converted.

前記乗算手段は、補間フィルタとされることができる。   The multiplication means may be an interpolation filter.

本発明の一側面の画素数変換方法は、画像信号の画素数の変換を行う画素数変換方法において、クロックにより前記画像信号を1画素分遅延し、前記クロックにより1画素分遅延された出力をさらに1画素分遅延し、変換前と変換後の画素の位置が同一の場合、前記1画素分遅延された出力を選択することで、変換前の画素値を変換後の画素値とする零次補間を行い、変換前と変換後の画素の位置が異なる場合、前記変換後の画素の位置に隣り合う変換前の2つの画素の画素値を直線補間するための一対の直線補間係数のうちの大きい方と1とで求められた平均値と、前記一対の直線補間係数のうちの小さい方と0とで求められた平均値とを、一対の補間係数として、前記1画素分遅延された出力および前記さらに1画素分遅延された出力に対して、それぞれ乗算し、前記一対の補間係数を乗算して得られた乗算結果同士を加算し、前記乗算結果同士を加算した出力を選択することで、画素数変換を行うことを特徴とする。   The pixel number conversion method according to one aspect of the present invention is a pixel number conversion method for converting the number of pixels of an image signal. The image signal is delayed by one pixel by a clock, and an output delayed by one pixel by the clock When the pixel position is further delayed by one pixel and the pixel positions before and after the conversion are the same, the zeroth-order pixel value after the conversion is selected by selecting the output delayed by the one pixel. When interpolation is performed and the pixel position before conversion is different from that after conversion, the pixel value of two pixels before conversion adjacent to the position of the pixel after conversion is out of a pair of linear interpolation coefficients for linear interpolation An output delayed by one pixel, with the average value obtained from the larger one and 1 and the average value obtained from the smaller one of the pair of linear interpolation coefficients and 0 as a pair of interpolation coefficients. And output further delayed by one pixel. And multiplying the multiplication results obtained by multiplying each of the pair of interpolation coefficients and selecting an output obtained by adding the multiplication results to each other to convert the number of pixels. .

本発明においては、クロックにより前記画像信号が1画素分遅延され、前記クロックにより1画素分遅延された出力がさらに1画素分遅延される。変換前と変換後の画素の位置が同一の場合、前記1画素分遅延された出力を選択することで、変換前の画素値を変換後の画素値とする零次補間が行われる。変換前と変換後の画素の位置が異なる場合、前記変換後の画素の位置に隣り合う変換前の2つの画素の画素値を直線補間するための一対の直線補間係数のうちの大きい方と1とで求められた平均値と、前記一対の直線補間係数のうちの小さい方と0とで求められた平均値とを、一対の補間係数として、前記1画素分遅延された出力および前記さらに1画素分遅延された出力に対して、それぞれ乗算し、前記一対の補間係数を乗算して得られた乗算結果同士を加算し、前記乗算結果同士を加算した出力を選択することで、画素数変換が行われる。   In the present invention, the image signal is delayed by one pixel by the clock, and the output delayed by one pixel by the clock is further delayed by one pixel. When the positions of the pixels before conversion and after conversion are the same, zero-order interpolation is performed using the pixel value before conversion as the pixel value after conversion by selecting the output delayed by one pixel. When the position of the pixel before conversion is different from that after conversion, the larger one of a pair of linear interpolation coefficients for linearly interpolating the pixel values of two pixels before conversion adjacent to the position of the pixel after conversion and 1 And the average value obtained from the smaller one of the pair of linear interpolation coefficients and 0 as the pair of interpolation coefficients, and the output delayed by one pixel and the further 1 The number of pixels is converted by multiplying the outputs delayed by pixels, adding the multiplication results obtained by multiplying the pair of interpolation coefficients, and selecting the output obtained by adding the multiplication results. Is done.

本発明によれば、画素数変換後の文字のにじみ等を軽減し、視認性を高めることが可能になる。また、本発明によれば、画素数変換後の文字のにじみ等を軽減し、視認性を高めることが可能になる。   According to the present invention, it is possible to reduce blurring of characters after the conversion of the number of pixels and improve visibility. Further, according to the present invention, it is possible to reduce blurring of characters after the conversion of the number of pixels and improve visibility.

以下、本発明の実施の形態を図面を参照して説明する。図1は本発明の画素数変換装置の原理図である。画素数変換装置10は、画像信号の画素数の変換を行う。以降ではVGA画面からSVGA画面への4:5の画素数変換を行うものとして説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a principle diagram of a pixel number conversion apparatus according to the present invention. The pixel number conversion device 10 converts the number of pixels of the image signal. In the following description, it is assumed that the 4: 5 pixel number conversion from the VGA screen to the SVGA screen is performed.

零次補間手段11は、変換前と変換後の画素の位置が同一の場合は、変換前の画素値を変換後の画素値とする。図では変換前の画素PEL1と変換後の画素PEL1aの位置が同一であるから、両方とも画素値は100となる。   If the position of the pixel before conversion and after conversion is the same, the zero-order interpolation unit 11 sets the pixel value before conversion as the pixel value after conversion. In the figure, since the position of the pixel PEL1 before conversion and the position of the pixel PEL1a after conversion are the same, the pixel value is 100 for both.

画素値算出手段12は、変換前と変換後の画素の位置が一致しない場合は、近傍画素から補間された線形補間値と、近傍画素値と、の平均を算出して変換後の画素値とする。   The pixel value calculation means 12 calculates the average of the linear interpolation value interpolated from the neighboring pixels and the neighboring pixel values when the pixel positions before and after the conversion do not match, To do.

画素数が4:5に変換されるから、画素位置が変換前と変換後でずれてくる画素がでてくる。図では画素PEL2と画素PEL2aの位置がずれているものとする。   Since the number of pixels is converted to 4: 5, pixels whose pixel positions are shifted before and after conversion appear. In the figure, it is assumed that the positions of the pixel PEL2 and the pixel PEL2a are shifted.

このような場合、画素値算出手段12により、画素PEL1の画素値100と、画素PEL2の画素値0と、から変換式を用いて、画素PEL2aの画素値を8と算出して変換する。詳細は後述する。   In such a case, the pixel value calculation unit 12 calculates and converts the pixel value of the pixel PEL2a to 8 from the pixel value 100 of the pixel PEL1 and the pixel value 0 of the pixel PEL2 using a conversion equation. Details will be described later.

次に本発明の画素数変換装置10の第1の実施の形態について説明する。第1の実施の形態は、画素値算出手段12が直線補間で線形補間を行い、線形補間値と近傍画素値との平均を算出して変換するものである。   Next, a first embodiment of the pixel number conversion apparatus 10 of the present invention will be described. In the first embodiment, the pixel value calculation means 12 performs linear interpolation by linear interpolation, and calculates and converts the average of the linear interpolation value and neighboring pixel values.

図2は第1の実施の形態を適用した際の画素値を示す図である。画素p2cと画素p8cは、画素値算出手段12で次式のように変換される。なお、説明を簡単にするため、画素p2cと画素p8cの変換のみ示し、式中の記号はそれぞれの画素の画素値を示す。   FIG. 2 is a diagram illustrating pixel values when the first embodiment is applied. Pixel p2c and pixel p8c are converted by the pixel value calculation means 12 as shown in the following equation. For simplicity of explanation, only the conversion of the pixel p2c and the pixel p8c is shown, and the symbol in the formula indicates the pixel value of each pixel.

p2c=(P2+(P1*0.2+P2*0.8))/2 …(2a)
p8c=(P7+(P6*0.4+P7*0.6))/2 …(2b)
また、本発明でいう近傍画素値が上式ではP2及びP7、線形補間値(ここでは直線補間値)が(P1*0.2+P2*0.8)及び(P6*0.4+P7*0.6)である。
p2c = (P2 + (P1 * 0.2 + P2 * 0.8)) / 2 (2a)
p8c = (P7 + (P6 * 0.4 + P7 * 0.6)) / 2 (2b)
In the present invention, the neighboring pixel values are P2 and P7 in the above equation, and the linear interpolation values (here, the linear interpolation values) are (P1 * 0.2 + P2 * 0.8) and (P6 * 0.4 + P7 * 0.6). ).

変換前の画素P1と変換後の画素p1cのように変換位置が一致している画素は、同じ画素値100となる。一方、変換後の画素p2cは、画素P1、P2とで直線補間された20(図11の画素p2bの値と等しい)という値が、さらに近傍画素P1と平均され、半分の10となる。   Pixels having the same conversion position, such as the pixel P1 before conversion and the pixel p1c after conversion, have the same pixel value 100. On the other hand, in the converted pixel p2c, a value of 20 (equal to the value of the pixel p2b in FIG. 11) linearly interpolated with the pixels P1 and P2 is further averaged with the neighboring pixel P1, and becomes 10.

したがって、画素数変換によって生じていた隣の画素への白のはみ出し線のにじみ等を本発明により軽減することが可能になる。また、画素P7のように変換後の変換位置が一致しない画素に対しては、直線補間された値60(図11の画素p8bの値と等しい)が、さらに近傍画素P7と平均されて80となる。   Therefore, it is possible to reduce the bleeding of the white protruding line to the adjacent pixel caused by the pixel number conversion by the present invention. In addition, for a pixel whose conversion position after conversion does not match, such as the pixel P7, the linearly interpolated value 60 (equal to the value of the pixel p8b in FIG. 11) is further averaged to 80 with the neighboring pixel P7. Become.

したがって、画素数変換によって生じていた暗い線になってしまう等の不都合を軽減することが可能になる。画素p9cに対しても同様である。さらに図10での画素P7のように画素が2画素分に広がってしまう場合に対しても、画素値100から直線補間と近傍画素との平均をとって80とするので、薄くなったり、暗い線になってしまうといった問題を軽減する。   Therefore, it is possible to reduce inconveniences such as dark lines caused by the pixel number conversion. The same applies to the pixel p9c. Further, even in the case where the pixel expands to two pixels like the pixel P7 in FIG. 10, since the average of the linear interpolation and the neighboring pixels is 80 from the pixel value 100, it becomes thin or dark. Reduce the problem of becoming a line.

次に直線補間を行う回路構成について説明する。図3は直線補間を行う回路構成を示す図である。IC1〜IC3はDフリップフロップ、IC4〜7は加算器、IC8は5進カウンタである。そして、F1〜F8は補間フィルタであり、SWはスイッチ、S1〜S5はスイッチの接点である。   Next, a circuit configuration for performing linear interpolation will be described. FIG. 3 is a diagram showing a circuit configuration for performing linear interpolation. IC1 to IC3 are D flip-flops, IC4 to IC7 are adders, and IC8 is a quinary counter. F1 to F8 are interpolation filters, SW is a switch, and S1 to S5 are switch contacts.

IC1のD端子に変換前の画素ラインが入力する。IC1のQ端子とIC2のD端子が接続する。IC1、IC2のクロック端子はVGA側のクロックCKが入力する。   The pixel line before conversion is input to the D terminal of IC1. The Q terminal of IC1 and the D terminal of IC2 are connected. A clock CK on the VGA side is input to the clock terminals of IC1 and IC2.

IC1のQ端子がS1端子と接続する。また、F1(フィルタ係数:0.2)、F2(フィルタ係数:0.8)の出力がIC4で加算され、IC4の出力がS2端子と接続する。   The Q terminal of IC1 is connected to the S1 terminal. Further, the outputs of F1 (filter coefficient: 0.2) and F2 (filter coefficient: 0.8) are added by IC4, and the output of IC4 is connected to the S2 terminal.

F3(フィルタ係数:0.4)、F4(フィルタ係数:0.6)の出力がIC5で加算され、IC5の出力がS3端子と接続する。F5(フィルタ係数:0.6)、F6(フィルタ係数:0.4)の出力がIC6で加算され、IC6の出力がS4端子と接続する。   The outputs of F3 (filter coefficient: 0.4) and F4 (filter coefficient: 0.6) are added by IC5, and the output of IC5 is connected to the S3 terminal. The outputs of F5 (filter coefficient: 0.6) and F6 (filter coefficient: 0.4) are added by IC6, and the output of IC6 is connected to the S4 terminal.

F7(フィルタ係数:0.8)、F8(フィルタ係数:0.2)の出力がIC7で加算され、IC7の出力がS5端子と接続する。また,IC3のD端子にはSWが接続する。IC3とIC8のクロック端子にはSVGA側のクロックであるCK×5/4が接続する。IC3のQ端子は変換後の画素ラインを出力する。   The outputs of F7 (filter coefficient: 0.8) and F8 (filter coefficient: 0.2) are added by IC7, and the output of IC7 is connected to the S5 terminal. The SW is connected to the D terminal of IC3. The clock terminals of IC3 and IC8 are connected to CK × 5/4 which is a clock on the SVGA side. The Q terminal of IC3 outputs the converted pixel line.

次に第1の実施の形態について説明する。図4は第1の実施の形態の構成を示す図である。第1の実施の形態の回路構成は図3と同じであり、フィルタ係数のみが異なってくる。   Next, a first embodiment will be described. FIG. 4 is a diagram showing the configuration of the first embodiment. The circuit configuration of the first embodiment is the same as that of FIG. 3, and only the filter coefficient is different.

図5は図4で示した第1の実施の形態の回路構成の動作を説明する図である。変換前VGAの画素P1〜P8の画素値をそれぞれA〜H、変換後SVGAの画素p1c〜p9cの画素値をそれぞれa〜iとする。   FIG. 5 is a diagram for explaining the operation of the circuit configuration of the first embodiment shown in FIG. The pixel values of the pre-conversion VGA pixels P1 to P8 are A to H, and the post-conversion SVGA pixels p1c to p9c are ai.

また、図3の回路に対応する従来の直線補間の変換式1と、図4の回路に対応する本発明の変換式2と、を示す。まず、図4の5進カウンタIC8のカウント値が1の場合、スイッチSWはS1端子と接続し、画素p1cの画素値はa(=A)となる。   Moreover, the conversion formula 1 of the conventional linear interpolation corresponding to the circuit of FIG. 3 and the conversion formula 2 of the present invention corresponding to the circuit of FIG. 4 are shown. First, when the count value of the quinary counter IC8 in FIG. 4 is 1, the switch SW is connected to the S1 terminal, and the pixel value of the pixel p1c is a (= A).

5進カウンタIC8のカウント値が2の場合、スイッチSWはS2端子と接続し、画素p2cの画素値はb(=0.1A+0.9B)となる。5進カウンタIC8のカウント値が3の場合、スイッチSWはS3端子と接続し、画素p3cの画素値はc(=0.2B+0.8C)となる。   When the count value of the quinary counter IC8 is 2, the switch SW is connected to the S2 terminal, and the pixel value of the pixel p2c is b (= 0.1A + 0.9B). When the count value of the quinary counter IC8 is 3, the switch SW is connected to the S3 terminal, and the pixel value of the pixel p3c is c (= 0.2B + 0.8C).

5進カウンタIC8のカウント値が4の場合、スイッチSWはS4端子と接続し、画素p4cの画素値はd(=0.8C+0.2D)となる。5進カウンタIC8のカウント値が5の場合、スイッチSWはS5端子と接続し、画素p5cの画素値はe(=0.9D+0.1E)となる。   When the count value of the quinary counter IC8 is 4, the switch SW is connected to the S4 terminal, and the pixel value of the pixel p4c is d (= 0.8C + 0.2D). When the count value of the quinary counter IC8 is 5, the switch SW is connected to the S5 terminal, and the pixel value of the pixel p5c is e (= 0.9D + 0.1E).

そして、5進カウンタIC8のカウント値が1に戻ると、スイッチSWはS1端子と接続し、画素p6cの画素値はf(=E)となる。以降同様である。次に本発明の画素数変換装置10の第2の実施の形態について説明する。第2の実施の形態は、画素値算出手段12がコサインロールオフローパスフィルタで線形補間を行い、線形補間値と近傍画素値との平均を算出して変換するものである。   When the count value of the quinary counter IC8 returns to 1, the switch SW is connected to the S1 terminal, and the pixel value of the pixel p6c is f (= E). The same applies thereafter. Next, a second embodiment of the pixel number conversion apparatus 10 of the present invention will be described. In the second embodiment, the pixel value calculation means 12 performs linear interpolation with a cosine roll-off low-pass filter, and calculates and converts the average of the linear interpolation value and the neighboring pixel value.

図6はコサインロールオフローパスフィルタの周波数特性を示す図である。縦軸にゲイン、横軸に周波数をとる。図7は直線補間とコサインロールオフローパスフィルタとのフィルタ係数の対応表である。第1の実施の形態で用いた係数と、コサインロールオフローパスフィルタの係数と、の対応を示しており、この表3に示す係数で以降説明する。   FIG. 6 is a diagram illustrating frequency characteristics of the cosine roll-off low-pass filter. The vertical axis represents gain and the horizontal axis represents frequency. FIG. 7 is a correspondence table of filter coefficients between the linear interpolation and the cosine roll-off low-pass filter. The correspondence between the coefficients used in the first embodiment and the coefficients of the cosine roll-off low-pass filter is shown, and will be described below with the coefficients shown in Table 3.

図8は第2の実施の形態を適用した際の画素値を示す図である。画素p2dと画素p8dは、画素値算出手段12で次式のように変換される。なお、説明を簡単にするため、画素p2dと画素p8dの変換のみ示し、式中の記号はそれぞれの画素の画素値を示す。   FIG. 8 is a diagram illustrating pixel values when the second embodiment is applied. The pixel p2d and the pixel p8d are converted by the pixel value calculation unit 12 as follows. In order to simplify the explanation, only the conversion of the pixel p2d and the pixel p8d is shown, and the symbol in the formula indicates the pixel value of each pixel.

p2d=(P2+(P1*0.15+P2*0.85))/2 …(3a)
p8d=(P7+(P6*0.37+P7*0.63))/2 …(3b)
なお、本発明でいう近傍画素値が上式ではP2及びP7、線形補間値(ここではコサインロールオフローパスフィルタ補間値)が(P1*0.15+P2*0.85)、(P6*0.37+P7*0.63)である。
p2d = (P2 + (P1 * 0.15 + P2 * 0.85)) / 2 (3a)
p8d = (P7 + (P6 * 0.37 + P7 * 0.63)) / 2 (3b)
In the present invention, neighboring pixel values are P2 and P7 in the above equation, and linear interpolation values (here, cosine roll-off low-pass filter interpolation values) are (P1 * 0.15 + P2 * 0.85) and (P6 * 0.37 + P7). * 0.63).

変換前の画素P1と変換後の画素p1dのように変換位置が一致している画素は、同じ画素値100となる。一方、変換後の画素p2dは、画素P1、P2とでコサインロールオフローパスフィルタで補間された15という値が、さらに近傍画素P2と平均され、約半分の8となる。   Pixels having the same conversion position, such as the pixel P1 before conversion and the pixel p1d after conversion, have the same pixel value 100. On the other hand, in the converted pixel p2d, the value of 15 interpolated by the cosine roll-off low-pass filter with the pixels P1 and P2 is further averaged with the neighboring pixel P2, and becomes about half.

したがって、第1の実施の形態にくらべ、隣の画素への白のはみ出し線のにじみを更に減少させることが可能になる。また、画素P7のように変換後の変換位置が一致しない画素に対しては、コサインロールオフローパスフィルタで補間された値63が、さらに近傍画素P7と平均されて82となる。   Therefore, compared with the first embodiment, it is possible to further reduce the bleeding of the white protrusion line to the adjacent pixel. For a pixel whose conversion position after conversion does not match, such as the pixel P7, the value 63 interpolated by the cosine roll-off low-pass filter is further averaged to 82 with the neighboring pixel P7.

したがって、第1の実施の形態にくらべ、暗い線になってしまう等の不都合をさらに軽減することが可能になる。また、図10での画素P7のように画素が2画素分に広がってしまう場合に対しても、薄くなったり、暗い線になってしまうといった問題を軽減することは同様である。   Therefore, it is possible to further reduce inconveniences such as dark lines as compared with the first embodiment. Further, even when the pixel spreads to two pixels as in the pixel P7 in FIG. 10, it is the same to alleviate the problem of thinning or dark lines.

以上説明したように、本発明の画素数変換装置10では、変換前と変換後の画素の位置が一致しない場合は、近傍画素から補間された線形補間値と、近傍画素値と、の平均を算出して変換後の画素値として画素数を変換する構成とした。   As described above, in the pixel number conversion device 10 of the present invention, when the positions of the pre-conversion and post-conversion pixels do not match, the average of the linear interpolation value interpolated from the neighboring pixels and the neighboring pixel values is calculated. The number of pixels is converted as the pixel value after calculation and conversion.

これにより、パソコン画像の文字などの線が変換前と変換後の位置が同じでない画素にある場合、場所によって罫線や文字の線の太さが変わったり、にじんだり、薄くなったりという問題を軽減することが可能になる。   This reduces the problem that the thickness of the ruled lines and text lines changes, blurs, or becomes thin depending on the location when the lines such as text on the computer image are in pixels where the positions before and after conversion are not the same. It becomes possible to do.

なお、画素値算出手段12は、近傍画素値と、線形補間値と、の任意の混合比から平均を算出してもよい。例えば、パソコン画面のような文字の多い画面では近傍画素値の割合を増し、一般TV画像のような自然画の多い画面では線形補間値の割合を増す。この混合比の割合は、ユーザの操作から、または画像の性質から自動的に設定される。   Note that the pixel value calculation unit 12 may calculate the average from an arbitrary mixture ratio of the neighboring pixel value and the linear interpolation value. For example, the ratio of neighboring pixel values is increased on a screen with many characters such as a personal computer screen, and the ratio of linear interpolation values is increased on a screen with many natural images such as general TV images. The ratio of the mixing ratio is automatically set from the user's operation or from the nature of the image.

次に本発明の画素数変換方法について説明する。図9は本発明の画素数変換方法の処理手順を示すフローチャートである。
〔S1〕変換前と変換後の画素の位置が一致しているかどうかを判断する。一致している場合はステップS2へ、そうでなければステップS3へ行く。
〔S2〕変換前の画素値を変換後の画素値とする零次補間を行う。
〔S3〕近傍画素から補間した線形補間値と、近傍画素値と、の平均を算出して、この算出値を変換後の画素値とする。
Next, the pixel number conversion method of the present invention will be described. FIG. 9 is a flowchart showing the processing procedure of the pixel number conversion method of the present invention.
[S1] It is determined whether or not the positions of the pixels before conversion and after conversion are the same. If they match, go to step S2, otherwise go to step S3.
[S2] Zero-order interpolation is performed using the pixel value before conversion as the pixel value after conversion.
[S3] The average of the linear interpolation value interpolated from the neighboring pixels and the neighboring pixel value is calculated, and this calculated value is used as the converted pixel value.

以上説明したように、本発明の画素数変換方法は、変換前と変換後の画素の位置が一致しない場合は、近傍画素から補間された線形補間値と、近傍画素値と、の平均を算出して変換後の画素値として画素数を変換するものとした。これにより、画素数変換後の文字のにじみ等を軽減し、視認性を高めることが可能になる。   As described above, the pixel number conversion method of the present invention calculates the average of the linear interpolation value interpolated from the neighboring pixels and the neighboring pixel values when the positions of the pixels before and after the conversion do not match. Thus, the number of pixels is converted as the converted pixel value. As a result, it is possible to reduce the bleeding of characters after the conversion of the number of pixels and to improve the visibility.

本発明の画素数変換装置の原理図である。1 is a principle diagram of a pixel number conversion apparatus of the present invention. 第1の実施の形態を適用した際の画素値を示す図である。It is a figure which shows the pixel value at the time of applying 1st Embodiment. 線補間を行う回路構成を示す図である。It is a figure which shows the circuit structure which performs line interpolation. 第1の実施の形態の構成を示す図である。It is a figure which shows the structure of 1st Embodiment. 図4で示した第1の実施の形態の回路構成の動作を説明する図である。FIG. 5 is a diagram for explaining the operation of the circuit configuration of the first embodiment shown in FIG. 4. コサインロールオフローパスフィルタの周波数特性を示す図である。It is a figure which shows the frequency characteristic of a cosine roll-off low-pass filter. 直線補間とコサインロールオフローパスフィルタとのフィルタ係数の対応表である。6 is a correspondence table of filter coefficients between linear interpolation and a cosine roll-off low-pass filter. 第2の実施の形態を適用した際の画素値を示す図である。It is a figure which shows the pixel value at the time of applying 2nd Embodiment. 本発明の画素数変換方法の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the pixel number conversion method of this invention. 画素数変換を零時補間で行った場合の画素値を示す図である。It is a figure which shows a pixel value at the time of performing pixel number conversion by midnight interpolation. 画素数変換を直線補間で行った場合の画素値を示す図である。It is a figure which shows the pixel value at the time of performing pixel number conversion by linear interpolation.

符号の説明Explanation of symbols

10 画素数変換装置, 11 零次補間手段, 12 画素値算出手段, PEL1,PEL2 変換前の画素, PEL1a,PEL2a 変換後の画素   10 pixel number conversion device, 11 zero-order interpolation means, 12 pixel value calculation means, PEL1, PEL2 pixel before conversion, PEL1a, PEL2a pixel after conversion

Claims (3)

入力される画像信号の画素数の変換を行う画素数変換装置において、
クロックにより前記画像信号を1画素分遅延する第1の遅延手段と、
前記第1の遅延手段に直接接続され、前記クロックにより前記第1の遅延手段からの出力を1画素分遅延する第2の遅延手段と、
前記第1の遅延手段からの出力および前記第2の遅延手段からの出力に対して、一対の補間係数をそれぞれ乗算する乗算手段と、
前記一対の補間係数を乗算して得られた結果同士を加算する加算手段と、
前記第1の遅延手段からの出力および前記加算手段からの出力のうちのいずれかを選択する選択手段と
を備え、
変換前と変換後の画素の位置が同一の場合、前記第1の遅延手段からの出力を、前記選択手段が選択することで、変換前の画素値を変換後の画素値とする零次補間を行い
変換前と変換後の画素の位置が異なる場合、前記変換後の画素の位置に隣り合う変換前の2つの画素の画素値を直線補間するための一対の直線補間係数のうちの大きい方と1とで求められる平均値と、前記一対の直線補間係数のうちの小さい方と0とで求められる平均値とを、前記一対の補間係数として、前記第1の遅延手段からの出力および前記第2の遅延手段からの出力に対して、それぞれ乗算して得られた結果同士を加算した前記加算手段の出力を、前記選択手段が選択することで、画素数変換を行う
ことを特徴とする画素数変換装置。
In a pixel number conversion device that converts the number of pixels of an input image signal,
First delay means for delaying the image signal by one pixel by a clock;
A second delay unit connected directly to the first delay unit and delaying an output from the first delay unit by one pixel by the clock;
Multiplying means for multiplying the output from the first delay means and the output from the second delay means by a pair of interpolation coefficients,
Adding means for adding the results obtained by multiplying the pair of interpolation coefficients;
Selecting means for selecting one of the output from the first delay means and the output from the addition means,
When the position of the pixel before conversion and the pixel after conversion is the same, the selection unit selects the output from the first delay unit so that the pixel value before conversion becomes the pixel value after conversion. If the pixel positions before conversion and after conversion are different, the larger of the pair of linear interpolation coefficients for linearly interpolating the pixel values of the two pixels before conversion adjacent to the pixel positions after conversion And the average value obtained from the smaller one of the pair of linear interpolation coefficients and the average value obtained from 0 as the pair of interpolation coefficients, and the output from the first delay means and The number of pixels is converted by the selection means selecting the output of the addition means obtained by adding the results obtained by multiplying the outputs from the second delay means, respectively. Pixel number conversion device.
前記乗算手段は、補間フィルタとされる
ことを特徴とする請求項1に記載の画素数変換装置。
The pixel number conversion apparatus according to claim 1, wherein the multiplication unit is an interpolation filter.
画像信号の画素数の変換を行う画素数変換方法において、
クロックにより前記画像信号を1画素分遅延し、
前記クロックにより1画素分遅延された出力をさらに1画素分遅延し、
変換前と変換後の画素の位置が同一の場合、前記1画素分遅延された出力を選択することで、変換前の画素値を変換後の画素値とする零次補間を行い、
変換前と変換後の画素の位置が異なる場合、前記変換後の画素の位置に隣り合う変換前の2つの画素の画素値を直線補間するための一対の直線補間係数のうちの大きい方と1とで求められた平均値と、前記一対の直線補間係数のうちの小さい方と0とで求められた平均値とを、一対の補間係数として、前記1画素分遅延された出力および前記さらに1画素分遅延された出力に対して、それぞれ乗算し、
前記一対の補間係数を乗算して得られた乗算結果同士を加算し、
前記乗算結果同士を加算した出力を選択することで、画素数変換を行う
ことを特徴とする画素数変換方法。
In a pixel number conversion method for converting the number of pixels of an image signal,
The image signal is delayed by one pixel by a clock,
The output delayed by one pixel by the clock is further delayed by one pixel,
When the pixel positions before conversion and after conversion are the same, by selecting the output delayed by one pixel, zero-order interpolation is performed with the pixel value before conversion as the pixel value after conversion,
When the position of the pixel before conversion is different from that after conversion, the larger one of a pair of linear interpolation coefficients for linearly interpolating the pixel values of two pixels before conversion adjacent to the position of the pixel after conversion and 1 And the average value obtained from the smaller one of the pair of linear interpolation coefficients and 0 as the pair of interpolation coefficients, and the output delayed by one pixel and the further 1 Multiply each output delayed by pixels,
Add the multiplication results obtained by multiplying the pair of interpolation coefficients,
A pixel number conversion method, wherein pixel number conversion is performed by selecting an output obtained by adding the multiplication results.
JP2006196941A 2006-07-19 2006-07-19 Device for converting pixel number and method for converting pixel number Pending JP2007017989A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006196941A JP2007017989A (en) 2006-07-19 2006-07-19 Device for converting pixel number and method for converting pixel number

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006196941A JP2007017989A (en) 2006-07-19 2006-07-19 Device for converting pixel number and method for converting pixel number

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP34616397A Division JPH11175021A (en) 1997-12-16 1997-12-16 Pixel number converter and pixel number converting method

Publications (1)

Publication Number Publication Date
JP2007017989A true JP2007017989A (en) 2007-01-25

Family

ID=37755142

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006196941A Pending JP2007017989A (en) 2006-07-19 2006-07-19 Device for converting pixel number and method for converting pixel number

Country Status (1)

Country Link
JP (1) JP2007017989A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8042239B2 (en) 2008-02-14 2011-10-25 Ngk Insulators, Ltd. Piezoelectric/electrostrictive element and method of manufacturing the same

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8042239B2 (en) 2008-02-14 2011-10-25 Ngk Insulators, Ltd. Piezoelectric/electrostrictive element and method of manufacturing the same
US8479364B2 (en) 2008-02-14 2013-07-09 Ngk Insulators, Ltd. Piezoelectric/electrostrictive element and method of manufacturing the same

Similar Documents

Publication Publication Date Title
US20070188525A1 (en) Image processing method and apparatus and image display apparatus
JP4022935B2 (en) Image processing apparatus and processing method
JP2001008037A (en) Pixel interpolation method and circuit
JP4613805B2 (en) Image display device, image display method, program for image display method, and recording medium recording program for image display method
KR100304160B1 (en) Video display device
CN100369479C (en) Sampling ratio conversion device and screening method
JP2010114887A (en) Signal processing apparatus, signal processing method and program for signal processing
JP2007017989A (en) Device for converting pixel number and method for converting pixel number
JP4483255B2 (en) Liquid crystal display
JPH11203467A (en) Display and its method
JP2006308665A (en) Image processing apparatus
TWI288393B (en) Signal processing apparatus and image output apparatus
US10692181B2 (en) Display device that reduces an image while performing filter processing on the image
JP2000125267A (en) Interpolation arithmetic unit and its method
EP1820341A2 (en) Method and apparatus for generating motion compensated pictures
JPH11175021A (en) Pixel number converter and pixel number converting method
JP2006254175A (en) Color misregistration video signal contour correction circuit and method
WO1999041703A1 (en) Method and apparatus for interpolated pixel generation
JPH11187360A (en) Image processing device
JP2005012740A (en) Image processor and image processing method
JP2000115720A (en) Scanning line interpolation device and scanning line interpolation method
JP2752287B2 (en) Video signal processing circuit
KR100531322B1 (en) Apparatus for conversing format and method for the same
JP3169894B2 (en) Display device
JP2001274987A (en) Image processing device

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061225

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070222

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070627