JP2013005140A - Image processing apparatus and image processing method - Google Patents

Image processing apparatus and image processing method Download PDF

Info

Publication number
JP2013005140A
JP2013005140A JP2011132954A JP2011132954A JP2013005140A JP 2013005140 A JP2013005140 A JP 2013005140A JP 2011132954 A JP2011132954 A JP 2011132954A JP 2011132954 A JP2011132954 A JP 2011132954A JP 2013005140 A JP2013005140 A JP 2013005140A
Authority
JP
Japan
Prior art keywords
image
coordinates
aspect ratio
input image
conversion
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.)
Withdrawn
Application number
JP2011132954A
Other languages
Japanese (ja)
Inventor
Noriaki Ikeda
典昭 池田
Yuki Kawamura
悠紀 河村
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.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP2011132954A priority Critical patent/JP2013005140A/en
Publication of JP2013005140A publication Critical patent/JP2013005140A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Transforming Electric Information Into Light Information (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Liquid Crystal Display Device Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain a satisfactory image quality even if images having different aspect ratios are inputted, while a circuit scale is small.SOLUTION: An image processing apparatus is provided with: an output image coordinate generator 10 for generating the coordinates of an output image; an input image coordinate generator 20 which generates the coordinates of an input image corresponding to the coordinates of the output image generated by the output image coordinate generator 10, by performing reverse perspective projection transformation and reverse aspect ratio transformation; and an image data processing part 30 which interpolates image data on the basis of the coordinates of the input image generated by the input image coordinate generator 20.

Description

本発明は、画像を処理する画像処理装置及び画像処理方法に関し、特に、液晶プロジェクタなどの投影型表示装置における幾何学的歪補正に関するものである。   The present invention relates to an image processing apparatus and an image processing method for processing an image, and more particularly to geometric distortion correction in a projection display apparatus such as a liquid crystal projector.

液晶プロジェクタなどの投影型表示装置は、プレゼンテーションや会議などの業務用途からホームシアターなどの家庭用途まで幅広く普及している。このため、投影型表示装置を設置する場所も様々であり、投影型表示装置と投影面とが正対していない場合には、画像が台形に歪んでしまう。例えば、図6(a)に示すように、投影面1に対し投影型表示装置2を下方に配置した場合、図6(b)に示すように、投影面1上の表示画像は、下辺より上辺が長い台形状に歪んでしまう。そこで、入力画像の形状を投影面上でも同じ形状に見えるように、入力画像を投影前に変形させる方法が知られている。例えば、特許文献1に記載のプロジェクタでは、図7(a)(b)に示すように、あらかじめ投影前に矩形の入力画像を投影面上とは逆の台形の出力画像に変形しておく。このように変形された出力画像は、図7(c)に示すように、投影面上で矩形に表示されることになる。   Projection display devices such as liquid crystal projectors are widely used for business purposes such as presentations and conferences, and home uses such as home theaters. For this reason, there are various places where the projection display device is installed, and if the projection display device and the projection surface are not facing each other, the image is distorted into a trapezoid. For example, as shown in FIG. 6A, when the projection display device 2 is disposed below the projection plane 1, the display image on the projection plane 1 is displayed from the lower side as shown in FIG. The upper side is distorted into a trapezoidal shape. Therefore, a method is known in which the input image is deformed before projection so that the shape of the input image looks the same on the projection plane. For example, in the projector described in Patent Document 1, as shown in FIGS. 7A and 7B, a rectangular input image is transformed in advance into a trapezoidal output image opposite to the projection surface before projection. The output image transformed in this way is displayed in a rectangular shape on the projection plane as shown in FIG.

一方、従来の投影型表示装置、及び、投影型表示装置に入力される画像のアスペクト比は4:3が主流であったが、近年のハイビジョン放送等のアスペクト比16:9の画像が登場したことにより、アスペクト比16:9の投影型表示装置が商品化されている。そのため、アスペクト比16:9の画像をアスペクト比4:3の投影型表示装置で表示させる、または、アスペクト比4:3の画像をアスペクト比16:9の投影型表示装置で表示させる組み合わせが存在する。このような組み合わせにおいて、入力画像をフル表示させると、図8に示すように、出力画像中の被写体が歪んで見えてしまう。例えば、アスペクト比4:3の画像をアスペクト比16:9の投影型表示装置で表示させると、図8(a)に示すように、出力画像中の被写体が水平方向に伸びて見えてしまう。逆に、アスペクト比16:9の画像をアスペクト比4:3の投影型表示装置で表示させると、図8(b)に示すように、出力画像中の被写体が水平方向に縮んで見えてしまう。そこで、特許文献2には、このような違和感を緩和するアスペクト比変換方法が記載されている。この方法では、図9に示すように、表示画面の中央部分のアスペクト比はほぼ入力画像と一致させ、表示画面中央から周辺部に遠ざかるに従ってアスペクト比を水平方向に大きく伸ばす。これにより、入力画像をフル表示しつつ、表示画面中央部の見た目の違和感を抑制することができる。   On the other hand, the aspect ratio of the conventional projection display device and the image input to the projection display device is mainly 4: 3, but an image with an aspect ratio of 16: 9 such as recent high-definition broadcasting has appeared. Thus, a projection display device having an aspect ratio of 16: 9 has been commercialized. Therefore, there are combinations in which an image with an aspect ratio of 16: 9 is displayed on a projection display device with an aspect ratio of 4: 3, or an image with an aspect ratio of 4: 3 is displayed on a projection display device with an aspect ratio of 16: 9. To do. In such a combination, when the input image is displayed in full, the subject in the output image looks distorted as shown in FIG. For example, when an image with an aspect ratio of 4: 3 is displayed on a projection display device with an aspect ratio of 16: 9, the subject in the output image appears to extend in the horizontal direction as shown in FIG. Conversely, when an image with an aspect ratio of 16: 9 is displayed on a projection display device with an aspect ratio of 4: 3, the subject in the output image appears to contract in the horizontal direction as shown in FIG. 8B. . Therefore, Patent Document 2 describes an aspect ratio conversion method that alleviates such a sense of incongruity. In this method, as shown in FIG. 9, the aspect ratio of the center portion of the display screen is substantially matched with the input image, and the aspect ratio is greatly increased in the horizontal direction as the distance from the center of the display screen to the peripheral portion increases. As a result, it is possible to suppress an uncomfortable appearance at the center of the display screen while displaying the input image in full.

特開2009−225226号公報JP 2009-225226 A 特開平6−6634号公報JP-A-6-6634

投影型表示装置のアスペクト比とは異なるアスペクト比の画像が投影型表示装置に入力された場合でも良好な画質を得ることが望まれる。そのためには、画質劣化の少ないアスペクト比変換と台形歪み補正の両方を行う必要があるが、従来技術によると、投影型表示装置の回路規模が大きく増大し、投影型表示装置がコストアップしてしまう。以下、この点を詳しく説明する。   It is desired to obtain good image quality even when an image having an aspect ratio different from the aspect ratio of the projection display apparatus is input to the projection display apparatus. For this purpose, it is necessary to perform both aspect ratio conversion and trapezoidal distortion correction with little image quality degradation. However, according to the prior art, the circuit scale of the projection display device is greatly increased, which increases the cost of the projection display device. End up. Hereinafter, this point will be described in detail.

図10は、従来の台形歪み補正回路302のブロック図である。この台形歪み補正回路302は、台形歪み補正を実現するための回路であって、出力画像座標生成部101と、入力画像座標生成部102と、画像データ処理部103とを備えている。出力画像座標生成部101は、表示したい画素位置(出力画像座標)を生成し、入力画像座標生成部102に供給する。入力画像座標生成部102は、出力画像座標に対応した台形変換後の入力画素の位置(入力画像座標)を求め、画像データ処理部103に供給する。画像データ処理部103は、入力画素座標近辺の画素を補間することにより出力画素を得る。   FIG. 10 is a block diagram of a conventional trapezoidal distortion correction circuit 302. The trapezoidal distortion correction circuit 302 is a circuit for realizing trapezoidal distortion correction, and includes an output image coordinate generation unit 101, an input image coordinate generation unit 102, and an image data processing unit 103. The output image coordinate generation unit 101 generates pixel positions (output image coordinates) to be displayed and supplies them to the input image coordinate generation unit 102. The input image coordinate generation unit 102 obtains the position (input image coordinate) of the input pixel after trapezoid conversion corresponding to the output image coordinate, and supplies the position to the image data processing unit 103. The image data processing unit 103 obtains an output pixel by interpolating pixels near the input pixel coordinates.

図11は、従来のアスペクト比変換回路301のブロック図である。このアスペクト比変換回路301は、画質劣化の少ないアスペクト比変換を実現するための回路であって、水平用カウンタ201と、入力画像座標生成部202と、画像データ処理部203とを備えている。水平用カウンタ201は、表示したい水平画素位置(出力画像水平座標)を指定し、入力画像座標生成部202に供給する。入力画像座標生成部202は、表示したい画素位置(出力画像座標)に対応したアスペクト比変換後の入力画素の位置(入力画像座標)を求め、画像データ処理部203に供給する。画像データ処理部203は、入力画素座標近辺の画素を補間することにより出力画素を得る。   FIG. 11 is a block diagram of a conventional aspect ratio conversion circuit 301. The aspect ratio conversion circuit 301 is a circuit for realizing aspect ratio conversion with little image quality deterioration, and includes a horizontal counter 201, an input image coordinate generation unit 202, and an image data processing unit 203. The horizontal counter 201 designates a horizontal pixel position (output image horizontal coordinate) to be displayed, and supplies it to the input image coordinate generation unit 202. The input image coordinate generation unit 202 obtains the position (input image coordinate) of the input pixel after aspect ratio conversion corresponding to the pixel position (output image coordinate) to be displayed, and supplies it to the image data processing unit 203. The image data processing unit 203 obtains an output pixel by interpolating pixels near the input pixel coordinates.

ここで、画質劣化の少ないアスペクト比変換と台形歪み補正の両方を行うためには、図12に示すように、図10の台形歪み補正回路302の前段に図11のアスペクト比変換回路301を接続することが考えられる。しかしながら、このような方法によると、投影型表示装置の回路規模が大きく増大し、投影型表示装置がコストアップしてしまう。   Here, in order to perform both aspect ratio conversion and trapezoidal distortion correction with little image quality degradation, as shown in FIG. 12, the aspect ratio conversion circuit 301 in FIG. 11 is connected in front of the trapezoidal distortion correction circuit 302 in FIG. It is possible to do. However, according to such a method, the circuit scale of the projection display device is greatly increased, and the cost of the projection display device is increased.

本発明は前記課題を解決するためになされたものであり、その目的は、小さい回路規模でありながら、異なるアスペクト比の画像が入力された場合でも良好な画質を得ることのできる画像処理装置及び画像処理方法を提供することである。   The present invention has been made to solve the above-mentioned problems, and an object of the present invention is to provide an image processing apparatus capable of obtaining a good image quality even when images having different aspect ratios are input, while having a small circuit scale. An image processing method is provided.

前記課題を解決するために、本発明の実施形態に係る画像処理装置は、出力画像の座標を生成する出力画像座標生成部と、前記出力画像座標生成部により生成された出力画像の座標に対応する入力画像の座標を逆透視投影変換及び逆アスペクト比変換を行うことで生成する入力画像座標生成部と、前記入力画像座標生成部により生成された入力画像の座標に基づいて画像データの補間処理を行う画像データ処理部とを備えることを特徴とする。   In order to solve the above problems, an image processing apparatus according to an embodiment of the present invention supports an output image coordinate generation unit that generates coordinates of an output image, and coordinates of an output image generated by the output image coordinate generation unit. An input image coordinate generation unit that generates the input image coordinates by performing reverse perspective projection conversion and reverse aspect ratio conversion, and image data interpolation processing based on the input image coordinates generated by the input image coordinate generation unit And an image data processing unit for performing the above.

具体的には、前記入力画像生成部は、前記出力画像座標生成部により生成された出力画像の座標に対応する透視投影変換前の座標を求める逆透視投影変換部の後段に、前記逆透視投影変換部により求められた透視投影変換前の座標に対応するアスペクト比変換前の座標を求める逆アスペクト比座標変換部を接続した構成である。   Specifically, the input image generation unit includes the inverse perspective projection in a stage subsequent to the inverse perspective projection conversion unit that obtains coordinates before perspective projection conversion corresponding to the coordinates of the output image generated by the output image coordinate generation unit. In this configuration, an inverse aspect ratio coordinate conversion unit that calculates coordinates before aspect ratio conversion corresponding to coordinates before perspective projection conversion obtained by the conversion unit is connected.

前記逆アスペクト比座標変換部は、透視投影変換前の中間処理画像を複数個の領域に分割し、その領域ごとに任意のアスペクト比になるように拡大/縮小倍率を設定してもよい。   The inverse aspect ratio coordinate conversion unit may divide the intermediate processed image before the perspective projection conversion into a plurality of regions, and set an enlargement / reduction ratio so that an arbitrary aspect ratio is obtained for each region.

前記逆アスペクト比座標変換部は、透視投影変換前の中間処理画像上の水平方向の中央部のアスペクト比が入力画像に等しく、中央部から遠ざかるに従ってアスペクト比が変わるように拡大/縮小倍率を設定してもよい。   The inverse aspect ratio coordinate conversion unit sets the enlargement / reduction ratio so that the aspect ratio of the horizontal central portion on the intermediate processed image before perspective projection conversion is equal to the input image, and the aspect ratio changes as the distance from the central portion increases. May be.

前記課題を解決するために、本発明の実施形態に係る画像処理方法は、出力画像の座標を生成する出力画像座標生成ステップと、前記出力画像座標生成ステップで生成された出力画像の座標に対応する入力画像の座標を逆透視投影変換及び逆アスペクト比変換を行うことで生成する入力画像座標生成ステップと、前記入力画像座標生成ステップで生成された入力画像の座標に基づいて画像データの補間処理を行う画像データ処理ステップとを備えることを特徴とする。   In order to solve the above problems, an image processing method according to an embodiment of the present invention corresponds to an output image coordinate generation step for generating coordinates of an output image, and coordinates of an output image generated in the output image coordinate generation step. An input image coordinate generation step for generating coordinates of the input image to be performed by performing reverse perspective projection conversion and reverse aspect ratio conversion, and interpolation processing of image data based on the coordinates of the input image generated in the input image coordinate generation step And an image data processing step.

本発明によれば、小さい回路規模でありながら、異なるアスペクト比の画像が入力された場合でも良好な画質を得ることのできる画像処理装置及び画像処理方法を提供することが可能である。   According to the present invention, it is possible to provide an image processing apparatus and an image processing method capable of obtaining a good image quality even when an image having a different aspect ratio is input while having a small circuit scale.

本発明の実施形態における画像処理装置のブロック図である。1 is a block diagram of an image processing apparatus according to an embodiment of the present invention. 本発明の実施形態における画像データの流れと、その処理手順を示す図である。It is a figure which shows the flow of the image data in embodiment of this invention, and its process sequence. 本発明の実施形態における画像処理装置の動作を示すフローチャートである。6 is a flowchart illustrating an operation of the image processing apparatus according to the embodiment of the present invention. 本発明の実施形態における逆アスペクト比変換方法の説明図である。It is explanatory drawing of the reverse aspect-ratio conversion method in embodiment of this invention. 本発明の実施形態における別の逆アスペクト比変換方法の説明図である。It is explanatory drawing of another reverse aspect-ratio conversion method in embodiment of this invention. 従来の投影面上の表示画像の説明図である。It is explanatory drawing of the display image on the conventional projection surface. 特許文献1に記載の投影面上の表示画像の説明図である。10 is an explanatory diagram of a display image on a projection surface described in Patent Document 1. FIG. 従来のアスペクト比変換方法の説明図である。It is explanatory drawing of the conventional aspect-ratio conversion method. 特許文献2に記載のアスペクト比変換方法の説明図である。It is explanatory drawing of the aspect-ratio conversion method of patent document 2. FIG. 従来の台形歪み補正回路のブロック図である。It is a block diagram of the conventional trapezoid distortion correction circuit. 従来のアスペクト比変換回路のブロック図である。It is a block diagram of a conventional aspect ratio conversion circuit. 従来の投影型表示装置のブロック図である。It is a block diagram of the conventional projection type display apparatus.

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

図1は、本発明の実施形態における画像処理装置のブロック図である。この画像処理装置は、投影型表示装置などに適用される装置であって、図1に示すように、出力画像座標生成部10と、入力画像座標生成部20と、画像データ処理部30とを備えている。   FIG. 1 is a block diagram of an image processing apparatus according to an embodiment of the present invention. This image processing apparatus is an apparatus applied to a projection display device or the like, and includes an output image coordinate generation unit 10, an input image coordinate generation unit 20, and an image data processing unit 30, as shown in FIG. I have.

出力画像座標生成部10は、出力画像の座標を生成する処理部であって、水平用カウンタ11と、垂直用カウンタ12とを有する。水平用カウンタ11は、水平方向の画素数をカウントする。垂直用カウンタ12は、垂直方向の画素数をカウントする。   The output image coordinate generation unit 10 is a processing unit that generates the coordinates of the output image, and includes a horizontal counter 11 and a vertical counter 12. The horizontal counter 11 counts the number of pixels in the horizontal direction. The vertical counter 12 counts the number of pixels in the vertical direction.

入力画像座標生成部20は、出力画像座標生成部10により生成された出力画像の座標に対応する入力画像の座標を逆透視投影変換及び逆アスペクト比変換を行うことで生成する処理部であって、逆透視投影変換回路21と、逆アスペクト比座標変換回路22とを有する。逆透視投影変換回路21は、出力画像座標生成部10により生成された座標に対応する台形歪み補正前の座標を求める。逆アスペクト比座標変換回路22は、逆透視投影変換回路21により得られた座標に対応するアスペクト比変換前の座標を求める。   The input image coordinate generation unit 20 is a processing unit that generates the coordinates of the input image corresponding to the coordinates of the output image generated by the output image coordinate generation unit 10 by performing reverse perspective projection conversion and reverse aspect ratio conversion. And a reverse perspective projection conversion circuit 21 and an inverse aspect ratio coordinate conversion circuit 22. The reverse perspective projection conversion circuit 21 obtains coordinates before the trapezoidal distortion correction corresponding to the coordinates generated by the output image coordinate generation unit 10. The inverse aspect ratio coordinate conversion circuit 22 obtains coordinates before aspect ratio conversion corresponding to the coordinates obtained by the reverse perspective projection conversion circuit 21.

画像データ処理部30は、入力画像座標生成部20により生成された入力画像の座標に基づいて画像データの補間処理を行う処理部であって、入力画像バッファリング31と、入力画像データ読み込み制御回路32と、画像データ補間処理回路33とを有する。入力画像バッファリング31は、入力画像データを保持する。入力画像データ読み込み制御回路32は、入力画像座標生成部20により生成された座標が画像の存在する領域か否かを判定し、挿入する画像データを制御する。画像データ補間処理回路33は、入力画像座標生成部20により生成された座標の位置に対応する画素値を算出する。   The image data processing unit 30 is a processing unit that performs image data interpolation processing based on the coordinates of the input image generated by the input image coordinate generation unit 20, and includes an input image buffering 31 and an input image data reading control circuit. 32 and an image data interpolation processing circuit 33. The input image buffering 31 holds input image data. The input image data reading control circuit 32 determines whether or not the coordinates generated by the input image coordinate generation unit 20 are areas where images exist, and controls the image data to be inserted. The image data interpolation processing circuit 33 calculates a pixel value corresponding to the position of the coordinate generated by the input image coordinate generation unit 20.

以下、画像データの流れと、その処理手順について図2を用いて説明する。ここでは、16:9のアスペクト比である入力画像IMGが4:3の投影型表示装置に入力された場合を想定している。この場合、黒色の矢印の方向にアスペクト比変換、透視投影変換(台形歪み補正)を行い、画像を変形することにより、投影面上で歪みが少ない投影画像IMGを得ることができる。このように変換された投影直前の投影型表示装置の出力画像IMGの各画素値IMG(X,Y)を得るためには、入力画像IMG上のどの座標(X,Y)の画素を用いて画素値IMG(X,Y)を生成するかを知る必要がある。そこで、出力画像IMGの各画素の座標に対応する入力画像の座標を逆手順(白色の矢印の方向)に導く。まず、出力画像IMGの座標(X,Y)に対応する、台形歪み補正前の中間処理画像IMG上の座標(X,Y)を求める。以降、この処理を逆透視投影変換と呼ぶ。続いて、中間処理画像IMG上の座標(X,Y)に対応する入力画像IMG上の座標(X,Y)を求める。以降、この処理を逆アスペクト比変換と呼ぶ。このように逆透視投影変換及び逆アスペクト比変換を行うことで、出力画像IMGの座標(X,Y)に対応する入力画像IMGの座標(X,Y)を得ることができる。 Hereinafter, a flow of image data and a processing procedure thereof will be described with reference to FIG. Here, it is assumed that an input image IMG i having an aspect ratio of 16: 9 is input to a 4: 3 projection display device. In this case, by performing aspect ratio conversion and perspective projection conversion (trapezoidal distortion correction) in the direction of the black arrow and deforming the image, a projection image IMG s with less distortion on the projection plane can be obtained. In order to obtain each pixel value IMG k (X k , Y k ) of the output image IMG k of the projection display device just before the projection thus converted, which coordinate (X i , Y on the input image IMG i is obtained. It is necessary to know whether the pixel value IMG k (X k , Y k ) is generated using the pixel i ). Therefore, the coordinates of the input image corresponding to the coordinates of each pixel of the output image IMG k are guided to the reverse procedure (in the direction of the white arrow). First, the coordinates (X a , Y a ) on the intermediate processed image IMG a before the trapezoidal distortion correction corresponding to the coordinates (X k , Y k ) of the output image IMG k are obtained . Hereinafter, this process is called reverse perspective projection conversion. Subsequently, coordinates (X i , Y i ) on the input image IMG i corresponding to the coordinates (X a , Y a ) on the intermediate processed image IMG a are obtained. Hereinafter, this process is referred to as inverse aspect ratio conversion. By performing inverse perspective projection transformation and inverse aspect ratio transformation in this manner, the coordinates (X i , Y i ) of the input image IMG i corresponding to the coordinates (X k , Y k ) of the output image IMG k can be obtained. it can.

図3は、本発明の実施形態における画像処理装置の動作を示すフローチャートである。以下、図3を用いて本画像処理装置の構成を動作とともに説明する。   FIG. 3 is a flowchart showing the operation of the image processing apparatus according to the embodiment of the present invention. Hereinafter, the configuration of the image processing apparatus will be described together with the operation with reference to FIG.

まず、出力画像座標生成部10は、出力画像の注目画素の座標(X,Y)を水平用カウンタ11と垂直用カウンタ12を用いて決定し(ステップS1)、逆透視投影変換回路21へ供給する。透視投影変換回路21は、以下の式(1)を用いて、出力画像座標(X,Y)に対応する台形歪み補正前の中間処理画像IMG上の座標(X,Y)を求める(ステップS4)。ここで、A〜Iはユーザが決定する変換係数であるため、A〜Iをあらかじめ導出する必要がある(ステップS2〜ステップS3)。

Figure 2013005140
First, the output image coordinate generation unit 10 determines the coordinates (X k , Y k ) of the target pixel of the output image using the horizontal counter 11 and the vertical counter 12 (step S1), and the inverse perspective projection conversion circuit 21. To supply. The perspective projection conversion circuit 21 uses coordinates (X a , Y a ) on the intermediate processed image IMG a before trapezoidal distortion correction corresponding to the output image coordinates (X k , Y k ) using the following equation (1). Is obtained (step S4). Here, since A to I are conversion coefficients determined by the user, it is necessary to derive A to I in advance (steps S2 to S3).
Figure 2013005140

変換係数Iを1に固定し、台形歪み補正前後の各4点の座標を用いて、以下の式(2)の連立方程式を解くことにより、変換係数A〜Hを求めることができる(ステップS3)。ここで、(Xa0,Ya0),(Xa1,Ya1),…は中間処理画像IMG上の座標であり、(Xk0,Yk0),(Xk1,Yk1),…は出力画像IMG上の座標である。

Figure 2013005140
The conversion coefficients A to H can be obtained by fixing the conversion coefficient I to 1 and solving the simultaneous equations of the following expression (2) using the coordinates of each of the four points before and after correcting the trapezoidal distortion (step S3). ). Here, (X a0 , Y a0 ), (X a1 , Y a1 ),... Are coordinates on the intermediate processed image IMG a , and (X k0 , Y k0 ), (X k1 , Y k1 ) ,. The coordinates on the output image IMG k .
Figure 2013005140

台形歪み補正前後の各4点の座標は、例えば次のような手順で決定することができる(ステップS2)。まず、ユーザは、投影面上の投影された画像IMGを見ながら4角の画素位置を手動で移動する。次に、投影面上の画像IMGの台形歪みが改善されたと思う位置で移動をやめる。このときの移動前後の画素位置がそのまま各4点の座標に対応する。逆透視投影変換回路21は、求めた台形歪み補正前の座標(X,Y)を逆アスペクト比座標変換回路22に供給する。 The coordinates of each of the four points before and after trapezoidal distortion correction can be determined, for example, by the following procedure (step S2). First, the user manually moves the pixel positions of the four corners while viewing the projected image IMG s on the projection plane. Next, the movement is stopped at a position where the trapezoidal distortion of the image IMG s on the projection plane is considered improved. The pixel positions before and after the movement at this time correspond to the coordinates of the four points as they are. The inverse perspective projection conversion circuit 21 supplies the obtained coordinates (X a , Y a ) before the trapezoidal distortion correction to the inverse aspect ratio coordinate conversion circuit 22.

逆アスペクト比座標変換回路22は、あらかじめ、図4(a)に示すように、中間処理画像IMGを複数個の短冊状の領域に分割し、その領域ごとに任意のアスペクト比になるように拡大/縮小倍率k1,k2,…を設定する(ステップS5)。そして、式(3)に示すように、座標(X,Y)がどの領域内に存在するか否かを判定し、その領域における拡大/縮小倍率kを用いて中間処理画像IMG上の座標(X,Y)に対応する入力画像IMG上の座標(X,Y)を求める(ステップS6)。ここで、図4(b)に示すように、Xi1,Xi2,Xi3は、座標Xa1,Xa2,Xa3における入力画像IMG上の水平座標である。

Figure 2013005140
As shown in FIG. 4A, the inverse aspect ratio coordinate conversion circuit 22 divides the intermediate processed image IMGa into a plurality of strip-shaped areas in advance so that each area has an arbitrary aspect ratio. The enlargement / reduction magnifications k1, k2,... Are set (step S5). Then, as shown in Expression (3), it is determined in which region the coordinates (X a , Y a ) exist, and the intermediate processing image IMG a is used using the enlargement / reduction magnification k in that region. The coordinates (X i , Y i ) on the input image IMG i corresponding to the coordinates (X a , Y a ) are obtained (step S6). Here, as shown in FIG. 4B, X i1 , X i2 , and X i3 are horizontal coordinates on the input image IMG i at coordinates X a1 , X a2 , and X a3 .
Figure 2013005140

上記は逆アスペクト比変換方法の一例であり、他の方法を採用することも可能である。すなわち、アスペクト比変換では、中間処理画像IMG上の水平方向の中央部のアスペクト比が入力画像IMGに等しく、中央部から遠ざかるに従ってアスペクト比が変わることが望ましい場合が多い。そこで、倍率kを水平方向の画素毎に変化させるようにしてもよい。その一例を式(4)に示す。

Figure 2013005140
The above is an example of the reverse aspect ratio conversion method, and other methods can be adopted. That is, in the aspect ratio conversion, it is often desirable that the aspect ratio of the central portion in the horizontal direction on the intermediate processed image IMG a is equal to the input image IMG i and the aspect ratio changes as the distance from the central portion increases. Therefore, the magnification k may be changed for each pixel in the horizontal direction. An example is shown in equation (4).
Figure 2013005140

ここで、Nは水平画素数であり、a,bはユーザが任意に決定することができる係数である。式(4)において、a=−3,b=1の場合の水平画素位置Xと倍率kの関係を図5に示す。この図に示すように、倍率kは、座標の中央部では等倍(k=1)であり、中央部から遠ざかるに従って小さくなり、座標の両端で最も小さくなる。このように、画素毎に倍率kを変化させることにより、水平画素毎にアスペクト比を変化させる。逆アスペクト比座標変換回路22は、求めた座標(X,Y)を入力画像データ読み込み制御回路32,画像データ補間処理回路33に供給する。 Here, N is the number of horizontal pixels, and a and b are coefficients that can be arbitrarily determined by the user. In Expression (4), FIG. 5 shows the relationship between the horizontal pixel position Xa and the magnification k when a = −3 and b = 1. As shown in this figure, the magnification k is equal (k = 1) at the center of the coordinate, decreases as the distance from the center increases, and becomes the smallest at both ends of the coordinate. Thus, the aspect ratio is changed for each horizontal pixel by changing the magnification k for each pixel. The inverse aspect ratio coordinate conversion circuit 22 supplies the obtained coordinates (X i , Y i ) to the input image data read control circuit 32 and the image data interpolation processing circuit 33.

入力画像データ読み込み制御回路32は、逆アスペクト比座標変換回路22により求められた座標(X,Y)が入力画像データに含まれているか否かを判定する(ステップS7)。含まれている場合は、入力画像データを保持している入力画像バッファリング31から座標(X,Y)の周辺数画素の画像データを読み出す(ステップS8)。含まれていない場合は、背景としてあらかじめ準備している画像データを読み出す(ステップS9)。このように読み出した画像データを画像データ補間処理回路33に供給する。 The input image data reading control circuit 32 determines whether or not the coordinates (X i , Y i ) obtained by the inverse aspect ratio coordinate conversion circuit 22 are included in the input image data (step S7). If it is included, the image data of several pixels around the coordinates (X i , Y i ) is read out from the input image buffer ring 31 holding the input image data (step S8). If not included, image data prepared in advance as a background is read (step S9). The image data read out in this way is supplied to the image data interpolation processing circuit 33.

画像データ補間処理回路33は、入力画像データ読み込み制御回路32により得られた画像データを用いて補間処理を行い(ステップS10)、出力画像データを求める。すなわち、逆アスペクト比座標変換回路22により求められた出力画像IMGの座標(X,Y)に対応する入力画像IMGの座標(X,Y)は、画素が存在しうる座標(X=整数,Y=整数)とはならず、通常は画素と画素の間の座標(XまたはYが小数)になってしまう。そこで、式(5)に示す双一次畳み込みや、双三次畳み込みなどの内挿法により、入力画像データ読み込み制御回路32により得られた画像データを用いて補間処理を行う。これにより、入力画素座標近辺の画素が補間され、出力画素データが得られる。

Figure 2013005140
The image data interpolation processing circuit 33 performs interpolation processing using the image data obtained by the input image data reading control circuit 32 (step S10), and obtains output image data. That is, the coordinates (X i , Y i ) of the input image IMG i corresponding to the coordinates (X k , Y k ) of the output image IMG k obtained by the inverse aspect ratio coordinate conversion circuit 22 are coordinates at which pixels can exist. (X i = integer, Y i = integer) is not established, and usually the coordinates between pixels (X i or Y i is a decimal number) are obtained. Therefore, interpolation processing is performed using the image data obtained by the input image data read control circuit 32 by an interpolation method such as bilinear convolution or bicubic convolution shown in Expression (5). Thereby, pixels near the input pixel coordinates are interpolated to obtain output pixel data.
Figure 2013005140

以上のように、本発明の実施形態における画像処理装置は、小さい回路規模でありながら、異なるアスペクト比の画像が入力された場合でも良好な画質を得ることができる。すなわち、出力画像の座標に対応する入力画像の座標を逆透視投影変換及び逆アスペクト比変換を行うことで生成するようにしているので、図10の台形歪み補正回路302及び図11のアスペクト比変換回路301の両方に存在する画像データ処理部を1つに共有化することができる。これにより、回路規模を削減することができ、投影型表示装置のコストアップを抑えることが可能となる。   As described above, the image processing apparatus according to the embodiment of the present invention can obtain a good image quality even when images having different aspect ratios are input, although the circuit scale is small. That is, since the coordinates of the input image corresponding to the coordinates of the output image are generated by performing the reverse perspective projection conversion and the reverse aspect ratio conversion, the trapezoidal distortion correction circuit 302 of FIG. 10 and the aspect ratio conversion of FIG. The image data processing units existing in both of the circuits 301 can be shared into one. As a result, the circuit scale can be reduced, and the cost increase of the projection display apparatus can be suppressed.

また、本発明の実施形態における画像処理装置は、逆透視投影変換回路21の後段に逆アスペクト比座標変換回路22を接続した構成を採用しているため、良好な画質を効率よく得ることができる。すなわち、接続順序を逆にした構成(逆アスペクト比座標変換回路22の後段に逆透視投影変換回路21を接続した構成)によっても、画像データ処理部を1つに共有化することができる。しかし、このような構成によると、画像が樽型に歪む不具合があり、この歪みを補正する必要が生じる。そのため、良好な画質を効率よく得るためには、前記した通り、逆透視投影変換回路21の後段に逆アスペクト比座標変換回路22を接続した構成が望ましい。   In addition, since the image processing apparatus according to the embodiment of the present invention employs a configuration in which the inverse aspect ratio coordinate conversion circuit 22 is connected to the subsequent stage of the reverse perspective projection conversion circuit 21, it is possible to efficiently obtain good image quality. . That is, the image data processing unit can be shared by a configuration in which the connection order is reversed (a configuration in which the reverse perspective projection conversion circuit 21 is connected to the subsequent stage of the reverse aspect ratio coordinate conversion circuit 22). However, according to such a configuration, there is a problem that the image is distorted into a barrel shape, and it is necessary to correct this distortion. Therefore, in order to efficiently obtain good image quality, it is desirable that the inverse aspect ratio coordinate conversion circuit 22 is connected to the subsequent stage of the reverse perspective projection conversion circuit 21 as described above.

なお、ここでは、画質劣化の少ないアスペクト比変換を行うため、画面中央部のアスペクト比を入力画像のアスペクト比にほぼ一致させる例を示した。しかし、画像の重要な部分は画面中央付近とは限らない。そこで、画面中の任意の部分のアスペクト比を入力画像のアスペクト比にほぼ一致させるようにしてもよい。すなわち、画面を複数の領域に分割し、その領域ごとに画面の拡大/縮小倍率kをユーザが指定する構成を採用することも可能である。   Here, an example is shown in which the aspect ratio at the center of the screen is substantially matched with the aspect ratio of the input image in order to perform aspect ratio conversion with little image quality degradation. However, the important part of the image is not always near the center of the screen. Therefore, the aspect ratio of an arbitrary part in the screen may be made to substantially match the aspect ratio of the input image. That is, it is possible to adopt a configuration in which the screen is divided into a plurality of areas and the user specifies the enlargement / reduction magnification k of the screen for each area.

また、本発明は、画像処理装置として実現することができるだけでなく、このような画像処理装置が備える特徴的な処理部をステップとする画像処理方法として実現したり、それらのステップをコンピュータに実行させるプログラムとして実現したりすることもできる。このようなプログラムは、CD−ROM等の記録媒体やインターネット等の伝送媒体を介して配信することができるのはいうまでもない。   In addition, the present invention can be realized not only as an image processing apparatus, but also as an image processing method that uses a characteristic processing unit included in such an image processing apparatus as steps, or executes these steps in a computer. It can also be realized as a program to be executed. It goes without saying that such a program can be distributed via a recording medium such as a CD-ROM or a transmission medium such as the Internet.

10…出力画像座標生成部
20…入力画像座標生成部
21…逆透視投影変換回路(逆透視投影変換部)
22…逆アスペクト比座標変換回路(逆アスペクト比座標変換部)
30…画像データ処理部
DESCRIPTION OF SYMBOLS 10 ... Output image coordinate generation part 20 ... Input image coordinate generation part 21 ... Reverse perspective projection conversion circuit (inverse perspective projection conversion part)
22 ... Inverse aspect ratio coordinate conversion circuit (inverse aspect ratio coordinate conversion unit)
30: Image data processing section

Claims (5)

出力画像の座標を生成する出力画像座標生成部と、
前記出力画像座標生成部により生成された出力画像の座標に対応する入力画像の座標を逆透視投影変換及び逆アスペクト比変換を行うことで生成する入力画像座標生成部と、
前記入力画像座標生成部により生成された入力画像の座標に基づいて画像データの補間処理を行う画像データ処理部と、
を備えることを特徴とする画像処理装置。
An output image coordinate generation unit for generating coordinates of the output image;
An input image coordinate generation unit that generates the coordinates of the input image corresponding to the coordinates of the output image generated by the output image coordinate generation unit by performing reverse perspective projection conversion and reverse aspect ratio conversion;
An image data processing unit that performs interpolation processing of image data based on the coordinates of the input image generated by the input image coordinate generation unit;
An image processing apparatus comprising:
前記入力画像生成部は、前記出力画像座標生成部により生成された出力画像の座標に対応する透視投影変換前の座標を求める逆透視投影変換部の後段に、前記逆透視投影変換部により求められた透視投影変換前の座標に対応するアスペクト比変換前の座標を求める逆アスペクト比座標変換部を接続した構成であることを特徴とする請求項1記載の画像処理装置。   The input image generation unit is obtained by the inverse perspective projection conversion unit after the inverse perspective projection conversion unit for obtaining coordinates before the perspective projection conversion corresponding to the coordinates of the output image generated by the output image coordinate generation unit. 2. The image processing apparatus according to claim 1, further comprising an inverse aspect ratio coordinate conversion unit for obtaining coordinates before aspect ratio conversion corresponding to coordinates before perspective projection conversion. 前記逆アスペクト比座標変換部は、透視投影変換前の中間処理画像を複数個の領域に分割し、その領域ごとに任意のアスペクト比になるように拡大/縮小倍率を設定することを特徴とする請求項2記載の画像処理装置。   The inverse aspect ratio coordinate conversion unit divides an intermediate processed image before perspective projection conversion into a plurality of regions, and sets an enlargement / reduction ratio so as to have an arbitrary aspect ratio for each region. The image processing apparatus according to claim 2. 前記逆アスペクト比座標変換部は、透視投影変換前の中間処理画像上の水平方向の中央部のアスペクト比が入力画像に等しく、中央部から遠ざかるに従ってアスペクト比が変わるように拡大/縮小倍率を設定することを特徴とする請求項2記載の画像処理装置。   The inverse aspect ratio coordinate conversion unit sets the enlargement / reduction ratio so that the aspect ratio of the horizontal central portion on the intermediate processed image before perspective projection conversion is equal to the input image, and the aspect ratio changes as the distance from the central portion increases. The image processing apparatus according to claim 2, wherein: 出力画像の座標を生成する出力画像座標生成ステップと、
前記出力画像座標生成ステップで生成された出力画像の座標に対応する入力画像の座標を逆透視投影変換及び逆アスペクト比変換を行うことで生成する入力画像座標生成ステップと、
前記入力画像座標生成ステップで生成された入力画像の座標に基づいて画像データの補間処理を行う画像データ処理ステップと、
を備えることを特徴とする画像処理方法。
An output image coordinate generation step for generating coordinates of the output image;
An input image coordinate generation step for generating coordinates of the input image corresponding to the coordinates of the output image generated in the output image coordinate generation step by performing reverse perspective projection conversion and reverse aspect ratio conversion;
An image data processing step for performing interpolation processing of image data based on the coordinates of the input image generated in the input image coordinate generation step;
An image processing method comprising:
JP2011132954A 2011-06-15 2011-06-15 Image processing apparatus and image processing method Withdrawn JP2013005140A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011132954A JP2013005140A (en) 2011-06-15 2011-06-15 Image processing apparatus and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011132954A JP2013005140A (en) 2011-06-15 2011-06-15 Image processing apparatus and image processing method

Publications (1)

Publication Number Publication Date
JP2013005140A true JP2013005140A (en) 2013-01-07

Family

ID=47673251

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011132954A Withdrawn JP2013005140A (en) 2011-06-15 2011-06-15 Image processing apparatus and image processing method

Country Status (1)

Country Link
JP (1) JP2013005140A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104062832A (en) * 2013-03-22 2014-09-24 卡西欧计算机株式会社 Projection Apparatus And Projection Method
WO2021031781A1 (en) * 2019-08-19 2021-02-25 深圳光峰科技股份有限公司 Method and device for calibrating projection image and projection device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104062832A (en) * 2013-03-22 2014-09-24 卡西欧计算机株式会社 Projection Apparatus And Projection Method
JP2014187532A (en) * 2013-03-22 2014-10-02 Casio Comput Co Ltd Projection device, projection method, and projection program
US9667930B2 (en) 2013-03-22 2017-05-30 Casio Computer Co., Ltd. Projection apparatus, projection method, and projection program medium which corrects image distortion based on pixel usage
WO2021031781A1 (en) * 2019-08-19 2021-02-25 深圳光峰科技股份有限公司 Method and device for calibrating projection image and projection device

Similar Documents

Publication Publication Date Title
JP4860687B2 (en) System and method for equalizing the size of heads of 360 degree panoramic images
JP2007143173A (en) Method and apparatus for preventing keystone distortion
US20130215298A1 (en) Image processing method, image processing apparatus and image capturing apparatus
JP2012513719A (en) Generating image scaling curves
JP4871820B2 (en) Video display system and parameter generation method for the system
JP6182907B2 (en) Video processing apparatus, projector, and video processing method
JP2005210418A (en) Image processing device, method, and program
JP6299071B2 (en) Projector, image correction method and program
US9332238B2 (en) Image processing apparatus and image processing method
JP5116740B2 (en) Image processing apparatus, image processing method, and image display apparatus
JP2004349979A (en) Image processing apparatus, image processing method, and image projector
CN114449233B (en) Projection device and trapezoid correction method thereof
JP2012253684A (en) Image processor, image processing method, image display device equipped with image processor, program and recording medium
JP2013005140A (en) Image processing apparatus and image processing method
JP2005012561A (en) Image processing apparatus, image processing method, and image projector
JPWO2012056982A1 (en) Image processing method, image processing apparatus, and imaging apparatus
JP2012249123A (en) Video processing apparatus and interpolation frame generation method
JP2008228251A (en) Image processor, image processing method, and image processing program
JP5787637B2 (en) Image processing apparatus and image processing method
TWI406187B (en) Fast and high quality image/video interpolation method and apparatus
JP2012168897A (en) Image processing device, control method therefor, and program
KR100546646B1 (en) Image distortion compensation method and apparatus
JP6536803B2 (en) Video signal processing apparatus and projection type display apparatus
JP2004129212A (en) Image projection device and image transformation method
JP5085589B2 (en) Image processing apparatus and method

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20140902