[go: up one dir, main page]

JP2020184059A - Circuit devices, electronic devices and mobiles - Google Patents

Circuit devices, electronic devices and mobiles Download PDF

Info

Publication number
JP2020184059A
JP2020184059A JP2019195845A JP2019195845A JP2020184059A JP 2020184059 A JP2020184059 A JP 2020184059A JP 2019195845 A JP2019195845 A JP 2019195845A JP 2019195845 A JP2019195845 A JP 2019195845A JP 2020184059 A JP2020184059 A JP 2020184059A
Authority
JP
Japan
Prior art keywords
image
circuit
coordinates
coordinate
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.)
Granted
Application number
JP2019195845A
Other languages
Japanese (ja)
Other versions
JP7467883B2 (en
Inventor
エリック ジェフリー
Eric Jeffrey
ジェフリー エリック
クマー アナンダバイラバサミー アナンド
Kumar Anandabairavasamy Anand
クマー アナンダバイラバサミー アナンド
泰俊 秋葉
Yasutoshi Akiba
泰俊 秋葉
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

Landscapes

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

Abstract

【課題】曲面ディスプレイに対応した歪み補正を高速処理することが可能な回路装置等を提供すること。【解決手段】回路装置100は、座標変換回路20とマッピング処理回路30とを含む。座標変換回路20は、入力座標IXY1から出力座標QXY1への座標変換を行う。マッピング処理回路30は、入力される第1画像IMG1に対して、出力座標QXY1に基づくマッピング処理を行うことで、曲面ディスプレイに画像を表示するための表示パネルに表示される第2画像IMG2を生成する。座標変換回路20は、座標変換を表す2次以上の多項式を用いた演算処理を行うことで、入力座標IXY1から出力座標QXY1への座標変換を行う。【選択図】 図1An object of the present invention is to provide a circuit device and the like capable of high-speed processing of distortion correction corresponding to a curved display. A circuit device (100) includes a coordinate transformation circuit (20) and a mapping processing circuit (30). The coordinate conversion circuit 20 performs coordinate conversion from input coordinates IXY1 to output coordinates QXY1. Mapping processing circuit 30 performs mapping processing based on output coordinates QXY1 on input first image IMG1 to generate second image IMG2 to be displayed on a display panel for displaying an image on a curved display. do. The coordinate transformation circuit 20 performs coordinate transformation from the input coordinates IXY1 to the output coordinates QXY1 by performing arithmetic processing using a polynomial of degree 2 or higher representing the coordinate transformation. [Selection diagram] Fig. 1

Description

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

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

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

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

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

回路装置の第1構成例。First configuration example of a circuit device. 第1構成例における回路装置の動作を説明する図。The figure explaining the operation of the circuit apparatus in 1st configuration example. 座標変換回路の詳細構成例。Detailed configuration example of the coordinate conversion circuit. マッピング処理回路の詳細構成例。Detailed configuration example of the mapping processing circuit. 回路装置の第2構成例。A second configuration example of a circuit device. 第2構成例における回路装置の動作を説明する図。The figure explaining the operation of the circuit apparatus in the 2nd configuration example. ヘッドアップディスプレイの取り付け公差と回転補正との関係を説明する図。The figure explaining the relationship between the mounting tolerance of a head-up display and rotation correction. 回路装置の第3構成例。A third configuration example of a circuit device. 第3構成例における回路装置の動作を説明する図。The figure explaining the operation of the circuit apparatus in 3rd configuration example. 回路装置の第4構成例。A fourth configuration example of a circuit device. 第4構成例における回路装置の動作を説明する図。The figure explaining the operation of the circuit apparatus in 4th configuration example. 回路装置の第5構成例。A fifth configuration example of a circuit device. 第1処理回路及び第2処理回路の詳細構成例。Detailed configuration example of the first processing circuit and the second processing circuit. ヘッドアップディスプレイに表示される画像の一例。An example of an image displayed on a head-up display. マッピング処理する前の画像から抽出されたROIの画像。An image of ROI extracted from the image before mapping processing. ヘッドアップディスプレイに表示される画像から抽出されたROIの画像が逆マッピング処理された画像。An image in which the ROI image extracted from the image displayed on the head-up display is reverse-mapped. エッジ画像の例。An example of an edge image. 電子機器の構成例。Configuration example of electronic equipment. 移動体の例。An example of a mobile body.

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

1.第1構成例
図1は、本実施形態の回路装置100の第1構成例である。図2は、第1構成例における回路装置100の動作を説明する図である。
1. 1. First Configuration Example FIG. 1 is a first configuration example of the circuit device 100 of the present embodiment. FIG. 2 is a diagram illustrating 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 the head-up display. However, the circuit device 100 is not limited to the HUD controller, and may be, for example, a display driver that drives the display panel of the 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 a circuit element is 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 maps the image IMG1 to the image IMG2. The image IMG1 is an input image and is also called a first image. The image IMG2 is an output image and is also called a second image. The mapping process gives the image IMG 2 a distortion that cancels the distortion caused by the curved display of the head-up display. That is, the 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, a display image without distortion is presented to the user.

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

なお、第2構成例で説明するように、回路装置100はフォワードワープエンジンであってもよい。また第3、第4構成例で説明するように、回路装置100は更に画像回転を行ってもよい。 As described in the second configuration example, the circuit device 100 may be a forward warp engine. Further, 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と、を含む。 Hereinafter, the details of the first configuration example in which the circuit device 100 is an inverse warp engine will be described. As shown in FIG. 1, the circuit device 100 includes a coordinate counter 10, which 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次である場合の座標変換式を示す。
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 coordinates IXY1 are the coordinates (x, y) corresponding to the coordinates on the image IMG2, and the output coordinates QXY1 are the coordinates (x', y') corresponding to the coordinates on the image IMG1. is there. The coordinate conversion circuit 20 performs coordinate conversion from the input coordinate IXY1 to the output coordinate QXY1 by performing arithmetic processing using a polynomial of degree 2 or higher representing the coordinate conversion. The following equation (1) shows the coordinate transformation equation when the polynomial is quadratic.

上式(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 × x 2 on the right side is the first term of the polynomial for obtaining x'. Similarly, a2 × y 2 , a3 × xy, a4 × x, a5 × y, and a6 are the second, third, fourth, fifth, and sixth terms of the polynomial for finding x'. .. a1 is the coefficient of the first term, that is, the first coefficient. Similarly, a2, a3, a4, a5, and a6 are the second coefficient, the third coefficient, the fourth coefficient, the fifth coefficient, and the sixth coefficient. The same applies to the formula for obtaining y'.

なお、座標変換式は2次多項式に限定されず、3次以上の多項式であってもよい。例えば下式(2)に、多項式が3次である場合の座標変換式を示す。
The coordinate conversion formula is not limited to the quadratic polynomial, and may be a polynomial of degree 3 or higher. For example, the following equation (2) shows a coordinate transformation equation when the polynomial is cubic.

マッピング処理回路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 the image IMG2 by performing the mapping processing based on the output coordinate QXY1 on the input image IMG1. Specifically, the pixel value of the coordinates (x, y) in the image IMG2 is obtained from the pixel value of the coordinates (x', y') in the 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 the mapping process using the internally generated coordinates and the output coordinate QXY1. This point will be described later in FIG. The pixel value is, for example, color data of a pixel for display at the coordinates.

画像IMG2は、ヘッドアップディスプレイの曲面ディスプレイに表示される。例えば、ヘッドアップディスプレイは、光源と液晶表示パネルと光学系と透明スクリーンとを含む。液晶表示パネルには画像IMG2が表示される。光源が光を出射し、その出射光が液晶表示パネルを透過し、その透過光を光学系が透明スクリーンに投影することで、透明スクリーンに画像IMG2が投影される。この場合、透明スクリーンが曲面ディスプレイに相当する。或いは、ヘッドアップディスプレイは、有機EL表示パネル等による透明ディスプレイを含む。この場合、透明ディスプレイに画像IMG2が直接に表示される。即ち、表示パネルである透明ディスプレイが曲面ディスプレイを兼ねている。 The image IMG2 is displayed on the curved display of the 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. The 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, so that the image IMG2 is projected on the transparent screen. In this case, the transparent screen corresponds to a curved display. Alternatively, the head-up display includes a transparent display such as an organic EL display panel. In this case, the image IMG2 is displayed directly on the transparent display. That is, the transparent display, which is a display panel, also serves as a curved display.

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

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

以下、上式(1)のように座標変換式が2次多項式である場合を例にとって説明する。 Hereinafter, a case where the coordinate conversion formula is a quadratic polynomial as in the above formula (1) will be described as an example.

座標変換回路20には、多項式の係数情報CF1と入力座標IXY1とが入力される。座標変換回路20は、係数情報CF1に基づく演算処理により入力座標IXY1から出力座標QXY1を求める。係数情報CF1は、上式(1)の係数a1〜a6、b1〜b6の情報である。例えば、回路装置100は、係数情報CF1を記憶する記憶部を含み、係数情報CF1は記憶部から座標変換回路20に入力される。記憶部はレジスター又はメモリーである。メモリーはRAM又は不揮発性メモリー等の半導体メモリーである。係数情報CF1は、例えば回路装置100の起動時又はヘッドアップディスプレイの製造時において記憶部に書き込まれる。 The coefficient information CF1 of the polynomial and the input coordinates IXY1 are input to the coordinate conversion circuit 20. The coordinate conversion circuit 20 obtains the output coordinate QXY1 from the input coordinate IXY1 by arithmetic processing based on the coefficient information CF1. The coefficient information CF1 is information on the 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 conversion circuit 20. The storage unit is a register or a memory. The memory is a semiconductor memory such as RAM or non-volatile memory. The coefficient information CF1 is written in 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 the input coordinate IXY1 and the output coordinate QXY1 is determined by the coefficient of the polynomial. That is, by inputting the coefficient information CF1 that matches the shape of the curved display into the coordinate conversion circuit 20, distortion correction suitable for various curved displays is realized. Further, since the coordinate conversion circuit 20 obtains the output coordinate QXY1 from the input input coordinate IXY1, it is possible to perform coordinate conversion for each pixel suitable for real-time processing as described above.

座標カウンター10は、画素クロックに基づく画素単位の座標である第1カウント座標を出力する。座標変換回路20は、第1カウント座標を入力座標IXY1として座標変換を行う。第1構成例では、入力座標IXY1は画像IMG2上の座標に対応するので、マッピング処理回路30が画像IMG2を処理する際に用いる画素クロックが、座標カウンター10に入力される。 The coordinate counter 10 outputs the first count coordinates, which are the coordinates of each pixel based on the pixel clock. The coordinate conversion circuit 20 performs coordinate conversion using the first count coordinate as the input coordinate IXY1. In the first configuration example, since the input coordinates IXY1 correspond to the coordinates on the image IMG2, the pixel clock used by the mapping processing circuit 30 to process 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 the image IMG2 is N × M pixels. N and M are integers of 2 or more. For example, the coordinate counter 10 increments x by 1 for each pixel clock at y = 0, and (0,0), (1,0), (2,0), ..., (N-1,0). ) Is output. Next, the coordinate counter 10 sets y = 1 and increments x by 1 for each pixel clock to increase (0,1), (1,1), (2,1), ..., (N-1). , 1) is output. The coordinate counter 10 repeats this until (N-1, M-1). The order of counting the coordinates is not limited to the above, and the counting order may be set according to the order in which the pixels of the image IMG2 are processed.

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

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

図3は、座標変換回路20の詳細構成例である。座標変換回路20は、第1演算回路21と第2演算回路22とを含む。第1演算回路21及び第2演算回路22はロジック回路であり、それぞれ個別のハードウェア回路によって構成される。なお図3には、x’を求める演算回路のみ図示するが、y’を求める演算回路も同様な構成である。 FIG. 3 is a detailed configuration example of the coordinate conversion circuit 20. The coordinate conversion circuit 20 includes a first calculation circuit 21 and a second calculation circuit 22. The first arithmetic circuit 21 and the second arithmetic circuit 22 are logic circuits, each of which is composed of individual hardware circuits. Although only the arithmetic circuit for obtaining x'is shown in FIG. 3, the arithmetic circuit for obtaining y'has the same 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, when the input coordinates IXY1 and (x, y), x 2 , y 2, and obtains the xy. More specifically, the first arithmetic circuit 21 includes a x 2 arithmetic circuit MC1 seeking x 2 by squaring the x, and y 2 arithmetic circuit MC2 seeking y 2 by squaring y, by multiplying the x and y The xy arithmetic circuit MC3 for obtaining xy is included. The arithmetic circuits MC1 to MC3 are individual hardware multipliers.

第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 obtains the output coordinates QXY1 based on the arithmetic result of the first arithmetic circuit 21 and the coefficient information CF1. Here, the second arithmetic circuit 22 obtains x'of (x', y'). The coefficients a1 to a6 of the above equation (1) are input to the second arithmetic circuit 22 as the coefficient information CF1. The second arithmetic circuit 22 includes the first to fifth arithmetic circuits AC1 to AC5 and the addition circuit ADDC. The first to fifth term arithmetic circuits AC1 to AC5 are individual hardware multipliers.

第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 calculates the first term a1 × x 2 by multiplying the coefficients a1 and x 2. The second term arithmetic circuit AC2 multiplies the coefficients a2 and y 2 to obtain the second term a2 × y 2 . The third term arithmetic circuit AC3 obtains the third term a3 × xy by multiplying the coefficient a3 and xy. The fourth term arithmetic circuit AC4 obtains the fourth term a4 × x by multiplying the coefficients a4 and x. The fifth term arithmetic circuit AC5 multiplies the coefficients a5 and y to obtain the fifth term a5 × y. The adder circuit ADDC adds the first to fifth terms and the coefficient a6 which is the sixth term, and outputs the result as x'. As a result, the operation of x'in the above equation (1) is realized.

なお第1演算回路21及び第2演算回路22の構成は図3に限定されない。例えば第1演算回路21は3つの演算回路を含み、その3つの演算回路がパイプライン処理のようにしてx、y、及びxyを演算してもよい。そして、第2演算回路22は5つの演算回路を含み、その5つの演算回路がパイプライン処理のように第1〜第5項を演算してもよい。 The configuration of the first arithmetic circuit 21 and the second arithmetic circuit 22 is not limited to FIG. For example, the first arithmetic circuit 21 includes three arithmetic circuits, x 2 its three arithmetic circuit as pipeline processing, y 2, and may be calculated xy. Then, the second arithmetic circuit 22 includes five arithmetic circuits, and the five arithmetic circuits may calculate the first to fifth terms as in the pipeline processing.

本実施形態によれば、第1演算回路21が、x、y、及びxyを求める演算回路MC1〜MC3を含み、第2演算回路22が、第1〜第5項を求める第1〜第5項演算回路AC1〜AC5を含む。これにより、各項を並列演算でき、リアルタイム処理に適した高速処理が可能となる。 According to this embodiment, the first arithmetic circuit 21, x 2, y 2, and includes an operational circuit MC1~MC3 seeking xy, second arithmetic circuit 22, first to determine the first to fifth term Item 5 The arithmetic circuits AC1 to AC5 are included. As a result, each term can be calculated in parallel, and high-speed processing suitable for real-time processing becomes possible.

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

図4は、マッピング処理回路30の詳細構成例である。マッピング処理回路30は、メモリー制御回路31と、第2座標カウンターである座標カウンター32と、画像メモリー33と、を含む。 FIG. 4 is a detailed configuration example 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 the coordinate of each pixel based on the pixel clock. Let the second count coordinate CXYB1 be (xb, yb). In the first configuration example, since (xb, yb) specifies the coordinates 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 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 IMG 1, 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 the pixel value from the image memory 33 based on the output coordinate QXY1 from the coordinate conversion circuit 20, and reads the pixel value from the image IMG2. It is output as the pixel value of. 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 (xb, yb), which is the second count coordinate CXYB1, 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, 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 coordinates QXY1 (x', y') into the read address ADRD, and reads the pixel value from the address ADRD of the image memory 33. This corresponds to reading out the pixel value at (x', y') of the image IMG1. The read address controller 35 outputs the read pixel value as the pixel value at (x, y) of the image IMG2. By repeating this, the 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) of the image IMG2 is acquired from the pixel value at (x', y') of the image IMG1. That is, the mapping processing circuit 30 operates as the inverse warp engine described with reference to FIG.

2.第2構成例
図5は、回路装置100の第2構成例である。図6は、第2構成例における回路装置100の動作を説明する図である。
2. Second Configuration Example FIG. 5 is a second configuration example of the circuit device 100. FIG. 6 is a diagram illustrating 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, the case where the circuit device 100 is a forward warp engine will be described. The forward warp engine is a warp engine having a forward warp function. The forward warp is a conversion in which each pixel of the input image of the warp engine is obtained from a pixel at an arbitrary position in the output image. As shown in FIG. 6, the circuit device 100 converts the coordinates (x', y') in the image IMG1 which is an input image into the coordinates (x, y) in the image IMG2 which is an output image, and is based on the coordinates. The forward warp is realized by performing the mapping process.

図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 (x', y'), which is the first count coordinate, to the coordinate conversion circuit 20 as the input coordinate IXY1. Since (x', y') correspond to the coordinates 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)の逆座標変換に相当している。
The coordinate conversion circuit 20 performs coordinate conversion from the input coordinate IXY1 to the output coordinate QXY1. In the second configuration example, the output coordinate QXY1 is the coordinate (x, y) corresponding to the coordinate on the image IMG2. The following equation (3) shows the coordinate transformation equation when the polynomial is quadratic. The lower equation (3) corresponds to the inverse coordinate transformation of the upper equation (1).

座標変換回路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 conversion circuit 20 performs the arithmetic processing of the above equation (3) based on the coefficient information CF1. In the second configuration example, the coefficient information CF1 is the information of the coefficients c1 to c6 and d1 to d6 of the above equation (3). The configuration of the coordinate conversion circuit 20 is the same as that of the first configuration example described with reference to FIG. However, in the second configuration example, (x', y') is input to the first calculation circuit 21 and the second calculation circuit 22, and the coefficients c1 to c6 are input to the second calculation circuit 22, and the output coordinates are output. X is output from the second arithmetic circuit 22.

マッピング処理回路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 the coordinates (x', y') in the image IMG1 to the coordinates (x, y) in the 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, since (xb, yb) specifies the coordinates on the image IMG2, the pixel clock used when the mapping processing circuit 30 processes 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 coordinates QXY1 from the coordinate conversion circuit 20, reads the pixel value from the image memory 33 based on the second count coordinate CXYB1, and reads the pixel value from the image IMG2. It is output as the pixel value of.

具体的には、ライトアドレスコントローラー34は、出力座標QXY1である(x,y)を書き込みアドレスADWRにデコードし、画像IMG1の(x’,y’)における画素値を、画像メモリー33のアドレスADWRに書き込む。これは、画像IMG1の(x’,y’)における画素値を、座標(x,y)に移動させることに相当する。即ち、画像メモリー33に書き込まれた画像IMG1は、歪み補正によって変形された画像となっている。 Specifically, the write address controller 34 decodes (x, y), which is the output coordinate QXY1, into the write address ADWR, and sets the pixel value at (x', y') of the image IMG1 to the address ADWR of the image memory 33. Write to. This corresponds to moving the pixel value at (x', y') of the image IMG1 to the coordinates (x, y). That is, the image IMG1 written in the image memory 33 is an image deformed by the 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 the read address ADRD, and reads the pixel value from the address ADRD of the image memory 33. The read address controller 35 outputs the read pixel value as the pixel value at (x, y) of the image IMG2. By repeating this, 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') of the image IMG1 is moved to the pixel value at (x, y) of the image IMG2. That is, the mapping processing circuit 30 operates as the forward warp engine described with reference to FIG.

3.第3構成例
第3構成例では、回路装置100は、表示画像の歪み補正に加えて回転補正を行う。まず、図7を用いて、ヘッドアップディスプレイの取り付け公差と回転補正との関係を説明する。なお図7ではヘッドアップディスプレイが自動車のダッシュボードに設置される場合を例に説明するが、ヘッドアップディスプレイの設置場所はこれに限定されない。また図7ではヘッドアップディスプレイの表示部DSPを平面で示しているが、実際には曲面ディスプレイである。
3. 3. Third Configuration Example In the third configuration example, the circuit device 100 performs rotation correction in addition to distortion correction of the displayed image. First, the relationship between the mounting tolerance of the head-up display and the rotation correction will be described with reference to FIG. 7. In FIG. 7, the case where the head-up display is installed on the dashboard of an automobile will be described as an example, but the installation location of the head-up display is not limited to this. Further, although the display unit DSP of the head-up display is shown in a plane in FIG. 7, it is actually 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 orthogonal to the display unit DSP of the head-up display. Specifically, the direction DZ and the display unit DSP are orthogonal to each other at any position of the display unit DSP which is a curved surface. For example, the direction DZ and the display unit DSP are orthogonal to each other at the center of the display unit DSP. The direction DX is a direction orthogonal to the direction DZ, and the direction DY is a direction orthogonal to the direction DX and the direction DZ. The direction DX corresponds to the horizontal direction. That is, the direction DX is parallel to the horizontal plane when the vehicle is in a horizontal position. When the heads-up display is installed vertically on the dashboard of an 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 heads-up display is installed on the dashboard at an angle θX in the depth direction, the direction DY is tilted by an angle θX with respect to the horizontal plane.

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

図8は、回路装置100の第3構成例である。図9は、第3構成例における回路装置100の動作を説明する図である。 FIG. 8 is a third configuration example of the circuit device 100. FIG. 9 is a diagram illustrating 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, the case where the circuit device 100 is an inverse warp engine will be described. As shown in FIG. 9, the circuit device 100 rotationally transforms the coordinates (xa, ya) in the image IMG2 which is the output image, and the coordinates (x, y) after the rotational transformation are the coordinates in the image IMG1 which is the input image. Image rotation and inverse warp are realized by converting to (x', y') and performing mapping processing based on the coordinates.

図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. The same configuration and operation as in the first configuration example will be omitted as 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) correspond to the coordinates on the image IMG2, the pixel clock used by the mapping processing circuit 30 to process the image IMG2 is input to the coordinate counter 10.

回転変換回路40は、第1カウント座標CXYA1に対して回転変換を行い、回転変換後の座標を入力座標IXY1として座標変換回路20に出力する。第3構成例では、入力座標IXY1は(x,y)である。下式(4)に示すように、回転変換回路40は、アフィン変換を用いて座標回転を行う。θは回転角度である。
The rotation conversion circuit 40 performs rotation conversion on the first count coordinate CXYA1 and outputs the coordinate after the rotation conversion to the coordinate conversion circuit 20 as the input coordinate IXY1. In the third configuration example, the input coordinate IXY1 is (x, y). As shown in the following equation (4), the rotation conversion circuit 40 performs coordinate rotation using the affine transformation. θ is the rotation angle.

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

座標変換回路20は、係数情報CF1に基づいて入力座標IXY1から出力座標QXY1への座標変換を行う。第3構成例では、出力座標QXY1は、画像IMG1上の座標に対応した座標(x’,y’)である。座標変換式は第1構成例と同様である。 The coordinate conversion circuit 20 performs coordinate conversion from the input coordinate IXY1 to the output coordinate QXY1 based on the coefficient information CF1. In the third configuration example, the output coordinates QXY1 are the coordinates (x', y') corresponding to the coordinates on the image IMG1. The coordinate conversion formula is the same as that of 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 those 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 the image IMG2 is acquired from the pixel value at (x', y') of the image IMG1. That is, the mapping processing circuit 30 operates as the inverse warp engine described with reference to FIG. Further, when the rotation conversion circuit 40 performs coordinate rotation, 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 is a fourth configuration example of the circuit device 100. FIG. 11 is a diagram illustrating 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, the case where the circuit device 100 is a forward warp engine will be described. As shown in FIG. 11, the circuit device 100 rotationally transforms the coordinates (xa, ya) in the image IMG1 which is an input image, and converts the coordinates (x', y') after the rotational transformation into the image IMG2 which is an output image. Image rotation and forward warp are realized by converting to the coordinates (x, y) in the above and performing mapping processing based on the coordinates.

図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. The same configurations and operations as those of the second configuration example and the third configuration example 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, since (xa, ya) corresponds to the coordinates 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.

回転変換回路40は、第1カウント座標CXYA1に対して回転変換を行い、回転変換後の座標を入力座標IXY1として座標変換回路20に出力する。第4構成例では、入力座標IXY1は(x’,y’)である。下式(5)に示すように、回転変換回路40は、アフィン変換を用いて座標回転を行う。θは回転角度である。
The rotation conversion circuit 40 performs rotation conversion on the first count coordinate CXYA1 and outputs the coordinate after the rotation conversion to the coordinate conversion circuit 20 as the input coordinate IXY1. In the fourth configuration example, the input coordinate IXY1 is (x', y'). As shown in the following equation (5), the rotation conversion circuit 40 performs coordinate rotation using the affine transformation. θ is the rotation angle.

回転変換回路40は、回転角度θを示す角度情報RT1に基づいて、上式(5)により第1カウント座標CXYA1を入力座標IXY1に変換する。 The rotation conversion circuit 40 converts the first count coordinate CXYA1 into the input coordinate IXY1 according to the above equation (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 performs coordinate conversion from 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 that of 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 the coordinates (xa, ya) in the image IMG1 to the coordinates (x, y) in the 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 those of 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 in (x, ya) of the image IMG1 is moved to the pixel value of (x, y) in the image IMG2. That is, the mapping processing circuit 30 operates as the forward warp engine described with reference to FIG. Further, when the rotation conversion circuit 40 performs coordinate rotation, forward warp including image rotation is performed in the mapping process.

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

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

インターフェース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, a processing device 200 or the like 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 the image IMA1. For example, the interface 110 is Open LDI (Open LVDS Display Interface), and converts a serial signal received by 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 according to the surface shape of the curved display of the head-up display, and a second processing circuit 132 that performs reverse mapping thereof. The first processing circuit 131 is also referred to as a first warp engine, and the second processing circuit 132 is also referred to as a second warp engine. Hereinafter, an example in which the first processing circuit 131 and the second processing circuit 132 perform image rotation together with the distortion correction will be described, but the first processing circuit 131 and the second processing circuit 132 may perform only the 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 projected object. When the curved display is a screen, the heads-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 for driving 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 passing 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 mounted on the dashboard or the windshield of an automobile. When the curved display is a display panel, the head-up display is configured so that the display image of 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 the first mapping processing using the coefficient information CF1 and the first rotation processing using the angle information RT1 on the image IMA1, and outputs the processed image IMA2. Image IMA1 is the first image and image IMA2 is the second image. In addition, the first processing circuit 131 extracts the image IMA1'of the region of interest from the image IMA1. The area of interest is also called ROI (Region Of Interest). The image IMA1'may be the entire image IMA1. In the following, a case where the image IMA1'is an image of the region of interest extracted from the image IMA1 will be described as an example, and the image IMA'of the region of interest will also be referred to as a 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 the second mapping processing using the coefficient information CF2 and the second rotation processing using the angle information RT2 on the image IMA2, and outputs the processed image IMA3. 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 a reverse rotation process of the first rotation process. The image IMA3 is an image in which the image of the region of interest extracted from the image IMA2 is reverse-mapped and reverse-rotated.

インターフェース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 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 the first storage unit. The first processing circuit 131 stores the image IMA1'in the region of interest in the storage unit 133. The storage unit 160 is a memory. For example, the memory is a semiconductor memory such as RAM or non-volatile memory. The storage unit 133 and the storage unit 160 may be configured by individual memories or may be configured by one 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 comparison processing between the image IMA1'stored in the storage unit 133 and the image IMA3, and outputs the comparison result. This comparison result is used to detect an error in image IMA2. That is, it is used to verify whether or not the first mapping process and the first rotation process performed by the first processing circuit 131 are normal. The comparison circuit 145 obtains an index indicating the degree of similarity between the image IMA1 and the image IMA3. The index is a shape index or a visibility index described later. Alternatively, the comparison circuit 145 may be obtained using SSD (Sum of Squared Difference), SAD (Sum of Absolute Difference), NCC (Normalized Cross Correlation), or the like as an index.

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

画像処理回路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 the output of the image IMA2 to the interface 140. Alternatively, the interface 140 stops the output of the image IMA2 when an error is detected by the error detection circuit 150. The interface 140 may output the image IMA2 together with the error information, and the display driver receiving the error information may perform an operation based on the error information. Alternatively, the interface 190 may output error information to the processing device 200, and the processing device 200 that has received the error information may perform an operation based on the error information. The error information is, for example, an error determination flag, an index, or the like. The operation based on the error information is, 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) system or an I2C system. The setting information and control information from the processing device 200 are written to, for example, 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 apparatus 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 is 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 value register 178 from the processing device 200 via the interface 190. The error detection circuit 150 compares the index with the threshold value set in the threshold value register 178 to perform error detection.

記憶部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 storage unit 160 is a second storage unit. The storage unit 160 stores the coefficient information CF1 and CF2 and the angle information RT1 and RT2. Specifically, the processing device 200 transmits CF1, CF2, RT1 and RT2 to the interface 190, and the storage unit 160 stores the 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 storage unit 160. The storage unit 160 is, for example, a memory or a register. For example, the memory is a semiconductor memory such as RAM or 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 routing or the like. Further, a part 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 in which the function of each circuit is described is stored in the memory, and the processor executes the program or instruction set to realize the function of each circuit.

図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 may not include the error detection circuit 150 and the error detection result register 176. In this case, the interface 190 may output the index obtained by the comparison circuit 145 to the processing device 200, and the processing device 200 that has received the index may detect an error by comparing the index with the threshold value. When the processing device 200 detects an error, the processing device 200 may perform an error handling operation such as stopping the display of the head-up display.

図13は、第1処理回路131及び第2処理回路132の詳細構成例である。 FIG. 13 is a detailed configuration example 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 is a coordinate counter 10 which is a first coordinate counter, a rotation conversion circuit 40 which is a first rotation conversion circuit, a coordinate conversion circuit 20 which is a first coordinate conversion circuit, and a first mapping processing circuit. Includes a mapping processing circuit 30. These operations are as described in the first to fourth configuration examples. When the first processing circuit 131 only performs distortion correction, the rotation conversion 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 is a coordinate counter 50 which is a second coordinate counter, a rotation conversion circuit 80 which is a second rotation conversion circuit, a coordinate conversion circuit 60 which is a second coordinate conversion circuit, and a second mapping processing circuit. Includes a mapping processing circuit 70. The coordinate counter 50 outputs the count coordinate CXYA2. The rotation conversion circuit 80 rotationally transforms the count coordinate CXYA2 into the input coordinate IXY2 based on the angle information RT2. The coordinate conversion circuit 60 converts the input coordinates IXY2 into the output coordinates QXY2 by arithmetic processing 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 coordinates QXY2. The detailed configuration and operation of these circuits are the same as those of the coordinate counter 10, the rotation conversion circuit 40, the coordinate conversion circuit 20, and the mapping processing circuit 30. When the second processing circuit 132 only performs distortion correction, the rotation conversion 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 FIG. 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 processing and the second rotation processing based on the map table and the angle information RT2.

比較回路145が行う画像比較について説明する。 The image comparison performed by the comparison circuit 145 will be described.

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

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

比較回路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 degree of similarity between the image IMG1'and the image IMG3. As described above, the comparison circuit 145 may be obtained using SSD, SAD, NCC, or the like as an index. Whether the index becomes larger as the degree of similarity is higher or the index becomes smaller as the degree of similarity is higher depends on the calculation method of the index. The threshold value 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 obtains the distance between the images of the image IMG1'and the image IMG3 in the color space. The color space is, for example, RGB or YCrCb. Specifically, the comparison circuit 145 obtains the square value of the distance between the pixels of the image IMG1'and the pixels of the image IMG3 corresponding to the pixels in the color space. The comparison circuit 145 integrates the squared values in the image, and uses the integrated value as the inter-image distance. In the first calculation method, the distance between images 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 the edge image EIMG1'by extracting the edge of the image IMG1'. Further, the comparison circuit 145 obtains an edge image of the image IMG3 by extracting the edge of the image IMG3. Hereinafter, the edge image of the image IMG3 will be referred to as EIMG3. The comparison circuit 145 compares the edge image EIMG1'and the edge image EIMG3. Specifically, the comparison circuit 145 extracts an edge from the image IMA1'and the image IMG3 using a sobel filter or the like, and obtains a correlation value between the edge image EIMG1'and the 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, the calculation method of the visibility index will be described. Here, the color space is YCrCb, but the color space may be RGB or the like. The comparison circuit 145 obtains a histogram from the Y channel of the image IMG1'. Similarly, the comparison circuit 145 obtains a histogram from the Cr channel and Cb channel of the image IMG1'and obtains a histogram from the Y channel, Cr channel and Cb channel of the image IMG3.

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

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

以上に説明した形状指標、又は視認性指標、又はその両方を用いることで、ROIの画像IMG1’とIMG3の類似度を判断できる。形状指標を用いた場合、画像IMG1’と画像IMG3が一致しているとき、類似度が最も高くなる。即ち、類似度を一致度合いと言い換えることもできる。例えばアイコンICAが回転して表示された場合には、アイコンICAが回転していない場合に比べて類似度が低下する。一方、視認性指標は色のコントラストを示すので、アイコンICAが回転した場合であっても類似度があまり変化しない。従って、アイコンICAが回転した場合等を許容するときには、視認性指標を用いればよい。また、形状指標と視認性指標は算出手法が異なるので、その両方を用いることによって、エラー検出の精度を向上できる。 By using the shape index, the visibility index, or both described above, the similarity between the ROI image IMG1'and the IMG3 can be determined. When the shape index is used, the similarity is highest when the image IMG1'and the image IMG3 match. That is, the degree of similarity can be rephrased as the degree of agreement. For example, when the icon ICA is rotated and displayed, the similarity is lower than 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 case where the icon ICA is rotated is allowed, the visibility index may be used. Further, since the calculation method is different between the shape index and the visibility index, 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 FIG. 18 is a configuration example of an electronic device including the circuit device of the present 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 or the like. In the configuration example of FIG. 18, the circuit device 320 corresponds to the display controller. However, the circuit device 100 of this embodiment is applicable not only to the 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 the image data stored in the storage device 350 or the 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, generation of image data to be transferred to the display driver, and the like. Further, the circuit device 320 may perform error detection of 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, an EL display panel, or the like. The storage device 350 is, for example, a memory, a hard disk drive, an optical disk drive, or the like. 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, a keyboard, or the like. The communication device 370 is, for example, a device that performs wired communication or a device that performs wireless communication. Wired communication is, for example, LAN, USB, or the like. Wireless communication is, for example, wireless LAN, wireless proximity communication, or the like.

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

図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のメーターパネルとして機能する。 FIG. 19 is an example of a mobile body including the circuit device 320 of the present embodiment. The mobile body includes the circuit device 320 of the present embodiment and the processing device 310 that transmits image data to the circuit device 320. The processing device 310 may perform error handling processing based on the 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 a circuit device 320 and a 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 the present embodiment can be incorporated into various moving bodies such as cars, airplanes, motorcycles, bicycles, and ships. The moving body is, for example, a device or device provided with a drive mechanism such as an engine or a motor, a steering mechanism such as a steering wheel or a rudder, and various electronic devices, and moves on the ground, in the sky, or on the sea. FIG. 19 schematically shows an automobile 206 as a specific example of a moving body. The head-up display 400 has a transparent screen, which 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 on the windshield. The head-up display 400 functions as, for example, a meter panel of an 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 the display panel for displaying the image on the curved display. The coordinate conversion circuit performs coordinate conversion by performing arithmetic processing using a polynomial of degree 2 or higher representing the coordinate conversion.

多項式は乗算と加算の組み合わせで成り立っており、積分等の複雑な計算を含まない。このため、多項式を用いて座標変換を行うことで、積分等を含む計算を行う場合に比べて、演算時間が短縮される。また、多項式では、入力座標と出力座標とが1対1に対応する。この対応を用いてマッピング処理回路が1画素ずつマッピングすることで、1画面分の画像を構成することが可能である。このような逐次処理は、一旦テーブル等を作成してマッピング処理する場合に比べて、リアルタイム処理に適している。 A polynomial consists of a combination of multiplication and addition, and does not include complicated calculations such as integration. Therefore, by performing coordinate transformation using a polynomial, the calculation time can be shortened as compared with the case of performing calculation including integration and the like. Further, in the polynomial, the input coordinates and the output coordinates have a one-to-one correspondence. By using this correspondence, the mapping processing circuit maps one pixel at a time, so that an image for one screen can be configured. Such sequential processing is more suitable for real-time processing than the case where a table or the like is once created and mapping processing is performed.

また本実施形態では、座標変換回路は、多項式の係数情報と入力座標とが入力され、係数情報に基づく演算処理により入力座標から出力座標を求めてもよい。 Further, in the present embodiment, the coordinate conversion circuit may input the coefficient information of the polynomial and the input coordinates, and obtain the output coordinates from the input coordinates by arithmetic 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. That is, by inputting the coefficient information according to the shape of the curved display into the coordinate conversion circuit, distortion correction suitable for various curved displays is realized. Further, since the coordinate conversion circuit obtains the output coordinates from the input input coordinates, it is possible to perform coordinate conversion for each pixel suitable for real-time processing as described above.

また本実施形態では、座標変換回路は、第1〜第n項演算回路と加算回路とを含んでもよい。第i項演算回路は、係数情報に基づいて多項式の第1〜第n項の第i項を演算してもよい。nは2以上の整数であり、iは1以上n以下の整数である。加算回路は、第1〜第n項演算回路が出力する第1〜第n項を加算し、出力座標を出力してもよい。 Further, in the present embodiment, the coordinate conversion circuit may include the first to nth term arithmetic circuits and an addition circuit. The i-term arithmetic circuit may calculate the i-term of the first 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 or more and n or less. The adder circuit may add the first to nth terms output by the first to nth term arithmetic circuits and output the output coordinates.

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

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

このようにすれば、第1演算回路が、係数を乗算する前の項x、y、及びxyを演算し、第2演算回路が、そのx、y、及びxyに対して係数を乗算することで、多項式の各項を演算し、求めた項を加算することで出力座標を出力できる。このように、多項式を用いることで、乗算と加算によって座標変換の演算を構成できる。 In this way, the coefficient first arithmetic circuit, terms x 2, y 2 before multiplied by a coefficient, and calculates the xy, second operation circuit, for the x 2, y 2, and xy By multiplying by, each term of the polynomial is calculated, and the output coordinates can be output by adding the obtained terms. In this way, by using a polynomial, the operation of coordinate transformation can be constructed 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を加算し、出力座標を出力してもよい。 Further, in the present 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 includes a first term calculation circuit for multiplying the a1 and x 2, and the second term calculation circuit for multiplying the a2 and y 2, and the third term calculation circuit for multiplying the a3 and xy, a4 and x A fourth binary operation circuit for multiplying, a fifth term operation circuit for multiplying a5 and y, and an addition circuit may be included. The adder circuit may add the first to fifth terms and the sixth term a6 output by the first to fifth arithmetic circuits and output the output coordinates.

このようにすれば、多項式の2次の項及び1次の項について、各項に対応した項演算回路が個別に設けられる。これにより、多項式の2次の項及び1次の項について、各項の演算が並列処理されるので、座標変換を高速に処理することが可能となる。 In this way, term arithmetic circuits corresponding to each term are individually provided for the quadratic term and the linear term of the polynomial. As a result, the operations of each term are processed in parallel for the quadratic term and the linear term of the polynomial, so that the coordinate transformation can be processed at high speed.

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

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

また本実施形態では、入力座標は、第1画像及び第2画像の一方の画像上の座標に対応した座標であってもよい。出力座標は、第1画像及び第2画像の他方の画像上の座標に対応した座標であってもよい。 Further, in the present embodiment, the input coordinates may be the coordinates corresponding to the coordinates on one of the first image and the second image. The output coordinates may be coordinates corresponding to the coordinates on the other image 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 warping, 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 the polynomial, both the inverse warp and the forward warp can be realized by using the coefficient corresponding to the inverse warp or the coefficient corresponding to the forward warp.

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

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

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

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

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

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

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

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

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

前者のマッピング処理では、画像メモリーから第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 acquired from the pixel value at the output coordinate of the first image. As a result, inverse warp including image rotation and distortion correction is realized. 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. As a result, a forward warp including image rotation and distortion correction is realized.

また本実施形態では、多項式は、a1×x+a2×y+a3×xy+a4×x+a5×y+a6であってもよい。 Further, in the present embodiment, the polynomial may be a1 × x 2 + a2 × y 2 + a3 × xy + a4 × x + a5 × y + a6.

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

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

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

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

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

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

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 ... 1 processing circuit, 132 ... 2nd processing circuit, 133 ... storage unit, 135 ... image processing circuit, 140 ... interface, 145 ... comparison circuit, 150 ... error detection circuit, 160 ... storage 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 arithmetic circuits, ADDC ... Addition circuit, ADRD ... Read address, ADWR ... Write address , CF1 ... Coefficient information, CXYA1 ... 1st count coordinates, CXYB1 ... 2nd count coordinates, IMA1, IMG1 ... 1st image, IMA2, IMG2 ... 2nd image, IMA3 ... 3rd image, IXY1 ... Input coordinates, MC1 ... x 2 arithmetic circuit, MC2 ... y 2 arithmetic circuit, MC3 ... xy arithmetic circuit, QXY1 ... output coordinates, RT1 ... angle information, a1 to a6 ... coefficients

Claims (16)

入力座標から出力座標への座標変換を行う座標変換回路と、
入力される第1画像に対して、前記出力座標に基づくマッピング処理を行うことで、曲面ディスプレイに画像を表示するための表示パネルに表示される第2画像を生成するマッピング処理回路と、
を含み、
前記座標変換回路は、
前記座標変換を表す2次以上の多項式を用いた演算処理を行うことで、前記座標変換を行うことを特徴とする回路装置。
A coordinate conversion circuit that converts coordinates from input coordinates to output coordinates,
A mapping processing circuit that generates a second image displayed on a display panel for displaying an image on a curved display by performing a mapping process based on the output coordinates on the input first image.
Including
The coordinate conversion circuit
A circuit device characterized in that the coordinate transformation is performed by performing arithmetic processing using a polynomial of degree 2 or higher representing the coordinate transformation.
請求項1に記載の回路装置において、
前記座標変換回路は、
前記多項式の係数情報と前記入力座標とが入力され、前記係数情報に基づく前記演算処理により前記入力座標から前記出力座標を求めることを特徴とする回路装置。
In the circuit device according to claim 1,
The coordinate conversion circuit
A circuit device characterized in that the coefficient information of the polynomial and the input coordinates are input, and the output coordinates are obtained from the input coordinates by the arithmetic processing based on the coefficient information.
請求項2に記載の回路装置において、
前記座標変換回路は、
第i項演算回路が、前記係数情報に基づいて前記多項式の第1〜第n項の第i項を演算する第1〜第n項演算回路(nは2以上の整数、iは1以上n以下の整数)と、
前記第1〜第n項演算回路が出力する前記第1〜第n項を加算し、前記出力座標を出力する加算回路と、
を有することを特徴とする回路装置。
In the circuit device according to claim 2.
The coordinate conversion circuit
The i-term arithmetic circuit calculates the i-term of the 1st to nth terms of the polynomial based on the coefficient information (n is an integer of 2 or more, i is 1 or more n). The following integers) and
An addition circuit that adds the first to nth terms output by the first to nth arithmetic circuits and outputs the output coordinates.
A circuit device characterized by having.
請求項2に記載の回路装置において、
前記座標変換回路は、
前記入力座標を(x,y)としたとき、x、y、及びxyを求める第1演算回路と、
前記第1演算回路の演算結果と前記係数情報とに基づいて前記出力座標を求める第2演算回路と、
を含むことを特徴とする回路装置。
In the circuit device according to claim 2.
The coordinate conversion circuit
When said input coordinates (x, y), x 2 , y 2, and a first arithmetic circuit for obtaining the xy,
A second arithmetic circuit that obtains the output coordinates based on the arithmetic result of the first arithmetic circuit and the coefficient information, and
A circuit device characterized by including.
請求項4に記載の回路装置において、
前記多項式は、第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 the circuit device according to claim 4,
The polynomial includes a1 × x 2 , a2 × y 2 , a3 × xy, a4 × x, a5 × y, and a6 as the first to sixth terms.
The coefficient information includes information of a1, a2, a3, a4, a5, and a6 as the first to sixth coefficients.
The second arithmetic circuit is
A first term calculation circuit for multiplying the x 2 and the a1,
A second term calculation circuit for multiplying the y 2 and the a2,
A ternary operation circuit that multiplies the a3 and the xy,
A fourth binary operation circuit that multiplies the a4 and the x.
A fifth term arithmetic circuit that multiplies the a5 and the y.
An addition circuit that adds the first to fifth terms output by the first to fifth arithmetic circuits and a6, which is the sixth term, and outputs the output coordinates.
A circuit device characterized by including.
請求項1乃至5のいずれか一項に記載の回路装置において、
画素クロックに基づく画素単位の座標である第1カウント座標を出力する第1座標カウンターを含み、
前記座標変換回路は、
前記第1カウント座標を前記入力座標として前記座標変換を行うことを特徴とする回路装置。
In the circuit device according to any one of claims 1 to 5.
Includes a first coordinate counter that outputs first count coordinates, which are pixel-based coordinates based on the pixel clock.
The coordinate conversion circuit
A circuit device characterized in that the coordinate conversion is performed using the first count coordinates as the input coordinates.
請求項6に記載の回路装置において、
前記入力座標は、前記第1画像及び前記第2画像の一方の画像上の座標に対応した座標であり、
前記出力座標は、前記第1画像及び前記第2画像の他方の画像上の座標に対応した座標であることを特徴とする回路装置。
In the circuit device according to claim 6,
The input coordinates are coordinates corresponding to the coordinates on one of the first image and the second image.
A circuit device characterized in that the output coordinates are coordinates corresponding to the coordinates on the other image of the first image and the second image.
請求項6に記載の回路装置において、
前記マッピング処理回路は、
前記画素クロックに基づく画素単位の座標である第2カウント座標を出力する第2座標カウンターと、
前記第1画像を記憶する画像メモリーと、
前記画像メモリーのアクセス制御を行うメモリー制御回路と、
を含み、
前記メモリー制御回路は、
前記第2カウント座標に基づいて前記第1画像を前記画像メモリーに書き込み、前記出力座標に基づいて前記画像メモリーから読み出した画素値を、前記第2画像の前記第1カウント座標における画素値として出力することで、前記マッピング処理を行う、又は、
前記第1画像の前記第1カウント座標における画素値を前記出力座標における画素値として前記画像メモリーに書き込み、前記第2カウント座標に基づいて前記画像メモリーから読み出した画素値を、前記第2画像の前記第2カウント座標における画素値として出力することで、前記マッピング処理を行うことを特徴とする回路装置。
In the circuit device according to claim 6,
The mapping processing circuit
A second coordinate counter that outputs second count coordinates, which are coordinates in pixel units based on the pixel clock, and
An image memory for storing the first image and
A memory control circuit that controls access to the image memory and
Including
The memory control circuit
The first image is written to the image memory based on the second count coordinates, and the pixel value read from the image memory based on the output coordinates is output as the pixel value at the first count coordinates of the second image. By doing so, the mapping process is performed, or
The pixel value at the first count coordinate of the first image is written to the image memory as the pixel value at the output coordinate, and the pixel value read from the image memory based on the second count coordinate is the pixel value of the second image. A circuit device characterized in that the mapping process is performed by outputting as a pixel value at the second count coordinates.
請求項1乃至5のいずれか一項に記載の回路装置において、
座標の回転変換を行い、回転後座標を出力する回転変換回路を含み、
前記座標変換回路は、
前記回転後座標を前記入力座標として前記座標変換を行うことを特徴とする回路装置。
In the circuit device according to any one of claims 1 to 5.
Includes a rotation conversion circuit that performs rotation conversion of coordinates and outputs coordinates after rotation.
The coordinate conversion circuit
A circuit device characterized in that the coordinate conversion is performed using the rotated coordinates as the input coordinates.
請求項9に記載の回路装置において、
画素クロックに基づく画素単位の座標である第1カウント座標を出力する第1座標カウンターを含み、
前記回転変換回路は、
前記第1カウント座標に対して前記回転変換を行うことで、前記回転後座標を求めることを特徴とする回路装置。
In the circuit device according to claim 9,
Includes a first coordinate counter that outputs first count coordinates, which are pixel-based coordinates based on the pixel clock.
The rotation conversion circuit
A circuit device characterized in that the coordinates after rotation are obtained by performing the rotation conversion with respect to the first count coordinates.
請求項10に記載の回路装置において、
前記第1カウント座標は、前記第1画像及び前記第2画像の一方の画像上の座標を指定する座標であり、
前記出力座標は、前記第1画像及び前記第2画像の他方の画像上の座標を指定する座標であることを特徴とする回路装置。
In the circuit device according to claim 10,
The first count coordinates are coordinates that specify the 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.
請求項10に記載の回路装置において、
前記マッピング処理回路は、
前記画素クロックに基づく画素単位の座標である第2カウント座標を出力する第2座標カウンターと、
前記第1画像を記憶する画像メモリーと、
前記画像メモリーのアクセス制御を行うメモリー制御回路と、
を含み、
前記メモリー制御回路は、
前記第2カウント座標に基づいて前記第1画像を前記画像メモリーに書き込み、前記出力座標に基づいて前記画像メモリーから読み出した画素値を、前記第2画像の前記第1カウント座標における画素値として出力することで、前記マッピング処理を行う、又は、
前記第1画像の前記第1カウント座標における画素値を前記出力座標における画素値として前記画像メモリーに書き込み、前記第2カウント座標に基づいて前記画像メモリーから読み出した画素値を、前記第2画像の前記第2カウント座標における画素値として出力することで、前記マッピング処理を行うことを特徴とする回路装置。
In the circuit device according to claim 10,
The mapping processing circuit
A second coordinate counter that outputs second count coordinates, which are coordinates in pixel units based on the pixel clock, and
An image memory for storing the first image and
A memory control circuit that controls access to the image memory and
Including
The memory control circuit
The first image is written to the image memory based on the second count coordinates, and the pixel value read from the image memory based on the output coordinates is output as the pixel value at the first count coordinates of the second image. By doing so, the mapping process is performed, or
The pixel value at the first count coordinate of the first image is written to the image memory as the pixel value at the output coordinate, and the pixel value read from the image memory based on the second count coordinate is the pixel value of the second image. A circuit device characterized in that the mapping process is performed by outputting as a pixel value at the second count coordinates.
請求項1乃至12のいずれか一項に記載の回路装置において、
前記多項式は、a1×x+a2×y+a3×xy+a4×x+a5×y+a6であることを特徴とする回路装置。
In the circuit device according to any one of claims 1 to 12.
The circuit device characterized in that the polynomial is a1 × × 2 + a2 × y 2 + a3 × xy + a4 × x + a5 × y + a6.
請求項1乃至13のいずれか一項に記載の回路装置において、
前記マッピング処理の逆マッピング処理である第2マッピング処理を前記第2画像に対して行うことで、第3画像を生成する第2マッピング処理回路と、
前記第1画像と前記第3画像との比較を行い、前記比較の結果を、前記第2画像のエラー検出を行うための情報として出力する比較回路と、
を含むことを特徴とする回路装置。
In the circuit device according to any one of claims 1 to 13.
A second mapping processing circuit that generates a third image by performing a second mapping process, which is a reverse mapping process of the mapping process, on the second image.
A comparison circuit that compares the first image with the third image and outputs the result of the comparison as information for performing error detection of the second image.
A circuit device characterized by including.
請求項1乃至14のいずれか一項に記載の回路装置を含むことを特徴とする電子機器。 An electronic device comprising the circuit device according to any one of claims 1 to 14. 請求項1乃至14のいずれか一項に記載の回路装置を含むことを特徴とする移動体。 A mobile body including the circuit device according to any one of claims 1 to 14.
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 true JP2020184059A (en) 2020-11-12
JP7467883B2 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113691741A (en) * 2021-07-20 2021-11-23 上海安路信息科技股份有限公司 Display method and device for video image rotation

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02212979A (en) * 1988-12-22 1990-08-24 Philips Gloeilampenfab:Nv Circuit arrangement for converting geometric picture image
JPH09292927A (en) * 1996-04-26 1997-11-11 Sony Computer Entertainment:Kk Function generator
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 display shape 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 株式会社デンソー Vehicle device, vehicle program, 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

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02212979A (en) * 1988-12-22 1990-08-24 Philips Gloeilampenfab:Nv Circuit arrangement for converting geometric picture image
JPH09292927A (en) * 1996-04-26 1997-11-11 Sony Computer Entertainment:Kk Function generator
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 display shape 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 株式会社デンソー Vehicle device, vehicle program, 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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113691741A (en) * 2021-07-20 2021-11-23 上海安路信息科技股份有限公司 Display method and device for video image rotation

Also Published As

Publication number Publication date
JP7467883B2 (en) 2024-04-16

Similar Documents

Publication Publication Date Title
JP7419721B2 (en) Circuit devices, electronic equipment and mobile objects
JP5108605B2 (en) Driving support system and vehicle
US20140085409A1 (en) Wide fov camera image calibration and de-warping
CN111861865B (en) Circuit devices, electronic equipment, and moving objects
US10013761B2 (en) Automatic orientation estimation of camera system relative to vehicle
JP2008271308A (en) Image processor and method, and vehicle
US10789762B2 (en) Method and apparatus for estimating parameter of virtual screen
US9969331B2 (en) Method and device for producing a masking instruction, as well as for masking image information from a camera
US20170302855A1 (en) Display controller and display control method
EP4068220A1 (en) Image processing device, image processing method, moving device, and storage medium
JP2011105306A (en) Display device for vehicle
JP2016195390A (en) Calculation of target point distance and direction from vehicle using monocular video camera
CN113129224A (en) Display system, electronic apparatus, moving object, and display method
US10848686B2 (en) Method of providing image and electronic device for supporting the method
JP2008543071A (en) Integrated circuit having warping arithmetic unit
CN113132714B (en) Circuit device, electronic apparatus, and moving object
WO2020092051A1 (en) Rolling shutter rectification in images/videos using convolutional neural networks with applications to sfm/slam with rolling shutter images/videos
CN115345946A (en) External parameter calibration method and device of automobile panoramic image system based on deep learning
CN111405263A (en) Method and system for enhancing head-up display by combining two cameras
JP2007006175A (en) Image generation device and method for vehicle
JP7467883B2 (en) Circuit device, electronic device and mobile device
CN117252932A (en) AR-HUD calibration method, system, equipment and automobile
JP5047912B2 (en) In-vehicle image processing apparatus and image processing method thereof
EP3671722A2 (en) Circuit device, electronic device, and vehicle
KR20190051571A (en) Vehicle environment monitoring apparatus and image correction method thereof

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