[go: up one dir, main page]

JP7467883B2 - Circuit device, electronic device and mobile device - Google Patents

Circuit device, electronic device and mobile device Download PDF

Info

Publication number
JP7467883B2
JP7467883B2 JP2019195845A JP2019195845A JP7467883B2 JP 7467883 B2 JP7467883 B2 JP 7467883B2 JP 2019195845 A JP2019195845 A JP 2019195845A JP 2019195845 A JP2019195845 A JP 2019195845A JP 7467883 B2 JP7467883 B2 JP 7467883B2
Authority
JP
Japan
Prior art keywords
image
circuit
coordinate
coordinates
circuit device
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.)
Active
Application number
JP2019195845A
Other languages
Japanese (ja)
Other versions
JP2020184059A (en
Inventor
ジェフリー エリック
クマー アナンダバイラバサミー アナンド
泰俊 秋葉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to CN202010342413.3A priority Critical patent/CN111861865B/en
Priority to US16/860,142 priority patent/US11010866B2/en
Publication of JP2020184059A publication Critical patent/JP2020184059A/en
Application granted granted Critical
Publication of JP7467883B2 publication Critical patent/JP7467883B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Transforming Electric Information Into Light Information (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Image Processing (AREA)

Description

本発明は、回路装置、電子機器及び移動体等に関する。 The present invention relates to circuit devices, electronic devices, mobile objects, etc.

透明スクリーン等の曲面ディスプレイに画像を表示することで、ユーザーの視界に情報を重ねて表示するヘッドアップディスプレイ(HUD:Head Up Display)が知られている。ヘッドアップディスプレイが入力画像をそのまま表示した場合、曲面ディスプレイの歪みによって表示画像が歪んで見えてしまう。このため、ヘッドアップディスプレイは入力画像に対して歪み補正を行い、その歪み補正後の画像を表示することで、歪んでいない画像を表示する。特許文献1には、歪み補正を行うヘッドアップディスプレイの従来技術が開示されている。特許文献1のヘッドアップディスプレイは、座標変換用の数式を記憶するメモリーを含み、その座標変換用の数式を用いて座標変換を行い、その結果に基づいて入力画像をマッピング処理することで、歪み補正を行う。 Head-up displays (HUDs) are known that display information superimposed on the user's field of vision by displaying an image on a curved display such as a transparent screen. If the head-up display displays an input image as is, the displayed image will appear distorted due to distortion of the curved display. For this reason, the head-up display performs distortion correction on the input image and displays the image after distortion correction, thereby displaying an undistorted image. Patent Document 1 discloses a conventional technology for a head-up display that performs distortion correction. The head-up display in Patent Document 1 includes a memory that stores a formula for coordinate conversion, performs coordinate conversion using the formula for coordinate conversion, and performs a mapping process on the input image based on the result, thereby performing distortion correction.

特開2010-164869号公報JP 2010-164869 A

上記の特許文献1には、歪み補正における座標変換用の数式が開示されているが、その数式は原理的なものであり、積分又は平方根等の複雑な演算を含んでいる。このため、特許文献1の技術では、例えば動画に対して歪み補正をリアルタイム処理するといったような、高速処理が困難であるという課題がある。特許文献1は、高速処理を行うための具体的な処理プロセスについて開示していない。 The above-mentioned Patent Document 1 discloses a formula for coordinate conversion in distortion correction, but the formula is theoretical and includes complex calculations such as integration or square root. For this reason, the technology in Patent Document 1 has an issue in that it is difficult to perform high-speed processing, such as performing real-time distortion correction on moving images. Patent Document 1 does not disclose a specific processing process for performing high-speed processing.

本開示の一態様は、入力座標から出力座標への座標変換を行う座標変換回路と、入力される第1画像に対して、前記出力座標に基づくマッピング処理を行うことで、曲面ディスプレイに画像を表示するための表示パネルに表示される第2画像を生成するマッピング処理回路と、を含み、前記座標変換回路は、前記座標変換を表す2次以上の多項式を用いた演算処理を行うことで、前記座標変換を行う回路装置に関係する。 One aspect of the present disclosure includes a coordinate conversion circuit that performs coordinate conversion from input coordinates to output coordinates, and a mapping processing circuit that performs mapping processing on an input first image based on the output coordinates to generate a second image to be displayed on a display panel for displaying an image on a curved display, and the coordinate conversion circuit relates to a circuit device that performs the coordinate conversion by performing arithmetic processing using a polynomial of degree 2 or higher that represents the coordinate conversion.

回路装置の第1構成例。1 shows a first configuration example of a circuit device. 第1構成例における回路装置の動作を説明する図。5A to 5C are diagrams illustrating the operation of the circuit device in the first configuration example. 座標変換回路の詳細構成例。13 shows a detailed configuration example of a coordinate conversion circuit. マッピング処理回路の詳細構成例。3 shows a detailed configuration example of a mapping processing circuit. 回路装置の第2構成例。13 shows a second configuration example of a circuit device. 第2構成例における回路装置の動作を説明する図。11A to 11C are diagrams illustrating the operation of a circuit device in a second configuration example. ヘッドアップディスプレイの取り付け公差と回転補正との関係を説明する図。5A and 5B are diagrams for explaining the relationship between the mounting tolerance of the head-up display and rotation correction. 回路装置の第3構成例。13 shows a third configuration example of a circuit device. 第3構成例における回路装置の動作を説明する図。13A to 13C are diagrams illustrating the operation of a circuit device in a third configuration example. 回路装置の第4構成例。4 shows a fourth configuration example of a circuit device. 第4構成例における回路装置の動作を説明する図。13A to 13C are diagrams illustrating the operation of a circuit device in a fourth configuration example. 回路装置の第5構成例。5 shows a fifth configuration example of a circuit device. 第1処理回路及び第2処理回路の詳細構成例。3 shows an example of detailed configurations of a first processing circuit and a second processing circuit. ヘッドアップディスプレイに表示される画像の一例。An example of an image displayed on a head-up display. マッピング処理する前の画像から抽出されたROIの画像。An image of the ROI extracted from the image before mapping processing. ヘッドアップディスプレイに表示される画像から抽出されたROIの画像が逆マッピング処理された画像。An image obtained by performing reverse mapping processing on an image of an ROI extracted from an image displayed on a head-up display. エッジ画像の例。An example of an edge image. 電子機器の構成例。Example of electronic device configuration. 移動体の例。An example of a moving object.

以下、本開示の好適な実施形態について詳細に説明する。なお以下に説明する本実施形態は特許請求の範囲に記載された内容を不当に限定するものではなく、本実施形態で説明される構成の全てが必須構成要件であるとは限らない。 A preferred embodiment of the present disclosure will be described in detail below. Note that the present embodiment described below does not unduly limit the content described in the claims, and not all of the configurations described in the present embodiment are necessarily essential components.

1.第1構成例
図1は、本実施形態の回路装置100の第1構成例である。図2は、第1構成例における回路装置100の動作を説明する図である。
1. First Configuration Example Fig. 1 shows a first configuration example of a circuit device 100 according to the present embodiment. Fig. 2 is a diagram for explaining the operation of the circuit device 100 in the first configuration example.

回路装置100は、ヘッドアップディスプレイの画像表示を制御するHUDコントローラーである。但し、回路装置100はHUDコントローラーに限定されず、例えば、ヘッドアップディスプレイの表示パネルを駆動する表示ドライバーであってもよい。この場合、回路装置100は、画像IMG2に基づいて表示パネルを駆動する駆動回路を含んでもよい。回路装置100は、IC(Integrated Circuit)と呼ばれる集積回路装置である。回路装置100は、半導体プロセスにより製造されるICであり、半導体基板上に回路素子が形成された半導体チップである。 The circuit device 100 is a HUD controller that controls the image display of a head-up display. However, the circuit device 100 is not limited to a HUD controller, and may be, for example, a display driver that drives a display panel of a head-up display. In this case, the circuit device 100 may include a drive circuit that drives the display panel based on the image IMG2. The circuit device 100 is an integrated circuit device called an IC (Integrated Circuit). The circuit device 100 is an IC manufactured by a semiconductor process, and is a semiconductor chip in which circuit elements are formed on a semiconductor substrate.

図2に示すように、回路装置100は画像IMG1を画像IMG2にマッピング処理する。画像IMG1は入力画像であり、第1画像とも呼ぶ。画像IMG2は出力画像であり第2画像とも呼ぶ。マッピング処理は、ヘッドアップディスプレイの曲面ディスプレイによる歪みをキャンセルするような歪みを、画像IMG2に与える。即ち、ヘッドアップディスプレイの表示パネルに表示された画像IMG2は、歪んだ画像となっている。この画像IMG2が曲面ディスプレイに表示されることで、歪みのない表示画像がユーザーに提示される。 As shown in FIG. 2, the circuit device 100 performs a mapping process of image IMG1 onto image IMG2. Image IMG1 is an input image, and is also called the first image. Image IMG2 is an output image, and is also called the second image. The mapping process imparts a distortion to image IMG2 that cancels the distortion caused by the curved display of the head-up display. In other words, image IMG2 displayed on the display panel of the head-up display is a distorted image. By displaying this image IMG2 on the curved display, an undistorted display image is presented to the user.

このような歪み補正における画像変換を行う画像処理エンジンをワープエンジンと呼ぶ。第1構成例では、回路装置100がインバースワープエンジンである場合を説明する。インバースワープエンジンとは、インバースワープの機能を有するワープエンジンである。インバースワープとは、ワープエンジンの出力画像の各画素を、入力画像における任意の位置の画素から求める変換である。図2に示すように、回路装置100は、出力画像である画像IMG2における座標(x,y)を、入力画像である画像IMG1における座標(x’,y’)に変換し、その座標に基づいてマッピング処理を行うことでインバースワープを実現する。 An image processing engine that performs such image conversion for distortion correction is called a warp engine. In the first configuration example, a case will be described where the circuit device 100 is an inverse warp engine. An inverse warp engine is a warp engine that has an inverse warp function. Inverse warp is a conversion that determines each pixel of the output image of the warp engine from a pixel at an arbitrary position in the input image. As shown in FIG. 2, the circuit device 100 realizes inverse warp by converting the coordinates (x, y) in the image IMG2, which is the output image, to the coordinates (x', y') in the image IMG1, which is the input image, and performing mapping processing based on the coordinates.

なお、第2構成例で説明するように、回路装置100はフォワードワープエンジンであってもよい。また第3、第4構成例で説明するように、回路装置100は更に画像回転を行ってもよい。 As described in the second configuration example, the circuit device 100 may be a forward warp engine. As described in the third and fourth configuration examples, the circuit device 100 may further perform image rotation.

以下、回路装置100がインバースワープエンジンである第1構成例の詳細を説明する。図1に示すように、回路装置100は、第1座標カウンターである座標カウンター10と、座標変換回路20と、マッピング処理回路30と、を含む。 The following describes in detail a first configuration example in which the circuit device 100 is an inverse warp engine. As shown in FIG. 1, the circuit device 100 includes a coordinate counter 10 that is a first coordinate counter, a coordinate conversion circuit 20, and a mapping processing circuit 30.

座標変換回路20は、入力座標IXY1から出力座標QXY1への座標変換を行う。第1構成例では、入力座標IXY1は、画像IMG2上の座標に対応した座標(x,y)であり、出力座標QXY1は、画像IMG1上の座標に対応した座標(x’,y’)である。座標変換回路20は、座標変換を表す2次以上の多項式を用いた演算処理を行うことで、入力座標IXY1から出力座標QXY1への座標変換を行う。下式(1)に、多項式が2次である場合の座標変換式を示す。

Figure 0007467883000001
The coordinate conversion circuit 20 performs coordinate conversion from the input coordinate IXY1 to the output coordinate QXY1. In the first configuration example, the input coordinate IXY1 is a coordinate (x, y) corresponding to the coordinate on the image IMG2, and the output coordinate QXY1 is a coordinate (x', y') corresponding to the coordinate on the image IMG1. The coordinate conversion circuit 20 performs coordinate conversion from the input coordinate IXY1 to the output coordinate QXY1 by performing an arithmetic process using a polynomial of degree 2 or higher that represents the coordinate conversion. The following equation (1) shows the coordinate conversion equation when the polynomial is of degree 2.
Figure 0007467883000001

上式(1)の第1行において、右辺のa1×xは、x’を求める多項式の第1項である。同様に、a2×y、a3×xy、a4×x、a5×y、a6は、x’を求める多項式の第2項、第3項、第4項、第5項、第6項である。a1は、第1項の係数、即ち第1係数である。同様に、a2、a3、a4、a5、a6は、第2係数、第3係数、第4係数、第5係数、第6係数である。y’を求める式についても同様である。 In the first line of the above equation (1), a1× x2 on the right hand side is the first term of the polynomial that finds x'. Similarly, a2× y2 , a3×xy, a4×x, a5×y, and a6 are the second, third, fourth, fifth, and sixth terms of the polynomial that finds x'. a1 is the coefficient of the first term, i.e., the first coefficient. Similarly, a2, a3, a4, a5, and a6 are the second, third, fourth, fifth, and sixth coefficients. The same is true for the equation that finds y'.

なお、座標変換式は2次多項式に限定されず、3次以上の多項式であってもよい。例えば下式(2)に、多項式が3次である場合の座標変換式を示す。

Figure 0007467883000002
The coordinate transformation equation is not limited to a quadratic polynomial, but may be a cubic or higher polynomial. For example, the following equation (2) shows a coordinate transformation equation when the polynomial is a cubic polynomial.
Figure 0007467883000002

マッピング処理回路30は、入力される画像IMG1に対して、出力座標QXY1に基づくマッピング処理を行うことで画像IMG2を生成する。具体的には、画像IMG2における座標(x,y)の画素値を、画像IMG1における座標(x’,y’)の画素値から求める。(x,y)が入力座標IXY1であり、(x’,y’)が出力座標QXY1である。但し、マッピング処理回路30は、入力座標IXY1を用いず、内部で生成した座標と出力座標QXY1とを用いてマッピング処理を行う。この点については図4で後述する。画素値とは、例えば当該座標における表示用の画素の色データである。 The mapping processing circuit 30 generates image IMG2 by performing mapping processing on the input image IMG1 based on the output coordinates QXY1. Specifically, the pixel value of coordinates (x, y) in image IMG2 is calculated from the pixel value of coordinates (x', y') in image IMG1. (x, y) is the input coordinate IXY1, and (x', y') is the output coordinate QXY1. However, the mapping processing circuit 30 does not use the input coordinate IXY1, but performs mapping processing using coordinates generated internally and the output coordinate QXY1. This point will be described later with reference to FIG. 4. The pixel value is, for example, color data of the pixel to be displayed at the coordinate.

画像IMG2は、ヘッドアップディスプレイの曲面ディスプレイに表示される。例えば、ヘッドアップディスプレイは、光源と液晶表示パネルと光学系と透明スクリーンとを含む。液晶表示パネルには画像IMG2が表示される。光源が光を出射し、その出射光が液晶表示パネルを透過し、その透過光を光学系が透明スクリーンに投影することで、透明スクリーンに画像IMG2が投影される。この場合、透明スクリーンが曲面ディスプレイに相当する。或いは、ヘッドアップディスプレイは、有機EL表示パネル等による透明ディスプレイを含む。この場合、透明ディスプレイに画像IMG2が直接に表示される。即ち、表示パネルである透明ディスプレイが曲面ディスプレイを兼ねている。 Image IMG2 is displayed on a curved display of a head-up display. For example, a head-up display includes a light source, a liquid crystal display panel, an optical system, and a transparent screen. Image IMG2 is displayed on the liquid crystal display panel. The light source emits light, the emitted light passes through the liquid crystal display panel, and the optical system projects the transmitted light onto the transparent screen, thereby projecting image IMG2 onto the transparent screen. In this case, the transparent screen corresponds to the curved display. Alternatively, the head-up display includes a transparent display such as an organic EL display panel. In this case, image IMG2 is displayed directly on the transparent display. In other words, the transparent display, which is the display panel, also serves as the curved display.

本実施形態によれば、座標変換回路20が、多項式を用いた演算処理により座標変換を行うことで、歪み補正の高速処理が可能となっている。具体的には、上式(1)等に示すように、多項式は乗算と加算の組み合わせで成り立っており、積分等の複雑な計算を含まない。このため、多項式を用いることで、積分等を含む計算を行う場合に比べて、演算時間が短縮される。 According to this embodiment, the coordinate transformation circuit 20 performs coordinate transformation by calculation processing using polynomials, which enables high-speed processing of distortion correction. Specifically, as shown in the above formula (1), polynomials consist of a combination of multiplication and addition, and do not include complex calculations such as integration. Therefore, by using polynomials, the calculation time is reduced compared to the case of performing calculations including integration.

また、多項式では、入力座標IXY1である(x,y)と出力座標QXY1である(x’,y’)とが1対1に対応する。この対応は、マッピング処理における出力画像IMG2の画素と入力画像IMG1の画素の対応として、そのまま用いることが可能である。即ち、(x,y)を1画素ずつ逐次に座標変換回路20に入力すると、それに対応して1画素ずつ逐次に(x’,y’)が出力される。この対応を用いてマッピング処理回路30が1画素ずつマッピングすることで、1画面分の画像IMG2を構成することが可能である。このような逐次処理は、一旦テーブル等を作成してマッピング処理する場合に比べて、リアルタイム処理に適している。また、表示処理においては、画素クロックによって画素データが入力及び出力されるので、1画素ずつの逐次処理はリアルタイム処理に適している。 In addition, in the polynomial, there is a one-to-one correspondence between the input coordinate IXY1 (x, y) and the output coordinate QXY1 (x', y'). This correspondence can be used as it is as the correspondence between the pixels of the output image IMG2 and the pixels of the input image IMG1 in the mapping process. That is, when (x, y) is input to the coordinate conversion circuit 20 one pixel at a time, (x', y') is output one pixel at a time correspondingly. By using this correspondence and the mapping processing circuit 30 mapping one pixel at a time, it is possible to construct one screen's worth of image IMG2. This type of sequential processing is more suitable for real-time processing than the case where a table or the like is created and mapping processing is performed. In addition, in the display processing, pixel data is input and output by a pixel clock, so sequential processing one pixel at a time is suitable for real-time processing.

以下、上式(1)のように座標変換式が2次多項式である場合を例にとって説明する。 Below, we will explain an example where the coordinate transformation equation is a second-order polynomial, as in equation (1) above.

座標変換回路20には、多項式の係数情報CF1と入力座標IXY1とが入力される。座標変換回路20は、係数情報CF1に基づく演算処理により入力座標IXY1から出力座標QXY1を求める。係数情報CF1は、上式(1)の係数a1~a6、b1~b6の情報である。例えば、回路装置100は、係数情報CF1を記憶する記憶部を含み、係数情報CF1は記憶部から座標変換回路20に入力される。記憶部はレジスター又はメモリーである。メモリーはRAM又は不揮発性メモリー等の半導体メモリーである。係数情報CF1は、例えば回路装置100の起動時又はヘッドアップディスプレイの製造時において記憶部に書き込まれる。 The coordinate transformation circuit 20 receives coefficient information CF1 of the polynomial and input coordinate IXY1. The coordinate transformation circuit 20 calculates output coordinate QXY1 from input coordinate IXY1 by calculation based on the coefficient information CF1. The coefficient information CF1 is information on coefficients a1 to a6 and b1 to b6 in the above equation (1). For example, the circuit device 100 includes a storage unit that stores the coefficient information CF1, and the coefficient information CF1 is input from the storage unit to the coordinate transformation circuit 20. The storage unit is a register or memory. The memory is a semiconductor memory such as a RAM or a non-volatile memory. The coefficient information CF1 is written to the storage unit, for example, when the circuit device 100 is started up or when the head-up display is manufactured.

多項式を用いた座標変換では、多項式の係数によって入力座標IXY1と出力座標QXY1の対応が決まる。即ち、曲面ディスプレイの形状に合わせた係数情報CF1が座標変換回路20に入力されることで、種々の曲面ディスプレイに適した歪み補正が実現される。また、座標変換回路20は、入力された入力座標IXY1から出力座標QXY1を求めるので、上述したようにリアルタイム処理に適した1画素ずつの座標変換を行うことができる。 In coordinate transformation using a polynomial, the correspondence between input coordinates IXY1 and output coordinates QXY1 is determined by the coefficients of the polynomial. That is, by inputting coefficient information CF1 that matches the shape of the curved display to the coordinate transformation circuit 20, distortion correction suitable for various curved displays is realized. In addition, since the coordinate transformation circuit 20 determines the output coordinates QXY1 from the input coordinates IXY1 that have been input, it is possible to perform coordinate transformation on a pixel-by-pixel basis that is suitable for real-time processing, as described above.

座標カウンター10は、画素クロックに基づく画素単位の座標である第1カウント座標を出力する。座標変換回路20は、第1カウント座標を入力座標IXY1として座標変換を行う。第1構成例では、入力座標IXY1は画像IMG2上の座標に対応するので、マッピング処理回路30が画像IMG2を処理する際に用いる画素クロックが、座標カウンター10に入力される。 The coordinate counter 10 outputs a first count coordinate, which is a pixel-based coordinate based on a pixel clock. The coordinate conversion circuit 20 performs coordinate conversion using the first count coordinate as an input coordinate IXY1. In the first configuration example, since the input coordinate IXY1 corresponds to a coordinate on the image IMG2, the pixel clock used by the mapping processing circuit 30 when processing the image IMG2 is input to the coordinate counter 10.

画像IMG2のサイズをN×M画素とする。N、Mは2以上の整数である。例えば、座標カウンター10は、y=0において画素クロック毎にxを1ずつ増加させ、(0,0)、(1,0)、(2,0)、・・・、(N-1,0)を出力する。次に、座標カウンター10は、y=1とし、画素クロック毎にxを1ずつ増加させ、(0,1)、(1,1)、(2,1)、・・・、(N-1,1)を出力する。座標カウンター10は、これを(N-1,M-1)まで繰り返す。なお、座標のカウント順は上記に限定されず、画像IMG2の画素をどのような順で処理するかに応じてカウント順が設定されればよい。 The size of image IMG2 is N x M pixels. N and M are integers of 2 or more. For example, when y = 0, the coordinate counter 10 increments x by 1 for each pixel clock, and outputs (0,0), (1,0), (2,0), ..., (N-1,0). Next, the coordinate counter 10 sets y = 1, increments x by 1 for each pixel clock, and outputs (0,1), (1,1), (2,1), ..., (N-1,1). The coordinate counter 10 repeats this process up to (N-1,M-1). Note that the coordinate counting order is not limited to the above, and the counting order may be set depending on the order in which the pixels of image IMG2 are processed.

本実施形態では、座標カウンター10が画素クロックに基づいて1画素ずつ座標(x,y)を座標変換回路20に出力し、座標変換回路20が座標変換を行って1画素ずつ座標(x’,y’)を出力する。これにより、マッピング処理回路30が画素クロックに基づいて1画素ずつマッピング処理を行うことが可能となる。これにより、リアルタイム処理に適した歪み補正が実現される。 In this embodiment, the coordinate counter 10 outputs coordinates (x, y) for each pixel to the coordinate conversion circuit 20 based on the pixel clock, and the coordinate conversion circuit 20 performs coordinate conversion and outputs coordinates (x', y') for each pixel. This enables the mapping processing circuit 30 to perform mapping processing for each pixel based on the pixel clock. This realizes distortion correction suitable for real-time processing.

なお、入力座標IXY1を出力座標QXY1に変換する演算の処理時間は、画素クロックの複数サイクルであってもよい。入力座標IXY1に対応した出力座標QXY1は、処理時間の分だけディレイして出力されるが、スループットとして画素クロックの1サイクルで1つの出力座標QXY1が得られればよい。 The processing time for the calculation to convert the input coordinate IXY1 to the output coordinate QXY1 may be multiple cycles of the pixel clock. The output coordinate QXY1 corresponding to the input coordinate IXY1 is output with a delay of the processing time, but the throughput is sufficient if one output coordinate QXY1 can be obtained in one cycle of the pixel clock.

図3は、座標変換回路20の詳細構成例である。座標変換回路20は、第1演算回路21と第2演算回路22とを含む。第1演算回路21及び第2演算回路22はロジック回路であり、それぞれ個別のハードウェア回路によって構成される。なお図3には、x’を求める演算回路のみ図示するが、y’を求める演算回路も同様な構成である。 Figure 3 shows an example of the detailed configuration of the coordinate transformation circuit 20. The coordinate transformation circuit 20 includes a first arithmetic circuit 21 and a second arithmetic circuit 22. The first arithmetic circuit 21 and the second arithmetic circuit 22 are logic circuits, and are each configured as separate hardware circuits. Note that while Figure 3 shows only the arithmetic circuit that calculates x', the arithmetic circuit that calculates y' has a similar configuration.

第1演算回路21は、入力座標IXY1を(x,y)としたとき、x、y、及びxyを求める。具体的には、第1演算回路21は、xを二乗してxを求めるx演算回路MC1と、yを二乗してyを求めるy演算回路MC2と、xとyを乗算してxyを求めるxy演算回路MC3と、を含む。演算回路MC1~MC3は、それぞれ個別のハードウェア乗算器である。 The first arithmetic circuit 21 calculates x2 , y2 , and xy when the input coordinate IXY1 is (x, y). Specifically, the first arithmetic circuit 21 includes an x2 arithmetic circuit MC1 that squares x to obtain x2 , a y2 arithmetic circuit MC2 that squares y to obtain y2 , and an xy arithmetic circuit MC3 that multiplies x and y to obtain xy. Each of the arithmetic circuits MC1 to MC3 is an individual hardware multiplier.

第2演算回路22は、第1演算回路21の演算結果と係数情報CF1とに基づいて出力座標QXY1を求める。ここでは、第2演算回路22は(x’,y’)のうちx’を求める。第2演算回路22には、係数情報CF1として、上式(1)の係数a1~a6が入力される。第2演算回路22は、第1~第5項演算回路AC1~AC5と、加算回路ADDCとを含む。第1~第5項演算回路AC1~AC5は、それぞれ個別のハードウェア乗算器である。 The second arithmetic circuit 22 finds the output coordinate QXY1 based on the calculation result of the first arithmetic circuit 21 and the coefficient information CF1. Here, the second arithmetic circuit 22 finds x' from (x', y'). The coefficients a1 to a6 in the above equation (1) are input to the second arithmetic circuit 22 as the coefficient information CF1. The second arithmetic circuit 22 includes first to fifth term arithmetic circuits AC1 to AC5 and an addition circuit ADDC. The first to fifth term arithmetic circuits AC1 to AC5 are each an individual hardware multiplier.

第1項演算回路AC1は、係数a1とxを乗算して第1項a1×xを求める。第2項演算回路AC2は、係数a2とyを乗算して第2項a2×yを求める。第3項演算回路AC3は、係数a3とxyを乗算して第3項a3×xyを求める。第4項演算回路AC4は、係数a4とxを乗算して第4項a4×xを求める。第5項演算回路AC5は、係数a5とyを乗算して第5項a5×yを求める。加算回路ADDCは、第1~第5項と、第6項である係数a6とを加算し、その結果をx’として出力する。これにより上式(1)のx’の演算が実現される。 The first term calculation circuit AC1 multiplies the coefficient a1 by x2 to obtain the first term a1× x2 . The second term calculation circuit AC2 multiplies the coefficient a2 by y2 to obtain the second term a2× y2 . The third term calculation circuit AC3 multiplies the coefficient a3 by xy to obtain the third term a3×xy. The fourth term calculation circuit AC4 multiplies the coefficient a4 by x to obtain the fourth term a4×x. The fifth term calculation circuit AC5 multiplies the coefficient a5 by y to obtain the fifth term a5×y. The adder circuit ADDC adds the first to fifth terms and the sixth term, coefficient a6, and outputs the result as x'. This realizes the calculation of x' in the above equation (1).

なお第1演算回路21及び第2演算回路22の構成は図3に限定されない。例えば第1演算回路21は3つの演算回路を含み、その3つの演算回路がパイプライン処理のようにしてx、y、及びxyを演算してもよい。そして、第2演算回路22は5つの演算回路を含み、その5つの演算回路がパイプライン処理のように第1~第5項を演算してもよい。 The configurations of the first arithmetic circuit 21 and the second arithmetic circuit 22 are not limited to those shown in Fig. 3. For example, the first arithmetic circuit 21 may include three arithmetic circuits, which may calculate x2 , y2 , and xy in a pipeline processing manner. The second arithmetic circuit 22 may include five arithmetic circuits, which may calculate the first to fifth terms in a pipeline processing manner.

本実施形態によれば、第1演算回路21が、x、y、及びxyを求める演算回路MC1~MC3を含み、第2演算回路22が、第1~第5項を求める第1~第5項演算回路AC1~AC5を含む。これにより、各項を並列演算でき、リアルタイム処理に適した高速処理が可能となる。 According to this embodiment, the first arithmetic circuit 21 includes arithmetic circuits MC1 to MC3 that calculate x 2 , y 2 , and xy, and the second arithmetic circuit 22 includes 1st to 5th term arithmetic circuits AC1 to AC5 that calculate the 1st to 5th terms. This allows each term to be calculated in parallel, enabling high-speed processing suitable for real-time processing.

なお、第2演算回路22は第1~第n項演算回路を含んでいればよい。第i項演算回路は多項式の第i項を演算する。nは2以上の整数であり、iは1以上n以下の整数である。図3のように座標変換式が2次多項式である場合、n=5である。例えば上式(2)のように座標変換式が3次多項式である場合、n=9であってもよい。 The second calculation circuit 22 may include 1st to nth term calculation circuits. The i-th term calculation circuit calculates the i-th term of the polynomial. n is an integer of 2 or more, and i is an integer of 1 to n. When the coordinate transformation equation is a quadratic polynomial as in FIG. 3, n=5. For example, when the coordinate transformation equation is a cubic polynomial as in the above equation (2), n=9 may be used.

図4は、マッピング処理回路30の詳細構成例である。マッピング処理回路30は、メモリー制御回路31と、第2座標カウンターである座標カウンター32と、画像メモリー33と、を含む。 Figure 4 shows an example of a detailed configuration of the mapping processing circuit 30. The mapping processing circuit 30 includes a memory control circuit 31, a coordinate counter 32 which is a second coordinate counter, and an image memory 33.

座標カウンター32は、画素クロックに基づく画素単位の座標である第2カウント座標CXYB1を出力する。第2カウント座標CXYB1を(xb,yb)とする。第1構成例では、(xb,yb)は画像IMG1上の座標を指定するので、画像IMG1と共にマッピング処理回路30に入力される画素クロックが、座標カウンター32に入力される。座標カウンター32は、座標カウンター10と同様のカウント動作によって、(xb,yb)をカウントする。 The coordinate counter 32 outputs the second count coordinate CXYB1, which is a pixel-based coordinate based on the pixel clock. The second count coordinate CXYB1 is (xb, yb). In the first configuration example, (xb, yb) specifies coordinates on the image IMG1, so the pixel clock input to the mapping processing circuit 30 together with the image IMG1 is input to the coordinate counter 32. The coordinate counter 32 counts (xb, yb) by the same counting operation as the coordinate counter 10.

メモリー制御回路31は、画像メモリー33のアクセス制御を行う。画像メモリー33は、画像IMG1を一時的に記憶するバッファーメモリーであり、例えばRAM等の半導体メモリーである。メモリー制御回路31は、第2カウント座標CXYB1に基づいて画像IMG1を画像メモリー33に書き込み、座標変換回路20からの出力座標QXY1に基づいて画像メモリー33から画素値を読み出し、その画素値を画像IMG2の画素値として出力する。具体的には、メモリー制御回路31は、ライトアドレスコントローラー34とリードアドレスコントローラー35とを含む。 The memory control circuit 31 controls access to the image memory 33. The image memory 33 is a buffer memory that temporarily stores the image IMG1, and is, for example, a semiconductor memory such as a RAM. The memory control circuit 31 writes the image IMG1 to the image memory 33 based on the second count coordinate CXYB1, reads pixel values from the image memory 33 based on the output coordinate QXY1 from the coordinate conversion circuit 20, and outputs the pixel values as pixel values of the image IMG2. Specifically, the memory control circuit 31 includes a write address controller 34 and a read address controller 35.

ライトアドレスコントローラー34は、第2カウント座標CXYB1である(xb,yb)を書き込みアドレスADWRにデコードし、画像IMG1の(xb,yb)における画素値を、画像メモリー33のアドレスADWRに書き込む。これが繰り返されることで、画像IMG1が画像メモリー33に書き込まれる。 The write address controller 34 decodes the second count coordinate CXYB1 (xb, yb) into the write address ADWR, and writes the pixel value at (xb, yb) of the image IMG1 to the address ADWR of the image memory 33. By repeating this process, the image IMG1 is written to the image memory 33.

リードアドレスコントローラー35は、出力座標QXY1である(x’,y’)を読み出しアドレスADRDにデコードし、画像メモリー33のアドレスADRDから画素値を読み出す。これは、画像IMG1の(x’,y’)における画素値を読み出すことに相当する。リードアドレスコントローラー35は、読み出した画素値を、画像IMG2の(x,y)における画素値として出力する。これが繰り返されることで、マッピング処理回路30から画像IMG2が出力される。 The read address controller 35 decodes the output coordinate QXY1 (x', y') into a read address ADRD and reads out the pixel value from address ADRD of the image memory 33. This corresponds to reading out the pixel value at (x', y') in image IMG1. The read address controller 35 outputs the read out pixel value as the pixel value at (x, y) in image IMG2. By repeating this process, image IMG2 is output from the mapping processing circuit 30.

以上のマッピング処理では、画像IMG2の(x,y)における画素値が、画像IMG1の(x’,y’)における画素値から取得されている。即ち、マッピング処理回路30は、図2で説明したインバースワープエンジンとして動作している。 In the above mapping process, the pixel value at (x, y) in image IMG2 is obtained from the pixel value at (x', y') in image IMG1. In other words, the mapping process circuit 30 operates as the inverse warp engine described in FIG. 2.

2.第2構成例
図5は、回路装置100の第2構成例である。図6は、第2構成例における回路装置100の動作を説明する図である。
2. Second Configuration Example Fig. 5 shows a second configuration example of the circuit device 100. Fig. 6 is a diagram for explaining the operation of the circuit device 100 in the second configuration example.

第2構成例では、回路装置100がフォワードワープエンジンである場合を説明する。フォワードワープエンジンとは、フォワードワープの機能を有するワープエンジンである。フォワードワープとは、ワープエンジンの入力画像の各画素を、出力画像における任意の位置の画素から求める変換である。図6に示すように、回路装置100は、入力画像である画像IMG1における座標(x’,y’)を、出力画像である画像IMG2における座標(x,y)に変換し、その座標に基づいてマッピング処理を行うことでフォワードワープを実現する。 In the second configuration example, a case will be described in which the circuit device 100 is a forward warp engine. A forward warp engine is a warp engine that has a forward warp function. Forward warp is a transformation in which each pixel of an input image of the warp engine is found from a pixel at an arbitrary position in an output image. As shown in FIG. 6, the circuit device 100 realizes forward warp by transforming coordinates (x', y') in image IMG1, which is the input image, into coordinates (x, y) in image IMG2, which is the output image, and performing a mapping process based on the coordinates.

図5に示すように、回路装置100は、座標カウンター10と座標変換回路20とマッピング処理回路30とを含む。 As shown in FIG. 5, the circuit device 100 includes a coordinate counter 10, a coordinate conversion circuit 20, and a mapping processing circuit 30.

第2構成例では、座標カウンター10は、第1カウント座標である(x’,y’)を入力座標IXY1として座標変換回路20に出力する。(x’,y’)は画像IMG1上の座標に対応するので、画像IMG1と共にマッピング処理回路30に入力される画素クロックが、座標カウンター10に入力される。 In the second configuration example, the coordinate counter 10 outputs the first count coordinate (x', y') to the coordinate conversion circuit 20 as the input coordinate IXY1. Since (x', y') corresponds to the coordinate on the image IMG1, the pixel clock input to the mapping processing circuit 30 together with the image IMG1 is input to the coordinate counter 10.

座標変換回路20は、入力座標IXY1から出力座標QXY1への座標変換を行う。第2構成例では、出力座標QXY1は、画像IMG2上の座標に対応した座標(x,y)である。下式(3)に、多項式が2次である場合の座標変換式を示す。下式(3)は、上式(1)の逆座標変換に相当している。

Figure 0007467883000003
The coordinate conversion circuit 20 converts the input coordinate IXY1 to the output coordinate QXY1. In the second configuration example, the output coordinate QXY1 is a coordinate (x, y) corresponding to the coordinate on the image IMG2. The following formula (3) shows a coordinate conversion formula when the polynomial is quadratic. The following formula (3) corresponds to the inverse coordinate conversion of the above formula (1).
Figure 0007467883000003

座標変換回路20は、係数情報CF1に基づいて上式(3)の演算処理を行う。第2構成例において、係数情報CF1は、上式(3)の係数c1~c6、d1~d6の情報である。座標変換回路20の構成は、図3で説明した第1構成例と同様である。但し、第2構成例では、入力座標として(x’,y’)が第1演算回路21及び第2演算回路22に入力され、係数c1~c6が第2演算回路22に入力され、出力座標としてxが第2演算回路22から出力される。 The coordinate transformation circuit 20 performs the calculation process of the above formula (3) based on the coefficient information CF1. In the second configuration example, the coefficient information CF1 is information on the coefficients c1 to c6 and d1 to d6 in the above formula (3). The configuration of the coordinate transformation circuit 20 is similar to the first configuration example described in FIG. 3. However, in the second configuration example, (x', y') is input as the input coordinates to the first calculation circuit 21 and the second calculation circuit 22, the coefficients c1 to c6 are input to the second calculation circuit 22, and x is output from the second calculation circuit 22 as the output coordinate.

マッピング処理回路30は、画像IMG1における座標(x’,y’)の画素値を、画像IMG2における座標(x,y)に移動させる。(x’,y’)が出力座標QXY1であり、(x,y)が入力座標IXY1である。マッピング処理回路30は、メモリー制御回路31と座標カウンター32と画像メモリー33とを含む。 The mapping processing circuit 30 moves the pixel value of coordinates (x', y') in image IMG1 to coordinates (x, y) in image IMG2. (x', y') is the output coordinate QXY1, and (x, y) is the input coordinate IXY1. The mapping processing circuit 30 includes a memory control circuit 31, a coordinate counter 32, and an image memory 33.

座標カウンター32は、第2カウント座標CXYB1として(xb,yb)を出力する。第2構成例では、(xb,yb)は画像IMG2上の座標を指定するので、マッピング処理回路30が画像IMG2を処理する際に用いる画素クロックが、座標カウンター32に入力される。 The coordinate counter 32 outputs (xb, yb) as the second count coordinate CXYB1. In the second configuration example, (xb, yb) specifies coordinates on the image IMG2, so the pixel clock used by the mapping processing circuit 30 when processing the image IMG2 is input to the coordinate counter 32.

メモリー制御回路31は、座標変換回路20からの出力座標QXY1に基づいて画像IMG1を画像メモリー33に書き込み、第2カウント座標CXYB1に基づいて画像メモリー33から画素値を読み出し、その画素値を画像IMG2の画素値として出力する。 The memory control circuit 31 writes the image IMG1 to the image memory 33 based on the output coordinate QXY1 from the coordinate conversion circuit 20, reads pixel values from the image memory 33 based on the second count coordinate CXYB1, and outputs the pixel values as pixel values of the image IMG2.

具体的には、ライトアドレスコントローラー34は、出力座標QXY1である(x,y)を書き込みアドレスADWRにデコードし、画像IMG1の(x’,y’)における画素値を、画像メモリー33のアドレスADWRに書き込む。これは、画像IMG1の(x’,y’)における画素値を、座標(x,y)に移動させることに相当する。即ち、画像メモリー33に書き込まれた画像IMG1は、歪み補正によって変形された画像となっている。 Specifically, the write address controller 34 decodes the output coordinate QXY1 (x, y) into the write address ADWR, and writes the pixel value at (x', y') of the image IMG1 to the address ADWR of the image memory 33. This is equivalent to moving the pixel value at (x', y') of the image IMG1 to the coordinates (x, y). In other words, the image IMG1 written to the image memory 33 is an image that has been transformed by distortion correction.

リードアドレスコントローラー35は、第2カウント座標CXYB1である(xb,yb)を読み出しアドレスADRDにデコードし、画像メモリー33のアドレスADRDから画素値を読み出す。リードアドレスコントローラー35は、読み出した画素値を、画像IMG2の(x,y)における画素値として出力する。これが繰り返されることで、マッピング処理回路30から画像IMG2が出力される。 The read address controller 35 decodes the second count coordinate CXYB1 (xb, yb) into a read address ADRD, and reads out the pixel value from the address ADRD of the image memory 33. The read address controller 35 outputs the read out pixel value as the pixel value at (x, y) of the image IMG2. This is repeated, and the image IMG2 is output from the mapping processing circuit 30.

以上のマッピング処理では、画像IMG1の(x’,y’)における画素値が、画像IMG2の(x,y)の画素値に移動されている。即ち、マッピング処理回路30は、図6で説明したフォワードワープエンジンとして動作している。 In the above mapping process, the pixel value at (x', y') in image IMG1 is moved to the pixel value at (x, y) in image IMG2. In other words, the mapping process circuit 30 operates as the forward warp engine described in FIG. 6.

3.第3構成例
第3構成例では、回路装置100は、表示画像の歪み補正に加えて回転補正を行う。まず、図7を用いて、ヘッドアップディスプレイの取り付け公差と回転補正との関係を説明する。なお図7ではヘッドアップディスプレイが自動車のダッシュボードに設置される場合を例に説明するが、ヘッドアップディスプレイの設置場所はこれに限定されない。また図7ではヘッドアップディスプレイの表示部DSPを平面で示しているが、実際には曲面ディスプレイである。
3. Third Configuration Example In the third configuration example, the circuit device 100 performs rotation correction in addition to distortion correction of the display image. First, the relationship between the mounting tolerance of the head-up display and rotation correction will be described with reference to FIG. 7. Note that FIG. 7 describes an example in which the head-up display is installed on the dashboard of a car, but the installation location of the head-up display is not limited to this. Also, FIG. 7 shows the display unit DSP of the head-up display as a flat surface, but in reality it is a curved display.

図7に示す方向DZは、ヘッドアップディスプレイの表示部DSPに直交する方向である。具体的には、曲面である表示部DSPのいずれかの位置において、方向DZと表示部DSPとが直交する。例えば表示部DSPの中央において方向DZと表示部DSPとが直交する。方向DXは方向DZに直交する方向であり、方向DYは方向DX及び方向DZに直交する方向である。方向DXは水平方向に相当する。即ち、自動車が水平な姿勢であるときに方向DXは水平面に平行である。ヘッドアップディスプレイが自動車のダッシュボードに垂直に設置される場合、方向DYは垂直方向に相当し、方向DYは水平面に垂直である。但し、方向DYは垂直方向に限定されず、方向DYは水平面に対して傾いてもよい。ヘッドアップディスプレイが奥行き方向に角度θXだけ傾斜してダッシュボードに設置される場合、方向DYは水平面に対して角度θXだけ傾く。 The direction DZ shown in FIG. 7 is a direction perpendicular to the display unit DSP of the head-up display. Specifically, the direction DZ and the display unit DSP are perpendicular to each other at any position on the display unit DSP, which is a curved surface. For example, the direction DZ and the display unit DSP are perpendicular to each other at the center of the display unit DSP. The direction DX is a direction perpendicular to the direction DZ, and the direction DY is a direction perpendicular to the direction DX and the direction DZ. The direction DX corresponds to the horizontal direction. That is, when the automobile is in a horizontal position, the direction DX is parallel to the horizontal plane. When the head-up display is installed vertically on the dashboard of the automobile, the direction DY corresponds to the vertical direction, and the direction DY is perpendicular to the horizontal plane. However, the direction DY is not limited to the vertical direction, and the direction DY may be inclined with respect to the horizontal plane. When the head-up display is installed on the dashboard with an angle θX inclined in the depth direction, the direction DY is inclined with respect to the horizontal plane by the angle θX.

回転RZは、方向DZに平行な軸を回転軸とする表示部DSPの回転を示す。ヘッドアップディスプレイをダッシュボードに取り付ける際の公差によって、回転RZの回転角度にばらつきが生じる。公差がゼロであるときの回転角度を0度とし、時計回りの回転を正とし、反時計回りの回転を負とする。表示部DSPの回転RZが正の回転角度であるとき、ユーザーから見て表示画像が時計回りに回転することになる。回路装置100は、画像を負方向、即ち反時計回りに回転処理する。これにより、表示部DSPが公差により傾いていたとしても、ユーザーから見て傾いていない画像を表示させることができる。 Rotation RZ indicates the rotation of the display unit DSP around an axis parallel to the direction DZ. The rotation angle of rotation RZ varies due to tolerances when mounting the head-up display to the dashboard. The rotation angle when the tolerance is zero is set to 0 degrees, clockwise rotation is positive, and counterclockwise rotation is negative. When the rotation RZ of the display unit DSP is a positive rotation angle, the displayed image rotates clockwise as seen by the user. The circuit device 100 rotates the image in the negative direction, i.e. counterclockwise. This makes it possible to display an image that is not tilted as seen by the user, even if the display unit DSP is tilted due to a tolerance.

図8は、回路装置100の第3構成例である。図9は、第3構成例における回路装置100の動作を説明する図である。 Figure 8 shows a third configuration example of the circuit device 100. Figure 9 is a diagram explaining the operation of the circuit device 100 in the third configuration example.

第3構成例では、回路装置100がインバースワープエンジンである場合を説明する。図9に示すように、回路装置100は、出力画像である画像IMG2における座標(xa,ya)を回転変換し、回転変換後の座標(x,y)を、入力画像である画像IMG1における座標(x’,y’)に変換し、その座標に基づいてマッピング処理を行うことで画像回転及びインバースワープを実現する。 In the third configuration example, a case will be described in which the circuit device 100 is an inverse warp engine. As shown in FIG. 9, the circuit device 100 rotates and transforms the coordinates (xa, ya) in the image IMG2, which is the output image, converts the coordinates (x, y) after the rotation and transformation into coordinates (x', y') in the image IMG1, which is the input image, and performs mapping processing based on the coordinates to achieve image rotation and inverse warp.

図8に示すように、回路装置100は、座標カウンター10と座標変換回路20とマッピング処理回路30と回転変換回路40とを含む。なお、第1構成例と同様の構成及び動作については、適宜に説明を省略する。 As shown in FIG. 8, the circuit device 100 includes a coordinate counter 10, a coordinate conversion circuit 20, a mapping processing circuit 30, and a rotation conversion circuit 40. Note that descriptions of configurations and operations similar to those in the first configuration example will be omitted where appropriate.

座標カウンター10は、第1カウント座標CXYA1として(xa,ya)を出力する。(xa,ya)は画像IMG2上の座標に対応するので、マッピング処理回路30が画像IMG2を処理する際に用いる画素クロックが、座標カウンター10に入力される。 The coordinate counter 10 outputs (xa, ya) as the first count coordinate CXYA1. Since (xa, ya) corresponds to the coordinates on the image IMG2, the pixel clock used by the mapping processing circuit 30 when processing the image IMG2 is input to the coordinate counter 10.

回転変換回路40は、第1カウント座標CXYA1に対して回転変換を行い、回転変換後の座標を入力座標IXY1として座標変換回路20に出力する。第3構成例では、入力座標IXY1は(x,y)である。下式(4)に示すように、回転変換回路40は、アフィン変換を用いて座標回転を行う。θは回転角度である。

Figure 0007467883000004
The rotation transformation circuit 40 performs a rotation transformation on the first count coordinate CXYA1, and outputs the coordinate after the rotation transformation as an input coordinate IXY1 to the coordinate transformation circuit 20. In the third configuration example, the input coordinate IXY1 is (x, y). As shown in the following formula (4), the rotation transformation circuit 40 performs coordinate rotation using an affine transformation. θ is the rotation angle.
Figure 0007467883000004

回転変換回路40は、回転角度θを示す角度情報RT1に基づいて、上式(4)により第1カウント座標CXYA1を入力座標IXY1に変換する。例えば、回路装置100は、角度情報RT1及び係数情報CF1を記憶する記憶部を含み、角度情報RT1は記憶部から回転変換回路40に入力され、係数情報CF1は記憶部から座標変換回路20に入力される。記憶部はレジスター又はメモリーである。メモリーはRAM又は不揮発性メモリー等の半導体メモリーである。角度情報RT1及び係数情報CF1は、例えば回路装置100の起動時又はヘッドアップディスプレイの製造時において記憶部に書き込まれる。 The rotational transformation circuit 40 transforms the first count coordinate CXYA1 into the input coordinate IXY1 using the above formula (4) based on the angle information RT1 indicating the rotational angle θ. For example, the circuit device 100 includes a storage unit that stores the angle information RT1 and the coefficient information CF1, and the angle information RT1 is input from the storage unit to the rotational transformation circuit 40, and the coefficient information CF1 is input from the storage unit to the coordinate transformation circuit 20. The storage unit is a register or memory. The memory is a semiconductor memory such as a RAM or a non-volatile memory. The angle information RT1 and the coefficient information CF1 are written to the storage unit, for example, when the circuit device 100 is started up or when the head-up display is manufactured.

座標変換回路20は、係数情報CF1に基づいて入力座標IXY1から出力座標QXY1への座標変換を行う。第3構成例では、出力座標QXY1は、画像IMG1上の座標に対応した座標(x’,y’)である。座標変換式は第1構成例と同様である。 The coordinate conversion circuit 20 converts the input coordinate IXY1 to the output coordinate QXY1 based on the coefficient information CF1. In the third configuration example, the output coordinate QXY1 is the coordinate (x', y') corresponding to the coordinate on the image IMG1. The coordinate conversion formula is the same as in the first configuration example.

マッピング処理回路30は、画像IMG2における座標(xa,ya)の画素値を、画像IMG1における座標(x’,y’)の画素値から求める。(xa,ya)は第1カウント座標CXYA1であり、(x’,y’)は出力座標QXY1である。マッピング処理回路30の構成及び動作は、第1構成例と同様である。 The mapping processing circuit 30 obtains the pixel value of the coordinates (xa, ya) in the image IMG2 from the pixel value of the coordinates (x', y') in the image IMG1. (xa, ya) is the first count coordinate CXYA1, and (x', y') is the output coordinate QXY1. The configuration and operation of the mapping processing circuit 30 are the same as in the first configuration example.

第3構成例のマッピング処理では、画像IMG2の(xa,ya)における画素値が、画像IMG1の(x’,y’)における画素値から取得される。即ち、マッピング処理回路30は、図9で説明したインバースワープエンジンとして動作している。また、回転変換回路40が座標回転を行うことで、マッピング処理において、画像回転を含むインバースワープが行われる。 In the mapping process of the third configuration example, the pixel value at (xa, ya) of image IMG2 is obtained from the pixel value at (x', y') of image IMG1. That is, the mapping process circuit 30 operates as the inverse warp engine described in FIG. 9. In addition, the rotation transformation circuit 40 performs coordinate rotation, and thus inverse warp including image rotation is performed in the mapping process.

4.第4構成例
図10は、回路装置100の第4構成例である。図11は、第4構成例における回路装置100の動作を説明する図である。
4. Fourth Configuration Example Fig. 10 shows a fourth configuration example of the circuit device 100. Fig. 11 is a diagram for explaining the operation of the circuit device 100 in the fourth configuration example.

第4構成例では、回路装置100がフォワードワープエンジンである場合を説明する。図11に示すように、回路装置100は、入力画像である画像IMG1における座標(xa,ya)を回転変換し、回転変換後の座標(x’,y’)を、出力画像である画像IMG2における座標(x,y)に変換し、その座標に基づいてマッピング処理を行うことで画像回転及びフォワードワープを実現する。 In the fourth configuration example, a case will be described in which the circuit device 100 is a forward warp engine. As shown in FIG. 11, the circuit device 100 rotates and transforms the coordinates (xa, ya) in the input image, image IMG1, and converts the coordinates (x', y') after the rotation transformation into coordinates (x, y) in the output image, image IMG2, and performs mapping processing based on the coordinates, thereby realizing image rotation and forward warp.

図10に示すように、回路装置100は、座標カウンター10と座標変換回路20とマッピング処理回路30と回転変換回路40とを含む。なお、第2構成例及び第3構成例と同様の構成及び動作については、適宜に説明を省略する。 As shown in FIG. 10, the circuit device 100 includes a coordinate counter 10, a coordinate conversion circuit 20, a mapping processing circuit 30, and a rotation conversion circuit 40. Note that descriptions of configurations and operations similar to those of the second and third configuration examples will be omitted as appropriate.

座標カウンター10は、第1カウント座標CXYA1として(xa,ya)を出力する。第4構成例では、(xa,ya)は画像IMG1上の座標に対応するので、マッピング処理回路30に画像IMG1と共に入力される画素クロックが、座標カウンター10に入力される。 The coordinate counter 10 outputs (xa, ya) as the first count coordinate CXYA1. In the fourth configuration example, (xa, ya) corresponds to the coordinates on the image IMG1, so the pixel clock input to the mapping processing circuit 30 together with the image IMG1 is input to the coordinate counter 10.

回転変換回路40は、第1カウント座標CXYA1に対して回転変換を行い、回転変換後の座標を入力座標IXY1として座標変換回路20に出力する。第4構成例では、入力座標IXY1は(x’,y’)である。下式(5)に示すように、回転変換回路40は、アフィン変換を用いて座標回転を行う。θは回転角度である。

Figure 0007467883000005
The rotation transformation circuit 40 performs a rotation transformation on the first count coordinate CXYA1, and outputs the coordinate after the rotation transformation as an input coordinate IXY1 to the coordinate transformation circuit 20. In the fourth configuration example, the input coordinate IXY1 is (x', y'). As shown in the following equation (5), the rotation transformation circuit 40 performs coordinate rotation using an affine transformation. θ is the rotation angle.
Figure 0007467883000005

回転変換回路40は、回転角度θを示す角度情報RT1に基づいて、上式(5)により第1カウント座標CXYA1を入力座標IXY1に変換する。 The rotation conversion circuit 40 converts the first count coordinate CXYA1 into the input coordinate IXY1 using the above formula (5) based on the angle information RT1 indicating the rotation angle θ.

座標変換回路20は、係数情報CF1に基づいて入力座標IXY1から出力座標QXY1への座標変換を行う。第4構成例では、出力座標QXY1は、画像IMG2上の座標に対応した座標(x,y)である。座標変換式は第2構成例と同様である。 The coordinate conversion circuit 20 converts the input coordinate IXY1 to the output coordinate QXY1 based on the coefficient information CF1. In the fourth configuration example, the output coordinate QXY1 is the coordinate (x, y) corresponding to the coordinate on the image IMG2. The coordinate conversion formula is the same as in the second configuration example.

マッピング処理回路30は、画像IMG1における座標(xa,ya)の画素値を、画像IMG2における座標(x,y)に移動させる。(xa,ya)は第1カウント座標CXYA1であり、(x,y)は出力座標QXY1である。マッピング処理回路30の構成及び動作は、第2構成例と同様である。 The mapping processing circuit 30 moves the pixel value of coordinates (xa, ya) in image IMG1 to coordinates (x, y) in image IMG2. (xa, ya) is the first count coordinate CXYA1, and (x, y) is the output coordinate QXY1. The configuration and operation of the mapping processing circuit 30 are the same as in the second configuration example.

第4構成例のマッピング処理では、画像IMG1の(xa,ya)における画素値が、画像IMG2の(x,y)の画素値に移動されている。即ち、マッピング処理回路30は、図11で説明したフォワードワープエンジンとして動作している。また、回転変換回路40が座標回転を行うことで、マッピング処理において、画像回転を含むフォワードワープが行われる。 In the mapping process of the fourth configuration example, the pixel value at (xa, ya) of image IMG1 is moved to the pixel value at (x, y) of image IMG2. In other words, the mapping process circuit 30 operates as the forward warp engine described in FIG. 11. In addition, the rotation transformation circuit 40 performs coordinate rotation, so that forward warping including image rotation is performed in the mapping process.

5.第5構成例
図12は、回路装置100の第5構成例である。第5構成例では、回路装置100は画像IMG2を逆マッピング処理することで画像IMG3を生成し、画像IMG1と画像IMG3とを比較することで画像IMG2のエラーを検出する。
12 shows a fifth configuration example of the circuit device 100. In the fifth configuration example, the circuit device 100 generates an image IMG3 by performing an inverse mapping process on the image IMG2, and detects an error in the image IMG2 by comparing the image IMG1 with the image IMG3.

回路装置100は、インターフェース110と、記憶部133と、画像処理回路135と、インターフェース140と、比較回路145と、エラー検出回路150と、記憶部160と、レジスター回路170と、インターフェース190と、を含む。 The circuit device 100 includes an interface 110, a memory unit 133, an image processing circuit 135, an interface 140, a comparison circuit 145, an error detection circuit 150, a memory unit 160, a register circuit 170, and an interface 190.

インターフェース110は、例えば処理装置200等から回路装置100に送信される画像データを受信する。インターフェース110は、受信した画像データを回路装置100の内部で用いられる形式に変換し、その変換後の画像データを画像IMA1として出力する。例えば、インターフェース110はOpenLDI(Open LVDS Display Interface)であり、LVDS(Low Voltage Differential Signaling)で受信したシリアル信号を、RGBのパラレル信号に変換する。処理装置200は、例えばSoC(System on a Chip)、MCU(Micro Control Unit)、又はCPU(Central Processing Unit)である。 The interface 110 receives image data transmitted from, for example, the processing device 200 to the circuit device 100. The interface 110 converts the received image data into a format used inside the circuit device 100, and outputs the converted image data as image IMA1. For example, the interface 110 is an OpenLDI (Open LVDS Display Interface) that converts a serial signal received via LVDS (Low Voltage Differential Signaling) into an RGB parallel signal. The processing device 200 is, for example, a SoC (System on a Chip), an MCU (Micro Control Unit), or a CPU (Central Processing Unit).

画像処理回路135は、ヘッドアップディスプレイの曲面ディスプレイが有する表面形状に合わせて画像をマッピングする第1処理回路131と、その逆マッピングを行う第2処理回路132と、を含む。第1処理回路131を第1ワープエンジンとも呼び、第2処理回路132を第2ワープエンジンとも呼ぶ。以下、第1処理回路131及び第2処理回路132が歪み補正と共に画像回転を行う例を説明するが、第1処理回路131及び第2処理回路132が歪み補正のみを行ってもよい。 The image processing circuit 135 includes a first processing circuit 131 that maps an image to match the surface shape of the curved display of the head-up display, and a second processing circuit 132 that performs the inverse mapping. The first processing circuit 131 is also called the first warp engine, and the second processing circuit 132 is also called the second warp engine. Below, an example will be described in which the first processing circuit 131 and the second processing circuit 132 perform image rotation together with distortion correction, but the first processing circuit 131 and the second processing circuit 132 may perform only distortion correction.

なお、曲面ディスプレイとは、ヘッドアップディスプレイにおけるスクリーン又は表示パネルである。スクリーンを被投影体とも呼ぶ。曲面ディスプレイがスクリーンであるとき、ヘッドアップディスプレイは、画像IMA2をスクリーンに投影する投影装置を含む。投影装置は、例えば液晶表示パネルと、その液晶表示パネルを駆動する表示ドライバーと、光源と、レンズとを含む。表示ドライバーは受信した画像データに基づいて液晶表示パネルに画像を表示させ、光源が液晶表示パネルに光を出力し、液晶表示パネルを通過した光がレンズによりスクリーンに投影される。スクリーンは、透明な物体であり、且つ投影された光を反射する反射面を有する。例えば、車載のヘッドアップディスプレイにおいて、スクリーンはダッシュボードに取り付けられた透明スクリーン、又は自動車のフロントガラスである。曲面ディスプレイが表示パネルであるとき、その表示パネルの表示画像がユーザーから直接に視認されるようにヘッドアップディスプレイが構成されており、ヘッドアップディスプレイは画像IMA2を表示パネルに表示する。表示パネルは、例えば有機ELパネルを用いた透明ディスプレイであり、その透明ディスプレイが曲面を有する。 The curved display is a screen or a display panel in a head-up display. The screen is also called a projection target. When the curved display is a screen, the head-up display includes a projection device that projects the image IMA2 onto the screen. The projection device includes, for example, a liquid crystal display panel, a display driver that drives the liquid crystal display panel, a light source, and a lens. The display driver displays an image on the liquid crystal display panel based on the received image data, the light source outputs light to the liquid crystal display panel, and the light that passes through the liquid crystal display panel is projected onto the screen by the lens. The screen is a transparent object and has a reflective surface that reflects the projected light. For example, in an in-vehicle head-up display, the screen is a transparent screen attached to the dashboard or the windshield of the automobile. When the curved display is a display panel, the head-up display is configured so that the display image on the display panel is directly visible to the user, and the head-up display displays the image IMA2 on the display panel. The display panel is, for example, a transparent display using an organic EL panel, and the transparent display has a curved surface.

第1処理回路131は、係数情報CF1を用いた第1マッピング処理と、角度情報RT1を用いた第1回転処理とを画像IMA1に対して行い、処理後の画像IMA2を出力する。画像IMA1は第1画像であり、画像IMA2は第2画像である。また、第1処理回路131は画像IMA1から注目領域の画像IMA1’を抽出する。注目領域をROI(Region Of Interest)とも呼ぶ。なお画像IMA1’は画像IMA1全体であってもよい。以下では、画像IMA1’が、画像IMA1から抽出された注目領域の画像である場合を例に説明し、注目領域の画像IMA’も第1画像と呼ぶこととする。 The first processing circuit 131 performs a first mapping process using coefficient information CF1 and a first rotation process using angle information RT1 on image IMA1, and outputs a processed image IMA2. Image IMA1 is the first image, and image IMA2 is the second image. The first processing circuit 131 also extracts an image IMA1' of a region of interest from image IMA1. The region of interest is also called ROI (Region Of Interest). Note that image IMA1' may be the entire image IMA1. In the following, an example will be described in which image IMA1' is an image of a region of interest extracted from image IMA1, and image IMA' of the region of interest will also be called the first image.

第2処理回路132は、係数情報CF2を用いた第2マッピング処理と、角度情報RT2を用いた第2回転処理とを画像IMA2に対して行い、処理後の画像IMA3を出力する。画像IMA3は第3画像である。具体的には、第2処理回路132は画像IMA2から注目領域の画像を抽出し、その画像に対して第2マッピング処理と第2回転処理とを行う。第2回転処理は、第1回転処理の逆回転処理である。画像IMA3は、画像IMA2から抽出された注目領域の画像が逆マッピング及び逆回転された画像となる。 The second processing circuit 132 performs a second mapping process using the coefficient information CF2 and a second rotation process using the angle information RT2 on the image IMA2, and outputs the processed image IMA3. The image IMA3 is the third image. Specifically, the second processing circuit 132 extracts an image of the region of interest from the image IMA2, and performs a second mapping process and a second rotation process on the image. The second rotation process is the reverse rotation process of the first rotation process. The image IMA3 is an image that has been reverse mapped and reverse rotated from the image of the region of interest extracted from the image IMA2.

インターフェース140は、画像IMA2を回路装置100の外部に出力する。回路装置100の外部とは、例えばヘッドアップディスプレイの表示パネルを駆動する表示ドライバーである。例えば、インターフェース140はLVDSのインターフェースであり、画像処理回路135からのRGBのパラレル信号をLVDSのシリアル信号に変換する。 The interface 140 outputs the image IMA2 to the outside of the circuit device 100. The outside of the circuit device 100 is, for example, a display driver that drives a display panel of a head-up display. For example, the interface 140 is an LVDS interface, and converts the RGB parallel signals from the image processing circuit 135 into LVDS serial signals.

記憶部133は第1記憶部である。第1処理回路131は、注目領域の画像IMA1’を記憶部133に記憶させる。記憶部160はメモリーである。例えば、メモリーは、RAM又は不揮発性メモリー等の半導体メモリーである。なお、記憶部133と記憶部160は、それぞれ個別のメモリーで構成されてもよいし、1つのメモリーで構成されてもよい。 The storage unit 133 is a first storage unit. The first processing circuit 131 stores the image IMA1' of the area of interest in the storage unit 133. The storage unit 160 is a memory. For example, the memory is a semiconductor memory such as a RAM or a non-volatile memory. Note that the storage unit 133 and the storage unit 160 may each be configured as separate memories, or may be configured as a single memory.

比較回路145は、記憶部133に記憶された画像IMA1’と、画像IMA3との間の比較処理を行い、その比較結果を出力する。この比較結果は、画像IMA2のエラーを検出するために用いられる。即ち、第1処理回路131が行う第1マッピング処理及び第1回転処理が正常であったか否かを検証するために用いられる。比較回路145は、画像IMA1と画像IMA3との間の類似度を示す指標を求める。指標は後述する形状指標又は視認性指標である。或いは、比較回路145は、SSD(Sum of Squared Difference)、SAD(Sum of Absolute Difference)又はNCC(Normalized Cross Correlation)等を指標として求めてもよい。 The comparison circuit 145 performs a comparison process between the image IMA1' stored in the memory unit 133 and the image IMA3, and outputs the comparison result. This comparison result is used to detect an error in the image IMA2. In other words, it is used to verify whether the first mapping process and the first rotation process performed by the first processing circuit 131 were normal. The comparison circuit 145 obtains an index indicating the similarity between the image IMA1 and the image IMA3. The index is a shape index or a visibility index, which will be described later. Alternatively, the comparison circuit 145 may obtain an index such as SSD (Sum of Squared Difference), SAD (Sum of Absolute Difference), or NCC (Normalized Cross Correlation).

エラー検出回路150は、指標と閾値とを比較することで、第2画像IMA2のエラー検出を行う。閾値は、画像IMA1’と画像IMA3がどの程度の類似度を有していれば許容できるかを示す閾値である。 The error detection circuit 150 detects errors in the second image IMA2 by comparing the index with a threshold value. The threshold value indicates how similar the images IMA1' and IMA3 must be to be acceptable.

画像処理回路135は、エラー検出回路150によりエラーが検出された場合、インターフェース140への画像IMA2の出力を停止する。或いは、インターフェース140は、エラー検出回路150によりエラーが検出された場合、画像IMA2の出力を停止する。インターフェース140は、エラー情報と共に画像IMA2を出力し、そのエラー情報を受信した表示ドライバーが、エラー情報に基づく動作を行ってもよい。或いは、インターフェース190は、エラー情報を処理装置200に出力し、そのエラー情報を受信した処理装置200が、エラー情報に基づく動作を行ってもよい。エラー情報は、例えばエラー判定フラグ、或いは指標等である。エラー情報に基づく動作は、例えばヘッドアップディスプレイの表示停止等である。 When an error is detected by the error detection circuit 150, the image processing circuit 135 stops outputting the image IMA2 to the interface 140. Alternatively, when an error is detected by the error detection circuit 150, the interface 140 stops outputting the image IMA2. The interface 140 may output the image IMA2 together with error information, and the display driver that receives the error information may perform an operation based on the error information. Alternatively, the interface 190 may output the error information to the processing device 200, and the processing device 200 that receives the error information may perform an operation based on the error information. The error information may be, for example, an error determination flag or an indicator. The operation based on the error information may be, for example, stopping the display of the head-up display.

インターフェース190は、回路装置100と処理装置200の回路間通信を行う。例えば、インターフェース190は、SPI(Serial Peripheral Interface)方式やI2C方式等のシリアル通信インターフェースである。処理装置200からの設定情報や制御情報は、例えばレジスター回路170に書き込まれ、回路装置100は、その設定情報や制御情報に応じた動作を行う。 The interface 190 performs inter-circuit communication between the circuit device 100 and the processing device 200. For example, the interface 190 is a serial communication interface such as an SPI (Serial Peripheral Interface) type or an I2C type. Setting information and control information from the processing device 200 are written, for example, to the register circuit 170, and the circuit device 100 operates according to the setting information and control information.

レジスター回路170は、インターフェース190を介して処理装置200からアクセス可能に構成されている。レジスター回路170はエラー検出結果レジスター176と閾値レジスター178とを含む。 The register circuit 170 is configured to be accessible from the processing device 200 via the interface 190. The register circuit 170 includes an error detection result register 176 and a threshold register 178.

エラー検出結果レジスター176は、エラー検出回路150が出力したエラー検出結果を記憶する。エラー検出結果は、例えば、表示画像がエラーと判定されたか否かを示すエラー判定フラグである。処理装置200は、インターフェース190を介してエラー検出結果レジスター176からエラー検出結果を読み出すことで、エラーが発生したか否かを判断できる。 The error detection result register 176 stores the error detection result output by the error detection circuit 150. The error detection result is, for example, an error determination flag indicating whether or not the display image has been determined to be an error. The processing device 200 can determine whether or not an error has occurred by reading the error detection result from the error detection result register 176 via the interface 190.

閾値レジスター178には、処理装置200からインターフェース190を介して閾値が設定される。エラー検出回路150は、指標と、閾値レジスター178に設定された閾値とを比較してエラー検出を行う。 A threshold value is set in the threshold register 178 from the processing device 200 via the interface 190. The error detection circuit 150 performs error detection by comparing the index with the threshold value set in the threshold register 178.

記憶部160は第2記憶部である。記憶部160は、係数情報CF1、CF2と角度情報RT1、RT2とを記憶する。具体的には、処理装置200がCF1、CF2、RT1及びRT2をインターフェース190に送信し、記憶部160は、インターフェース190が受信したCF1、CF2、RT1及びRT2を記憶する。画像処理回路135は、記憶部160から読み出したCF1、CF2、RT1及びRT2に基づいてマッピング処理及び回転処理を行う。記憶部160は、例えばメモリー又はレジスターである。例えば、メモリーは、RAM又は不揮発性メモリー等の半導体メモリーである。 The memory unit 160 is a second memory unit. The memory unit 160 stores coefficient information CF1, CF2 and angle information RT1, RT2. Specifically, the processing device 200 transmits CF1, CF2, RT1, and RT2 to the interface 190, and the memory unit 160 stores CF1, CF2, RT1, and RT2 received by the interface 190. The image processing circuit 135 performs mapping processing and rotation processing based on CF1, CF2, RT1, and RT2 read from the memory unit 160. The memory unit 160 is, for example, a memory or a register. For example, the memory is a semiconductor memory such as a RAM or a non-volatile memory.

なお、画像処理回路135、比較回路145、及びエラー検出回路150はロジック回路である。画像処理回路135、比較回路145、及びエラー検出回路150は、個々の回路として構成されてもよいし、或いは自動配置配線等により一体化された回路として構成されてもよい。また、これらのロジック回路の一部又は全部が、DSP(Digital Signal Processor)等のプロセッサーにより実現されてもよい。この場合、各回路の機能が記述されたプログラムや命令セットがメモリーに記憶され、そのプログラムや命令セットをプロセッサーが実行することで、各回路の機能が実現される。 The image processing circuit 135, the comparison circuit 145, and the error detection circuit 150 are logic circuits. The image processing circuit 135, the comparison circuit 145, and the error detection circuit 150 may be configured as individual circuits, or may be configured as an integrated circuit by automatic placement and wiring, etc. Furthermore, some or all of these logic circuits may be realized by a processor such as a DSP (Digital Signal Processor). In this case, a program or instruction set describing the function of each circuit is stored in memory, and the function of each circuit is realized by the processor executing the program or instruction set.

図12では回路装置100がエラー検出回路150及びエラー検出結果レジスター176を含むが、回路装置100がエラー検出回路150及びエラー検出結果レジスター176を含まなくてもよい。この場合、インターフェース190は、比較回路145が求めた指標を処理装置200に出力し、その指標を受信した処理装置200が、指標と閾値を比較することでエラー検出してもよい。処理装置200は、エラーを検出したとき、ヘッドアップディスプレイの表示停止等のエラー対応動作を行ってもよい。 In FIG. 12, the circuit device 100 includes the error detection circuit 150 and the error detection result register 176, but the circuit device 100 does not have to include the error detection circuit 150 and the error detection result register 176. In this case, the interface 190 may output the index determined by the comparison circuit 145 to the processing device 200, and the processing device 200 that receives the index may detect an error by comparing the index with a threshold value. When the processing device 200 detects an error, it may perform an error response operation such as stopping the display of the head-up display.

図13は、第1処理回路131及び第2処理回路132の詳細構成例である。 Figure 13 shows an example of the detailed configuration of the first processing circuit 131 and the second processing circuit 132.

第1処理回路131は、第1座標カウンターである座標カウンター10と、第1回転変換回路である回転変換回路40と、第1座標変換回路である座標変換回路20と、第1マッピング処理回路であるマッピング処理回路30と、を含む。これらの動作については第1~第4構成例で説明した通りである。なお第1処理回路131が歪み補正のみを行う場合には回転変換回路40が省略されてもよい。 The first processing circuit 131 includes a coordinate counter 10 which is a first coordinate counter, a rotation transformation circuit 40 which is a first rotation transformation circuit, a coordinate transformation circuit 20 which is a first coordinate transformation circuit, and a mapping processing circuit 30 which is a first mapping processing circuit. The operation of these circuits is as described in the first to fourth configuration examples. Note that if the first processing circuit 131 only performs distortion correction, the rotation transformation circuit 40 may be omitted.

第2処理回路132は、第2座標カウンターである座標カウンター50と、第2回転変換回路である回転変換回路80と、第2座標変換回路である座標変換回路60と、第2マッピング処理回路であるマッピング処理回路70と、を含む。座標カウンター50はカウント座標CXYA2を出力する。回転変換回路80は、角度情報RT2に基づいてカウント座標CXYA2を入力座標IXY2に回転変換する。座標変換回路60は、係数情報CF2に基づいて、2次以上の多項式を用いた演算処理により入力座標IXY2を出力座標QXY2に座標変換する。マッピング処理回路70は、出力座標QXY2に基づいて画像IMA2を画像IMA3にマッピング処理する。これらの回路の詳細構成及び動作は、座標カウンター10、回転変換回路40、座標変換回路20、及びマッピング処理回路30と同様である。なお第2処理回路132が歪み補正のみを行う場合には回転変換回路80が省略されてもよい。 The second processing circuit 132 includes a coordinate counter 50 which is a second coordinate counter, a rotation transformation circuit 80 which is a second rotation transformation circuit, a coordinate transformation circuit 60 which is a second coordinate transformation circuit, and a mapping processing circuit 70 which is a second mapping processing circuit. The coordinate counter 50 outputs the count coordinate CXYA2. The rotation transformation circuit 80 rotates and transforms the count coordinate CXYA2 into the input coordinate IXY2 based on the angle information RT2. The coordinate transformation circuit 60 transforms the input coordinate IXY2 into the output coordinate QXY2 by a calculation process using a polynomial of degree 2 or higher based on the coefficient information CF2. The mapping processing circuit 70 maps the image IMA2 to the image IMA3 based on the output coordinate QXY2. The detailed configuration and operation of these circuits are the same as those of the coordinate counter 10, the rotation transformation circuit 40, the coordinate transformation circuit 20, and the mapping processing circuit 30. Note that when the second processing circuit 132 only performs distortion correction, the rotation transformation circuit 80 may be omitted.

なお第2処理回路132の構成は図13に限定されない。例えば、第2マッピング処理における座標の対応を記述したマップテーブルが第2処理回路132に入力されてもよい。第2処理回路132は、マップテーブル及び角度情報RT2に基づいて第2マッピング処理及び第2回転処理を行ってもよい。 The configuration of the second processing circuit 132 is not limited to that shown in FIG. 13. For example, a map table describing the correspondence of coordinates in the second mapping process may be input to the second processing circuit 132. The second processing circuit 132 may perform the second mapping process and the second rotation process based on the map table and the angle information RT2.

比較回路145が行う画像比較について説明する。 This section explains the image comparison performed by the comparison circuit 145.

図14はヘッドアップディスプレイに表示される画像IMG2の一例である。図14では、メーター画像DIMの上にアイコンICAが重ねられている。アイコンICAは、ある透過率でメーター画像DIMにブレンドされる。本実施形態において、回路装置100は、アイコンICAが適切に表示されるか否かを検証する。この場合、図14の点線矩形で示すように、アイコンICAを含む領域がROIに設定される。 Figure 14 is an example of an image IMG2 displayed on a head-up display. In Figure 14, an icon ICA is overlaid on a meter image DIM. The icon ICA is blended into the meter image DIM at a certain transparency. In this embodiment, the circuit device 100 verifies whether the icon ICA is displayed appropriately. In this case, the area including the icon ICA is set as the ROI, as shown by the dotted rectangle in Figure 14.

図15は、マッピング処理する前の画像IMG1から抽出されたROIの画像IMG1’である。ROI内には、アイコンICAと、アイコンICAの背景画像であるメーター画像DIMとが含まれる。図16は、画像IMG2から抽出されたROIの画像IMG2’が逆マッピング処理された画像IMG3である。図16には、アイコンICAが正しく表示されなかった例を示す。この場合、画像IMG1’と画像IMG3は背景画像のみ一致しており、アイコンICA部分は異なっている。このため、比較結果である指標が示す類似度は低い。画像IMG3においてもアイコンICAが正しく表示されている場合には、類似度は高くなる。類似度を示す指標は、連続的又は段階的な値をとることができる。エラー検出回路150は指標と閾値を比較するが、その閾値を調整することで、どの程度の類似度を許容するのかを調整可能である。 Figure 15 shows an image IMG1' of the ROI extracted from the image IMG1 before the mapping process. The ROI includes the icon ICA and the meter image DIM, which is the background image of the icon ICA. Figure 16 shows an image IMG3 obtained by performing the reverse mapping process on the image IMG2' of the ROI extracted from the image IMG2. Figure 16 shows an example in which the icon ICA is not displayed correctly. In this case, the images IMG1' and IMG3 only match in the background image, and the icon ICA portion is different. Therefore, the similarity indicated by the index, which is the comparison result, is low. If the icon ICA is also displayed correctly in the image IMG3, the similarity is high. The index indicating the similarity can take a continuous or stepped value. The error detection circuit 150 compares the index with a threshold value, and the degree of similarity to be tolerated can be adjusted by adjusting the threshold value.

比較回路145は、画像IMG1’と画像IMG3の類似度を示す指標として、形状指標、又は視認性指標、又はその両方を求める。なお上述のように、比較回路145は、SSD、SAD又はNCC等を指標として求めてもよい。なお、類似度が高いほど指標が大きくなるか、類似度が高いほど指標が小さくなるかは、指標の算出手法によって異なる。閾値は、形状指標と視認性指標のそれぞれに対して設定される。 The comparison circuit 145 obtains a shape index, a visibility index, or both, as an index indicating the similarity between the images IMG1' and IMG3. As described above, the comparison circuit 145 may obtain SSD, SAD, NCC, or the like as an index. Whether the higher the similarity, the larger the index or the smaller the index, depends on the index calculation method. A threshold is set for each of the shape index and the visibility index.

まず形状指標の第1算出手法を説明する。比較回路145は、色空間における画像IMG1’と画像IMG3の画像間距離を求める。色空間は例えばRGB又はYCrCbである。具体的には、比較回路145は、色空間において、画像IMG1’の画素と、その画素に対応する画像IMG3の画素の距離の二乗値を求める。比較回路145は、その二乗値を画像内で積算し、その積算値を画像間距離とする。第1算出手法では、画像間距離が形状指標に相当する。 First, the first calculation method of the shape index will be described. The comparison circuit 145 calculates the inter-image distance between images IMG1' and IMG3 in color space. The color space is, for example, RGB or YCrCb. Specifically, the comparison circuit 145 calculates the squared value of the distance between a pixel of image IMG1' and its corresponding pixel of image IMG3 in color space. The comparison circuit 145 accumulates this squared value within the image, and the accumulated value is the inter-image distance. In the first calculation method, the inter-image distance corresponds to the shape index.

次に形状指標の第2算出手法を説明する。図17に示すように、比較回路145は、画像IMG1’のエッジを抽出することで、エッジ画像EIMG1’を求める。また比較回路145は、画像IMG3のエッジを抽出することで、画像IMG3のエッジ画像を求める。以下、画像IMG3のエッジ画像をEIMG3とする。比較回路145は、エッジ画像EIMG1’とエッジ画像EIMG3を比較する。具体的には、比較回路145は、ソーベルフィルター等を用いて画像IMA1’と画像IMG3からエッジを抽出し、エッジ画像EIMG1’とエッジ画像EIMG3の相関値を求める。第2算出手法では、エッジ画像の相関値が形状指標に相当する。 Next, the second calculation method of the shape index will be described. As shown in FIG. 17, the comparison circuit 145 obtains an edge image EIMG1' by extracting edges from image IMG1'. The comparison circuit 145 also obtains an edge image of image IMG3 by extracting edges from image IMG3. Hereinafter, the edge image of image IMG3 will be referred to as EIMG3. The comparison circuit 145 compares edge image EIMG1' with edge image EIMG3. Specifically, the comparison circuit 145 extracts edges from images IMA1' and IMG3 using a Sobel filter or the like, and obtains a correlation value between edge image EIMG1' and edge image EIMG3. In the second calculation method, the correlation value of the edge image corresponds to the shape index.

次に視認性指標の算出手法を説明する。ここでは色空間をYCrCbとするが、色空間はRGB等であってもよい。比較回路145は、画像IMG1’のYチャンネルからヒストグラムを求める。同様に、比較回路145は、画像IMG1’のCrチャンネル、Cbチャンネルからヒストグラムを求め、画像IMG3のYチャンネル、Crチャンネル、Cbチャンネルからヒストグラムを求める。 Next, a method for calculating the visibility index will be described. Here, the color space is YCrCb, but the color space may be RGB, etc. The comparison circuit 145 obtains a histogram from the Y channel of image IMG1'. Similarly, the comparison circuit 145 obtains a histogram from the Cr channel and Cb channel of image IMG1', and obtains a histogram from the Y channel, Cr channel, and Cb channel of image IMG3.

比較回路145は、Yチャンネルにおける画像IMG1’と画像IMG3のヒストグラムに対して相互相関演算を行う。相互相関演算は、2つのヒストグラムを遅延(lag)だけずらして相関値を求め、遅延を変化させながら相関値を求めていく演算である。遅延を変化させていき、2つのヒストグラムの相関値が高くなるところがあれば、その遅延にピークが立つことになる。ピークは複数立つ可能性がある。同様に、比較回路145は、Crチャンネル、Cbチャンネルにおける画像IMG1’と画像IMG3のヒストグラムに対して相互相関演算を行う。 The comparison circuit 145 performs a cross-correlation calculation on the histograms of images IMG1' and IMG3 in the Y channel. The cross-correlation calculation is a calculation in which the two histograms are shifted by a delay (lag) to find the correlation value, and the correlation value is calculated while changing the delay. If the delay is changed and there is a point where the correlation value of the two histograms is high, a peak will appear at that delay. There may be multiple peaks. Similarly, the comparison circuit 145 performs a cross-correlation calculation on the histograms of images IMG1' and IMG3 in the Cr and Cb channels.

比較回路145は、全チャンネルの相互相関信号においてピークが立っている遅延値を調べ、その遅延値のうち最大の遅延値を求める。この最大の遅延値が視認性指標に相当する。アイコンと背景画像の色のコントラストが高い場合、最大の遅延値が大きくなるので、視認性指標はアイコンと背景画像の色のコントラストを示す。色のコントラストが高いほど視認性が高いと考えられるため、視認性指標が大きいほど類似度が高いと判断される。 The comparison circuit 145 examines the delay values at which peaks appear in the cross-correlation signals of all channels, and finds the maximum delay value among those delay values. This maximum delay value corresponds to the visibility index. When the color contrast between the icon and the background image is high, the maximum delay value is large, so the visibility index indicates the color contrast between the icon and the background image. Since the higher the color contrast, the higher the visibility, it is determined that the similarity is higher.

以上に説明した形状指標、又は視認性指標、又はその両方を用いることで、ROIの画像IMG1’とIMG3の類似度を判断できる。形状指標を用いた場合、画像IMG1’と画像IMG3が一致しているとき、類似度が最も高くなる。即ち、類似度を一致度合いと言い換えることもできる。例えばアイコンICAが回転して表示された場合には、アイコンICAが回転していない場合に比べて類似度が低下する。一方、視認性指標は色のコントラストを示すので、アイコンICAが回転した場合であっても類似度があまり変化しない。従って、アイコンICAが回転した場合等を許容するときには、視認性指標を用いればよい。また、形状指標と視認性指標は算出手法が異なるので、その両方を用いることによって、エラー検出の精度を向上できる。 By using the shape index or the visibility index, or both, described above, the similarity between the images IMG1' and IMG3 of the ROI can be determined. When the shape index is used, the similarity is highest when the images IMG1' and IMG3 match. In other words, the similarity can also be said to be the degree of match. For example, when the icon ICA is displayed rotated, the similarity decreases compared to when the icon ICA is not rotated. On the other hand, since the visibility index indicates the color contrast, the similarity does not change much even when the icon ICA is rotated. Therefore, when the icon ICA is allowed to be rotated, the visibility index can be used. In addition, since the shape index and the visibility index are calculated using different methods, the accuracy of error detection can be improved by using both of them.

6.電子機器、移動体
図18は、本実施形態の回路装置を含む電子機器の構成例である。電子機器300は、処理装置310、回路装置320、記憶装置350、操作装置360、通信装置370、ヘッドアップディスプレイ400を含む。回路装置320は第1~第5構成例の回路装置100に対応する。ヘッドアップディスプレイ400は、表示ドライバー330、表示パネル340を含む。処理装置310は、例えばMCU等である。図18の構成例では回路装置320は表示コントローラーに対応する。但し、本実施形態の回路装置100は、表示コントローラーだけでなく、ヘッドアップディスプレイ用の表示画像を生成する回路装置であれば適用可能である。
6. Electronic device, mobile object FIG. 18 is a configuration example of an electronic device including the circuit device of this embodiment. The electronic device 300 includes a processing device 310, a circuit device 320, a storage device 350, an operation device 360, a communication device 370, and a head-up display 400. The circuit device 320 corresponds to the circuit device 100 of the first to fifth configuration examples. The head-up display 400 includes a display driver 330 and a display panel 340. The processing device 310 is, for example, an MCU. In the configuration example of FIG. 18, the circuit device 320 corresponds to a display controller. However, the circuit device 100 of this embodiment can be applied not only to a display controller but also to any circuit device that generates a display image for a head-up display.

処理装置310は、記憶装置350に記憶された画像データ、又は通信装置370が受信した画像データを回路装置320に転送する。回路装置320は、画像データに対する画像処理、表示タイミング制御、及び表示ドライバーに転送する画像データの生成等を行う。また回路装置320は、第5構成例で説明したように画像データのエラー検出を行ってもよい。表示ドライバー330は、回路装置320から転送された画像データと、回路装置320による表示タイミング制御に基づいて、表示パネル340を駆動し、画像を表示させる。表示パネル340は、例えば液晶表示パネル、或いはEL表示パネル等である。記憶装置350は、例えばメモリー、或いはハードディスクドライブ、或いは光学ディスクドライブ等である。操作装置360は、電子機器300をユーザーが操作するための装置であり、例えばボタンや、或いはタッチパネルや、或いはキーボード等である。通信装置370は、例えば有線通信を行う装置、或いは無線通信を行う装置である。有線通信は、例えばLAN、又はUSB等である。無線通信は、例えば無線LANや、無線近接通信等である。 The processing device 310 transfers image data stored in the storage device 350 or image data received by the communication device 370 to the circuit device 320. The circuit device 320 performs image processing on the image data, display timing control, and generation of image data to be transferred to the display driver. The circuit device 320 may also perform error detection of the image data as described in the fifth configuration example. The display driver 330 drives the display panel 340 to display an image based on the image data transferred from the circuit device 320 and the display timing control by the circuit device 320. The display panel 340 is, for example, a liquid crystal display panel or an EL display panel. The storage device 350 is, for example, a memory, a hard disk drive, an optical disk drive, etc. The operation device 360 is a device for a user to operate the electronic device 300, and is, for example, a button, a touch panel, or a keyboard. The communication device 370 is, for example, a device that performs wired communication or a device that performs wireless communication. The wired communication is, for example, a LAN or USB. Examples of wireless communication include wireless LAN and wireless proximity communication.

本実施形態の回路装置を含む電子機器としては、車載用の電子機器、工場設備等の表示端末、ロボットに搭載された表示装置、又は情報処理装置等の種々の機器を想定できる。車載用の電子機器は、例えばメーターパネル等である。情報処理装置は例えばPC等である。 Electronic devices including the circuit device of this embodiment can be various devices such as electronic devices for vehicles, display terminals for factory equipment, display devices mounted on robots, and information processing devices. An example of an electronic device for vehicles is a meter panel. An example of an information processing device is a PC.

図19は、本実施形態の回路装置320を含む移動体の例である。移動体は、本実施形態の回路装置320と、回路装置320に画像データを送信する処理装置310と、を含む。処理装置310は、回路装置320からのヘッドアップディスプレイ用表示画像のエラー検出結果に基づいてエラー対応処理を行ってもよい。移動体は、ヘッドアップディスプレイ400と制御装置208とを含む。制御装置208はECU(Electronic Control Unit)であり、ECUに回路装置320と処理装置310が組み込まれる。なお回路装置320はヘッドアップディスプレイ400に組み込まれてもよい。本実施形態の回路装置320は、例えば、車、飛行機、バイク、自転車、或いは船舶等の種々の移動体に組み込むことができる。移動体は、例えばエンジンやモーター等の駆動機構、ハンドルや舵等の操舵機構、各種の電子機器を備えて、地上や空や海上を移動する機器又は装置である。図19は移動体の具体例としての自動車206を概略的に示している。ヘッドアップディスプレイ400は透明スクリーンを有し、その透明スクリーンは運転席とフロントガラスの間に設置される。或いは、ヘッドアップディスプレイは、フロントガラスを透明スクリーンとして用い、フロントガラスに画像を投影してもよい。ヘッドアップディスプレイ400は、例えば自動車206のメーターパネルとして機能する。 Figure 19 is an example of a moving body including the circuit device 320 of this embodiment. The moving body includes the circuit device 320 of this embodiment and a processing device 310 that transmits image data to the circuit device 320. The processing device 310 may perform error response processing based on an error detection result of the display image for the head-up display from the circuit device 320. The moving body includes a head-up display 400 and a control device 208. The control device 208 is an ECU (Electronic Control Unit), and the circuit device 320 and the processing device 310 are incorporated in the ECU. The circuit device 320 may be incorporated in the head-up display 400. The circuit device 320 of this embodiment can be incorporated in various moving bodies such as cars, airplanes, motorcycles, bicycles, or ships. The moving body is, for example, a device or equipment that has a driving mechanism such as an engine or motor, a steering mechanism such as a handlebar or rudder, and various electronic devices and moves on the ground, in the air, or on the sea. Figure 19 shows a schematic diagram of an automobile 206 as a specific example of a moving body. The head-up display 400 has a transparent screen, and the transparent screen is installed between the driver's seat and the windshield. Alternatively, the head-up display may use the windshield as a transparent screen and project an image onto the windshield. The head-up display 400 functions as, for example, a meter panel of the automobile 206.

以上に説明した本実施形態の回路装置は、座標変換回路とマッピング処理回路とを含む。座標変換回路は、入力座標から出力座標への座標変換を行う。マッピング処理回路は、入力される第1画像に対して、出力座標に基づくマッピング処理を行うことで、曲面ディスプレイに画像を表示するための表示パネルに表示される第2画像を生成する。座標変換回路は、座標変換を表す2次以上の多項式を用いた演算処理を行うことで、座標変換を行う。 The circuit device of the present embodiment described above includes a coordinate conversion circuit and a mapping processing circuit. The coordinate conversion circuit performs coordinate conversion from input coordinates to output coordinates. The mapping processing circuit performs mapping processing based on the output coordinates on the input first image to generate a second image to be displayed on a display panel for displaying images on a curved display. The coordinate conversion circuit performs coordinate conversion by performing arithmetic processing using a polynomial of degree 2 or higher that represents the coordinate conversion.

多項式は乗算と加算の組み合わせで成り立っており、積分等の複雑な計算を含まない。このため、多項式を用いて座標変換を行うことで、積分等を含む計算を行う場合に比べて、演算時間が短縮される。また、多項式では、入力座標と出力座標とが1対1に対応する。この対応を用いてマッピング処理回路が1画素ずつマッピングすることで、1画面分の画像を構成することが可能である。このような逐次処理は、一旦テーブル等を作成してマッピング処理する場合に比べて、リアルタイム処理に適している。 Polynomials consist of a combination of multiplication and addition, and do not include complex calculations such as integration. For this reason, using polynomials to perform coordinate transformation shortens the calculation time compared to calculations that include integration. Furthermore, with polynomials, there is a one-to-one correspondence between input coordinates and output coordinates. Using this correspondence, the mapping processing circuit maps each pixel, making it possible to create an image for one screen. This type of sequential processing is more suitable for real-time processing than mapping processing that requires the creation of a table, etc.

また本実施形態では、座標変換回路は、多項式の係数情報と入力座標とが入力され、係数情報に基づく演算処理により入力座標から出力座標を求めてもよい。 In addition, in this embodiment, the coordinate conversion circuit may receive polynomial coefficient information and input coordinates, and determine output coordinates from the input coordinates by performing calculation processing based on the coefficient information.

多項式を用いた座標変換では、多項式の係数によって入力座標と出力座標の対応が決まる。即ち、曲面ディスプレイの形状に合わせた係数情報が座標変換回路に入力されることで、種々の曲面ディスプレイに適した歪み補正が実現される。また、座標変換回路は、入力された入力座標から出力座標を求めるので、上述したようにリアルタイム処理に適した1画素ずつの座標変換を行うことができる。 In coordinate transformation using a polynomial, the correspondence between input coordinates and output coordinates is determined by the coefficients of the polynomial. In other words, by inputting coefficient information that matches the shape of the curved display to the coordinate transformation circuit, distortion correction suitable for various curved displays can be achieved. In addition, since the coordinate transformation circuit determines the output coordinates from the input coordinates that it receives, it is possible to perform coordinate transformation on a pixel-by-pixel basis that is suitable for real-time processing, as described above.

また本実施形態では、座標変換回路は、第1~第n項演算回路と加算回路とを含んでもよい。第i項演算回路は、係数情報に基づいて多項式の第1~第n項の第i項を演算してもよい。nは2以上の整数であり、iは1以上n以下の整数である。加算回路は、第1~第n項演算回路が出力する第1~第n項を加算し、出力座標を出力してもよい。 In this embodiment, the coordinate conversion circuit may include a 1st to nth term calculation circuit and an adder circuit. The i-th term calculation circuit may calculate the i-th term of the 1st to nth terms of the polynomial based on the coefficient information. n is an integer of 2 or more, and i is an integer of 1 to n or less. The adder circuit may add the 1st to nth terms output by the 1st to nth term calculation circuit, and output the output coordinate.

このようにすれば、多項式の各項に対応した項演算回路が個別に設けられるので、各項の演算が並列処理される。これにより、座標変換を高速に処理することが可能となる。 In this way, a separate term calculation circuit is provided for each term of the polynomial, and the calculations for each term are processed in parallel. This makes it possible to perform coordinate transformation at high speed.

また本実施形態では、座標変換回路は、第1演算回路と第2演算回路とを含んでもよい。第1演算回路は、入力座標を(x,y)としたとき、x、y、及びxyを求めてもよい。第2演算回路は、第1演算回路の演算結果と係数情報とに基づいて出力座標を求めてもよい。 In this embodiment, the coordinate conversion circuit may include a first arithmetic circuit and a second arithmetic circuit. The first arithmetic circuit may calculate x2 , y2 , and xy when the input coordinates are (x, y). The second arithmetic circuit may calculate output coordinates based on the calculation result of the first arithmetic circuit and coefficient information.

このようにすれば、第1演算回路が、係数を乗算する前の項x、y、及びxyを演算し、第2演算回路が、そのx、y、及びxyに対して係数を乗算することで、多項式の各項を演算し、求めた項を加算することで出力座標を出力できる。このように、多項式を用いることで、乗算と加算によって座標変換の演算を構成できる。 In this way, the first arithmetic circuit calculates the terms x2 , y2 , and xy before multiplication by the coefficients, and the second arithmetic circuit multiplies x2 , y2 , and xy by the coefficients to calculate each term of the polynomial, and the output coordinates can be output by adding up the calculated terms. In this way, by using polynomials, the coordinate transformation calculation can be configured by multiplication and addition.

また本実施形態では、多項式は、第1~第6項として、a1×x、a2×y、a3×xy、a4×x、a5×y、及びa6を含んでもよい。係数情報は、第1~第6係数として、a1、a2、a3、a4、a5、及びa6の情報を含んでもよい。第2演算回路は、a1とxを乗算する第1項演算回路と、a2とyを乗算する第2項演算回路と、a3とxyを乗算する第3項演算回路と、a4とxを乗算する第4項演算回路と、a5とyを乗算する第5項演算回路と、加算回路と、を含んでもよい。加算回路は、第1~第5演算回路が出力する第1~第5項、及び第6項であるa6を加算し、出力座標を出力してもよい。 In this embodiment, the polynomial may include a1×x 2 , a2×y 2 , a3×xy, a4×x, a5×y, and a6 as the first to sixth terms. The coefficient information may include information on a1, a2, a3, a4, a5, and a6 as the first to sixth coefficients. The second arithmetic circuit may include a first term arithmetic circuit that multiplies a1 by x 2 , a second term arithmetic circuit that multiplies a2 by y 2 , a third term arithmetic circuit that multiplies a3 by xy, a fourth term arithmetic circuit that multiplies a4 by x, a fifth term arithmetic circuit that multiplies a5 by y, and an adder circuit. The adder circuit may add the first to fifth terms output by the first to fifth arithmetic circuits and the sixth term, a6, and output the output coordinate.

このようにすれば、多項式の2次の項及び1次の項について、各項に対応した項演算回路が個別に設けられる。これにより、多項式の2次の項及び1次の項について、各項の演算が並列処理されるので、座標変換を高速に処理することが可能となる。 In this way, a term calculation circuit corresponding to each second-order term and first-order term of the polynomial is provided separately. This allows the calculation of each term of the second-order term and first-order term of the polynomial to be processed in parallel, making it possible to perform coordinate transformation at high speed.

また本実施形態では、回路装置は第1座標カウンターを含んでもよい。第1座標カウンターは、画素クロックに基づく画素単位の座標である第1カウント座標を出力してもよい。座標変換回路は、第1カウント座標を入力座標として座標変換を行ってもよい。 In this embodiment, the circuit device may also include a first coordinate counter. The first coordinate counter may output a first count coordinate, which is a pixel-unit coordinate based on a pixel clock. The coordinate conversion circuit may perform coordinate conversion using the first count coordinate as an input coordinate.

本実施形態によれば、第1座標カウンターが画素クロックに基づいて1画素ずつ第1カウント座標を出力し、その第1カウント座標を座標変換回路が出力座標に変換する。これにより、画素クロックに従って1画素ずつ出力座標が出力されるので、マッピング処理回路が画素クロックに基づいて1画素ずつマッピング処理を行うことが可能となる。これにより、リアルタイム処理に適した歪み補正が実現される。 According to this embodiment, the first coordinate counter outputs the first count coordinate for each pixel based on the pixel clock, and the coordinate conversion circuit converts the first count coordinate into an output coordinate. As a result, the output coordinate is output for each pixel according to the pixel clock, and the mapping processing circuit can perform mapping processing for each pixel based on the pixel clock. This realizes distortion correction suitable for real-time processing.

また本実施形態では、入力座標は、第1画像及び第2画像の一方の画像上の座標に対応した座標であってもよい。出力座標は、第1画像及び第2画像の他方の画像上の座標に対応した座標であってもよい。 In addition, in this embodiment, the input coordinates may be coordinates corresponding to coordinates on one of the first image and the second image. The output coordinates may be coordinates corresponding to coordinates on the other of the first image and the second image.

マッピング処理回路がインバースワープを行う場合、入力座標は第2画像上の座標に対応し、出力座標は第1画像上の座標に対応する。マッピング処理回路がフォワードワープを行う場合、入力座標は第1画像上の座標に対応し、出力座標は第2画像上の座標に対応する。多項式を用いた演算処理において、インバースワープに対応した係数、或いはフォワードワープに対応した係数を用いることで、インバースワープ及びフォワードワープのいずれも実現可能である。 When the mapping processing circuit performs inverse warp, the input coordinates correspond to the coordinates on the second image, and the output coordinates correspond to the coordinates on the first image. When the mapping processing circuit performs forward warp, the input coordinates correspond to the coordinates on the first image, and the output coordinates correspond to the coordinates on the second image. In the arithmetic processing using polynomials, both inverse warp and forward warp can be realized by using coefficients corresponding to inverse warp or coefficients corresponding to forward warp.

また本実施形態では、マッピング処理回路は、画素クロックに基づく画素単位の座標である第2カウント座標を出力する第2座標カウンターと、第1画像を記憶する画像メモリーと、画像メモリーのアクセス制御を行うメモリー制御回路と、を含んでもよい。メモリー制御回路は、第2カウント座標に基づいて第1画像を画像メモリーに書き込み、出力座標に基づいて画像メモリーから読み出した画素値を、第2画像の第1カウント座標における画素値として出力することで、マッピング処理を行ってもよい。又は、メモリー制御回路は、第1画像の第1カウント座標における画素値を出力座標における画素値として画像メモリーに書き込み、第2カウント座標に基づいて画像メモリーから読み出した画素値を、第2画像の第2カウント座標における画素値として出力することで、マッピング処理を行ってもよい。 In this embodiment, the mapping processing circuit may include a second coordinate counter that outputs second count coordinates, which are pixel-unit coordinates based on a pixel clock, an image memory that stores the first image, and a memory control circuit that controls access to the image memory. The memory control circuit may perform mapping processing by writing the first image to the image memory based on the second count coordinates, and outputting pixel values read from the image memory based on the output coordinates as pixel values at the first count coordinates of the second image. Alternatively, the memory control circuit may perform mapping processing by writing pixel values at the first count coordinates of the first image to the image memory as pixel values at the output coordinates, and outputting pixel values read from the image memory based on the second count coordinates as pixel values at the second count coordinates of the second image.

前者のマッピング処理では、画像メモリーから第2画像が読み出される際に、第2画像の入力座標における画素値が、第1画像の出力座標における画素値から取得されている。これにより、インバースワープが実現される。後者のマッピング処理では、画像メモリーに第1画像が書き込まれる際に、第1画像の入力座標における画素値が、出力座標における画素値に移動されている。これにより、フォワードワープが実現される。 In the former mapping process, when the second image is read from the image memory, the pixel values at the input coordinates of the second image are obtained from the pixel values at the output coordinates of the first image. This achieves inverse warping. In the latter mapping process, when the first image is written to the image memory, the pixel values at the input coordinates of the first image are moved to the pixel values at the output coordinates. This achieves forward warping.

また本実施形態では、回路装置は回転変換回路を含んでもよい。回転変換回路は、座標の回転変換を行い、回転後座標を出力してもよい。座標変換回路は、回転後座標を入力座標として座標変換を行ってもよい。 In this embodiment, the circuit device may also include a rotation transformation circuit. The rotation transformation circuit may perform a rotation transformation of the coordinates and output the rotated coordinates. The coordinate transformation circuit may perform a coordinate transformation using the rotated coordinates as input coordinates.

このようにすれば、回転後座標である入力座標が出力座標に変換され、その出力座標に基づいてマッピング処理が行われる。これにより、曲面ディスプレイの取り付け誤差等に対応した画像回転と、曲面ディスプレイによる画像の歪みに対応した画像歪み補正とを、実現できる。 In this way, the input coordinates, which are the rotated coordinates, are converted to output coordinates, and the mapping process is performed based on the output coordinates. This makes it possible to realize image rotation that corresponds to the installation error of the curved display, and image distortion correction that corresponds to the image distortion caused by the curved display.

また本実施形態では、回路装置は第1座標カウンターを含んでもよい。第1座標カウンターは、画素クロックに基づく画素単位の座標である第1カウント座標を出力してもよい。回転変換回路は、第1カウント座標に対して回転変換を行うことで、回転後座標を求めてもよい。 In this embodiment, the circuit device may also include a first coordinate counter. The first coordinate counter may output a first count coordinate, which is a pixel-based coordinate based on a pixel clock. The rotation transformation circuit may perform a rotation transformation on the first count coordinate to obtain a rotated coordinate.

本実施形態によれば、第1座標カウンターが画素クロックに基づいて1画素ずつ第1カウント座標を出力し、その第1カウント座標を回転変換回路が回転後座標に変換し、その回転後座標を座標変換回路が出力座標に変換する。これにより、画素クロックに従って1画素ずつ出力座標が出力されるので、マッピング処理回路が画素クロックに基づいて1画素ずつマッピング処理を行うことが可能となる。これにより、リアルタイム処理に適した回転補正及び歪み補正が実現される。 According to this embodiment, the first coordinate counter outputs the first count coordinates for each pixel based on the pixel clock, the rotation conversion circuit converts the first count coordinates into rotated coordinates, and the coordinate conversion circuit converts the rotated coordinates into output coordinates. As a result, the output coordinates are output for each pixel according to the pixel clock, making it possible for the mapping processing circuit to perform mapping processing for each pixel based on the pixel clock. This allows rotation correction and distortion correction suitable for real-time processing to be realized.

また本実施形態では、第1カウント座標は、第1画像及び第2画像の一方の画像上の座標を指定する座標であってもよい。出力座標は、第1画像及び第2画像の他方の画像上の座標を指定する座標であってもよい。 In this embodiment, the first count coordinates may be coordinates that specify coordinates on one of the first and second images. The output coordinates may be coordinates that specify coordinates on the other of the first and second images.

マッピング処理回路がインバースワープを行う場合、第1カウント座標は第2画像上の座標に対応し、出力座標は第1画像上の座標に対応する。マッピング処理回路がフォワードワープを行う場合、第1カウント座標は第1画像上の座標に対応し、出力座標は第2画像上の座標に対応する。多項式を用いた演算処理において、インバースワープに対応した係数、或いはフォワードワープに対応した係数を用いることで、インバースワープ及びフォワードワープのいずれも実現可能である。また回転変換回路が第1カウント座標を回転変換するので、第1画像が第2画像にマッピング処理される際に歪み補正と画像回転が同時に行われることになる。 When the mapping processing circuit performs inverse warp, the first count coordinates correspond to coordinates on the second image, and the output coordinates correspond to coordinates on the first image. When the mapping processing circuit performs forward warp, the first count coordinates correspond to coordinates on the first image, and the output coordinates correspond to coordinates on the second image. In the arithmetic processing using polynomials, both inverse warp and forward warp can be realized by using coefficients corresponding to inverse warp or coefficients corresponding to forward warp. In addition, since the rotation transformation circuit performs rotation transformation on the first count coordinates, distortion correction and image rotation are performed simultaneously when the first image is mapped to the second image.

また本実施形態では、マッピング処理回路は、画素クロックに基づく画素単位の座標である第2カウント座標を出力する第2座標カウンターと、第1画像を記憶する画像メモリーと、画像メモリーのアクセス制御を行うメモリー制御回路と、を含んでもよい。メモリー制御回路は、第2カウント座標に基づいて第1画像を画像メモリーに書き込み、出力座標に基づいて画像メモリーから読み出した画素値を、第2画像の第1カウント座標における画素値として出力することで、マッピング処理を行ってもよい。又は、メモリー制御回路は、第1画像の第1カウント座標における画素値を出力座標における画素値として画像メモリーに書き込み、第2カウント座標に基づいて画像メモリーから読み出した画素値を、第2画像の第2カウント座標における画素値として出力することで、マッピング処理を行ってもよい。 In this embodiment, the mapping processing circuit may include a second coordinate counter that outputs second count coordinates, which are pixel-unit coordinates based on a pixel clock, an image memory that stores the first image, and a memory control circuit that controls access to the image memory. The memory control circuit may perform mapping processing by writing the first image to the image memory based on the second count coordinates, and outputting pixel values read from the image memory based on the output coordinates as pixel values at the first count coordinates of the second image. Alternatively, the memory control circuit may perform mapping processing by writing pixel values at the first count coordinates of the first image to the image memory as pixel values at the output coordinates, and outputting pixel values read from the image memory based on the second count coordinates as pixel values at the second count coordinates of the second image.

前者のマッピング処理では、画像メモリーから第2画像が読み出される際に、第2画像の第1カウント座標における画素値が、第1画像の出力座標における画素値から取得されている。これにより、画像回転及び歪み補正を含んだインバースワープが実現される。後者のマッピング処理では、画像メモリーに第1画像が書き込まれる際に、第1画像の第1カウント座標における画素値が、出力座標における画素値に移動されている。これにより、画像回転及び歪み補正を含んだフォワードワープが実現される。 In the former mapping process, when the second image is read from the image memory, the pixel value at the first count coordinate of the second image is obtained from the pixel value at the output coordinate of the first image. This achieves an inverse warp that includes image rotation and distortion correction. In the latter mapping process, when the first image is written to the image memory, the pixel value at the first count coordinate of the first image is moved to the pixel value at the output coordinate. This achieves a forward warp that includes image rotation and distortion correction.

また本実施形態では、多項式は、a1×x+a2×y+a3×xy+a4×x+a5×y+a6であってもよい。 Also, in this embodiment, the polynomial may be a1xx2 + a2xy2 +a3xy+a4xx+a5xy+a6.

このようにすれば、2次多項式を用いた演算処理により座標変換が行われる。2次多項式の各項は、最大で2回の乗算しか含まない。このため、2次多項式を用いた座標変換は、より高次の多項式を用いる場合に比べて演算負荷が小さくなり、リアルタイム処理に適している。 In this way, coordinate transformation is performed by calculation using a quadratic polynomial. Each term of the quadratic polynomial contains a maximum of two multiplications. For this reason, coordinate transformation using a quadratic polynomial has a smaller calculation load than when using higher-order polynomials, making it suitable for real-time processing.

また本実施形態では、回路装置は第2マッピング処理回路と比較回路とを含んでもよい。第2マッピング処理回路は、マッピング処理の逆マッピング処理である第2マッピング処理を第2画像に対して行うことで、第3画像を生成してもよい。比較回路は、第1画像と第3画像との比較を行い、比較の結果を、第2画像のエラー検出を行うための情報として出力してもよい。 In this embodiment, the circuit device may also include a second mapping processing circuit and a comparison circuit. The second mapping processing circuit may generate a third image by performing a second mapping process, which is an inverse mapping process of the mapping process, on the second image. The comparison circuit may compare the first image with the third image and output the comparison result as information for detecting errors in the second image.

このようにすれば、回路装置が、ヘッドアップディスプレイに表示するために歪み補正された画像が適切であるか検証できる。或いは、エラー検出情報が回路装置に外部に出力される場合には、そのエラー検出情報を受け取る外部装置が、上記検証を実施できる。マッピング処理回路が第1画像を第2画像にマッピングし、第2マッピング処理回路が第2画像を第3画像に逆マッピングするので、第2画像が正常である場合には第3画像が第1画像と同じ画像に戻るはずである。比較回路は、その第3画像と第1画像を比較することで、第2画像のエラー検出を行うための情報を出力できる。 In this way, the circuit device can verify whether the distortion-corrected image is appropriate for display on the head-up display. Alternatively, if error detection information is output externally to the circuit device, the external device that receives the error detection information can perform the above verification. Since the mapping processing circuit maps the first image onto the second image and the second mapping processing circuit inversely maps the second image onto the third image, if the second image is normal, the third image should return to the same image as the first image. The comparison circuit can output information for detecting errors in the second image by comparing the third image with the first image.

また本実施形態の電子機器は、上記のいずれかに記載された回路装置を含む。 The electronic device of this embodiment also includes any of the circuit devices described above.

また本実施形態の移動体は、上記のいずれかに記載された回路装置を含む。 The moving body of this embodiment also includes any of the circuit devices described above.

なお、上記のように本実施形態について詳細に説明したが、本開示の新規事項および効果から実体的に逸脱しない多くの変形が可能であることは当業者には容易に理解できるであろう。従って、このような変形例はすべて本開示の範囲に含まれるものとする。例えば、明細書又は図面において、少なくとも一度、より広義または同義な異なる用語と共に記載された用語は、明細書又は図面のいかなる箇所においても、その異なる用語に置き換えることができる。また本実施形態及び変形例の全ての組み合わせも、本開示の範囲に含まれる。また回路装置、ヘッドアップディスプレイ、電子機器及び移動体の構成及び動作等も、本実施形態で説明したものに限定されず、種々の変形実施が可能である。 Although the present embodiment has been described in detail above, it will be readily apparent to those skilled in the art that many modifications are possible that do not substantially deviate from the novel matters and effects of the present disclosure. Therefore, all such modifications are intended to be included in the scope of the present disclosure. For example, a term described at least once in the specification or drawings together with a different term having a broader or similar meaning may be replaced with that different term anywhere in the specification or drawings. All combinations of the present embodiment and modifications are also included in the scope of the present disclosure. Furthermore, the configurations and operations of the circuit device, head-up display, electronic device, and mobile object are not limited to those described in the present embodiment, and various modifications are possible.

10…座標カウンター、20…座標変換回路、21…第1演算回路、22…第2演算回路、30…マッピング処理回路、31…メモリー制御回路、32…座標カウンター、33…画像メモリー、34…ライトアドレスコントローラー、35…リードアドレスコントローラー、40…回転変換回路、50…座標カウンター、60…座標変換回路、70…マッピング処理回路、80…回転変換回路、100…回路装置、110…インターフェース、131…第1処理回路、132…第2処理回路、133…記憶部、135…画像処理回路、140…インターフェース、145…比較回路、150…エラー検出回路、160…記憶部、170…レジスター回路、176…エラー検出結果レジスター、178…閾値レジスター、190…インターフェース、200…処理装置、206…自動車、208…制御装置、300…電子機器、310…処理装置、320…回路装置、330…表示ドライバー、340…表示パネル、350…記憶装置、360…操作装置、370…通信装置、400…ヘッドアップディスプレイ、AC1~AC5…第1~第5項演算回路、ADDC…加算回路、ADRD…読み出しアドレス、ADWR…書き込みアドレス、CF1…係数情報、CXYA1…第1カウント座標、CXYB1…第2カウント座標、IMA1,IMG1…第1画像、IMA2,IMG2…第2画像、IMA3…第3画像、IXY1…入力座標、MC1…x演算回路、MC2…y演算回路、MC3…xy演算回路、QXY1…出力座標、RT1…角度情報、a1~a6…係数 10...coordinate counter, 20...coordinate conversion circuit, 21...first arithmetic circuit, 22...second arithmetic circuit, 30...mapping processing circuit, 31...memory control circuit, 32...coordinate counter, 33...image memory, 34...write address controller, 35...read address controller, 40...rotation conversion circuit, 50...coordinate counter, 60...coordinate conversion circuit, 70...mapping processing circuit, 80...rotation conversion circuit, 100...circuit device, 110...interface, 131...first processing circuit, 132...second processing circuit, 133...memory unit, 135...image processing circuit, 140...interface, 145...comparison circuit, 150...error detection circuit, 160...memory unit, 170...register circuit, 176...error detection Result register, 178... threshold register, 190... interface, 200... processing device, 206... automobile, 208... control device, 300... electronic device, 310... processing device, 320... circuit device, 330... display driver, 340... display panel, 350... storage device, 360... operation device, 370... communication device, 400... head-up display, AC1 to AC5... first to fifth term calculation circuits, ADDC... addition circuit, ADRD... read address, ADWR... write address, CF1... coefficient information, CXYA1... first count coordinate, CXYB1... second count coordinate, IMA1, IMG1... first image, IMA2, IMG2... second image, IMA3... third image, IXY1... input coordinate, MC1... x 2 calculation circuit, MC2...y 2 calculation circuit, MC3...xy calculation circuit, QXY1...output coordinates, RT1...angle information, a1 to a6...coefficients

Claims (17)

曲面ディスプレイを用いたヘッドアップディスプレイを設置場所に取り付けるときの取り付け誤差による表示の傾きを補正する座標の回転変換を行い、回転後座標を出力する回転変換回路と、
前記回転後座標である入力座標から出力座標への座標変換を行う座標変換回路と、
入力される第1画像に対して、前記出力座標に基づくマッピング処理を行うことで、前記曲面ディスプレイに画像を表示するための表示パネルに表示される第2画像を生成するマッピング処理回路と、
を含み、
前記座標変換回路は、
前記入力座標が1画素分ずつ逐次に入力され、前記入力座標に対して1画素分ずつ逐次に、前記座標変換を表す2次以上の多項式を用いた演算処理を行うことで、前記出力座標を1画素分ずつ逐次に出力し、
前記マッピング処理回路は、
前記出力座標に基づいて1画素分ずつ逐次に前記マッピング処理を行うことを特徴とする回路装置。
a rotation conversion circuit that performs rotation conversion of coordinates to correct the tilt of the display due to an installation error when the head-up display using a curved display is installed at an installation location , and outputs the rotated coordinates;
a coordinate conversion circuit for converting the input coordinates, which are the rotated coordinates, into output coordinates;
a mapping processing circuit that performs mapping processing based on the output coordinates on an input first image to generate a second image to be displayed on a display panel for displaying an image on the curved display;
Including,
The coordinate conversion circuit includes:
the input coordinates are inputted one pixel at a time, and an arithmetic process is performed on the input coordinates one pixel at a time using a polynomial of degree two or higher that represents the coordinate transformation, thereby outputting the output coordinates one pixel at a time;
The mapping processing circuit includes:
a circuit device which performs said mapping process sequentially for each pixel based on said output coordinates;
請求項1に記載された回路装置において、
前記入力座標が(x,y)であり、xが0以上N以下の整数であり、yが0以上M以下の整数であり、N及びMが2以上の整数であるとき、
前記座標変換回路に逐次に入力される前記入力座標は、y=0において(0,0)、(1,0)、(2,0)、・・・、(N-1,0)の順であり、次に、y=1において(0,1)、(1,1)、(2,1)、・・・、(N-1,1)の順であり、以降yが順次に増加されて(N-1,M-1)まで繰り返されることを特徴とする回路装置。
2. The circuit device according to claim 1,
When the input coordinates are (x, y), x is an integer between 0 and N, y is an integer between 0 and M, and N and M are integers of 2 or more,
The input coordinates sequentially input to the coordinate conversion circuit are (0,0), (1,0), (2,0), ..., (N-1,0) when y=0, then (0,1), (1,1), (2,1), ..., (N-1,1) when y=1, and thereafter y is increased sequentially and this is repeated up to (N-1,M-1).
請求項1又は2に記載の回路装置において、
前記座標変換回路は、
前記多項式の係数情報と前記入力座標とが入力され、前記係数情報に基づく前記演算処理により前記入力座標から前記出力座標を求めることを特徴とする回路装置。
3. The circuit device according to claim 1,
The coordinate conversion circuit includes:
A circuit device, comprising: coefficient information of the polynomial and the input coordinates; and determining the output coordinates from the input coordinates by the arithmetic processing based on the coefficient information.
請求項3に記載の回路装置において、
前記座標変換回路は、
第i項演算回路が、前記係数情報に基づいて前記多項式の第1~第n項の第i項を演算する第1~第n項演算回路(nは2以上の整数、iは1以上n以下の整数)と、
前記第1~第n項演算回路が出力する前記第1~第n項を加算し、前記出力座標を出力する加算回路と、
を有することを特徴とする回路装置。
4. The circuit device according to claim 3,
The coordinate conversion circuit includes:
an i-th term calculation circuit (n is an integer of 2 or more, i is an integer of 1 to n inclusive) that calculates an i-th term of a 1st to n-th term of the polynomial based on the coefficient information;
an addition circuit that adds the first to n-th terms output from the first to n-th term calculation circuits and outputs the output coordinate;
A circuit device comprising:
請求項4に記載された回路装置において、
前記第1~第n項演算回路は、
前記第1~第n項を並列演算することを特徴とする回路装置。
5. The circuit device according to claim 4,
The first to n-th term arithmetic circuits include
A circuit device which calculates the first to n-th terms in parallel.
請求項3に記載の回路装置において、
前記座標変換回路は、
前記入力座標を(x,y)としたとき、x、y、及びxyを求める第1演算回路と、
前記第1演算回路の演算結果と前記係数情報とに基づいて前記出力座標を求める第2演算回路と、
を含むことを特徴とする回路装置。
4. The circuit device according to claim 3,
The coordinate conversion circuit includes:
a first calculation circuit for calculating x 2 , y 2 , and xy when the input coordinates are (x, y);
a second calculation circuit that determines the output coordinates based on the calculation result of the first calculation circuit and the coefficient information;
A circuit device comprising:
請求項6に記載の回路装置において、
前記多項式は、第1~第6項として、a1×x、a2×y、a3×xy、a4×x、a5×y、及びa6を含み、
前記係数情報は、前記第1~第6係数として、a1、a2、a3、a4、a5、及びa6の情報を含み、
前記第2演算回路は、
前記a1と前記xを乗算する第1項演算回路と、
前記a2と前記yを乗算する第2項演算回路と、
前記a3と前記xyを乗算する第3項演算回路と、
前記a4と前記xを乗算する第4項演算回路と、
前記a5と前記yを乗算する第5項演算回路と、
前記第1~第5演算回路が出力する前記第1~第5項、及び前記第6項であるa6を加算し、前記出力座標を出力する加算回路と、
を含むことを特徴とする回路装置。
7. The circuit device according to claim 6,
The polynomial includes, as first to sixth terms, a1×x 2 , a2×y 2 , a3×xy, a4×x, a5×y, and a6;
The coefficient information includes information on a1, a2, a3, a4, a5, and a6 as the first to sixth coefficients,
The second arithmetic circuit includes:
a first term calculation circuit that multiplies the a1 by the x2 ;
a second term calculation circuit that multiplies the a2 by the y2 ;
a third term calculation circuit that multiplies the a3 by the x and y;
a fourth term calculation circuit that multiplies the a4 by the x;
a fifth term calculation circuit that multiplies the a5 by the y;
an adder circuit that adds the first to fifth terms output by the first to fifth arithmetic circuits and the sixth term a6, and outputs the output coordinate;
A circuit device comprising:
請求項1乃至7のいずれか一項に記載の回路装置において、
画素クロックに基づく画素単位の座標である第1カウント座標を出力する第1座標カウンターを含み、
前記座標変換回路は、
前記第1カウント座標を前記入力座標として前記座標変換を行うことを特徴とする回路装置。
8. The circuit device according to claim 1,
a first coordinate counter that outputs a first count coordinate, which is a pixel unit coordinate based on a pixel clock;
The coordinate conversion circuit includes:
A circuit device which performs the coordinate transformation using the first count coordinate as the input coordinate.
請求項7に記載の回路装置において、
前記入力座標は、前記第1画像及び前記第2画像の一方の画像上の座標に対応した座標であり、
前記出力座標は、前記第1画像及び前記第2画像の他方の画像上の座標に対応した座標であることを特徴とする回路装置。
8. The circuit device according to claim 7,
the input coordinates are coordinates corresponding to coordinates on one of the first image and the second image,
A circuit device, characterized in that the output coordinates are coordinates corresponding to coordinates on the other image of the first image and the second image.
請求項8に記載の回路装置において、
前記マッピング処理回路は、
前記画素クロックに基づく画素単位の座標である第2カウント座標を出力する第2座標カウンターと、
前記第1画像を記憶する画像メモリーと、
前記画像メモリーのアクセス制御を行うメモリー制御回路と、
を含み、
前記メモリー制御回路は、
前記第2カウント座標に基づいて前記第1画像を前記画像メモリーに書き込み、前記出力座標に基づいて前記画像メモリーから読み出した画素値を、前記第2画像の前記第1カウント座標における画素値として出力することで、前記マッピング処理を行う、又は、
前記第1画像の前記第1カウント座標における画素値を前記出力座標における画素値として前記画像メモリーに書き込み、前記第2カウント座標に基づいて前記画像メモリーから読み出した画素値を、前記第2画像の前記第2カウント座標における画素値として出力することで、前記マッピング処理を行うことを特徴とする回路装置。
9. The circuit device according to claim 8,
The mapping processing circuit includes:
a second coordinate counter that outputs a second count coordinate, which is a pixel unit coordinate based on the pixel clock;
an image memory for storing the first image;
a memory control circuit for controlling access to the image memory;
Including,
The memory control circuit includes:
performing the mapping process by writing the first image into the image memory based on the second count coordinates, and outputting pixel values read from the image memory based on the output coordinates as pixel values at the first count coordinates of the second image; or
A circuit device characterized in that the mapping process is performed by writing a pixel value at the first count coordinate of the first image to the image memory as a pixel value at the output coordinate, and outputting a pixel value read from the image memory based on the second count coordinate as a pixel value at the second count coordinate of the second image.
請求項1に記載の回路装置において、
画素クロックに基づく画素単位の座標である第1カウント座標を出力する第1座標カウンターを含み、
前記回転変換回路は、
前記第1カウント座標に対して前記回転変換を行うことで、前記回転後座標を求めることを特徴とする回路装置。
2. The circuit device according to claim 1,
a first coordinate counter that outputs a first count coordinate, which is a pixel unit coordinate based on a pixel clock;
The rotation conversion circuit includes:
A circuit device comprising: a first count coordinate unit that performs the rotation transformation to obtain the rotated coordinate unit.
請求項11に記載の回路装置において、
前記第1カウント座標は、前記第1画像及び前記第2画像の一方の画像上の座標を指定する座標であり、
前記出力座標は、前記第1画像及び前記第2画像の他方の画像上の座標を指定する座標であることを特徴とする回路装置。
12. The circuit arrangement according to claim 11,
the first count coordinates are coordinates that specify coordinates on one of the first image and the second image,
A circuit device, characterized in that the output coordinates are coordinates that specify coordinates on the other image of the first image and the second image.
請求項11に記載の回路装置において、
前記マッピング処理回路は、
前記画素クロックに基づく画素単位の座標である第2カウント座標を出力する第2座標カウンターと、
前記第1画像を記憶する画像メモリーと、
前記画像メモリーのアクセス制御を行うメモリー制御回路と、
を含み、
前記メモリー制御回路は、
前記第2カウント座標に基づいて前記第1画像を前記画像メモリーに書き込み、前記出力座標に基づいて前記画像メモリーから読み出した画素値を、前記第2画像の前記第1カウント座標における画素値として出力することで、前記マッピング処理を行う、又は、
前記第1画像の前記第1カウント座標における画素値を前記出力座標における画素値として前記画像メモリーに書き込み、前記第2カウント座標に基づいて前記画像メモリーから読み出した画素値を、前記第2画像の前記第2カウント座標における画素値として出力することで、前記マッピング処理を行うことを特徴とする回路装置。
12. The circuit arrangement according to claim 11,
The mapping processing circuit includes:
a second coordinate counter that outputs a second count coordinate, which is a pixel unit coordinate based on the pixel clock;
an image memory for storing the first image;
a memory control circuit for controlling access to the image memory;
Including,
The memory control circuit includes:
performing the mapping process by writing the first image into the image memory based on the second count coordinates, and outputting pixel values read from the image memory based on the output coordinates as pixel values at the first count coordinates of the second image; or
A circuit device characterized in that the mapping process is performed by writing a pixel value at the first count coordinate of the first image to the image memory as a pixel value at the output coordinate, and outputting a pixel value read from the image memory based on the second count coordinate as a pixel value at the second count coordinate of the second image.
請求項1乃至13のいずれか一項に記載の回路装置において、
前記多項式は、a1×x+a2×y+a3×xy+a4×x+a5×y+a6であることを特徴とする回路装置。
14. The circuit arrangement according to claim 1,
The circuit device, wherein the polynomial is a1x2 + a2xy2 +a3xy+a4xx+a5xy+a6.
請求項1乃至13のいずれか一項に記載の回路装置において、
前記マッピング処理の逆マッピング処理である第2マッピング処理を前記第2画像に対して行うことで、第3画像を生成する第2マッピング処理回路と、
前記第1画像と前記第3画像との比較を行い、前記比較の結果を、前記第2画像のエラー検出を行うための情報として出力する比較回路と、
を含むことを特徴とする回路装置。
14. The circuit arrangement according to claim 1,
a second mapping processing circuit that performs a second mapping process, which is an inverse mapping process of the mapping process, on the second image to generate a third image;
a comparison circuit that compares the first image with the third image and outputs a result of the comparison as information for detecting an error in the second image;
A circuit device comprising:
請求項1乃至15のいずれか一項に記載の回路装置を含むことを特徴とする電子機器。 An electronic device comprising the circuit device according to any one of claims 1 to 15. 請求項1乃至15のいずれか一項に記載の回路装置を含むことを特徴とする移動体。
A moving object comprising the circuit device according to any one of claims 1 to 15.
JP2019195845A 2019-04-29 2019-10-29 Circuit device, electronic device and mobile device Active JP7467883B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010342413.3A CN111861865B (en) 2019-04-29 2020-04-27 Circuit devices, electronic equipment, and moving objects
US16/860,142 US11010866B2 (en) 2019-04-29 2020-04-28 Circuit device, electronic apparatus, and mobile body

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US201962839849P 2019-04-29 2019-04-29
US62/839849 2019-04-29

Publications (2)

Publication Number Publication Date
JP2020184059A JP2020184059A (en) 2020-11-12
JP7467883B2 true JP7467883B2 (en) 2024-04-16

Family

ID=73045090

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019195845A Active JP7467883B2 (en) 2019-04-29 2019-10-29 Circuit device, electronic device and mobile device

Country Status (1)

Country Link
JP (1) JP7467883B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113691741B (en) * 2021-07-20 2024-10-25 上海安路信息科技股份有限公司 Video image rotation display method and device

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100525425B1 (en) 2003-02-04 2005-11-02 엘지전자 주식회사 Image warping method and apparatus
JP2005347813A (en) 2004-05-31 2005-12-15 Olympus Corp Video conversion method and image converter, and multi-projection system
US20060050074A1 (en) 2004-09-09 2006-03-09 Silicon Optix Inc. System and method for representing a general two dimensional spatial transformation
WO2007072695A1 (en) 2005-12-22 2007-06-28 Matsushita Electric Industrial Co., Ltd. Image projection device
JP2007221365A (en) 2006-02-15 2007-08-30 Seiko Epson Corp Image processing method, image processing program, recording medium, and projector
JP2008512767A (en) 2004-09-09 2008-04-24 シリコン オプティックス インコーポレイテッド General two-dimensional spatial transformation expression system and method
JP2008113416A (en) 2006-08-11 2008-05-15 Silicon Optix Inc System and method for automatic calibration and correction of shape of display and color
JP2008187729A (en) 2006-02-20 2008-08-14 Matsushita Electric Works Ltd Image signal processing apparatus
JP2010164869A (en) 2009-01-19 2010-07-29 Toshiba Corp In-car display device
CN102231788A (en) 2010-02-16 2011-11-02 株式会社理光 Method and apparatus for high-speed and low-complexity piecewise geometric transformation of signals
JP2015087619A (en) 2013-10-31 2015-05-07 日本精機株式会社 Vehicle information projection system and projection device
JP2015200760A (en) 2014-04-08 2015-11-12 セイコーエプソン株式会社 Projector, projector control method, and program
JP2016163189A (en) 2015-03-02 2016-09-05 セイコーエプソン株式会社 Image processing apparatus, image processing method, and display apparatus
JP2017185988A (en) 2016-04-01 2017-10-12 株式会社デンソー Device for vehicle, program for vehicle, and filter design program
JP2017207747A (en) 2016-05-17 2017-11-24 株式会社半導体エネルギー研究所 Display system and vehicle
JP2018097148A (en) 2016-12-13 2018-06-21 パナソニックIpマネジメント株式会社 Image projection system, image projection device, and image projection method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3843232A1 (en) * 1988-12-22 1990-06-28 Philips Patentverwaltung CIRCUIT ARRANGEMENT FOR GEOMETRIC IMAGE TRANSFORMATION
JP3657350B2 (en) * 1996-04-26 2005-06-08 株式会社ソニー・コンピュータエンタテインメント Function generator

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100525425B1 (en) 2003-02-04 2005-11-02 엘지전자 주식회사 Image warping method and apparatus
JP2005347813A (en) 2004-05-31 2005-12-15 Olympus Corp Video conversion method and image converter, and multi-projection system
US20060050074A1 (en) 2004-09-09 2006-03-09 Silicon Optix Inc. System and method for representing a general two dimensional spatial transformation
JP2008512767A (en) 2004-09-09 2008-04-24 シリコン オプティックス インコーポレイテッド General two-dimensional spatial transformation expression system and method
WO2007072695A1 (en) 2005-12-22 2007-06-28 Matsushita Electric Industrial Co., Ltd. Image projection device
JP2007221365A (en) 2006-02-15 2007-08-30 Seiko Epson Corp Image processing method, image processing program, recording medium, and projector
JP2008187729A (en) 2006-02-20 2008-08-14 Matsushita Electric Works Ltd Image signal processing apparatus
JP2008113416A (en) 2006-08-11 2008-05-15 Silicon Optix Inc System and method for automatic calibration and correction of shape of display and color
JP2010164869A (en) 2009-01-19 2010-07-29 Toshiba Corp In-car display device
CN102231788A (en) 2010-02-16 2011-11-02 株式会社理光 Method and apparatus for high-speed and low-complexity piecewise geometric transformation of signals
JP2015087619A (en) 2013-10-31 2015-05-07 日本精機株式会社 Vehicle information projection system and projection device
JP2015200760A (en) 2014-04-08 2015-11-12 セイコーエプソン株式会社 Projector, projector control method, and program
JP2016163189A (en) 2015-03-02 2016-09-05 セイコーエプソン株式会社 Image processing apparatus, image processing method, and display apparatus
JP2017185988A (en) 2016-04-01 2017-10-12 株式会社デンソー Device for vehicle, program for vehicle, and filter design program
JP2017207747A (en) 2016-05-17 2017-11-24 株式会社半導体エネルギー研究所 Display system and vehicle
JP2018097148A (en) 2016-12-13 2018-06-21 パナソニックIpマネジメント株式会社 Image projection system, image projection device, and image projection method

Also Published As

Publication number Publication date
JP2020184059A (en) 2020-11-12

Similar Documents

Publication Publication Date Title
CN111353951B (en) Circuit device, electronic apparatus, and moving object
JP5108605B2 (en) Driving support system and vehicle
US20080231710A1 (en) Method and apparatus for camera calibration, and vehicle
JP2019149760A (en) Circuit device and electronic apparatus
CN101166289A (en) Heads up display system
US10412308B2 (en) Display controller and display control method
JP2011105306A (en) Display device for vehicle
CN111861865B (en) Circuit devices, electronic equipment, and moving objects
CN113129224B (en) Display system, electronic apparatus, moving object, and display method
JP2008543071A (en) Integrated circuit having warping arithmetic unit
JP7467883B2 (en) Circuit device, electronic device and mobile device
JP2007006175A (en) Image generation device and method for vehicle
US20080088528A1 (en) Warp Image Circuit
JP7029350B2 (en) Image processing device and image processing method
CN113132714B (en) Circuit device, electronic apparatus, and moving object
US12080075B2 (en) Method for generating an image of vehicle surroundings, and apparatus for generating an image of vehicle surroundings
JP6600342B2 (en) Gesture operation method based on depth value and gesture operation system based on depth value
JP7480602B2 (en) Display system, electronic device, mobile object, and display method
CN117252932A (en) AR-HUD calibration method, system, equipment and automobile
US20240075876A1 (en) Below vehicle rendering for surround view systems
CN113315961A (en) Method and device for mapping transparent A-pillar image block
JP7521270B2 (en) Circuit device, electronic device and mobile device
JP5047912B2 (en) In-vehicle image processing apparatus and image processing method thereof
EP3671722A2 (en) Circuit device, electronic device, and vehicle
JP2018047811A (en) Vehicular head-up display device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220916

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230410

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230509

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230704

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20231017

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20231211

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20231226

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240219

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20240305

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240318

R150 Certificate of patent or registration of utility model

Ref document number: 7467883

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150