[go: up one dir, main page]

JPH06266307A - Display device - Google Patents

Display device

Info

Publication number
JPH06266307A
JPH06266307A JP5057474A JP5747493A JPH06266307A JP H06266307 A JPH06266307 A JP H06266307A JP 5057474 A JP5057474 A JP 5057474A JP 5747493 A JP5747493 A JP 5747493A JP H06266307 A JPH06266307 A JP H06266307A
Authority
JP
Japan
Prior art keywords
straight line
display
pixel
display device
brightness
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
JP5057474A
Other languages
Japanese (ja)
Inventor
Shinji Aono
真司 青野
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.)
Denso Corp
Original Assignee
NipponDenso Co 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 NipponDenso Co Ltd filed Critical NipponDenso Co Ltd
Priority to JP5057474A priority Critical patent/JPH06266307A/en
Publication of JPH06266307A publication Critical patent/JPH06266307A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Image Processing (AREA)
  • Image Generation (AREA)

Abstract

PURPOSE:To naturally display a straight line which changes in shape over a wide range like a meter needle without requiring any mass-storage memory. CONSTITUTION:This display device displays the straight line approximately by modulating the luminance of respective pixels which are arrayed in matrix. A CPU 2 calculates the straight line y=mx+b to be displayed from an input signal in a step 101. In steps 103-107a,b,c,d the distances (a) between respective coordinate points P on the calculated straight line and the pixel A at the shortest distance to the coordinate point P in a specific direction, e.g. Y-axial direction are found, and display luminance (100, 75, 50, 25, and 0%) of the respective pixels A, (A+1), and (A-1) is determined according to the distances (a). A graphic display unit 1 displays the respective pixels according to the determined luminance.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、表示装置、詳しくは、
マトリクス状に配列された各画素の輝度を変調して直線
を表示する液晶表示装置等であって、車両用の回転式ス
ピードメータ、タコメータ等として好適な表示装置に関
する。
BACKGROUND OF THE INVENTION The present invention relates to a display device, more specifically,
The present invention relates to a liquid crystal display device or the like that modulates the brightness of each pixel arranged in a matrix to display a straight line, and is suitable as a rotary speedometer, tachometer, etc. for vehicles.

【0002】[0002]

【従来の技術】表示装置として、マトリクス状に配列さ
れた各画素を明状態又は暗状態にして任意の文字、図形
等(以下、画像という。)を液晶表示等するものがあ
る。しかし、この種の表示装置には、各画素が上記のよ
うにマトリクス状に配列されているため、表示した画像
の輪郭が階段状となり、不自然な表示となる場合が多い
という問題があった。
2. Description of the Related Art As a display device, there is a display device in which pixels arranged in a matrix are brought into a bright state or a dark state to display arbitrary characters, figures, etc. (hereinafter referred to as images) on a liquid crystal display. However, in this type of display device, since the pixels are arranged in a matrix as described above, the contour of the displayed image has a stepped shape, which often causes an unnatural display. .

【0003】そこで、このような不自然な表示を回避す
るために、表示すべき画像の輪郭付近の画素の輝度を所
定の規則に従って100%、75%、50%、25%、
0%というように複数段階に階調制御する表示装置が特
開平2−213891号公報に開示されている。そし
て、この表示装置は、予め表示すべき画像毎に各画素の
輝度を決定し、これをパターンデータとして、表示すべ
き画像毎にメモリに記憶しておき、適宜、このメモリか
ら必要なパターンデータを読み出して階調表示する構成
をとっている。
Therefore, in order to avoid such an unnatural display, the luminance of the pixels near the contour of the image to be displayed is set to 100%, 75%, 50%, 25% according to a predetermined rule.
A display device in which gradation control is performed in multiple steps such as 0% is disclosed in JP-A-2-213891. Then, this display device determines the brightness of each pixel for each image to be displayed in advance, stores this as pattern data in a memory for each image to be displayed, and appropriately outputs necessary pattern data from this memory. Is read out and gradation is displayed.

【0004】[0004]

【発明が解決しようとする課題】ところで、最近、従来
からの車両用回転式スピードメータ、タコメータ等に代
わるものとして、直線状のメータ針を表示画面上に表示
させる表示装置の開発が進められている。
By the way, recently, as an alternative to conventional rotary speedometers for vehicles, tachometers and the like, development of a display device for displaying a linear meter needle on a display screen has been advanced. There is.

【0005】そこで、このような光学的表示装置に上記
公報記載の表示装置を適用することが考えられる。しか
し、一般にメータ針が振れる角度範囲が大きいため、上
記公報記載の表示装置を適用した場合、従来からの機械
式メータ針の動きに近似させた表示を行なうためのパタ
ーンデータの量が膨大になり、大容量のメモリを用意し
なければならず、実用的でないという問題があった。
Therefore, it is possible to apply the display device described in the above publication to such an optical display device. However, since the angle range in which the meter hand shakes is generally large, when the display device described in the above publication is applied, the amount of pattern data for performing display that approximates the movement of the conventional mechanical meter hand becomes enormous. However, there is a problem that a large-capacity memory must be prepared, which is not practical.

【0006】本発明は、上記問題点にかんがみなされた
ものであり、大容量メモリを必要とすることなくメータ
針等、広範囲に形状が変化する直線を自然な表示となる
よう表示することができる表示装置を提供することを目
的とする。
The present invention has been made in view of the above problems, and it is possible to display a straight line whose shape changes in a wide range, such as a meter needle, in a natural display without requiring a large capacity memory. An object is to provide a display device.

【0007】[0007]

【課題を解決するための手段】上記課題を解決するため
に、本発明に係る表示装置は、マトリクス状に配列され
た各画素の輝度を変調して直線を表示する表示装置にお
いて、入力信号に基づいて、表示すべき直線を算出する
直線算出手段と、該算出された直線上の各座標点毎に、
該座標点と、該座標点までの距離が所定方向において最
も近い画素と、の間の距離を求め、該距離に応じて各画
素の表示輝度を決定する輝度決定手段と、各画素を前記
決定された輝度に基づいて表示する表示手段と、を備え
ることを特徴とする。
In order to solve the above-mentioned problems, a display device according to the present invention is a display device which modulates the brightness of each pixel arranged in a matrix to display a straight line, and Based on a straight line calculating means for calculating a straight line to be displayed, and for each coordinate point on the calculated straight line,
Brightness determining means for determining a distance between the coordinate point and a pixel whose distance to the coordinate point is closest in a predetermined direction, and determining display luminance of each pixel according to the distance, and determining each pixel. Display means for displaying based on the generated brightness.

【0008】[0008]

【発明の作用効果】本発明の表示装置は、入力信号に基
づいて表示すべき直線を定期的に算出し、その都度、直
線に基づき各画素の表示輝度を決定して表示する。この
ため、車両用スピードメータ、タコメータ等のメータ針
のように変化幅が大きい直線を表示する場合に、メータ
針の変化毎のパターンデータを予めメモリに記憶してお
かなくて済むため、大容量のメモリを用意する必要が全
くないという効果を奏する。
The display device of the present invention periodically calculates a straight line to be displayed based on an input signal, and each time, the display brightness of each pixel is determined and displayed based on the straight line. Therefore, when displaying a straight line with a large change width such as a meter needle of a vehicle speedometer or tachometer, it is not necessary to store the pattern data for each change of the meter needle in the memory in advance. The effect is that there is no need to prepare the memory of.

【0009】[0009]

【実施例】以下、本発明の一実施例を図面に基づいて説
明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0010】図1は、一実施例に係る表示装置の全体構
成を示している。
FIG. 1 shows the overall structure of a display device according to an embodiment.

【0011】図1において、表示装置は、グラフィック
表示器1とCPU2とROM3とRAM4と表示制御I
C5とを備えて構成されている。
In FIG. 1, the display device includes a graphic display 1, a CPU 2, a ROM 3, a RAM 4, and a display control I.
And C5.

【0012】グラフィック表示器1は、各画素がマトリ
クス状に配列された液晶表示パネル又はプラズマディス
プレイ等から構成され、少なくとも直線例えばメータ針
を画面に表示する。
The graphic display 1 is composed of a liquid crystal display panel in which each pixel is arranged in a matrix or a plasma display, and displays at least a straight line, for example, a meter needle on the screen.

【0013】CPU2は、外部から車速信号又はエンジ
ン回転数信号等の入力信号を入力し、定期的に、後述す
るような演算処理を実行して、表示すべき直線例えばメ
ータ針と1対1に対応する画像データを作成し、表示制
御IC5に出力する。
The CPU 2 receives an input signal such as a vehicle speed signal or an engine speed signal from the outside, and periodically executes arithmetic processing as described later to make a one-to-one correspondence with a straight line to be displayed, for example, a meter hand. Corresponding image data is created and output to the display control IC 5.

【0014】ROM3には、CPU2の動作プログラム
が予め記憶されている。
An operation program for the CPU 2 is stored in the ROM 3 in advance.

【0015】RAM4には、CPU2が作成した画像デ
ータがビットパターンデータとして記憶される。
The image data created by the CPU 2 is stored in the RAM 4 as bit pattern data.

【0016】表示制御IC5は、CPU2からの命令に
従って、CPU2によって作成された画像データを一旦
RAM4に書き込み、その後RAM4から画像データを
逐次読み出し、この読み出した画像データを画像信号に
変換した上でグラフィック表示器1に出力する。また、
表示制御IC5は、水平同期信号及び垂直同期信号をグ
ラフィック表示器1に出力する。
According to an instruction from the CPU 2, the display control IC 5 once writes the image data created by the CPU 2 in the RAM 4, then sequentially reads the image data from the RAM 4, converts the read image data into an image signal, and then converts it into a graphic signal. Output to the display unit 1. Also,
The display control IC 5 outputs the horizontal synchronizing signal and the vertical synchronizing signal to the graphic display 1.

【0017】次に、CPU2が実行する、表示すべきメ
ータ針即ち直線と1対1に対応する画像データを作成す
る演算処理を、図2に示すフローチャートに基づいて順
に説明する。
Next, the arithmetic processing executed by the CPU 2 for creating the image data corresponding to the meter needle to be displayed, that is, the straight line, will be described in order based on the flow chart shown in FIG.

【0018】1) まず、入力信号に基づいて、表示すべ
き直線の方程式:y=mx+bを算出する (ステップ10
1)。
1) First, an equation of a straight line to be displayed: y = mx + b is calculated based on the input signal (step 10).
1).

【0019】2) 次に、上記式におけるxに、表示すべ
き直線の始点S(x1 ,y1 )のX座標x1 を代入する
(ステップ102)。
2) Next, the X coordinate x 1 of the starting point S (x 1 , y 1 ) of the straight line to be displayed is substituted for x in the above equation.
(Step 102).

【0020】3) 次に、y=mx+bを計算して、始点
SのY座標y1 を求める (ステップ103)。
3) Next, y = mx + b is calculated to obtain the Y coordinate y 1 of the starting point S (step 103).

【0021】4) 次に、y1 に対してY軸方向において
最も近い画素A( xA ,yA)を決定する (ステップ10
4)。
[0021] 4) Next, the closest pixel A (x A in the Y axis direction with respect to y 1, to determine the y A) (Step 10
Four).

【0022】5) 次に、y1 から画素AのY座標yA
減算し、始点Sと画素Aとの間のY軸方向における距離
aを求める (ステップ105)。
5) Next, the Y coordinate y A of the pixel A is subtracted from y 1 to obtain the distance a in the Y axis direction between the starting point S and the pixel A (step 105).

【0023】6) 次に、距離aの大きさを判別する (ス
テップ106)。ここで、判別基準は、Y軸方向における各
画素間の距離を「1」とした場合、「1/4」、「−1
/4」、「0」とする。
6) Next, the magnitude of the distance a is determined (step 106). Here, when the distance between pixels in the Y-axis direction is "1", the determination criterion is "1/4", "-1".
/ 4 ”and“ 0 ”.

【0024】7a) a>1/4である場合、画素Aの輝
度を100%に決定し、また、画素Aに対しY軸の正方
向に隣接する画素(A+1)の輝度を75%に決定し、
また、画素Aに対しY軸の負方向に隣接する画素(A−
1)の輝度を0%に決定する(ステップ107a) 。
7 a ) When a> 1/4, the brightness of the pixel A is determined to be 100%, and the brightness of the pixel (A + 1) adjacent to the pixel A in the positive direction of the Y axis is set to 75%. Decide,
Further, a pixel (A−, which is adjacent to the pixel A in the negative direction of the Y-axis)
The luminance of 1) determining to 0% (step 107 a).

【0025】7b) 0≦a≦1/4である場合、画素A
の輝度を100%、画素(A+1)の輝度を50%、画
素(A−1)の輝度を25%に、それぞれ決定する (ス
テップ107b) 。
7 b ) If 0 ≦ a ≦ 1/4, pixel A
The brightness of 100%, 50% brightness of the pixel (A + 1), 25% of the luminance of the pixel (A-1), respectively determined (step 107 b).

【0026】7c) −1/4≦a<0である場合、画素
Aの輝度を100%、画素(A+1)の輝度を25%、
画素(A−1)の輝度を50%に、それぞれ決定する
(ステップ107c) 。
7 c ) -1 / 4≤a <0, the brightness of pixel A is 100%, the brightness of pixel (A + 1) is 25%,
The brightness of the pixel (A-1) is determined to be 50%.
(Step 107 c).

【0027】7d) a<−1/4である場合、画素Aの
輝度を100%、画素(A+1)の輝度を0%、画素
(A−1)の輝度を75%に、それぞれ決定する (ステ
ップ107d) 。 8) 次に、終点E(x2 ,y2 )まで、
画素A,(A+1),(A−1)の輝度決定が終了した
かどうかを判断する (ステップ108)。この時点では、始
点Sについての輝度決定しか終了していないことから、
判定は「NO」ということになり、ステップ109へ進
む。
[0027] 7 d) if it is a <-1/4, 100% of the luminance of the pixel A, 0% luminance of the pixel (A + 1), the luminance of the pixel (A-1) 75%, respectively determined (step 107 d). 8) Next, until the end point E (x 2 , y 2 ),
It is determined whether or not the brightness determination of the pixels A, (A + 1), and (A-1) is completed (step 108). At this point in time, only the brightness determination for the starting point S is completed,
The determination is “NO”, and the process proceeds to step 109.

【0028】9) 次に、xを「1」だけインクリメント
し (ステップ109)、上記ステップ103へ進む。
9) Next, x is incremented by "1" (step 109) and the process proceeds to step 103.

【0029】10) 以後、X座標(x1 +1),(x1
+2),…に関して上記と同様な演算処理を繰り返し実
行して、始点Sから終点Eまでの各X座標x毎に、画素
A,(A+1),(A−1)の輝度を決定し、終点Eに
ついての輝度決定を終了することにより (ステップ10
8)、一連の演算処理を終了する。なお、上述した一連の
演算処理は、適宜の時間間隔で定期的に繰り返し実行さ
れる。
10) Thereafter, X coordinates (x 1 +1), (x 1
+2), ... Repeatedly performing the same arithmetic processing as above to determine the brightness of the pixels A, (A + 1), (A-1) for each X coordinate x from the start point S to the end point E, and end point By finishing the brightness determination for E (step 10
8) Then, a series of arithmetic processing ends. Note that the series of arithmetic processing described above is periodically and repeatedly executed at appropriate time intervals.

【0030】なお、ステップ104において、画素A,
(A+1),(A−1)の決定は、例えば図3に示すよ
うに、直線:y=mx+b上の点P(x,y)に関し、
点Pに対してY軸方向において最も近い画素がAとし
て、それに隣接した上方の画素が(A+1)として、下
方の画素が(A−1)としてそれぞれ決定される。
In step 104, the pixel A,
The determination of (A + 1) and (A-1) is performed with respect to a point P (x, y) on a straight line: y = mx + b, as shown in FIG.
A pixel closest to the point P in the Y-axis direction is determined as A, an upper pixel adjacent to the point P is determined as (A + 1), and a lower pixel is determined as (A-1).

【0031】グラフィック表示器1には、上述した如く
決定された輝度で直線が表示される。例えば、直線:y
=mx+bが図3に示すものである場合、グラフィック
表示器1には、図4に示すように、輪郭がぼやけて略直
線に見える、直線として不自然でない表示がされるよう
になる。
A straight line is displayed on the graphic display 1 with the brightness determined as described above. For example, straight line: y
In the case where = mx + b is as shown in FIG. 3, the graphic display 1 displays an unnatural display as a straight line, as shown in FIG.

【0032】なお、図3に示した直線:y=mx+b
は、x1 <x2 かつ−1≦m≦1の場合を示している
が、x1 >x2 の場合には始点Sと終点Eとを入れ替え
れたアルゴリズムにより上述した演算処理を実行すれば
よく、また、m<−1又はm>1の場合は、Y座標の代
わりにX座標に基づくアルゴリズムにより上述した演算
処理を実行すれば、直線として不自然でない表示がされ
るようになる。
The straight line shown in FIG. 3 is y = mx + b
Shows the case of x 1 <x 2 and −1 ≦ m ≦ 1, but in the case of x 1 > x 2 , if the arithmetic processing described above is executed by an algorithm in which the start point S and the end point E are exchanged. Well, in the case of m <−1 or m> 1, if the above-mentioned arithmetic processing is executed by an algorithm based on the X coordinate instead of the Y coordinate, a display that is not unnatural will be displayed as a straight line.

【0033】以上説明したように、本実施例の表示装置
は、入力信号に基づいて表示すべき直線例えばメータ針
を定期的に算出し、その都度、直線に基づき各画素の表
示輝度を決定して表示する。このため、メータ針等の変
化毎のパターンデータを予めメモリに記憶しておかなく
て済むため、大容量のメモリを用意する必要が全くなく
なり、実用的なものとなる。
As described above, the display device of this embodiment periodically calculates a straight line to be displayed, for example, a meter hand, based on the input signal, and each time, the display brightness of each pixel is determined based on the straight line. To display. Therefore, it is not necessary to store the pattern data for each change of the meter needle or the like in the memory in advance, so that it is not necessary to prepare a large-capacity memory, which is practical.

【0034】なお、上記実施例では、3つの画素A,
(A+1),(A−1)の輝度を決定し表示するように
しているが、これに限定されるものではなく、例えば、
図5に示すように、100%の輝度表示を省略するよう
にしたり、図6に示すように、100%輝度表示の画素
を2列にするなどして表示することは自由である。
In the above embodiment, the three pixels A,
Although the luminances of (A + 1) and (A-1) are determined and displayed, the present invention is not limited to this, and for example,
As shown in FIG. 5, 100% luminance display may be omitted, or as shown in FIG. 6, 100% luminance display pixels may be displayed in two columns.

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

【図1】一実施例に係る表示装置の全体構成図FIG. 1 is an overall configuration diagram of a display device according to an embodiment.

【図2】CPUの演算処理を表わすフローチャートFIG. 2 is a flowchart showing a calculation process of a CPU.

【図3】画素Aの決定方法を説明するための説明図FIG. 3 is an explanatory diagram for explaining a method of determining a pixel A.

【図4】グラフィック表示器の表示パターン図FIG. 4 is a display pattern diagram of the graphic display.

【図5】他の例の表示パターン図FIG. 5 is a display pattern diagram of another example.

【図6】さらに他の例の表示パターン図FIG. 6 is a display pattern diagram of still another example.

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

1 グラフィック表示器(表示手段) ステップ101 直線算出手段 ステップ103〜107abcd 輝度決定手
1 Graphic Display (Display Means) Step 101 Linear Calculation Means Steps 103 to 107 a , b , c , d Luminance Determining Means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 マトリクス状に配列された各画素の輝度
を変調して直線を近似的に表示する表示装置において、 入力信号に基づいて、表示すべき直線を算出する直線算
出手段と、 該算出された直線上の各座標点毎に、該座標点と、該座
標点までの距離が所定方向において最も近い画素と、の
間の距離を求め、該距離に応じて各画素の表示輝度を決
定する輝度決定手段と、 各画素を前記決定された輝度に基づいて表示する表示手
段と、 を備えることを特徴とする表示装置。
1. A display device that modulates the brightness of each pixel arranged in a matrix to approximately display a straight line, and a straight line calculating means for calculating a straight line to be displayed based on an input signal; For each coordinate point on the defined straight line, the distance between the coordinate point and the pixel having the closest distance to the coordinate point in the predetermined direction is calculated, and the display brightness of each pixel is determined according to the distance. And a display unit that displays each pixel based on the determined brightness.
JP5057474A 1993-03-17 1993-03-17 Display device Pending JPH06266307A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5057474A JPH06266307A (en) 1993-03-17 1993-03-17 Display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5057474A JPH06266307A (en) 1993-03-17 1993-03-17 Display device

Publications (1)

Publication Number Publication Date
JPH06266307A true JPH06266307A (en) 1994-09-22

Family

ID=13056706

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5057474A Pending JPH06266307A (en) 1993-03-17 1993-03-17 Display device

Country Status (1)

Country Link
JP (1) JPH06266307A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014186682A (en) * 2013-03-25 2014-10-02 Mega Chips Corp Image processing apparatus, program, and integrated circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014186682A (en) * 2013-03-25 2014-10-02 Mega Chips Corp Image processing apparatus, program, and integrated circuit

Similar Documents

Publication Publication Date Title
JP4839131B2 (en) Graphic meter display device
JP4188566B2 (en) Driving circuit and driving method for liquid crystal display device
JP4839128B2 (en) Graphic meter display device
US6246414B1 (en) Image processing in which polygon is divided
US6597365B1 (en) Indicating device with and without antialiasing
US20090315881A1 (en) Display processing device, display processing method, and display processing program
JP3547250B2 (en) Drawing method
JP2796284B1 (en) Image processing device
JP3335196B2 (en) In-vehicle display device
JPH08240447A (en) Analog display instrument and its display method
JPH06266307A (en) Display device
US6570562B1 (en) Method for drawing patterned lines in a system supporting off-screen graphics
JP3872056B2 (en) Drawing method
JP2755204B2 (en) Polyhedron display method and polyhedron display device
JP2000339486A (en) Picture processing method and volume rendering processor
JPS595905B2 (en) Surface brightness generation method in display devices
JP3065110B2 (en) Graph display device
JP3363028B2 (en) Image display method
JPH10334250A (en) Anti-alias processor and image processing unit
JP2980079B2 (en) Three-dimensional image processing apparatus and method
JP3514763B6 (en) Scroll screen display circuit
JPH06243213A (en) Electronic graphic system
JP3154343B2 (en) How to fill in polygonal shapes
JPH06301788A (en) Method and device for figure display and vector data developing method
JPH06231277A (en) Digitized data visualize device